/*
  Strivel public pages: landing (/gioi-thieu, /about) and pricing (/bang-gia, /pricing).
  Plain HTML + this file + landing.js. Colours are the app's "Đất nung" clay palette
  (app/globals.css). Nunito (OFL) is self-hosted: the production CSP only allows fonts from
  'self'. Every phone picture is a real 3x screenshot of the app (shots/vi, shots/en), taken
  from a demo account; exercise illustrations are hidden in them (RepDB licence).
*/

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(fonts/nunito-vietnamese-wght-normal.woff2) format("woff2-variations");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(fonts/nunito-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(fonts/nunito-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4efe7;
  --sand: #ece4d8;
  --card: #fffbf5;
  --soft: #eae5dc;
  --line: #ded6cf;
  --ink: #2a221d;
  --ink-2: #4a3f37;
  --muted: #6c6056;
  --clay: #b5502c;
  --clay-dark: #8c3e22;
  --tint: #f5e1d6;
  --peach: #f0c9b5;
  --warn: #9a5b12;
  --warn-bg: #f7e7cf;
  --r-lg: 36px;
  --r-md: 24px;
  --r-sm: 16px;
  --gut: 20px;
  --max: 1160px;
  --nav: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow:
    0 30px 60px -30px rgba(74, 52, 36, 0.35),
    0 12px 24px -16px rgba(74, 52, 36, 0.2);
}
@media (min-width: 720px) {
  :root {
    --gut: 32px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Nunito",
    ui-rounded,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  max-width: 100%;
  display: block;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}
h3 {
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
p {
  text-wrap: pretty;
}
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--card);
  padding: 10px 16px;
  border-radius: 12px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--clay {
  background: var(--clay);
  color: #fff;
}
.btn--clay:hover {
  background: var(--clay-dark);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink-2);
}
.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 231, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow 0.2s ease;
}
.nav.is-scrolled {
  box-shadow: 0 1px 0 var(--line);
}
.nav__bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--nav);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
  min-height: 44px;
}
.logo svg {
  width: 30px;
  height: 30px;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: 16px;
}
.nav__links > a,
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  text-decoration: none;
  color: var(--ink-2);
  font: inherit;
  font-weight: 650;
  font-size: 15px;
  cursor: pointer;
}
.nav__links > a:hover,
.nav__links > a[aria-current="page"],
.nav__trigger:hover,
.nav__trigger[aria-expanded="true"] {
  background: var(--soft);
  color: var(--ink);
}
.nav__chev {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.nav__trigger[aria-expanded="true"] .nav__chev {
  transform: rotate(180deg);
}
.nav__menu {
  position: relative;
}
.nav__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  width: 600px;
  padding: 10px;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow:
    0 0 0 1px var(--line),
    0 24px 60px rgba(42, 34, 29, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.25s var(--ease),
    visibility 0.2s;
}
.nav__panel::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}
.nav__menu.is-open .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__panel ul,
.nav__sheet ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__panel ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.nav__panel a,
.nav__sheet-feats a {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--ink);
}
.nav__panel a:hover,
.nav__panel a:focus-visible {
  background: var(--bg);
}
.nav__panel b,
.nav__sheet-feats b {
  font-size: 15px;
}
.nav__panel span,
.nav__sheet-feats span {
  font-size: 13.5px;
  color: var(--muted);
}
.nav__end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__lang,
.nav__login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink-2);
  border-radius: 999px;
}
.nav__login {
  display: none;
}
.nav__lang:hover,
.nav__login:hover {
  background: var(--soft);
}
.nav__burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -6px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.nav__burger:hover {
  background: var(--soft);
}
.nav__burger svg {
  width: 24px;
  height: 24px;
}
.nav__burger path {
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s ease;
  transform-origin: 12px 12px;
}
.nav__burger[aria-expanded="true"] .b1 {
  transform: translateY(5px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] .b2 {
  opacity: 0;
}
.nav__burger[aria-expanded="true"] .b3 {
  transform: translateY(-5px) rotate(-45deg);
}
/* phone / tablet menu: a sheet under the bar */
.nav__sheet {
  position: fixed;
  top: var(--nav);
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 0 calc(32px + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--line);
  animation: sheet-in 0.28s var(--ease);
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
.nav__sheet-h {
  margin: 20px 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav__sheet-feats {
  display: grid;
  gap: 2px;
}
.nav__sheet-feats a {
  margin: 0 -14px;
}
.nav__sheet-feats a:active {
  background: var(--soft);
}
.nav__sheet-pages {
  margin-top: 4px;
}
.nav__sheet-pages a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav__sheet-pages a[aria-current="page"] {
  color: var(--clay);
}
.nav__sheet-cta {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.nav__sheet-cta .btn {
  justify-content: center;
}
.nav__sheet-lang {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  font-weight: 700;
  color: var(--ink-2);
}
html.nav-open,
html.nav-open body {
  overflow: hidden;
}
/* backdrop-filter would make the fixed sheet size against the header, not the screen */
html.nav-open .nav {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 0 var(--line);
}
@media (min-width: 560px) {
  .nav__login {
    display: inline-flex;
  }
}
@media (max-width: 379px) {
  .nav__start {
    display: none;
  }
}
@media (min-width: 1040px) {
  .nav__links {
    display: flex;
  }
  .nav__burger,
  .nav__sheet {
    display: none !important;
  }
}

/* ---------- shared section bits ---------- */
.sec {
  padding: 72px 0;
}
@media (min-width: 900px) {
  .sec {
    padding: 112px 0;
  }
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clay);
}
.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.sec__head {
  max-width: 720px;
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
}
.sec__head h2 {
  font-size: clamp(32px, 4.6vw, 52px);
}
.sec__head p {
  color: var(--muted);
  font-size: 18px;
}
.sec__head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.fine {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- phone frame around a real screenshot ---------- */
.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 390 / 844;
  border-radius: 46px;
  padding: 9px;
  background: #2a221d;
  box-shadow: var(--shadow);
}
.phone > img,
.phone__stack {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  object-fit: cover;
  object-position: top;
  background: var(--bg);
}
.phone__stack {
  position: relative;
  overflow: hidden;
}
.phone__stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.phone__stack img.is-on,
html:not(.js) .phone__stack img:first-child {
  opacity: 1;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 28px 0 64px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.03;
}
.nw {
  white-space: nowrap;
}
.hero h1 em {
  font-style: normal;
  color: var(--clay);
}
.hero__lead {
  margin-top: 22px;
  max-width: 540px;
  font-size: 19px;
  color: var(--ink-2);
}
.hero__cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}
.hero__art {
  position: relative;
  display: grid;
  place-items: center;
  padding: 24px 0 8px;
}
.hero__art::before {
  content: "";
  position: absolute;
  width: min(112%, 560px);
  aspect-ratio: 1;
  border-radius: 58% 42% 55% 45% / 46% 52% 48% 54%;
  background: radial-gradient(circle at 35% 35%, var(--tint), var(--peach) 72%);
  opacity: 0.85;
}
.hero__art .phone {
  max-width: 290px;
}
.chip {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.35;
  max-width: 210px;
}
.chip b {
  font-size: 15px;
  font-weight: 800;
}
.chip span {
  color: var(--muted);
}
.chip--a {
  top: 16%;
  left: 0;
}
.chip--b {
  bottom: 12%;
  right: 0;
}
@media (max-width: 559px) {
  .chip {
    display: none;
  }
}
@media (min-width: 900px) {
  .hero {
    padding: 48px 0 96px;
  }
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }
  .hero__art .phone {
    max-width: 320px;
  }
  .chip--a {
    left: -4%;
  }
  .chip--b {
    right: -4%;
  }
}
.proof {
  margin-top: 56px;
  display: grid;
  gap: 1px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 0 0 1px var(--line);
}
.proof > div {
  background: var(--card);
  padding: 22px 24px;
  display: grid;
  gap: 2px;
}
.proof b {
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.proof span {
  color: var(--muted);
  font-size: 15px;
}
@media (min-width: 720px) {
  .proof {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- personalisation: what Strivel reads ---------- */
.reads {
  background: var(--card);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.reads__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.inputs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.inputs li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--bg);
}
.ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--clay-dark);
}
.ico svg {
  width: 22px;
  height: 22px;
}
.inputs b {
  display: block;
  font-size: 16px;
}
.inputs span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.reads__phone {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}
.reads__phone p {
  font-size: 15px;
  color: var(--muted);
  max-width: 300px;
}
@media (min-width: 900px) {
  .reads__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 72px;
  }
  .inputs {
    grid-template-columns: 1fr 1fr;
  }
  .reads__phone .phone {
    max-width: 320px;
  }
}

/* same morning, different plans (a labelled illustration) */
.demo {
  margin-top: 72px;
}
.demo__head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}
.demo__head h3 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.demo__head p {
  color: var(--muted);
}
.tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: var(--soft);
  overflow-x: auto;
  scrollbar-width: none;
  width: max-content;
  max-width: 100%;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-weight: 750;
  font-size: 15px;
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}
.tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--card);
}
.demo__body {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .demo__body {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 18px;
  }
}
.panel {
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
  padding: 22px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.panel__label {
  font-size: 14px;
  font-weight: 750;
  color: var(--muted);
}
.rows {
  display: grid;
}
.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.row:first-child {
  border-top: 0;
}
.row span:first-child {
  color: var(--ink-2);
}
.row b {
  font-weight: 750;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.row b.warn {
  color: var(--warn);
}
.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--clay);
}
.flow-arrow svg {
  width: 32px;
  height: 32px;
  transform: rotate(90deg);
}
@media (min-width: 900px) {
  .flow-arrow svg {
    transform: none;
  }
}
.plan-card {
  background: var(--ink);
  color: var(--card);
  box-shadow: var(--shadow);
}
.plan-card .panel__label {
  color: #cfc5ba;
}
.plan-card h4 {
  margin: 4px 0 0;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pills span {
  padding: 4px 12px;
  border-radius: 999px;
  background: #4a3f37;
  font-size: 14px;
  font-weight: 700;
}
.plan-card p {
  color: #e9e3d9;
  font-size: 16px;
  padding-top: 12px;
  border-top: 1px solid #4a3f37;
}
.plan-card p b {
  color: var(--peach);
}
.swap {
  transition:
    opacity 0.35s var(--ease),
    transform 0.45s var(--ease);
}
.is-swapping .swap {
  opacity: 0;
  transform: translateY(8px);
}

/* the coach keeps learning */
.learn {
  margin-top: 72px;
  display: grid;
  gap: 14px;
}
.learn > div {
  border-radius: var(--r-md);
  background: var(--bg);
  padding: 24px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.learn h3 {
  font-size: 19px;
  margin-top: 6px;
}
.learn p {
  color: var(--ink-2);
  font-size: 16px;
}
@media (min-width: 900px) {
  .learn {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- garmin morning sync strip ---------- */
.sync {
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: s;
}
.sync li {
  list-style: none;
  counter-increment: s;
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px 20px 18px 64px;
  border-radius: var(--r-sm);
  background: var(--bg);
}
.sync li::before {
  content: counter(s);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--clay);
  color: #fff;
  font-weight: 850;
  font-size: 15px;
}
.sync b {
  font-size: 16px;
}
.sync span {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.45;
}
@media (min-width: 900px) {
  .sync {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--bg);
  }
  .sync li {
    border-radius: 0;
    padding: 72px 22px 22px;
  }
  .sync li::before {
    left: 22px;
    top: 22px;
  }
  .sync li + li::after {
    /* the arrow between two steps */
    content: "";
    position: absolute;
    left: -7px;
    top: 34px;
    width: 12px;
    height: 12px;
    border-top: 2.5px solid var(--peach);
    border-right: 2.5px solid var(--peach);
    transform: rotate(45deg);
  }
}

/* ---------- devices ---------- */
.devices {
  margin-top: 56px;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--card);
  padding: 32px 28px;
  display: grid;
  gap: 22px;
}
.devices h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.devices p {
  color: #cfc5ba;
  margin-top: 8px;
  max-width: 520px;
}
.devices .devices__note {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.7;
}
.dev-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dev-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #3a302a;
  font-weight: 750;
  font-size: 15px;
}
.dev-list li small {
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #4a3f37;
  color: #cfc5ba;
}
.dev-list li.on small {
  background: var(--clay);
  color: #fff;
}
@media (min-width: 900px) {
  .devices {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    padding: 40px 48px;
  }
}

/* ---------- story: cards that stack as you scroll ---------- */
.day {
  background: var(--bg);
}
.stack {
  display: grid;
  gap: 28px;
}
.scard {
  --s: 1;
  --o: 0;
  position: sticky;
  top: calc(var(--nav) + 16px + var(--i) * 12px);
  height: min(600px, calc(100vh - var(--nav) - 48px));
  height: min(600px, calc(100svh - var(--nav) - 48px));
  border-radius: var(--r-lg);
  background: var(--tone, var(--card));
  color: var(--ink);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  transform: scale(var(--s));
  transform-origin: 50% 0;
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.6) inset,
    0 24px 48px -32px rgba(74, 52, 36, 0.45);
  will-change: transform;
}
.scard::after {
  /* dims a card as the next one slides over it */
  content: "";
  position: absolute;
  inset: 0;
  background: #2a221d;
  opacity: calc(var(--o) * 0.28);
  pointer-events: none;
}
.scard__text {
  padding: 26px 24px 0;
  display: grid;
  gap: 8px;
  align-content: start;
}
.scard__no {
  font-size: 14px;
  font-weight: 850;
  color: var(--clay);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.scard h3 {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.scard p {
  color: var(--ink-2);
  font-size: 16px;
  max-width: 440px;
}
.scard__shot {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 22px;
  min-height: 0;
}
.scard__shot .phone {
  max-width: 250px;
  height: max-content;
  border-radius: 40px;
  padding: 8px;
}
.scard__shot .phone > img {
  border-radius: 33px;
}
.scard--dark {
  color: var(--card);
}
.scard--dark p {
  color: #e9e3d9;
}
.scard--dark .scard__no {
  color: var(--peach);
}
.scard--dark .phone {
  background: #120e0b;
}
@media (min-width: 900px) {
  .stack {
    gap: 40px;
  }
  .scard {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
  }
  .scard__text {
    padding: 56px;
    align-content: center;
    gap: 14px;
  }
  .scard p {
    font-size: 18px;
  }
  .scard__shot {
    padding-top: 56px;
  }
  .scard__shot .phone {
    max-width: 330px;
  }
}

/* ---------- no-watch flow ---------- */
.nowatch__grid {
  display: grid;
  gap: 18px;
}
.nw-step {
  border-radius: var(--r-lg);
  background: var(--card);
  padding: 24px 22px 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
  overflow: hidden;
}
.nw-step h3 {
  font-size: 20px;
}
.nw-step p {
  color: var(--ink-2);
  font-size: 16px;
}
.nw-step .scard__no {
  margin-bottom: 2px;
}
.nw-shot {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.nw-shot .phone {
  max-width: 250px;
  border-radius: 40px 40px 0 0;
  padding: 8px 8px 0;
  aspect-ratio: 390 / 600;
  overflow: hidden;
  box-shadow: none;
}
.nw-shot .phone > img {
  border-radius: 33px 33px 0 0;
  height: auto;
}
.nw-shot .crop {
  width: 100%;
  max-width: 290px;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
}
.nw-shot .crop > img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 900px) {
  .nowatch__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- carousel of analysis screens ---------- */
.rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.rail-head .sec__head {
  margin: 0;
}
.rail-nav {
  display: none;
  gap: 8px;
  flex: none;
}
.rail-nav button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.rail-nav button:hover {
  background: var(--soft);
}
.rail-nav button:disabled {
  opacity: 0.4;
  cursor: default;
}
.rail-nav svg {
  width: 20px;
  height: 20px;
}
@media (min-width: 900px) {
  .rail-nav {
    display: flex;
  }
}
.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gut);
  padding: 12px var(--gut) 28px;
  margin: 0 calc(var(--gut) * -1);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  align-items: flex-start;
}
.rail::-webkit-scrollbar {
  display: none;
}
@media (min-width: 1224px) {
  .rail {
    padding-inline: calc((100vw - var(--max)) / 2 + var(--gut));
    margin-inline: calc((100vw - var(--max)) / -2 - var(--gut));
    scroll-padding-inline: calc((100vw - var(--max)) / 2 + var(--gut));
  }
}
.tile {
  flex: none;
  scroll-snap-align: start;
  display: grid;
  gap: 16px;
  align-content: start;
  width: 272px;
  padding: 20px 20px 22px;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--card);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.tile:hover,
.tile:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.tile b {
  display: block;
  font-size: 17px;
  line-height: 1.3;
}
.tile span:not(.tile__zoom) {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.tile__frame {
  position: relative;
  border-radius: 34px;
  padding: 7px;
  background: #2a221d;
}
.tile__screen {
  position: relative;
  aspect-ratio: 390 / 844;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg);
}
.tile__screen img {
  width: 100%;
  height: auto;
  transform: translateY(0);
  transition: transform 3.2s cubic-bezier(0.45, 0, 0.25, 1);
}
/* hover: the tall screenshot scrolls inside the phone, like scrolling the real screen */
.tile:hover .tile__screen img,
.tile:focus-visible .tile__screen img {
  transform: translateY(var(--pan, -39.7%));
}
.tile__cap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}
.tile__zoom {
  flex: none;
  margin-top: -2px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--clay);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s var(--ease);
}
.tile__zoom svg {
  width: 20px;
  height: 20px;
}
.tile:hover .tile__zoom,
.tile:focus-visible .tile__zoom {
  background: var(--clay);
  color: #fff;
  transform: scale(1.08);
}
.tile--wide {
  width: min(720px, 86vw);
}
.browser {
  border-radius: 18px;
  overflow: hidden;
  background: #2a221d;
  padding: 0 6px 6px;
}
.browser__bar {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 26px;
  padding: 0 6px;
}
.browser__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5a4d44;
}
.browser__screen {
  aspect-ratio: 1440 / 900;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}
.browser__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 1.2s var(--ease);
  transform-origin: 30% 20%;
}
.tile--wide:hover .browser__screen img,
.tile--wide:focus-visible .browser__screen img {
  transform: scale(1.12);
}
.rail-hint {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- lightbox ---------- */
.lb {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}
.lb::backdrop {
  background: rgba(30, 24, 20, 0.86);
  backdrop-filter: blur(6px);
}
.lb[open] {
  display: grid;
  place-items: center;
  animation: lb-in 0.35s var(--ease);
}
@keyframes lb-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
}
.lb__box {
  position: relative;
  max-height: 92vh;
  max-height: 92svh;
  overflow-y: auto;
  border-radius: 24px;
  background: var(--bg);
  overscroll-behavior: contain;
}
.lb__box img {
  display: block;
  width: 100%;
  height: auto;
}
.lb--phone .lb__box {
  width: min(430px, 92vw);
}
.lb--wide .lb__box {
  width: min(1280px, 94vw);
}
.lb__close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
}
.lb__cap {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  color: #e9e3d9;
  font-size: 14px;
  white-space: nowrap;
}

/* ---------- results ---------- */
.results {
  background: var(--ink);
  color: var(--card);
}
.results .kicker {
  color: var(--peach);
}
.results .sec__head p {
  color: #cfc5ba;
}
.people {
  display: grid;
  gap: 18px;
}
@media (min-width: 900px) {
  .people {
    grid-template-columns: 1fr 1fr;
  }
}
.story-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #362c26;
  padding: 28px;
  display: grid;
  gap: 24px;
}
.story-card::after {
  content: "";
  position: absolute;
  width: 320px;
  aspect-ratio: 1;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 80, 44, 0.45), transparent 70%);
  pointer-events: none;
}
.story-card__who {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cfc5ba;
  font-size: 15px;
}
.story-card__who .ico {
  background: rgba(240, 201, 181, 0.14);
  color: var(--peach);
}
.story-card__who b {
  display: block;
  color: var(--card);
  font-size: 17px;
}
.race {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 12px;
}
.race__t {
  display: grid;
  gap: 4px;
}
.race__t small {
  font-size: 14px;
  color: #cfc5ba;
  font-weight: 700;
}
.race__t b {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.race__t span {
  font-size: 14px;
  color: #cfc5ba;
  font-variant-numeric: tabular-nums;
}
.race__t--before b {
  color: #8f8278;
}
.race__t--after b {
  color: var(--peach);
}
.race__arrow {
  color: var(--peach);
  padding-bottom: 24px;
}
.race__arrow svg {
  width: 28px;
  height: 28px;
}
.gain {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #4a3f37;
  color: #e9e3d9;
  font-size: 16px;
}
.gain b {
  flex: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--clay);
  color: #fff;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.community {
  margin-top: 18px;
  border-radius: var(--r-lg);
  background: var(--card);
  color: var(--ink);
  padding: 28px;
  display: grid;
  gap: 10px;
  align-items: center;
}
.community > b {
  font-size: clamp(56px, 8vw, 84px);
  font-weight: 850;
  line-height: 1;
  color: var(--clay);
  font-variant-numeric: tabular-nums;
}
.community h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.community p {
  color: var(--ink-2);
  max-width: 620px;
}
@media (min-width: 720px) {
  .community {
    grid-template-columns: auto 1fr;
    gap: 36px;
    padding: 32px 40px;
  }
}
.results .fine {
  color: #a99d92;
}

/* ---------- comparison ---------- */
.compare {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
}
.compare table {
  width: 100%;
  min-width: 760px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.4;
}
.compare th,
.compare td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}
.compare thead th {
  font-size: 15px;
  font-weight: 800;
  background: var(--soft);
  vertical-align: bottom;
}
.compare thead th small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 13px;
}
.compare tbody th {
  font-weight: 700;
}
.compare thead th:first-child {
  width: 24%;
}
.compare .us {
  background: var(--tint);
}
.compare thead .us {
  background: var(--clay);
  color: #fff;
}
.compare thead .us small {
  color: #fbe3d8;
}
.mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mark::before {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}
.mark--yes::before {
  content: "✓";
  background: var(--clay);
  color: #fff;
}
.mark--no::before {
  content: "✕";
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
}
.mark--no {
  color: var(--muted);
}
.mark--some::before {
  content: "~";
  background: var(--card);
  color: var(--clay-dark);
  box-shadow: inset 0 0 0 1.5px var(--peach);
  font-size: 16px;
}
.mark small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.mark span b {
  font-weight: 750;
}
.scroll-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 10px;
}
@media (min-width: 900px) {
  .scroll-hint {
    display: none;
  }
}
@media (max-width: 719px) {
  /* phones: every row becomes a card, one line per app */
  .compare {
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  .compare table,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: auto;
  }
  .compare table {
    min-width: 0;
    table-layout: auto;
  }
  .compare thead {
    display: none;
  }
  .compare tbody {
    display: grid;
    gap: 12px;
  }
  .compare tr {
    border-radius: var(--r-md);
    background: var(--card);
    box-shadow: 0 0 0 1px var(--line);
    overflow: hidden;
  }
  .compare tbody th {
    padding: 16px 18px 10px;
    font-size: 17px;
    border: 0;
  }
  .compare td,
  .compare tbody tr:last-child td {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 18px;
    border: 0;
    border-top: 1px solid var(--line);
  }
  .compare td::before {
    content: attr(data-label);
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    line-height: 1.3;
  }
  .compare td.us::before {
    color: var(--clay-dark);
  }
}
.honest {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}
.honest > div {
  border-radius: var(--r-md);
  padding: 24px;
  background: var(--card);
}
.honest h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.honest ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 16px;
  display: grid;
  gap: 6px;
}
@media (min-width: 900px) {
  .honest {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- safety ---------- */
.safety-sec {
  background: var(--sand);
}
.safety {
  display: grid;
  gap: 28px;
  align-items: center;
}
.gates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: g;
}
.gates li {
  counter-increment: g;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: var(--card);
}
.gates li::before {
  content: counter(g);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--clay-dark);
  font-weight: 850;
}
.gates b {
  display: block;
}
.gates span {
  color: var(--muted);
  font-size: 15px;
}
@media (min-width: 900px) {
  .safety {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }
}

/* ---------- pricing teaser + pricing page ---------- */
.price-teaser {
  border-radius: var(--r-lg);
  background: var(--tint);
  padding: 32px 28px;
  display: grid;
  gap: 18px;
  align-items: center;
}
.price-teaser h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}
.price-teaser p {
  color: var(--ink-2);
  margin-top: 8px;
}
@media (min-width: 900px) {
  .price-teaser {
    grid-template-columns: 1fr auto;
    padding: 40px 48px;
  }
}
.page-head {
  padding: 40px 0 8px;
}
.page-head h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 850;
  letter-spacing: -0.035em;
}
.page-head p {
  margin-top: 16px;
  max-width: 620px;
  font-size: 19px;
  color: var(--ink-2);
}
.page-head--center {
  text-align: center;
}
.page-head--center p {
  margin-inline: auto;
}
.banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 28px auto 36px;
  max-width: 760px;
  padding: 16px 20px;
  border-radius: var(--r-sm);
  background: var(--tint);
  color: var(--ink-2);
  font-size: 16px;
  text-align: left;
}
.banner b {
  color: var(--ink);
}
.plans {
  display: grid;
  gap: 18px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
}
.plan {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 12px;
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
}
.plan--main {
  background: var(--ink);
  color: var(--card);
  box-shadow: var(--shadow);
}
.plan__tag {
  position: absolute;
  top: 24px;
  right: 22px;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--clay);
  color: #fff;
}
.plan h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
}
.plan__for {
  color: var(--muted);
  font-size: 15px;
}
.plan--main .plan__for {
  color: #cfc5ba;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.plan__price b {
  font-size: 44px;
  font-weight: 850;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.plan__price span {
  color: var(--muted);
  font-size: 15px;
}
.plan--main .plan__price span {
  color: #cfc5ba;
}
.plan__alt {
  font-size: 14px;
  color: var(--muted);
  min-height: 22px;
}
.plan--main .plan__alt {
  color: var(--peach);
}
.plan ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  align-content: start;
  font-size: 16px;
}
.plan--main ul {
  border-color: #4a3f37;
}
.plan li {
  position: relative;
  padding-left: 26px;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--clay);
  border-bottom: 2.5px solid var(--clay);
  transform: rotate(-45deg);
}
.plan--main li::before {
  border-color: var(--peach);
}
.plan .btn {
  width: 100%;
  margin-top: 12px;
}
.plan--main .btn--clay {
  background: var(--card);
  color: var(--ink);
}
.cost {
  margin-top: 56px;
  display: grid;
  gap: 18px;
}
.cost__box {
  border-radius: var(--r-lg);
  background: var(--card);
  padding: 28px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.cost__box h3 {
  font-size: 22px;
}
.cost__box p {
  color: var(--ink-2);
}
@media (min-width: 900px) {
  .cost {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-radius: var(--r-sm);
  background: var(--card);
  padding: 0 22px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 750;
  font-size: 17px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--muted);
  border-bottom: 2.5px solid var(--muted);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(225deg);
}
.faq details p {
  padding: 0 0 20px;
  color: var(--ink-2);
}

/* ---------- closing ---------- */
.close__box {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--clay);
  color: #fff;
  padding: 52px 24px;
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}
.close__box::before {
  content: "";
  position: absolute;
  width: 520px;
  aspect-ratio: 1;
  right: -200px;
  top: -260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.close__box h2 {
  font-size: clamp(32px, 5vw, 54px);
  max-width: 720px;
}
.close__box p {
  max-width: 520px;
  color: #fbe3d8;
}
.close__box .hero__cta {
  justify-content: center;
  margin-top: 8px;
}
.close__box .btn--clay {
  background: #fff;
  color: var(--clay-dark);
}
.close__box .btn--ghost {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}

/* ---------- footer ---------- */
.foot {
  margin-top: 24px;
  padding: 56px 0 calc(28px + env(safe-area-inset-bottom));
  background: var(--sand);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  color: var(--ink-2);
}
.foot__grid {
  display: grid;
  gap: 40px;
}
.foot__brand {
  display: grid;
  gap: 14px;
  justify-items: start;
  max-width: 34ch;
}
.foot__brand .logo {
  font-size: 22px;
}
.foot__brand p {
  color: var(--ink-2);
  font-size: 16px;
}
.foot__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
}
.foot__col h2 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot__col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.foot__col a:hover {
  color: var(--clay);
}
.foot__bar {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 14px;
}
.foot__tm {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.foot__lang {
  display: inline-flex;
  margin-left: auto;
  padding: 4px;
  border-radius: 999px;
  background: var(--soft);
}
.foot__lang a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.foot__lang a[aria-current="true"] {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(42, 34, 29, 0.12);
  pointer-events: none;
}
@media (max-width: 559px) {
  .foot__note {
    flex-basis: 100%;
    order: 3;
  }
  .foot__lang {
    margin-left: auto;
  }
}
@media (min-width: 900px) {
  .foot {
    padding-top: 72px;
  }
  .foot__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
    gap: 64px;
  }
  .foot__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- reveal on scroll (only with JS) ---------- */
.js .rise {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.9s var(--ease);
}
.js .rise.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 559px) {
  .tabs {
    flex-wrap: wrap;
    width: auto;
    border-radius: 24px;
  }
  .tab {
    flex: 1 1 auto;
    padding: 0 14px;
  }
}

/* ---------- demo video ---------- */
.watch {
  background: var(--ink);
  color: var(--card);
}
.watch .kicker {
  color: #f0b89c;
}
.watch h2 {
  color: var(--card);
}
.watch__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.watch__lead {
  margin-top: 12px;
  color: #d9d0c4;
  font-size: 17px;
  max-width: 34ch;
}
.chapters {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.chapters button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #d9d0c4;
  font: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
.chapters button span {
  min-width: 2.6em;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  opacity: 0.6;
}
.chapters button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.chapters button.is-on {
  background: rgba(240, 184, 156, 0.14);
  color: #fff;
  font-weight: 700;
}
.chapters button.is-on span {
  color: #f0b89c;
  opacity: 1;
}
.watch__phone {
  position: relative;
  display: flex;
  justify-content: center;
}
.watch__phone .phone {
  max-width: 320px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.watch__phone video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  object-fit: cover;
  object-position: top;
  background: var(--bg);
}
.watch__toggle {
  position: absolute;
  bottom: 18px;
  right: max(4px, calc(50% - 180px));
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--clay);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.watch__toggle svg {
  width: 20px;
  height: 20px;
}
.watch__toggle .i-play,
.watch__toggle.is-paused .i-pause {
  display: none;
}
.watch__toggle.is-paused .i-play {
  display: block;
}
@media (min-width: 900px) {
  .watch__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

/* ---------- install guide ---------- */
.install {
  margin-top: 32px;
}
.install__panel {
  padding: 24px;
}
.install__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
  counter-reset: st;
}
.install__steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.install__steps .ico svg {
  width: 22px;
  height: 22px;
}
.install__steps b {
  display: block;
  font-size: 17px;
}
.install__steps span:not(.ico) {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 15px;
}
.install__note {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
@media (min-width: 900px) {
  .install__steps {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 20px;
  }
  .install__steps li {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ---------- the name page ---------- */
.name-hero {
  padding: calc(var(--nav) + 48px) 0 24px;
  text-align: center;
}
.name-hero__word {
  margin: 18px 0 0;
  display: flex;
  justify-content: center;
  gap: 0.02em;
  font-size: clamp(64px, 17vw, 200px);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.name-hero__word span {
  display: inline-block;
  animation: name-in 0.8s var(--ease) both;
}
.name-hero__word span:nth-child(2) {
  animation-delay: 0.06s;
}
.name-hero__word span:nth-child(3) {
  animation-delay: 0.12s;
}
.name-hero__word span:nth-child(4) {
  animation-delay: 0.18s;
}
.name-hero__word span:nth-child(5) {
  animation-delay: 0.24s;
}
.name-hero__word span:nth-child(6) {
  animation-delay: 0.3s;
}
.name-hero__word span:nth-child(7) {
  animation-delay: 0.36s;
}
@keyframes name-in {
  from {
    opacity: 0;
    transform: translateY(0.25em);
  }
}
@media (prefers-reduced-motion: reduce) {
  .name-hero__word span {
    animation: none;
  }
}
.name-hero__lead {
  margin: 22px auto 0;
  max-width: 34ch;
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--ink-2);
}
.name-hero__hint {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}
.name-letters {
  padding-top: 24px;
}
.name-letters__grid {
  display: grid;
  gap: 8px;
}
.name-word {
  position: sticky;
  top: var(--nav);
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 2px;
  margin: 0 calc(var(--gut) * -1);
  padding: 10px 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.02em;
}
.name-word span {
  color: var(--line);
  transition:
    color 0.35s ease,
    transform 0.35s var(--ease);
}
.name-word span.is-on {
  color: var(--clay);
  transform: translateY(-2px);
}
.name-word span.is-done {
  color: var(--ink);
}
.ltrs {
  display: grid;
  gap: 18px;
}
.ltr {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 28px 24px 0;
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
  scroll-margin-top: calc(var(--nav) + 70px);
}
.ltr__big {
  position: absolute;
  z-index: 0;
  top: -46px;
  right: -8px;
  font-size: 120px;
  font-weight: 850;
  line-height: 1;
  color: var(--tint);
  pointer-events: none;
}
.ltr__text {
  position: relative;
}
.ltr h3,
.ltr p {
  position: relative;
  z-index: 1;
}
.ltr h3 {
  font-size: 30px;
  letter-spacing: -0.02em;
}
.ltr h3 b {
  color: var(--clay);
}
.ltr__vi {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.ltr p {
  margin-top: 10px;
  max-width: 44ch;
  color: var(--ink-2);
  font-size: 17px;
}
.ltr__shot {
  display: flex;
  justify-content: center;
}
.ltr__shot .phone {
  max-width: 270px;
  aspect-ratio: 390 / 560;
  border-radius: 40px 40px 0 0;
  padding: 8px 8px 0;
  overflow: hidden;
  box-shadow: none;
}
.ltr__shot .phone > img {
  height: auto;
  border-radius: 33px 33px 0 0;
}
@media (min-width: 900px) {
  .name-letters__grid {
    grid-template-columns: 300px 1fr;
    gap: 56px;
    align-items: start;
  }
  .name-word {
    top: calc(var(--nav) + 40px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 0;
    background: none;
    backdrop-filter: none;
    font-size: 84px;
    line-height: 0.92;
  }
  .ltr {
    grid-template-columns: 1fr 260px;
    align-items: end;
    padding: 40px 40px 0;
    min-height: 440px;
  }
  .ltr__text {
    align-self: center;
    padding-bottom: 40px;
  }
  .ltr__big {
    font-size: 220px;
    right: 20px;
    top: -0.2em;
  }
}
.name-why__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.name-why__mark {
  width: 120px;
  height: 120px;
}
.name-why h2 {
  margin-top: 8px;
}
.name-why p {
  margin-top: 14px;
  max-width: 52ch;
  font-size: 17px;
  color: var(--ink-2);
}
.name-why__old {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 15px !important;
  color: var(--muted) !important;
}
@media (min-width: 900px) {
  .name-why__grid {
    grid-template-columns: 220px 1fr;
    gap: 56px;
  }
  .name-why__mark {
    width: 200px;
    height: 200px;
  }
}

/* ---------- privacy and terms ---------- */
.legal__wrap {
  max-width: calc(780px + var(--gut) * 2);
  padding-top: 16px;
  padding-bottom: 24px;
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-left: -8px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.legal__back:hover {
  background: var(--soft);
}
.legal h1 {
  margin-top: 16px;
  font-size: clamp(34px, 6vw, 52px);
}
.legal__lead {
  margin-top: 14px;
  max-width: 52ch;
  font-size: 18px;
  color: var(--ink-2);
}
.legal__date {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.legal__cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.legal__cards div {
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--tint);
}
.legal__cards h2 {
  font-size: 17px;
  letter-spacing: -0.01em;
}
.legal__cards p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink-2);
}
.legal__ai,
.legal__sec {
  margin-top: 12px;
  padding: 24px 22px;
  border-radius: var(--r-md);
  background: var(--card);
}
.legal__ai {
  margin-top: 28px;
  box-shadow: inset 0 0 0 2px var(--clay);
}
.legal__ai h2 {
  margin-top: 8px;
  font-size: 24px;
}
.legal__sec h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
}
.legal__sec h2 span {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--clay-dark);
  font-size: 15px;
}
.legal__ai ul,
.legal__sec ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.legal__ai li,
.legal__sec li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}
.legal__ai li::before,
.legal__sec li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--peach);
}
.legal a {
  color: var(--clay-dark);
  font-weight: 700;
}
.legal__also {
  margin-top: 24px;
}
@media (min-width: 720px) {
  .legal__cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .legal__ai,
  .legal__sec {
    padding: 32px;
  }
}
/* inside the installed app: no site menu or footer, just the text and Back */
.in-app .nav,
.in-app .foot,
.in-app .legal__also {
  display: none;
}
.in-app .legal__wrap {
  padding-top: calc(16px + env(safe-area-inset-top));
}
