:root {
  --teal: #04505A;
  --teal-deep: #033A42;
  --ink: #05323A;
  --cream: #FBF1E3;
  --cream-90: rgba(251, 241, 227, .9);
  --cream-82: rgba(251, 241, 227, .82);
  --cream-line: rgba(251, 241, 227, .55);
  --cream-wash: rgba(251, 241, 227, .16);
  --orange: #FF8232;
  --orange-hover: #FF9A5C;
  --muted: #35595E;
  --rule: rgba(5, 50, 58, .22);
  --error: #FFC3AE;
  --gutter: clamp(20px, 5vw, 64px);
  --font: 'Bricolage Grotesque', system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--teal); color: var(--cream); font-family: var(--font); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--orange); }
button, input { font: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Loader and first-visit splash */
.loader { animation: loader-bob 1.1s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes loader-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
.boot { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: var(--teal);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s ease, visibility .45s; }
/* The CSS fallback hides the splash even if the script never runs. */
.boot.on { opacity: 1; visibility: visible; pointer-events: auto; transition: none; animation: boot-out .45s ease 3s forwards; }
@keyframes boot-out { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.boot .loader { width: 120px; height: 120px; border-radius: 28px; }
@media (prefers-reduced-motion: reduce) { .loader { animation: none; } .boot { transition: none; } }

/* Header */
.site-header { padding-top: 28px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 11px; }
.brand span { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.brand:hover { color: inherit; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 72px; padding-top: 56px; padding-bottom: 112px; }
.hero-copy { flex: 1 1 640px; min-width: 0; }
h1 { margin: 0; font-size: clamp(44px, 11vw, 88px); line-height: .98; font-weight: 800; letter-spacing: -0.04em; }
.lede { margin: 28px 0 0; max-width: 28em; font-size: clamp(18px, 2.2vw, 23px); line-height: 1.45; color: var(--cream-90); }
.hero .join { max-width: 600px; }

.hero-phone { flex: 0 1 280px; min-width: 0; margin: 0; }
.phone-frame { width: 280px; max-width: 100%; padding: 10px; border-radius: 44px; background: var(--ink); border: 2px solid rgba(251, 241, 227, .25); }
.phone-frame img { width: 100%; height: auto; border-radius: 32px; }
.hero-phone figcaption { margin: 20px 0 0; max-width: 15em; font-size: 19px; line-height: 1.4; }

/* Sign-up form and its states */
.join-form { margin: 36px 0 0; }
.join-row { display: flex; flex-wrap: wrap; gap: 12px; }
.join-row input { flex: 1 1 280px; min-width: 0; height: 64px; padding: 0 28px; border: 0; border-radius: 32px; background: var(--cream); color: var(--ink); font-size: 19px; font-weight: 500; }
.join-row input::placeholder { color: #5E7B7F; }
.go { height: 64px; padding: 0 34px; border: 0; border-radius: 32px; background: var(--orange); color: var(--ink); font-size: 19px; font-weight: 700; cursor: pointer; }
.go:hover { background: var(--orange-hover); }
.form-error { margin: 12px 0 0; font-size: 16px; font-weight: 600; color: var(--error); }
.hint { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: var(--cream-82); }
.hint-tight { margin-top: 6px; }

.joining { display: flex; align-items: center; gap: 20px; margin: 36px 0 0; }
.joining .loader { width: 96px; height: 96px; border-radius: 24px; }
.joining p { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.2; }

.joined { margin: 36px 0 0; }
.joined-title { margin: 0; font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.joined-title:focus, .joined-short:focus { outline: none; }
.joined-copy { margin: 12px 0 0; font-size: 19px; line-height: 1.5; color: var(--cream-90); overflow-wrap: anywhere; }
.cities { margin: 28px 0 0; padding: 0; border: 0; min-width: 0; }
.cities legend { padding: 0; margin: 0 0 12px; font-size: 19px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { height: 48px; padding: 0 22px; border-radius: 24px; border: 2px solid var(--cream-line); background: transparent; color: var(--cream); font-size: 17px; font-weight: 600; cursor: pointer; }
.chip:hover { background: var(--cream-wash); }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.note { margin: 12px 0 0; font-size: 16px; color: rgba(251, 241, 227, .85); }
.note:empty { display: none; }
.share { margin-top: 28px; }
.ghost { height: 52px; padding: 0 26px; border-radius: 26px; border: 2px solid var(--cream-line); background: transparent; color: var(--cream); font-size: 17px; font-weight: 600; cursor: pointer; }
.ghost:hover { background: var(--cream-wash); }

/* Features */
.features { background: var(--cream); color: var(--ink); }
.features .wrap { padding-top: 104px; padding-bottom: 112px; }
.features h2 { margin: 0; max-width: 14em; font-size: clamp(36px, 5.4vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.features-lede { margin: 24px 0 0; max-width: 32em; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--muted); }
.feature-list { display: flex; flex-direction: column; margin-top: 64px; border-bottom: 1px solid var(--rule); }
.feature { display: flex; flex-wrap: wrap; gap: 20px 64px; padding: 40px 0; border-top: 1px solid var(--rule); }
.feature h3 { flex: 1 1 320px; margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.feature-body { flex: 1.4 1 420px; min-width: 0; }
.feature-body p { margin: 0; max-width: 34em; font-size: 19px; line-height: 1.55; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.tag { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 20px; border: 1.5px solid rgba(5, 50, 58, .4); font-size: 16px; font-weight: 600; color: var(--ink); }
.tag.women { border-color: #B0215F; background: rgba(176, 33, 95, .1); color: #9B1B52; }

/* Closing call to action */
.closing { padding-top: 104px; padding-bottom: 112px; }
.closing h2 { margin: 0; max-width: 12em; font-size: clamp(38px, 6vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.join-closing { max-width: 600px; }
.join-closing .joining .loader { width: 72px; height: 72px; border-radius: 18px; }
.joined-short { font-size: 24px; font-weight: 700; line-height: 1.3; }

/* Footer */
.site-footer { background: var(--teal-deep); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; padding-top: 40px; padding-bottom: 40px; font-size: 16px; line-height: 1.5; color: rgba(251, 241, 227, .85); }
.footer-brand { font-weight: 800; font-size: 20px; color: var(--cream); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: flex-start; }

/* Privacy notice */
.notice { background: var(--cream); color: var(--ink); }
.notice .wrap { max-width: 880px; padding-top: 72px; padding-bottom: 96px; }
.notice h1 { font-size: clamp(38px, 7vw, 64px); line-height: 1; }
.notice .updated { margin: 16px 0 0; font-size: 16px; color: var(--muted); }
.notice h2 { margin: 48px 0 0; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.notice p, .notice li { font-size: 18px; line-height: 1.6; color: var(--muted); }
.notice p { margin: 14px 0 0; }
.notice ul { margin: 14px 0 0; padding-left: 1.2em; }
.notice li + li { margin-top: 6px; }
.notice a:hover { color: #B4501A; }

/* Phone layout */
@media (max-width: 719px) {
  .site-header { padding-top: 20px; }
  .brand { gap: 12px; }
  .brand img { width: 40px; height: 40px; border-radius: 10px; }
  .brand span { font-size: 24px; }
  .hero { gap: 64px; padding-top: 36px; padding-bottom: 72px; }
  .hero-copy { flex-basis: 100%; }
  h1 { font-size: clamp(40px, 12vw, 56px); }
  .lede { margin-top: 20px; font-size: 18px; }
  .join-form { margin-top: 28px; }
  .join-row { flex-direction: column; }
  .join-row input { flex: none; width: 100%; height: 60px; padding: 0 24px; border-radius: 30px; font-size: 18px; }
  .go { width: 100%; height: 60px; padding: 0 28px; border-radius: 30px; }
  .joining { gap: 16px; margin-top: 28px; }
  .joining .loader { width: 80px; height: 80px; border-radius: 20px; }
  .joining p { font-size: 22px; }
  .joined { margin-top: 28px; }
  .joined-title { font-size: 34px; }
  .joined-copy, .cities legend { font-size: 18px; }
  .cities { margin-top: 24px; }
  .chip { padding: 0 20px; font-size: 16px; }
  .share { margin-top: 24px; }
  .hero-phone { flex: 1 1 100%; }
  .phone-frame { width: 260px; margin: 0 auto; padding: 9px; border-radius: 40px; }
  .phone-frame img { border-radius: 29px; }
  .hero-phone figcaption { margin: 20px auto 0; text-align: center; }
  .boot .loader { width: 104px; height: 104px; border-radius: 26px; }
  .features .wrap { padding-top: 64px; padding-bottom: 72px; }
  .features h2 { font-size: clamp(36px, 10.5vw, 44px); }
  .features-lede { margin-top: 20px; font-size: 18px; }
  .feature-list { margin-top: 40px; }
  .feature { display: block; padding: 28px 0; }
  .feature h3 { font-size: 28px; }
  .feature-body p { margin-top: 14px; font-size: 18px; }
  .tags { margin-top: 20px; }
  .tag { padding: 0 16px; }
  .closing { padding-top: 72px; padding-bottom: 80px; }
  .closing h2 { font-size: clamp(38px, 11vw, 48px); }
  .join-closing .joining .loader { width: 64px; height: 64px; border-radius: 16px; }
  .joined-short { font-size: 22px; }
  .footer-inner { flex-direction: column; gap: 20px; padding-top: 36px; padding-bottom: 44px; }
  .footer-links { gap: 8px 28px; }
  .notice .wrap { padding-top: 48px; padding-bottom: 72px; }
}
