:root {
  --paper: #faf7ef;
  --ink: #10131a;
  --blue: #0b45e0;
  --blue-pressed: #0834a8;
  --blue-soft: #e4eafc;
  --secondary: #4e5668;
  --muted: #8a93a6;
  --border: #e3e1d6;
  --inset: #f0ede2;
  --signal: #d8f34e;
  --white: #fff;
  --heading: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--body); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-pressed); }
img, svg { display: block; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-160%); background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.page-pad { padding-left: 20px; padding-right: 20px; }
.desktop-only { display: none !important; }

.site-header { display: flex; align-items: center; padding-top: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--heading); font-size: 20px; font-weight: 700; }
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.header-cities { display: none; }

.hero { display: flex; flex-direction: column; gap: 18px; padding-top: 28px; padding-bottom: 40px; }
.hero-copy { min-width: 0; }
.hero h1, h2, h3 { font-family: var(--heading); }
.hero h1 { margin: 18px 0 0; font-size: clamp(36px, 9.75vw, 38px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
.hero-intro { margin: 18px 0 0; color: var(--secondary); font-size: 16px; line-height: 1.5; }
.live-chip { display: inline-flex; align-items: center; align-self: flex-start; gap: 7px; padding: 5px 12px 5px 9px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--signal); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.signal-dot { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: var(--ink); }
.live-chip.compact { gap: 6px; padding: 4px 11px 4px 8px; font-size: 11px; letter-spacing: 0; }

.signup-shell { margin-top: 18px; }
.signup-form { display: flex; flex-direction: column; gap: 10px; }
.primary-fields { display: flex; flex-direction: column; gap: 10px; }
input[type="email"], input[type="text"] { width: 100%; height: 54px; padding: 0 18px; border: 1.5px solid var(--border); border-radius: 14px; outline: none; background: var(--white); color: var(--ink); font-size: 16px; }
input::placeholder { color: var(--muted); }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(11, 69, 224, .28); outline-offset: 2px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; border: 0; padding: 0 22px; cursor: pointer; font-weight: 600; }
.button:disabled { cursor: wait; opacity: .7; }
.button-primary { min-height: 54px; background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--blue-pressed); color: var(--white); }
.button-primary:active { background: var(--blue-pressed); }
.button-secondary { background: var(--white); border: 1.5px solid var(--border); color: var(--ink); }
.button-paper { min-height: 50px; align-self: flex-start; background: var(--paper); color: var(--ink); }

.city-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.city-picker legend { float: left; height: 44px; display: flex; align-items: center; margin-right: 8px; color: var(--secondary); font-size: 13px; font-weight: 500; }
.city-options { display: flex; flex-wrap: wrap; gap: 8px; }
.city-options .desktop-city { display: none; }
.city-options label { position: relative; min-height: 44px; cursor: pointer; }
.city-options input { position: absolute; opacity: 0; }
.city-options label > span { min-height: 44px; display: inline-flex; align-items: center; padding: 0 13px; border: 1.5px solid var(--border); border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 500; }
.city-options input:checked + span { border-color: var(--blue); background: var(--blue); color: var(--white); font-weight: 600; }
.city-options input:focus-visible + span { outline: 3px solid rgba(11, 69, 224, .28); outline-offset: 2px; }
.other-city { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; color: var(--secondary); font-size: 13px; font-weight: 500; }
.form-note, .privacy-note, .form-error { margin: 0; font-size: 12px; line-height: 1.45; }
.form-note { color: var(--muted); }
.privacy-note { color: var(--secondary); }
.form-error { color: #a41f1f; font-weight: 600; }
.turnstile-slot:empty { display: none; }
.phone-stage, .proof-strip { display: none; }

.how-section { display: flex; flex-direction: column; gap: 18px; padding-top: 36px; padding-bottom: 36px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--white); }
.how-section h2, .cities-section h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.how-grid { display: flex; flex-direction: column; gap: 18px; }
.how-card { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: var(--paper); }
.how-card svg { width: 24px; height: 24px; flex: 0 0 auto; margin-top: 2px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.how-card h3 { margin: 0; font-size: 17px; font-weight: 600; }
.how-card p { margin: 5px 0 0; color: var(--secondary); font-size: 15px; line-height: 1.45; }

.cities-section { display: flex; flex-direction: column; gap: 14px; padding-top: 36px; padding-bottom: 36px; }
.cities-copy p { margin: 14px 0 0; color: var(--secondary); font-size: 15px; line-height: 1.5; }
.city-status-list { display: flex; flex-direction: column; gap: 12px; }
.city-status-list > div { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.city-status-list strong { font-size: 15px; }
.city-status-list a, .opening { color: var(--blue); font-size: 12px; font-weight: 600; }
.city-count { color: var(--secondary); font-size: 12px; font-weight: 500; }

.business-section { display: flex; flex-direction: column; gap: 14px; padding-top: 36px; padding-bottom: 36px; background: var(--ink); color: var(--paper); }
.business-section .eyebrow { margin: 0; color: #8fb0ff; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.business-section h2 { margin: 10px 0 0; color: var(--paper); font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.business-section > div > p:last-child { margin: 10px 0 0; color: #a9b1c2; font-size: 14px; line-height: 1.5; }
.business-form { width: 100%; max-width: 520px; padding-top: 4px; }
.business-form > label { display: block; margin-bottom: 7px; color: var(--paper); font-size: 14px; font-weight: 600; }
.business-form > div { display: flex; flex-direction: column; gap: 10px; }
.business-form > p { margin: 8px 0 0; color: #a9b1c2; font-size: 12px; }
.business-form .business-success { color: var(--paper); font-size: 14px; font-weight: 600; }

.final-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 44px; padding-bottom: 44px; text-align: center; }
.final-cta h2 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.final-cta form { width: 100%; display: flex; flex-direction: column; gap: 10px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--border); color: var(--secondary); font-size: 13px; font-weight: 500; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.site-footer nav { display: flex; gap: 16px; }

.confirmation { display: flex; flex-direction: column; gap: 26px; max-width: 560px; }
.confirmation > img { width: 52px; height: 52px; border-radius: 12px; }
.confirmation-heading h2 { margin: 0; font-size: 36px; line-height: 1.1; letter-spacing: -.02em; }
.confirmation-heading h2 span:first-child { color: var(--blue); }
.confirmation-heading p, .referral-card p { margin: 10px 0 0; color: var(--secondary); font-size: 15px; line-height: 1.5; }
.referral-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: 20px; background: var(--white); }
.referral-card h3 { margin: 0; font-size: 21px; }
.referral-link { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--inset); }
.referral-link span { overflow: hidden; color: var(--secondary); font-size: 14px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.referral-link button { flex: 0 0 auto; min-height: 32px; padding: 0; border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: 13px; font-weight: 600; }
.share-actions { display: flex; flex-direction: column; gap: 10px; }
.share-actions .button { min-height: 48px; border-radius: 12px; font-size: 15px; }
.share-actions svg { width: 18px; height: 18px; margin-right: 9px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.referral-card .moved-note { margin: 0; color: var(--muted); font-size: 13px; }
.while-waiting { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--secondary); font-size: 14px; font-weight: 500; }

.privacy-page { width: min(100% - 40px, 720px); margin: 0 auto; padding: 32px 0 72px; }
.privacy-page article { margin-top: 64px; }
.privacy-page .eyebrow { color: var(--blue); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.privacy-page h1 { margin: 10px 0 24px; font-family: var(--heading); font-size: 40px; line-height: 1.1; }
.privacy-page p { color: var(--secondary); font-size: 16px; line-height: 1.65; }
.privacy-page .owner-review { margin: 28px 0; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }

@media (min-width: 900px) {
  .mobile-only { display: none !important; }
  .desktop-only { display: revert !important; }
  .page-pad { padding-left: clamp(36px, 5vw, 72px); padding-right: clamp(36px, 5vw, 72px); }
  .site-header { justify-content: space-between; padding-top: 28px; }
  .brand { gap: 12px; font-size: 24px; letter-spacing: -.01em; }
  .brand img { width: 40px; height: 40px; border-radius: 9px; }
  .header-cities { display: block; margin: 0; color: var(--secondary); font-size: 14px; font-weight: 500; }
  .hero { min-height: 654px; flex-direction: row; align-items: center; justify-content: space-between; gap: 64px; padding-top: 72px; padding-bottom: 88px; }
  .hero-copy { flex: 1 1 660px; max-width: 660px; }
  .hero h1 { margin-top: 24px; font-size: clamp(52px, 4.45vw, 64px); line-height: 1.05; }
  .hero-intro { max-width: 540px; margin-top: 24px; font-size: 19px; }
  .signup-shell { margin-top: 32px; }
  .signup-form { gap: 12px; }
  .primary-fields { flex-direction: row; }
  .primary-fields input { max-width: 340px; }
  .primary-fields .button { padding: 0 28px; }
  .city-picker legend { font-size: 14px; }
  .city-options .desktop-city { display: block; }
  .city-options label > span { padding: 0 14px; font-size: 14px; }
  .other-city { max-width: 340px; }
  .form-note, .privacy-note { font-size: 13px; }
  .phone-stage { position: relative; display: block; flex: 0 0 420px; min-height: 500px; }
  .phone-orbs { position: absolute; z-index: 0; top: -40px; left: -60px; }
  .phone { position: relative; z-index: 1; width: 330px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; padding: 18px 14px; border: 1.5px solid var(--ink); border-radius: 36px; background: var(--paper); box-shadow: 0 24px 48px rgba(16, 19, 26, .16); }
  .phone-title { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 0; }
  .phone-title > strong { font-family: var(--heading); font-size: 24px; font-weight: 600; }
  .profile-icon { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; background: var(--white); }
  .profile-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 1.5; }
  .location-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
  .location-card > svg { width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 1.5; }
  .location-card > span, .event-card > div { display: flex; flex-direction: column; }
  .location-card small { color: var(--muted); font-size: 11px; font-weight: 500; }
  .location-card strong { font-size: 13px; }
  .event-card { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--white); }
  .event-art { position: relative; height: 110px; overflow: hidden; background: var(--blue); }
  .event-art img { position: absolute; top: -50px; right: -50px; width: 210px; height: 210px; opacity: .9; }
  .featured-event > div:last-child { gap: 4px; padding: 12px 14px; }
  .event-card strong { font-family: var(--heading); font-size: 16px; }
  .event-card span { color: var(--secondary); font-size: 12px; font-weight: 500; }
  .event-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; }
  .event-row > div { gap: 3px; }
  .event-row strong { font-size: 15px; }
  .event-row .plan-pill { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 600; }
  .phone-nav { display: flex; justify-content: space-around; padding: 9px 6px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); color: var(--secondary); font-size: 11px; font-weight: 500; }
  .phone-nav strong { color: var(--blue); }
  .proof-strip { display: flex; align-items: center; gap: 20px; padding-bottom: 72px; color: var(--secondary); font-size: 14px; font-weight: 500; }
  .proof-strip > div { display: flex; flex-wrap: wrap; gap: 10px; }
  .proof-strip > div span { padding: 6px 14px; border-radius: 999px; background: var(--inset); font-size: 13px; font-weight: 600; }
  .how-section { gap: 36px; padding-top: 72px; padding-bottom: 72px; }
  .how-section h2, .cities-section h2 { font-size: 40px; }
  .how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .how-card { flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; }
  .how-card svg { width: 28px; height: 28px; margin: 0; }
  .how-card h3 { font-size: 19px; }
  .how-card p { margin-top: 14px; font-size: 16px; line-height: 1.5; }
  .cities-section { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
  .cities-copy { max-width: 560px; }
  .cities-copy p { margin-top: 16px; font-size: 17px; }
  .city-status-list { min-width: min(380px, 34vw); }
  .city-status-list > div.desktop-only { display: flex !important; }
  .city-status-list > div { padding: 12px 20px; }
  .city-status-list strong { font-size: 16px; }
  .city-status-list a, .opening, .city-count { font-size: 13px; }
  .business-section { display: grid; grid-template-columns: minmax(0, 640px) auto; align-items: center; justify-content: space-between; gap: 28px 48px; padding-top: 64px; padding-bottom: 64px; }
  .business-section .eyebrow { font-size: 13px; }
  .business-section h2 { margin-top: 14px; font-size: 34px; }
  .business-section > div > p:last-child { margin-top: 14px; font-size: 16px; }
  .business-section .button-paper { min-height: 54px; padding: 0 28px; }
  .business-form { grid-column: 1 / -1; }
  .business-form > div { flex-direction: row; }
  .business-form input { flex: 1; }
  .final-cta { gap: 22px; padding-top: 96px; padding-bottom: 96px; }
  .final-cta h2 { font-size: 48px; }
  .final-cta > p { margin: 0; color: var(--secondary); font-size: 17px; }
  .final-cta form { width: auto; display: grid; grid-template-columns: 320px auto; }
  .final-cta .turnstile-slot, .final-cta .form-error { grid-column: 1 / -1; }
  .site-footer { padding-top: 28px; padding-bottom: 28px; font-size: 14px; }
  .site-footer nav { gap: 24px; }
  .confirmation { padding: 24px 0 0; }
  .confirmation-heading h2 { font-size: 40px; }
  .referral-card { padding: 26px; }
  .share-actions { flex-direction: row; }
  .share-actions .button-primary { flex: 1; }
}

@media (min-width: 1200px) {
  .phone-stage { flex-basis: 560px; }
  .phone { width: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
