/* First Try Permit: site styles. Brand matches the app (US road-sign palette). */
:root {
  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --ink: #16181B;
  --muted: #5E6470;
  --line: #E3E1DA;
  --green: #0B6B47;
  --green-ink: #08573A;
  --green-soft: #E3F1EA;
  --yellow: #F5C400;
  --yellow-soft: #FFF6CC;
  --red: #C8372D;
  --shadow: 0 1px 2px rgba(22, 24, 27, .06), 0 12px 32px rgba(22, 24, 27, .08);
  --radius: 18px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111315;
    --surface: #1A1D20;
    --ink: #EDEEF0;
    --muted: #A5ABB5;
    --line: #2B2F34;
    --green: #2FA36F;
    --green-ink: #6BD3A2;
    --green-soft: #15291F;
    --yellow-soft: #322A0C;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green-ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand svg { width: 32px; height: 32px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav ul a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav ul li:not(.keep) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-ink); }
@media (prefers-color-scheme: dark) { .btn-primary { color: #0B1510; } .btn-primary:hover { background: #45BC86; } }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-soon { background: var(--ink); color: var(--bg); cursor: default; }
.btn-soon small { display: block; font-size: 11px; font-weight: 600; opacity: .7; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.btn-soon span { display: block; line-height: 1.2; }

/* hero */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); background: var(--green-soft); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -.03em; margin: 18px 0 18px; font-weight: 850; }
h1 .hl { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 2px; }
@media (prefers-color-scheme: dark) { h1 .hl { background: none; color: var(--yellow); } }
.lede { font-size: 20px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .sign { position: absolute; width: 74px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.18)); }
.hero-visual .s1 { top: 4%; left: 2%; transform: rotate(-10deg); }
.hero-visual .s2 { top: 40%; right: -2%; width: 92px; transform: rotate(8deg); }
.hero-visual .s3 { bottom: 6%; left: 6%; width: 64px; transform: rotate(6deg); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 32px; }
  .hero-visual .sign { width: 56px; }
  .hero-visual .s2 { width: 66px; right: 2%; }
}

/* phone frame around app screenshots */
.phone { width: min(300px, 78vw); border-radius: 40px; padding: 10px; background: #0F1113; box-shadow: var(--shadow), 0 30px 60px rgba(11, 107, 71, .18); }
.phone img { border-radius: 31px; width: 100%; height: auto; background: #F7F6F2; }
.phone.sm { width: min(250px, 70vw); border-radius: 34px; padding: 8px; }
.phone.sm img { border-radius: 27px; }

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.facts b { display: block; font-size: 22px; letter-spacing: -.02em; }
.facts span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } .facts li:last-child { grid-column: span 2; } }

/* sections */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 12px; font-weight: 820; }
h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; letter-spacing: -.01em; }
.muted { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.step .num { width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.step p { margin: 0; color: var(--muted); }
.step .phone { margin: 6px auto 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 4px 0; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow-soft); display: grid; place-items: center; margin-bottom: 12px; }
.feature .ic img { width: 28px; height: 28px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.states { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.state { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.state b { display: block; font-size: 16px; }
.state span { font-size: 13.5px; color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }
.states-note { margin-top: 16px; font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .states { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .states { grid-template-columns: repeat(2, 1fr); } }

.parents { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 900px) { .parents { grid-template-columns: 1fr; } }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.plan.featured { border: 2px solid var(--green); }
.plan .tag { position: absolute; top: -12px; left: 22px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan .price { font-size: 40px; font-weight: 850; letter-spacing: -.03em; margin: 6px 0 2px; }
.plan .price small { font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
.guarantee { margin-top: 22px; max-width: 860px; display: flex; gap: 14px; align-items: flex-start; background: var(--yellow-soft); border-radius: var(--radius); padding: 18px 20px; }
.guarantee img { width: 40px; flex: 0 0 40px; }
.guarantee p { margin: 0; }
@media (max-width: 700px) { .pricing { grid-template-columns: 1fr; } }

.faq { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; font-weight: 500; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.final { text-align: center; }
.final .cta-row { justify-content: center; margin-top: 22px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14.5px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.foot ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.foot a { color: var(--muted); }
.disclaimer { margin-top: 18px; max-width: 760px; font-size: 13.5px; line-height: 1.55; }

/* legal + support pages */
.doc { max-width: 800px; padding: 48px 20px 72px; }
.doc h1 { font-size: clamp(34px, 4.4vw, 46px); margin-top: 6px; }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.doc h2 { font-size: 24px; margin: 38px 0 10px; letter-spacing: -.015em; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 8px; }
.doc .summary ul { margin: 8px 0 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 6px; font-size: 15.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.contact-card { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; background: var(--green-soft); border-radius: var(--radius); padding: 20px 22px; margin: 6px 0 10px; }
.contact-card a.btn { text-decoration: none; }
.help { display: grid; gap: 10px; margin-top: 10px; }
.help details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.help summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 700; position: relative; }
.help summary::-webkit-details-marker { display: none; }
.help summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; font-weight: 500; color: var(--muted); }
.help details[open] summary::after { content: "–"; }
.help details > *:not(summary) { margin-top: 0; }
.help details ol, .help details ul { margin: 0 0 16px; }
.help details p { margin: 0 0 14px; }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.notfound img { width: 120px; margin: 0 auto 18px; }

.center { display: flex; justify-content: center; }
.mb { margin-bottom: 22px; }
.fineprint { font-size: 14px; margin-top: 14px; }
.h1-sm { font-size: 40px; }

/* privacy table stacks on phones */
@media (max-width: 600px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc table tr:first-child { display: none; }
  .doc tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .doc td { border: 0; padding: 2px 0; }
  .doc td:nth-child(1) { font-weight: 700; margin-bottom: 4px; }
  .doc td:nth-child(2)::before { content: "Goes to: "; color: var(--muted); }
  .doc td:nth-child(3)::before { content: "Why: "; color: var(--muted); }
}
