/* Readback landing page. Visual rules follow the landing-page-design skill:
   Geist only, Tailwind type scale, fixed spacing tokens, flat dark backgrounds, base motion curve. */

@font-face { font-family: 'Geist'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/geist-latin-400-normal.woff2') format('woff2') }
@font-face { font-family: 'Geist'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/geist-latin-500-normal.woff2') format('woff2') }
@font-face { font-family: 'Geist'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/geist-latin-600-normal.woff2') format('woff2') }
@font-face { font-family: 'Geist'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/geist-latin-700-normal.woff2') format('woff2') }
@font-face { font-family: 'Geist Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/geist-mono-latin-400-normal.woff2') format('woff2') }

:root {
    color-scheme: dark;
    --bg: #000000;
    --surface: #181818;
    --surface-2: #1F1F1F;
    --surface-3: #272727;
    --border: #313131;
    --text: #FFFFFF;
    --muted: #9B9B9B;
    --accent: #D8ED9D;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --space-0: 0;
    --space-25: 2px;
    --space-50: 4px;
    --space-75: 8px;
    --space-100: 12px;
    --space-200: 16px;
    --space-300: 24px;
    --space-400: 32px;
    --space-500: 40px;
    --space-600: 48px;
    --space-700: 64px;
    --space-800: 80px;
    --space-900: 96px;

    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-3xl: 24px;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: var(--space-900); -webkit-text-size-adjust: 100% }
body {
    margin: 0; min-width: 320px; background: var(--bg); color: var(--text);
    font-family: 'Geist', system-ui, sans-serif; font-weight: 400;
    font-size: 16px; line-height: 24px; text-wrap: pretty; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0 }
ul, ol { padding: 0; list-style: none }
a { color: inherit }
svg { display: block; flex: none }
code { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 14px; line-height: 20px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-25) var(--space-75); overflow-wrap: anywhere }
:focus-visible { outline: 2px solid var(--accent); outline-offset: var(--space-50) }

.skip { position: absolute; left: var(--space-200); top: var(--space-200); z-index: 60; padding: var(--space-75) var(--space-100); border-radius: var(--radius-lg); background: var(--text); color: var(--bg); font-size: 14px; line-height: 20px; font-weight: 600; transform: translateY(-200%) }
.skip:focus { transform: translateY(0) }

.wrap { width: min(1120px, 100% - var(--space-600)); margin: 0 auto }

/* ---------- Type ---------- */
h1 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance }
h2 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance }
h3 { font-size: 20px; line-height: 28px; font-weight: 600; text-wrap: balance }
.hero-title { max-width: 680px; background: linear-gradient(to right, #FFFFFF, #9B9B9B); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent }
.lede { font-size: 18px; line-height: 28px; color: var(--muted); max-width: 680px }
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent) }
.small { font-size: 14px; line-height: 20px; color: var(--muted) }
.muted { color: var(--muted) }
@media (min-width: 768px) {
    h1 { font-size: 48px; line-height: 1 }
    h2 { font-size: 36px; line-height: 40px }
    .lede { font-size: 20px; line-height: 28px }
}
/* ---------- Buttons ---------- */
.button {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-75);
    padding: var(--space-75) var(--space-100); border-radius: var(--radius-lg); border: 1px solid var(--text);
    background: var(--text); color: var(--bg); font: inherit; font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; cursor: pointer;
    transition: transform 500ms var(--ease), opacity 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.button svg { width: 20px; height: 20px }
.button:hover { transform: translateY(-2px); opacity: 0.9 }
.button:active { transform: scale(0.98) }
.button.secondary { background: transparent; color: var(--text); border-color: var(--border) }
.button.secondary:hover { background: var(--surface); border-color: var(--muted); opacity: 1 }
.button.small-button { font-size: 14px; line-height: 20px }

/* ---------- Navigation ---------- */
.nav {
    position: fixed; top: var(--space-200); left: 50%; z-index: 50; transform: translateX(-50%);
    display: flex; align-items: center; gap: var(--space-300); padding: var(--space-75) var(--space-75) var(--space-75) var(--space-200);
    border: 1px solid var(--border); border-radius: var(--radius-xl);
    background: rgba(24, 24, 24, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    width: max-content; max-width: calc(100% - var(--space-400));
}
.brand { display: inline-flex; align-items: center; gap: var(--space-75); font-size: 18px; line-height: 28px; font-weight: 600; text-decoration: none; letter-spacing: -0.025em }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--radius-lg); background: var(--text); color: var(--bg); font-size: 14px; line-height: 20px; font-weight: 700 }
.nav-links { display: none; align-items: center; gap: var(--space-50) }
.nav-links a { padding: var(--space-75) var(--space-100); border-radius: var(--radius-lg); color: var(--muted); font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: none; transition: color 300ms var(--ease), background-color 300ms var(--ease) }
.nav-links a:hover { color: var(--text); background: var(--surface-3) }
.nav-links a[aria-current='true'] { color: var(--text); background: var(--surface-3) }
.nav-cta { display: none }
.menu-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: transparent; color: var(--text); cursor: pointer }
.menu-toggle span { grid-area: 1 / 1; width: 16px; height: 2px; border-radius: var(--space-25); background: currentColor; transition: transform 500ms var(--ease), opacity 300ms var(--ease) }
.menu-toggle span:nth-child(1) { transform: translateY(-5px) }
.menu-toggle span:nth-child(3) { transform: translateY(5px) }
.menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg) }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0 }
.menu-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg) }

.mobile-menu {
    position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: center; gap: var(--space-100);
    padding: var(--space-900) var(--space-300) var(--space-600);
    background: rgba(0, 0, 0, 0.94); backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
    opacity: 0; visibility: hidden; transition: opacity 500ms var(--ease), visibility 0s linear 500ms;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity 500ms var(--ease), visibility 0s }
.mobile-menu a:not(.button) { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.025em; text-decoration: none; padding: var(--space-75) 0 }
.mobile-menu a[aria-current='true'] { color: var(--accent) }
.mobile-menu > * { opacity: 0; transform: translateY(24px); transition: transform 500ms var(--ease), opacity 500ms var(--ease) }
.menu-open .mobile-menu > * { opacity: 1; transform: translateY(0); transition-delay: calc(var(--i) * 60ms) }
.mobile-menu .button { align-self: flex-start; margin-top: var(--space-200) }
@media (min-width: 900px) {
    .nav-links { display: flex }
    .nav-cta { display: inline-flex }
    .menu-toggle, .mobile-menu { display: none }
}

/* ---------- Sections ---------- */
section { padding: var(--space-700) 0 }
@media (min-width: 768px) { section { padding: var(--space-900) 0 } }
.section-head { display: grid; gap: var(--space-200); max-width: 680px; margin-bottom: var(--space-600) }

.hero { padding-top: 144px; padding-bottom: var(--space-700) }
.hero-grid { display: grid; gap: var(--space-600); align-items: center }
.hero-copy { display: grid; gap: var(--space-300); justify-items: start }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-200) }
.hero-note { display: grid; gap: var(--space-100) }
.proof { display: flex; flex-wrap: wrap; gap: var(--space-100) var(--space-300); margin-top: var(--space-100) }
.proof li { display: inline-flex; align-items: center; gap: var(--space-75); font-size: 14px; line-height: 20px; color: var(--muted) }
.proof svg { width: 20px; height: 20px; color: var(--accent) }
@media (min-width: 1024px) {
    .hero { padding-top: 176px }
    .hero-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: var(--space-700) }
}

/* Example recall card */
.card-mock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-3xl); padding: var(--space-100); display: grid; gap: var(--space-100) }
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-200); padding: var(--space-100) var(--space-100) 0; font-size: 12px; line-height: 16px; color: var(--muted) }
.mock-head strong { color: var(--text); font-weight: 600 }
.mock-body { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-200); display: grid; gap: var(--space-200) }
.mock-source { font-size: 12px; line-height: 16px; color: var(--muted) }
.mock-question { font-size: 18px; line-height: 28px; font-weight: 500; text-wrap: balance }
.mock-options { display: grid; gap: var(--space-75) }
.mock-options li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-100); align-items: start; padding: var(--space-100); border: 1px solid var(--border); border-radius: var(--radius-lg); font-size: 14px; line-height: 20px; color: var(--muted) }
.mock-options li b { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); font-size: 12px; line-height: 16px; font-weight: 600 }
.mock-options li.right { border-color: var(--accent); color: var(--text) }
.mock-options li.right b { background: var(--accent); border-color: var(--accent); color: var(--bg) }
.mock-explain { display: flex; gap: var(--space-100); padding: var(--space-100); border: 1px solid var(--border); border-radius: var(--radius-lg); font-size: 14px; line-height: 20px; color: var(--muted) }
.mock-explain svg { width: 20px; height: 20px; color: var(--accent); margin-top: var(--space-25) }
.mock-explain strong { color: var(--text); font-weight: 600 }
.mock-foot { display: flex; flex-wrap: wrap; gap: var(--space-75) var(--space-200); padding: 0 var(--space-100) var(--space-100); font-size: 12px; line-height: 16px; color: var(--muted) }

/* Problem to solution */
.compare { display: grid; gap: var(--space-200) }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: var(--space-300); display: grid; gap: var(--space-200); align-content: start }
.panel ul { display: grid; gap: var(--space-100) }
.panel li { display: flex; gap: var(--space-100); color: var(--muted) }
.panel li svg { width: 20px; height: 20px; margin-top: var(--space-25) }
.panel.after li { color: var(--text) }
.panel.after li svg { color: var(--accent) }
@media (min-width: 768px) { .compare { grid-template-columns: 1fr 1fr } }

/* Tagline reveal */
.tagline-section { padding: var(--space-900) 0 }
.tagline { max-width: 680px; font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance }
.tagline .word { opacity: 0.3; transition: opacity 500ms var(--ease) }
.tagline .word.lit { opacity: 1 }
@media (min-width: 768px) { .tagline { font-size: 48px; line-height: 1 } }

/* Benefits and privacy cards */
.grid { display: grid; gap: var(--space-200) }
@media (min-width: 768px) { .grid.two { grid-template-columns: repeat(2, 1fr) } .grid.three { grid-template-columns: repeat(2, 1fr) } }
@media (min-width: 1024px) { .grid.three { grid-template-columns: repeat(3, 1fr) } }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: var(--space-300); display: grid; gap: var(--space-100); align-content: start; transition: transform 500ms var(--ease), border-color 300ms var(--ease) }
.feature:hover { transform: translateY(-4px); border-color: var(--muted) }
.icon-tile { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--space-75); background: var(--surface-3); border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--accent) }
.icon-tile svg { width: 24px; height: 24px }
.feature p { color: var(--muted) }

/* Steps */
.steps { display: grid; gap: var(--space-200); counter-reset: step }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: var(--space-300); display: grid; gap: var(--space-100); align-content: start }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: var(--space-75); border-radius: var(--radius-lg); background: var(--text); color: var(--bg); font-size: 14px; line-height: 20px; font-weight: 700 }
.step p { color: var(--muted) }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr) } }
.schedule { margin-top: var(--space-300); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: var(--space-300); display: grid; gap: var(--space-200) }
.schedule ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-100) }
.schedule li { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-100) var(--space-200); display: grid; gap: var(--space-25) }
.schedule li strong { font-size: 20px; line-height: 28px; font-weight: 600 }
.schedule li span { font-size: 14px; line-height: 20px; color: var(--muted) }
@media (min-width: 768px) { .schedule ol { grid-template-columns: repeat(4, 1fr) } }

/* Pricing */
.pricing { display: grid; gap: var(--space-200) }
@media (min-width: 768px) { .pricing { grid-template-columns: 1fr 1fr } }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: var(--space-300); display: grid; gap: var(--space-200); align-content: start }
.price-card.highlight { border-color: var(--text) }
.price-card ul { display: grid; gap: var(--space-100) }
.price-card li { display: flex; gap: var(--space-100) }
.price-card li svg { width: 20px; height: 20px; margin-top: var(--space-25); color: var(--accent) }
.price-card .button { justify-self: start }

/* Install */
.install-steps { display: grid; gap: var(--space-100); counter-reset: install }
.install-steps li { counter-increment: install; display: grid; grid-template-columns: 32px 1fr; gap: var(--space-200); align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-200) }
.install-steps li::before { content: counter(install); display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-lg); background: var(--surface-3); border: 1px solid var(--border); font-size: 14px; line-height: 20px; font-weight: 600 }
.install-steps li > span { padding-top: var(--space-50) }

/* FAQ */
.faq { display: grid; gap: var(--space-100); max-width: 800px }
details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); transition: border-color 300ms var(--ease) }
details[open], details:hover { border-color: var(--muted) }
summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-200); padding: var(--space-200) var(--space-300); cursor: pointer; font-weight: 600; list-style: none }
summary::-webkit-details-marker { display: none }
summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 500ms var(--ease); flex: none; margin-right: var(--space-50) }
details[open] summary::after { transform: rotate(-135deg) }
details p { padding: 0 var(--space-300) var(--space-300); color: var(--muted) }

/* Final CTA */
.final { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-3xl); padding: var(--space-600) var(--space-300); display: grid; gap: var(--space-300); justify-items: center; text-align: center }
.final .lede { max-width: 560px }
@media (min-width: 768px) { .final { padding: var(--space-800) var(--space-600) } }

/* Footer */
footer { border-top: 1px solid var(--border); padding: var(--space-600) 0 }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-300) }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--space-100) var(--space-300); font-size: 14px; line-height: 20px }
.footer-links a { color: var(--muted); text-decoration: none; transition: color 300ms var(--ease) }
.footer-links a:hover { color: var(--text) }

/* Plain pages (privacy, 404) */
.doc { padding-top: 144px; padding-bottom: var(--space-900) }
.doc .wrap { max-width: 720px }
.doc h1 { margin-bottom: var(--space-300) }
.doc h2 { font-size: 24px; line-height: 32px; margin: var(--space-600) 0 var(--space-200) }
.doc ul { display: grid; gap: var(--space-100); margin-bottom: var(--space-200) }
.doc ul li { padding-left: var(--space-200); position: relative; color: var(--muted) }
.doc ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 4px; height: 4px; border-radius: var(--space-25); background: var(--muted) }
.doc ul strong, .doc p strong { color: var(--text); font-weight: 600 }
.doc p { color: var(--muted); margin-bottom: var(--space-200) }
.doc .button { margin-top: var(--space-300) }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: transform 700ms var(--ease), opacity 700ms var(--ease) }
.js [data-reveal].in { opacity: 1; transform: translateY(0) }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto }
    .js [data-reveal] { transform: none; transition: opacity 300ms var(--ease) }
    .button:hover, .feature:hover { transform: none }
    .mobile-menu > * { transform: none }
    .menu-toggle span, summary::after { transition: opacity 300ms var(--ease) }
}

.md-br { display: none }
@media (min-width: 768px) { .md-br { display: inline } }
