/* Accompany website. Colours come from the logo: navy ink, teal, gold, orange and mint.
   Type: Unbounded (wide, rounded, like the logo's ribbon) for headings, Figtree for reading.
   Both are self-hosted (public/fonts), so no third-party font requests. */

@font-face {
  font-family: 'Unbounded';
  src: url('/fonts/unbounded.woff') format('woff');
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree.woff') format('woff');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --navy: #142b4f;
  --navy-deep: #0e2140;
  --teal: #3fa09c;
  --teal-ink: #23706d;
  --gold: #f4b33f;
  --orange: #ee6b2c;
  --mint: #8fd3c9;
  --on-navy: #fff4e2;
  --on-navy-soft: #c9e6e1;

  --page: #ffffff;
  --wash: #eaf6f3;
  --ink: #142b4f;
  --ink-soft: #4a5d78;
  --line: #d6e3e6;
  --card: #ffffff;
  --link: var(--teal-ink);
  --danger: #b42318;
  --danger-deep: #912018;
  --danger-text: #b42318;

  --display: 'Unbounded', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0e2140;
    --wash: #12294b;
    --ink: #eef4f3;
    --ink-soft: #b4c4d3;
    --line: #26406a;
    --card: #15305a;
    --link: var(--mint);
    --danger: #c8322a;
    --danger-deep: #a92720;
    --danger-text: #ffb4a8;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 18px/1.6 var(--body);
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 650; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.08; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; }

/* ---------- Header ---------- */
.top { background: var(--navy); color: var(--on-navy); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 16px; font-weight: 600; }
.nav a { color: var(--on-navy-soft); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-navy); text-decoration: underline; }
.nav .social { display: inline-flex; align-items: center; gap: 8px; }
.nav .social img { flex: none; width: 29px; height: 29px; }
.nav .nav-cta { padding: 9px 16px 10px; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 800; line-height: 1; white-space: nowrap; }
.nav .nav-cta:hover { background: #f7c35f; color: var(--navy); text-decoration: none; }
/* Narrower screens keep Safety, About us, Instagram and Get the app; phones keep Instagram and Get the app. */
@media (max-width: 960px) { .nav { gap: 18px; } .nav .wide { display: none; } }
@media (max-width: 680px) { .nav { gap: 14px; } .nav .roomy { display: none; } }
@media (max-width: 400px) {
  .top .wrap { gap: 10px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 19px; }
  .nav .nav-cta { padding: 8px 13px 9px; font-size: 15px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 64px); align-items: center;
  padding-block: clamp(28px, 6vw, 72px) 0;
}
.hero h1 {
  font-size: clamp(36px, 5.2vw, 72px); line-height: 1; font-weight: 700; letter-spacing: -0.03em;
}
.hero .kicker {
  display: inline-block; margin: 0 0 18px; padding: 8px 16px 9px; border-radius: 999px;
  background: #fff; color: var(--navy); font-family: var(--display); font-weight: 800;
  font-size: clamp(14px, 1.4vw, 16px); letter-spacing: -0.01em;
}
.hero .lede { margin-top: 22px; max-width: 34ch; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.55; color: var(--on-navy-soft); }
.hero .actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; font: 700 17px/1 var(--body); text-decoration: none; cursor: pointer; border: 0;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #f7c35f; }
.btn-gold:disabled { opacity: 0.7; cursor: progress; }
.btn-line { background: transparent; color: var(--on-navy); box-shadow: inset 0 0 0 2px rgba(255, 244, 226, 0.5); }
.btn-line:hover { box-shadow: inset 0 0 0 2px var(--on-navy); }
.hero .note { margin-top: 16px; font-size: 15px; color: var(--on-navy-soft); }
.hero .note b { color: var(--on-navy); font-weight: 600; }

/* The logo in its colour-sweep ring with the emojis drifting around it, as on the app's welcome screen
   (hero.js draws it all on a canvas). Without JavaScript: the logo, still, in a thin ring. */
.stage { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: end; display: grid; place-items: center; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage.live .disc { opacity: 0; }
.disc { position: relative; width: 58%; aspect-ratio: 1; }
.disc::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  background: conic-gradient(from 200deg, #3fa09c, #3b6fd6, #7a55d9, #db4a79, #ee6b2c, #f4b33f, #3fa09c);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  opacity: 0.9;
}
.disc img { width: 100%; height: 100%; border-radius: 50%; }

/* The ribbon from the logo, with the buddies on it. */
.parade { position: relative; height: clamp(150px, 18vw, 210px); margin-top: clamp(20px, 4vw, 48px); }
.parade svg.ribbon { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; }
.parade canvas { position: absolute; width: var(--s); height: var(--s); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stage { width: min(80vw, 320px); justify-self: center; order: -1; }
  .parade { margin-top: 56px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 9vw, 112px); }
.section.wash { background: var(--wash); }
.section .intro { max-width: 40ch; margin-top: 16px; color: var(--ink-soft); }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.why .copy p + p { margin-top: 14px; }
.why .copy .intro { margin-top: 18px; }
.reasons { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.reasons li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; }
.reasons li span[aria-hidden] { font-size: 22px; line-height: 1.3; }
.examples { display: grid; gap: 12px; margin: 0; scroll-margin-top: 16px; }
.examples h3 { font-size: 22px; }
.examples .hint { font-size: 15px; color: var(--ink-soft); margin-top: -6px; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 2px 6px; margin: 0 -2px; }
@media (max-width: 560px) { .cities { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }
.cities::-webkit-scrollbar { display: none; }
.cities .city {
  flex: none; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card);
  color: var(--ink); font: 700 15px/1.2 var(--body); cursor: pointer;
}
.cities .city:hover { border-color: var(--ink-soft); }
.cities .city[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--page); }
.plans { display: grid; gap: 10px; }
.act {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 16px; gap: 14px; align-items: center; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.act:hover { border-color: var(--teal); box-shadow: 0 6px 18px rgba(20, 43, 79, 0.08); transform: translateY(-1px); }
.act:active { transform: translateY(0); }
.act .em { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: var(--wash); }
.act .body { display: block; min-width: 0; }
.act b { display: block; font-size: 17px; line-height: 1.3; }
.act .meta { display: block; font-size: 15px; color: var(--ink-soft); }
.act .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.act .go { font-size: 26px; line-height: 1; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .act { transition: none; } .act:hover { transform: none; } }
.tag { font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); }
.tag.open { border-color: transparent; background: #dff2ee; color: #1d5f5c; }
@media (prefers-color-scheme: dark) { .tag.open { background: #1b4a52; color: #bfe9e2; } }
.kinds { margin-top: clamp(40px, 6vw, 64px); }
.kinds h3 { font-size: 16px; font-family: var(--body); font-weight: 700; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--wash); font-size: 16px; font-weight: 600; }
.section.wash .chips li { background: var(--card); }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; } }

/* How it works: a real sequence, so it is numbered. */
.how { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before {
  content: counter(step); font: 700 40px/1 var(--display); color: var(--teal-ink);
}
@media (prefers-color-scheme: dark) { .steps li::before { color: var(--mint); } }
.steps p { color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; } .steps li { grid-template-columns: 48px minmax(0, 1fr); } .steps li::before { font-size: 30px; } }

/* Safety */
.safety { background: var(--navy); color: var(--on-navy); }
.safety h2 { max-width: 16ch; }
.safety .intro { color: var(--on-navy-soft); max-width: 46ch; }
.points { list-style: none; margin: clamp(32px, 5vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(28px, 5vw, 64px); }
.points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.points svg { width: 44px; height: 44px; }
.points h3 { color: var(--on-navy); }
.points p { color: var(--on-navy-soft); margin-top: 4px; font-size: 17px; }
.safety .more { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.safety .more a { color: var(--gold); font-weight: 700; }
.safety .more span { color: var(--on-navy-soft); font-size: 16px; }
@media (max-width: 760px) { .points { grid-template-columns: 1fr; } }

/* Questions */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-weight: 700; font-size: 19px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 26px; width: 12px; height: 12px;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 60ch; }
@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* About us */
.about { background: var(--wash); }
.about-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.about-head .intro { max-width: 52ch; }
.about .campaign {
  padding: 9px 18px 10px; border-radius: 999px; background: var(--navy); color: var(--on-navy);
  font: 800 16px/1.2 var(--display); letter-spacing: -0.01em;
}
.values { list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.values li { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 24px; }
.values .vi { display: block; font-size: 28px; line-height: 1; margin-bottom: 14px; }
.values p { color: var(--ink-soft); margin-top: 6px; font-size: 17px; }
.hello { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hello p { color: var(--ink-soft); max-width: 44ch; }
.ig {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.ig:hover { border-color: var(--ink-soft); }
.ig img { width: 44px; height: 44px; }
.ig small { display: block; font-size: 13px; color: var(--ink-soft); font-weight: 600; line-height: 1.2; }
.ig b { display: block; font-size: 18px; line-height: 1.25; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

/* Coming soon band */
.band { background: var(--orange); color: #fff; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: clamp(36px, 6vw, 56px); }
.band h2 { font-size: clamp(26px, 3.6vw, 38px); }
.band p { margin-top: 8px; font-size: 18px; }
.band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.band .btn-gold { background: var(--navy); color: #fff; }
.band .btn-gold:hover { background: var(--navy-deep); }
.ig-line { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 700; text-decoration: none; }
.ig-line:hover span { text-decoration: underline; }
.ig-line img { width: 29px; height: 29px; flex: none; }

/* Dialogs: a sample plan. Bottom sheets on phones. */
body.modal-open { overflow: hidden; }
dialog.sheet {
  width: min(520px, calc(100% - 32px)); max-height: min(88vh, 860px); margin: auto; padding: 0;
  border: 0; border-radius: 26px; background: var(--page); color: var(--ink);
  box-shadow: 0 24px 64px rgba(8, 20, 40, 0.35); overflow: hidden;
}
dialog.sheet[open] { display: flex; flex-direction: column; animation: sheet-in 0.2s ease-out; }
dialog.sheet::backdrop { background: rgba(10, 22, 44, 0.62); }
dialog.sheet:focus, dialog.sheet:focus-visible { outline: none; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { dialog.sheet[open] { animation: none; } }
@media (max-width: 560px) {
  dialog.sheet { width: 100%; max-width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
}
.sheet .close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.92); color: #142b4f; font: 400 28px/1 var(--body); cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.sheet h2 { font-size: clamp(24px, 3.4vw, 30px); line-height: 1.12; }
.sheet .small { font-size: 14px; color: var(--ink-soft); }

.plan { --map-land: #eef3ef; --map-road: #ffffff; --map-park: #cfe9d6; }
@media (prefers-color-scheme: dark) { .plan { --map-land: #1b3559; --map-road: #2c4a73; --map-park: #24504d; } }
.plan .scroll { overflow-y: auto; overscroll-behavior: contain; position: relative; }
.plan .art { height: 132px; display: grid; place-items: center; font-size: 64px; background: #3fa09c; }
.plan .art[data-kind="Coffee"] { background: #c77b3a; }
.plan .art[data-kind="Movie"] { background: #7a55d9; }
.plan .art[data-kind="Meal"], .plan .art[data-kind="Hiking"] { background: #ea6a2a; }
.plan .art[data-kind="Sports"], .plan .art[data-kind="Study"] { background: #3b6fd6; }
.plan .art[data-kind="Games"], .plan .art[data-kind="Shopping"] { background: #db4a79; }
.plan .art[data-kind="Gym"] { background: #d6342b; }
.plan .art[data-kind="Art"], .plan .art[data-kind="Music"], .plan .art[data-kind="Concert"], .plan .art[data-kind="Workshop"] { background: #d99a22; }
.plan .art[data-kind="Seminar"], .plan .art[data-kind="Tutorial"], .plan .art[data-kind="Book reading"], .plan .art[data-kind="Tech talk"], .plan .art[data-kind="Bike ride"] { background: #3b6fd6; }
.plan .art[data-kind="Cooking"] { background: #ea6a2a; }
.plan .inner { padding: 20px 24px 8px; display: grid; gap: 14px; }
.plan .sample { justify-self: start; padding: 3px 11px; border-radius: 999px; background: var(--wash); color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.plan h3 { font-family: var(--body); font-size: 15px; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.plan .desc { margin-top: -6px; }
.host { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; }
.host .who { flex: 1; min-width: 0; }
.host .who b { display: block; line-height: 1.25; }
.host .role { font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--page); }
.face {
  --tint: #3fa09c; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tint); color: #fff; font: 800 18px/1 var(--display);
  box-shadow: 0 0 0 2.5px var(--page), 0 0 0 5px var(--tint);
}
.host .face { margin: 3px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.facts li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.facts .i { width: 24px; text-align: center; }
.dots { display: inline-flex; gap: 5px; margin-left: 4px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--teal); }
.dots i.taken { background: var(--teal); }
.map { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); height: 140px; }
.map svg { width: 100%; height: 100%; }
.map .land { fill: var(--map-land); }
.map .road { stroke: var(--map-road); fill: none; stroke-linecap: round; }
.map .park { fill: var(--map-park); }
.map .pin-label {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); max-width: calc(100% - 20px);
  padding: 4px 12px; border-radius: 999px; background: var(--page); color: var(--ink);
  font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.going { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-bottom: 6px; }
.going .faces { display: flex; }
.going .face { width: 34px; height: 34px; font-size: 14px; margin-right: -4px; box-shadow: 0 0 0 2.5px var(--page); }
.going .face.you { background: transparent; color: var(--ink-soft); border: 2px dashed var(--ink-soft); box-shadow: none; margin-left: 8px; }
.plan .bar { padding: 14px 24px 20px; border-top: 1px solid var(--line); background: var(--page); }
.plan .bar .btn { width: 100%; justify-content: center; }
.plan .asked { display: grid; gap: 12px; }
.plan .asked p { font-size: 16px; color: var(--ink-soft); }


/* ---------- Footer ---------- */
.foot { background: var(--navy-deep); color: var(--on-navy-soft); font-size: 16px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; padding-block: 44px; }
.foot .brand { color: var(--on-navy); }
.foot .tagline { margin-top: 10px; }
.foot .follow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 7px 16px 7px 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: 999px;
  color: var(--on-navy); font-weight: 700; text-decoration: none; line-height: 1.2;
}
.foot .follow img { width: 29px; height: 29px; flex: none; }
.foot .follow small { display: block; margin-top: 0; font-size: 12px; font-weight: 600; color: var(--on-navy-soft); }
.foot .follow:hover { border-color: var(--on-navy); background: rgba(255, 255, 255, 0.06); }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot nav a { color: var(--on-navy); text-decoration: none; font-weight: 600; }
.foot nav a:hover { text-decoration: underline; }
.foot small { display: block; margin-top: 14px; font-size: 14px; }

/* ---------- Text pages (Safety guidelines) ---------- */
.page-head { background: var(--navy); color: var(--on-navy); padding-block: clamp(36px, 6vw, 72px); }
.page-head h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; max-width: 14ch; }
.page-head p { margin-top: 16px; max-width: 52ch; color: var(--on-navy-soft); }
.doc { padding-block: clamp(40px, 6vw, 72px); }
.doc .wrap { max-width: 780px; }
.doc h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 48px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc ul { margin-top: 14px; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.callout { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--wash); border-left: 5px solid var(--orange); }
.callout b { display: block; }
.doc h3 { font-size: 18px; margin-top: 26px; }
.doc .updated { font-size: 15px; color: var(--ink-soft); }
.doc .updated + .callout { margin-top: 16px; }
/* Details still to fill in before the page goes live. */
.fill { background: #fff1b8; color: #5c4400; padding: 0 5px; border-radius: 5px; font-weight: 700; }
.not-found { min-height: 60vh; }
.not-found a { color: var(--gold); font-weight: 700; }

/* A shared plan (/p/<id>): the plan's card on its own page, from a link someone sent. */
.shared { background: var(--wash); padding-block: clamp(24px, 5vw, 56px); min-height: 70vh; }
.shared-plan { max-width: 560px; margin: 0 auto; border-radius: 26px; overflow: hidden; background: var(--page); border: 1px solid var(--line); box-shadow: 0 16px 48px rgba(8, 20, 40, 0.12); }
.shared-plan .inner { padding: 22px 24px 26px; }
.shared-plan h1 { font-size: clamp(26px, 5vw, 34px); line-height: 1.1; letter-spacing: -0.02em; }
.shared-plan .state { padding: 12px 14px; border-radius: 14px; background: var(--wash); font-weight: 700; }
.shared-plan .actions { display: grid; gap: 10px; margin-top: 4px; }
.shared-plan .actions .btn { justify-content: center; }
.shared-plan .why { font-size: 15px; color: var(--ink-soft); }
.shared-plan .why a { color: var(--link); font-weight: 700; }
.btn-line-ink { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-line-ink:hover { box-shadow: inset 0 0 0 2px var(--ink-soft); }

/* ---------- Motion (assets/motion-site.js, built from site/ with Motion, formerly Framer Motion) ----------
   What rises into view starts hidden, but only when scripting is on and motion is welcome. If the script
   never arrives, everything shows by itself after 2.4 s; once it runs (html.m-js), the reveals are its. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal], [data-stagger] > *, [data-reveal-each] > :not([data-shown]) { opacity: 0; animation: m-show 0.5s ease 2.4s forwards; }
  .m-js [data-reveal], .m-js [data-stagger] > *, .m-js [data-reveal-each] > :not([data-shown]) { animation: none; }
  .m-js dialog.sheet[open] { animation: none; }
}
@keyframes m-show { to { opacity: 1; } }

/* The hero's entrance is plain CSS, so the first paint never waits for a script. The title only moves:
   it stays fully visible, as the largest thing on the first screen. */
@media (prefers-reduced-motion: no-preference) {
  .hero .kicker, .hero .lede, .hero .actions, .hero .note { animation: m-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .hero h1 { animation: m-lift 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both; }
  .hero .kicker { animation-delay: 0.02s; }
  .hero .lede { animation-delay: 0.16s; }
  .hero .actions { animation-delay: 0.24s; }
  .hero .note { animation-delay: 0.32s; }
  dialog.sheet[open]::backdrop { animation: m-fade 0.25s ease-out; }
}
@keyframes m-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes m-lift { from { transform: translateY(16px); } }
@keyframes m-fade { from { opacity: 0; } }

/* Reading progress: a thin colour-sweep bar along the top, shown by the script. */
.m-progress {
  display: none; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; pointer-events: none;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, #3fa09c, #3b6fd6, #7a55d9, #db4a79, #ee6b2c, #f4b33f);
}
.m-progress.on { display: block; }

/* "Coming soon on Google Play": a store-style label until the app is public, then the official badge. */
.store-soon {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 10px 14px; border-radius: 12px;
  background: #0c0c0c; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); line-height: 1.1;
}
.store-soon svg { width: 26px; height: 26px; flex: none; }
.store-soon small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; opacity: 0.85; }
.store-soon b { display: block; font-size: 19px; font-weight: 800; }
.hero .note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.band .store-soon { box-shadow: none; }

/* ---------- Delete your account on the website (/delete-account, assets/delete-account.js) ---------- */
.del {
  margin-top: 20px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 22px;
  background: var(--card); box-shadow: 0 10px 30px rgba(8, 20, 40, 0.06);
}
.del [data-step] { display: grid; gap: 14px; }
.del [data-step][hidden] { display: none; }
.doc .del h3 { margin: 0; font-size: 20px; }
.del h3:focus { outline: none; }
.del h4 { margin: 0; font-size: 16px; font-weight: 800; }
.del-form { display: grid; gap: 12px; }
.del .field { display: grid; gap: 8px; font-weight: 700; font-size: 16px; }
.del .phone {
  display: flex; align-items: stretch; max-width: 360px; border: 2px solid var(--line); border-radius: 14px;
  overflow: hidden; background: var(--page);
}
.del .phone > span { display: grid; place-items: center; padding: 0 12px; background: var(--wash); color: var(--ink-soft); font-weight: 700; }
.del input[type="tel"], .del input.code {
  min-width: 0; min-height: 52px; border: 0; background: var(--page); color: var(--ink);
  font: 600 20px/1 var(--body); padding: 0 14px;
}
.del input[type="tel"] { flex: 1; }
.del input[type="tel"]:focus, .del input.code:focus { outline: none; }
.del .phone:focus-within, .del input.code:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(63, 160, 156, 0.25); }
.del .phone:has(input[aria-invalid="true"]) { border-color: var(--danger); }
.del input.code { width: 100%; max-width: 230px; border: 2px solid var(--line); border-radius: 14px; letter-spacing: 0.35em; }
.del .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.del .hint { margin: 0; font-size: 15px; color: var(--ink-soft); }
.del .btn { justify-self: start; }
.del .btn:disabled { opacity: 0.55; cursor: not-allowed; }
.del .or { margin: 0; display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 15px; }
.del .or::before, .del .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.btn-google svg { width: 20px; height: 20px; flex: none; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover:not(:disabled) { background: var(--danger-deep); }
.btn-text { background: none; color: var(--link); min-height: 44px; padding: 0 8px; text-decoration: underline; text-underline-offset: 3px; }
.btn-link { background: none; border: 0; padding: 0; color: var(--link); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 32px; }
.btn-link:disabled { color: var(--ink-soft); text-decoration: none; cursor: default; }
.del .acct { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--wash); }
.del .acct .face { margin: 3px; box-shadow: 0 0 0 2.5px var(--wash), 0 0 0 5px var(--tint); }
.del .acct .who { min-width: 0; }
.del .acct b { display: block; font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.del .acct .who > span { display: block; font-size: 15px; color: var(--ink-soft); }
.del .lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.doc .del .lists ul { margin-top: 6px; font-size: 16px; }
.doc .del .lists li + li { margin-top: 4px; }
.doc .del .callout { margin-top: 0; font-size: 16px; }
.del .check { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; font-size: 17px; cursor: pointer; }
.del .check input { flex: none; width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--danger); }
.del .err { margin: 12px 0 0; color: var(--danger-text); font-weight: 600; font-size: 16px; }
.del .err:empty { display: none; }
.doc .small-print { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
/* The reCAPTCHA notice is written under the box instead (Google allows this), so its corner badge is hidden. */
.grecaptcha-badge { visibility: hidden; }
@media (max-width: 560px) {
  .del .lists { grid-template-columns: minmax(0, 1fr); }
  .del .btn { width: 100%; justify-content: center; }
  .del .row .btn-text { width: auto; }
}
