@font-face {
  font-family: 'Soyuz Grotesk';
  src: url('../assets/fonts/SoyuzGrotesk-Bold.woff2') format('woff2'),
       url('../assets/fonts/SoyuzGrotesk-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #F7F5F0;
  --panel: #F3EEE6;
  --ink: #323031;
  --muted: rgba(50, 48, 49, 0.60);
  --rule: rgba(50, 48, 49, 0.10);
  --eyebrow: #8A7250;
  --accent2: #FFF6C4;

  /* App-card palette, mirroring the product's own card primitives. */
  --app-ink: #0E0F0C;
  --app-muted: rgba(14, 15, 12, 0.55);
  --app-accent: #D2B893;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Soyuz Grotesk is bold-only, so it is reserved for the big display
     titles. Manrope carries everything else — smaller titles at 500/600
     and all body copy at 400. */
  --title-font: 'Soyuz Grotesk', sans-serif;
  --title-weight: 700;
  --title-spacing: 0;
  --subtitle-font: 'Manrope', sans-serif;
  --subtitle-weight: 500;
  --body-font: 'Manrope', sans-serif;
  --body-weight: 400;

  /* Type scale. Every size of running text comes from one of these
     six, so a change here moves the whole page together. --type-title
     is a section heading set in Manrope, between the display headline
     and the lead sizes. --type-lead
     is the hero subtitle and the footer line; --type-lead-lg is one
     step up from it for the story paragraph, and meets it at 18px on a
     phone so the two read at one size there. --type-body is the form
     field, and stays at 16px because iOS zooms the page in on focus for
     anything smaller. */
  --type-display: clamp(34px, 6.3vw, 82px);
  --type-title: clamp(24px, 2.5vw, 48px);
  --type-lead-lg: clamp(18px, 2.6vw, 26px);
  --type-lead: clamp(18px, 2.4vw, 23px);
  --type-body: 16px;
  --type-small: 14px;
}

/* On a phone the display size scales with the viewport rather than
   bottoming out at its floor, so the headline still reads as the page
   and not as a heading. */
@media (max-width: 480px) {
  :root { --type-display: clamp(40px, 13.5vw, 56px); }
}
/* The narrowest phones: the two lead sizes step down together, so the
   hero subtitle's first line still fits on one line and the paragraph
   still matches it. */
@media (max-width: 370px) {
  :root { --type-lead: 16px; --type-lead-lg: 16px; }
}

* { box-sizing: border-box; }

h1, h2, h3, p { margin: 0; }

/* overflow-x: clip (not hidden) — hidden forces the y-axis to auto per
   spec, which turns html/body into a scroll container and silently
   breaks position: sticky for every descendant, including the sticky
   header. Do not swap this back to hidden. */
html { overflow-x: clip; }

body {
  margin: 0;
  background: var(--page);
  font-family: var(--body-font);
  font-weight: var(--body-weight);
  color: var(--ink);
  overflow-x: clip;
}

a { color: var(--ink); text-decoration: none; }

img { max-width: 100%; display: block; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.nav-bar {
  width: min(1080px, 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(35, 43, 36, 0.08);
  box-shadow: 0 8px 32px rgba(35, 43, 36, 0.06);
}

.logo-img {
  height: 20px;
  width: auto;
  display: block;
}

nav.links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  flex: none;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 16px;
  padding: 10px 25px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline:hover { background: var(--ink); color: #FFFFFF; }

.btn-outline-lg {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 18px;
  padding: 17px 43px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline-lg:hover { background: var(--ink); color: #FFFFFF; }

.btn-solid {
  display: inline-block;
  /* Reset the UA button border, which otherwise draws a dark stroke. */
  border: none;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 17px;
  padding: 15px 40px;
  border-radius: 999px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(620px, 78vh, 780px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
/* The still frame is painted here rather than by the video's poster
   attribute, so the hero looks right whether or not the video ever runs. */
.hero {
  background-image: url('../assets/images/hero-poster.jpg');
  background-size: cover;
  background-position: 50% 40%;
  background-repeat: no-repeat;
}

/* This is a backdrop, not a player. iOS draws its own start-playback
   button over any video it has refused to autoplay — in Low Power Mode it
   refuses every time — and CSS cannot reliably suppress that control on
   current versions. So the element stays invisible until it is actually
   playing: no visible video surface, no button, just the still above. */
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
.hero__media.is-playing { opacity: 1; }
/* One flat tint over the whole video rather than a gradient. The ink
   at 62% is what the old gradient ran through the middle, where the
   headline sits, so the cream type keeps the contrast it had. */
.hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(50, 48, 49, 0.62);
}

/* Fixed, so the wordmark stays put as the page scrolls. It holds only the
   wordmark, so it hugs it and centres on the page. */
.site-nav {
  position: fixed;
  top: clamp(14px, 3vw, 28px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  padding: 11px clamp(20px, 4vw, 28px);
  border-radius: 999px;
  background: rgba(247, 245, 240, 0.14);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background 120ms var(--ease);
}
.site-nav__mark {
  font-family: var(--title-font);
  font-size: 20px;
  letter-spacing: var(--title-spacing);
  line-height: 1;
  color: #F7F5F0;
  transition: color 120ms var(--ease);
}

/* Past the hero the pill sits on the light page, where a cream wordmark
   would disappear — so darken the mark and lift the fill.
   initFixedNav() in main.js toggles .is-past-hero. */
/* A cream fill would match the page exactly and leave the mark reading as
   a stray word, so lift the pill off the content instead. */
.site-nav.is-past-hero {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 24px rgba(50, 48, 49, 0.10);
}
.site-nav.is-past-hero .site-nav__mark { color: var(--ink); }

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(20px, 3.5vw, 28px);
  padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 64px) clamp(64px, 14vw, 96px);
  color: #F7F5F0;
}

.hero-title {
  font-family: var(--title-font);
  font-size: clamp(56px, 11vw, 140px);
  font-weight: var(--title-weight);
  line-height: 0.9;
  letter-spacing: var(--title-spacing);
  max-width: 13ch;
  text-wrap: balance;
  margin: 0;
}

.hero-sub {
  font-family: var(--body-font);
  font-size: var(--type-lead);
  font-weight: var(--body-weight);
  color: rgba(247, 245, 240, 0.82);
  max-width: 32ch;
  line-height: 1.5;
  text-wrap: pretty;
}

.hero-actions { display: flex; gap: 18px; align-items: center; }

/* Sections below the hero all share one container. width:100% is
   load-bearing: they are flex items of .page, and auto side margins would
   otherwise shrink them to fit-content instead of stretching. */
.lede,
.pillar,
.action,
.site-footer {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Intro paragraph */
.lede { padding: clamp(88px, 16vw, 168px) clamp(20px, 5vw, 64px); }
.lede__copy {
  font-family: var(--body-font);
  font-size: clamp(20px, 5vw, 30px);
  font-weight: var(--body-weight);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 40ch;
  text-wrap: pretty;
}

/* Pillar — heading, copy and an optional photo. */
.pillar {
  padding: 16px clamp(20px, 5vw, 64px) clamp(88px, 14vw, 140px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.pillar--text-only { padding-top: clamp(88px, 14vw, 140px); }
.pillar__text {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 26px);
}
.pillar__title {
  font-family: var(--title-font);
  font-size: clamp(40px, 10vw, 74px);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  line-height: 0.98;
  color: var(--ink);
  max-width: 14ch;
  text-wrap: balance;
}
.pillar__title--wide { max-width: 16ch; }
.pillar__copy {
  font-family: var(--body-font);
  font-size: clamp(18px, 4.4vw, 22px);
  font-weight: var(--body-weight);
  line-height: 1.5;
  color: var(--ink);
  max-width: 36ch;
  text-wrap: pretty;
}
.pillar__media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3.6;
  background: var(--panel);
}
.pillar__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

/* From data to action */
.action {
  padding: clamp(88px, 14vw, 140px) clamp(20px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 7vw, 72px);
}
.action__head { display: flex; flex-direction: column; gap: 18px; }
.action__title {
  font-family: var(--title-font);
  font-size: clamp(40px, 10vw, 74px);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  line-height: 0.98;
  color: var(--ink);
  max-width: 16ch;
  text-wrap: balance;
}
.action__lead {
  font-family: var(--body-font);
  font-size: clamp(18px, 4.4vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 38ch;
  text-wrap: pretty;
}

/* App UI example cards — glass primitives mirroring the product's own. */
.app-cards { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.app-card {
  /* No max-width: the spec's 360px cap left the cards hugging the left of
     the column on wider phones. They pair up when there is room for two
     and otherwise fill the width. */
  flex: 1 1 300px;
  box-sizing: border-box;
  padding: 20px;
  border-radius: 24px;
  color: var(--app-ink);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(26px) saturate(1.7);
  -webkit-backdrop-filter: blur(26px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 40px rgba(50, 48, 49, 0.10);
}
.app-card__pillar { display: flex; align-items: center; gap: 8px; }
.app-card__glyph { fill: var(--app-accent); flex: none; display: block; }
.app-card__label {
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--app-muted);
}
.app-card__title {
  font-family: var(--body-font);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-top: 12px;
}
.app-card__body {
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--app-muted);
  margin-top: 6px;
}

.app-card--row { display: flex; align-items: center; gap: 14px; }
.app-card__col { flex: 1; min-width: 0; }
.app-card__title--row { font-size: 16px; margin-top: 0; }
.app-card__meta {
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--app-muted);
  margin-top: 4px;
}
.app-toggle {
  position: relative;
  flex: none;
  width: 51px;
  height: 31px;
  border-radius: 16px;
  background: var(--app-accent);
}
.app-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 22px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.16);
}

/* Footer */
.site-footer {
  padding: 56px clamp(20px, 5vw, 64px) 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(28px, 5vw, 44px);
  text-align: left;
}
.site-footer__mark {
  font-family: var(--title-font);
  font-size: clamp(32px, 8vw, 52px);
  letter-spacing: var(--title-spacing);
  line-height: 0.9;
  color: var(--ink);
}
.site-footer__tagline {
  font-family: var(--body-font);
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 22ch;
}
.site-footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer__links a {
  font-family: var(--body-font);
  font-size: clamp(17px, 4.2vw, 20px);
  color: rgba(50, 48, 49, 0.55);
  transition: color 120ms var(--ease);
}
.site-footer__links a:hover { color: var(--ink); }
.site-footer__domain {
  font-family: var(--body-font);
  font-size: 15px;
  color: rgba(50, 48, 49, 0.35);
}

/* Reveal on scroll — see initReveal() in main.js. */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transform: none; }
}

/* Waitlist — the glass pill around the email field and its button. The
   forms ship in the markup and post to /api/waitlist; landing.js
   (initAccessForm) upgrades them to a fetch. .waitlist-slot is the
   archived home-v1 page's holder for its fallback link. */
.waitlist-slot { display: flex; flex-direction: column; align-items: center; }

.waitlist-form {
  display: flex;
  align-items: center;
  width: 100%;
  /* Glass: a translucent fill over a blurred backdrop, so it reads on
     the light hero and over the closing photo alike. */
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(35, 43, 36, 0.14);
  border-radius: 999px;
  padding: 7px 7px 7px 24px;
  gap: 10px;
  box-shadow: 0 20px 50px rgba(35, 43, 36, 0.08);
}
.waitlist-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: none;
  font-family: var(--body-font);
  font-size: 16px;
  color: var(--ink);
}
.waitlist-input::placeholder { color: var(--muted); }
.waitlist-submit {
  flex: none;
  padding: 13px 26px;
  font-size: 15px;
  white-space: nowrap;
}

/* .on-dark marks a section whose content sits on a photo behind a dark
   scrim — the hero and the closing CTA — so the glass and its text flip
   to light. */
.on-dark .waitlist-form {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}
.on-dark .waitlist-input { color: #FFFFFF; }
.on-dark .waitlist-input::placeholder { color: rgba(255, 255, 255, 0.7); }
.on-dark .waitlist-submit { background: #FFFFFF; color: var(--ink); }
.on-dark .waitlist-status { color: rgba(255, 255, 255, 0.85); }
.on-dark .waitlist-status.is-done { color: #FFFFFF; }

.waitlist-status {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.waitlist-status.is-error { color: #C0392B; }
.waitlist-status.is-done { color: var(--ink); font-weight: 600; }

/* The honeypot: out of the layout and off the screen, but still a real
   field a script can fill. Not display:none, which some bots respect. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.eyebrow {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--eyebrow);
}

/* Closing CTA */
/* Same container and padding as the sections above, so the panel's edges
   line up with their text rather than sitting 24px wider. */
.closing-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  display: flex;
  justify-content: center;
}
.closing-cta {
  position: relative;
  width: 100%;
  min-height: 480px;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 16, 12, 0.55) 0%, rgba(20, 16, 12, 0.05) 55%);
}
.closing-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  text-align: left;
  padding: 56px;
  /* Flex item defaults to min-width:auto, which would refuse to shrink
     below the waitlist form's intrinsic width and push it out of the
     rounded frame on phones. */
  width: 100%;
  min-width: 0;
}
.closing-title {
  font-family: var(--title-font);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  line-height: 1.1;
  color: #FFFFFF;
}
.closing-btn.btn-outline-lg { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }
.closing-btn.btn-outline-lg:hover { background: rgba(255, 255, 255, 0.85); }

/* Shop */
.shop {
  padding: 0 64px 240px;
  display: flex;
  justify-content: center;
}
.shop-inner {
  max-width: 1120px;
  width: 100%;
  display: flex;
  gap: 90px;
  align-items: center;
}
.shop-stage {
  flex: 1.1;
  position: relative;
  align-self: stretch;
  min-height: 520px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
  overflow: hidden;
  background: #EDEBE6;
}
.shop-collar {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  box-shadow: 0 30px 80px rgba(35, 43, 36, 0.22);
  transition: background 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-device {
  width: 118px;
  height: 118px;
  border-radius: 34px;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.25), 0 10px 26px rgba(0, 0, 0, 0.28);
  transition: background 0.4s ease;
}
.shop-render-label {
  position: absolute;
  bottom: 22px;
  font-family: monospace;
  font-size: 12px;
  color: rgba(35, 43, 36, 0.35);
}
.stage-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--eyebrow);
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
}

.shop-media { flex: 1.1; display: flex; flex-direction: column; gap: 16px; }
.thumb-row { display: flex; gap: 14px; }
.thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  background: var(--panel);
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-shape { width: 40%; height: 40%; border-radius: 50%; }

.shop-details { flex: 1; display: flex; flex-direction: column; gap: 26px; }
.shop-heading { display: flex; flex-direction: column; gap: 10px; }
.shop-title {
  font-family: var(--subtitle-font);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: var(--title-spacing);
  line-height: 1.08;
}
.shop-copy {
  font-family: var(--body-font);
  font-size: 22px;
  font-weight: var(--body-weight);
  color: var(--muted);
  line-height: 1.55;
  max-width: 440px;
}

.picker-group { display: flex; flex-direction: column; gap: 14px; }
.picker-label { font-family: var(--body-font); font-size: 15px; font-weight: 600; color: var(--ink); }
.picker-label .value { color: var(--muted); font-weight: 400; }

.swatches { display: flex; gap: 16px; }
.swatch {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(35, 43, 36, 0.12);
  transition: box-shadow 0.2s ease;
  border: none;
  padding: 0;
}
.swatch.selected { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--ink); }

.finishes { display: flex; gap: 14px; }
.finish {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(35, 43, 36, 0.15) inset;
  transition: box-shadow 0.2s ease;
  border: none;
  background: none;
}
.finish.selected { box-shadow: 0 0 0 2px var(--ink) inset; }
.finish-swatch { width: 26px; height: 26px; border-radius: 50%; }
.finish-label { font-family: var(--body-font); font-size: 15px; font-weight: 500; color: var(--ink); }

.shop-cta { display: flex; align-items: center; gap: 22px; margin-top: 6px; }
.shop-cta .btn-solid { width: 100%; text-align: center; }

/* Shop page (dedicated) */
.shop-page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 170px 40px 60px;
}

.type-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.type-option {
  text-align: left;
  background: none;
  cursor: pointer;
  border: 1.5px solid rgba(35, 43, 36, 0.15);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.type-option.selected { border-color: var(--ink); border-width: 2px; }
.type-option-name { font-family: var(--body-font); font-weight: 700; font-size: 15px; color: var(--ink); }
.type-option-desc { font-family: var(--body-font); font-size: 13px; color: var(--muted); }

.size-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.sizing-guide-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--eyebrow);
  cursor: pointer;
}
.sizing-guide-link:hover { color: var(--ink); }

.size-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.size-option {
  text-align: center;
  background: none;
  cursor: pointer;
  border: 1.5px solid rgba(35, 43, 36, 0.15);
  border-radius: 14px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.size-option.selected { border-color: var(--ink); border-width: 2px; }
.size-option-name { font-family: var(--body-font); font-weight: 700; font-size: 14px; color: var(--ink); }
.size-option-range { font-family: var(--body-font); font-size: 11px; color: var(--muted); }

.sizing-guide-panel {
  display: none;
  flex-direction: column;
  gap: 8px;
  background: var(--panel);
  border-radius: 16px;
  padding: 18px 20px;
  font-size: 14px;
}
.sizing-guide-panel.open { display: flex; }
.sizing-guide-panel .row { display: flex; justify-content: space-between; color: var(--muted); }
.sizing-guide-panel .row strong { color: var(--ink); font-weight: 600; }

.feature-section {
  padding: 0 64px 200px;
  display: flex;
  justify-content: center;
}
.feature-grid {
  max-width: 1120px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid rgba(35, 43, 36, 0.06);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--accent2); }
.feature-title { font-family: var(--subtitle-font); font-weight: 600; font-size: 19px; }
.feature-copy { font-family: var(--body-font); font-size: 15px; color: var(--muted); line-height: 1.55; }

/* About */

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 64px 60px;
  font-size: 16px;
  font-weight: 400;
  color: #8A857C;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
/* Padding rather than a bare inline link, so each one clears the ~44px
   touch target on phones. */
.footer-links a { color: #8A857C; padding: 12px; }
.footer-links a:hover { color: var(--ink); }

/* Responsive */

/* Desktop — the spec's 780px cap leaves the hero short of the fold on a
   wide screen, so let it run taller here. Phone and tablet keep the
   spec value. */
@media (min-width: 901px) {
  .hero { min-height: clamp(720px, 92vh, 1040px); }
}

/* The pillar splits into two columns once there is room for them. */
@media (min-width: 740px) {
  .pillar {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: clamp(32px, 5vw, 72px);
  }
  /* Text-only pillars keep a single column so the copy is not stranded
     across the full width. */
  .pillar--text-only { grid-template-columns: 1fr; }
  .pillar--reverse .pillar__text { order: 2; }
}

/* Desktop — the footer spreads out and the app cards sit beside the copy. */
@media (min-width: 901px) {
  .site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'mark  links'
      'tag   links'
      'domain links';
    align-items: start;
    column-gap: 64px;
    row-gap: 20px;
    padding-top: 96px;
    padding-bottom: 64px;
  }
  .site-footer__mark { grid-area: mark; }
  .site-footer__tagline { grid-area: tag; }
  .site-footer__links { grid-area: links; align-items: flex-end; gap: 14px; }
  .site-footer__domain { grid-area: domain; align-self: end; }

  .action {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(48px, 6vw, 96px);
  }
  .app-cards { flex-direction: column; flex-wrap: nowrap; }
  .app-card { flex: 0 0 auto; width: 100%; }
}

/* Tablet */
@media (max-width: 900px) {
  .shop { padding: 0 32px 160px; }
  .shop-inner { flex-direction: column; gap: 50px; align-items: stretch; }
  .shop-media { width: 100%; }
  .shop-stage { width: 100%; min-height: 400px; }

    
  
  .feature-section { padding: 0 32px 140px; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  

  /* The alert card is absolutely positioned inside a fixed-ratio photo on
     desktop; once the panel narrows its text wraps taller than the photo
     and gets clipped, so stack them in normal flow instead. */

  

  

  .closing-wrap { padding: 0 clamp(20px, 5vw, 64px); }
  .closing-cta { min-height: 420px; }
  .closing-content { padding: 40px; }

}

/* Mobile: collapse nav into a dropdown menu, stack hero badges */
@media (max-width: 760px) {
  header { top: 12px; padding: 0 16px; }
  .nav-bar {
    padding: 12px 16px;
    flex-wrap: wrap;
    position: relative;
    border-radius: 24px;
  }
  .nav-toggle { display: flex; }
  nav.links {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(35, 43, 36, 0.08);
  }
  nav.links.open { display: flex; }
  nav.links a {
    padding: 10px 6px;
    font-size: 16px;
  }
  nav.links .btn-outline {
    text-align: center;
    margin-top: 6px;
  }

    

  

  

  
  .closing-wrap { padding: 0 20px; }
  .closing-content { padding: 30px; }

  .shop { padding: 0 20px 110px; }
  .shop-page-hero { padding: 130px 20px 40px; }
  .shop-title { font-size: clamp(28px, 8vw, 40px); }
  .shop-copy { font-size: 18px; max-width: none; }
  .thumb-row { gap: 10px; }
  .type-options { grid-template-columns: 1fr; }
  .size-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .size-option { padding: 10px 4px; }
  .size-option-range { font-size: 10px; }

  .feature-section { padding: 0 20px 100px; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }

  

  footer { flex-direction: column; gap: 20px; padding: 40px 24px 60px; text-align: center; }
}

@media (max-width: 480px) {
  /* Trim the chrome so the placeholder keeps clear room beside the button. */
  .waitlist-form { padding: 6px 6px 6px 18px; gap: 8px; }
  .waitlist-submit { padding: 13px 20px; font-size: 14px; }

  /* The closing form sits inside a padded card, so it runs out of room
     for a side-by-side field and button well before the hero form does;
     stack it instead. */
  .closing-cta .waitlist-form { flex-wrap: wrap; border-radius: 24px; padding: 10px; gap: 8px; }
  .closing-cta .waitlist-input { flex: 1 0 100%; padding: 8px 12px; }
  .closing-cta .waitlist-submit { flex: 1 0 100%; width: 100%; }
}

/* Small phones */
@media (max-width: 380px) {
  
  .size-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  /* Too narrow to hold the field and the button side by side, so stack
     them: the pill becomes a rounded block with a full-width button. */
  .waitlist-form { flex-wrap: wrap; border-radius: 24px; padding: 10px; gap: 8px; }
  .waitlist-input { flex: 1 0 100%; padding: 8px 12px; font-size: 15px; }
  .waitlist-submit { flex: 1 0 100%; padding: 13px 16px; }
  .closing-content { padding: 22px; }
}

/* ---------------------------------------------------------------
   Legal pages (privacy, terms)
   Long-form reading: one narrow column, generous leading, and a
   numbered structure so a clause can be pointed at by name.
   --------------------------------------------------------------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) clamp(20px, 5vw, 40px) clamp(80px, 12vw, 140px);
}

.legal__title {
  font-family: var(--title-font);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  margin: 12px 0 0;
  color: var(--ink);
}

.legal__meta {
  font-family: var(--body-font);
  font-size: 14px;
  color: var(--muted);
  margin: 18px 0 0;
}

.legal__intro {
  font-family: var(--body-font);
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--ink);
  margin: 32px 0 0;
  text-wrap: pretty;
}

.legal section { margin-top: clamp(40px, 6vw, 64px); }

/* Clear the sticky nav when a section is linked to directly. */
.legal h2, .legal h3 { scroll-margin-top: 120px; }

.legal h2 {
  font-family: var(--subtitle-font);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.legal h3 {
  font-family: var(--subtitle-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  margin: 28px 0 8px;
}

.legal p,
.legal li {
  font-family: var(--body-font);
  font-weight: var(--body-weight);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  text-wrap: pretty;
}

.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--muted); }

.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--eyebrow); }

.legal strong { font-weight: 600; }

/* A clause that carries more weight than the ones around it. */
.legal__callout {
  background: var(--panel);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 20px 0;
}
.legal__callout p:last-child { margin-bottom: 0; }

/* Definition-style rows for the third parties table. */
.legal__parties { list-style: none; padding: 0; margin: 0; }
.legal__parties li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  margin: 0;
}
.legal__parties li:first-child { border-top: 1px solid var(--rule); }
.legal__parties span {
  display: block;
  font-weight: 600;
  font-size: 15px;
}
.legal__parties em {
  display: block;
  font-style: normal;
  font-size: 15px;
  color: var(--muted);
  margin-top: 2px;
}

/* Marks text the operator still has to fill in before launch. */
.legal__todo {
  background: #FFF3CD;
  color: #6B4E00;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}
