/* NovaSpeed concept site: the styles every page shares. index.html keeps its own sections inline.
   In the style of WHOOP: big thin type, white and light grey sections, a black navigation bar and footer.
   One deliberate light look in every theme. */
:root {
  color-scheme: light;
  --white: #FFFFFF;
  --paper: #F3F3F1;
  --ink: #0B0B0C;
  --ink-2: #161618;
  --ink-3: #222225;
  --muted: #6B6B70;
  --muted-on-dark: #A3A3A8;
  --line: #E4E4E1;
  --line-on-dark: rgba(255, 255, 255, 0.12);
  --red: #E5342A;
  --red-hover: #F0473D;
  --glass: rgba(16, 16, 18, 0.5);
  --font: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 88px; }
.num { font-variant-numeric: tabular-nums; }

.band { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
section.band { padding-block: clamp(90px, 11vw, 160px); }
.dark { background: var(--ink); color: var(--white); }
.paper { background: var(--paper); }

/* type: big and thin, like WHOOP */
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
.display { font-size: clamp(42px, 6.2vw, 92px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 400; }
.title { font-size: clamp(34px, 4.8vw, 70px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 400; max-width: 20ch; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 54ch; }
.dark .lede { color: var(--muted-on-dark); }
.head { display: grid; gap: 26px; margin-bottom: clamp(48px, 6vw, 80px); }
.center { text-align: center; justify-items: center; }

/* buttons: small, bold, uppercase */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-hover); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, 0.14); color: var(--white); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.24); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-outline { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.dark .btn-outline, .btn-outline.on-dark { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.dark .btn-outline:hover, .btn-outline.on-dark:hover { border-color: var(--white); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.arrow { width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--ink); display: inline-grid; place-items: center; flex: none; }
.arrow svg { width: 12px; height: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1.5px solid currentColor; padding-bottom: 4px; transition: color .2s; }
.text-link:hover { color: var(--red); }
.text-link svg { width: 12px; height: 12px; }

/* navigation: a plain full-width black bar, like WHOOP. Sticks at top 0, not at the
   safe-area inset: Chrome on iPhone reports the status bar height (~59 px) there although
   its own toolbar covers it, so the bar hung that far down with white page above it. */
.nav { position: sticky; z-index: 30; top: 0; background: var(--ink); color: var(--white); border-bottom: 1px solid var(--line-on-dark); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.nav .logo img { height: 28px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.nav ul a { display: inline-block; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav ul a:hover { color: var(--white); }
.nav ul a[aria-current="page"] { color: var(--white); border-bottom-color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
/* Sign in (the web app): beside Reserve on wide screens, a line under the menu on phones.
   Only owners need it, so it is quiet grey text, not a nav item (Simen) */
.nav-signin { padding: 6px 12px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.55); transition: color .2s; }
.nav-signin:hover { color: var(--white); }
.nav ul .menu-signin { display: none; }
.nav .btn { height: 44px; padding: 0 20px; font-size: 13px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.3); background: transparent; color: var(--white); cursor: pointer; place-items: center; }
.menu-btn svg { width: 18px; height: 18px; }
.menu-btn .x { display: none; }
.nav.open .menu-btn .bars { display: none; }
.nav.open .menu-btn .x { display: block; }
@media (max-width: 920px) {
  .menu-btn { display: grid; }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; padding: 8px max(20px, env(safe-area-inset-left, 0px)) 28px; background: var(--ink); border-bottom: 1px solid var(--line-on-dark); font-size: 15px; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6); }
  .nav.open ul { display: flex; }
  .nav ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line-on-dark); }
  .nav ul a[aria-current="page"] { border-bottom-color: var(--line-on-dark); color: var(--red); }
  .nav-signin { display: none; }
  .nav ul .menu-signin { display: block; }
  .nav ul .menu-signin a { padding: 22px 0 4px; border-bottom: 0; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, 0.55); }
  .nav ul .menu-signin a span { color: rgba(255, 255, 255, 0.85); text-decoration: underline; text-underline-offset: 3px; }
}
@media (max-width: 420px) { .nav .logo img { height: 22px; } .nav .btn { padding: 0 14px; letter-spacing: 0.06em; } }

/* page heroes on the inner pages: white, a big thin title, then a wide photo or panel */
.page-hero { padding-block: clamp(64px, 9vw, 128px) clamp(48px, 6vw, 80px); }
.page-hero .wrap { display: grid; gap: 28px; }
.page-title { font-size: clamp(40px, 5.4vw, 80px); line-height: 1.0; letter-spacing: -0.035em; font-weight: 400; max-width: 17ch; }
/* photo heroes on the inner pages (Product, Jumps): the picture under the home page's dark fade, white text.
   Each page sets the picture's object-position for its own subject. */
.photo-hero { position: relative; min-height: clamp(560px, 82vh, 840px); color: var(--white); overflow: hidden; display: grid; align-items: end; }
.photo-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 8, 10, 0.72) 0%, rgba(8, 8, 10, 0.25) 55%, rgba(8, 8, 10, 0) 80%), linear-gradient(0deg, rgba(8, 8, 10, 0.75) 0%, rgba(8, 8, 10, 0) 45%); }
.photo-hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(72px, 8vw, 120px); display: grid; gap: 28px; }
.photo-hero .page-title { max-width: 16ch; }
.photo-hero .lede { color: rgba(255, 255, 255, 0.84); }
@media (max-width: 760px) { .photo-hero::after { background: linear-gradient(0deg, rgba(8, 8, 10, 0.86) 0%, rgba(8, 8, 10, 0.55) 55%, rgba(8, 8, 10, 0.15) 100%); } }
.wide-img { border-radius: 30px; overflow: hidden; aspect-ratio: 2 / 1; margin-top: clamp(24px, 4vw, 48px); background: var(--paper); }
.wide-img img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
@media (max-width: 760px) { .wide-img { aspect-ratio: 4 / 3; border-radius: 24px; } }
.split-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split-hero .copy { display: grid; gap: 28px; }
@media (max-width: 900px) { .split-hero { grid-template-columns: 1fr; } }

/* numbered cards in a row */
.trio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .trio-grid { grid-template-columns: 1fr; } }
.ncard { background: var(--paper); border-radius: 26px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.paper .ncard { background: var(--white); }
.ncard .n { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; color: var(--red); }
.ncard h3 { font-size: 24px; line-height: 1.2; }
.ncard p { color: var(--muted); font-size: 17px; }

/* feature rows: text on one side, a picture on the other, one feature per row */
.rows { display: grid; gap: clamp(80px, 10vw, 140px); }
.frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.frow.flip > .ftext { order: 2; }
.ftext { display: grid; gap: 22px; align-content: center; }
.row-title { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -0.028em; font-weight: 400; max-width: 18ch; }
.ftext .lede { max-width: 46ch; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.ticks li { padding: 13px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 16px; font-size: 16px; }
.ticks b { font-weight: 600; }
.ticks span { color: var(--muted); }
@media (max-width: 520px) { .ticks li { grid-template-columns: 1fr; gap: 2px; } }
.note { font-size: 15px; color: var(--muted); max-width: 52ch; }
@media (max-width: 900px) { .frow { grid-template-columns: 1fr; } .frow.flip > .ftext { order: 0; } }

/* the app on realistic devices: iPhone 17 Pro and iPad Pro 13" proportions, a thin titanium edge,
   the real screens inside. Over a light track photo at the top of a page, on plain panels in the rows. */
.iphone, .ipad { position: relative; flex: none; }
.iphone { width: min(290px, 72%); }
.ipad { width: min(460px, 94%); }
.dev-body { position: relative; background: #0D0D0F; box-shadow: inset 0 0 0 1.5px #74747B, inset 0 0 0 3.5px #2A2A2E, 0 50px 90px -45px rgba(0, 0, 0, 0.6), 0 18px 36px -24px rgba(0, 0, 0, 0.4); }
.dev-body img { display: block; width: 100%; height: auto; }
.iphone .dev-body { padding: 3.2%; border-radius: 17% / 8.1%; }
.iphone .dev-body img { border-radius: 14.7% / 6.8%; }
.ipad .dev-body { padding: 3.4%; border-radius: 6% / 4.6%; }
.ipad .dev-body img { border-radius: 2.8% / 2.1%; }
.ipad.land { width: min(560px, 100%); }
.ipad.land .dev-body { padding: 2.6%; border-radius: 4.6% / 6%; }
.ipad.land .dev-body img { border-radius: 2.1% / 2.8%; }
.iphone .b { position: absolute; width: 1.2%; background: linear-gradient(90deg, #4A4A50, #1E1E21); }
.iphone .b.power { right: -0.8%; top: 23%; height: 10%; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #4A4A50, #1E1E21); }
.iphone .b.action { left: -0.8%; top: 16%; height: 3.6%; border-radius: 2px 0 0 2px; }
.iphone .b.up { left: -0.8%; top: 22%; height: 6.2%; border-radius: 2px 0 0 2px; }
.iphone .b.down { left: -0.8%; top: 30%; height: 6.2%; border-radius: 2px 0 0 2px; }
.ui-stage { position: relative; border-radius: 30px; overflow: hidden; min-width: 0; }
.ui-stage.photo { background: #EBD9CC url("assets/app-backdrop.jpg") 50% 40% / cover no-repeat; }
/* an iPad with an iPhone in front of it */
.ui-stage.duo { aspect-ratio: 20 / 21; }
.duo .ipad { position: absolute; width: 60%; left: 8%; top: 8%; }
.duo .iphone { position: absolute; width: 28%; right: 9%; bottom: 7%; z-index: 2; }
@media (max-width: 700px) {
  .ui-stage.duo { aspect-ratio: 4 / 5; }
  .duo .ipad { width: 72%; left: 6%; top: 6%; }
  .duo .iphone { width: 34%; right: 5%; bottom: 5%; }
}
/* one device on a plain panel, for the feature rows */
.ui-stage.plain { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: clamp(32px, 5vw, 60px) clamp(18px, 4vw, 48px); background: var(--paper); }
.paper .ui-stage.plain { background: var(--white); }
.docs { position: relative; width: 100%; max-width: 520px; padding: 0 0 12% 0; }
.docs img { width: 72%; height: auto; border-radius: 6px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.04); background: var(--white); }
.docs img + img { position: absolute; right: 0; top: 14%; }

/* diagrams from the app's setup guide, on white cards */
.diagram { background: var(--white); border: 1.5px solid var(--line); border-radius: 26px; padding: clamp(18px, 2.6vw, 30px); display: grid; gap: 12px; min-width: 0; }
.paper .diagram { border-color: transparent; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { font-size: 15px; color: var(--muted); }
figure { margin: 0; }

/* numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps .sn { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 16px; font-weight: 600; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 17px; max-width: 56ch; }

/* spec sheet */
.spec-table { margin: 0; border-top: 1px solid var(--ink); }
.spec-table > div { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.spec-table dd { margin: 0; display: grid; gap: 2px; }
.spec-table dd b { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.spec-table dd span { font-size: 15px; color: var(--muted); }
@media (max-width: 560px) { .spec-table > div { grid-template-columns: 1fr; gap: 6px; } }

/* app store badges: the official artwork. The App Store one stays dimmed with "Coming soon"
   until the iPhone app is out; then link it to https://apps.apple.com/app/id6757645333 */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.store-badges a, .store-badges .soon { display: inline-flex; align-items: center; }
.store-badges .badge-as { height: 44px; width: auto; }
.store-badges .badge-gp { height: 66px; width: auto; margin: -11px; } /* the PNG has clear space around the badge */
.store-badges .soon { gap: 10px; }
.store-badges .soon img { opacity: 0.4; }
.store-badges .soon small { font-size: 13px; font-weight: 600; color: var(--muted); }

/* simple card grid (box contents, extras) */
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards4, .cards3 { grid-template-columns: 1fr; } }
.cards5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1180px) { .cards5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cards5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards5 > :last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .cards5 { grid-template-columns: 1fr; } }
.icard { background: var(--paper); border-radius: 22px; padding: 26px; display: grid; gap: 10px; align-content: start; }
.paper .icard { background: var(--white); }
.icard b { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.icard span { color: var(--muted); font-size: 16px; }
.icard .k { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--red); }

/* big numbers */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 60px); margin-top: clamp(32px, 5vw, 64px); }
.stat { border-top: 1px solid var(--ink); padding-top: 22px; display: grid; gap: 8px; align-content: start; }
.stat b { font-size: clamp(48px, 6vw, 88px); font-weight: 400; letter-spacing: -0.04em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 17px; max-width: 30ch; }
.stat small { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* evidence cards */
.evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .evidence { grid-template-columns: 1fr; } }
.ev { background: var(--paper); border-radius: 28px; padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 16px; align-content: start; }
.ev .big { font-size: clamp(44px, 5vw, 72px); font-weight: 400; letter-spacing: -0.04em; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.ev h3 { font-size: 24px; line-height: 1.2; max-width: 24ch; }
.ev p { color: var(--muted); font-size: 17px; }
.ev .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ev .meta span { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; padding: 6px 12px; border-radius: 999px; background: var(--white); color: var(--ink); }
.paper .ev { background: var(--white); }
.paper .ev .meta span { background: var(--paper); }

/* closing call to action: the sunset photo, like the home page hero */
.cta-panel { position: relative; border-radius: 30px; overflow: hidden; background: var(--ink-2); color: var(--white); padding: clamp(36px, 6vw, 80px); min-height: clamp(380px, 40vw, 520px); display: grid; align-content: end; gap: 26px; isolation: isolate; }
.cta-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.cta-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 8, 10, 0.78) 0%, rgba(8, 8, 10, 0.35) 60%, rgba(8, 8, 10, 0.1) 100%), linear-gradient(0deg, rgba(8, 8, 10, 0.6) 0%, rgba(8, 8, 10, 0) 55%); }
.cta-panel h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.03em; max-width: 17ch; }
.cta-panel p { color: rgba(255, 255, 255, 0.82); font-size: clamp(17px, 1.5vw, 20px); max-width: 48ch; }

/* faq, like 1080 Motion */
.faq { display: grid; gap: 10px; max-width: 900px; margin: 0 auto; }
.faq details { background: var(--white); border-radius: 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; font-size: 19px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 28px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { color: var(--muted); padding: 0 26px 24px; max-width: 70ch; }
.faq .a a, .prose a, .inline-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* reading pages: support, terms, privacy */
.doc-page { max-width: 780px; margin: 0 auto; }
.doc-page .updated { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.prose { color: var(--muted); font-size: 17px; line-height: 1.7; }
.prose section { padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 14px; }
.prose h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 22px 0 8px; }
.prose p + p, .prose ul + p, .prose ol + p { margin-top: 14px; }
.prose ul, .prose ol { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .caps { font-size: 15px; letter-spacing: 0.01em; }

/* forms */
.form-card { background: var(--paper); border-radius: 30px; padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field > span, .field legend { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.field small { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-size: 17px; transition: border-color .2s; }
.field textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%230B0B0C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field.bad input, .field.bad select { border-color: var(--red); }
.field .err { font-size: 14px; color: var(--red); display: none; }
.field.bad .err { display: block; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 15px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pills input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

/* footer */
.foot { padding-block: clamp(64px, 8vw, 96px) calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand { display: grid; gap: 18px; align-content: start; }
.foot-brand img { height: 26px; width: auto; }
.foot-brand p { color: var(--muted-on-dark); font-size: 16px; max-width: 30ch; }
.foot nav { display: grid; gap: 12px; align-content: start; font-size: 15px; }
.foot nav b { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 4px; }
.foot nav a { color: rgba(255, 255, 255, 0.86); transition: color .2s; }
.foot nav a:hover { color: var(--white); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line-on-dark); font-size: 14px; color: var(--muted-on-dark); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* sticky reserve button, like WHOOP */
.sticky { position: fixed; z-index: 25; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); transform: translate(-50%, 140%); opacity: 0; pointer-events: none; transition: transform .5s var(--ease), opacity .5s var(--ease); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.6); }
.sticky.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
