/* deadrip landing — monochrome, system theme + inverse toggle (same contract as styles.css). */

:root {
  color-scheme: light dark;
  --bg: #fff;
  --fg: #080808;
  --muted: #6f6f6f;
  --line: #e2e2e2;
  --panel: #f4f4f4;
  --panel-2: #ebebeb;
  --inner: #fff;
  --inner-line: rgba(0,0,0,.06);
  --shadow: 0 30px 80px rgba(0, 0, 0, .12);
  --logo-filter: brightness(0);
  --radius: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.3, 1.45, .5, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050505; --fg: #f7f7f7; --muted: #9d9d9d; --line: #242424;
    --panel: #111; --panel-2: #1a1a1a; --shadow: 0 30px 80px rgba(0, 0, 0, .6);
    --inner: #1b1b1b; --inner-line: rgba(255,255,255,.06);
    --logo-filter: brightness(0) invert(1);
  }
}
html[data-theme="light"] {
  color-scheme: light; --bg: #fff; --fg: #080808; --muted: #6f6f6f; --line: #e2e2e2;
  --panel: #f4f4f4; --panel-2: #ebebeb; --shadow: 0 30px 80px rgba(0, 0, 0, .12); --logo-filter: brightness(0);
  --inner: #fff; --inner-line: rgba(0,0,0,.06);
}
html[data-theme="dark"] {
  color-scheme: dark; --bg: #050505; --fg: #f7f7f7; --muted: #9d9d9d; --line: #242424;
  --panel: #111; --panel-2: #1a1a1a; --shadow: 0 30px 80px rgba(0, 0, 0, .6); --logo-filter: brightness(0) invert(1);
  --inner: #1b1b1b; --inner-line: rgba(255,255,255,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--fg); overflow-x: clip;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.45;
  transition: background .3s, color .3s;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.02; }
h1 { font-size: clamp(54px, 8vw, 104px); font-weight: 800; letter-spacing: -.045em; line-height: .96; }
h2 { font-size: clamp(34px, 4.2vw, 54px); font-weight: 750; letter-spacing: -.035em; line-height: 1.02; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0; }
.eyebrow { font-size: 12px; letter-spacing: .22em; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.center { text-align: center; }

/* Scroll progress ------------------------------------------------------------*/
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; background: var(--fg);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* Pills --------------------------------------------------------------------*/
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; background: transparent;
  transition: transform .35s var(--ease), opacity .2s, background .2s;
}
.pill:active { scale: .96; }
.pill-solid { background: var(--fg); color: var(--bg); }
.pill-line { border-color: color-mix(in srgb, var(--fg) 25%, transparent); }
.pill-line:hover { background: var(--panel); }
.pill-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.lang { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.lang:hover { background: var(--panel); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 18px; }

/* Nav ----------------------------------------------------------------------*/
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 40px);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.brand img { height: 34px; width: auto; filter: var(--logo-filter); }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
@media (max-width: 820px) { .nav-links { display: none; } .nav-actions { margin-left: auto; } }

/* Reveal + masked word split -------------------------------------------------*/
/* Hidden only when JS runs: without it the page is fully visible. */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* Room above and below each word: Ukrainian ї/й dots and descenders sit
   outside a tight line box and were clipped by the reveal mask. */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .02em .14em; margin: -.16em -.02em -.14em; }
.split .w > span { display: inline-block; transform: translateY(108%) rotate(4deg); transform-origin: 0 100%;
  transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split.in .w > span { transform: none; }

/* Hover spotlight that follows the pointer */
.glow { position: relative; isolation: isolate; }
.glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--fg) 9%, transparent), transparent 70%);
  transition: opacity .4s; }
.glow:hover::before { opacity: 1; }

/* Hero: centred copy over three real screens ----------------------------------*/
.hero { max-width: 1200px; margin: 0 auto; padding: 132px clamp(20px, 5vw, 64px) 0; text-align: center; overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 600px; margin-top: 26px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.hero-proof { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: clamp(28px, 6vw, 72px); justify-content: center; flex-wrap: wrap; }
.hero-proof strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero-proof span { color: var(--muted); font-size: 13px; }
.hero-proof strong span { color: inherit; font-size: inherit; }

/* One device component for every phone on the page: the screen keeps the
   recording's exact aspect ratio, so nothing is ever cropped. */
.device { --w: 300px; position: relative; margin: 0; width: var(--w); padding: calc(var(--w) * .033); border-radius: calc(var(--w) * .17);
  background: #0b0b0b; box-shadow: var(--shadow), inset 0 0 0 1.5px #2d2d2d, 0 0 0 1px color-mix(in srgb, var(--fg) 8%, transparent); }
.device-screen { position: relative; aspect-ratio: 600 / 1304; border-radius: calc(var(--w) * .135); overflow: hidden; background: #000; }
.device-screen img, .device-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.trio { position: relative; display: flex; justify-content: center; align-items: flex-start; margin-top: 64px; padding-bottom: 72px; --main: min(300px, 44vw); }
.trio .device-main { --w: var(--main); z-index: 2; transform: translateY(calc(var(--p, 0) * -30px)); }
.trio .device-side { --w: calc(var(--main) * .86); position: absolute; top: calc(var(--main) * .22); z-index: 1; opacity: .92; transition: transform .2s linear; }
.trio .device-left { right: calc(50% + var(--main) * .3); transform: rotate(-6deg) translateX(calc(var(--p, 0) * -40px)); }
.trio .device-right { left: calc(50% + var(--main) * .3); transform: rotate(6deg) translateX(calc(var(--p, 0) * 40px)); }
.js .trio .device { opacity: 0; }
.trio.in .device { animation: rise 1.1s var(--ease) both; }
.trio.in .device-side { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
.trio.in .device-side { opacity: .92; }
@media (max-width: 620px) {
  .trio { --main: 62vw; margin-top: 48px; padding-bottom: 48px; }
  .trio .device-left { right: calc(50% + var(--main) * .12); }
  .trio .device-right { left: calc(50% + var(--main) * .12); }
}

/* Manifesto: each word brightens as it crosses the middle of the screen. */
.manifesto { max-width: 1000px; margin: 0 auto; padding: 120px clamp(20px, 5vw, 64px) 140px; }
.manifesto p { font-size: clamp(30px, 4.6vw, 60px); font-weight: 750; letter-spacing: -.035em; line-height: 1.12; margin: 0 0 .35em; }
.manifesto .mw { color: color-mix(in srgb, var(--fg) 18%, transparent); transition: color .45s var(--ease); }
.manifesto .mw.on { color: var(--fg); }
.manifesto em { font-style: italic; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.02em; }
.final-contact { color: var(--muted); font-size: 15px; }
.final-contact a { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .manifesto .mw { color: var(--fg); } }

/* Pains --------------------------------------------------------------------*/
.pains { padding: 90px clamp(20px, 5vw, 64px) 110px; max-width: 1200px; margin: 0 auto; }
.pain-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1080px) { .pain-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  /* A swipeable row on phones instead of a tall stack of five cards. */
  .pain-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * clamp(20px, 5vw, 64px));
    padding: 4px clamp(20px, 5vw, 64px) 12px; scrollbar-width: none; }
  .pain-grid::-webkit-scrollbar { display: none; }
  .pain { flex: 0 0 76%; scroll-snap-align: start; }
}
.pain {
  display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 24px; background: var(--panel);
  min-height: 200px; transition: transform .35s var(--ease), background .3s, opacity .8s var(--ease); box-shadow: inset 0 0 0 1px var(--inner-line);
}
.pain.in:hover { transform: translateY(-6px); }
.pain p { font-size: 19px; font-weight: 600; letter-spacing: -.01em; flex: 1; }
.pain-n { font-size: 12px; color: var(--muted); font-weight: 700; }
.pain em { font-style: normal; font-size: 14px; font-weight: 600; }

/* Story: a sticky stage scrubbed by scroll -----------------------------------*/
.story-intro { max-width: 1240px; margin: 0 auto; padding: 110px clamp(20px, 4vw, 56px) 0; border-top: 1px solid var(--line); text-align: center; }
.story-intro > p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin: 18px auto 0; max-width: 520px; }
.story { position: relative; height: 760vh; }
.story-sticky {
  position: sticky; top: 0; height: 100svh; max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: 84px clamp(20px, 4vw, 56px) 32px;
}
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.steps li { border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps button { width: 100%; display: flex; gap: 16px; align-items: baseline; text-align: left; border: 0; background: none; padding: 14px 0;
  font-size: clamp(19px, 1.9vw, 24px); font-weight: 700; letter-spacing: -.02em; color: var(--muted); transition: color .4s; }
.steps button span { font-size: 12px; font-weight: 700; letter-spacing: .1em; font-variant-numeric: tabular-nums; width: 22px; flex: none; }
.steps li.is-on button { color: var(--fg); }
.step-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.step-body > div { overflow: hidden; min-height: 0; }
.step-body { padding-left: 38px; }
.steps li.is-on .step-body { grid-template-rows: 1fr; }
@media (min-width: 921px) { .step-body { display: none; } .steps button { font-size: 18px; padding: 12px 0; } }
.step-body p:not(.fine) { font-size: 17px; color: var(--muted); max-width: 440px; }
.step-body > div > :last-child { padding-bottom: 18px; }
.step-body b { color: var(--fg); }

.stage-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* The phone plays the real screen recording of the current step. */
.stage-wrap .device { --w: inherit; }
/* Clips hand over on matching frames, so a short plain crossfade is enough. */
.clip { opacity: 0; transform-origin: var(--focus-x,50%) var(--focus-y,50%); transform: scale(var(--focus-scale,1)); transition: opacity .22s linear, transform .16s ease-out; will-change: transform; }
.clip.is-on { opacity: 1; }
.tap-focus { position: absolute; z-index: 4; left: var(--focus-x,50%); top: var(--focus-y,50%); width: 54px; height: 54px; margin: -27px 0 0 -27px; border: 1.5px solid #fff; border-radius: 50%; opacity: var(--focus-a,0); transform: scale(calc(.76 + var(--focus-a,0) * .24)); mix-blend-mode: difference; pointer-events: none; will-change: left,top,opacity,transform; }
.tap-focus i { position: absolute; inset: 50% auto auto 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: #fff; }
.story-detail h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; margin: 12px 0 14px; }
.story-detail p:not(.fine) { font-size: 17px; color: var(--muted); max-width: 360px; }
.detail-n { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.story-detail.swap > * { animation: stepIn .5s var(--ease) both; }
.story-detail.swap > :nth-child(2) { animation-delay: .04s; } .story-detail.swap > :nth-child(3) { animation-delay: .08s; }
/* Story controls: 7 tappable segments (current one fills as it plays), pause, prev/next. */
.story-controls { display: flex; align-items: center; gap: 6px; width: calc(var(--w, 330px) + 24px); max-width: 100%; }
.stage-wrap { --w: min(330px, calc((100svh - 230px) * .445)); }
.segs { flex: 1; display: flex; gap: 4px; min-width: 0; }
.segs button { flex: 1; min-width: 0; height: 28px; padding: 0; border: 0; background: none; display: grid; align-items: center; cursor: pointer; }
.segs i { display: block; height: 3px; border-radius: 99px; background: var(--line); overflow: hidden; transition: height .2s; }
.segs i::after { content: ""; display: block; height: 100%; background: var(--fg); border-radius: 99px; transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
.segs button:hover i, .segs button:focus-visible i { height: 5px; }
.sc-btn { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center; padding: 0; cursor: pointer; transition: background .2s, opacity .2s; }
.sc-btn:hover { background: var(--panel); }
.sc-btn[disabled] { opacity: .35; cursor: default; }
.sc-btn svg, .play-flash svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sc-btn .i-play, .play-flash .i-play { display: none; fill: currentColor; stroke-width: 1.4; }
.story.is-paused .sc-btn .i-play, .play-flash.is-play .i-play { display: block; }
.story.is-paused .sc-btn .i-pause, .play-flash.is-play .i-pause { display: none; }
/* Tap on the phone = pause/play; swipe sideways = previous/next. Vertical still scrolls. */
.stage-wrap .device { touch-action: pan-y; cursor: pointer; user-select: none; -webkit-user-select: none; }
.play-flash { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; z-index: 3; pointer-events: none;
  display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); opacity: 0; transform: scale(.8); }
.play-flash svg { width: 26px; height: 26px; }
.play-flash.on { animation: flash-icon .7s var(--ease); }
@keyframes flash-icon { 20% { opacity: 1; transform: none; } 70% { opacity: 1; transform: none; } to { opacity: 0; transform: scale(1.1); } }
.clip-note { font-size: 12px; color: var(--muted); }
@media (max-width: 920px) {
  .story { height: 760vh; }
  /* One screen: step title on top, the phone as big as the rest allows, then
     controls and the description. Heights are budgeted so all of it fits. */
  .story-sticky { display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 68px 18px calc(env(safe-area-inset-bottom) + 20px); }
  .story-copy { display: none; }
  .story-detail { display: contents; }
  .story-detail .detail-n { order: 1; align-self: stretch; text-align: center; margin: 0; }
  .story-detail h3 { order: 2; align-self: stretch; text-align: center; font-size: 22px; margin: -4px 0 0; line-height: 1.15; }
  .stage-wrap { order: 3; gap: 8px; --w: min(76vw, calc((100svh - 300px) * .46)); }
  .story-detail p:not(.fine) { order: 4; text-align: center; font-size: 14px; line-height: 1.45; max-width: 420px; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .story-detail .fine { order: 5; text-align: center; margin: -4px 0 0; }
  .clip-note { display: none; }
}
@media (max-width: 920px) and (max-height: 700px) { .story-detail .fine { display: none; } .stage-wrap { --w: min(76vw, calc((100svh - 272px) * .46)); } }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } }

/* Demo (What you wear) -------------------------------------------------------*/
.demo {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(32px, 7vw, 110px); align-items: center;
  padding: 110px clamp(20px, 5vw, 64px); max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--line);
}
.demo-copy > p:not(.eyebrow) { font-size: 18px; color: var(--muted); margin-top: 22px; max-width: 440px; }
@media (max-width: 920px) { .demo { grid-template-columns: 1fr; padding-block: 80px; } .demo .card { width: 100%; max-width: 520px; justify-self: center; } }
.card { position: relative; background: var(--panel); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 18px; box-shadow: inset 0 0 0 1px var(--inner-line); }
/* What you wear — the same block as the app's Profile. */
.usage-card { gap: 0; }
.usage-head { display: flex; justify-content: space-between; align-items: center; }
.usage-head h3 { font-size: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--inner);
  box-shadow: inset 0 0 0 1px var(--inner-line); font-size: 13px; font-weight: 600; }
.chip svg { width: 10px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.usage-stat { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.usage-stat strong { font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.usage-stat span { color: var(--muted); font-size: 17px; font-weight: 600; }
.usage-meta { color: var(--muted); font-size: 13px; margin-top: 6px; }
.mosaic { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 18px; }
.tile { position: relative; aspect-ratio: 1; min-width: 0; border-radius: 10px; background: var(--inner); overflow: hidden; }
.tile img { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); object-fit: contain; transition: filter .8s var(--ease), opacity .8s var(--ease); }
/* Tiles pop in, then the resting ones fade to grey — the point of the block, played once. */
.js .usage-card .tile { opacity: 0; transform: scale(.6); }
.usage-card.in .tile { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .5s var(--spring); transition-delay: calc(var(--i) * 14ms); }
.usage-card.in .tile.is-rest img { filter: grayscale(1); opacity: .3; transition-delay: 1.3s; }
.tile.is-rest { cursor: pointer; }
.tile.is-rest:hover img { filter: none; opacity: 1; transition-delay: 0s; }
.usage-hint { color: var(--muted); font-size: 12px; margin-top: 12px; }
.usage-eyebrow { font-size: 10px; letter-spacing: .18em; font-weight: 700; color: var(--muted); margin-top: 22px; }
.back-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.back-card b { display: block; font-size: 13px; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.back-card small { color: var(--muted); font-size: 11px; }
.back-img { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; background: var(--inner); }
.back-img img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.back-img i { position: absolute; right: 7px; bottom: 7px; width: 26px; height: 26px; border-radius: 50%; background: var(--fg); color: var(--bg);
  display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 16px; line-height: 1; }

/* Local first ----------------------------------------------------------------*/
.local { padding: 110px clamp(20px, 5vw, 64px); max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--line); }
.local-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.local-grid article { padding: 28px; border-radius: 26px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--inner-line); }
.local-grid h3 { margin: 22px 0 10px; }
.local-grid p { color: var(--muted); font-size: 15px; }
.local-ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--fg); color: var(--bg); }
.local-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .local-grid { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { padding: 110px clamp(16px, 6vw, 90px); max-width: 1100px; margin: 0 auto; text-align: center; border-top: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 50px; text-align: left; }
.price { padding: 32px; border-radius: 30px; background: var(--panel); }
.price-dark { background: var(--fg); color: var(--bg); }
.price-big { font-size: 40px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 18px; }
.price ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.price li { padding-left: 26px; position: relative; font-size: 15px; }
.price li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }

/* FAQ */
.faq { padding: 60px clamp(16px, 6vw, 90px) 100px; max-width: 820px; margin: 0 auto; }
.faq h2 { margin-bottom: 30px; }
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 19px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; transition: rotate .3s var(--ease); }
details[open] summary::after { rotate: 45deg; }
details p { color: var(--muted); margin-top: 12px; font-size: 16px; max-width: 640px; }

/* Final */
.final { text-align: center; padding: 120px 16px 140px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.final-logo { width: min(320px, 70vw); filter: var(--logo-filter); }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 30px clamp(16px, 6vw, 90px);
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer nav { display: flex; gap: 22px; }
footer a:hover { color: var(--fg); }

@media (max-width: 520px) {
  .hero-proof { gap: 20px; flex-wrap: nowrap; }
  .hero-proof strong { font-size: 22px; }
  .hero-proof span { font-size: 12px; }
  .nav .pill { padding: 0 14px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .split .w > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .clip { transition: none; }
  .js .trio .device, .trio.in .device { opacity: 1; animation: none; }
}

/* Legal pages (terms, privacy, support) — same chrome as the landing. */
.legal-page { max-width: 820px; margin: 0 auto; padding: 150px clamp(20px, 5vw, 40px) 110px; }
.legal-page > h1 { font-size: clamp(44px, 6.5vw, 76px); }
.legal-lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); margin: 26px 0 64px; max-width: 640px; }
.legal-lead a { color: var(--fg); text-underline-offset: 4px; text-decoration: underline; }
.legal-page section { padding: 36px 0; border-top: 1px solid var(--line); }
.legal-page section h2 { margin: 0 0 16px; font-size: clamp(22px, 3vw, 30px); }
.legal-page section p, .legal-page section li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal-page section p { margin: 0 0 14px; }
.legal-page section p:last-child { margin-bottom: 0; }
.legal-page section ul { margin: 0; padding-left: 20px; }
.legal-page section li + li { margin-top: 8px; }
.legal-page section a { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }
.legal-page strong { color: var(--fg); }
.legal-table { border-top: 1px solid var(--line); margin-top: 8px; }
.legal-table > div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.legal-table span { color: var(--muted); line-height: 1.55; }
.support-page { min-height: calc(100svh - 90px); }
@media (max-width: 620px) {
  .legal-page { padding-top: 116px; }
  .legal-table > div { grid-template-columns: 1fr; gap: 6px; }
}

/* Product-led editorial direction ------------------------------------------
   Strong type and real app screens do the work; decoration stays quiet. */
:root {
  --bg: #f2efe8; --fg: #11110f; --muted: #77746d; --line: rgba(17,17,15,.18);
  --panel: #e8e4dc; --panel-2: #ded9cf; --inner: #f8f6f1;
  --inner-line: rgba(17,17,15,.08);
  --shadow: 0 32px 90px rgba(25,20,12,.2); --radius: 0px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg:#0e0e0d; --fg:#f4f1e9; --muted:#99958d; --line:rgba(244,241,233,.2); --panel:#191918; --panel-2:#20201e; --inner:#222220; --inner-line:rgba(244,241,233,.08); --shadow:0 32px 100px rgba(0,0,0,.58); }
}
html[data-theme="light"] { --bg:#f2efe8; --fg:#11110f; --muted:#77746d; --line:rgba(17,17,15,.18); --panel:#e8e4dc; --panel-2:#ded9cf; --inner:#f8f6f1; --inner-line:rgba(17,17,15,.08); --shadow:0 32px 90px rgba(25,20,12,.2); }
html[data-theme="dark"] { --bg:#0e0e0d; --fg:#f4f1e9; --muted:#99958d; --line:rgba(244,241,233,.2); --panel:#191918; --panel-2:#20201e; --inner:#222220; --inner-line:rgba(244,241,233,.08); --shadow:0 32px 100px rgba(0,0,0,.58); }

h1 { font-size: clamp(66px, 9.5vw, 148px); font-weight: 900; line-height: .83; letter-spacing: -.07em; }
h2 { font-size: clamp(44px, 6.8vw, 94px); font-weight: 900; line-height: .92; letter-spacing: -.055em; }
h3 { font-weight: 800; }
.progress { height: 2px; background: var(--fg); }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 800; letter-spacing: .18em; }

.nav { min-height: 72px; padding: 12px clamp(18px, 3vw, 42px); }
.brand, .final-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; line-height: 1; }
.brand { font-size: 26px; letter-spacing: -.6px; }
.brand img { width: 34px; height: 34px; object-fit: contain; filter: var(--logo-filter); }
.brand span { transform: translateY(-1px); }
.glow::before { display: none; }
.pill { border-radius: 2px; font-weight: 800; }
.pill-solid:hover { opacity: .76; }
.pill-line { border-color: var(--fg); }
.pill-line:hover { background: var(--fg); color: var(--bg); }
.lang, .icon-btn { border-radius: 50%; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr); align-items: center; min-height: 100svh; max-width: 1600px; padding: 112px clamp(22px,4vw,64px) 42px; text-align: left; overflow: visible; }
.hero-mark { position: absolute; z-index: 0; top: -28%; right: -31%; width: min(1040px,74vw); max-width: none; opacity: .055; filter: var(--logo-filter); pointer-events: none; transform-origin: 50% 46%; transform: translate3d(0,calc(var(--hero-p,0) * -90px),0) rotate(calc(-14deg + var(--hero-p,0) * 7deg)) scale(calc(.96 + var(--hero-p,0) * .1)); will-change: transform; }
.hero-copy { position: relative; z-index: 4; align-items: flex-start; max-width: 780px; }
.hero h1 { max-width: 780px; }
.lede { max-width: 570px; margin-top: 30px; font-size: clamp(17px,1.5vw,21px); }
.hero-ctas { justify-content: flex-start; margin-top: 32px; }
.hero-proof { display: grid; grid-template-columns: repeat(3,max-content); justify-content: flex-start; gap: clamp(20px,3.3vw,54px); width: 100%; padding-top: 26px; margin-top: 30px; border-top: 1px solid var(--line); }
.hero-proof span { display: block; max-width: 112px; line-height: 1.25; }
.trio { z-index: 3; min-height: 720px; margin-top: 0; padding-bottom: 0; --main: min(330px,26vw); }
.trio .device-main { transform: translateY(calc(var(--p,0) * -28px)) rotate(2deg); }
.trio .device-side { top: 19%; --w: calc(var(--main)*.82); }
.trio .device-left { right: 57%; transform: translateX(calc(var(--p,0)*-34px)) rotate(-9deg); }
.trio .device-right { left: 58%; transform: translateX(calc(var(--p,0)*34px)) rotate(10deg); }

.manifesto { max-width: 1280px; padding-block: 150px 160px; }
.manifesto p { margin-bottom: .28em; font-size: clamp(40px,6.6vw,96px); font-weight: 900; letter-spacing: -.055em; line-height: .98; }
.manifesto em { color: var(--fg); letter-spacing: -.06em; }

.pains { max-width: 1320px; padding-block: 110px 150px; border-top: 1px solid var(--line); }
.pains h2 { max-width: 1060px; }
.pain-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--fg); }
.pain { min-height: 260px; padding: 18px 18px 22px 0; border-radius: 0; border-bottom: 1px solid var(--fg); background: transparent; box-shadow: none; }
.pain:nth-child(1), .pain:nth-child(4) { grid-column: span 5; }
.pain:nth-child(2), .pain:nth-child(3), .pain:nth-child(5) { grid-column: span 7; padding-left: clamp(20px,4vw,64px); border-left: 1px solid var(--fg); }
.pain.in:hover { transform: translateY(-5px); background: var(--fg); color: var(--bg); }
.pain-n { color: var(--muted); }
.pain p { max-width: 520px; margin: auto 0; font-size: clamp(22px,2.5vw,36px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.pain em { font-size: 12px; font-weight: 800; letter-spacing: .04em; }

.story-intro { max-width: 1320px; padding: 130px clamp(22px,5vw,76px) 50px; text-align: left; }
.story-intro h2 { max-width: 900px; }
.story-intro > p:not(.eyebrow) { margin: 20px 0 0 auto; }
.story-sticky { grid-template-columns: minmax(220px,1fr) minmax(290px,380px) minmax(220px,1fr); max-width: 1420px; gap: clamp(30px,4vw,70px); padding-inline: clamp(22px,4vw,58px); }
.steps button span, .detail-n { color: var(--muted); }
.story-detail h3 { max-width: 360px; font-size: clamp(30px,3.8vw,54px); line-height: .92; }
.segs i::after { background: var(--fg); }
.device { border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow); }

.demo { max-width: 1320px; grid-template-columns: minmax(280px,.8fr) minmax(420px,1.2fr); gap: clamp(50px,8vw,130px); padding-block: 150px; border-top: 1px solid var(--line); }
.demo-copy { position: sticky; top: 120px; }
.card { border: 1px solid var(--fg); border-radius: 0; background: var(--inner); box-shadow: none; }
.tile, .back-img { border-radius: 0; }

.local { max-width: 1320px; padding-block: 140px; }
.local h2 { max-width: 1000px; }
.local-grid { gap: 0; margin-top: 60px; border-block: 1px solid var(--fg); }
.local-grid article { padding: 34px 34px 34px 0; border-radius: 0; background: transparent; box-shadow: none; }
.local-grid article + article { padding-left: 34px; border-left: 1px solid var(--fg); }
.local-grid h3 { margin-top: 48px; font-size: 26px; }
.local-ico { border: 1px solid var(--fg); border-radius: 50%; background: transparent; color: var(--fg); }

.pricing { max-width: 1320px; padding-block: 140px; }
.pricing h2 { max-width: 1040px; }
.price-grid { gap: 0; margin-top: 60px; border: 1px solid var(--fg); }
.price { min-height: 440px; border-radius: 0; background: transparent; }
.price + .price { border-left: 1px solid var(--fg); }
.price-dark { background: var(--fg); color: var(--bg); }
.price-big { margin-bottom: 44px; font-size: clamp(42px,5vw,74px); font-weight: 900; line-height: .9; }
.price li::before { color: var(--muted); content: "—"; }
.faq { max-width: 900px; }
summary::after { color: var(--fg); }

.final { padding-block: 150px; background: #11110f; color: #f2efe8; }
.final-logo { width: auto; font-size: clamp(50px,8vw,112px); letter-spacing: -.04em; filter: none; }
.final-logo img { width: .9em; height: .9em; filter: invert(1); }
.final .pill-solid { background: #fff; color: #111; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .trio { min-height: 660px; margin-top: 30px; --main: min(330px,44vw); }
  .story-sticky { grid-template-columns: minmax(260px,1fr) minmax(280px,350px); }
  .stage-wrap { grid-row: 1/3; }
  .demo { grid-template-columns: 1fr; }
  .demo-copy { position: static; }
}
@media (max-width: 700px) {
  h1 { font-size: clamp(62px,20vw,98px); }
  h2 { font-size: clamp(42px,13vw,70px); }
  .nav { min-height: 64px; padding: 10px 16px; }
  .brand { font-size: 22px; }
  .brand img { width: 30px; height: 30px; }
  .hero { display: block; min-height: auto; padding: 112px 18px 40px; }
  .hero-mark { top: 7%; right: -78%; width: 160vw; opacity: .07; }
  .hero-proof { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .trio { min-height: 520px; margin-top: 44px; --main: min(270px,62vw); }
  .manifesto { padding-block: 110px 120px; }
  .pains { padding-block: 86px 110px; }
  .pain-grid { display: block; margin-top: 40px; }
  .pain { min-height: 190px; padding: 16px 0; border-left: 0 !important; }
  .pain p { font-size: 27px; }
  .story-intro { padding-top: 100px; }
  .story-intro > p:not(.eyebrow) { margin-left: 0; }
  .demo { padding-block: 100px; }
  .local, .pricing { padding-block: 100px; }
  .local-grid, .price-grid { grid-template-columns: 1fr; }
  .local-grid article { padding: 28px 0; }
  .local-grid article + article { padding-left: 0; border-top: 1px solid var(--fg); border-left: 0; }
  .local-grid h3 { margin-top: 28px; }
  .price { min-height: auto; }
  .price + .price { border-top: 1px solid var(--fg); border-left: 0; }
  .final { padding-block: 110px; }
}
@media (max-width: 430px) {
  .nav-actions .pill { display: none; }
  .hero-ctas { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .pill-lg { padding-inline: 12px; }
  .trio { min-height: 470px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mark { transform: rotate(-14deg); }
  .tap-focus { display: none; }
  .clip { transform: none; }
}

/* Pile → look ---------------------------------------------------------------*/
.pile { max-width: 1320px; margin: 0 auto; padding: 150px clamp(20px, 5vw, 64px); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(280px,.8fr) minmax(320px,1.2fr); gap: clamp(40px,7vw,110px); align-items: center; }
.pile-copy > p:not(.eyebrow) { font-size: 18px; color: var(--muted); margin-top: 22px; max-width: 440px; }
/* Looks as a story-style progress: one segment per look, the current one
   fills until the next look takes over (4.4 s, landing.js); the ones already
   shown stay full. The look's name sits under its segment. */
.pile-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 34px; max-width: 520px; }
.pile-tabs button { position: relative; border: 0; background: none; padding: 16px 0 0; min-height: 44px; text-align: left;
  font-size: 13px; font-weight: 650; line-height: 1.25; letter-spacing: -.005em;
  color: color-mix(in srgb, var(--fg) 45%, transparent); transition: color .3s; }
.pile-tabs button::before, .pile-tabs button::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; }
.pile-tabs button::before { background: color-mix(in srgb, var(--fg) 16%, transparent); }
.pile-tabs button::after { background: var(--fg); transform: scaleX(0); transform-origin: 0 50%; }
.pile-tabs button:hover { color: color-mix(in srgb, var(--fg) 75%, transparent); }
.pile-tabs button[aria-selected="true"] { color: var(--fg); }
.pile-tabs button[aria-selected="true"]::after { animation: look-bar 4.4s linear both; }
.pile-tabs button:has(~ [aria-selected="true"])::after { transform: scaleX(1); }
@keyframes look-bar { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .pile-tabs button[aria-selected="true"]::after { animation: none; transform: scaleX(1); } }
/* Smaller: the copy leads, the pile illustrates. */
.pile-stage { position: relative; width: 78%; max-width: 420px; aspect-ratio: .92; justify-self: center; }
.pile-piece { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: auto;
  transform: translate(-50%, -50%) rotate(var(--r)); opacity: 1;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.14));
  transition: left 1s var(--ease), top 1s var(--ease), transform 1s var(--ease), opacity .3s ease;
  transition-delay: calc(var(--i) * 70ms), calc(var(--i) * 70ms), calc(var(--i) * 70ms), 0ms; }
.pile-stage.is-pile .pile-piece { left: var(--px); top: var(--py); transform: translate(-50%, -50%) rotate(var(--pr)) scale(.78);
  transition-duration: .6s, .6s, .6s, .3s; }
.pile-stage .pile-piece.is-out { opacity: 0; }
.pile-name { position: absolute; right: 2%; bottom: 0; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 650;
  background: var(--fg); color: var(--bg); transition: opacity .3s; }
.pile-stage.is-pile .pile-name { opacity: 0; }
@media (prefers-color-scheme: dark) { .pile-piece { filter: drop-shadow(0 12px 22px rgba(0,0,0,.6)); } }
html[data-theme="dark"] .pile-piece { filter: drop-shadow(0 12px 22px rgba(0,0,0,.6)); }
@media (max-width: 920px) { .pile { grid-template-columns: 1fr; padding-block: 100px; } }
@media (prefers-reduced-motion: reduce) { .pile-piece { transition: opacity .4s ease; } }
@media (max-width: 600px) {
  .pile-tabs { gap: 8px; }
  .pile-tabs button { font-size: 12px; }
}

/* Brand lockup: the drop as a solid silhouette (eyes cut out), sized to the word. */
.brand { gap: 10px; align-items: center; }
.brand img { width: auto !important; height: 1.5em !important; object-fit: contain; margin: -.18em 0; }
@media (max-width: 600px) { .brand img { height: 1.45em !important; } }
.final-logo img { width: auto; height: 1.1em; }
/* Final lockup: the drop above the word. */
.final-logo { flex-direction: column; gap: .12em; }
.final-logo img { height: 1.05em !important; width: auto; filter: var(--logo-filter); }
/* The closing block follows the theme: light page → light block, logo and CTA in ink. */
.final { background: var(--panel); color: var(--fg); }
.final-logo img { filter: var(--logo-filter) !important; }
.final .pill-solid { background: var(--fg); color: var(--bg); }
/* Footer lockup: the drop and the word at a size that reads as a signature. */
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { height: 30px; width: auto; filter: var(--logo-filter); }
.foot-brand b { font-size: 22px; font-weight: 900; letter-spacing: -.04em; color: var(--fg); }
.foot-brand small { font-size: 13px; color: var(--muted); margin-left: 6px; }
footer { align-items: center; }
/* FAQ as a DM thread: your question on the right, deadrip answers on the left. */
.faq .chat { max-width: 680px; margin: 34px auto 0; display: flex; flex-direction: column; gap: 22px; }
.chat-pair { display: flex; flex-direction: column; gap: 8px; }
.msg { margin: 0; max-width: 78%; padding: 12px 16px; border-radius: 22px; font-size: 17px; line-height: 1.38; }
.msg-q { align-self: flex-end; background: var(--fg); color: var(--bg); font-weight: 650; border-bottom-right-radius: 6px; }
.msg-a { align-self: flex-start; display: flex; gap: 10px; align-items: flex-end; background: none; padding: 0; max-width: 88%; }
.msg-a span { background: var(--panel-2); color: var(--fg); padding: 12px 16px; border-radius: 22px; border-bottom-left-radius: 6px; }
.msg-ava { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; }
.msg-ava img { height: 19px; width: auto; filter: var(--logo-filter); }
/* The answer lands a beat after the question — like someone typing back. */
.msg-a.reveal { transition-delay: .35s !important; }
@media (max-width: 600px) { .msg { font-size: 15px; } .msg-q { max-width: 86%; } }
/* Typed-by-scroll thread states. */
.msg-q { opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease); }
.msg-q.is-on { opacity: 1; transform: none; }
.msg-q .ghost { display: none; }
.msg-q .typed:empty::after { content: "\200b"; }
.msg-a { opacity: 0; transform: translateY(10px) scale(.98); transform-origin: left bottom; transition: opacity .3s, transform .35s var(--spring); }
.msg-a.is-on { opacity: 1; transform: none; }
.msg-dots { display: none; align-self: flex-start; gap: 10px; align-items: flex-end; margin: 0; }
.msg-dots.is-on { display: flex; }
.msg-dots span { display: inline-flex; gap: 5px; padding: 15px 16px; border-radius: 22px; border-bottom-left-radius: 6px; background: var(--panel-2); }
.msg-dots b { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite ease-in-out; }
.msg-dots b:nth-child(2) { animation-delay: .15s; } .msg-dots b:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .msg-q, .msg-a { opacity: 1; transform: none; } }
