/* Shared styles for the marketing pages, sign-in and signup. */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; display: block; }

/* Site header */
header.site { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--border); padding: 14px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header.site nav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--text); }
header.site nav .btn { padding: 9px 14px; color: var(--accent-ink); }
@media (max-width: 760px) { header.site nav a.hide-sm { display: none; } }
footer.site { border-top: 1px solid var(--border); margin-top: 40px; padding: 28px 0 48px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }

/* Sign-in */
.auth-page { min-height: 100vh; background: radial-gradient(80% 60% at 50% 0%, var(--accent-soft), var(--bg) 70%); }
.auth-wrap { max-width: 420px; margin: 0 auto; padding: 32px 16px; display: grid; gap: 20px; }
.auth-wrap > .brand { justify-self: center; }
.auth-card { padding: 28px 24px; }
.auth-card h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.sso { display: grid; gap: 10px; margin-top: 18px; }
.sso-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 600; text-decoration: none; transition: border-color .15s, transform .15s; }
.sso-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.sso-btn svg { width: 20px; height: 20px; flex: none; }
.sso-btn.apple { background: #000; color: #fff; border-color: #000; }
.sso-btn.off { opacity: .55; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 20px 0 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.sent { background: var(--ok-soft); color: var(--text); border-radius: 12px; padding: 14px; }
.fine { margin: 18px 0 0; font-size: 12.5px; }

/* Signup wizard */
.wizard { max-width: 640px; margin: 0 auto; padding: 24px 16px 64px; }
.wizard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.progress { display: flex; gap: 6px; flex: 1; max-width: 260px; }
.progress i { flex: 1; height: 5px; border-radius: 3px; background: var(--border); transition: background .3s; }
.progress i.on { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.step h1 { font-size: clamp(28px, 4.5vw, 38px); font-weight: 800; letter-spacing: -.025em; }
.step .lead { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.step { animation: rise .35s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step { animation: none; } }
.big-input { display: flex; gap: 8px; }
.big-input input { font-size: 17px; padding: 14px 16px; }
.big-input button { flex: none; }
@media (max-width: 560px) { .big-input { flex-direction: column; } }
.choice-grid { display: grid; gap: 12px; }
.choice { display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%; background: var(--surface); color: var(--text); border: 1.5px solid var(--border); border-radius: 16px; padding: 16px 18px; font-weight: 500; transition: border-color .15s, box-shadow .15s, transform .15s; }
.choice:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); transform: translateY(-1px); }
.choice[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface)); }
.choice .ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 20px; }
.choice b { display: block; font-size: 16px; }
.choice small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; font-weight: 400; }
.choice .tag { margin-left: auto; align-self: center; }
.voice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.voice-card { position: relative; text-align: left; background: var(--surface); color: var(--text); border: 1.5px solid var(--border); border-radius: 16px; padding: 16px; font-weight: 500; }
.voice-card[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
.voice-card .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 18px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); margin-bottom: 10px; }
.voice-card b { display: block; font-size: 17px; }
.voice-card small { color: var(--muted); }
.learning { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); margin-bottom: 20px; font-size: 14px; }
.learning .spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--accent); border-top-color: transparent; animation: spin .9s linear infinite; flex: none; }
.learning.done .spin { animation: none; border-color: var(--ok); background: var(--ok); }
.plan-card { border-radius: 20px; padding: 24px; border: 1.5px solid var(--accent); background: linear-gradient(160deg, color-mix(in srgb, var(--accent-soft) 70%, var(--surface)), var(--surface)); }
.plan-card .price { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.plan-card ul { padding-left: 0; list-style: none; margin: 16px 0; display: grid; gap: 8px; }
.plan-card li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 10px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 4px; font-size: 13px; }
.timeline div { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px; }
.timeline b { display: block; font-size: 14px; }
.live-card { text-align: center; padding: 32px 22px; }
.live-number { font-size: clamp(30px, 6vw, 42px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 50; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: fall 2.6s ease-in forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } }
.click-count { font-size: 12.5px; color: var(--muted); }
.steps-list { text-align: left; margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.steps-list code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-weight: 600; }
.notice { background: var(--warn-soft); color: var(--warn); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 14px; }
.notice.info { background: var(--accent-soft); color: var(--accent); }

/* Pricing and mission */
.page-hero { padding: 64px 0 24px; text-align: center; }
.page-hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 800; letter-spacing: -.035em; max-width: 18ch; margin: 0 auto 14px; }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 54ch; margin: 0 auto; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 32px auto 0; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent), var(--shadow); }
.plan .ribbon { position: absolute; top: -12px; left: 24px; }
.plan h2 { font-size: 22px; margin-bottom: 4px; }
.plan .price { font-size: 52px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: 14px 0 2px; }
.plan .price small { font-size: 17px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.plan .btn { margin-top: auto; text-align: center; }
.estimate { max-width: 900px; margin: 28px auto 0; }
.estimate .row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.estimate output { font-size: 34px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--accent); }

.mission-hero { padding: 80px 0 40px; text-align: center; position: relative; overflow: hidden; }
.mission-hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 520px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent), radial-gradient(closest-side at 70% 60%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent); z-index: -1; }
.mission-hero h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; max-width: 15ch; margin: 0 auto 18px; }
.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
@media (max-width: 640px) { .founders { grid-template-columns: 1fr; } }
.founder { padding: 0; overflow: hidden; }
.founder .photo { aspect-ratio: 4 / 5; background: linear-gradient(145deg, var(--accent-soft), color-mix(in srgb, var(--accent-2) 18%, var(--surface-2))); display: grid; place-items: center; position: relative; }
.founder .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder .photo .initials { font-size: 64px; font-weight: 800; color: color-mix(in srgb, var(--accent) 70%, transparent); }
.founder .body { padding: 18px 20px 22px; }
.founder h3 { margin: 0; font-size: 20px; }
.beliefs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .beliefs { grid-template-columns: 1fr; } }
.beliefs .num { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .08em; }
.prose { max-width: 680px; margin: 0 auto; font-size: 18px; line-height: 1.7; }
.prose p { margin-bottom: 1.1em; }

/* FAQ (shared with the homepage) */
.faq-list details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq-list summary { list-style: none; cursor: pointer; padding: 16px 0; font-size: 17px; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 12px; }
.legal { max-width: 760px; margin: 0 auto; padding: 48px 0; }
.legal h1 { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.legal h2 { font-size: 20px; margin-top: 28px; }
