/* Lessismo — landing page.
   Tokens and rules come from the app's docs/DESIGN.md: monochrome, one Sage accent that only
   marks things you kept, DM Sans only, no gradients, no emoji, generous whitespace. */

@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url("assets/fonts/dm_sans_regular.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url("assets/fonts/dm_sans_medium.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 600 700; font-display: swap; src: url("assets/fonts/dm_sans_semibold.ttf") format("truetype"); }

:root {
  color-scheme: light;
  --bg: #F7F7F4; --surface: #FFFFFF; --ink: #1C1D1B; --muted: #6B6D68; --line: #E6E6E1;
  --acc: #5E8466; --soft: #E3EAE2; --sand: #EFE9DD; --frame: #1C1D1B;
  --shadow: 0 1px 2px rgb(28 29 27 / .07), 0 8px 24px -12px rgb(28 29 27 / .18);
  --r-card: 22px;
  --gutter: clamp(20px, 4vw, 44px);
  --max: 1200px;
  --ease: cubic-bezier(.3, .8, .4, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111210; --surface: #1A1B19; --ink: #EDEDE8; --muted: #999B94; --line: #2A2B28;
    --acc: #8DB394; --soft: #1F2620; --sand: #25231F; --frame: #3A3B37;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px -12px rgb(0 0 0 / .6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111210; --surface: #1A1B19; --ink: #EDEDE8; --muted: #999B94; --line: #2A2B28;
  --acc: #8DB394; --soft: #1F2620; --sand: #25231F; --frame: #3A3B37;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 8px 24px -12px rgb(0 0 0 / .6);
}

/* Sections that are always dark, like a phone on the nightstand. */
.sec-dark {
  color-scheme: dark;
  --bg: #161715; --surface: #1F201D; --ink: #EDEDE8; --muted: #9FA19A; --line: #2C2D2A;
  --acc: #8DB394; --soft: #1F2620; --sand: #25231F; --frame: #3F403C;
  --shadow: 0 1px 2px rgb(0 0 0 / .4);
  background: var(--bg); color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--soft); color: var(--ink); }

.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(80px, 12vw, 168px); position: relative; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.display { font-size: clamp(44px, 7.2vw, 96px); font-weight: 600; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
/* "Less is more." stays on one line in English; longer translations may wrap (use no-break spaces to keep words together). */
html[lang|="en"] .nowrap-en { white-space: nowrap; }
.h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; text-decoration: none;
  font-weight: 600; font-size: 16px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgb(28 29 27 / .5); }
.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); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px;
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.solid { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -.03em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.theme {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; transition: box-shadow .2s;
}
.theme:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.theme svg { width: 18px; height: 18px; }
.theme .sun { display: none; }
:root[data-theme="dark"] .theme .sun { display: block; }
:root[data-theme="dark"] .theme .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .sun { display: block; }
  :root:not([data-theme="light"]) .theme .moon { display: none; }
}
@media (max-width: 820px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(120px, 15vw, 190px); padding-bottom: clamp(60px, 8vw, 120px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 .soft { color: var(--muted); }
.hero .lede { margin-top: 28px; }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-note i { width: 4px; height: 4px; border-radius: 50%; background: var(--line); display: inline-block; }
.hero-stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.stamp-ring {
  position: absolute; width: min(118%, 560px); aspect-ratio: 1; top: 50%; left: 50%; translate: -50% -50%;
  color: var(--line); animation: spin 90s linear infinite; pointer-events: none;
}
.stamp-ring svg { width: 100%; height: 100%; overflow: visible; }
@keyframes spin { to { rotate: 360deg; } }
.float { position: absolute; z-index: 3; filter: drop-shadow(0 3px 4px rgb(28 29 27 / .16)); animation: bob 7s ease-in-out infinite; animation-delay: var(--bd, 0s); will-change: transform; }
.float img { width: 100%; height: auto; }
.float.f1 { width: 104px; left: -4%; top: 6%; --bd: -1s; }
.float.f2 { width: 92px; right: -3%; top: 24%; --bd: -3s; }
.float.f3 { width: 96px; left: -6%; bottom: 14%; --bd: -5s; }
.float.f4 { width: 82px; right: 2%; bottom: 3%; --bd: -2s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-12px) rotate(calc(var(--rot, 0deg) + 3deg)); } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 0; padding-top: 24px; }
  .float.f1 { left: 4%; } .float.f3 { left: 2%; }
  .float.f2 { right: 4%; } .float.f4 { right: 6%; }
}
@media (max-width: 520px) { .float.f3, .float.f4 { display: none; } .float.f1 { width: 78px; top: -18px; } .float.f2 { width: 72px; } }

/* ---------- Phone ---------- */
.phone {
  --pw: 300px;
  position: relative; z-index: 2; width: var(--pw); max-width: 100%; aspect-ratio: 9 / 18.6;
  border: 9px solid var(--frame); border-radius: 46px; background: var(--bg); color: var(--ink);
  overflow: hidden; display: flex; flex-direction: column; font-size: 13px; line-height: 1.4;
  box-shadow: 0 30px 60px -28px rgb(28 29 27 / .45), 0 0 0 1px rgb(0 0 0 / .05);
  user-select: none; -webkit-user-select: none;
}
.phone::before { content: ""; position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 74px; height: 20px; border-radius: 999px; background: #0d0d0c; z-index: 5; }
.status { height: 38px; flex: none; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 22px 4px; font-size: 11px; font-weight: 600; }
.status .bat { width: 20px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1.4px var(--ink); position: relative; opacity: .85; }
.status .bat::after { content: ""; position: absolute; inset: 2px 5px 2px 2px; border-radius: 1px; background: var(--ink); }
.screen { flex: 1; min-height: 0; padding: 10px 14px 0; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }

.today-head { display: flex; align-items: flex-end; justify-content: space-between; padding: 6px 2px 0; }
.today-head h3 { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.pill-count { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); box-shadow: 0 1px 2px rgb(0 0 0 / .1); border-radius: 999px; padding: 4px 11px 4px 5px; font-size: 11px; font-weight: 700; }
.pill-count img { width: 20px; height: 20px; }

.card-app { background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 14px; display: grid; gap: 12px; }
.goal-top { display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: center; }
.goal-top img { width: 46px; height: 46px; overflow: visible; }
.goal-name { font-weight: 700; font-size: 15px; letter-spacing: -.01em; line-height: 1.2; }
.goal-meta { font-size: 11px; color: var(--muted); font-weight: 500; }
.goal-plan { font-size: 12.5px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.week .day { display: grid; justify-items: center; gap: 3px; border: 0; background: none; padding: 2px 0; border-radius: 10px; }
.week .day > span { font-size: 9px; font-weight: 500; color: var(--muted); line-height: 1; }
.spot { width: 30px; height: 30px; display: grid; place-items: center; position: relative; }
.spot.n::before, .spot.t::before, .spot.s::before { content: ""; position: absolute; inset: 1.5px; border-radius: 50%; }
.spot.n::before { border: 1.5px dashed var(--line); }
.spot.t::before { border: 1.5px dashed var(--muted); }
.spot.s::before { border: 1.5px solid var(--line); }
.spot.s::after { content: ""; width: 10px; height: 1.5px; background: var(--muted); border-radius: 1px; position: relative; }
.spot.k img { width: 36px; height: 36px; max-width: none; }
.spot.slap img, .slap-in { animation: slap .5s var(--ease) both; }
@keyframes slap { 0% { transform: scale(1.9) rotate(-22deg); opacity: 0; } 55% { transform: scale(.9) rotate(4deg); opacity: 1; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
.goal-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.goal-foot .status-line { font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1.3; }
.stamp-btn { border: 0; border-radius: 999px; height: 34px; padding: 0 15px; font-size: 12.5px; font-weight: 700; background: var(--ink); color: var(--bg); transition: background .25s, color .25s, box-shadow .25s, transform .15s; flex: none; }
.stamp-btn:active { transform: scale(.95); }
.stamp-btn.kept { background: var(--soft); color: var(--acc); }
.stamp-btn.slipped { background: var(--surface); color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); }
.meter { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 4px; background: var(--ink); width: var(--v, 50%); transition: width 1s var(--ease); }
.meter-cap { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 6px; }

/* ---------- Rotor statement ---------- */
.rotor-sec { text-align: center; padding-block: clamp(96px, 14vw, 200px); }
.rotor-line { font-size: clamp(44px, 10vw, 150px); font-weight: 600; letter-spacing: -.055em; line-height: 1; display: flex; justify-content: center; align-items: center; gap: .2em; flex-wrap: nowrap; }
.rotor { display: inline-grid; overflow: hidden; padding-block: .04em .12em; text-align: left; transition: width .7s var(--ease); }
.rotor span { grid-area: 1 / 1; justify-self: start; white-space: nowrap; transform: translateY(105%); opacity: 0; transition: transform .7s var(--ease), opacity .5s; }
.rotor span.on { transform: none; opacity: 1; }
.rotor span.out { transform: translateY(-105%); opacity: 0; }
.rotor-stamp { width: .7em; height: .7em; flex: none; }
.rotor-stamp img { width: 100%; height: 100%; max-width: none; filter: drop-shadow(0 2px 3px rgb(28 29 27 / .15)); }
.rotor-sub { margin: 36px auto 0; max-width: 38ch; font-size: clamp(18px, 2vw, 24px); color: var(--muted); text-wrap: balance; }

/* ---------- Film ---------- */
.film-sec { background: var(--soft); padding-block: clamp(72px, 10vw, 140px); }
.film-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 8vw, 130px); align-items: center; }
.film-copy .h2 { margin-top: 20px; }
.film-copy .lede { margin-top: 24px; }
.film-copy .hero-note { margin-top: 32px; }
.film { position: relative; width: min(360px, 78vw); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: #F7F7F4; box-shadow: 0 40px 80px -36px rgb(28 29 27 / .45), 0 0 0 1px rgb(28 29 27 / .06); }
@media (max-width: 900px) { .film-grid { grid-template-columns: 1fr; } .film { margin-inline: auto; } .film-copy { order: -1; } }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-toggle { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgb(28 29 27 / .72); color: #F7F7F4; transition: transform .15s, opacity .25s; }
.film-toggle:active { transform: scale(.94); }
.film-toggle svg { width: 20px; height: 20px; }
.film .i-play, .film.paused .i-pause { display: none; }
.film.paused .i-play { display: block; }
.film:not(.paused):not(:hover):not(:focus-within) .film-toggle { opacity: .55; }

/* ---------- Templates ---------- */
.templates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.tpl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 22px 22px; display: grid; gap: 22px; align-content: space-between; min-height: 300px; transition: transform .35s var(--ease), border-color .3s; }
.tpl:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); }
.tpl:hover .tpl-st { transform: rotate(-6deg) scale(1.08); }
.tpl-st { width: 84px; transition: transform .45s var(--ease); filter: drop-shadow(0 2px 3px rgb(28 29 27 / .12)); }
.tpl h3 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tpl p.ex { font-size: 22px; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; margin-top: 6px; }
.tpl p.how { font-size: 14px; color: var(--muted); margin-top: 10px; }
@media (max-width: 980px) { .templates { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .templates { grid-template-columns: 1fr; } .tpl { min-height: 0; } }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.split.rev .split-media { order: -1; }
.split-copy > .eyebrow { margin-bottom: 20px; display: block; }
.split-copy .lede { margin-top: 24px; }
.points { margin-top: 40px; display: grid; gap: 0; }
.points li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points .n { font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 3px; font-variant-numeric: tabular-nums; }
.points b { display: block; font-weight: 600; font-size: 18px; letter-spacing: -.015em; }
.points span.t { color: var(--muted); font-size: 16px; }
.split-media { display: grid; place-items: center; position: relative; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }

/* Gentle demo card (on-page, bigger) */
.demo { width: min(100%, 460px); background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 26px; display: grid; gap: 22px; box-shadow: var(--shadow); position: relative; z-index: 2; }
.demo .goal-top { grid-template-columns: 64px 1fr; gap: 14px; }
.demo .goal-top img { width: 64px; height: 64px; }
.demo .goal-name { font-size: 20px; }
.demo .goal-meta { font-size: 13px; }
.demo .spot { width: 38px; height: 38px; }
.demo .spot.k img { width: 46px; height: 46px; }
.demo .week .day > span { font-size: 11px; }
.demo .week { gap: 4px; }
.demo-msg { min-height: 3.1em; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.demo-msg b { color: var(--ink); font-weight: 600; }
.demo-bar { display: grid; gap: 8px; }
.pips { display: flex; gap: 6px; }
.pips i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); transition: background .3s; }
.pips i.on { background: var(--acc); }
.demo-hint { font-size: 12px; color: var(--muted); text-align: center; letter-spacing: .02em; }
.legend { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin-top: 22px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend .spot { width: 22px; height: 22px; }
.legend .spot.k img { width: 26px; height: 26px; }

/* ---------- Pause ---------- */
.sec-soft { background: var(--soft); }
.pause-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 8vw, 130px); align-items: center; }
.pause-stage { display: grid; gap: 22px; justify-items: center; }
.pause-phone { background: var(--soft); border-color: var(--frame); }
.pause-phone .screen { padding: 8px 20px 22px; align-items: center; justify-content: space-between; gap: 0; text-align: center; }
.p-top { font-size: 13px; color: var(--muted); margin-top: 8px; min-height: 1.4em; }
.breath { width: 196px; height: 196px; display: grid; place-items: center; position: relative; }
.breath i, .breath b { position: absolute; border-radius: 50%; }
.breath i { inset: 0; background: color-mix(in srgb, var(--acc) 18%, transparent); animation: breathe 8s linear infinite alternate; animation-duration: 4s; animation-timing-function: linear; }
.breath b { inset: 22%; background: color-mix(in srgb, var(--acc) 35%, transparent); animation: breathe 4s linear infinite alternate; }
@keyframes breathe { from { transform: scale(.72); } to { transform: scale(1); } }
.breath .count { position: relative; font-size: 54px; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.p-mid { display: grid; gap: 6px; justify-items: center; }
.p-app { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.p-use { font-size: 13px; color: var(--muted); }
.p-quip { font-size: 13px; margin-top: 8px; max-width: calc(22ch * var(--ch-scale, 1)); min-height: 2.8em; }
.p-note { font-size: 12px; font-weight: 600; color: var(--acc); min-height: 1.4em; }
.p-note.m { color: var(--muted); font-weight: 500; font-size: 11px; }
.p-bot { display: grid; gap: 12px; justify-items: center; width: 100%; }
.pill-btn { width: 100%; height: 48px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 15px; transition: transform .15s; }
.pill-btn:active { transform: scale(.97); }
.p-any { border: 0; background: none; font-size: 13px; font-weight: 500; color: color-mix(in srgb, var(--muted) 60%, transparent); padding: 4px 8px; }
.p-any.ready { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.pause-ctl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.pause-steps { display: flex; gap: 6px; }
.pause-steps span { min-width: 40px; text-align: center; padding: 5px 0; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 14%, transparent); transition: all .25s; font-variant-numeric: tabular-nums; }
.pause-steps span.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.pause-copy .points li { border-color: color-mix(in srgb, var(--ink) 12%, transparent); }
@media (max-width: 900px) { .pause-wrap { grid-template-columns: 1fr; } .pause-stage { order: 2; } }

/* ---------- Dumb phone ---------- */
.dumb-phone .screen { padding: 8px 16px 16px; gap: 0; }
.d-clock { font-size: 46px; font-weight: 600; letter-spacing: -.045em; line-height: 1; margin-top: 12px; }
.d-date { font-size: 12px; color: var(--muted); margin-top: 6px; }
.d-banner { margin-top: 16px; background: var(--ink); color: var(--bg); border-radius: 18px; padding: 12px 14px; display: grid; gap: 2px; }
.d-banner b { font-size: 14px; font-weight: 700; }
.d-banner span { font-size: 11.5px; opacity: .85; }
.d-search { margin-top: 12px; height: 38px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: 0 14px; display: flex; align-items: center; font-size: 12px; color: var(--muted); }
.d-label { margin: 18px 0 10px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.d-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; }
.d-app { display: grid; justify-items: center; gap: 5px; font-size: 9.5px; color: var(--ink); font-weight: 500; }
.d-app i { width: 42px; height: 42px; border-radius: 13px; display: block; background: var(--ink); }
.d-app.on i { background: var(--ink); }
.d-app.off { opacity: .34; filter: grayscale(1); }
.d-app.off i { background: var(--muted); }
.d-app i.ph { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); position: relative; }
.d-app i.ph::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--ink); }
.d-app i.ms { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); position: relative; }
.d-app i.ms::after { content: ""; position: absolute; left: 11px; right: 11px; top: 13px; height: 14px; border-radius: 6px 6px 6px 2px; background: var(--ink); }
.d-app i.st { background: var(--sand); box-shadow: inset 0 0 0 1.5px var(--line); position: relative; }
.d-app i.st::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; box-shadow: inset 0 0 0 2.5px var(--muted); }
.dumb-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 8vw, 130px); align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chip { border: 0; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 600; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); transition: all .2s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
@media (max-width: 900px) { .dumb-grid { grid-template-columns: 1fr; } .dumb-grid .split-media { order: 2; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 64px; }
.b { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: space-between; overflow: hidden; position: relative; transition: transform .4s var(--ease); }
.b:hover { transform: translateY(-4px); }
.b.s2 { grid-column: span 2; } .b.s3 { grid-column: span 3; } .b.s4 { grid-column: span 4; } .b.s6 { grid-column: span 6; }
.b.tint { background: var(--soft); border-color: transparent; }
.b.sand { background: var(--sand); border-color: transparent; }
.b.ink { background: var(--ink); color: var(--bg); border-color: transparent; --muted: color-mix(in srgb, var(--bg) 62%, transparent); --line: color-mix(in srgb, var(--bg) 20%, transparent); --surface: color-mix(in srgb, var(--bg) 8%, transparent); }
.b h3 { font-size: 24px; font-weight: 600; letter-spacing: -.03em; line-height: 1.12; }
.b p { color: var(--muted); font-size: 15.5px; margin-top: 10px; max-width: 36ch; }
.b .k { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: block; }
.b-vis { display: grid; gap: 10px; }
.b-sticker { position: absolute; width: 96px; right: 20px; top: 16px; filter: drop-shadow(0 2px 3px rgb(28 29 27 / .14)); transition: transform .5s var(--ease); }
.b:hover .b-sticker { transform: rotate(-8deg) scale(1.08); }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .b.s2, .b.s3, .b.s4, .b.s6 { grid-column: span 2; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .b.s2, .b.s3, .b.s4, .b.s6 { grid-column: auto; } .b { padding: 24px; } }

.ifthen { display: grid; gap: 8px; font-size: 16px; }
.ifthen div { border-radius: 16px; padding: 12px 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ifthen em { font-style: normal; font-weight: 700; margin-right: 6px; }
.b.sand .ifthen div { background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: none; }
.dots28 { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; }
.dots28 i { aspect-ratio: 1; min-width: 0; border-radius: 50%; background: var(--line); display: block; }
.dots28 i.k { background: var(--acc); }
.dots28 i.s { background: none; box-shadow: inset 0 0 0 1.5px var(--muted); }
.dots28 i.now { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); background: var(--acc); }
.cap-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); font-weight: 500; }
.cap-row b { color: var(--ink); font-weight: 600; }
.cu-list { display: grid; }
.cu-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: center; }
.cu-list li:first-child { border-top: 0; padding-top: 0; }
.cu-list b { font-weight: 600; font-size: 15px; }
.cu-list small { color: var(--muted); font-size: 12.5px; grid-column: 1; }
.cu-list button { grid-column: 2; grid-row: 1 / span 2; border: 0; border-radius: 999px; height: 32px; padding: 0 14px; font-size: 12.5px; font-weight: 600; background: var(--ink); color: var(--bg); transition: opacity .25s, transform .25s; }
.cu-list li.gone { opacity: 0; transform: translateX(20px); transition: all .4s; }
.cu-total { font-size: 13px; color: var(--muted); }
.cu-total b { color: var(--acc); font-weight: 700; font-size: 15px; }
.big-num { font-size: clamp(64px, 8vw, 104px); font-weight: 600; letter-spacing: -.06em; line-height: .9; }
.zero-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.zero-row div { background: var(--surface); border-radius: 18px; padding: 16px 12px; text-align: center; box-shadow: inset 0 0 0 1px var(--line); }
.zero-row b { display: block; font-size: 34px; letter-spacing: -.04em; font-weight: 600; line-height: 1; }
.zero-row span { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ---------- Voice ---------- */
.voice { text-align: center; }
.voice blockquote { font-size: clamp(30px, 5.4vw, 72px); font-weight: 600; letter-spacing: -.045em; line-height: 1.04; max-width: calc(18ch * var(--ch-scale, 1)); margin: 0 auto; text-wrap: balance; min-height: 3.2em; display: grid; align-items: center; transition: opacity .35s, transform .35s var(--ease); }
.voice blockquote.swap { opacity: 0; transform: translateY(12px); }
.voice .where { margin-top: 30px; font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.voice .rules { margin-top: 56px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.voice .rules span { border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); }
.voice .next { margin-top: 36px; }

/* ---------- Install ---------- */
.install-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.steps { counter-reset: s; display: grid; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.steps b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.steps span { color: var(--muted); font-size: 15.5px; }
.get-card { background: var(--ink); color: var(--bg); border-radius: 32px; padding: clamp(28px, 4vw, 48px); display: grid; gap: 26px; position: sticky; top: 100px; overflow: hidden; --muted: color-mix(in srgb, var(--bg) 62%, transparent); }
.get-card .icon { width: 84px; height: 84px; border-radius: 22px; }
.get-card h3 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; }
.get-card p { color: var(--muted); font-size: 16px; }
.get-card .btn { background: var(--bg); color: var(--ink); width: 100%; }
.get-card .btn.btn-test { background: transparent; color: var(--bg); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bg) 35%, transparent); }
.get-card .btn.btn-test:hover { box-shadow: inset 0 0 0 1.5px var(--bg); }
.get-card .btn[aria-disabled] { cursor: default; text-align: center; }
.get-card .btn:hover { box-shadow: 0 10px 28px -10px rgb(0 0 0 / .6); }
.get-card .small { font-size: 13px; color: var(--muted); text-align: center; }
.get-card .float-s { position: absolute; width: 110px; right: -18px; top: -10px; rotate: 12deg; filter: drop-shadow(0 3px 4px rgb(0 0 0 / .3)); }
@media (max-width: 900px) { .install-grid { grid-template-columns: 1fr; } .get-card { position: static; } }

/* ---------- Footer ---------- */
.foot { padding-block: 64px 48px; border-top: 1px solid var(--line); }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: end; }
.foot-quip { font-size: clamp(26px, 4vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; max-width: calc(16ch * var(--ch-scale, 1)); text-wrap: balance; }
.foot-bot { margin-top: 56px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot-bot .brand { font-size: 16px; color: var(--ink); }
.foot-bot .brand img { width: 26px; height: 26px; border-radius: 7px; }
.langs { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--muted); }
.langs:empty { display: none; }
.langs a { color: inherit; text-decoration: none; }
.langs a:hover { color: var(--ink); text-decoration: underline; }
.langs a[aria-current] { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
  .breath i { transform: scale(.86); } .breath b { transform: scale(.86); }
  .stamp-ring { animation: none; }
}
