/* komputah.com
   Design read: the KOMPUTAH "night office" (Kursor mascot, mint, live demos) made calmer and more premium,
   in an Apple-like rhythm: big type, generous space, motion that settles once. Light and dark.
   Dial ENERGY 3 / RHYTHM 3 / MOTION 3. Mint is the one action colour. */

:root {
  --bg: #fbfcfb; --bg-2: #f2f6f3; --surface: #ffffff; --surface-2: #f4f7f5; --surface-3: #ebf1ed;
  --line: #e2e9e4; --line-2: #ccd8d0;
  --ink: #0a110d; --ink-2: #425048; --ink-3: #6a7a71;
  --accent: #12804a; --accent-ink: #0c6a3c; --accent-soft: #e5f4ea; --on-accent: #ffffff;
  --mint: #7ee2a8;
  --stage: radial-gradient(120% 90% at 50% 0%, #eaf6ef, #f6f9f7 62%);
  --glass: rgba(251, 252, 251, 0.78);
  --shadow: 0 1px 2px rgba(10, 17, 13, 0.04), 0 24px 60px -24px rgba(10, 17, 13, 0.18);
  --shadow-lg: 0 2px 4px rgba(10, 17, 13, 0.04), 0 40px 100px -30px rgba(10, 17, 13, 0.28);
  --sales: #2fbf6b; --mkt: #e2558a; --admin: #c98a0b; --research: #2d8fd5; --finance: #7c5ce0; --support: #e0752a;
  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #070b09; --bg-2: #0a100d; --surface: #0e1612; --surface-2: #121d17; --surface-3: #18251e;
  --line: #1b2a22; --line-2: #2b4236;
  --ink: #edf5f0; --ink-2: #a8bcb0; --ink-3: #708a7c;
  --accent: #7ee2a8; --accent-ink: #8fe9b5; --accent-soft: #10251a; --on-accent: #05120a;
  --stage: radial-gradient(120% 90% at 50% 0%, #11241a, #0b130f 62%);
  --glass: rgba(7, 11, 9, 0.7);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 100px -30px rgba(0, 0, 0, 0.85);
  --sales: #7ee2a8; --mkt: #ff9fb8; --admin: #ffd27a; --research: #7cc4ff; --finance: #c4a7ff; --support: #ffb27a;
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #070b09; --bg-2: #0a100d; --surface: #0e1612; --surface-2: #121d17; --surface-3: #18251e;
  --line: #1b2a22; --line-2: #2b4236;
  --ink: #edf5f0; --ink-2: #a8bcb0; --ink-3: #708a7c;
  --accent: #7ee2a8; --accent-ink: #8fe9b5; --accent-soft: #10251a; --on-accent: #05120a;
  --stage: radial-gradient(120% 90% at 50% 0%, #11241a, #0b130f 62%);
  --glass: rgba(7, 11, 9, 0.7);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 40px 100px -30px rgba(0, 0, 0, 0.85);
  --sales: #7ee2a8; --mkt: #ff9fb8; --admin: #ffd27a; --research: #7cc4ff; --finance: #c4a7ff; --support: #ffb27a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 750; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }

/* Type */
.eyebrow { display: inline-block; font: 600 15px/1.2 var(--f-body); color: var(--accent-ink); letter-spacing: -0.005em; }
.display { font-size: clamp(46px, 7.4vw, 96px); line-height: 0.98; letter-spacing: -0.048em; }
.h2 { font-size: clamp(36px, 5.4vw, 66px); letter-spacing: -0.042em; }
.h3 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.03em; line-height: 1.05; }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 58ch; letter-spacing: -0.01em; }
.lead b { color: var(--ink); font-weight: 600; }
.mint { color: var(--accent-ink); }
.fine { font-size: 14px; color: var(--ink-3); }

/* Wordmark */
.logo { display: inline-flex; align-items: center; gap: 8px; font: 700 18px/1 var(--f-mono); letter-spacing: 0.02em; }
.logo i { font: 700 11px/1 var(--f-body); font-style: normal; background: var(--accent); color: var(--on-accent); padding: 4px 7px; border-radius: 6px; letter-spacing: 0.02em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--f-body); letter-spacing: -0.01em; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, opacity 0.2s; }
.btn:active { transform: scale(0.97); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { opacity: 0.88; }
.btn-line { border-color: var(--line-2); background: transparent; }
.btn-line:hover { background: var(--surface-2); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.link { color: var(--accent-ink); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav: the one glass surface */
.nav { position: sticky; top: 0; z-index: 50; background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.nav-in { display: flex; align-items: center; gap: 30px; height: 64px; }
.nav-links { display: flex; gap: 28px; margin-left: 8px; }
.nav-links a { font-size: 14.5px; color: var(--ink-2); transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { font-weight: 600; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-login { font-size: 14.5px; color: var(--ink-2); padding: 8px 8px; }
.nav-login:hover { color: var(--ink); }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); cursor: pointer; transition: background 0.2s, color 0.2s; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .moon { display: none; }
:root[data-theme="dark"] .icon-btn .sun { display: none; } :root[data-theme="dark"] .icon-btn .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .icon-btn .sun { display: none; } :root:not([data-theme="light"]) .icon-btn .moon { display: block; } }
.menu-btn { display: none; }
.sheet { display: none; }
@media (max-width: 880px) {
  .nav-links, .nav-login { display: none; }
  .menu-btn { display: grid; }
  .nav-in { gap: 10px; }
  .sheet { position: fixed; inset: 64px 0 auto 0; z-index: 49; display: flex; flex-direction: column; padding: 8px 20px 26px; background: var(--bg); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease); }
  .sheet.open { opacity: 1; transform: none; pointer-events: auto; }
  .sheet a { padding: 15px 0; font: 700 24px/1.1 var(--f-display); letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
  .sheet .btn { margin-top: 18px; font-family: var(--f-body); }
}

/* Sections */
section { padding: clamp(84px, 11vw, 150px) 0; }
.sec-tight { padding: clamp(60px, 8vw, 100px) 0; }
.alt { background: var(--bg-2); }
.head { display: grid; gap: 18px; max-width: 800px; margin-bottom: clamp(44px, 6vw, 72px); }
.head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* Motion: settle in once. Words rise from a soft blur, like a lens focusing. */
.js .rv { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.js .rv.d1 { transition-delay: 0.08s; } .js .rv.d2 { transition-delay: 0.16s; } .js .rv.d3 { transition-delay: 0.24s; } .js .rv.d4 { transition-delay: 0.32s; }
.words .w { display: inline-block; }
.js .words .w { opacity: 0; transform: translateY(0.4em); filter: blur(8px); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 0.06s + 0.1s); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }

/* Kursor mascot */
.kursor { overflow: visible; }
.kursor .bodyg { transform-origin: 110px 200px; }
.kursor .eye { transform-box: fill-box; transform-origin: center; }
.js .kursor.alive .bodyg { animation: bob 4s ease-in-out infinite; }
.js .kursor.alive .eye { animation: blink 5.5s infinite; }
.js .kursor.alive .arm { transform-origin: 179px 114px; animation: wave 1.6s var(--ease) 1 0.8s; }
@keyframes bob { 50% { transform: translateY(-5px); } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.12); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-18deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-12deg); } }

/* Hero */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(70px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(36px, 6vw, 72px); align-items: center; }
.hero h1 { margin: 18px 0 24px; }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.hero .ctas { margin: 34px 0 16px; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Live morning inbox (hero) */
.desk { position: relative; }
.desk > .kursor { position: absolute; width: 112px; right: -18px; top: -74px; z-index: 3; transform: rotate(6deg); }
.inbox { position: relative; border-radius: 28px; padding: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.inbox-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 96px 14px 4px; font: 500 12.5px/1 var(--f-mono); color: var(--ink-3); }
.inbox-top b { font: 600 13px/1 var(--f-body); color: var(--ink); }
.tasks { display: flex; flex-direction: column; gap: 10px; min-height: 356px; }
.task { --c: var(--sales); position: relative; display: grid; gap: 6px; padding: 14px 16px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); animation: taskIn 0.7s var(--ease) both; }
.task.leave { animation: taskOut 0.5s var(--ease) forwards; }
@keyframes taskIn { from { transform: translateY(16px) scale(0.98); opacity: 0; filter: blur(4px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes taskOut { to { transform: translateX(40px); opacity: 0; filter: blur(4px); } }
.task small { display: flex; align-items: center; gap: 7px; font: 600 12px/1 var(--f-body); color: var(--ink-3); }
.task small i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.task b { font-size: 15.5px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.task .draft { font-size: 14px; color: var(--ink-2); line-height: 1.45; min-height: 1.45em; }
.task:not(.typed) .draft::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.task .ok { justify-self: start; margin-top: 4px; font: 600 13px/1 var(--f-body); background: var(--accent); color: var(--on-accent); padding: 9px 14px; border-radius: 999px; transition: transform 0.15s var(--ease); }
.task .ok.press { transform: scale(0.92); }
.task .done { position: absolute; right: 14px; top: 13px; font: 600 12px/1 var(--f-body); color: var(--accent-ink); opacity: 0; transition: opacity 0.25s; }
.task.sent .done { opacity: 1; }
.tap { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 18%, transparent); border: 2px solid color-mix(in srgb, var(--ink) 60%, transparent); pointer-events: none; opacity: 0; transition: left 0.6s var(--ease), top 0.6s var(--ease), opacity 0.3s; z-index: 3; }
.tap.show { opacity: 1; }
.tap.click { animation: tapclick 0.35s ease; }
@keyframes tapclick { 50% { transform: scale(0.7); } }
@media (max-width: 920px) { .desk > .kursor { width: 84px; right: 0; top: -54px; } .inbox-top { padding-right: 76px; } }

/* Made for (static, scrolls sideways on phones) */
.made-for { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; max-width: 900px; margin: 0 auto; }
.made-for span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14.5px; color: var(--ink-2); }

/* Stage: a soft lit area that holds a demo */
.stage { position: relative; border-radius: 32px; background: var(--stage); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); overflow: hidden; }

/* Feature rows */
.row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.row.flip > :first-child { order: 2; }
.row + .row { margin-top: clamp(80px, 10vw, 140px); }
.row-text { display: grid; gap: 16px; align-content: start; }
.row-text ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 11px; color: var(--ink-2); }
.row-text li { position: relative; padding-left: 22px; }
.row-text li::before { content: ""; position: absolute; left: 2px; top: 0.66em; width: 9px; height: 2px; border-radius: 2px; background: var(--accent); }
@media (max-width: 920px) { .row { grid-template-columns: minmax(0, 1fr); } .row.flip > :first-child { order: 0; } }

/* POV switcher: pick a business and watch its day */
.pov-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.pov-tabs button { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--surface); padding: 10px 16px 10px 12px; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 550; color: var(--ink-2); transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s var(--ease); }
.pov-tabs button:hover { color: var(--ink); border-color: var(--line-2); }
.pov-tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pov-tabs button svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .pov-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -20px 26px; padding: 0 20px; scrollbar-width: none; } .pov-tabs::-webkit-scrollbar { display: none; } .pov-tabs button { flex: 0 0 auto; } }
.pov { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.pov-text { display: grid; gap: 14px; }
.pov-text .who { font-size: 15px; color: var(--ink-3); }
.pov-steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; counter-reset: s; }
.pov-steps li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border-radius: 16px; color: var(--ink-3); transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.pov-steps li b { display: block; color: inherit; font-weight: 600; font-size: 15.5px; }
.pov-steps li span { font-size: 14.5px; }
.pov-steps li::before { counter-increment: s; content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--f-body); border: 1px solid var(--line-2); color: var(--ink-3); transition: all 0.4s var(--ease); }
.pov-steps li.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.pov-steps li.on::before, .pov-steps li.done::before { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pov-steps li.done { color: var(--ink-2); }
.pov-stage { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: center; min-height: 560px; }
@media (max-width: 1020px) { .pov { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .pov-stage { grid-template-columns: minmax(0, 1fr); min-height: 0; } }

/* Phone */
.phone { width: 100%; max-width: 262px; margin: 0 auto; border-radius: 44px; padding: 9px; background: #0b0f0d; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.screen { position: relative; border-radius: 36px; overflow: hidden; background: #fbfaf7; color: #1c1a17; aspect-ratio: 9 / 18.6; display: flex; flex-direction: column; padding: 36px 14px 14px; font-size: 12.5px; }
.screen::before { content: ""; position: absolute; top: 10px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 12px; background: #0b0f0d; }
.scr-head { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.scr-logo { width: 36px; height: 36px; border-radius: 11px; background: var(--brand, #b45309); color: #fff; display: grid; place-items: center; font: 800 16px/1 var(--f-display); flex: 0 0 36px; }
.scr-head b { display: block; font: 750 15px/1.1 var(--f-display); letter-spacing: -0.02em; }
.scr-head small { color: #7a6f63; font-size: 11px; }
.scr-q { font: 700 13.5px/1.2 var(--f-body); margin: 10px 0 7px; letter-spacing: -0.01em; }
.opt { display: flex; justify-content: space-between; gap: 8px; padding: 9px 11px; border-radius: 13px; border: 1px solid #e7e0d5; background: #fff; margin-bottom: 6px; transition: border-color 0.3s, box-shadow 0.3s; }
.opt span { color: #7a6f63; font-size: 11.5px; white-space: nowrap; }
.opt b { font-weight: 600; }
.opt.on { border-color: var(--brand, #b45309); box-shadow: 0 0 0 1px var(--brand, #b45309) inset; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips span { padding: 6px 10px; border-radius: 999px; border: 1px solid #e7e0d5; background: #fff; font-size: 11.5px; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.chips span.on { background: var(--brand, #b45309); border-color: var(--brand, #b45309); color: #fff; }
.field { padding: 8px 11px; border-radius: 12px; border: 1px solid #e7e0d5; background: #fff; margin-bottom: 6px; display: flex; justify-content: space-between; gap: 8px; }
.field span { color: #7a6f63; }
.field b { font-weight: 600; min-height: 1.2em; }
.result { padding: 11px 12px; border-radius: 14px; background: #e9f7ee; color: #14532d; margin-top: 4px; }
.result b { display: block; font-size: 13px; }
.scr-dock { margin: auto -14px -14px; padding: 12px 14px 16px; background: #fff; border-top: 1px solid #eee7dd; }
.scr-msg { background: #f3efe8; border-radius: 14px 14px 14px 5px; padding: 8px 11px; font-size: 11.5px; min-height: 2.6em; margin-bottom: 10px; }
.scr-go { display: flex; justify-content: space-between; align-items: center; }
.scr-go b { font-size: 14px; }
.scr-btn { padding: 9px 14px; border-radius: 999px; background: var(--brand, #b45309); color: #fff; font-weight: 700; font-size: 12px; transition: transform 0.15s; }
.scr-btn.press { transform: scale(0.92); }

/* Owner side cards (POV stage) */
.feed { display: flex; flex-direction: column; gap: 10px; }
.card { position: relative; padding: 14px 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card small { display: flex; align-items: center; gap: 7px; font: 600 12px/1 var(--f-body); color: var(--ink-3); margin-bottom: 6px; }
.card small i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); }
.card b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.card p { margin-top: 4px; color: var(--ink-2); font-size: 14px; line-height: 1.45; }
.card .acts { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; font: 600 12.5px/1 var(--f-body); background: var(--accent); color: var(--on-accent); }
.pill.line { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.pill.soft { background: var(--accent-soft); color: var(--accent-ink); }
.money-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.money-line .num { font: 750 26px/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.feed .card { opacity: 0; transform: translateY(14px) scale(0.98); filter: blur(4px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); }
.feed .card.in { opacity: 1; transform: none; filter: none; }
.no-js .feed .card { opacity: 1; transform: none; filter: none; }

/* Kursor Office demo */
.ko { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); }
.ko-floor { background: #0b110e; color: #edf5f0; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.ko-top { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #9fb3a7; flex-wrap: wrap; }
.ko-clock { font: 600 13px/1 var(--f-mono); color: #edf5f0; padding: 7px 11px; border-radius: 999px; background: #17221c; }
.ko-desks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; flex: 1; align-content: center; }
.ko-desk { --c: #7ee2a8; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 12px 6px 12px; border-radius: 18px; background: #101914; border: 1px solid #1c2a22; transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease); }
.ko-desk svg { width: 100%; max-width: 116px; }
.ko-desk b { font: 600 12px/1.2 var(--f-body); color: var(--c); }
.ko-desk .st { font-size: 11.5px; color: #7f978a; height: 16px; }
.ko-desk.work { border-color: var(--c); box-shadow: 0 0 0 1px var(--c) inset, 0 0 40px -10px var(--c); transform: translateY(-2px); }
.ko-desk.work .hand { animation: type 0.16s ease-in-out infinite alternate; }
.ko-desk.work .hand.r { animation-delay: 0.08s; }
.ko-desk.work .bodyg { animation: bob 0.9s ease-in-out infinite; }
.ko-desk.ready .st { color: #7ee2a8; }
@keyframes type { to { transform: translateY(-6px); } }
.ko-desk .paper { opacity: 0; }
.ko-desk.send .paper { animation: paper 0.9s var(--ease) forwards; }
@keyframes paper { 0% { opacity: 0; transform: translateY(6px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(40px, -80px) rotate(16deg); } }
.ko-inbox { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.ko-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ko-head b { font: 700 17px/1 var(--f-display); letter-spacing: -0.02em; }
.ko-count { min-width: 28px; height: 28px; padding: 0 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent); display: inline-grid; place-items: center; font: 700 13px/1 var(--f-body); font-variant-numeric: tabular-nums; }
.ko-card { --c: var(--sales); padding: 11px 14px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); opacity: 0; transform: translateY(12px); filter: blur(4px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease); }
.ko-card.in { opacity: 1; transform: none; filter: none; }
.ko-card small { display: flex; align-items: center; gap: 7px; font: 600 11.5px/1 var(--f-body); color: var(--ink-3); }
.ko-card small i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.ko-card b { display: block; font-size: 14.5px; font-weight: 600; margin-top: 4px; letter-spacing: -0.01em; }
.ko-card p { margin-top: 3px; font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ko-card.first p { white-space: normal; }
.ko-card .acts { display: flex; gap: 6px; margin-top: 9px; position: relative; }
.ko-card .sent { position: absolute; inset: -1px; display: flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font: 600 12.5px/1 var(--f-body); opacity: 0; transition: opacity 0.4s; }
.ko-card.done .sent { opacity: 1; }
.ko-note { margin-top: auto; font-size: 13px; color: var(--ink-3); }
.no-js .ko-card { opacity: 1; transform: none; filter: none; }
@media (max-width: 900px) { .ko { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .ko-desks { gap: 6px; } .ko-floor, .ko-inbox { padding: 14px; } }

/* Story steps beside a sticky demo */
.story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.story-steps { display: flex; flex-direction: column; }
.story-step { padding: 18vh 0; opacity: 0.3; transition: opacity 0.5s var(--ease); }
.story-step:first-child { padding-top: 4vh; } .story-step:last-child { padding-bottom: 22vh; }
.story-step.on { opacity: 1; }
.story-step small { font: 600 14px/1 var(--f-body); color: var(--accent-ink); }
.story-step h3 { font-size: clamp(26px, 3vw, 38px); margin: 10px 0 12px; }
.story-step p { color: var(--ink-2); font-size: 18px; }
.story-pin { position: sticky; top: 12vh; }
@media (max-width: 1000px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .story-pin { position: static; order: -1; }
  .story-step { padding: 26px 0; opacity: 1; border-top: 1px solid var(--line); }
  .story-step:first-child { border-top: 0; padding-top: 10px; } .story-step:last-child { padding-bottom: 0; }
}

/* Roles grid */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.role { --c: var(--sales); position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.role:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.role svg { width: 56px; }
.role h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 4px; }
.role p.job { color: var(--ink-3); font-size: 14px; margin-bottom: 10px; }
.role ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 14.5px; color: var(--ink-2); }
.role li { position: relative; padding-left: 16px; }
.role li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
@media (max-width: 980px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .roles { grid-template-columns: minmax(0, 1fr); } }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 56px; }
.facts div { padding: 24px 24px 0 0; }
.facts b { display: block; font: 750 clamp(24px, 3vw, 34px)/1 var(--f-display); letter-spacing: -0.03em; margin-bottom: 8px; }
.facts span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 820px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; } }

/* Chat demo */
.chat { border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; min-height: 470px; }
.chat-modes { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); align-self: flex-start; }
.chat-modes span { padding: 7px 14px; border-radius: 999px; font: 600 13px/1 var(--f-body); color: var(--ink-3); transition: background 0.3s, color 0.3s; }
.chat-modes span.on { background: var(--ink); color: var(--bg); }
.bubble { max-width: 86%; padding: 11px 15px; border-radius: 20px 20px 20px 6px; background: var(--surface-2); font-size: 15px; line-height: 1.5; }
.bubble.me { align-self: flex-end; border-radius: 20px 20px 6px 20px; background: var(--accent); color: var(--on-accent); }
.answer { display: flex; gap: 12px; align-items: flex-start; }
.answer .kursor { width: 38px; flex: 0 0 38px; }
.answer small { display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 4px; }
.answer ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); font-size: 14.5px; }
.chat-input { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-3); font-size: 14.5px; }
.chat-input span { flex: 1; }
.chat-input i { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: var(--on-accent); font-style: normal; }
.chat .step { opacity: 0; transform: translateY(10px); filter: blur(4px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease); }
.chat .step.in { opacity: 1; transform: none; filter: none; }
.no-js .chat .step { opacity: 1; transform: none; filter: none; }

.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.modes div { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.modes b { font: 750 22px/1 var(--f-display); letter-spacing: -0.02em; }
.modes small { display: block; color: var(--accent-ink); font-weight: 600; font-size: 13.5px; margin: 6px 0 10px; }
.modes p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .modes { grid-template-columns: minmax(0, 1fr); } }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 48px; }
.tools div { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); }
.tools b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.01em; }
.tools span { color: var(--ink-2); font-size: 15px; }
.tools em { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 820px) { .tools { grid-template-columns: minmax(0, 1fr); } }

/* Customiser */
.make { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.make-stage { display: grid; place-items: center; min-height: 460px; }
.make-stage .bot-desk { width: min(340px, 100%); }
.plate { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font: 700 18px/1 var(--f-display); letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
.plate::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--mint)); transition: background 0.3s; }
.make-form { display: grid; gap: 26px; }
.make-form label, .make-form .lab { display: block; font: 600 14px/1 var(--f-body); color: var(--ink-2); margin-bottom: 10px; }
.make-form input[type="text"] { width: 100%; min-height: 52px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 500 17px/1 var(--f-body); }
.make-form input[type="text"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches button { width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink); transform: scale(1.05); }
.outfits { display: flex; gap: 8px; flex-wrap: wrap; }
.outfits button { padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-size: 14.5px; color: var(--ink-2); transition: all 0.2s; }
.outfits button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
@media (max-width: 860px) { .make { grid-template-columns: minmax(0, 1fr); } .make-stage { min-height: 360px; } }

/* Feature scenes (.ui) */
.ui { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); padding: clamp(16px, 2.4vw, 26px); font-size: 14px; line-height: 1.4; overflow: hidden; }
.ui small { display: block; color: var(--ink-3); font-size: 12px; }
.ui b { font-weight: 600; }
.ui-card { background: var(--surface-2); border-radius: 16px; padding: 14px 16px; }
.ui-row { display: flex; align-items: center; gap: 10px; }
.ui-pill { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; }
.ui-pill.wait { background: color-mix(in srgb, #e8b23a 20%, transparent); color: color-mix(in srgb, #8a5a00 70%, var(--ink)); }
.ui-pill.grey { background: var(--surface-3); color: var(--ink-2); }
.ui-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 600; }
.ui-btn.line { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.ui-big { font: 750 clamp(26px, 3.2vw, 38px)/1.05 var(--f-display); letter-spacing: -0.035em; }
.ui-mid { font: 750 21px/1.1 var(--f-display); letter-spacing: -0.02em; }
.ui-bubble { background: var(--surface-2); border-radius: 18px 18px 18px 6px; padding: 10px 14px; max-width: 92%; }
.ui-bubble.me { background: #d9fdd3; color: #0b1a10; border-radius: 18px 18px 6px 18px; margin-left: auto; }
:root[data-theme="dark"] .ui-bubble.me { background: #005c4b; color: #e9fff6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ui-bubble.me { background: #005c4b; color: #e9fff6; } }
.ui-wa { font-size: 11.5px; font-weight: 600; color: var(--ink-3); display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.ui-wa i { width: 8px; height: 8px; border-radius: 50%; background: #25d366; }
.kface { width: 34px; height: 34px; flex: 0 0 34px; }
.typed { min-height: 1.4em; }
.typed.caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: caret 0.8s steps(1) infinite; }
.js .anim .a { opacity: 0; }
.js .anim.play .a { animation: a-up 0.8s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js .anim.play .a.pop { animation-name: a-pop; }
.js .anim.play .a.fade { animation-name: a-fade; }
.js .anim.play .a.left { animation-name: a-left; }
.js .anim .grow { transform: scaleX(0); transform-origin: 0 50%; }
.js .anim.play .grow { animation: a-grow 1.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js .anim .draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.js .anim.play .draw { animation: a-draw 2.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js .anim.play .tap { position: relative; }
.js .anim.play .tap::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 2px solid var(--accent); opacity: 0; animation: a-tap 0.9s var(--ease) forwards; animation-delay: var(--t, 0s); pointer-events: none; }
@keyframes a-up { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes a-pop { 0% { opacity: 0; transform: scale(0.88); } 60% { opacity: 1; transform: scale(1.03); } 100% { opacity: 1; transform: none; } }
@keyframes a-fade { to { opacity: 1; } }
@keyframes a-gone { to { opacity: 0; } }
@keyframes a-left { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes a-grow { to { transform: scaleX(1); } }
@keyframes a-draw { to { stroke-dashoffset: 0; } }
@keyframes a-tap { 0% { opacity: 0; transform: scale(0.9); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.12); } }
.s-today { display: grid; gap: 14px; }
.s-today-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.s-today-side { display: grid; gap: 12px; }
.s-chart { width: 100%; height: 86px; margin-top: 10px; }
.s-chart path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; }
.s-kursor { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 18px; border: 1px solid var(--line); }
.s-kursor .acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .s-today-grid { grid-template-columns: 1fr; } .s-today-side { grid-template-columns: 1fr 1fr; } }
.s-money { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
.s-inv { position: relative; display: flex; flex-direction: column; gap: 10px; }
.s-inv-line { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
.s-inv-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; }
.s-paid { position: absolute; right: 16px; bottom: 16px; transform: rotate(-8deg); border: 2px solid var(--accent); color: var(--accent-ink); font-weight: 800; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 8px; font-size: 13px; }
.s-scan { display: grid; gap: 10px; }
.s-receipt { position: relative; background: #fbfaf6; color: #2a2a2a; border-radius: 8px; padding: 14px 14px 18px; font-family: var(--f-mono); font-size: 11px; line-height: 1.6; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.35); overflow: hidden; }
.s-receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; top: 0; background: #2fbf6b; box-shadow: 0 0 14px #2fbf6b; opacity: 0; }
.js .anim.play .s-receipt::after { animation: scan 1.6s var(--ease) forwards; animation-delay: 1.4s; }
@keyframes scan { 0% { opacity: 1; top: 0; } 90% { opacity: 1; top: calc(100% - 3px); } 100% { opacity: 0; top: calc(100% - 3px); } }
.s-fields { display: grid; gap: 6px; }
.s-fields div { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 11px; border-radius: 11px; background: var(--surface-2); }
.s-fields span { color: var(--ink-3); }
@media (max-width: 640px) { .s-money { grid-template-columns: 1fr; } }
.s-book { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; }
.s-week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 10px 0 12px; }
.s-week span { text-align: center; padding: 8px 0; border-radius: 13px; border: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.s-week span b { display: block; font-size: 16px; color: var(--ink); }
.s-week span.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.s-week span.on b { color: var(--on-accent); }
.s-slots { display: grid; gap: 6px; }
.s-slot { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 13px; background: var(--surface-2); }
.s-slot time { width: 62px; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.s-slot b { flex: 1; font-size: 13.5px; }
.s-slot .was { position: absolute; left: 84px; color: var(--ink-3); font-weight: 500; }
.js .anim .s-slot .now, .js .anim .s-slot .ui-pill.new, .js .anim .s-slot .ui-pill.conf { opacity: 0; }
.js .anim.play .s-slot .was { animation: a-gone 0.35s forwards 2s; }
.js .anim.play .s-slot .now { animation: a-fade 0.4s forwards 2.2s; }
.js .anim.play .s-slot .ui-pill.new { animation: a-pop 0.5s forwards 2.3s, a-gone 0.2s forwards 4s; }
.js .anim.play .s-slot .ui-pill.conf { animation: a-pop 0.5s forwards 4.1s; }
.no-js .s-slot .was, .no-js .s-slot .ui-pill.new { display: none; }
.s-slot .ui-pill.new { position: absolute; right: 12px; }
.s-wa { display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
@media (max-width: 640px) { .s-book { grid-template-columns: 1fr; } }
.s-pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.s-col { background: var(--surface-2); border-radius: 16px; padding: 10px; min-height: 190px; display: flex; flex-direction: column; gap: 8px; }
.s-col:first-child { position: relative; z-index: 3; }
.s-col > small { margin: 2px; font-weight: 600; }
.s-lead { background: var(--surface); border-radius: 11px; padding: 9px 10px; font-size: 12.5px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.s-lead small { font-size: 11px; }
.s-move { position: relative; z-index: 2; }
.js .anim.play .s-move { animation: lead-move 3.2s var(--ease) forwards 1.4s; }
@keyframes lead-move { 0% { transform: none; } 30%, 100% { transform: translateX(calc(300% + 90px)); } }
.s-stock { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); flex-wrap: wrap; }
@media (max-width: 640px) { .s-pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); } .s-col { height: 170px; min-height: 0; } .js .anim.play .s-move { animation-name: lead-move-sm; } @keyframes lead-move-sm { 0% { transform: none; } 30%, 100% { transform: translate(calc(100% + 30px), 180px); } } }
.s-orders { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s-prod { padding: 12px 14px; border-radius: 15px; background: var(--surface-2); margin-bottom: 8px; }
.s-prod .ui-row { justify-content: space-between; }
.s-qbar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 7px; }
.s-qbar i { display: block; height: 100%; width: var(--to, 8%); background: var(--accent); border-radius: 6px; }
.js .anim.play .s-qbar i { animation: q-drop 2.4s var(--ease) forwards; animation-delay: var(--d, 1s); }
@keyframes q-drop { from { width: var(--from, 72%); } to { width: var(--to, 8%); } }
.s-make { display: grid; gap: 8px; }
.s-make div { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--line); font-size: 13.5px; }
@media (max-width: 640px) { .s-orders { grid-template-columns: 1fr; } }
.s-content { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: start; }
.s-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.s-cal span { aspect-ratio: 1; border-radius: 10px; background: var(--surface-2); font-size: 10.5px; color: var(--ink-3); padding: 4px 5px; position: relative; }
.s-cal span.post { background: var(--accent-soft); color: var(--accent-ink); font-weight: 650; }
.s-cal span.post::after { content: ""; position: absolute; left: 5px; right: 5px; bottom: 5px; height: 3px; border-radius: 3px; background: var(--accent); }
.s-poster { aspect-ratio: 4 / 5; border-radius: 16px; background: #13241a; color: #fff; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; }
.s-poster b { font: 750 24px/1.02 var(--f-display); letter-spacing: -0.03em; }
.s-poster small { color: #b9e8cb; }
.s-poster .ph { position: absolute; inset: 0 0 42% 0; background: radial-gradient(120% 90% at 70% 20%, #3d7a56 0%, transparent 60%), radial-gradient(80% 80% at 20% 40%, #6aa883 0%, transparent 55%); opacity: 0.6; }
@media (max-width: 640px) { .s-content { grid-template-columns: 1fr; } }
.s-check { display: grid; gap: 8px; }
.s-step { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 15px; background: var(--surface-2); }
.s-step i { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; }
.s-step.done i { background: var(--accent); border-color: var(--accent); }
.s-step.done i::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--on-accent); border-bottom: 2px solid var(--on-accent); transform: rotate(-45deg) translate(1px, -1px); }
.js .anim .s-step.done i { background: transparent; border-color: var(--line-2); }
.js .anim .s-step.done i::after { opacity: 0; }
.js .anim.play .s-step.done i { animation: tick-bg 0.35s var(--ease) forwards; animation-delay: var(--t, 1s); }
.js .anim.play .s-step.done i::after { animation: a-fade 0.2s forwards; animation-delay: var(--t, 1s); }
@keyframes tick-bg { to { background: var(--accent); border-color: var(--accent); } }
.s-step b { flex: 1; font-size: 13.5px; }
.s-progress { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; margin: 4px 0 6px; }
.s-progress i { display: block; height: 100%; width: 60%; background: var(--accent); border-radius: 8px; }
.s-team { display: grid; gap: 8px; }
.s-member { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 15px; background: var(--surface-2); }
.s-av { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--surface-3); }
.s-member b { display: block; font-size: 13.5px; }
.s-member > span:nth-child(2) { flex: 1; }

/* Feature index on the Features page */
.fnav { position: sticky; top: 64px; z-index: 40; background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.fnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.fnav-in::-webkit-scrollbar { display: none; }
.fnav a { flex: 0 0 auto; font-size: 14px; padding: 7px 14px; border-radius: 999px; color: var(--ink-2); transition: background 0.2s, color 0.2s; }
.fnav a:hover { color: var(--ink); background: var(--surface-2); }
.fnav a.on { background: var(--ink); color: var(--bg); }
.fsec { padding: clamp(80px, 10vw, 130px) 0; border-bottom: 1px solid var(--line); }
.fsec:last-of-type { border-bottom: 0; }
.fsec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: 48px; }
@media (max-width: 860px) { .fsec-head { grid-template-columns: minmax(0, 1fr); } }
.fsec-demo { margin-bottom: 48px; }
.fsec-demo.narrow { max-width: 780px; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 40px; }
.points h4 { font: 650 18px/1.3 var(--f-body); letter-spacing: -0.015em; margin-bottom: 8px; }
.points p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .points { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
.note { margin-top: 30px; font-size: 14px; color: var(--ink-3); }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.partner { display: grid; gap: 14px; padding: 26px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.partner .mono { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font: 750 20px/1 var(--f-display); color: var(--on-accent); background: var(--accent); }
.partner b { font: 700 21px/1.15 var(--f-display); letter-spacing: -0.02em; }
.partner small { display: block; font-size: 14px; color: var(--accent-ink); font-weight: 600; margin-top: 4px; }
.partner p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .partners { grid-template-columns: minmax(0, 1fr); } }

/* Pricing */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.seg button { position: relative; z-index: 1; border: 0; background: transparent; color: var(--ink-2); font: 600 14.5px/1 var(--f-body); padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: color 0.3s; }
.seg button[aria-pressed="true"] { color: var(--bg); }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--ink); transition: transform 0.45s var(--ease), width 0.45s var(--ease); }
.price-bar { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.group-hint { text-align: center; color: var(--ink-3); font-size: 15px; margin-bottom: 40px; min-height: 1.5em; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.plan { display: flex; flex-direction: column; padding: 28px 24px 24px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); animation: planIn 0.7s var(--ease) both; }
.plan:nth-child(2) { animation-delay: 0.06s; } .plan:nth-child(3) { animation-delay: 0.12s; } .plan:nth-child(4) { animation-delay: 0.18s; }
@keyframes planIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.plan.pick { border: 2px solid var(--accent); padding: 27px 23px 23px; }
.plan-name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.plan-name h3 { font-size: 24px; letter-spacing: -0.025em; }
.plan-name em { font-style: normal; font: 600 12px/1 var(--f-body); color: var(--accent-ink); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; }
.plan-tag { color: var(--ink-3); font-size: 15px; margin-top: 6px; min-height: 2.9em; }
.plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price b { font: 750 clamp(34px, 2.8vw, 42px)/1 var(--f-display); letter-spacing: -0.04em; }
.plan-price s { color: var(--ink-3); font-size: 15px; }
.plan-price span { color: var(--ink-3); font-size: 15px; }
.plan-sub { font-size: 13px; color: var(--ink-3); margin-top: 6px; min-height: 1.4em; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li { position: relative; padding-left: 20px; }
.plan li::before { content: ""; position: absolute; left: 1px; top: 0.62em; width: 8px; height: 2px; border-radius: 2px; background: var(--accent); }
.plan .btn { margin-top: auto; width: 100%; }
.founding { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 28px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 980px; }
.compare th, .compare td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--surface-2); font-weight: 600; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--ink-2); position: sticky; left: 0; background: var(--surface); min-width: 200px; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--accent-ink); font-weight: 700; }
.no { color: var(--ink-3); }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font: 650 19px/1.35 var(--f-body); letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); padding: 0 0 24px; max-width: 700px; }
.price-teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.price-teaser .plan { animation: none; }
@media (max-width: 900px) { .price-teaser { grid-template-columns: minmax(0, 1fr); } }

/* Ecosystem link + final */
.eco { display: grid; gap: 14px; padding: clamp(28px, 4vw, 44px); border-radius: 30px; background: var(--surface); border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.eco:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.eco-route { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font: 750 clamp(22px, 3vw, 34px)/1.15 var(--f-display); letter-spacing: -0.025em; }
.eco-route em { font: 600 12.5px/1 var(--f-body); font-style: normal; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; vertical-align: middle; margin-left: 6px; letter-spacing: 0; }
.eco-route i { font-style: normal; color: var(--ink-3); font-weight: 500; }
.final { position: relative; display: grid; justify-items: center; gap: 20px; text-align: center; padding: clamp(56px, 8vw, 90px) 24px; border-radius: 36px; background: var(--stage); border: 1px solid var(--line); overflow: hidden; }
.final .kursor { width: 140px; }
.final .lead { text-align: center; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14px; color: var(--ink-3); }
.foot-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 10px 26px; flex-wrap: wrap; }
.foot a { color: var(--ink-2); }
.foot a:hover { color: var(--ink); }
.foot-social { display: flex; gap: 4px; }
.foot-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; }
.foot-social a:hover { background: var(--surface-2); }
.foot-social svg { width: 20px; height: 20px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }

/* Roadmap */
.route { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.route::before { content: ""; position: absolute; left: 16px; right: 16px; top: 15px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 18px); }
.route::after { content: ""; position: absolute; left: 16px; top: 15px; height: 2px; width: calc((100% - 32px) * 0.17); background: var(--accent); transform-origin: 0 50%; }
.js .route.rv::after { transform: scaleX(0); transition: transform 1.6s var(--ease) 0.4s; }
.js .route.rv.in::after { transform: scaleX(1); }
.stop { position: relative; display: grid; gap: 8px; padding-right: 18px; }
.stop .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); display: grid; place-items: center; position: relative; z-index: 1; }
.stop.now .dot { border-color: var(--accent); }
.stop.now .dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.stop small { font: 600 13px/1 var(--f-body); color: var(--ink-3); margin-top: 10px; }
.stop.now small { color: var(--accent-ink); }
.stop b { font: 750 23px/1.1 var(--f-display); letter-spacing: -0.02em; }
.stop span { color: var(--ink-2); font-size: 15px; }
.map { margin-top: 54px; position: relative; border-radius: 34px; background: var(--stage); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 32px); overflow: hidden; }
.nodes { position: relative; display: grid; grid-template-columns: 1fr 1.1fr 1fr; grid-template-rows: auto auto; gap: 22px 28px; align-items: center; }
.node { --c: var(--accent); position: relative; border: 1px solid var(--line-2); background: var(--surface); border-radius: 22px; padding: 20px; display: grid; gap: 6px; }
.node small { font: 600 12.5px/1 var(--f-body); color: var(--c); }
.node b { font: 750 21px/1.15 var(--f-display); letter-spacing: -0.02em; }
.node span { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.node.n-ai { grid-column: 1; grid-row: 1; border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.node.n-pos { --c: #c98a0b; grid-column: 1; grid-row: 2; }
.node.n-os { --c: #7c5ce0; grid-column: 3; grid-row: 1 / span 2; }
:root[data-theme="dark"] .node.n-pos { --c: #ffd27a; } :root[data-theme="dark"] .node.n-os { --c: #c4a7ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .node.n-pos { --c: #ffd27a; } :root:not([data-theme="light"]) .node.n-os { --c: #c4a7ff; } }
.node.n-ai::after, .node.n-pos::after, .node.n-os::before { content: ""; position: absolute; top: 50%; width: 30px; border-top: 2px dashed var(--c); }
.node.n-ai::after, .node.n-pos::after { right: -31px; }
.node.n-os::before { left: -31px; }
.brain { grid-column: 2; grid-row: 1 / span 2; display: grid; justify-items: center; gap: 10px; text-align: center; }
.brain .kursor { width: 140px; }
.brain b { font: 750 24px/1 var(--f-display); }
.brain > span { color: var(--ink-2); font-size: 14.5px; max-width: 26ch; }
.knows { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.knows i { font-style: normal; font: 500 12.5px/1 var(--f-body); color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 11px; background: var(--surface); transition: border-color 0.5s, color 0.5s; }
.knows i.lit { border-color: var(--accent); color: var(--ink); }
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 70px 0; border-top: 1px solid var(--line); }
.chapter.flip .text { order: 2; }
.chapter .text { display: grid; gap: 16px; }
.status { justify-self: start; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 7px 13px; font: 600 13px/1 var(--f-body); }
.status.now { color: var(--accent-ink); background: var(--accent-soft); }
.status.next { color: #8a5a00; background: color-mix(in srgb, #ffd27a 30%, transparent); }
.status.later { color: #5b3fc4; background: color-mix(in srgb, #c4a7ff 26%, transparent); }
:root[data-theme="dark"] .status.next { color: #ffd27a; } :root[data-theme="dark"] .status.later { color: #c4a7ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .status.next { color: #ffd27a; } :root:not([data-theme="light"]) .status.later { color: #c4a7ff; } }
.chapter h3 { font-size: clamp(30px, 3.6vw, 46px); }
.chapter h3 span { color: var(--ink-3); font-weight: 650; }
.chapter .who { color: var(--ink); font-size: 18px; }
.chapter ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 11px; color: var(--ink-2); }
.chapter li { position: relative; padding-left: 22px; }
.chapter li::before { content: ""; position: absolute; left: 2px; top: 0.66em; width: 9px; height: 2px; border-radius: 2px; background: var(--c, var(--accent)); }
.rm-stage { position: relative; border-radius: 30px; background: var(--stage); border: 1px solid var(--line); padding: 56px 24px; min-height: 440px; display: grid; place-items: center; overflow: hidden; }
.mini-inbox { width: 100%; max-width: 380px; display: grid; gap: 10px; }
.t { --c: var(--sales); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: grid; gap: 4px; box-shadow: var(--shadow); }
.t small { display: flex; align-items: center; gap: 7px; font: 600 12px/1 var(--f-body); color: var(--ink-3); }
.t small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.t b { font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.t em { justify-self: start; font-style: normal; font: 600 12px/1 var(--f-body); background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 999px; margin-top: 4px; }
.pos { width: 100%; max-width: 420px; display: grid; gap: 12px; }
.till { background: #f6f2ea; color: #241c12; border-radius: 20px; padding: 16px; box-shadow: var(--shadow-lg); }
.till .tl { display: flex; justify-content: space-between; font: 500 13px/1.5 var(--f-body); padding: 5px 0; border-bottom: 1px dashed #d9d0bf; }
.till .tt { display: flex; justify-content: space-between; margin-top: 10px; font: 750 20px/1 var(--f-display); }
.till .pay { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.till .pay span { text-align: center; background: #fff; border: 1.5px solid #e2d8c6; border-radius: 11px; padding: 8px 0; font: 600 12px/1 var(--f-body); }
.till .pay span.on { background: #241c12; color: #f6f2ea; border-color: #241c12; }
.pos-feed { display: grid; gap: 8px; }
.pos-feed div { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; color: var(--ink-2); }
.pos-feed div b { color: var(--ink); }
.pos-feed .k { width: 26px; height: 26px; border-radius: 8px; background: #ffd27a; color: #1a1405; display: grid; place-items: center; font: 700 11px/1 var(--f-mono); flex: 0 0 26px; }
.device { width: 280px; max-width: 100%; aspect-ratio: 1 / 1.05; border-radius: 46px; background: linear-gradient(160deg, #1a2620, #0a110d); border: 1px solid #2f463a; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06); display: grid; place-items: center; position: relative; }
.device .face { width: 78%; aspect-ratio: 1; border-radius: 38px; background: radial-gradient(70% 70% at 50% 40%, #13281d, #060a08); display: grid; place-items: center; position: relative; overflow: hidden; }
.device .face .kursor { width: 56%; }
.vu { position: absolute; bottom: 14%; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; height: 30px; align-items: center; }
.vu i { width: 5px; height: 8px; border-radius: 3px; background: #c4a7ff; }
.js .rm-stage.talk .vu i { animation: vu 1.1s ease-in-out 4; animation-delay: var(--d); }
@keyframes vu { 50% { height: 28px; } }
.said { position: absolute; left: -12%; top: -9%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 18px 18px 18px 5px; padding: 10px 14px; font-size: 13.5px; max-width: 200px; box-shadow: var(--shadow); }
.reply { position: absolute; right: -14%; bottom: -12%; background: var(--surface); border: 1px solid color-mix(in srgb, #c4a7ff 60%, var(--line)); color: var(--ink); border-radius: 18px 18px 5px 18px; padding: 10px 14px; font-size: 13.5px; max-width: 220px; box-shadow: var(--shadow); }
.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.rules article { border: 1px solid var(--line); border-radius: 22px; padding: 22px; background: var(--surface); display: grid; gap: 8px; align-content: start; }
.rules b { font: 700 19px/1.25 var(--f-display); letter-spacing: -0.015em; }
.rules p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) {
  .route { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .route::before, .route::after { left: 15px; right: auto; top: 16px; bottom: 16px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 10px, transparent 10px 18px); }
  .route::after { height: 18%; background: var(--accent); }
  .stop { grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; }
  .stop .dot { grid-row: 1 / span 3; }
  .stop small { margin-top: 0; }
  .nodes { grid-template-columns: minmax(0, 1fr); }
  .node.n-ai, .node.n-pos, .node.n-os, .brain { grid-column: 1; grid-row: auto; }
  .node::after, .node::before { display: none; }
  .brain { order: -1; }
  .chapter { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 56px 0; }
  .chapter.flip .text { order: 0; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .said { left: -4%; } .reply { right: -4%; }
}
@media (max-width: 560px) { .rules { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; }
  .js .rv, .js .words .w { opacity: 1; transform: none; filter: none; }
  .story-step { opacity: 1; }
}
.screen .result { opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.screen .result.in, .no-js .screen .result { opacity: 1; transform: none; }
.pill { transition: transform 0.15s var(--ease); }
.pill.press { transform: scale(0.92); }
.rm-stage .t { opacity: 0; transform: translateY(12px); filter: blur(4px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); }
.rm-stage .t.in, .no-js .rm-stage .t { opacity: 1; transform: none; filter: none; }
.words em { font-style: normal; color: var(--accent-ink); }
.hero-mascot { width: min(320px, 72%); margin: 0 auto; }
@media (max-width: 920px) { .hero-mascot { width: min(200px, 50%); } }

/* ---------- Download ---------- */
.dl { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.dl-text { display: grid; gap: 16px; align-content: start; }
.dl-steps { list-style: none; counter-reset: s; padding: 0; margin: 4px 0 6px; display: grid; gap: 12px; }
.dl-steps li { counter-increment: s; position: relative; padding-left: 42px; color: var(--ink-2); line-height: 1.45; }
.dl-steps li b { color: var(--ink); font-weight: 600; }
.dl-steps li::before { content: counter(s); position: absolute; left: 0; top: -3px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--f-body); background: var(--accent-soft); color: var(--accent-ink); }
.dl-alt { margin-top: 4px; }
.soon { justify-self: start; font: 600 13px/1 var(--f-body); padding: 7px 12px; border-radius: 999px; background: color-mix(in srgb, #ffd27a 30%, transparent); color: #7a5200; }
:root[data-theme="dark"] .soon { color: #ffd27a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .soon { color: #ffd27a; } }
.cmd { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 16px; background: #0b110e; border: 1px solid #1f2b25; box-shadow: var(--shadow); }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: 500 14.5px/1.6 var(--f-mono); color: #d7f5e3; scrollbar-width: none; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd-copy { flex: 0 0 auto; border: 0; border-radius: 11px; padding: 10px 14px; background: #7ee2a8; color: #05120a; font: 600 13.5px/1 var(--f-body); cursor: pointer; transition: transform 0.15s var(--ease), background 0.2s; }
.cmd-copy:active { transform: scale(0.95); }
.cmd-copy.done { background: #e8fff1; }
@media (max-width: 1000px) { .dl { grid-template-columns: minmax(0, 1fr); } }

.dl-stage { padding: clamp(18px, 3vw, 34px); }
.os-screen { position: relative; aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 120% at 20% 0%, #2b5a44 0%, #12261c 45%, #0a120e 100%); box-shadow: var(--shadow-lg); }
.os-screen.win { background: radial-gradient(120% 120% at 70% 10%, #2a5b8c 0%, #152f4b 45%, #0b1622 100%); }
.term { position: absolute; left: 6%; top: 8%; width: 74%; border-radius: 12px; overflow: hidden; background: rgba(16, 18, 17, 0.94); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); font: 500 clamp(10.5px, 1.25vw, 13px)/1.55 var(--f-mono); color: #d9e7df; }
.win .term { background: rgba(1, 36, 86, 0.95); border-radius: 8px; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px; background: rgba(255, 255, 255, 0.05); font: 600 11.5px/1 var(--f-body); color: #a9b8b0; }
.term-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .term-bar span:nth-child(2) { background: #febc2e; } .term-bar span:nth-child(3) { background: #28c840; }
.term-bar b { margin-left: 8px; font-weight: 600; } .win .term-bar b { margin-left: 2px; }
.term-bar em { margin-left: auto; font-style: normal; letter-spacing: 0.3em; color: #c9d6ef; }
.term-body { padding: 12px 14px 16px; min-height: 9.5em; }
.term-body p { margin: 0 0 4px; overflow-wrap: anywhere; }
.pr { color: #7ee2a8; } .win .pr { color: #e7e7e7; }
.tl-out { opacity: 0; transform: translateY(4px); transition: opacity 0.35s, transform 0.35s var(--ease); color: #a9b8b0; }
.tl-out.in { opacity: 1; transform: none; }
.tl-out.ok { color: #7ee2a8; }
.tl-bar { height: 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.1); overflow: hidden; margin: 8px 0 4px; opacity: 0; transition: opacity 0.3s; }
.tl-bar.in { opacity: 1; }
.tl-bar i { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, #4fd389, #7ee2a8); transition: width 1.8s cubic-bezier(0.4, 0, 0.2, 1); }
.tl-bar.on i { width: 100%; }
.dock { position: absolute; left: 50%; bottom: 3.5%; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 8px; padding: 7px 9px; border-radius: 18px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.18); }
.win .dock { left: 0; right: 0; bottom: 0; transform: none; border-radius: 0; justify-content: center; background: rgba(20, 28, 40, 0.85); border: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 6px; }
.dock i { width: clamp(26px, 4vw, 40px); aspect-ratio: 1; border-radius: 10px; opacity: 0.9; }
.win .dock i { border-radius: 6px; width: clamp(22px, 3vw, 30px); }
.dock-app { width: clamp(26px, 4vw, 44px); height: auto; border-radius: 11px; opacity: 0; transform: translateY(30px) scale(0.6); transition: opacity 0.4s, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.win .dock-app { width: clamp(22px, 3vw, 30px); border-radius: 6px; }
.dock-app.in { opacity: 1; transform: none; }
.dock-app.open { animation: dockbounce 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1; }
@keyframes dockbounce { 0%, 100% { transform: none; } 35% { transform: translateY(-16px); } 70% { transform: translateY(-4px); } }
.app-win { position: absolute; left: 14%; top: 14%; width: 74%; height: 66%; border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 28% 1fr; background: #fbfcfb; color: #0a110d; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.75); opacity: 0; transform: translateY(40%) scale(0.2); transform-origin: 50% 120%; transition: opacity 0.4s, transform 0.8s var(--ease); }
.app-win.in { opacity: 1; transform: none; }
.app-side { background: #f1f5f2; border-right: 1px solid #e2e9e4; padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.app-side b { font: 700 clamp(8px, 1vw, 11px)/1 var(--f-mono); margin-bottom: 6px; }
.app-side b i { font-style: normal; background: #12804a; color: #fff; font: 700 0.75em/1 var(--f-body); padding: 2px 4px; border-radius: 3px; }
.app-side span { height: 9px; border-radius: 5px; background: #dfe7e2; } .app-side span.on { background: #cfeedd; }
.app-main { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; font-size: clamp(8px, 1vw, 11px); }
.app-main > b { font: 750 clamp(12px, 1.7vw, 19px)/1.1 var(--f-display); letter-spacing: -0.03em; }
.app-main small { color: #6a7a71; font-size: 0.85em; }
.app-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.app-cards span { background: #fff; border: 1px solid #e2e9e4; border-radius: 8px; padding: 7px; display: grid; gap: 2px; }
.app-cards em { font: 750 1.35em/1 var(--f-display); font-style: normal; }
.app-task { display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid #e2e9e4; border-radius: 8px; padding: 7px; }
.app-task img { border-radius: 5px; width: 18px; height: 18px; }

.ph-install { display: grid; place-items: center; }
.ph-install .phone { max-width: 250px; }
.ph-install .screen { padding: 0; background: #fff; }
.ph-browser { position: absolute; inset: 0; display: flex; flex-direction: column; background: #f5f5f7; }
.ph-page { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 70px 18px 0; background: #0b110e; color: #edf5f0; text-align: center; }
.ph-page img { border-radius: 10px; }
.ph-page b { font: 750 17px/1 var(--f-display); letter-spacing: -0.02em; }
.ph-page span { font-size: 11.5px; color: #9fb3a7; margin-bottom: 10px; }
.ph-page i { width: 82%; height: 34px; border-radius: 10px; background: #16221c; }
.ph-page i.short { width: 50%; }
.ph-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px 22px; background: rgba(248, 248, 250, 0.96); border-top: 1px solid #e3e3e8; }
.android .ph-bar { order: -1; padding: 40px 12px 10px; border-top: 0; border-bottom: 1px solid #e3e3e8; flex-direction: row-reverse; }
.ph-bar .url { flex: 1; background: #e9e9ee; border-radius: 10px; padding: 7px 10px; font-size: 11px; color: #444; text-align: center; }
.ph-bar .share { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #0a84ff; font-size: 16px; transition: transform 0.15s, background 0.2s; }
.ph-bar .share.dots { color: #333; font-size: 18px; }
.ph-bar .share.press { transform: scale(0.85); background: rgba(10, 132, 255, 0.14); }
.ph-sheet { position: absolute; left: 8px; right: 8px; bottom: 8px; border-radius: 16px; background: #fff; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25); padding: 6px; transform: translateY(110%); transition: transform 0.5s var(--ease); font-size: 12.5px; color: #111; }
.android .ph-sheet { top: 74px; bottom: auto; left: auto; right: 8px; width: 62%; transform: scale(0.6); transform-origin: 100% 0; opacity: 0; transition: transform 0.35s var(--ease), opacity 0.25s; }
.ph-sheet.in { transform: none; opacity: 1; }
.sheet-row { display: flex; justify-content: space-between; padding: 10px 10px; border-radius: 10px; transition: background 0.3s; }
.sheet-row + .sheet-row { border-top: 1px solid #f0f0f2; }
.sheet-row.add.on { background: #e8f1ff; font-weight: 600; }
.ph-dialog { position: absolute; left: 10px; right: 10px; top: 40%; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: #fff; color: #111; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); font-size: 12px; opacity: 0; transform: scale(0.9); transition: opacity 0.3s, transform 0.4s var(--ease); }
.ph-dialog.in { opacity: 1; transform: none; }
.ph-dialog img { border-radius: 10px; }
.ph-dialog div { flex: 1; display: grid; } .ph-dialog span { color: #777; }
.ph-dialog em { font-style: normal; font-weight: 700; color: #0a84ff; padding: 6px 8px; border-radius: 8px; transition: background 0.2s; }
.ph-dialog em.press { background: #e8f1ff; }
.ph-home { position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 10%, #2b5a44, #0f1f17 60%, #0a120e); opacity: 0; transition: opacity 0.6s var(--ease); padding: 64px 16px 0; box-sizing: border-box; }
.android .ph-home { background: radial-gradient(120% 90% at 70% 10%, #33507a, #141f33 60%, #0b111c); }
.ph-home.in { opacity: 1; }
.ph-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 10px; justify-items: center; }
.ph-grid i { width: 100%; max-width: 44px; aspect-ratio: 1; height: auto; border-radius: 12px; opacity: 0.85; }
.android .ph-grid i { border-radius: 50%; }
.ph-app { display: grid; justify-items: center; gap: 4px; min-width: 0; width: 100%; opacity: 0; transform: scale(0.3); transition: opacity 0.3s, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ph-app.in { opacity: 1; transform: none; }
.ph-app img { width: 100%; max-width: 44px; aspect-ratio: 1; height: auto; border-radius: 12px; }
.android .ph-app img { border-radius: 50%; }
.ph-app small { font-size: 8.5px; letter-spacing: 0.02em; color: #fff; white-space: nowrap; }
@media (max-width: 520px) { .term { left: 4%; width: 88%; top: 6%; } .app-win { left: 6%; width: 88%; } }
