/* Coachtor site. Chalk look (decision 52): charcoal and chalk, one sky blue.
   Palette mirrors app/src/theme.ts. Status red is only ever a status. */

@font-face {
  font-family: "Archivo Expanded";
  src: url("fonts/ArchivoExpanded-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/PublicSans_400Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/PublicSans_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #F1F3F5;
  --card: #FFFFFF;
  --border: #DDE2E7;
  --text: #0F1419;
  --muted: #56606B;
  --main: #0A64A8;
  --on-main: #FFFFFF;
  --red: #DC2626;
  --green: #15803D;
  --mark-stroke: #0F1419;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101317;
    --card: #1A1F26;
    --border: #232A33;
    --text: #F4F6F8;
    --muted: #A3ACB8;
    --main: #5CC8FF;
    --on-main: #101317;
    --red: #F87171;
    --green: #4ADE80;
    --mark-stroke: #F4F6F8;
  }
}
:root[data-theme="dark"] {
  --bg: #101317;
  --card: #1A1F26;
  --border: #232A33;
  --text: #F4F6F8;
  --muted: #A3ACB8;
  --main: #5CC8FF;
  --on-main: #101317;
  --red: #F87171;
  --green: #4ADE80;
  --mark-stroke: #F4F6F8;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 "Public Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--main); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--main); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--main); color: var(--on-main); padding: 12px 16px; z-index: 10;
}
.skip:focus { left: 16px; top: 16px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

h1, h2, h3, .wm {
  font-family: "Archivo Expanded", "Arial Black", sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2rem, 8vw, 3.6rem); margin: 0 0 20px; }
h2 { font-size: clamp(1.45rem, 5vw, 2.2rem); margin: 0 0 16px; }
h3 { font-size: 1.05rem; margin: 0 0 8px; letter-spacing: 0.02em; }
p { margin: 0 0 16px; }

/* Header */
.top { border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-height: 44px; }
.brand svg { width: 30px; height: 30px; }
.wm { font-size: 1.05rem; letter-spacing: 0.04em; }
.top nav a { font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 24px; border-radius: 12px;
  background: var(--main); color: var(--on-main);
  font-weight: 600; font-size: 1.05rem; text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 0.95rem; }

.eyebrow {
  display: inline-block; font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--main); margin-bottom: 12px;
}
.lede { font-size: clamp(1.1rem, 3.2vw, 1.3rem); color: var(--muted); max-width: 40em; }
.fine { color: var(--muted); font-size: 0.95rem; }

/* Sections */
section { padding: 56px 0; }
@media (min-width: 720px) { section { padding: 88px 0; } }
section + section { border-top: 1px solid var(--border); }

.hero { padding-top: 48px; }
.hero .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }

.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px;
}
.card p:last-child { margin-bottom: 0; }
.step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--main); color: var(--main); font-weight: 600; margin-bottom: 14px;
}
.pill {
  display: inline-block; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: 999px; border: 1.5px solid var(--red); color: var(--red);
  vertical-align: middle;
}

/* Hero sample: a drafted check-in, the promise in one picture */
.sample { margin-top: 40px; max-width: 520px; }
.sample .card { padding: 20px; }
.sample .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.sample .who { font-weight: 600; }
.sample .draft { border-left: 3px solid var(--main); padding-left: 14px; color: var(--text); margin-bottom: 14px; }
.sample .actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sample .ghost { color: var(--muted); font-size: 0.95rem; }
.label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
ul.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 0.55em;
  width: 10px; height: 10px; border-radius: 2px; background: var(--main); transform: rotate(45deg);
}

/* Owners */
.quote-line { font-family: "Archivo Expanded", sans-serif; font-weight: 800; font-size: clamp(1.2rem, 3.6vw, 1.6rem); line-height: 1.3; margin: 0 0 20px; }

/* Pricing */
.price { font-family: "Archivo Expanded", sans-serif; font-weight: 800; font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1; margin: 8px 0 4px; }
.price small { font-family: "Public Sans", sans-serif; font-weight: 600; font-size: 1rem; color: var(--muted); }

/* Final call */
.final { text-align: left; }
.final .card { border-color: var(--main); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 32px 0 48px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer nav a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }

/* Long-form pages */
.doc { max-width: 720px; padding-top: 40px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.doc h2 { font-size: clamp(1.15rem, 3.6vw, 1.45rem); margin-top: 40px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 0.97rem; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { font-weight: 600; }
details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 0 18px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; min-height: 52px; display: flex; align-items: center; padding: 12px 0; }
details[open] summary { border-bottom: 1px solid var(--border); margin-bottom: 12px; }
details p:last-child { margin-bottom: 16px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* =========================================================================
   Home page, 2026-09-30: hero with the app, lift reel, before and after,
   the three standouts, owners, FAQ and the waitlist form.
   ========================================================================= */

:root {
  --frame: #15191F;
  --frame-edge: #2A313B;
  --glow: rgba(10, 100, 168, 0.14);
  --grid-line: rgba(15, 20, 25, 0.06);
  --tile: #FFFFFF;
  --shadow: 0 24px 60px -24px rgba(15, 20, 25, 0.35), 0 8px 20px -12px rgba(15, 20, 25, 0.25);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --frame: #050608;
    --frame-edge: #343C47;
    --glow: rgba(92, 200, 255, 0.14);
    --grid-line: rgba(244, 246, 248, 0.05);
    --shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7), 0 10px 24px -12px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  --frame: #050608;
  --frame-edge: #343C47;
  --glow: rgba(92, 200, 255, 0.14);
  --grid-line: rgba(244, 246, 248, 0.05);
  --shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7), 0 10px 24px -12px rgba(0, 0, 0, 0.6);
}

body.home { overflow-x: hidden; }
.home section[id] { scroll-margin-top: 72px; }
.home section + section { border-top: 0; }
.home .wrap { max-width: 1180px; }

/* Header: sticky, with section links on wider screens */
.home .top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
.links { display: none; gap: 28px; margin-left: auto; margin-right: 12px; }
.home .top .links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.home .top .links a:hover { color: var(--text); }
@media (min-width: 900px) { .links { display: flex; } }

/* Buttons */
.btn { transition: transform .15s ease, filter .15s ease, box-shadow .15s ease; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { box-shadow: 0 10px 24px -10px var(--main); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); filter: none; }
.btn-block { width: 100%; }
@media (max-width: 479px) { .cta-row .btn-ghost { display: none; } }

/* Hero */
.home .hero { position: relative; padding: 40px 0 72px; overflow: hidden; }
.chalkgrid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .home .hero { padding: 72px 0 104px; }
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 40px; }
}
.home h1 { font-size: clamp(2.1rem, 8.6vw, 3.5rem); line-height: 1.06; }
.hl { color: var(--main); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.12em;
  background: var(--main); border-radius: 2px; opacity: .35; transform-origin: left;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--main); transform: rotate(45deg); flex: none; }

.hero-art { position: relative; display: flex; justify-content: center; padding: 8px 0 24px; }
.hero-art::before {
  content: ""; position: absolute; width: 120%; aspect-ratio: 1; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--glow) 0%, transparent 60%);
  pointer-events: none;
}

/* Phone frame, drawn in CSS: a generic rounded phone, no maker's artwork */
.phone {
  position: relative; margin: 0; width: min(100%, 300px);
  aspect-ratio: 560 / 1212; box-sizing: content-box;
  padding: 10px; border-radius: 48px;
  background: var(--frame);
  box-shadow: inset 0 0 0 1.5px var(--frame-edge), var(--shadow);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 38px; background: #101317; }
.phone-hero { width: min(70vw, 310px); }

.float {
  position: absolute; z-index: 3;
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow);
}
.float-clip { left: max(0px, calc(50% - 260px)); bottom: 10%; width: 170px; padding: 8px; }
.float-clip .clip { border-radius: 12px; overflow: hidden; background: var(--tile); aspect-ratio: 16 / 9; }
.float-clip video { width: 100%; height: 100%; object-fit: cover; display: block; }
.float-cap { display: flex; flex-direction: column; padding: 8px 4px 2px; line-height: 1.25; }
.float-cap b { font-size: 0.9rem; }
.float-cap span { font-size: 0.78rem; color: var(--muted); }
.float-flag { right: max(0px, calc(50% - 260px)); top: 14%; width: 190px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; line-height: 1.3; }
.float-flag .pill { align-self: flex-start; font-size: 0.68rem; }
.float-flag b { font-family: "Archivo Expanded", sans-serif; font-weight: 800; font-size: 1rem; }
.float-flag .fine { font-size: 0.82rem; }
.float-reply { left: -14%; right: -14%; bottom: 14%; padding: 16px 18px; }
.float-reply .label { color: var(--main); }
.float-reply p { margin: 8px 0 12px; font-size: 0.95rem; line-height: 1.45; border-left: 3px solid var(--main); padding-left: 12px; }
.mini-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 10px; background: var(--main); color: var(--on-main); font-weight: 600; font-size: 0.88rem; }
@media (max-width: 440px) {
  .float-reply { left: -6%; right: -6%; }
  .float-clip { width: 136px; left: 0; bottom: 6%; }
  .float-flag { width: 156px; right: 0; top: 8%; padding: 12px; }
}

/* Lift reel */
.lifts { padding: 56px 0 64px; background: var(--card); border-block: 1px solid var(--border); }
.lifts-head { display: grid; gap: 8px 48px; align-items: end; margin-bottom: 28px; }
@media (min-width: 900px) { .lifts-head { grid-template-columns: 1.1fr 1fr; } }
.lifts-head h2 { margin: 0; }
.lifts-head .fine { margin: 0; max-width: 34em; }
.big { color: var(--main); }
.reel { overflow-x: auto; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel-track { list-style: none; margin: 0; padding: 4px 16px; display: flex; gap: 14px; width: max-content; }
.tile { position: relative; width: 240px; flex: none; border-radius: 16px; overflow: hidden; background: var(--tile); border: 1px solid var(--border); }
.tile video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tile); }
.tile span {
  position: absolute; left: 10px; bottom: 10px; font-weight: 600; font-size: 0.82rem;
  background: rgba(15, 20, 25, 0.82); color: #F4F6F8; padding: 4px 10px; border-radius: 999px;
}
@media (min-width: 720px) { .tile { width: 300px; } }
/* The moving reel is only for people fine with motion. site.js adds a duplicate set and .is-moving. */
@media (prefers-reduced-motion: no-preference) {
  .reel.is-moving { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .reel.is-moving .reel-track { animation: reel 50s linear infinite; }
  .reel.is-moving:hover .reel-track { animation-play-state: paused; }
}
@keyframes reel { to { transform: translateX(-50%); } }

/* Before and after */
.ba { display: grid; gap: 16px; margin-top: 32px; align-items: stretch; }
@media (min-width: 900px) { .ba { grid-template-columns: 1fr 56px 1fr; } }
.ba-col { border-radius: 20px; padding: 28px 24px; border: 1.5px solid var(--border); }
.ba-before { border-style: dashed; color: var(--muted); }
.ba-after { background: var(--card); border-color: var(--main); box-shadow: 0 0 0 5px var(--glow); }
.ba-tag { display: inline-block; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.ba-after .ba-tag { color: var(--main); }
.ba ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.ba li { counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 18px; }
.ba li:last-child { margin-bottom: 0; }
.ba li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 600; border: 1.5px solid currentColor;
}
.ba-after li::before { background: var(--main); color: var(--on-main); border-color: var(--main); }
.ba b { color: var(--text); }
.ba-arrow { display: grid; place-items: center; color: var(--main); }
.ba-arrow svg { width: 40px; height: 40px; transform: rotate(90deg); }
@media (min-width: 900px) { .ba-arrow svg { transform: none; } }

/* Standouts */
.visually-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.standouts { padding-top: 24px; }
.feature { display: grid; gap: 36px; align-items: center; justify-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--border); }
.feature-copy { max-width: 520px; justify-self: start; }
.feature h3 { font-size: clamp(1.4rem, 4.6vw, 2.1rem); line-height: 1.12; margin-bottom: 16px; }
.feature h3 .pill { font-family: "Public Sans", sans-serif; font-size: 0.5em; vertical-align: 0.3em; }
.feature p { color: var(--muted); font-size: 1.08rem; }
.feature p.fine { font-size: 0.95rem; }
.num { display: block; font-family: "Archivo Expanded", sans-serif; font-weight: 800; color: var(--main); font-size: 0.95rem; letter-spacing: 0.1em; margin-bottom: 10px; }
.feature .phone { width: min(66vw, 280px); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; padding: 56px 0; }
  .feature-flip .feature-copy { order: 2; }
  .feature-flip .phone { order: 1; }
}

/* Tools */
.tools { background: var(--card); border-block: 1px solid var(--border); }
.desk { display: grid; gap: 28px; margin: 32px 0 64px; align-items: center; }
@media (min-width: 960px) { .desk { grid-template-columns: 1.8fr 1fr; gap: 48px; } }
.browser { border-radius: 14px; overflow: hidden; background: var(--frame); box-shadow: inset 0 0 0 1.5px var(--frame-edge), var(--shadow); padding: 0 6px 6px; }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 8px; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3A424D; }
.browser-bar span { margin-left: 12px; color: #A3ACB8; font-size: 0.78rem; font-weight: 600; }
.browser img { width: 100%; height: auto; border-radius: 8px; }
.desk-copy p { color: var(--muted); }
.desk-copy h3 { font-size: 1.35rem; }
.duo { display: grid; gap: 48px; margin-bottom: 56px; }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.duo-item .phone { width: min(62vw, 260px); }
.duo-item figcaption { color: var(--muted); max-width: 26em; text-align: center; }
.duo-item figcaption b { display: block; color: var(--text); font-family: "Archivo Expanded", sans-serif; font-size: 1.05rem; margin-bottom: 6px; }
.ticks-2 { display: grid; gap: 4px 32px; }
@media (min-width: 760px) { .ticks-2 { grid-template-columns: 1fr 1fr; } }

/* Owners */
.owners-grid { display: grid; gap: 48px; align-items: center; justify-items: center; }
@media (min-width: 900px) { .owners-grid { grid-template-columns: 1.2fr 0.8fr; } }
.owners-copy { justify-self: start; }
.owners .phone { width: min(66vw, 280px); }
.points { margin: 28px 0; display: grid; gap: 18px; }
.points div { border-left: 3px solid var(--main); padding-left: 16px; }
.points dt { font-weight: 600; font-size: 1.08rem; }
.points dd { margin: 4px 0 0; color: var(--muted); }

/* Pricing */
#pricing { background: var(--card); border-block: 1px solid var(--border); }
#pricing .card { background: var(--bg); }
.price-card { border-color: var(--main); padding: 32px; }
.price-card .btn { margin-top: 8px; }
.price-notes { color: var(--muted); align-self: center; }
@media (min-width: 720px) { .price-notes { padding: 0 16px; } }

/* FAQ */
.faq { display: grid; gap: 24px 64px; }
@media (min-width: 900px) { .faq { grid-template-columns: 0.8fr 1.2fr; } }
.faq-list details[open] { border-color: var(--main); }
.faq-list summary { list-style: none; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--main); line-height: 1; flex: none; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list p { color: var(--muted); }

/* Join */
.join { padding-bottom: 96px; }
.join-card {
  position: relative; display: grid; gap: 32px;
  background: var(--card); border: 1.5px solid var(--main); border-radius: 24px;
  padding: 28px 20px; box-shadow: 0 0 0 6px var(--glow);
}
@media (min-width: 720px) { .join-card { padding: 48px; } }
@media (min-width: 960px) { .join-card { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.join-copy p { color: var(--muted); font-size: 1.08rem; }
.join-copy .facts { margin-top: 20px; }
.join-clip { display: none; margin-top: 32px; border-radius: 16px; overflow: hidden; background: var(--tile); border: 1px solid var(--border); max-width: 420px; }
.join-clip video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 960px) { .join-clip { display: block; } }
.signup { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; padding: 0; }
.field legend { margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 400; }
.signup input[type="text"], .signup input[type="email"], .signup input[type="number"] {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--border); background: var(--bg); color: var(--text);
  font: inherit; font-size: 1.05rem;
}
.signup input:focus { outline: none; border-color: var(--main); box-shadow: 0 0 0 4px var(--glow); }
.signup input[aria-invalid="true"] { border-color: var(--red); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px;
  border-radius: 12px; border: 1.5px solid var(--border); font-weight: 600; text-align: center; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.seg input:checked + span { border-color: var(--main); background: var(--glow); }
.seg input:focus-visible + span { outline: 3px solid var(--main); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; color: var(--red); font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg a { color: inherit; }
.small { font-size: 0.85rem; margin: 0; }
.signup button[disabled] { opacity: .7; cursor: progress; }
.done { text-align: center; padding: 24px 8px; align-self: center; }
.done[hidden] { display: none; }
.done:focus { outline: none; }
.done svg { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--green); }
.done h3 { font-size: 1.5rem; }
.done p { color: var(--muted); }

.home footer .wrap { max-width: 1180px; }

/* Motion: reveal on scroll and a gentle float. Off for anyone who asks for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .phone-hero { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .float-clip { animation: rise .9s .25s cubic-bezier(.2, .7, .2, 1) both, bob 7s 1.2s ease-in-out infinite; }
  .float-flag { animation: rise .9s .45s cubic-bezier(.2, .7, .2, 1) both, bob 8s 1.6s ease-in-out infinite reverse; }
  .hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-copy > *:nth-child(5) { animation-delay: .24s; }
  .hl::after { animation: underline .8s .6s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
