/* Quotaward landing page. Pure mono (black, white, greys) with Geist type.
   Green, amber and red only appear where they mean something. Same palette as the app. */
:root {
  --bg: #fafafa; --bg-2: #f1f1f1; --panel: #ffffff; --line: #e6e6e6; --fg: #0a0a0a; --muted: #6b6b6b;
  --accent: #0a0a0a; --accent-ink: #ffffff; --accent-soft: #f1f1f1;
  --ink: #0a0a0a; --ink-fg: #fafafa; --ink-muted: #8f8f8f; --ink-line: #262626;
  --good: #15803d; --warn: #b45309; --bad: #dc2626;
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 24px 60px -24px rgba(0, 0, 0, .22);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a; --bg-2: #141414; --panel: #111111; --line: #262626; --fg: #fafafa; --muted: #a1a1a1;
    --accent: #fafafa; --accent-ink: #0a0a0a; --accent-soft: #1c1c1c;
    --ink: #111111; --ink-line: #262626; --good: #4ade80; --warn: #f59e0b; --bad: #f87171;
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 30px 70px -24px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 650; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
em { font-style: normal; color: var(--muted); }
.muted { color: var(--muted); }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--fg); font: 600 15px/1.2 var(--font); text-decoration: none; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn.primary:hover { opacity: .86; }
.btn.ghost { background: transparent; }
.btn.big { padding: 15px 24px; font-size: 16px; border-radius: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 22px; letter-spacing: -.05em; text-transform: lowercase; }
.brand .mark { width: 24px; height: 24px; flex: none; }
.brand.small { font-size: 17px; }
.brand.small .mark { width: 20px; height: 20px; }
.top-nav { display: flex; gap: 26px; margin-left: 12px; }
.top-nav a, .top-cta .link { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.top-nav a:hover, .top-cta .link:hover { color: var(--fg); }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }

/* Hero */
.hero { position: relative; padding: 72px 0 0; text-align: center; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0 0 30% 0; z-index: -1;
  background: repeating-linear-gradient(180deg, transparent 0 63px, color-mix(in srgb, var(--fg) 6%, transparent) 63px 64px);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 30%, transparent 75%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hero .eyebrow { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--fg); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 22%, transparent); }
.hero h1 { font-size: clamp(48px, 9vw, 116px); font-weight: 650; letter-spacing: -.06em; line-height: .95; }
.hero h1 em { color: var(--muted); }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; margin: 22px auto 0; }
.hero .lede { margin-top: 28px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.fine { margin: 16px 0 0; color: var(--muted); font-size: 14px; font-weight: 500; }
.hero-shots { position: relative; margin-top: 56px; padding-bottom: 40px; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); }
.shot img { width: 100%; }
.shot-main { max-width: 1080px; margin: 0 auto; }
.shot-phone { position: absolute; width: clamp(150px, 21%, 250px); left: max(20px, calc(50% - 600px)); bottom: 0; border-radius: 30px; border: 6px solid #0a0a0a; }

/* Ticker */
.ticker { background: var(--ink); color: var(--ink-fg); overflow: hidden; border-block: 1px solid var(--ink-line); margin-top: 24px; }
.ticker-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.ticker span { padding: 18px 28px; font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.ticker span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-muted); margin-left: 28px; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .ticker span[aria-hidden] { display: none; } }

/* Problem */
.problem { padding: 110px 0 40px; }
.problem h2 { max-width: 900px; }
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 44px; }
.pains article { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.pains .num { display: block; font: 500 13px var(--mono); color: var(--muted); margin-bottom: 18px; }
.pains p { margin: 8px 0 0; color: var(--muted); }

/* Feature sections */
.feature { padding: 110px 0 40px; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.copy.center { text-align: center; max-width: 780px; margin: 0 auto; }
.copy .lede { margin-left: 0; }
.copy.center .lede { margin-left: auto; }
.ticks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 36px; color: var(--muted); }
.ticks li b { color: var(--fg); font-weight: 700; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); }
.ticks li::after { content: ''; position: absolute; left: 6px; top: 10px; width: 9px; height: 5px; border-left: 2px solid var(--fg); border-bottom: 2px solid var(--fg); transform: rotate(-45deg); }
.shot-tall { max-width: 340px; margin: 0 auto; border-radius: 36px; border: 8px solid #0a0a0a; }
.shot-wide { margin-top: 48px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 28px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.facts div { background: var(--panel); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.facts b { font-weight: 600; }
.facts span { color: var(--muted); font-size: 15px; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.two-up figcaption { padding: 14px 18px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

/* Your leads stay yours (ink panel) */
.yours { margin: 110px 0 0; padding: 96px 0; background: var(--ink); color: var(--ink-fg); }
.yours .lede { color: var(--ink-muted); }
.yours .eyebrow { color: var(--ink-muted); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: 16px; overflow: hidden; }
.rules li { background: var(--ink); padding: 20px 22px; display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; }
.rules b { font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); }
.rules span { color: var(--ink-fg); }

/* Switch over */
.switch { padding: 110px 0 40px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 26px 22px 24px; border-top: 3px solid var(--fg); display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 13px var(--mono); color: var(--muted); margin-bottom: 8px; }
.steps b { font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.steps span { color: var(--muted); font-size: 15px; }

/* Pricing */
.pricing { padding: 120px 0 40px; }
.toggle { display: inline-flex; margin-top: 28px; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.toggle button { border: 0; background: transparent; color: var(--muted); font: 600 15px var(--font); padding: 9px 16px; border-radius: 9px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.toggle button[aria-pressed="true"] { background: var(--panel); color: var(--fg); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.save { font: 500 11px var(--mono); text-transform: uppercase; color: var(--good); letter-spacing: .04em; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; align-items: stretch; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; display: flex; flex-direction: column; }
.plan.featured { border: 1.5px solid var(--fg); box-shadow: var(--shadow); }
.badge { position: absolute; top: -12px; left: 28px; margin: 0; background: var(--fg); color: var(--bg); font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 7px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.for { margin: 6px 0 0; color: var(--muted); font-size: 15px; min-height: 46px; }
.price { margin: 18px 0 22px; font-size: 52px; font-weight: 650; letter-spacing: -.055em; line-height: 1; }
.price small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.pricing[data-billing="monthly"] .y, .pricing[data-billing="yearly"] .m { display: none; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: 8px; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin: 26px 0 0; }

/* FAQ */
.faq { padding: 110px 0 40px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 19px; letter-spacing: -.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 26px var(--mono); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 680px; }

/* Final call to action */
.final { margin-top: 110px; padding: 110px 0; text-align: center; background: var(--ink); color: var(--ink-fg); position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(180deg, transparent 0 63px, rgba(241, 236, 228, .05) 63px 64px); }
.final h2 { font-size: clamp(36px, 6vw, 72px); font-weight: 650; margin-bottom: 36px; }
.final em { color: var(--ink-muted); }
.final .btn.primary { background: var(--ink-fg); border-color: var(--ink-fg); color: #0a0a0a; }
.final .fine { color: var(--ink-muted); }

/* Footer. Legal links show once config.js says LEGAL_READY. */
[data-legal] { display: none; }
.legal-ready [data-legal] { display: inline; }
.foot { padding: 34px 0 44px; background: var(--ink); color: var(--ink-muted); border-top: 1px solid var(--ink-line); }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot .brand { color: var(--ink-fg); }
.foot nav { display: flex; gap: 22px; }
.foot nav a { text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--ink-fg); }
.foot p { margin: 0 0 0 auto; font-size: 14px; }

/* Privacy and terms pages */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 650; }
.legal .updated { margin: 14px 0 0; font: 500 14px var(--mono); color: var(--muted); }
.legal .intro { font-size: 19px; margin: 32px 0 8px; }
.legal h2 { font-size: 22px; font-weight: 600; letter-spacing: -.025em; margin: 44px 0 12px; }
.legal p, .legal li { color: color-mix(in srgb, var(--fg) 84%, var(--muted)); }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--fg); text-underline-offset: 3px; }
.legal em { color: inherit; font-weight: 600; }
.legal mark.fill { background: #ffe58a; color: #17140f; padding: 0 4px; border-radius: 4px; font-weight: 700; }

/* Smaller screens */
@media (max-width: 980px) {
  .top-nav { display: none; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .plan.featured { order: -1; }
  .two-up { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .top-cta .link { display: none; }
  .hero { padding-top: 48px; }
  .hero-shots { padding-bottom: 0; }
  .shot-phone { display: none; }
  .problem, .feature, .switch, .pricing, .faq { padding-top: 80px; }
  .yours, .final { margin-top: 80px; padding: 72px 0; }
  .facts, .steps { grid-template-columns: 1fr; }
  .rules li { grid-template-columns: 1fr; gap: 4px; }
  .foot p { margin-left: 0; width: 100%; }
  .shot { border-radius: 12px; }
}
