/* LilCoach v2 — standalone site (lilcoach.app).
   Built from the app's own design system: Sora / DM Sans, coral scheme, app surfaces and radii,
   nature illustrations from the app, and the app's day tiles (rounded squares with a corner badge).
   v2 states on a tile: done = filled + check, minimum = half-filled + check, missed = dashed,
   comeback = return badge. */

@font-face {
  font-family: "Sora";
  src: url("/lilcoach/assets/fonts/sora.woff") format("woff");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/lilcoach/assets/fonts/dmsans.woff") format("woff");
  font-weight: 100 1000;
  font-display: swap;
}

/* Cyrillic and Vietnamese: Inter from the app (Sora and DM Sans have no glyphs for them) */
@font-face {
  font-family: "Inter LC";
  src: url("/lilcoach/assets/fonts/inter-cyr.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0400-045F, U+0490-0491, U+2013-2026, U+20AC, U+2116, U+2212;
}
@font-face {
  font-family: "Inter LC";
  src: url("/lilcoach/assets/fonts/inter-vi.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-024F, U+0300-0323, U+1EA0-1EFF, U+20AB;
}

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

:root {
  color-scheme: light;
  /* App light surfaces + default coral scheme */
  --bg: #f2f4f8;
  --bg-alt: #e9ecf2;
  --surface: #ffffff;
  --surface-soft: #f7f8fa;
  --ink: #111827;
  --muted: #5f6977;
  --line: #e3e7ed;
  --line-strong: #c3cad5;
  --coral: #ff6b5b;
  --coral-line: #ff8a7e;
  --coral-soft: #ffe9e5;
  --coral-half: #ffc3bb;
  --mint: #2ebe6b;
  --btn: #c63b2d;
  --btn-ink: #ffffff;
  --link: #b0362a;
  --shadow-card: 0 1px 2px rgba(17, 24, 39, 0.04), 0 12px 32px -12px rgba(17, 24, 39, 0.14);
  --shadow-phone: 0 30px 60px -24px rgba(17, 24, 39, 0.45);
  --header: rgba(242, 244, 248, 0.86);
  /* week-strip tiles, as in the app */
  --tile-bg: #eef1f5;
  --tile-line: #d3d9e2;
  --tile-num: #5f6878;
  --tile-done-bg: #fff1ee;
  --tile-done-line: #ffc9c1;
  --tile-today-bg: #ffe3dd;
  --tile-progress: #ff7a6a;
  --glass: rgba(255, 255, 255, 0.72);

  --font-display: "Sora", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --gutter: 24px;
  --r-control: 12px;
  --r-button: 14px;
  --r-card: 18px;
  --r-hero: 28px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #05070b;
  --bg-alt: #0b1017;
  --surface: #101720;
  --surface-soft: #151e2a;
  --ink: #f4f6fa;
  --muted: #aab4c3;
  --line: #222c3a;
  --line-strong: #3a4659;
  --coral: #f08c80;
  --coral-line: #e98c80;
  --coral-soft: #2a1a1a;
  --coral-half: #8a4a44;
  --mint: #72bbaf;
  --btn: #f08c80;
  --btn-ink: #1b0e0b;
  --link: #f4a196;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 16px 40px -16px rgba(0, 0, 0, 0.8);
  --shadow-phone: 0 30px 70px -24px rgba(0, 0, 0, 0.9);
  --header: rgba(5, 7, 11, 0.86);
  --tile-bg: #232932;
  --tile-line: #444b56;
  --tile-num: #9199a5;
  --tile-done-bg: #2a2426;
  --tile-done-line: #5c3f3d;
  --tile-today-bg: #4a2f2e;
  --tile-progress: #e8a198;
  --glass: rgba(16, 23, 32, 0.74);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; }
h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.lede { color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; max-width: 34em; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100;
  padding: 10px 14px; border-radius: var(--r-control); background: var(--btn); color: var(--btn-ink);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- header */

.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--font-display); letter-spacing: -0.02em; }
.brand img { border-radius: 10px; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 16px; }
.nav a:hover { color: var(--ink); }

.top-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--r-button); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
  box-shadow: var(--shadow-card);
}
.icon-btn svg { width: 19px; height: 19px; }
.i-moon, html[data-theme="dark"] .i-sun { display: none; }
html[data-theme="dark"] .i-moon { display: block; }
.menu-btn { display: none; }
.i-close, .menu-btn[aria-expanded="true"] .i-menu { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: var(--r-button);
  background: var(--btn); color: var(--btn-ink);
  font-weight: 700; text-decoration: none; border: 0;
}
.btn:hover { filter: brightness(1.06); }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 15px; }

.text-link { color: var(--link); font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- day tiles (app vocabulary) */

.tile {
  --s: 52px;
  position: relative; flex: none;
  display: inline-grid; place-items: center;
  width: var(--s); height: var(--s);
  border-radius: calc(var(--s) * 0.21);
  background: var(--tile-bg);
  box-shadow: inset 0 0 0 max(1.5px, calc(var(--s) * 0.04)) var(--tile-line);
  font: 600 calc(var(--s) * 0.36)/1 var(--font-display);
  color: var(--tile-num);
}
.tile-num { position: relative; }
.tile-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tile-ring rect { fill: none; stroke: var(--tile-progress); stroke-width: 7; stroke-linecap: round; }
.tile-done, .tile-minimum { background: var(--tile-done-bg); color: var(--ink); box-shadow: inset 0 0 0 max(1.5px, calc(var(--s) * 0.04)) var(--tile-done-line); }
.tile-today { background: var(--tile-today-bg); color: var(--ink); box-shadow: inset 0 0 0 max(1.5px, calc(var(--s) * 0.04)) var(--tile-done-line); }
.tile-missed, .tile-quiet { color: var(--tile-num); }

.badge {
  position: absolute; top: calc(var(--s) * -0.2); right: calc(var(--s) * -0.2);
  display: grid; place-items: center;
  width: calc(var(--s) * 0.42); height: calc(var(--s) * 0.42); min-width: 13px; min-height: 13px;
  border-radius: 50%; color: #fff;
  box-shadow: 0 0 0 2px var(--surface);
}
.badge svg { width: 68%; height: 68%; stroke-width: 3.2; }
.badge-check { background: var(--mint); }
.badge-return { background: var(--coral); }
html[data-theme="dark"] .badge { color: #0b0f15; }
html[data-theme="dark"] .badge-check { background: #4cb88c; }

.tile-sm { --s: 30px; }
.tile-xs { --s: 18px; }
.tile-xs .badge { top: -5px; right: -5px; min-width: 11px; min-height: 11px; width: 11px; height: 11px; box-shadow: 0 0 0 1.5px var(--bg); }
.tile-xs .badge svg { stroke-width: 4; }

/* ---------------------------------------------------------------- scenes (app illustrations) */

.scene { position: absolute; overflow: hidden; border-radius: var(--r-hero); }
.scene img { width: 100%; height: 100%; object-fit: cover; }
.scene-dark, html[data-theme="dark"] .scene-light { display: none; }
html[data-theme="dark"] .scene-dark { display: block; }

/* ---------------------------------------------------------------- hero: one main banner image */

.banner { margin: 0; }
.banner h1 { margin: 0; max-width: none; font-size: inherit; line-height: 0; }
.banner img {
  width: 100%; height: auto; border-radius: var(--r-hero);
  box-shadow: var(--shadow-card); background: var(--surface-soft);
}
.hero-row {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: clamp(28px, 4vw, 48px);
}
.hero-row .week { margin: 0; }
.hero-row .week-card .tile { --s: clamp(34px, 3.6vw, 52px); }
.hero-row .week figcaption { font-size: clamp(16px, 1.4vw, 18px); }
.hero-copy h1 { font-size: clamp(32px, 3.9vw, 48px); line-height: 1.06; letter-spacing: -0.035em; max-width: 12em; margin-bottom: 16px; }
.hero-copy .lede { margin-top: 0; }

.hero { padding: clamp(16px, 3vw, 32px) 0 clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }

.steps { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 24px; color: var(--muted); font-weight: 600; font-size: 15px; }
.steps li { display: inline-flex; align-items: center; gap: 10px; }

h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 12em;
}
.hero .lede { margin-top: 0; }
.hero .stores { margin-top: 26px; }
.hero .text-link { display: inline-block; margin-top: 20px; }

/* stores */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stores.is-center { justify-content: center; }
.store-play img { height: 54px; width: auto; }
.store-play { border-radius: 10px; }
.store-apple {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 18px 0 14px; border-radius: 10px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid #a6a6a6;
}
.store-apple .apple-mark { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.store-apple span { display: grid; line-height: 1.1; }
.store-apple small { font-size: 11px; letter-spacing: 0.02em; }
.store-apple strong { font-size: 19px; font-weight: 600; }
.store-apple.is-soon { opacity: 0.55; }
html[data-theme="dark"] .store-apple { border-color: #3a3a3a; }

/* phone + placeholder */
.shot { position: relative; margin: 0; display: flex; justify-content: center; }
.shot.has-scene { padding: clamp(20px, 2.6vw, 32px) 0; }
.shot.has-scene .scene { inset: 0; }
.phone {
  /* --pw: the phone's outer width. Every frame size derives from it. */
  --pw: min(270px, 70vw);
  position: relative;
  width: var(--pw);
  aspect-ratio: 1320 / 2868;
  border-radius: calc(var(--pw) * 0.15);
  background: var(--surface);
  box-shadow: var(--shadow-phone);
  overflow: hidden;
}
.phone .shot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot-dark, html[data-theme="dark"] .shot-light { display: none; }
html[data-theme="dark"] .shot-dark { display: block; }

/* Device frame around a real screenshot (iPhone 16 Pro Max proportions, drawn in CSS). */
.phone.has-frame {
  --bezel: calc(var(--pw) * 0.034);
  aspect-ratio: auto;
  overflow: visible;
  padding: var(--bezel);
  border-radius: calc(var(--pw) * 0.165);
  background: #0b0d12;
  box-shadow:
    inset 0 0 0 1.5px #3b4250,
    inset 0 0 0 3px #12151b,
    var(--shadow-phone);
}
.phone.has-frame .screen {
  position: relative;
  aspect-ratio: 1320 / 2868;
  border-radius: calc(var(--pw) * 0.165 - var(--bezel));
  overflow: hidden;
  background: #000;
}
/* Dynamic Island: 126 x 37 pt, 11 pt from the top of a 440 x 956 pt screen. */
.phone .island {
  position: absolute;
  top: calc(var(--bezel) + (var(--pw) - 2 * var(--bezel)) * 0.025);
  left: 50%;
  width: calc((var(--pw) - 2 * var(--bezel)) * 0.286);
  height: calc((var(--pw) - 2 * var(--bezel)) * 0.084);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}
/* side buttons: action + volume on the left, power on the right */
.phone.has-frame::before,
.phone.has-frame::after {
  content: "";
  position: absolute;
  width: calc(var(--pw) * 0.012);
  border-radius: 2px;
  background: #2a2f39;
}
.phone.has-frame::before {
  left: calc(var(--pw) * -0.01);
  top: 18%;
  height: 4.5%;
  box-shadow: 0 calc(var(--pw) * 0.13) 0 0 #2a2f39, 0 calc(var(--pw) * 0.26) 0 0 #2a2f39;
}
.phone.has-frame::after { right: calc(var(--pw) * -0.01); top: 26%; height: 10%; }

.phone.is-placeholder {
  background: var(--glass);
  border: 6px solid var(--glass);
  outline: 1.5px dashed var(--line-strong);
  outline-offset: -14px;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 28px; text-align: center; }
.ph-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-control);
  background: var(--coral-soft); border: 2px solid var(--coral-line);
  font: 700 17px/1 var(--font-display); color: var(--ink);
}
.ph-cap { font: 700 17px/1.3 var(--font-display); color: var(--ink); max-width: 12em; }
.ph-meta, .ph-pending { font-size: 13px; color: var(--muted); }

/* week card: the app's week strip, with v2 states */
.week { margin: clamp(40px, 6vw, 72px) 0 0; }
.week-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-hero);
  box-shadow: var(--shadow-card);
  padding: clamp(18px, 2.6vw, 30px) clamp(12px, 3vw, 40px) clamp(18px, 2.6vw, 28px);
}
.week-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day { display: grid; justify-items: center; row-gap: 12px; }
.week-card .tile { --s: clamp(38px, 6vw, 72px); }
.day-name { font-size: clamp(13px, 1.3vw, 16px); font-weight: 500; color: var(--muted); }
.week figcaption {
  margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px;
  font: 700 clamp(17px, 1.7vw, 21px)/1.4 var(--font-display); letter-spacing: -0.015em;
}
.legend { display: flex; flex-wrap: wrap; gap: 10px 20px; font: 500 14px/1 var(--font-body); color: var(--muted); align-items: center; letter-spacing: 0; }
.legend li { display: inline-flex; align-items: center; gap: 9px; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero .week-card .tile { opacity: 0; transform: scale(0.7); }
  .js .hero.is-in .week-card .tile {
    animation: pop 520ms cubic-bezier(.2, .9, .3, 1.25) forwards;
    animation-delay: calc(var(--i) * 110ms + 200ms);
  }
  .js .hero .week-card .badge-return { opacity: 0; transform: scale(0.4); }
  .js .hero.is-in .week-card .badge-return { animation: pop 480ms cubic-bezier(.2, .9, .3, 1.4) 1150ms forwards; }
}
@keyframes pop { to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- sections */

.feature, .band { padding: clamp(48px, 5.5vw, 80px) 0; }
/* neighbouring plain sections share one gap instead of stacking two */
.feature + .feature { padding-top: 0; }
.band { background: var(--bg-alt); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 32px; }

.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split.is-flipped { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.split.is-flipped .split-copy { order: 2; }
.split-copy { display: grid; gap: 20px; align-content: start; }

.ticks { display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.ticks svg {
  width: 22px; height: 22px; margin-top: 2px; padding: 4px; border-radius: 7px;
  background: var(--coral-soft); color: var(--coral); stroke-width: 3;
}

/* why */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px clamp(32px, 5vw, 72px); align-items: end; }
.why-grid .usp { grid-column: 1 / -1; }
.why-grid > h2 { grid-column: 1; }
.why-grid .why-turn { grid-row: 1; grid-column: 2; display: flex; align-items: center; gap: 16px; }
.why-grid .why-turn p { max-width: 15em; font-size: 17px; }
.why-grid .faces img { width: 72px; }
.why-grid h2 { grid-column: 1; max-width: 16em; }
.why-lines { display: grid; align-content: start; }
.why-lines li {
  padding: 16px 0; border-top: 1px solid var(--line-strong);
  font: 600 clamp(17px, 1.6vw, 20px)/1.4 var(--font-display); letter-spacing: -0.01em;
}
.why-lines li:last-child { border-bottom: 1px solid var(--line-strong); }
.usp { display: grid; gap: 18px; justify-items: start; }
.usp-table { width: 100%; border-collapse: collapse; }
.usp-table caption { text-align: left; font: 800 clamp(18px, 1.7vw, 21px)/1.3 var(--font-display); letter-spacing: -0.01em; padding-bottom: 12px; }
.usp-table th, .usp-table td { padding: 14px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line-strong); }
.usp-table thead th, .usp-table thead td { border-top: 0; padding-top: 0; padding-bottom: 10px; font: 700 14px/1.3 var(--font-body); color: var(--muted); }
.usp-table thead th.usp-us { color: var(--link); }
.usp-table tbody tr:last-child > * { border-bottom: 1px solid var(--line-strong); }
.usp-table tbody th { font: 600 15px/1.4 var(--font-body); color: var(--muted); width: 18%; padding-left: 0; }
.usp-none { display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: var(--line-strong); vertical-align: middle; }
.usp-toggle { display: none; }
.usp-table td.usp-them { color: var(--muted); font-size: 16px; line-height: 1.45; width: 20%; }
.usp-table td.usp-us { font: 700 clamp(16px, 1.45vw, 18px)/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.usp-cell { display: flex; gap: 10px; align-items: flex-start; }
.usp-table td.usp-us svg { flex: none; width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 7px; background: var(--coral-soft); color: var(--coral); stroke-width: 3; }
@media (max-width: 640px) {
  .usp-table thead { display: none; }
  .usp-table, .usp-table tbody, .usp-table tr, .usp-table caption { display: block; }
  .usp-table tr { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); padding: 12px 0; }
  .usp-table tbody tr:last-child { border-bottom: 1px solid var(--line-strong); }
  .usp-table th, .usp-table td { border: 0 !important; padding: 3px 0; width: auto !important; }
  .usp-table td.usp-them::before { content: attr(data-label); font-weight: 600; }
  .usp-table td.usp-them { display: none; font-size: 15px; }
  .usp-table.is-comparing td.usp-them { display: block; }
  .usp-table tbody th { order: -2; }
  .usp-table td.usp-us { order: -1; }
  .usp-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 15px/1 var(--font-body);
  }
  .usp-toggle[aria-pressed="true"] { background: var(--coral-soft); border-color: var(--coral-line); }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid .why-turn { grid-row: auto; grid-column: auto; }
  .usp-table tbody th { color: var(--ink); font-weight: 700; }
}
.who-grid { align-items: start; }
.who-other { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 32em; }
.who .split-copy { display: grid; gap: 16px; justify-items: start; }
.who-fits .small-h { margin-bottom: 10px; }

/* Pro AI Trainer: concrete examples of changes the user reviews before applying. */
.coach-actions-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.coach-actions-head > div { max-width: 760px; }
.coach-actions-eyebrow { margin-bottom: 10px; color: var(--link); font: 800 12px/1.2 var(--font-body); letter-spacing: .12em; }
.coach-actions-head h2 { max-width: 18em; margin-bottom: 12px; }
.coach-actions-head .lede { max-width: 45em; }
.coach-actions-badge { flex: none; padding: 9px 14px; border: 1px solid var(--coral-line); border-radius: 999px; background: var(--coral-soft); color: var(--link); font: 800 13px/1 var(--font-body); }
.coach-actions-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; }
.coach-action-card { display: grid; align-content: start; gap: 12px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow-card); }
.coach-action-n { color: var(--link); font: 800 13px/1 var(--font-display); }
.coach-action-pair { display: grid; gap: 10px; }
.coach-action-say, .coach-action-do { min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); }
.coach-action-do { background: var(--coral-soft); border-color: var(--coral-line); }
.coach-action-say > span, .coach-action-do > span { display: block; margin-bottom: 6px; color: var(--muted); font: 800 11px/1.25 var(--font-body); letter-spacing: .07em; text-transform: uppercase; }
.coach-action-do > span { color: var(--link); }
.coach-action-say p, .coach-action-do p { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.coach-action-arrow { height: 16px; color: var(--muted); }
.coach-action-arrow svg { width: 18px; height: 18px; transform: rotate(90deg); stroke-width: 1.8; }
.coach-actions-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.coach-actions-note { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.coach-actions-note svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: var(--coral-soft); color: var(--coral); stroke-width: 3; }
.coach-actions-offer { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; white-space: nowrap; }
@media (max-width: 980px) { .coach-actions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .coach-actions-head, .coach-actions-foot { align-items: flex-start; flex-direction: column; }
  .coach-actions-grid { grid-template-columns: 1fr; }
  .coach-action-card { padding: 16px; }
  .coach-actions-offer { align-items: flex-start; flex-direction: column; white-space: normal; }
}
/* USP block: what got in the way -> one change -> 3-day check */
.fix-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.fix-steps { display: grid; gap: 0; margin-top: 4px; }
.fix-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-strong); }
.fix-steps li:last-child { border-bottom: 1px solid var(--line-strong); }
.fix-steps strong { display: block; font: 700 clamp(17px, 1.5vw, 19px)/1.3 var(--font-display); letter-spacing: -0.01em; }
.fix-steps span:not(.fix-n) { display: block; color: var(--muted); font-size: 16px; line-height: 1.5; margin-top: 4px; }
.fix-n {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--coral-soft); color: var(--link); font: 800 15px/1 var(--font-display);
}
.fx-ask { font: 700 15px/1.3 var(--font-body); }
.fx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -4px; }
.fx-chip {
  min-height: 40px; padding: 0 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 14px/1.2 var(--font-body);
}
.fx-chip:hover { border-color: var(--coral-line); }
.fx-chip[aria-pressed="true"] { background: var(--coral-soft); border-color: var(--coral); color: var(--ink); }
.fx-try { color: var(--muted); font-size: 15px; font-weight: 600; margin-top: -2px; }
.fx-try[hidden], .fx-snack[hidden], .fx-check[hidden] { display: none; }
.cc-btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.fx-snack {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px;
  border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 15px; animation: cc-in 220ms ease;
}
.fx-snack button { min-height: 40px; padding: 0 8px; border: 0; background: none; color: var(--coral); font: 700 15px/1 var(--font-body); cursor: pointer; }
.fx-check { animation: cc-in 260ms ease; }
.fx-check .cc-label { display: inline-flex; gap: 8px; align-items: center; }
.fx-week { gap: 10px; }
.fx-later:disabled { opacity: 0.5; cursor: default; }
.fx-later:not(:disabled) { border-color: var(--coral-line); background: var(--coral-soft); }
.fix-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 3vw, 32px); margin-top: clamp(32px, 4vw, 56px); }
.fix-shots .shot { min-width: 0; }
.fix-shots .phone { --pw: min(240px, 38vw); }
.fix-shots .ph { padding: 12px; gap: 6px; }
@media (max-width: 980px) { .fix-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .fix-shots .ph-meta, .fix-shots .ph-pending { display: none; } .fix-shots .ph-cap { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .fx-snack, .fx-check { animation: none; } }
.why-turn { display: grid; gap: 20px; align-content: center; justify-items: start; }
.why-turn p { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; max-width: 22em; }
.faces { display: flex; align-items: center; gap: 14px; }
.faces img { width: 104px; height: auto; }
.faces-arrow { color: var(--coral); }
.faces-arrow svg { width: 30px; height: 30px; stroke-width: 2.4; transform: scaleX(-1); }

/* comeback card choices: like the app's card buttons */
.choices { display: grid; gap: 10px; }
.choices li {
  display: grid; grid-template-columns: 10em 1fr; gap: 14px; align-items: center;
  padding: 14px 18px; border-radius: var(--r-button); background: var(--surface); border: 1px solid var(--line);
}
.choices li:first-child { background: var(--coral-soft); border-color: var(--coral-line); }
.choices strong { font: 700 16px/1.3 var(--font-display); }
.choices span { color: var(--muted); }
.hard-day { padding: 20px 22px; border-radius: var(--r-card); background: var(--surface-soft); border: 1px solid var(--line); display: grid; gap: 6px; }
.hard-day p { color: var(--muted); }
.small-h { font-size: 16px; margin-top: 4px; }
.dots { display: grid; gap: 8px; color: var(--muted); }
.dots li { display: grid; grid-template-columns: 20px 1fr; align-items: baseline; }
.dots li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; border: 2px solid var(--coral-line); background: var(--coral-soft); }

/* interactive Coach demo (app cards with working buttons) */
.demo { display: grid; gap: 14px; }
.demo-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px;
  border-radius: var(--r-button); background: var(--surface-soft); border: 1px solid var(--line);
}
.demo-tab {
  min-height: 40px; padding: 0 8px; border: 0; border-radius: 10px; cursor: pointer;
  background: transparent; color: var(--muted); font: 600 14px/1.2 var(--font-body);
}
.demo-tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-card); }
.demo-tab:hover { color: var(--ink); }

.coach-card {
  display: grid; gap: 14px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card);
}
.cc-label {
  justify-self: start; padding: 5px 10px; border-radius: 999px;
  background: var(--coral-soft); color: var(--link); font: 700 13px/1 var(--font-body);
}
.cc-habit { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; }
.cc-emoji {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  background: var(--surface-soft); border: 1px solid var(--line); font-size: 22px; line-height: 1;
}
.cc-habit h3 { font-size: 18px; line-height: 1.3; }
.cc-habit p { color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 4px; }
.cc-actions { display: grid; gap: 8px; }
.cc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-row-3 { grid-template-columns: repeat(3, 1fr); }
.cc-btn {
  min-height: 48px; padding: 0 12px; border-radius: var(--r-button); cursor: pointer;
  border: 1px solid var(--line); background: var(--surface-soft); color: var(--ink);
  font: 700 15px/1.2 var(--font-body);
  transition: transform 120ms ease, background-color 160ms ease, border-color 160ms ease;
}
.cc-btn.is-primary { min-height: 52px; background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.cc-btn.is-soft { background: var(--coral-soft); border-color: var(--coral-line); }
.cc-btn:hover { border-color: var(--coral-line); }
.cc-btn:active, .cc-choice:active { transform: scale(0.97); }
.cc-btn[aria-pressed="true"] { box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 35%, transparent); }
.cc-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-choice {
  display: grid; gap: 2px; justify-items: start; min-height: 64px; padding: 10px 14px; cursor: pointer; text-align: left;
  border-radius: var(--r-button); border: 1px solid var(--line); background: var(--surface-soft); color: var(--ink);
  font: 700 15px/1.25 var(--font-body);
}
.cc-choice span + span { font-weight: 500; color: var(--muted); font-size: 14px; }
.cc-choice.is-min { background: var(--coral-soft); border: 2px solid var(--coral-line); }
.cc-choice[aria-pressed="true"] { box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 35%, transparent); }
.cc-link { color: var(--link); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.cc-pro { padding: 2px 8px; border-radius: 999px; background: var(--surface-soft); border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.cc-result {
  display: grid; gap: 12px; padding: 14px 16px; border-radius: var(--r-button);
  background: var(--surface-soft); border: 1px dashed var(--line-strong);
  animation: cc-in 260ms ease;
}
.cc-result p { font-weight: 600; }
@keyframes cc-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cc-result, .demo-sheet { animation: none; } }
.cc-week { display: flex; gap: 14px; }
.cc-week li { display: grid; justify-items: center; gap: 6px; }
.cc-week-7 { justify-content: space-between; gap: 4px; }
.cc-day { font-size: 12px; color: var(--muted); font-weight: 500; }
.cc-result .cc-week li:last-child .tile { animation: pop 420ms cubic-bezier(.2, .9, .3, 1.3); }

.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 15px/1 var(--font-body);
}
.demo-chip:hover, .demo-chip[aria-expanded="true"] { border-color: var(--coral-line); background: var(--coral-soft); }
.demo-sheet {
  display: grid; gap: 12px; padding: 22px 20px 20px; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-card);
  animation: cc-in 260ms ease;
}
.demo-sheet::before { content: ""; justify-self: center; width: 40px; height: 4px; border-radius: 4px; background: var(--line-strong); margin: -10px 0 2px; }
.demo-sheet[hidden], .demo-panel[hidden], .cc-result[hidden], .hs-after[hidden] { display: none; }
.demo-sheet h3 { font-size: 19px; }
.hs-body { color: var(--muted); font-size: 15px; }
.hs-list { display: grid; gap: 8px; }
/* habit rows, as on the app's Today list: accent rail, emoji tile, title, sub, progress bar, value, + */
.hrow {
  --acc: var(--coral);
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 36px; gap: 12px; align-items: center;
  padding: 10px 10px 10px 14px; border-radius: 16px; overflow: hidden;
  background: color-mix(in srgb, var(--acc) 7%, var(--surface-soft)); border: 1px solid var(--line);
}
.hrow::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: var(--acc); }
.hrow-emoji {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font-size: 22px;
  background: var(--surface); border: 1px solid var(--line);
}
.hrow-main { display: grid; gap: 3px; min-width: 0; }
.hrow-main strong { font: 700 16px/1.25 var(--font-display); letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hrow-sub { color: var(--muted); font-size: 13px; }
.hrow-bar { height: 6px; margin-top: 4px; border-radius: 6px; background: color-mix(in srgb, var(--acc) 18%, transparent); overflow: hidden; }
.hrow-bar i { display: block; height: 100%; width: var(--full); border-radius: 6px; background: var(--acc); transition: width 420ms cubic-bezier(.2, .8, .2, 1); }
.hrow-val { color: var(--ink); font: 600 13px/1 var(--font-body); white-space: nowrap; }
.hrow-plus, .hrow-check {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
}
.hrow-plus svg, .hrow-check svg { width: 18px; height: 18px; stroke-width: 2.4; }
.hrow-check { display: none; background: var(--mint); border-color: var(--mint); color: #fff; }
.hrow .v-min { display: none; }
.demo-sheet.is-done .hrow .v-full { display: none; }
.demo-sheet.is-done .hrow .v-min { display: inline; }
.demo-sheet.is-done .hrow-bar i { width: var(--min); }
.demo-sheet.is-done .hrow.is-min-done .hrow-plus { display: none; }
.demo-sheet.is-done .hrow.is-min-done .hrow-check { display: grid; animation: pop 420ms cubic-bezier(.2, .9, .3, 1.3); }
.demo-sheet.is-done .hrow.is-min-done strong { color: var(--muted); }
@media (max-width: 560px) {
  .hrow { grid-template-columns: 40px minmax(0, 1fr) auto 32px; gap: 10px; }
  .hrow-emoji { width: 40px; height: 40px; }
  .hrow-plus, .hrow-check { width: 32px; height: 32px; border-radius: 10px; }
}
.demo-sheet.is-done .cc-row { display: none; }
@media (prefers-reduced-motion: reduce) { .hrow-bar i { transition: none; } }
.hs-after { font-weight: 700; color: var(--ink); }
.demo-note { color: var(--muted); font-size: 13px; }

/* nudge */
.nudge-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.nudge-grid > div { display: grid; gap: 20px; }
.timeline {
  display: grid; gap: 0; padding: 10px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-hero); box-shadow: var(--shadow-card);
}
.timeline li { display: grid; grid-template-columns: 30px 1fr; gap: 18px; align-items: start; padding: 18px 0; }
.timeline li + li { border-top: 1px solid var(--line); }
.timeline .tile { margin-top: 2px; }
.timeline div { display: grid; gap: 2px; }
.timeline strong { font: 700 17px/1.3 var(--font-display); }
.timeline span { color: var(--muted); }

/* plus / pro */
.deep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.deep-col {
  display: grid; gap: 28px; grid-template-rows: auto 1fr;
  padding: clamp(22px, 3vw, 36px); border-radius: var(--r-hero);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.deep-tier { display: grid; gap: 14px; }
.deep-tier h3 { font-size: 26px; font-weight: 800; }
.deep-tier ul { display: grid; gap: 10px; color: var(--muted); }
.deep-tier li { padding-left: 20px; position: relative; }
.deep-tier li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border-radius: 3px; background: var(--coral); }
.deep-col .shot { align-self: end; }
.deep-col .phone { --pw: min(250px, 58vw); }
.confirm {
  margin-top: 36px; display: flex; gap: 14px; align-items: center;
  font: 700 clamp(18px, 1.9vw, 22px)/1.3 var(--font-display); letter-spacing: -0.015em;
}
.confirm-link { margin-top: 10px; padding-left: 46px; font-size: 15px; }
.confirm svg { width: 32px; height: 32px; flex: none; padding: 6px; border-radius: 10px; background: var(--coral-soft); color: var(--coral); stroke-width: 3; }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier {
  display: grid; align-content: start; grid-template-rows: auto auto auto auto 1fr auto; gap: 10px;
  padding: 28px; border-radius: var(--r-hero); color: inherit; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  transition: border-color 160ms ease;
}
.tier:hover { border-color: var(--coral-line); }
.tier:focus-visible { outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .tier, .tier:hover { transition: none; transform: none; } }
.tier.is-free { border: 2px solid var(--coral-line); }
.tier h3 { font-size: 24px; font-weight: 800; }
.tier-tag { color: var(--muted); }
.tier-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.tier-price strong { font: 800 40px/1 var(--font-display); letter-spacing: -0.03em; }
.tier-per { color: var(--muted); font-weight: 600; }
.tier-note { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.tier ul { display: grid; gap: 10px; align-content: start; }
.tier li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; font-size: 16px; }
.tier li svg { width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 6px; background: var(--coral-soft); color: var(--coral); stroke-width: 3; }
.tier-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px;
  min-height: 48px; border-radius: var(--r-button); font-weight: 700;
  background: var(--surface-soft); border: 1px solid var(--line); color: var(--ink);
}
.tier.is-free .tier-cta, .tier:hover .tier-cta { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.fine { margin-top: 20px; color: var(--muted); font-size: 15px; }

/* full feature comparison */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare { margin-top: 18px; overflow: hidden; max-width: 100%; }
.compare-scroll { overflow-x: auto; padding: 0 8px 12px; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font: 800 16px/1.2 var(--font-display); position: sticky; top: 0; background: var(--surface); }
.compare th[scope="row"], .compare thead th:first-child { text-align: left; font: 500 15px/1.4 var(--font-body); color: var(--ink); width: 52%; }
.compare thead th:first-child { color: var(--muted); }
.compare tr.group th {
  text-align: left; padding-top: 22px; border-bottom: 0;
  font: 700 13px/1.2 var(--font-body); color: var(--muted); letter-spacing: 0.02em;
}
.compare td { color: var(--ink); font-weight: 600; white-space: nowrap; }
.compare .yes { display: inline-grid; place-items: center; }
.compare .yes svg { width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: var(--coral-soft); color: var(--coral); stroke-width: 3; }
.compare .no { color: var(--muted); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* guide pages (SEO pages) */
.guide-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(32px, 4vw, 56px); }
.guide-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.guide-hero-copy { display: grid; gap: 20px; align-content: start; }
.guide-hero-copy h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -0.035em; max-width: 13em; }
.guide-hero-copy .stores { margin-top: 6px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.crumbs a { display: inline-block; padding: 12px 6px 12px 0; margin: -12px 0; color: var(--link); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.guide-hero-visual.week { margin: 0; }
.guide-body { display: grid; gap: clamp(40px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 88px); }
.guide-sec { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.guide-sec.has-visual { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
.guide-sec:nth-of-type(even).has-visual .guide-text { order: 2; }
.guide-text { display: grid; gap: 14px; max-width: 40em; }
.guide-text p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.guide-text .ticks { margin-top: 4px; }
.guide-visual.week { margin: 0; }
.guide-visual .week-card .tile, .guide-hero-visual .week-card .tile { --s: clamp(32px, 3.3vw, 48px); }
.guide-visual .week-card, .guide-hero-visual .week-card { padding-inline: clamp(10px, 1.6vw, 22px); }
.guide-visual figcaption, .guide-hero-visual figcaption { font-size: clamp(15px, 1.3vw, 17px); }
.guide-faq { padding-top: 8px; }
.guide-related h2 { margin-bottom: 22px; }
.guide-related .articles { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.foot-guides { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; font-size: 15px; }
.foot-guides span { color: var(--muted); font-weight: 600; }
.foot-guides a { display: inline-block; padding: 10px 2px; color: var(--muted); text-decoration: none; }
.foot-guides a:hover { color: var(--ink); }
@media (max-width: 980px) {
  .guide-hero-grid, .guide-sec.has-visual { grid-template-columns: 1fr; }
  .guide-sec:nth-of-type(even).has-visual .guide-text { order: 0; }
}

/* journal */
/* journal index and articles */
.journal-hero h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -0.035em; margin-top: 14px; }
.journal-hero .lede { max-width: 36em; margin-top: 12px; }
.journal-list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 36px 32px; }
.article-head { padding-top: clamp(28px, 5vw, 56px); max-width: 720px; }
.article-head h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -0.035em; margin-top: 14px; }
.article-head .lede { margin-top: 14px; font-size: clamp(18px, 1.6vw, 20px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; color: var(--muted); font-size: 15px; }
.article-meta a { color: var(--muted); }
.article-art { margin-top: clamp(24px, 4vw, 40px); }
.article-art .scene { position: relative; inset: auto; aspect-ratio: 21 / 8; border-radius: 28px; overflow: hidden; }
.article-art .scene img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 720px; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(40px, 5vw, 64px); }
.article-body h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 1.6em 0 0.5em; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { color: var(--muted); font-size: 18px; line-height: 1.7; margin: 0 0 1em; }
.article-app { margin-top: 40px; padding: 24px; border-radius: 24px; background: var(--surface); display: grid; gap: 14px; }
.article-app p { margin: 0; color: var(--ink); font-size: 17px; }
@media (max-width: 640px) { .article-art .scene { aspect-ratio: 16 / 9; border-radius: 20px; } }

.journal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 32px; }
.articles a {
  display: grid; gap: 8px; align-content: start; padding: 20px 0 0; height: 100%; text-decoration: none;
  border-top: 2px solid var(--ink);
}
.articles strong { font: 700 19px/1.3 var(--font-display); letter-spacing: -0.015em; }
.articles span { color: var(--muted); font-size: 16px; }
.articles a:hover strong { color: var(--link); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* faq */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr); gap: 40px clamp(36px, 6vw, 88px); align-items: start; }
.faq-list { display: grid; border-top: 1px solid var(--line-strong); }
details { border-bottom: 1px solid var(--line-strong); }
.compare { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.compare summary { padding: 18px 22px; }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 18px 0; font: 700 17px/1.35 var(--font-display); letter-spacing: -0.01em;
}
summary::-webkit-details-marker { display: none; }
.faq-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--coral-soft); }
.faq-icon svg { width: 18px; height: 18px; color: var(--coral); stroke-width: 2.6; transition: transform 180ms ease; }
details[open] .faq-icon svg { transform: rotate(45deg); }
details p { padding: 0 48px 20px 0; color: var(--muted); max-width: 40em; }

/* final */
.final { position: relative; padding: clamp(36px, 4.5vw, 60px) 0; overflow: hidden; text-align: center; }
.final > .scene { inset: 0; border-radius: 0; }
.final-inner {
  position: relative; display: grid; justify-items: center; gap: 16px;
  width: min(720px, calc(100% - 2 * var(--gutter)));
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 48px);
  border-radius: var(--r-hero); background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: var(--shadow-card);
}
.final .lede { margin-inline: auto; color: var(--ink); opacity: 0.8; }
.final .stores { margin-top: 8px; }
.week-mini { display: flex; gap: clamp(8px, 1.2vw, 12px); margin-bottom: 4px; }
.week-mini .tile { --s: clamp(30px, 3vw, 42px); }
.week-mini .day { row-gap: 0; }

/* 404 */
.notfound { padding: clamp(80px, 14vw, 180px) 0; }
.notfound .wrap { display: grid; gap: 22px; justify-items: start; }
.notfound h1 { font-size: clamp(36px, 5vw, 60px); }

/* footer */
.foot { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.foot-row { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.foot-brand { display: grid; gap: 10px; }
.foot-brand p, .foot-by { color: var(--muted); font-size: 15px; }
.foot-brand img { border-radius: 8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; }
.foot-links a { display: inline-block; padding: 10px 2px; text-decoration: none; color: var(--muted); }
.foot-links a:hover, .foot-by a:hover { color: var(--ink); }
.foot-by { grid-column: 1 / -1; display: flex; gap: 16px; }
.foot-by a { text-decoration: none; color: var(--ink); }
.foot-by a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .hero-grid, .hero-row, .split, .split.is-flipped, .nudge-grid, .why-grid, .faq-grid { grid-template-columns: 1fr; }
  .split.is-flipped .split-copy { order: 0; }
  .hero-shot { order: 2; }
  .tiers, .articles { grid-template-columns: 1fr; }
  .tiers { max-width: 560px; }
  .deep-grid { grid-template-columns: 1fr; }
  .phone { --pw: min(240px, 56vw); }
}

@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 68px 0 auto 0; z-index: 40;
    display: none; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav a { padding: 14px 0; font-size: 19px; color: var(--ink); border-bottom: 1px solid var(--line); }
  body.nav-open .nav { display: flex; }
  .menu-btn { display: inline-grid; }
  .top-actions { margin-left: auto; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .top-actions .btn-small { display: none; }
  .store-play img, .store-apple { height: 48px; }
  .week-row { gap: 2px; }
  .week-card { padding-inline: 8px; }
  .week figcaption { display: grid; }
  .choices li { grid-template-columns: 1fr; gap: 2px; }
  .demo-tab { font-size: 13px; padding: 0 4px; }
  .cc-row-3 { grid-template-columns: 1fr; }
  .faces img { width: 84px; }
  .foot-row { grid-template-columns: 1fr; }
  .compare-scroll { padding: 0 4px 8px; }
  .compare table { min-width: 0; font-size: 13px; table-layout: fixed; }
  .compare th, .compare td { padding: 10px 4px; }
  .compare th[scope="row"] { font-size: 13px; width: 40%; padding-left: 10px; }
  .compare thead th:first-child { width: 40%; padding-left: 10px; font-size: 13px; }
  .compare thead th { font-size: 14px; }
  .compare td { white-space: normal; font-size: 12px; }
  .compare tr.group th { padding-left: 10px; }
}

/* sticky install bar on phones (Android), shown after the hero's store buttons scroll away */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 10px 10px 12px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 95%, transparent); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transform: translateY(0); transition: transform 220ms ease, opacity 220ms ease;
}
.sticky-cta[hidden] { display: none; }
.sticky-cta.is-off { transform: translateY(140%); opacity: 0; pointer-events: none; }
.sticky-cta img { border-radius: 10px; }
.sticky-copy { display: grid; line-height: 1.2; }
.sticky-copy strong { font: 800 16px/1.2 var(--font-display); }
.sticky-copy small { color: var(--muted); font-size: 13px; }
body.has-sticky .foot { padding-bottom: 110px; }
@media (min-width: 821px) { .sticky-cta { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* locales */
html[lang="ru"], html[lang="vi"] {
  --font-display: "Inter LC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter LC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[lang="ru"] h1, html[lang="ru"] h2, html[lang="vi"] h1, html[lang="vi"] h2 { letter-spacing: -0.02em; }
html[lang="zh"] {
  --font-display: "Sora", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --font-body: "DM Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3 { letter-spacing: 0; line-height: 1.25; }
html[lang="zh"] body { line-height: 1.75; }
.foot-langs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; }
.foot-langs a { display: inline-block; padding: 10px 2px; color: var(--muted); text-decoration: none; }
.foot-langs a:hover { color: var(--ink); }
.foot-langs a[aria-current="true"] { color: var(--ink); font-weight: 700; }
.ph-cap { overflow-wrap: anywhere; hyphens: auto; }

/* legal pages */
.legal-body h2 { font-size: clamp(21px, 2vw, 25px); }
.legal-body p, .legal-body li { font-size: 16px; line-height: 1.65; }
.legal-list { display: grid; gap: 8px; margin: 0 0 1em; padding-left: 20px; list-style: disc; color: var(--muted); }
.legal-list li::marker { color: var(--coral); }
.legal-body a { color: var(--link); }
.legal-table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 10px; border-top: 1px solid var(--line); color: var(--muted); }
.legal-table thead th { color: var(--ink); font-weight: 700; border-top: 0; }
.legal-table tbody th { color: var(--ink); font-weight: 600; width: 22%; }
.legal-ru { margin-top: 48px; padding-top: 8px; border-top: 2px solid var(--line-strong); }
@media (max-width: 640px) {
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: auto !important; }
  .legal-table thead { display: none; }
  .legal-table tr { padding: 12px 0; border-top: 1px solid var(--line); }
  .legal-table th, .legal-table td { border: 0; padding: 3px 0; }
}

/* account links from emails */
.account-box { max-width: 560px; padding: clamp(40px, 8vw, 88px) 0; display: grid; gap: 16px; }
.account-kicker { color: var(--link); font-weight: 700; font-size: 14px; }
.account-box h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.03em; }
.account-code-card { display: grid; gap: 12px; justify-items: start; padding: 22px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.account-label { color: var(--muted); font-size: 14px; font-weight: 600; }
.account-code { font: 800 clamp(30px, 6vw, 40px)/1.1 var(--font-display); letter-spacing: 0.08em; color: var(--ink); }
.account-code:empty::before { content: "—"; }
.account-note { color: var(--muted); font-size: 15px; }
.btn[disabled] { opacity: 0.5; cursor: default; }

/* Phones: the whole device fits on screen with room for the scene around it. */
@media (max-width: 640px) {
  .phone { --pw: min(210px, 54vw); }
  .fix-shots .phone { --pw: min(170px, 40vw); }
  .shot.has-scene { padding: 24px 0; }
}
