/* KROVO — phase 1 website. Calm, editorial, photo-led (D-010/D-012). Tokens first.
   Performance rule: animate only opacity and transform; no filters or blend modes on scroll. */

:root {
  --bg: #13101a;
  --panel: #16141e;
  --panel-2: #1e1b28;
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.14);
  --text: #f5f0ec;
  --muted: #b2aab4;
  --dim: #7f7785;
  --lilac: #c9b8ff;
  --primary: #7255c8;
  --primary-hover: #8063d6;
  --primary-soft: rgb(123 94 210 / 0.2);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --frame-gap: clamp(8px, 1.2vw, 14px);
  --radius: clamp(14px, 1.6vw, 22px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --nav-h: 64px;

  color-scheme: dark;
  interpolate-size: allow-keywords;          /* lets FAQ answers animate to height:auto where supported */
  scrollbar-color: #3a3546 transparent;
  scrollbar-width: thin;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #34303f; border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #4a4459; }
::selection { background: rgb(123 94 210 / 0.45); color: #fff; }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";   /* Inter: cleaner single-storey a, straight l */
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.1; font-variation-settings: "SOFT" 60, "WONK" 0; font-optical-sizing: auto; }
h3 { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 30; padding: 8px 12px; background: var(--text); color: var(--bg); border-radius: 8px; }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px;
  background: var(--primary); color: #fff;
  font: 500 0.9375rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 6px 20px -8px rgb(110 81 196 / 0.7);
  cursor: pointer; transition: background-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 10px 26px -8px rgb(123 94 210 / 0.85); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn--small { min-height: 38px; padding: 0 15px; font-size: 0.875rem; border-radius: 9px; }
.btn--lg { min-height: 50px; font-size: 1rem; }
.btn--full { width: 100%; }

/* ---------- Logo (animated mark) ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { width: 34px; height: auto; overflow: visible; }
.logo__word { font: 500 0.9375rem/1 var(--sans); letter-spacing: 0.34em; margin-right: -0.34em; transition: letter-spacing .5s var(--ease), color .3s ease; }
.mark__a, .mark__b { transform-box: fill-box; transition: transform .5s var(--ease); }
.mark__shine { transform: translateX(0); }
.logo:hover .mark__a { transform: translate(-1.5px, -1px); }
.logo:hover .mark__b { transform: translate(1.5px, 1px); }
.logo:hover .logo__word { letter-spacing: 0.4em; }
@media (prefers-reduced-motion: no-preference) {
  .nav .mark__a { animation: markA .9s var(--ease) both; }
  .nav .mark__b { animation: markB .9s var(--ease) .08s both; }
  .nav .mark__shine { animation: shine 1.4s var(--ease) .6s both; }
  .nav .logo:hover .mark__shine { animation: shine .9s var(--ease) both; }
  .nav .logo__word { animation: word .9s var(--ease) .1s both; }
}
@keyframes markA { from { transform: translate(-8px, -6px); opacity: 0; } }
@keyframes markB { from { transform: translate(8px, 6px); opacity: 0; } }
@keyframes shine { from { transform: translateX(0); } to { transform: translateX(110px); } }
@keyframes word { from { letter-spacing: 0.6em; opacity: 0; } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; transition: background-color .35s ease, box-shadow .35s ease; }
.nav.is-scrolled { background: rgb(17 15 23 / 0.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: var(--nav-h); }
.nav nav { position: relative; margin-left: auto; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { position: relative; z-index: 1; display: block; padding: 8px 12px; border-radius: 8px; font-size: 0.875rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .25s ease; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__pill { position: absolute; top: 0; left: 0; height: 100%; width: var(--pw, 0); transform: translateX(var(--px, 0)); border-radius: 8px; background: rgb(255 255 255 / 0.07); box-shadow: inset 0 0 0 1px var(--line); opacity: var(--po, 0); transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s ease; pointer-events: none; }
.nav__progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, transparent, var(--primary-hover)); will-change: transform; }
@media (max-width: 760px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Photo frames ---------- */
.frame { position: relative; margin: 0 var(--frame-gap); border-radius: var(--radius); overflow: hidden; isolation: isolate; box-shadow: inset 0 0 0 1px var(--line); }
.frame__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.frame::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero { min-height: min(calc(100svh - var(--nav-h) - var(--frame-gap)), 920px); display: flex; background: #171326; }
.hero::before { z-index: 0; background: linear-gradient(180deg, rgb(14 12 26 / 0.35) 0%, transparent 32%, transparent 62%, rgb(19 16 26 / 0.7) 100%); }
.scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.scene__layer { position: absolute; left: 0; top: -6%; width: 100%; max-width: none; height: 112%; object-fit: cover; object-position: center 40%; will-change: transform; user-select: none; pointer-events: none; }
.hero__content { position: relative; z-index: 1; width: 100%; max-width: 780px; margin: 0 auto; padding: clamp(72px, 13vh, 150px) var(--gutter) 140px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); text-shadow: 0 2px 24px rgb(13 10 25 / 0.35); }
.hero__lead { max-width: 34rem; margin-top: 22px; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: rgb(244 242 247 / 0.86); }
.hero__perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 18px; font-size: 0.8125rem; color: rgb(244 242 247 / 0.8); }
.hero__perks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__perks li::before { content: ""; width: 9px; height: 5px; border-left: 1.5px solid var(--lilac); border-bottom: 1.5px solid var(--lilac); transform: rotate(-45deg) translateY(-1px); }
.hero__scroll { position: absolute; z-index: 1; left: 50%; bottom: 24px; translate: -50% 0; display: grid; place-items: start center; width: 22px; height: 34px; padding-top: 6px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.4); }
.hero__scroll span { width: 3px; height: 7px; border-radius: 2px; background: #fff; }


@media (prefers-reduced-motion: no-preference) {
  .scene { animation: fadeIn 1.6s ease both; }
  .hero__content > * { animation: up 1s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-delay: .08s; }
  .hero__content > :nth-child(3) { animation-delay: .16s; }
  .hero__content > :nth-child(4) { animation-delay: .24s; }
  .hero__scroll span { animation: wheel 2.2s ease-in-out infinite; }
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes up { from { transform: translateY(14px); opacity: 0; } }
@keyframes wheel { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(9px); opacity: 0; } }

/* Hero inline form */
.inline-form { width: 100%; max-width: 460px; margin-top: 36px; }
.inline-form__row { display: flex; gap: 6px; padding: 6px; border-radius: 14px; background: rgb(17 15 23 / 0.72); box-shadow: inset 0 0 0 1px var(--line-strong), 0 20px 50px -20px rgb(0 0 0 / 0.6); transition: box-shadow .2s ease; }
.inline-form__row:focus-within { box-shadow: inset 0 0 0 1px rgb(201 184 255 / 0.55), 0 0 0 4px rgb(123 94 210 / 0.2); }
.inline-form input { flex: 1; min-width: 0; padding: 0 12px; background: transparent; border: 0; color: var(--text); font: inherit; font-size: 1rem; }
.inline-form input::placeholder { color: var(--dim); }
.inline-form input:focus { outline: none; }
.inline-form .field__error, .inline-form .form__status { margin-top: 12px; }
@media (max-width: 480px) { .inline-form__row { flex-direction: column; } .inline-form input { min-height: 46px; } }

/* ---------- Sections: one calm background, centred headers, hairline cards ---------- */
.section { padding-block: clamp(80px, 11vw, 140px); }
.section--tight { padding-bottom: 0; }
.head { display: grid; justify-items: center; max-width: 44rem; margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(2rem, 4.2vw, 3.125rem); }
.head__sub { max-width: 36rem; margin-top: 18px; color: var(--muted); font-size: 1.0625rem; }
.eyebrow { display: inline-flex; margin-bottom: 18px; padding: 5px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 500; color: #ccbdfa; background: rgb(123 94 210 / 0.12); box-shadow: inset 0 0 0 1px rgb(155 130 240 / 0.28); }
.join .eyebrow { margin-inline: 0; }

.panel { position: relative; margin: var(--frame-gap); border-radius: var(--radius); overflow: clip; background: var(--pc, var(--panel));
  background-image: linear-gradient(180deg, rgb(255 255 255 / 0.035), transparent 240px);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgb(255 255 255 / 0.05); }
.panel--wine  { --pc: #251823; background-image: radial-gradient(60% 50% at 80% 100%, rgb(155 90 140 / 0.16), transparent 70%), linear-gradient(180deg, rgb(255 255 255 / 0.035), transparent 240px); }

.cost__note { margin-top: 18px; text-align: center; font-size: 0.8125rem; color: var(--dim); }
.pairs { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pairs > div { padding: 24px; border-radius: 14px; background: rgb(17 15 23 / 0.5); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s ease, background-color .4s ease; }
.pairs > div:hover { transform: translateY(-3px); background: rgb(30 27 40 / 0.7); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pairs .icon { color: var(--lilac); margin-bottom: 18px; }
.pairs dt { font-weight: 600; letter-spacing: -0.01em; }
.pairs dd { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 820px) { .pairs { grid-template-columns: 1fr; } }

/* Reveal: transform + opacity only (GPU-cheap, keeps text sharp) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s ease, transform 1s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .form.reveal { transition-delay: .12s; }
}

/* ---------- Early access ---------- */
.join__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; padding-block: clamp(72px, 10vw, 128px); }
.join h2 { font-size: clamp(2.125rem, 4.2vw, 3.25rem); }
.join__lead { max-width: 30rem; margin-top: 18px; color: rgb(244 242 247 / 0.84); font-size: 1.0625rem; }
.perks { display: grid; gap: 22px; margin-top: 40px; }
.perks li { display: flex; gap: 16px; }
.perks .icon { width: 40px; height: 40px; padding: 10px; border-radius: 11px; color: var(--lilac); background: rgb(123 94 210 / 0.16); box-shadow: inset 0 0 0 1px rgb(155 130 240 / 0.3); }
.perks b { display: block; font-weight: 600; }
.perks span { display: block; margin-top: 4px; color: rgb(244 242 247 / 0.72); font-size: 0.9375rem; }
@media (max-width: 900px) { .join__inner { grid-template-columns: 1fr; } }
.form { position: relative; width: 100%; display: grid; gap: 22px; padding: clamp(22px, 4vw, 32px); text-align: left; border-radius: 18px; background: rgb(20 18 28 / 0.92); box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgb(255 255 255 / 0.1), 0 40px 80px -30px rgb(0 0 0 / 0.75); }
.form::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(160deg, rgb(201 184 255 / 0.55), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.form__title { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; letter-spacing: -0.015em; }
.field { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { padding: 0; font-size: 0.875rem; font-weight: 500; }
.optional { margin-left: 6px; font-weight: 400; color: var(--dim); }
.field input[type="email"] { width: 100%; min-height: 48px; padding: 0 14px; background: rgb(17 15 23 / 0.9); color: var(--text); border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-strong); font: inherit; font-size: 1rem; transition: box-shadow .2s ease; }
.field input[type="email"]::placeholder { color: var(--dim); }
.field input[type="email"]:focus-visible { outline: none; box-shadow: inset 0 0 0 1px rgb(201 184 255 / 0.6), 0 0 0 4px rgb(123 94 210 / 0.2); }
input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px #e2725b !important; }
.inline-form__row:has(input[aria-invalid="true"]) { box-shadow: inset 0 0 0 1px #e2725b; }
.field__error { font-size: 0.8125rem; color: #f3a08e; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 0.875rem; color: var(--muted); transition: box-shadow .2s ease, color .2s ease, background-color .2s ease; }
.chip:hover span { color: var(--text); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.28); }
.chip input:checked + span { color: var(--text); background: var(--primary-soft); box-shadow: inset 0 0 0 1px var(--primary-hover); }
.chip input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }

.form__status:empty { display: none; }
.form__status { padding: 12px 14px; border-radius: 10px; font-size: 0.9375rem; text-align: left; }
.form__status.is-ok { background: var(--primary-soft); box-shadow: inset 0 0 0 1px rgb(155 130 240 / 0.6); }
.form__status.is-error { background: rgb(226 114 91 / 0.12); box-shadow: inset 0 0 0 1px rgb(226 114 91 / 0.5); }
.form__fine { font-size: 0.8125rem; color: var(--dim); }
.form__fine a { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.8fr; gap: clamp(32px, 6vw, 96px); }
.faq h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 1.0625rem; font-weight: 500; transition: color .2s ease; }
.faq summary:hover { color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq__a p { max-width: 40rem; padding-bottom: 22px; color: var(--muted); }
/* Smooth open/close where the browser supports animating details content */
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; margin: 0 var(--frame-gap) var(--frame-gap); padding-top: clamp(56px, 8vw, 88px); border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), #13111a); box-shadow: inset 0 0 0 1px var(--line); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer__brand { display: grid; gap: 16px; justify-items: start; max-width: 300px; }
.footer__brand p { color: var(--muted); font-size: 0.9375rem; }
.footer .mark { width: 28px; }
.footer__cols { display: flex; gap: clamp(40px, 8vw, 96px); }
.footer__cols p { margin-bottom: 14px; font-size: 0.8125rem; font-weight: 600; color: var(--text); }
.footer__cols ul { display: grid; gap: 10px; }
.footer__cols a { color: var(--muted); font-size: 0.9375rem; text-decoration: none; transition: color .2s ease; }
.footer__cols a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--dim); }
.footer__word { margin: 0; text-align: center; line-height: .8; transform: translateY(14%); font: 500 clamp(5rem, 19vw, 17rem)/0.8 var(--sans); letter-spacing: 0.18em; margin-right: -0.18em; background: linear-gradient(180deg, rgb(255 255 255 / 0.08), transparent 80%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

.chip-status { align-self: flex-start; margin-top: 8px; padding: 4px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; color: #ddd2ff; background: var(--primary-soft); box-shadow: inset 0 0 0 1px rgb(155 130 240 / 0.4); }
.chip-status--planned { color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
/* ---------- Hero badge ---------- */
.badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 7px 14px 7px 11px; border-radius: 999px; font-size: 0.8125rem; font-weight: 500; color: rgb(244 242 247 / 0.9); text-decoration: none; background: rgb(17 15 23 / 0.55); box-shadow: inset 0 0 0 1px var(--line-strong); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .25s ease, box-shadow .25s ease; }
.badge:hover { background: rgb(17 15 23 / 0.75); box-shadow: inset 0 0 0 1px rgb(201 184 255 / 0.4); }
.badge__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #8fd9a8; }
.badge__dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #8fd9a8; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(3); opacity: 0; } }

/* ---------- Studio preview (illustration) ---------- */
.preview__fig { position: relative; max-width: 1020px; margin: clamp(40px, 6vw, 64px) auto 0; }
.preview__fig::before { content: ""; position: absolute; inset: 10% 6% -6%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgb(123 94 210 / 0.18), transparent); pointer-events: none; }
.preview__note { margin-top: 16px; text-align: center; font-size: 0.8125rem; color: var(--dim); }

.win { border-radius: 16px; overflow: hidden; background: #15121d; box-shadow: inset 0 0 0 1px var(--line-strong), inset 0 1px 0 rgb(255 255 255 / 0.06), 0 50px 100px -40px rgb(0 0 0 / 0.85); transform-origin: 50% 0; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .win { animation: tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}
@keyframes tilt { from { transform: perspective(1600px) rotateX(16deg) scale(.93); } to { transform: none; } }

.win__bar { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 0.02); font-size: 0.8125rem; color: var(--muted); }
.win__dots { display: flex; gap: 6px; }
.win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #34303f; }
.win__title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 500; color: var(--text); }
.win__title span { font-weight: 400; color: var(--dim); }
.win__chip { margin-left: auto; padding: 3px 9px; border-radius: 999px; font-size: 0.75rem; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line-strong); }

.win__body { display: grid; grid-template-columns: 172px 1fr; }
.win__steps { display: grid; align-content: start; gap: 2px; padding: 12px 10px; border-right: 1px solid var(--line); counter-reset: step; list-style: none; }
.win__steps li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 0.875rem; color: var(--dim); transition: color .35s ease, background-color .35s ease; }
.win__steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; font-size: 0.6875rem; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .35s ease, box-shadow .35s ease, color .35s ease; }
.win__steps li.is-done { color: var(--muted); }
.win__steps li.is-done::before { content: "✓"; color: var(--lilac); background: var(--primary-soft); box-shadow: none; }
.win__steps li.is-now { color: var(--text); background: rgb(255 255 255 / 0.05); }
.win__steps li.is-now::before { color: #fff; background: var(--primary); box-shadow: 0 0 0 3px rgb(123 94 210 / 0.25); }

.win__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; padding: 14px; }
.win__stage { position: relative; justify-self: center; width: 100%; max-width: 540px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0d0b12; box-shadow: inset 0 0 0 1px var(--line); }
.win__stage img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 16s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-2%, 1%); } }
.win__tc { position: absolute; top: 10px; left: 10px; padding: 3px 7px; border-radius: 6px; font: 500 0.6875rem/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; background: rgb(0 0 0 / 0.5); color: rgb(255 255 255 / 0.85); }
.win__cap { position: absolute; left: 0; right: 0; bottom: 11%; text-align: center; font: 700 clamp(0.95rem, 2vw, 1.4rem)/1.2 var(--sans); letter-spacing: -0.01em; text-shadow: 0 2px 12px rgb(0 0 0 / 0.6); }
.win__cap span { display: inline-block; opacity: .45; animation: capWord 4s var(--ease) infinite; animation-delay: calc(var(--i) * .35s); }
@keyframes capWord { 0% { opacity: .45; transform: none; } 6%, 22% { opacity: 1; transform: translateY(-2px); } 30%, 100% { opacity: .45; transform: none; } }

.win__tl { position: relative; display: grid; gap: 6px; padding: 10px 12px; border-radius: 10px; background: rgb(0 0 0 / 0.22); box-shadow: inset 0 0 0 1px var(--line); }
.trk { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 10px; }
.trk b { font-size: 0.6875rem; font-weight: 500; color: var(--dim); }
.trk__lane { position: relative; height: 16px; border-radius: 5px; background: rgb(255 255 255 / 0.03); }
.trk__lane i { position: absolute; top: 2px; bottom: 2px; left: calc(var(--s) * 1%); width: calc(var(--w) * 1% - 2px); border-radius: 4px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.trk__lane--clips i { background: #3b3163; }
.trk__lane--clips i:nth-child(even) { background: #2b3a4e; }
.trk__lane--music i { background: #263a37; }
.trk__lane--caps i { background: #4a3f7a; }
.trk__wave { display: flex; align-items: center; gap: 2px; padding: 0 3px; }
.trk__wave i { position: static; flex: 1; min-width: 1px; border-radius: 1px; background: #8a78d8; opacity: .7; box-shadow: none; }
.win__ph { position: absolute; top: 4px; bottom: 4px; left: calc(12px + 58px + 10px); right: 12px; pointer-events: none; }
.win__ph > span { position: absolute; inset: 0; transform: translateX(calc(var(--t, 0) * 100%)); }
.win__ph > span::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; border-radius: 2px; background: #fff; box-shadow: 0 0 8px rgb(201 184 255 / 0.8); }
.win__ph > span::after { content: ""; position: absolute; top: -4px; left: -5px; width: 10px; height: 6px; border-radius: 2px 2px 5px 5px; background: #fff; }

.win__log { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 12px; border-radius: 8px; background: rgb(0 0 0 / 0.22); font: 500 0.75rem/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--muted); }
.win__msg { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.win__pct { margin-left: auto; color: var(--lilac); }
.win__spin { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgb(201 184 255 / 0.25); border-top-color: var(--lilac); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

@media (max-width: 760px) {
  .win__body { grid-template-columns: 1fr; }
  .win__steps { display: flex; overflow-x: auto; scrollbar-width: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .win__steps li { flex: none; }
  .win__chip { display: none; }
}

/* Niches marquee */
.niches { padding-block: clamp(56px, 8vw, 96px); text-align: center; }
.niches__label { margin-bottom: 22px; font-size: 0.875rem; color: var(--dim); }
.niches__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.niches__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.niches__viewport:hover .niches__track { animation-play-state: paused; }
.niches ul { display: flex; gap: 10px; padding-right: 10px; }
.niches li { padding: 10px 18px; border-radius: 999px; white-space: nowrap; font: 400 1.0625rem/1.2 var(--serif); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); transition: color .25s ease, background-color .25s ease; }
.niches li:hover { color: var(--text); background: rgb(255 255 255 / 0.04); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Comparison ---------- */
.vs { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 12px; align-items: stretch; margin-top: clamp(40px, 5vw, 60px); }
.vs__col { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: 16px; background: rgb(17 15 23 / 0.45); box-shadow: inset 0 0 0 1px var(--line); }
.vs__col--us { background: rgb(29 25 41 / 0.92); box-shadow: inset 0 0 0 1px rgb(155 130 240 / 0.5), 0 30px 60px -30px rgb(123 94 210 / 0.65); transform: translateY(-10px); }
.vs__col--us .btn { align-self: flex-start; margin-top: auto; }
.vs__name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 600; }
.vs__name .chip-status { margin-top: 0; }
.vs__list { display: grid; gap: 12px; }
.vs__list li { display: flex; gap: 12px; font-size: 0.9375rem; color: var(--dim); }
.vs__list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6.5 6.5l5 5M11.5 6.5l-5 5' stroke='%237f7785' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.vs__list--yes li { color: var(--text); }
.vs__list--yes li::before { box-shadow: none; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.2 7.8 11.5 12.5 6.5' fill='none' stroke='%23c9b8ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
@media (max-width: 900px) { .vs { grid-template-columns: 1fr; } .vs__col--us { order: -1; transform: none; } }


/* ---------- Features (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: clamp(44px, 6vw, 68px); }
.card { position: relative; grid-column: span 2; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 28px); border-radius: 18px; background: #17141f; box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgb(255 255 255 / 0.04); }
.card--wide { grid-column: span 3; gap: 24px; }
.card h3 { font-size: 1.0625rem; }
.card p { color: var(--muted); font-size: 0.9375rem; }
.card__text { display: grid; gap: 10px; }
.card--wide h3 { font: 500 1.5rem/1.2 var(--serif); letter-spacing: -0.015em; }
.card__kicker { font-size: 0.8125rem !important; font-weight: 500; color: #ccbdfa !important; }
.card__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 11px; color: var(--lilac); background: rgb(123 94 210 / 0.14); box-shadow: inset 0 0 0 1px rgb(155 130 240 / 0.28); }
@media (max-width: 900px) { .card, .card--wide { grid-column: span 6; } }

.card--wide > .titles { margin-top: auto; }
.titles { display: grid; gap: 6px; }
.titles li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 0.875rem; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.titles li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); }
.titles .is-on { color: var(--text); background: var(--primary-soft); box-shadow: inset 0 0 0 1px rgb(155 130 240 / 0.45); }
.titles .is-on::before { box-shadow: inset 0 0 0 4px var(--lilac); }

.mini-edit { display: grid; gap: 8px; margin-top: auto; padding: 16px; border-radius: 12px; background: rgb(0 0 0 / 0.25); box-shadow: inset 0 0 0 1px var(--line); }
.mini-edit__tl { position: relative; height: 22px; border-radius: 6px; background: rgb(255 255 255 / 0.03); }
.mini-edit__tl i { position: absolute; top: 2px; bottom: 2px; left: calc(var(--s) * 1%); width: calc(var(--w) * 1% - 3px); border-radius: 5px; background: #3b3163; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.mini-edit__tl i:nth-child(even) { background: #2b3a4e; }
.mini-edit__tl i:first-child { box-shadow: inset 0 0 0 1.5px var(--lilac); }
.mini-edit__tl--voice i { background: repeating-linear-gradient(90deg, #6f5fc0 0 2px, transparent 2px 4px) !important; opacity: .6; }
.bubble { max-width: 88%; margin-top: 6px; padding: 10px 13px; border-radius: 12px 12px 12px 4px; font-size: 0.875rem !important; color: var(--text) !important; background: rgb(255 255 255 / 0.05); box-shadow: inset 0 0 0 1px var(--line); }
.bubble--me { justify-self: end; border-radius: 12px 12px 4px 12px; background: var(--primary-soft); box-shadow: inset 0 0 0 1px rgb(155 130 240 / 0.4); }

.soon { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(24px, 4vw, 48px); margin-top: 14px; padding: clamp(24px, 3.5vw, 36px); border-radius: 18px; background: rgb(23 20 31 / 0.5); box-shadow: inset 0 0 0 1px var(--line); background-image: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.015) 0 1px, transparent 1px 12px); }
.soon__head { display: grid; align-content: start; gap: 14px; }
.soon__head .chip-status { margin-top: 0; justify-self: start; }
.soon__head h3 { font: 500 1.375rem/1.25 var(--serif); letter-spacing: -0.015em; }
.soon__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.soon__list li { display: grid; gap: 10px; align-content: start; }
.soon__list .icon { color: var(--muted); }
.soon__list b { font-weight: 600; }
.soon__list span { display: block; margin-top: 4px; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 900px) { .soon, .soon__list { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: clamp(44px, 6vw, 68px); list-style: none; }
.steps li { position: relative; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--lilac); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .3s; }
.steps li.is-in::before { transform: scaleX(1); }
.steps li:nth-child(2) { transition-delay: .08s; } .steps li:nth-child(3) { transition-delay: .16s; } .steps li:nth-child(4) { transition-delay: .24s; }
.steps__n { display: block; margin-bottom: 18px; font: 500 0.8125rem/1 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--lilac); }
.steps h3 { font: 500 1.25rem/1.25 var(--serif); letter-spacing: -0.01em; }
.steps p { margin-top: 10px; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Cursor spotlight on cards (fine pointers only, set by script.js) ---------- */
.spot { position: relative; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgb(155 130 240 / 0.1), transparent 70%); }
.spot:hover::after { opacity: 1; }
