/* AnswerRoster — site styles. System fonts only, no external resources. */
:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #eef2ff;
  --brand: #3730a3;
  --brand-2: #4338ca;
  --brand-soft: #c7d2fe;
  --ok: #047857;
  --err: #b91c1c;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-underline-offset: 2px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid #6366f1; outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 750; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; }
.brand .r { color: var(--brand); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; color: #065f46; background: #d1fae5; border: 1px solid #a7f3d0; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #059669; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 550; }
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); }
@media (max-width: 860px) { .nav .nav-link { display: none; } .site-header .badge { display: none; } }


/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; border-radius: 10px; padding: 12px 20px; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #312e81; color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: #cbd5e1; }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 8px 14px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Sections */
section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-2); margin-bottom: 10px; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 680px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Hero */
.hero { padding: 84px 0 72px; background: radial-gradient(1100px 480px at 85% -10%, #e0e7ff 0%, rgba(224, 231, 255, 0) 60%), linear-gradient(#fff, #fff); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 18px; }
.hero .lead { margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 22px; }
.hero-card .hc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 3px solid var(--brand); padding-bottom: 12px; margin-bottom: 14px; }
.hero-card .hc-agency { font-weight: 700; color: var(--brand); font-size: .9rem; }
.hero-card .hc-title { font-weight: 700; font-size: 1.05rem; }
.hero-card .hc-sub { color: var(--muted); font-size: .82rem; }
.hc-rows { list-style: none; margin: 0; padding: 0; }
.hc-rows li { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.hc-rows li:last-child { border-bottom: 0; }
.hc-q { color: var(--ink-2); }
.hc-engines { display: flex; gap: 6px; }
.chip { display: inline-block; font-size: .72rem; font-weight: 700; border-radius: 6px; padding: 2px 7px; border: 1px solid var(--line); color: var(--muted); background: var(--bg-soft); }
.chip.yes { color: #065f46; background: #d1fae5; border-color: #a7f3d0; }
.hc-foot { margin-top: 12px; font-size: .78rem; color: var(--muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Cards / grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.step-num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-tint); color: var(--brand); font-weight: 750; margin-bottom: 14px; }

.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.why-list li { padding-left: 30px; position: relative; color: var(--ink-2); }
.why-list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px; border-radius: 3px; background: var(--brand-soft); border: 2px solid var(--brand); }

.report-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.report-list li { border-left: 3px solid var(--brand); padding: 4px 0 4px 14px; }
.report-list strong { display: block; }
.report-list span { color: var(--muted); font-size: .95rem; }
@media (max-width: 720px) { .report-list { grid-template-columns: 1fr; } }

/* Sample */
.sample-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .sample-grid { grid-template-columns: 1fr; } }
.sample-frame { position: relative; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: #fff; max-height: 620px; }
.sample-frame img { width: 100%; }
.sample-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.sample-label { display: inline-block; font-size: .85rem; font-weight: 700; color: #7c2d12; background: #ffedd5; border: 1px solid #fdba74; border-radius: 8px; padding: 6px 12px; margin-bottom: 14px; }
.sample-links { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }

.limits { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius); padding: 20px 22px; }
.limits h3 { font-size: 1rem; }
.limits ul { margin: 0; color: var(--ink-2); }

/* Pricing */
.billing-toggle { display: inline-flex; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 32px; gap: 4px; }
.billing-toggle button { font: inherit; font-size: .92rem; font-weight: 650; border: 0; background: transparent; color: var(--ink-2); padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.billing-toggle .save { font-weight: 600; opacity: .85; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1040px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; }
.plan.recommended { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -13px; left: 22px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 1.2rem; margin-bottom: 4px; }
.plan .plan-for { color: var(--muted); font-size: .92rem; min-height: 2.8em; }
.price { margin: 14px 0 2px; display: flex; align-items: baseline; gap: 6px; }
.price .amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; }
.price .per { color: var(--muted); font-weight: 600; }
.price-alt { color: var(--muted); font-size: .88rem; min-height: 1.5em; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 8px; font-size: .95rem; color: var(--ink-2); }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.pricing-notes { margin-top: 26px; color: var(--muted); font-size: .92rem; }
.pricing-notes p { margin-bottom: .4em; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 650; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--brand); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 18px; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); }
.waitlist-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .waitlist-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 650; font-size: .95rem; margin-bottom: 6px; }
.field .opt { color: var(--muted); font-weight: 500; }
.field input[type="email"], .field input[type="text"], .field input[type="url"], .field select { width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid #94a3b8; border-radius: 9px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus { outline: 3px solid #a5b4fc; outline-offset: 0; border-color: var(--brand); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: 9px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { background: #ecfdf5; color: var(--ok); border: 1px solid #a7f3d0; }
.form-status.err { background: #fef2f2; color: var(--err); border: 1px solid #fecaca; }
.form-fine { font-size: .85rem; color: var(--muted); margin-top: 14px; margin-bottom: 0; }

/* Prose (legal pages) */
.page-head { padding: 64px 0 28px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head p { color: var(--muted); margin: 0; }
.prose { padding: 48px 24px 88px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose h3 { font-size: 1.08rem; margin-top: 1.5em; }
.prose li { margin-bottom: .35em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 1em 0 1.5em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); }
.table-scroll { overflow-x: auto; }
.callout { background: var(--bg-tint); border: 1px solid var(--brand-soft); border-radius: var(--radius); padding: 18px 20px; margin: 1.5em 0; }
.callout p:last-child { margin-bottom: 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .cta-row { justify-content: center; }

/* CTA band */
.cta-band { background: var(--ink); color: #e2e8f0; padding: 64px 0; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #cbd5e1; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--brand-soft); }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: .92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.legal-line { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; }

/* Fixes: header CTA keeps white text despite .nav a color; wrapped button labels centered */
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
.btn { text-align: center; }
@media (max-width: 520px) { .hc-rows li { grid-template-columns: 1fr; } .hc-engines { flex-wrap: wrap; } }
