/* NYC ASP — street-sign red and white from the app icon. */
:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --ink: #17191D;
  --ink-muted: #565A62;
  --red: #CD010F;
  --red-deep: #B0000C;
  --red-tint: #FBE6E7;
  --green: #2E8B47;
  --green-tint: #E3F2E6;
  --hairline: #E8E2D8;
  --shadow: 0 1px 2px rgba(23, 25, 29, .04), 0 8px 24px rgba(23, 25, 29, .06);

  --display: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 20px;
  --wrap: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121316;
    --surface: #1B1D21;
    --ink: #F1F1F3;
    --ink-muted: #A5A8AF;
    --red: #F0505A;
    --red-deep: #FF7A82;
    --red-tint: #3A1A1D;
    --green: #5BC27A;
    --green-tint: #19301F;
    --hairline: #2C2F35;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }

img, svg { display: block; max-width: 100%; }
a { color: var(--red-deep); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 21px; }
p { margin: 0; }

.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 14px; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-muted); max-width: 32em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 20px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav { display: none; } .header-inner .btn { margin-left: auto; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 14px; font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.btn-store { background: var(--ink); color: var(--bg); }
.btn-store:hover { opacity: .9; }
.btn-store svg { width: 18px; height: 18px; fill: currentColor; }
.btn-store small { display: block; font-size: 11px; font-weight: 500; opacity: .75; margin-bottom: 3px; }
.btn-store .stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.btn-ghost { color: var(--red-deep); border: 1.5px solid color-mix(in srgb, var(--red) 55%, transparent); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; text-wrap: balance; }
.hero .lede { margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 150px)); gap: 12px; margin-top: 28px; }
.stats div { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 12px 16px; }
.stats b { display: block; font: 700 26px/1.1 var(--display); color: var(--red-deep); }
.stats span { display: block; font-size: 14px; line-height: 1.4; color: var(--ink-muted); }
@media (max-width: 420px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; } .stats div { padding: 10px 12px; } .stats b { font-size: 22px; } .stats span { font-size: 12px; } }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Phone mock (Home and a notification, drawn in HTML) ---------- */
.hero-phone { display: flex; justify-content: center; position: relative; }
.hero-phone::before { content: ""; position: absolute; inset: 6% -10% -6% -10%; background: radial-gradient(closest-side, color-mix(in srgb, var(--red) 22%, transparent), transparent); }
.phone {
  position: relative; width: min(340px, 100%); aspect-ratio: 9 / 19;
  background: #F2F2F7; color: #111;
  border-radius: 46px; padding: 14px 0 0; border: 10px solid #17191D;
  box-shadow: 0 30px 60px -20px rgba(23, 25, 29, .45);
  overflow: hidden; display: flex; flex-direction: column;
}
@media (prefers-color-scheme: dark) { .phone { border-color: #3A3D44; box-shadow: 0 0 0 1px #4A4E57, 0 30px 60px -20px rgba(0, 0, 0, .8); } }
.phone-island { width: 96px; height: 26px; border-radius: 20px; background: #17191D; margin: 0 auto 12px; flex: none; }
.p-notif { margin: 0 10px 12px; background: rgba(255,255,255,.92); border-radius: 16px; padding: 9px 10px; display: flex; gap: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.p-notif img { width: 26px; height: 26px; border-radius: 6px; flex: none; }
.p-notif div { display: flex; flex-direction: column; gap: 1px; font-size: 10px; line-height: 1.3; min-width: 0; }
.p-notif .top { display: flex; justify-content: space-between; color: #6C6C70; }
.p-notif b { font-size: 10.5px; color: #111; }
.p-title { font: 700 25px/1.1 var(--sans); padding: 0 14px; margin-bottom: 10px; letter-spacing: -.01em; }
.p-card { background: #fff; margin: 0 14px 10px; border-radius: 14px; padding: 11px 12px; }
.p-card .lbl { font-size: 10px; color: #6C6C70; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.p-card .head { font-size: 13.5px; font-weight: 700; margin: 3px 0 7px; line-height: 1.25; }
.p-card .head.sus { color: #C80010; }
.p-card .head.ok { color: #248A3D; }
.p-card .pills { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 5px; }
.p-card .pills span { font-size: 8.5px; font-weight: 700; padding: 2px 6px; border-radius: 99px; background: #EFEFF4; color: #3A3A3C; }
.p-card .pills span.on { background: #C80010; color: #fff; }
.p-card .addr { font-size: 9px; color: #6C6C70; }
.p-tabbar { margin-top: auto; padding: 8px 8px 18px; background: rgba(250,250,252,.96); border-top: 1px solid #E2E2E6; display: flex; justify-content: space-around; }
.p-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9px; color: #8A8A8F; }
.p-tab svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.p-tab.on { color: #C80010; }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 40em; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--ink-muted); font-size: 18px; }
.alt { background: var(--surface); border-block: 1px solid var(--hairline); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--bg); border-radius: var(--radius); padding: 28px; border: 1px solid var(--hairline); }
.step-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step-icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.step .num { font: 700 13px var(--sans); color: var(--red-deep); letter-spacing: .08em; display: block; margin-bottom: 6px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-muted); }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* The evening before */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tl { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.tl time { display: inline-block; font: 700 14px var(--sans); letter-spacing: .04em; padding: 4px 10px; border-radius: 99px; margin-bottom: 14px; background: var(--red-tint); color: var(--red-deep); }
.tl.go time { background: var(--green-tint); color: var(--green); }
.tl h3 { font-family: var(--sans); font-size: 18px; letter-spacing: 0; margin-bottom: 6px; }
.tl p { color: var(--ink-muted); font-size: 15px; }
.note { margin-top: 24px; max-width: 46em; padding: 18px 20px; border-radius: 18px; background: var(--red-tint); font-size: 16px; }
@media (max-width: 880px) { .timeline { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; color: var(--ink-muted); }
.checks strong { color: var(--ink); }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; stroke: var(--red-deep); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Pricing card */
.price { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.price .eyebrow { margin-bottom: 8px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.price-row b { font: 700 52px/1 var(--display); }
.price-row span { color: var(--ink-muted); font-weight: 600; }
.price > p { color: var(--ink-muted); }
.price ol { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; border-top: 1px solid var(--hairline); padding-top: 20px; }
.price li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; color: var(--ink-muted); font-size: 15px; }
.price li strong { color: var(--ink); display: block; font-size: 16px; }
.price li i { font-style: normal; width: 30px; height: 30px; border-radius: 99px; background: var(--red-tint); color: var(--red-deep); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
@media (max-width: 880px) { .features { grid-template-columns: 1fr; } }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 22px; }
.pcard svg { width: 26px; height: 26px; stroke: var(--red-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.pcard h3 { font-family: var(--sans); font-size: 17px; margin-bottom: 6px; letter-spacing: 0; }
.pcard p { color: var(--ink-muted); font-size: 15px; }
.privacy-more { margin-top: 24px; font-size: 16px; }
@media (max-width: 960px) { .privacy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .privacy-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--hairline); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red-deep); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-muted); margin-top: 10px; }

/* CTA + footer */
.cta { text-align: center; }
.cta img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 12px 30px -10px rgba(23, 25, 29, .4); }
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--ink-muted); margin: 0 auto 26px; max-width: 30em; }
.cta .hero-cta { justify-content: center; }

.site-footer { border-top: 1px solid var(--hairline); padding: 32px 0 40px; font-size: 14px; color: var(--ink-muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--ink-muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
