/* ==========================================================================
   esdora.uz — the public website. Brandbook 1.0: Ink and Paper, one Mint action, Manrope, the 24° axis.
   The page is a scroll story: motion follows the scroll position, not a timer.
   ========================================================================== */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  --ink: #0D1412; --ink-2: #151F1C; --ink-3: #1C2724; --ink-line: #26332F;
  --paper: #F4F5F2; --white: #FFFFFF; --sunken: #EAEDE8; --line: #DDE1DA;
  --slate: #5B605A; --slate-dark: #A3ADA8;
  --mint: #2EE6A6; --mint-deep: #087A55; --mint-tint: #E3F4EC;
  --warn: #9A4507; --warn-tint: #FBEFE1; --info: #1D4ED8; --info-tint: #E6EEFD;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --fast: 120ms; --base: 200ms; --slow: 320ms; --signature: 560ms;
  --radius: 12px; --radius-lg: 20px; --radius-xl: 28px;
  --shadow-2: 0 8px 24px rgba(13, 20, 18, .12); --shadow-3: 0 24px 64px rgba(13, 20, 18, .18);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 17px; line-height: 1.55; font-weight: 500; color: var(--ink); background: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
.wrap { width: min(1240px, 100% - 64px); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--mint); color: var(--ink); font-weight: 700; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
::selection { background: var(--mint); color: var(--ink); }

/* Buttons: the capsule */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: transform var(--base) var(--ease), background var(--base) var(--ease), box-shadow var(--base) var(--ease), border-color var(--base) var(--ease), color var(--base); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { box-shadow: 0 10px 34px -8px rgba(46, 230, 166, .6); transform: translateY(-2px); }
.btn-mint span { transition: transform var(--base) var(--ease); }
.btn-mint:hover span { transform: translateX(4px); }
.btn-ghost-light { border-color: #33433e; color: var(--paper); }
.btn-ghost-light:hover { background: var(--ink-2); border-color: #4a5b55; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-outline { border-color: #848B85; color: var(--ink); background: var(--white); }
.btn-outline:hover { background: var(--sunken); }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .02em; color: var(--mint); }
.eyebrow.dark { color: var(--mint-deep); }
.mint-text { color: var(--mint); }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background var(--slow) var(--ease), box-shadow var(--slow) var(--ease), transform var(--slow) var(--ease); }
.nav.scrolled { background: rgba(13, 20, 18, .9); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 var(--ink-line); }
.nav.hide { transform: translateY(-100%); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: 12px; }
.nav-links a { position: relative; color: var(--slate-dark); font-size: 15px; font-weight: 600; transition: color var(--fast); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform var(--slow) var(--ease); }
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-login { color: var(--paper); font-size: 15px; font-weight: 700; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--ink-2); }
.lang button { padding: 5px 10px; border: 0; border-radius: 999px; background: none; color: var(--slate-dark); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.lang button.on { background: var(--ink-line); color: var(--paper); }
.nav-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink-2); cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--paper); transition: transform var(--base) var(--ease); }
.nav-burger span:first-child { top: 17px; } .nav-burger span:last-child { top: 25px; }
.nav.open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ==========================================================================
   1 · The story (pinned)
   ========================================================================== */
.story { position: relative; height: 400vh; background: var(--ink); color: var(--paper); }
.story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story-grid { position: absolute; inset: -40% -30%; transform: rotate(-24deg); pointer-events: none; will-change: transform, opacity; }
.cap-row { display: flex; gap: 34px; height: 38px; margin-bottom: 40px; white-space: nowrap; }
.cap-row:nth-child(even) { margin-left: -120px; }
.cap-row i { flex: none; width: var(--w); height: 38px; border-radius: 19px; background: #111b18; }
.cap-row i.mint { background: var(--mint); opacity: .85; }
.story-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms var(--ease); }
.has-video .story-video { opacity: 1; }
.has-video .story-grid { display: none; }


.story-title { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); width: min(1240px, 100% - 64px); margin: 0 auto; will-change: transform, opacity; }
.story-title h1 { margin-top: 20px; max-width: 560px; font-size: clamp(44px, 5.2vw, 84px); line-height: .98; font-weight: 800; letter-spacing: -.045em; }
.story-title .lead { margin-top: 24px; max-width: 500px; font-size: 19px; line-height: 1.6; color: var(--slate-dark); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--slate-dark); letter-spacing: .04em; }
.scroll-hint span { width: 2px; height: 42px; border-radius: 2px; background: linear-gradient(var(--mint), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* The device the capsule opens into */
.device { position: absolute; right: max(32px, calc((100% - 1240px) / 2)); top: 50%; width: min(680px, 46vw); aspect-ratio: 16 / 10.5; border-radius: 22px; background: var(--paper); color: var(--ink); overflow: hidden; transform: translateY(-50%); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06); transform-origin: center; will-change: transform, opacity; }
.device-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: var(--sunken); }
.device-bar i { width: 11px; height: 11px; border-radius: 50%; background: #C9CFC6; }
.device-bar span { margin: 0 auto; padding: 3px 16px; border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 600; color: var(--slate); }
.device-app { display: flex; height: calc(100% - 36px); }
.d-side { flex: none; width: 17%; padding: 16px 12px; background: var(--ink); display: flex; flex-direction: column; gap: 9px; }
.d-side img { width: 76%; height: auto; margin: 2px 0 14px 4px; }
.d-side b { height: 26px; border-radius: 9px; background: #151F1C; }
.d-side b.on { background: #1C2724; box-shadow: inset 3px 0 0 var(--mint); }
.d-main { position: relative; flex: 1; padding: 18px 20px; }
.d-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.d-top strong { font-size: 22px; letter-spacing: -.02em; }
.live { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12.5px; font-weight: 700; }
.live-cap { width: 22px; height: 11px; border-radius: 6px; background: var(--mint); transform: rotate(-24deg); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(46, 230, 166, .55); } 50% { box-shadow: 0 0 0 7px rgba(46, 230, 166, 0); } }
.d-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; height: calc(100% - 50px); }
.d-col { border-radius: 16px; background: var(--sunken); padding: 10px; transition: background var(--slow) var(--ease); }
.d-col p { display: flex; align-items: center; gap: 7px; margin: 2px 4px 10px; font-size: 13px; font-weight: 800; color: var(--slate); }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-info { background: var(--info); } .dot-warn { background: #D97706; } .dot-ok { background: var(--mint-deep); }
.d-card { margin-bottom: 8px; padding: 10px 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 13px; line-height: 1.35; }
.d-card b { display: block; font-size: 13.5px; } .d-card small { color: var(--slate); font-size: 12px; }
.d-card.ghost { opacity: .5; }
/* The lead: placed in its column by the chapter, glides between them. */
.d-hero-card { position: absolute; top: 102px; left: calc(20px + 10px + var(--col, 0) * ((100% - 40px - 24px) / 3 + 12px)); width: calc((100% - 40px - 24px) / 3 - 20px); padding: 12px; border-radius: 14px; background: var(--white); box-shadow: 0 18px 40px -12px rgba(13, 20, 18, .35), 0 0 0 2px var(--mint); font-size: 13px; line-height: 1.35; opacity: 0; transform: translateY(-14px) scale(.96); transition: left 700ms var(--ease), opacity 400ms var(--ease), transform 500ms var(--ease); }
.d-hero-card small { color: var(--slate); font-size: 12px; }
.hc-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; margin-bottom: 2px; }
.hc-top b { font-size: 14px; }
.src { padding: 2px 7px; border-radius: 999px; background: linear-gradient(90deg, #F58529, #DD2A7B 55%, #8134AF); color: #fff; font-size: 10.5px; font-weight: 800; }
.hc { display: none; align-items: center; gap: 7px; margin-top: 8px; padding: 6px 8px; border-radius: 9px; font-size: 12px; font-weight: 700; animation: pop var(--slow) var(--ease); }
.hc-match { background: var(--mint-tint); color: var(--mint-deep); }
.hc-pdf { background: #E8F4FC; color: #1876B8; }
.hc-won { background: var(--mint-deep); color: var(--white); }
.ring { position: relative; isolation: isolate; display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: conic-gradient(var(--mint-deep) 92%, var(--line) 0); font-size: 9.5px; font-weight: 800; color: var(--ink); }
.ring::before { content: ""; position: absolute; inset: 3px; z-index: -1; border-radius: 50%; background: var(--white); }
@keyframes pop { from { opacity: 0; transform: scale(.92); } }
[data-chapter="1"] .d-hero-card, [data-chapter="2"] .d-hero-card, [data-chapter="3"] .d-hero-card, [data-chapter="4"] .d-hero-card { opacity: 1; transform: none; }
[data-chapter="1"] .d-hero-card, [data-chapter="2"] .d-hero-card { --col: 0; }
[data-chapter="3"] .d-hero-card { --col: 1; }
[data-chapter="4"] .d-hero-card { --col: 2; }
[data-chapter="2"] .hc-match, [data-chapter="3"] .hc-match, [data-chapter="4"] .hc-match { display: flex; }
[data-chapter="3"] .hc-pdf, [data-chapter="4"] .hc-pdf { display: flex; }
[data-chapter="4"] .hc-won { display: flex; }
[data-chapter="1"] .d-col[data-col="1"], [data-chapter="3"] .d-col[data-col="2"], [data-chapter="4"] .d-col[data-col="3"] { background: var(--mint-tint); }

/* Chapter texts and the rail */
.chapters { position: absolute; left: max(32px, calc((100% - 1240px) / 2)); top: 50%; width: min(330px, 26vw); transform: translateY(-50%); list-style: none; padding: 0; pointer-events: none; }
.chapters li { position: absolute; top: 0; left: 0; right: 0; transform: translateY(-50%); opacity: 0; transition: opacity 420ms var(--ease), transform 520ms var(--ease); }
.chapters li > * { display: block; transform: translateY(26px); transition: transform 620ms var(--ease); }
.chapters span { font-size: 15px; font-weight: 800; color: var(--mint); }
.chapters b { margin-top: 10px; font-size: clamp(28px, 2.9vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.chapters em { margin-top: 16px; font-style: normal; font-size: 16.5px; line-height: 1.6; color: var(--slate-dark); }
[data-chapter="1"] [data-ch="1"], [data-chapter="2"] [data-ch="2"], [data-chapter="3"] [data-ch="3"], [data-chapter="4"] [data-ch="4"] { opacity: 1; }
[data-chapter="1"] [data-ch="1"] > *, [data-chapter="2"] [data-ch="2"] > *, [data-chapter="3"] [data-ch="3"] > *, [data-chapter="4"] [data-ch="4"] > * { transform: none; }
.chapters li > em { transition-delay: 60ms; }
.rail { position: absolute; left: max(10px, calc((100% - 1240px) / 2 - 30px)); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; opacity: 0; transition: opacity var(--slow); }
.rail i { width: 4px; height: 34px; border-radius: 2px; background: var(--ink-line); transition: background var(--slow) var(--ease), height var(--slow) var(--ease); }
[data-chapter="1"] .rail, [data-chapter="2"] .rail, [data-chapter="3"] .rail, [data-chapter="4"] .rail { opacity: 1; }
[data-chapter="1"] [data-r="1"], [data-chapter="2"] [data-r="2"], [data-chapter="3"] [data-r="3"], [data-chapter="4"] [data-r="4"] { background: var(--mint); height: 54px; }
[data-chapter="2"] [data-r="1"], [data-chapter="3"] [data-r="1"], [data-chapter="3"] [data-r="2"], [data-chapter="4"] [data-r="1"], [data-chapter="4"] [data-r="2"], [data-chapter="4"] [data-r="3"] { background: #3c5a50; }

/* ==========================================================================
   2 · Statement, 3 · facts, the band
   ========================================================================== */
.statement { padding: 18vh 0 12vh; background: var(--ink); color: var(--paper); }
.statement-text { max-width: 1100px; font-size: clamp(30px, 4.2vw, 62px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; }
.statement-text .w { display: inline-block; opacity: .14; filter: blur(7px); transform: translateY(6px); transition: opacity 500ms var(--ease), filter 600ms var(--ease), transform 600ms var(--ease); }
.statement-text .w.on { opacity: 1; filter: none; transform: none; }
.statement-text .w.mint { color: var(--mint); }
.facts { padding: 0 0 16vh; background: var(--ink); color: var(--paper); }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink-line); }
.fact { padding: 34px 28px 0 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--ink-line); }
.fact b { display: block; font-size: clamp(56px, 7vw, 104px); line-height: 1; font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 14px; max-width: 230px; font-size: 15.5px; color: var(--slate-dark); }
.band { overflow: hidden; padding: 30px 0; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-track { display: flex; align-items: center; gap: 46px; width: max-content; will-change: transform; }
.band span { font-size: clamp(56px, 8.5vw, 132px); line-height: 1; font-weight: 800; letter-spacing: -.045em; color: var(--ink); white-space: nowrap; }
.band span.out { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.band i { flex: none; width: 74px; height: 30px; border-radius: 15px; background: var(--mint); transform: rotate(-24deg); }

/* ==========================================================================
   4 · Tour (pinned, sideways)
   ========================================================================== */
.tour { position: relative; height: 520vh; background: var(--paper); }
.tour-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 4vh; }
.tour-head { display: flex; align-items: baseline; gap: 24px; }
.tour-head h2 { font-size: clamp(40px, 5.2vw, 84px); line-height: 1; font-weight: 800; letter-spacing: -.045em; }
.tour-track { display: flex; gap: 4vw; padding: 0 max(32px, calc((100vw - 1240px) / 2)); width: max-content; will-change: transform; }
.panel-card { flex: none; display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); align-items: center; gap: 3.2vw; width: min(1180px, 84vw); }
.pc-n { font-size: 15px; font-weight: 800; color: var(--mint-deep); }
.pc-text h3 { margin-top: 12px; font-size: clamp(28px, 2.8vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.pc-text p { margin-top: 16px; font-size: 17px; color: var(--slate); }
.frame { overflow: hidden; border-radius: 18px; background: var(--white); box-shadow: 0 50px 90px -40px rgba(13, 20, 18, .45), 0 0 0 1px var(--line); }
.frame-bar { display: flex; gap: 6px; height: 28px; align-items: center; padding: 0 12px; background: var(--sunken); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9CFC6; }
.frame img { width: 100%; height: auto; }
.tour-progress { height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.tour-progress i { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   5 · Esdora AI, 6 · who, 7 · trust, 8 · pricing, 9 · FAQ
   ========================================================================== */
.section { padding: 140px 0; }
.paper { background: var(--paper); } .white { background: var(--white); } .ink { background: var(--ink); color: var(--paper); }
.section-head { max-width: 820px; margin: 0 auto 64px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }
h2.big { margin-top: 14px; font-size: clamp(36px, 4.6vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; }
.sub { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--slate); }
.ink .sub { color: var(--slate-dark); }

.assist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); align-items: center; gap: 90px; }
.checks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 15px; }
.checks li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; }
.checks li::before { content: ""; flex: none; width: 26px; height: 13px; border-radius: 7px; background: var(--mint); transform: rotate(-24deg); }
.phone { justify-self: center; width: 340px; padding: 12px; border-radius: 50px; background: #05090A; box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--ink-line); }
.phone-screen { height: 620px; border-radius: 40px; background: #0f1a17; overflow: hidden; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 24px 18px 14px; background: var(--ink-2); }
.chat-head img { width: 34px; height: 34px; }
.chat-head b { display: block; font-size: 15px; } .chat-head small { color: var(--slate-dark); font-size: 12px; }
.chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 16px; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 18px; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity var(--slow) var(--ease), transform 420ms var(--ease); }
.msg.in { opacity: 1; transform: none; }
.msg.gone { display: none; }
.me { align-self: flex-end; background: #2b5278; color: #fff; border-bottom-right-radius: 6px; }
.bot { align-self: flex-start; background: var(--ink-3); color: var(--paper); border-bottom-left-radius: 6px; display: flex; flex-direction: column; gap: 3px; }
.bot b { color: var(--mint); } .bot span { color: #d5dad6; font-size: 13.5px; }
.voice { display: flex; align-items: center; gap: 10px; }
.play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #2b5278; font-size: 11px; }
.wave { display: flex; align-items: center; gap: 2px; height: 22px; }
.wave i { width: 3px; height: var(--h); border-radius: 2px; background: rgba(255, 255, 255, .75); }
.msg.in .wave i { animation: wave 1.1s var(--ease) infinite alternate; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.6s; }
@keyframes wave { to { transform: scaleY(.45); } }
.voice small { color: rgba(255, 255, 255, .7); font-size: 11.5px; }
.typing { flex-direction: row; gap: 5px; padding: 13px 15px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--slate-dark); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; transform: translateY(-2px); } }
.btns { display: flex; gap: 8px; margin-top: 8px; }
.btns em { flex: 1; padding: 7px 10px; border-radius: 999px; background: var(--mint); color: var(--ink); font-style: normal; font-weight: 800; font-size: 12.5px; text-align: center; }
.btns em.ghost { background: transparent; border: 1px solid var(--ink-line); color: var(--paper); }
.bot.ok { color: var(--mint); font-weight: 700; }

.who { position: relative; }
.who-list { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.who-list li { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); cursor: default; transition: padding var(--slow) var(--ease); }
.who-n { font-size: 15px; font-weight: 800; color: var(--slate); transition: color var(--slow); }
.who-list b { font-size: clamp(34px, 4.8vw, 76px); line-height: 1; font-weight: 800; letter-spacing: -.045em; transition: transform var(--slow) var(--ease), color var(--slow); }
.who-list em { font-style: normal; font-size: 17px; color: var(--slate); }
.who-thumb { display: none; }
.who-list li:hover { padding-left: 14px; }
.who-list li:hover .who-n { color: var(--mint-deep); }
.who-list li:hover b { transform: translateX(8px); }
.who-float { position: fixed; left: 0; top: 0; z-index: 30; width: 360px; border-radius: 16px; box-shadow: 0 40px 80px -24px rgba(13, 20, 18, .5), 0 0 0 1px var(--line); pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.8) rotate(-4deg); transition: opacity var(--slow) var(--ease), transform 420ms var(--ease); }
.who-float.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }

.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.trust-item { padding: 34px 30px 0 0; }
.trust-item + .trust-item { padding-left: 30px; border-left: 1px solid var(--line); }
.t-cap { display: block; width: 34px; height: 16px; border-radius: 8px; background: var(--mint); transform: rotate(-24deg); }
.trust-item h3 { margin-top: 22px; font-size: 24px; font-weight: 800; letter-spacing: -.025em; }
.trust-item p { margin-top: 10px; font-size: 16px; color: var(--slate); }

.billing-switch { display: inline-flex; gap: 4px; margin-top: 30px; padding: 4px; border-radius: 999px; background: var(--sunken); }
.billing-switch button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--slate); cursor: pointer; transition: background var(--base) var(--ease), color var(--base); }
.billing-switch button.on { background: var(--ink); color: var(--paper); }
.save { padding: 2px 8px; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: 12px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--radius-xl); background: var(--white); border: 1px solid var(--line); transition: transform var(--slow) var(--ease), box-shadow var(--slow) var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.plan.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: var(--shadow-3); }
.plan-flag { position: absolute; top: -13px; left: 30px; padding: 5px 12px; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: 12.5px; font-weight: 800; }
.plan h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.plan-sub { margin-top: 6px; min-height: 48px; font-size: 14.5px; color: var(--slate); }
.featured .plan-sub, .featured .plan-price span { color: var(--slate-dark); }
.plan-price { margin: 24px 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.plan-price b { font-size: 48px; line-height: 1; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.plan-price span { flex-basis: 100%; font-size: 14px; color: var(--slate); } /* always under the price, so the cards line up */
.p-year { display: none; }
[data-billing="year"] .p-month { display: none; } [data-billing="year"] .p-year { display: inline; animation: pop var(--slow) var(--ease); }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 600; }
.plan li::before { content: ""; flex: none; width: 18px; height: 9px; border-radius: 5px; background: var(--mint-deep); transform: rotate(-24deg); }
.featured li::before { background: var(--mint); }
.plan li.off { color: var(--slate); font-weight: 500; } .plan li.off::before { background: var(--line); }
.featured .btn-ink { background: var(--mint); color: var(--ink); }
.plans-note { margin-top: 28px; text-align: center; font-size: 14.5px; color: var(--slate); }

.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; list-style: none; cursor: pointer; font-size: 20px; font-weight: 700; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 26px; height: 13px; border-radius: 7px; background: var(--line); transition: transform var(--slow) var(--ease), background var(--slow); }
.faq details[open] summary::after { background: var(--mint); transform: rotate(-24deg); }
.faq p { padding: 0 0 26px; max-width: 640px; font-size: 16.5px; color: var(--slate); animation: pop var(--slow) var(--ease); }

/* ==========================================================================
   10 · Final, the wordmark, the footer
   ========================================================================== */
.final { position: relative; overflow: hidden; padding: 150px 0 0; background: var(--ink); color: var(--paper); }
.final-in { position: relative; z-index: 1; }
.huge { max-width: 1000px; font-size: clamp(44px, 6.4vw, 104px); line-height: .98; font-weight: 800; letter-spacing: -.045em; }
.footer { margin-top: 120px; padding: 30px 0 36px; border-top: 1px solid var(--ink-line); color: var(--slate-dark); font-size: 14px; }
.footer-row img { height: 24px; width: auto; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.footer nav { display: flex; gap: 22px; margin-left: auto; }
.footer a:hover { color: var(--paper); }

/* Reveal on scroll (only where scripts run) */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Tablets and phones
   ========================================================================== */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .device { width: 54vw; }
  .chapters { left: 24px; right: 24px; top: auto; bottom: 7vh; width: auto; transform: none; }
  .chapters li { transform: none; top: auto; bottom: 0; }
  .chapters b { font-size: clamp(26px, 6vw, 36px); }
  .chapters em { font-size: 15px; }
  .rail { left: auto; right: 16px; top: 84px; transform: none; flex-direction: row; }
  .rail i { width: 26px; height: 4px; }
  [data-chapter="1"] [data-r="1"], [data-chapter="2"] [data-r="2"], [data-chapter="3"] [data-r="3"], [data-chapter="4"] [data-r="4"] { width: 40px; height: 4px; }
  .assist, .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .panel-card { grid-template-columns: minmax(0, 1fr); width: 86vw; gap: 22px; }
  .who-list li { grid-template-columns: 50px minmax(0, 1fr); }
  .who-list em { grid-column: 2; }
  .who-float { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: min(1240px, 100% - 32px); }
  .nav-row { height: 64px; gap: 10px; }
  .nav-login, .nav-actions > .btn-mint { display: none; }
  .nav-burger { display: block; }
  .nav.open { background: var(--ink); }
  .nav.open .nav-links { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 20px; background: var(--ink); border-bottom: 1px solid var(--ink-line); }
  .nav.open .nav-links a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--ink-2); }
  .story { height: 380vh; }
  .story-title { top: 44%; width: calc(100% - 32px); }
  .story-title .lead { font-size: 16.5px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .scroll-hint { display: none; }
  .device { right: auto; left: 50%; top: 0; width: 92vw; aspect-ratio: 10 / 10.5; border-radius: 18px; transform: translate(-50%, 62vh); }
  .d-side { display: none; }
  .d-main { padding: 12px; }
  .d-top strong { font-size: 17px; }
  .live { font-size: 10.5px; padding: 5px 9px; }
  .d-cols { gap: 6px; }
  .d-col { padding: 6px; border-radius: 12px; }
  .d-col p { font-size: 11px; margin-bottom: 8px; }
  .d-card { padding: 7px; font-size: 11px; } .d-card b { font-size: 11.5px; } .d-card small { font-size: 10px; }
  .d-hero-card { top: 78px; left: calc(12px + 6px + var(--col, 0) * ((100% - 24px - 12px) / 3 + 6px)); width: calc((100% - 24px - 12px) / 3 - 12px); padding: 8px; font-size: 11px; }
  .d-hero-card small { font-size: 10px; }
  .hc { font-size: 10.5px; padding: 5px 6px; }
  .hc .ring { display: none; }
  .src { font-size: 9px; padding: 1px 5px; }
  .chapters { bottom: 5vh; }
  .statement { padding: 14vh 0 10vh; }
  .facts-row { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact + .fact { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--ink-line); }
  .band { padding: 20px 0; }
  .band i { width: 50px; height: 20px; }
  .tour { height: 460vh; }
  .section { padding: 96px 0; }
  .who-list li { padding: 24px 0; gap: 12px; }
  .who-thumb { display: block; grid-column: 1 / -1; width: 100%; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .trust-item, .trust-item + .trust-item { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .phone { width: min(320px, 100%); }
  .phone-screen { height: 560px; }
  .final { padding-top: 110px; }
  .footer nav { margin-left: 0; flex-wrap: wrap; }
}

/* Reduced motion: no pinned story; everything shows in its finished state. */
.calm .story { height: auto; }
.calm .story-stage { position: relative; height: auto; padding: 150px 0 80px; display: grid; gap: 60px; }
.calm .story-title { position: relative; top: 0; transform: none; }
.calm .scroll-hint, .calm .rail, .calm .story-grid { display: none; }
.calm .device { position: relative; left: auto; right: auto; top: auto; width: min(900px, 100% - 32px); margin: 0 auto; transform: none; }
.calm .chapters { position: relative; left: auto; top: auto; width: min(1240px, 100% - 64px); margin: 0 auto; transform: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.calm .chapters li { position: relative; opacity: 1; transform: none; }
.calm .chapters li > * { transform: none; }
.calm .tour { height: auto; }
.calm .tour-stage { position: relative; height: auto; padding: 120px 0; }
.calm .tour-track { width: auto; flex-direction: column; padding: 0 32px; }
.calm .panel-card { width: auto; }
.calm .statement-text .w { opacity: 1; filter: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 120ms !important; transition-delay: 0s !important; }
  .js .reveal { transform: none; }
}
@media (max-width: 720px) { .cap-row i.mint { opacity: .3; } }

/* The live demo on the first screen: a soft Mint light behind it, notifications over it. */
.story-stage::before { content: ""; position: absolute; right: -10%; top: 10%; width: 60vw; height: 80vh; background: radial-gradient(closest-side, rgba(46, 230, 166, .14), transparent 70%); pointer-events: none; }
.d-toasts { position: absolute; right: 16px; bottom: 16px; display: grid; justify-items: end; pointer-events: none; }
.d-toast { grid-area: 1 / 1; display: flex; align-items: center; gap: 9px; padding: 9px 14px 9px 9px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow-2); opacity: 0; transform: translateY(12px); transition: opacity 320ms var(--ease), transform 420ms var(--ease); }
.d-toast span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 12px; font-weight: 800; }
[data-chapter="1"] [data-t="1"], [data-chapter="2"] [data-t="2"], [data-chapter="3"] [data-t="3"], [data-chapter="4"] [data-t="4"] { opacity: 1; transform: none; transition-delay: 350ms; }
/* While the hero plays by itself, the chapter texts and rail wait; they come once the visitor scrolls. */
.story-stage:not(.is-story) .chapters, .story-stage:not(.is-story) .rail { opacity: 0 !important; }
.chapters, .rail { transition: opacity 400ms var(--ease); }
@media (max-width: 720px) {
  .story-title { top: 96px; transform: none; }
  .story-title h1 { font-size: clamp(36px, 10.5vw, 46px); }
  .story-title .lead { margin-top: 14px; font-size: 15.5px; }
  .story-title .hero-cta { margin-top: 20px; }
  .story-title .btn-lg { height: 50px; }
  .story-stage::before { right: -40%; top: 40%; width: 120vw; }
  .d-toast { font-size: 10.5px; padding: 6px 10px 6px 6px; }
  .d-toast span { width: 20px; height: 20px; }
}
/* The column holding the lead clears its placeholder cards, so nothing shows through underneath. */
.d-card.ghost { transition: opacity var(--slow) var(--ease); }
[data-chapter="1"] [data-col="1"] .ghost, [data-chapter="2"] [data-col="1"] .ghost,
[data-chapter="3"] [data-col="2"] .ghost, [data-chapter="4"] [data-col="3"] .ghost { opacity: 0; }
