/* Marketplace Inbox Assistant website: landing, account, legal pages. */
:root {
  --bg: #fbfbf9; --panel: #ffffff; --ink: #111827; --muted: #5b6472; --line: #e5e7eb;
  --accent: #0f766e; --accent-ink: #ffffff; --accent-soft: #e6f4f1; --amber: #b45309; --amber-soft: #fef3c7;
  --red: #b91c1c; --shadow: 0 1px 2px rgba(17,24,39,.06), 0 8px 24px rgba(17,24,39,.06);
  --radius: 14px; --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0d12; --panel: #141821; --ink: #e8eaee; --muted: #9aa3b2; --line: #262b36; --accent: #2dd4bf; --accent-ink: #062a26; --accent-soft: #0f2a27; --amber: #fbbf24; --amber-soft: #2a2110; --red: #f87171; --shadow: none; color-scheme: dark; }
}
* { box-sizing: border-box; }
/* Elements hidden with the hidden attribute stay hidden even when a class like
   .btn gives them a display value. */
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -.01em; display: flex; align-items: center; gap: 9px; }
.brand .mark { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 14px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 11px 18px; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .06s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); }
.btn.small { padding: 7px 12px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: default; }
.top nav .btn { color: var(--accent-ink); }

/* hero */
.hero { padding: 76px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 18px; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 18px; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.fine { font-size: 13px; color: var(--muted); margin-top: 12px; }
.shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; background: var(--panel); }

/* sections */
section { padding: 64px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 12px; }
.sub { color: var(--muted); font-size: 17px; margin: 0 0 36px; max-width: 60ch; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
section.alt .step { background: var(--panel); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.step h3, .feature h3 { margin: 0 0 6px; font-size: 17px; }
.step p, .feature p { margin: 0; color: var(--muted); font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.showcase figure { margin: 0; }
.showcase figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* pricing */
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--panel); margin-bottom: 26px; }
.toggle button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.toggle button.on { background: var(--ink); color: var(--bg); }
.toggle .save { color: var(--accent); font-weight: 700; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -12px; left: 26px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 18px; }
.plan .for { color: var(--muted); font-size: 14px; margin: 4px 0 16px; }
.price { font-size: 42px; font-weight: 750; letter-spacing: -.03em; line-height: 1; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.billed { font-size: 13px; color: var(--muted); min-height: 20px; margin: 6px 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan.current { border-color: var(--accent); }

/* faq */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* footer */
footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { margin-left: auto; display: flex; gap: 18px; }
footer a { color: var(--muted); }

/* account */
.page { padding: 48px 0 72px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.narrow { max-width: 460px; margin: 0 auto; text-align: center; }
.google { background: var(--panel); color: var(--ink); border: 1px solid var(--line); width: 100%; padding: 12px; }
.google svg { width: 18px; height: 18px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.meter { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; margin: 10px 0 6px; }
.meter > div { height: 100%; background: var(--accent); border-radius: 999px; transition: width .4s ease; }
.meter.full > div { background: var(--amber); }
.notice { border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; font-size: 15px; }
.notice.ok { background: var(--accent-soft); color: var(--ink); }
.notice.warn { background: var(--amber-soft); color: var(--ink); }
.notice.err { background: color-mix(in srgb, var(--red) 14%, var(--panel)); color: var(--ink); }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 18px; }
.ext { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.on { background: #16a34a; }
.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* legal */
.legal { max-width: 760px; padding: 40px 22px 72px; margin: 0 auto; }
.legal h1 { font-size: 32px; }
.legal h2 { font-size: 20px; margin-top: 34px; }
.legal li { margin: 6px 0; }
.legal code { background: color-mix(in srgb, var(--muted) 18%, transparent); padding: 1px 5px; border-radius: 4px; }

@media (max-width: 860px) {
  .hero .wrap, .showcase { grid-template-columns: 1fr; }
  .steps, .features, .plans { grid-template-columns: 1fr; }
  .top nav a.hide-sm { display: none; }
  .hero { padding-top: 44px; }
}
