/* Unwaver website. Shared by the home page and the Privacy, Terms and Support pages. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-italic-latin.woff2) format("woff2");
}

:root {
  color-scheme: dark;
  --ink: #0a0b0d;
  --card: #15171b;
  --card-2: #1c1f24;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.58);
  --text-3: rgba(255, 255, 255, 0.32);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --lime: #c9f660;
  --lime-soft: rgba(201, 246, 96, 0.12);
  --water: #6ec2ff;
  --glow: #2e3a12;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* Type */

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.1em;
  line-height: 0.9;
}

.display {
  font-size: clamp(46px, 7.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.lede {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 34em;
  letter-spacing: -0.01em;
}

.body-2 { color: var(--text-2); max-width: 34em; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: 0.15em;
  background: var(--lime-soft);
  color: var(--lime);
  white-space: nowrap;
}
.tag-beta { background: var(--lime); color: var(--ink); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s;
}
.btn-lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(201, 246, 96, 0.55);
}
.btn-lime:hover { background: #d6fb7e; }
.btn-lime:active { transform: scale(0.98); }

/* Not a link: the app isn't on the App Store yet. */
.store-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: default;
}
.store-soon svg { width: 16px; height: 16px; flex: none; color: var(--text-2); }

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.legal-page .site-header {
  background: rgba(10, 11, 13, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.header-row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: 26px; height: 26px; }
.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--text); }
.header-soon {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .site-nav { display: none; }
}

/* Phone frame (screens are 1179 x 2556) */

.phone {
  --pw: 320px;
  position: relative;
  flex: none;
  width: var(--pw);
  padding: calc(var(--pw) * 0.03);
  border-radius: calc(var(--pw) * 0.17);
  background: #050506;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 0 calc(var(--pw) * 0.011) #23262c,
    inset 0 0 0 calc(var(--pw) * 0.014) rgba(255, 255, 255, 0.06),
    0 calc(var(--pw) * 0.12) calc(var(--pw) * 0.25) calc(var(--pw) * -0.08) rgba(0, 0, 0, 0.85);
}
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #2a2d33;
}
.phone::before {
  left: -2px;
  top: 21%;
  height: 6.5%;
  box-shadow: 0 calc(var(--pw) * 0.2) 0 #2a2d33;
}
.phone::after {
  right: -2px;
  top: 27%;
  height: 10%;
}
.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 1179 / 2556;
  border-radius: calc(var(--pw) * 0.14);
  background: var(--ink);
}

/* Reveal (phones and photos only; text never waits on scroll) */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Sections */

main { display: block; }

.section {
  padding-top: clamp(96px, 13vw, 176px);
  scroll-margin-top: 24px;
}

.sec-head {
  display: grid;
  gap: 20px;
  max-width: 760px;
}

/* Hero */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 96px));
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -20%;
  top: -40%;
  width: 90vw;
  height: 110vh;
  background: radial-gradient(closest-side, rgba(46, 58, 18, 0.9), rgba(46, 58, 18, 0) 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
.hero-copy {
  display: grid;
  gap: 28px;
  padding-bottom: 40px;
}
.hero-copy .display { max-width: 9.5em; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.works-with {
  font-size: 14px;
  color: var(--text-2);
}

.hero-visual {
  --hp: clamp(240px, 22vw, 310px);
  position: relative;
  height: calc(var(--hp) * 2.42 + 24px);
}
.hero-ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 78%;
  aspect-ratio: 1;
  overflow: visible;
}
.hero-ring .track { stroke: rgba(255, 255, 255, 0.06); }
.hero-ring .arc { stroke: var(--lime); filter: drop-shadow(0 0 24px rgba(201, 246, 96, 0.25)); }
.hero-visual .phone {
  --pw: var(--hp);
  position: absolute;
  right: 4%;
  top: calc(var(--hp) * 0.32);
}
.hero-chip {
  position: absolute;
  left: 6%;
  bottom: 12%;
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(21, 23, 27, 0.86);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.hero-chip b {
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.hero-chip b span { color: var(--text-3); font-weight: 600; }
.hero-chip small { font-size: 13px; color: var(--text-2); }

.js .hero-ring .arc { stroke-dasharray: 100 100; stroke-dashoffset: 100; }
.js .hero-visual .phone,
.js .hero-chip { opacity: 0; transform: translateY(30px); }
.js.is-loaded .hero-ring .arc {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.65, 0, 0.25, 1) 0.25s;
}
.js.is-loaded .hero-visual .phone,
.js.is-loaded .hero-chip {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}
.js.is-loaded .hero-chip { transition-delay: 1.2s; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual {
    --hp: min(62vw, 300px);
    height: calc(var(--hp) * 1.9);
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  }
  .hero-visual .phone { top: calc(var(--hp) * 0.24); right: 2%; }
  .hero-ring { width: 82%; }
  .hero-chip { left: 0; bottom: auto; top: calc(var(--hp) * 0.95); padding: 12px 14px; }
  .hero-chip b { font-size: 22px; }
}

/* The day */

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  margin-top: clamp(48px, 6vw, 80px);
}
.steps {
  list-style: none;
  display: grid;
}
.step {
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  max-width: 30em;
  transition: opacity 0.5s var(--ease);
}
.js .step { opacity: 0.28; }
.js .step.is-active { opacity: 1; }
.step-when {
  font-size: 15px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: -0.01em;
}
.step .h3 { font-size: clamp(26px, 3vw, 40px); }
.step p:not(.step-when) { color: var(--text-2); }
.step .phone { display: none; }

.run-photo {
  position: relative;
  margin-top: 12px;
  width: min(100%, 360px);
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
}
.run-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.run-photo figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(10, 11, 13, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.3;
}
.run-photo figcaption b { display: block; font-size: 15px; }
.run-photo figcaption span { color: var(--text-2); }
.check {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  display: grid;
  place-items: center;
  margin-left: auto;
}
.check svg { width: 14px; height: 14px; }

.stage {
  position: relative;
}
.stage-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  padding-top: calc(var(--header-h) / 2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stage .phone { --pw: min(330px, calc((100vh - 150px) * 0.43)); }
.stage-screens {
  position: relative;
  display: block;
}
.stage-screens img + img {
  position: absolute;
  inset: 0;
}
.stage-screens img {
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.stage-screens img.is-active { opacity: 1; }

@media (max-width: 959px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .stage { display: none; }
  .steps { gap: 96px; }
  .step { min-height: 0; max-width: none; }
  .js .step { opacity: 1; }
  .step .phone { display: block; --pw: min(70vw, 270px); margin: 24px auto 0; }
  .run-photo { width: 100%; aspect-ratio: 4 / 3; }
}

/* Food */

.food-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.food-grid .phone { --pw: clamp(260px, 25vw, 330px); justify-self: center; }
.food-copy { display: grid; gap: 22px; }

.facts {
  list-style: none;
  display: grid;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}
.facts li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 16px;
}
.facts strong { color: var(--text); font-weight: 600; }

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: clamp(80px, 10vw, 140px);
}
.trio figure {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}
.trio .phone { --pw: clamp(220px, 21vw, 270px); }
.trio figcaption { max-width: 19em; }
.trio figcaption b {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.trio figcaption span { color: var(--text-2); font-size: 15px; }

@media (max-width: 900px) {
  .food-grid { grid-template-columns: 1fr; }
  .food-grid .phone { order: 2; --pw: min(72vw, 300px); }
  .trio {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(74vw, 280px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding: 8px var(--gutter) 24px;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
    gap: 20px;
  }
  .trio::-webkit-scrollbar { display: none; }
  .trio figure { scroll-snap-align: start; }
  .trio .phone { --pw: min(64vw, 240px); }
}

/* Snap a meal */

.snap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.snap-copy { display: grid; gap: 22px; }
.snap-tags { display: flex; gap: 8px; }
.snap-tags .tag { font-size: 12px; height: 24px; padding: 0 9px; }
.estimate-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-top: 8px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  max-width: 30em;
  font-size: 15px;
  color: var(--text-2);
}
.estimate-note b { color: var(--text); font-weight: 600; }
.estimate-note svg { width: 20px; height: 20px; color: var(--lime); margin-top: 2px; }

.snap-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}
.snap-photo {
  grid-column: 1 / 3;
  grid-row: 1;
  width: 72%;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 768 / 1100;
}
.snap-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.snap-visual .phone {
  grid-column: 1 / 3;
  grid-row: 1;
  justify-self: end;
  align-self: end;
  --pw: clamp(220px, 20vw, 290px);
  margin-bottom: -40px;
}

@media (max-width: 900px) {
  .snap-grid { grid-template-columns: 1fr; }
  .snap-visual { margin-bottom: 40px; }
  .snap-photo { width: 78%; }
  .snap-visual .phone { --pw: min(52vw, 240px); }
}

/* Progress compare */

.progress-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.progress-copy { display: grid; gap: 22px; }

.deltas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.deltas div {
  padding: 16px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}
.deltas dt { font-size: 13px; color: var(--text-2); font-weight: 500; }
.deltas dd:first-of-type {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.deltas dd + dd { font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.down { color: var(--lime); }
.up { color: var(--water); }

.compare { display: grid; gap: 18px; width: 100%; max-width: 540px; justify-self: end; }
.compare-stage {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 896 / 1040;
  background: var(--card);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.compare-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  pointer-events: none;
}
.compare-stage .img-b { opacity: var(--fade, 0); }
.compare-label {
  position: absolute;
  top: 14px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
}
.compare-label.a { left: 14px; }
.compare-label.b { right: 14px; }
.compare-handle {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  margin-left: -1px;
  background: var(--lime);
  display: none;
}
.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  background-image:
    linear-gradient(var(--ink), var(--ink)),
    linear-gradient(var(--ink), var(--ink));
  background-size: 2px 12px, 2px 12px;
  background-position: 14px 12px, 20px 12px;
  background-repeat: no-repeat;
}

.compare[data-mode="slider"] .img-b { opacity: 1; clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare[data-mode="slider"] .compare-handle { display: block; }
.compare[data-mode="side"] .compare-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--ink); }
.compare[data-mode="side"] .compare-stage img { position: static; opacity: 1; height: 100%; }
.compare[data-mode="side"] .compare-label { opacity: 1 !important; }
.compare[data-mode="side"] .range-row { visibility: hidden; }

.compare-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

/* Segmented control (custom radio group; never a native select) */
.seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  position: relative;
}
.seg button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.seg button:hover { color: var(--text); }
.seg button[aria-checked="true"] { color: var(--ink); }
.seg-thumb {
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.35s var(--ease), width 0.35s var(--ease);
}
.seg button .save {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--lime-soft);
  color: var(--lime);
  transition: background-color 0.25s, color 0.25s;
}
.seg button[aria-checked="true"] .save { background: var(--ink); color: var(--lime); }

.range-row {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.range {
  --v: 0%;
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 0;
  height: 28px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--lime) var(--v), rgba(255, 255, 255, 0.14) var(--v));
}
.range::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--lime) var(--v), rgba(255, 255, 255, 0.14) var(--v));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -10px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--lime); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--lime); }
.compare-hint { font-size: 14px; color: var(--text-2); }

@media (max-width: 900px) {
  .progress-grid { grid-template-columns: 1fr; }
  .compare { order: 2; justify-self: center; }
}
@media (max-width: 420px) {
  .deltas { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .deltas div { padding: 12px; border-radius: 14px; }
  .deltas dd + dd { font-size: 11px; }
  .seg button { padding: 0 12px; font-size: 13px; }
}

/* Privacy */

.privacy-head { display: grid; gap: 22px; max-width: 760px; }
.privacy-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
}
.privacy-list div {
  padding: 24px 28px 0 0;
  display: grid;
  align-content: start;
  gap: 8px;
}
.privacy-list dt { font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.privacy-list dd { color: var(--text-2); font-size: 15px; }

.flow {
  margin-top: clamp(56px, 7vw, 88px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
}
.flow-title { font-size: 15px; color: var(--text-2); margin-bottom: 24px; }
.flow-title b { color: var(--text); font-weight: 600; }
.flow-row {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.flow-node {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--card-2);
  border: 1px solid var(--line);
}
.flow-node b { font-size: 16px; letter-spacing: -0.02em; }
.flow-node span { font-size: 14px; color: var(--text-2); }
.flow-node.home { border-color: rgba(201, 246, 96, 0.35); }
.flow-arrow { width: 40px; height: 12px; color: var(--text-3); }
.flow-link { display: inline-block; margin-top: 24px; font-size: 15px; font-weight: 600; color: var(--lime); text-underline-offset: 4px; }

@media (max-width: 960px) {
  .privacy-list { grid-template-columns: 1fr 1fr; }
  .privacy-list div { padding-bottom: 8px; }
}
@media (max-width: 700px) {
  .flow-row { grid-template-columns: 1fr; gap: 10px; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; width: 28px; }
}
@media (max-width: 560px) {
  .privacy-list { grid-template-columns: 1fr; }
  .privacy-list div { padding: 20px 0 0; }
}

/* Pricing */

.pricing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}
.pricing-head .sec-head { max-width: 640px; }
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
}
.plan {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.plan-pro {
  border-color: rgba(201, 246, 96, 0.3);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(46, 58, 18, 0.75), rgba(46, 58, 18, 0) 60%),
    var(--card);
}
.plan h3 { font-size: 22px; letter-spacing: -0.03em; }
.plan-for { color: var(--text-2); font-size: 15px; }
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
}
.price .amt {
  font-size: clamp(44px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price .per { color: var(--text-2); font-size: 16px; font-weight: 500; }
.price-note { font-size: 14px; color: var(--text-2); min-height: 1.5em; }
.plan ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.plan li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  font-size: 15px;
  color: var(--text-2);
}
.plan li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--lime); }
.plan li.plus { color: var(--text); font-weight: 500; }
.trial { margin-top: 20px; font-size: 14px; color: var(--text); font-weight: 600; }
.legal-line {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-2);
  max-width: 52em;
}

@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font-size: inherit; }
.qa button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
}
.qa button:hover .pm { background: var(--card-2); }
.pm {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card);
  transition: background-color 0.2s, transform 0.35s var(--ease);
}
.pm::before,
.pm::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--text);
  transition: transform 0.35s var(--ease);
}
.pm::after { transform: rotate(90deg); }
.qa button[aria-expanded="true"] .pm { transform: rotate(180deg); background: var(--lime); }
.qa button[aria-expanded="true"] .pm::before,
.qa button[aria-expanded="true"] .pm::after { background: var(--ink); }
.qa button[aria-expanded="true"] .pm::after { transform: rotate(0deg); }
.answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.answer > div { overflow: hidden; }
.answer p {
  padding: 0 52px 24px 0;
  color: var(--text-2);
  max-width: 38em;
}
.answer p + p { margin-top: -12px; }
.qa.is-open .answer { grid-template-rows: 1fr; }
.no-js .answer { grid-template-rows: 1fr; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .answer p { padding-right: 0; }
  .qa button { font-size: 17px; }
}

/* Closing */

.closing {
  position: relative;
  padding: clamp(120px, 16vw, 220px) 0 clamp(96px, 12vw, 160px);
  text-align: center;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(900px, 180%);
  height: 100%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(46, 58, 18, 0.7), rgba(46, 58, 18, 0));
  pointer-events: none;
}
.closing-inner { display: grid; justify-items: center; gap: 32px; }
.closing-mark { width: clamp(96px, 12vw, 148px); height: auto; }
.closing-line {
  font-size: clamp(56px, 10vw, 136px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  font-size: 14px;
  color: var(--text-2);
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.foot-grid .brand { color: var(--text); margin-right: 0; font-size: 16px; }
.foot-grid .brand img { width: 22px; height: 22px; }
.foot-grid .brand { margin-right: auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--text); }
.foot-copy { width: 100%; color: var(--text-3); font-size: 13px; }

/* Privacy, Terms and Support pages */

.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 64px) var(--gutter) 96px;
}
.legal-main .legal-icon { width: 52px; height: 52px; margin-bottom: 24px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2); }
.legal-main h1 {
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}
.legal-main h2 {
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 44px 0 10px;
}
.legal-main p,
.legal-main li { color: rgba(255, 255, 255, 0.78); }
.legal-main p + p { margin-top: 14px; }
.legal-main ul { padding-left: 20px; display: grid; gap: 10px; margin: 12px 0; }
.legal-main li::marker { color: var(--lime); }
.legal-main strong { color: var(--text); }
.legal-main a { color: var(--lime); text-underline-offset: 3px; }
.legal-main .muted { color: var(--text-2); font-size: 14px; }
.legal-main .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 22px;
  margin: 28px 0;
}
.legal-main .card h2 { margin-top: 0; }

/* Reduced motion: everything is simply there. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .js .reveal,
  .js .hero-visual .phone,
  .js .hero-chip { opacity: 1; transform: none; }
  .js .hero-ring .arc { stroke-dashoffset: 0; }
}

/* ---- Round 2 additions: the film, looping clips, outline mode, the stand block ---- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}
video.loop { display: block; width: 100%; height: 100%; object-fit: cover; }
.run-photo video.loop { object-position: 50% 40%; }
.snap-photo video.loop { object-position: 50% 30%; }

.watch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.watch-copy { display: grid; gap: 20px; align-content: center; }
.watch-chapters { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.watch-chapters button {
  display: flex;
  width: 100%;
  gap: 16px;
  align-items: baseline;
  padding: 13px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--text);
  font: 500 16px/1.3 var(--sans);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.watch-chapters button span { min-width: 3.2em; color: var(--lime); font-variant-numeric: tabular-nums; font-size: 14px; }
.watch-chapters button:hover { color: var(--lime); }
.watch-chapters button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 8px; }
.watch-frame {
  justify-self: center;
  width: min(100%, 400px);
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 120px rgba(201, 246, 96, 0.08);
  aspect-ratio: 9 / 16;
}
.watch-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
@media (max-width: 900px) {
  .watch-grid { grid-template-columns: 1fr; }
  .watch-frame { width: min(100%, 360px); }
}

.trio.quad { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.trio.quad .phone { --pw: clamp(190px, 17vw, 240px); }
@media (max-width: 900px) {
  .trio.quad { grid-template-columns: none; }
  .trio.quad .phone { --pw: min(64vw, 240px); }
}

.compare-stage .img-outline { opacity: 0; transition: opacity 0.35s var(--ease); z-index: 1; }
.compare[data-mode="outline"] .img-b { opacity: 1; }
.compare[data-mode="outline"] .img-outline { opacity: 1; }
.compare[data-mode="outline"] .compare-label.a { opacity: 0 !important; }
.compare[data-mode="outline"] .range-row { visibility: hidden; }
.compare[data-mode="side"] .img-outline { display: none; }


.stand-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.stand-media {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9 / 15;
  background: var(--card);
}
.stand-copy { display: grid; gap: 20px; }
.stand-shots { display: flex; gap: 20px; margin-top: 16px; }
.stand-shots .phone { --pw: clamp(170px, 15vw, 220px); }
@media (max-width: 900px) {
  .stand-grid { grid-template-columns: 1fr; }
  .stand-media { width: min(100%, 420px); justify-self: center; }
  .stand-shots { justify-content: center; }
  .stand-shots .phone { --pw: min(40vw, 200px); }
}
