/* TrySEO marketing site: dark glass, product-first (see docs/ui.md).
   Loaded after app.css. The brand green gradient is the only accent colour; status colours appear only inside app windows.
   Bands redefine the tokens (--bg, --text, --muted …), so every component inside a light band adapts on its own. */

/* ---------- Tokens ---------- */
.site, .band--light, .band--soft, .sec-tint {
  --ink: var(--text); --body: var(--text-2); --hair: var(--border); --hair-soft: var(--panel-2);
}
.site {
  --bg: #08090a; --panel: #0f1011; --panel-2: #141516; --panel-3: #1b1c1e;
  --border: rgb(255 255 255 / 8%); --border-2: rgb(255 255 255 / 14%);
  --text: #f7f8f8; --text-2: #d0d6e0; --muted: #8a8f98; --dim: #62666d;
  --b1: rgb(var(--c-700)); --b2: rgb(var(--c-600)); --b3: rgb(var(--c-500)); --b4: rgb(var(--c-400)); --t4: rgb(var(--c-t400));
  --grad: linear-gradient(135deg, rgb(var(--c-500)) 0%, rgb(var(--c-600)) 48%, rgb(var(--c-t600)) 100%);
  --grad-text: linear-gradient(100deg, rgb(var(--c-400)), rgb(var(--c-t400)));
  --accent: var(--b4);
  --ok: #4cb782; --warn: #f2be5a; --bad: #eb5757;
  --max: 1600px; --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.25, .46, .45, .94); --out: cubic-bezier(.16, 1, .3, 1);
  --sans: Inter, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --glass-border: rgb(255 255 255 / 10%);
  --glass-bg: linear-gradient(160deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 2%));
  --glass-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 20px 50px -30px rgb(0 0 0 / 60%);
}
.band--light, .band--soft, .sec-tint {
  --bg: #f5f6f8; --panel: rgb(255 255 255 / 72%); --panel-2: rgb(255 255 255 / 90%); --panel-3: #eef1f4;
  --border: rgb(10 30 20 / 9%); --border-2: rgb(10 30 20 / 15%);
  --text: #0b0d0c; --text-2: #2a3330; --muted: #5d6670; --dim: #8a93a0;
  --grad-text: linear-gradient(100deg, rgb(var(--c-600)), rgb(var(--c-t600)));
  --accent: var(--b1);
  --glass-border: rgb(255 255 255 / 80%);
  --glass-bg: linear-gradient(160deg, rgb(255 255 255 / 85%), rgb(255 255 255 / 55%));
  --glass-shadow: inset 0 1px 0 #fff, 0 24px 50px -30px rgb(20 60 40 / 25%);
  color: var(--text-2);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body.site { background: var(--bg); color: var(--text-2); font-family: var(--sans); font-size: 15px; line-height: 1.6; letter-spacing: -.011em;
  font-feature-settings: "cv01", "ss03"; overflow-x: clip; }
.site ::selection { background: rgb(var(--c-500) / 40%); color: #fff; }
.site :focus-visible { outline: 2px solid var(--b3); outline-offset: 2px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 52rem; margin-inline: auto; padding-inline: var(--gutter); }
.grid > *, .split > * { min-width: 0; }
.mono { font-family: var(--mono); }

/* Tailwind colour utilities the pages use, mapped onto the band tokens */
.site .text-ink, .site .hover\:text-ink:hover { color: var(--text); }
.site .text-body { color: var(--text-2); }
.site .text-muted { color: var(--muted); }
.site .border-hair { border-color: var(--border); }
.site .bg-white { background: var(--panel-2); }
.site .text-brand-400, .site .text-brand-500, .site .text-brand-600, .site .text-brand-700, .site .text-green-700, .site .text-teal-500 { color: var(--accent); }
.site .bg-brand-500 { background: var(--b3); }
.site .border-brand-300, .site .hover\:border-brand-300:hover { border-color: var(--border-2); }
.site .link { color: var(--accent); font-weight: 500; }
.site .link:hover { color: var(--text); }

.skip-link { position: absolute; left: -999px; top: .5rem; z-index: 100; background: var(--panel-2); color: var(--text); padding: .5rem .9rem; border-radius: 8px; }
.skip-link:focus { left: .75rem; }

/* Chinese: about the same visual space as English, airy rather than cramped, never negative tracking (docs/ui.md) */
html[lang="zh-CN"] body.site { line-height: 1.85; letter-spacing: .03em; }
html[lang="zh-CN"] .site :is(h1, h2, .hero-h1, .page-h1, .sec-h2, .split-h2, .fin-h2, .stmt-stage) { letter-spacing: .04em; line-height: 1.3; }
html[lang="zh-CN"] .site :is(h3, .sec-h3, .w-title, .stats b, .ring b) { letter-spacing: .02em; }
html[lang="zh-CN"] .site :is(.hero-lead, .page-lead, .sec-lead, .sec-text, .fin-text) { line-height: 1.95; letter-spacing: .04em; }
html[lang="zh-CN"] .site :is(.tile p, .faq-item > div, .site-prose) { line-height: 1.9; }
html[lang="zh-CN"] .sticky-copy .split-h2, html[lang="zh-CN"] .layered .split-h2, html[lang="zh-CN"] .faq-split .split-h2 { font-size: clamp(30px, 3vw, 46px); }
html[lang="zh-CN"] .stmt { gap: 0; }
html[lang="zh-CN"] .hero-h1 { font-size: clamp(36px, 5.4vw, 76px); }
html[lang="zh-CN"] :is(.page-h1, .sec-h2, .fin-h2) { font-size: clamp(32px, 4.4vw, 64px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; height: 72px; display: flex; align-items: center; gap: 24px;
  padding: 0 max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  background: rgb(8 9 10 / 86%); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--border); }
.site-header .brand { flex-shrink: 0; }
.site-header .brand .text-ink { color: var(--text); }
.hx-nav { display: none; align-items: center; gap: 2px; margin-left: 12px; }
.hx-nav a { padding: 8px 12px; font-size: 15px; font-weight: 500; color: var(--muted); border-radius: 8px; transition: color .2s var(--ease); }
.hx-nav a:hover, .hx-nav a.is-active { color: var(--text); }
.hx-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hx-signin { display: none; padding: 8px 12px; font-size: 15px; font-weight: 500; color: var(--muted); }
.hx-signin:hover { color: var(--text); }
.hx-lang { padding: 8px 10px; font-size: 14px; font-weight: 500; color: var(--muted); border-radius: 8px; transition: color .2s var(--ease); }
.hx-lang:hover { color: var(--text); }
.hx-email { display: none; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--muted); }
.hx-burger { list-style: none; cursor: pointer; display: grid; place-items: center; gap: 6px; width: 40px; height: 40px; border-radius: 8px; }
.hx-burger::-webkit-details-marker { display: none; }
.hx-burger span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .3s var(--out); }
.hx-menu[open] .hx-burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.hx-menu[open] .hx-burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.hx-sheet { position: fixed; left: 0; right: 0; top: 72px; bottom: 0; overflow-y: auto; padding: 8px var(--gutter) 32px; background: rgb(8 9 10 / 97%);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); animation: hx-down .25s var(--out); }
.hx-sheet > a { display: flex; align-items: center; min-height: 48px; font-size: 18px; font-weight: 500; color: var(--text-2); border-bottom: 1px solid var(--border); }
.hx-sheet > a.is-active { color: var(--text); }
.hx-sheet .hx-sheet-actions { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 640px) { .hx-signin { display: inline-flex; } }
@media (min-width: 1024px) { .hx-nav { display: flex; } .hx-menu { display: none; } .hx-email { display: inline; } }

/* ---------- Buttons ---------- */
.site .btn { height: 40px; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 500; gap: 8px; letter-spacing: -.005em; box-shadow: none;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.site .btn-lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 10px; }
.site .btn-grad, .site .btn-primary { background: #e6e6e6; color: #08090a; }
.site .btn-grad:hover, .site .btn-primary:hover { background: #fff; transform: none; box-shadow: none; }
.site .btn-outline, .site .btn-ghost { background: rgb(255 255 255 / 3%); border: 1px solid var(--border-2); color: var(--text); }
.site .btn-outline:hover, .site .btn-ghost:hover { background: rgb(255 255 255 / 7%); border-color: rgb(255 255 255 / 22%); }
.band--light .btn-grad, .band--light .btn-primary, .band--soft .btn-grad, .sec-tint .btn-grad { background: #0b0d0c; color: #fff; }
.band--light .btn-grad:hover, .band--soft .btn-grad:hover, .sec-tint .btn-grad:hover { background: #222; }
.band--light .btn-outline, .band--soft .btn-outline, .sec-tint .btn-outline { background: rgb(255 255 255 / 60%); }
.btn svg { width: 14px; height: 14px; }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--text-2); transition: color .2s var(--ease), gap .2s var(--ease); }
.more:hover { color: var(--text); gap: 7px; }
.more svg { width: 14px; height: 14px; }

/* ---------- Bands ---------- */
.band { position: relative; overflow: clip; padding: clamp(104px, 12vw, 176px) 0; isolation: isolate; background: var(--bg); color: var(--text-2); }
.band + .band { border-top: 1px solid var(--border); }
.band--tall { display: flex; min-height: 100vh; align-items: center; padding: clamp(120px, 14vw, 200px) 0; }
.band--tall > .wrap { width: 100%; }
.band--hero { padding: clamp(72px, 9vw, 128px) 0 0; border-top: 0;
  background: radial-gradient(1100px 620px at 50% -10%, rgb(var(--c-500) / 18%), transparent 65%), var(--bg); }
.band--glass { padding: 48px 0; background: linear-gradient(180deg, rgb(255 255 255 / 3%), rgb(255 255 255 / 1%)); backdrop-filter: blur(12px); }
.band--charcoal { background: linear-gradient(180deg, #0d0e10, #121417); }
.band--glow { background: radial-gradient(900px 600px at 100% 0%, rgb(var(--c-500) / 13%), transparent 60%),
  radial-gradient(800px 600px at 0% 100%, rgb(var(--c-t600) / 13%), transparent 60%), #090b0a; }
.band--grid { background:
  linear-gradient(180deg, transparent 55%, rgb(var(--c-600) / 12%)),
  linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px) 0 0 / 56px 56px, var(--bg); }
.band--deep, .sec-dark { --text-2: rgb(var(--c-50) / 80%); --muted: rgb(var(--c-200) / 62%); --border: rgb(255 255 255 / 10%);
  background: radial-gradient(900px 500px at 50% 120%, rgb(var(--c-300) / 22%), transparent 60%), linear-gradient(160deg, rgb(var(--c-dk1)), rgb(var(--c-dk2)) 55%, rgb(var(--c-dk3))); }
.band--noise { background: radial-gradient(700px 500px at 100% 0%, rgb(var(--c-500) / 12%), transparent 60%), #0a0b0c; }
.band--noise::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.band--light, .sec-tint { background:
  radial-gradient(900px 500px at 15% 0%, rgb(var(--c-400) / 20%), transparent 60%),
  radial-gradient(700px 500px at 100% 100%, rgb(var(--c-t600) / 13%), transparent 60%), linear-gradient(180deg, #f8f9fb, #eef2f0); }
.band--soft { background: radial-gradient(800px 500px at 85% 10%, rgb(var(--c-t400) / 16%), transparent 60%), linear-gradient(180deg, #f3f6f4, #e9efec); }
.band--finale { text-align: center; }

/* Legacy section names used by the inner pages */
.sec { position: relative; overflow: clip; padding: clamp(80px, 9vw, 136px) 0; isolation: isolate; color: var(--text-2); }
.sec:not(.sec-tint):not(.sec-dark) { background: var(--bg); }
.sec:nth-of-type(odd):not(.sec-tint):not(.sec-dark) { background: linear-gradient(180deg, #0d0e10, #111315); }
.sec + .sec, .page-hero + .sec { border-top: 1px solid var(--border); }

/* Aurora: three slow, blurred brand circles */
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; width: 46vw; height: 46vw; max-width: 760px; max-height: 760px; border-radius: 50%; filter: blur(80px); opacity: .55;
  animation: aurora 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { left: 8%; top: -30%; background: radial-gradient(circle, rgb(var(--c-500) / 42%), transparent 65%); }
.aurora i:nth-child(2) { right: 4%; top: -18%; background: radial-gradient(circle, rgb(var(--c-t600) / 40%), transparent 65%); animation-duration: 22s; animation-direction: alternate-reverse; }
.aurora i:nth-child(3) { left: 36%; top: 10%; background: radial-gradient(circle, rgb(var(--c-700) / 38%), transparent 65%); animation-duration: 26s; }
.aurora--low i:nth-child(1) { top: auto; bottom: -45%; }
.aurora--low i:nth-child(2) { top: auto; bottom: -40%; }
.aurora--low i:nth-child(3) { top: auto; bottom: -55%; }
@keyframes aurora { to { transform: translate(6vw, 4vw) scale(1.15); } }

/* ---------- Glass ---------- */
.glass, .tile, .faq-item, .ld-fact { border: 1px solid var(--glass-border); background: var(--glass-bg); box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); }

/* ---------- Type ---------- */
.site h1, .site h2, .site h3 { color: var(--text); }
.hero-h1, .page-h1 { font-size: clamp(42px, 6.4vw, 88px); font-weight: 600; line-height: 1.06; letter-spacing: -.034em; color: var(--text); text-wrap: balance; }
.page-h1 { font-size: clamp(40px, 5.6vw, 76px); }
.hero-h1 .dim, .sec-h2 .dim, .page-h1 .dim, .fin-h2 .dim { color: var(--muted); }
.sec-h2 { font-size: clamp(36px, 5.2vw, 72px); font-weight: 600; line-height: 1.06; letter-spacing: -.034em; color: var(--text); text-wrap: balance; }
.split-h2 { font-size: clamp(40px, 5vw, 72px); font-weight: 600; line-height: 1; letter-spacing: -.035em; color: var(--text); }
.fin-h2 { font-size: clamp(40px, 6.4vw, 88px); font-weight: 600; line-height: 1.06; letter-spacing: -.034em; color: var(--text); }
.sec-h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; color: var(--text); }
.hero-lead, .page-lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; color: var(--muted); max-width: 640px; margin-inline: auto; }
.sec-lead, .sec-text { font-size: 17px; line-height: 1.6; color: var(--muted); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow svg { display: none; }
.label { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.label b { font-weight: 600; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strike { position: relative; white-space: nowrap; color: var(--muted); }
.strike::after { content: ''; position: absolute; left: -2%; right: -2%; top: 54%; height: .07em; border-radius: 9999px; background: var(--bad);
  transform: rotate(-3deg) scaleX(0); transform-origin: left; animation: ts-strike .7s .6s var(--out) forwards; }

/* Heads */
.head { max-width: 1120px; margin: 0 auto clamp(56px, 7vw, 96px); text-align: center; }
.head .sec-lead { max-width: 640px; margin: 18px auto 0; }
.head .label { margin-bottom: 18px; }

/* ---------- Small parts ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 980px; font-size: 14px; font-weight: 500; color: var(--text-2);
  border: 1px solid var(--glass-border); background: var(--glass-bg); box-shadow: var(--glass-shadow); }
.chip svg { width: 14px; height: 14px; color: var(--accent); }
.chip em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--accent); }
.chip-good { color: var(--accent); }
.chip-warn { color: #d79a2b; }
.chip-bad { color: var(--bad); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 980px; font-size: 15px; color: var(--text-2);
  border: 1px solid var(--glass-border); background: var(--glass-bg); box-shadow: var(--glass-shadow); }
.badge svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: var(--accent);
  background: linear-gradient(135deg, rgb(var(--c-500) / 25%), rgb(var(--c-t600) / 25%)); border: 1px solid rgb(var(--c-400) / 18%); }
.ico svg { width: 26px; height: 26px; }
.ico-sm { width: 44px; height: 44px; border-radius: 13px; }
.ico-sm svg { width: 20px; height: 20px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); }
.stats > div { padding: 22px 24px; border-left: 1px solid var(--border); }
.stats > div:nth-child(odd) { border-left: 0; }
.stats b { display: block; font-size: clamp(36px, 4.4vw, 60px); font-weight: 600; line-height: 1; letter-spacing: -.03em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .stats--4 { grid-template-columns: repeat(4, 1fr); } .stats--4 > div:nth-child(odd) { border-left: 1px solid var(--border); } .stats--4 > div:first-child { border-left: 0; } }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); margin-top: 10px; }
.ticks li svg { width: 16px; height: 16px; margin-top: 4px; flex-shrink: 0; color: var(--accent); }
.check-list li, .cross-list li { position: relative; padding-left: 28px; margin-bottom: 10px; line-height: 1.6; color: var(--text-2); }
.check-list li::before, .cross-list li::before { content: ''; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; background: var(--accent);
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
  --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E"); }
.cross-list li::before { background: var(--bad);
  --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 14px; font-weight: 600; color: var(--text);
  border: 1px solid rgb(var(--c-400) / 35%); background: rgb(var(--c-500) / 12%); }
.step-line { position: absolute; left: 17px; top: 44px; bottom: -24px; width: 1px; background: linear-gradient(var(--b3), transparent); }

/* Cards / tiles */
.tile { position: relative; border-radius: 20px; padding: 28px; transition: transform .4s var(--out), border-color .3s var(--ease); }
.tile:hover { transform: translateY(-4px); border-color: rgb(255 255 255 / 20%); }
.band--light .tile:hover, .sec-tint .tile:hover { border-color: #fff; }
.tile-dark { color: var(--text-2); }
.tile-muted { border-style: dashed; }
.itile { text-align: center; }
.itile .ico { margin: 0 auto 18px; }
.itile p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* Figures (inline SVGs whose parts move on tile hover) */
.fig { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: var(--accent);
  background: linear-gradient(135deg, rgb(var(--c-500) / 25%), rgb(var(--c-t600) / 25%)); border: 1px solid rgb(var(--c-400) / 16%);
  transition: transform .5s var(--out); }
.fig svg { overflow: visible; }
.fig-sm { width: 44px; height: 44px; border-radius: 13px; }
.fig-lg { width: 100%; height: 9rem; border-radius: 16px; background: linear-gradient(135deg, #f3fbf6, #eefcfa); border: 0; color: rgb(var(--c-600)); }
.fig-xl { height: auto; aspect-ratio: 16 / 10; padding: 8px; }
.fig-xl svg { width: 100%; height: 100%; }
.tile:hover .fig { transform: translateY(-2px) scale(1.04); }
.tile:hover .fig-lg { transform: none; }
.fig-rise, .fig-spin, .fig-pop, .fig-slide, .fig-pulse { transform-box: fill-box; transform-origin: center; transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .4s ease; }
.tile:hover .fig-rise { transform: translateY(-6px); }
.tile:hover .fig-slide { transform: translateX(6px); }
.tile:hover .fig-pop { transform: scale(1.18); }
.tile:hover .fig-spin { transform: rotate(180deg); transition-duration: .9s; }
.tile:hover .fig-pulse { animation: ts-pulse 1.1s ease-in-out infinite; }
.fig-draw { stroke-dasharray: var(--len, 120); stroke-dashoffset: var(--len, 120); transition: stroke-dashoffset .9s cubic-bezier(.4,0,.2,1); }
.tile:hover .fig-draw, .is-in .fig-draw.auto { stroke-dashoffset: 0; }
.fig-bar { transform-box: fill-box; transform-origin: bottom; transform: scaleY(.45); transition: transform .6s cubic-bezier(.34,1.56,.64,1); }
.tile:hover .fig-bar, .is-in .fig-bar.auto { transform: scaleY(1); }
.phase-num { display: none; }
.meter { display: inline-flex; align-items: center; gap: 4px; }
.meter i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--border-2); }
.meter i.on { background: var(--grad); }
.ring-draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--to, 0); }
.js-reveal .ring-draw { stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.5s var(--out) .2s; }
.js-reveal .is-in .ring-draw { stroke-dashoffset: var(--to, 0); }
.score-bar { height: 6px; border-radius: 9999px; background: var(--border); overflow: hidden; }
.score-bar > span { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: var(--grad); }
.js-reveal .score-bar > span { width: 0; transition: width 1.1s var(--out) .25s; }
.js-reveal .is-in .score-bar > span { width: var(--w, 0%); }

/* Shapes from the old design: hidden in this one */
.shape, .cta-spark, .dot-grid { display: none !important; }

/* FAQ */
.faq-item { border-radius: 16px; transition: border-color .3s var(--ease); }
.faq-item:hover, .faq-item[open] { border-color: rgb(255 255 255 / 20%); }
.band--light .faq-item[open], .sec-tint .faq-item[open] { border-color: #fff; }
.faq-item > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 500; color: var(--text); font-size: 16px; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: ''; flex-shrink: 0; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--out); }
.faq-item[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-item > div { padding: 0 22px 20px; line-height: 1.7; color: var(--muted); }
.faq-item > div a { color: var(--accent); }

/* Good to know */
.gtk { max-width: 720px; margin: 40px auto 0; }
.gtk summary { list-style: none; cursor: pointer; text-align: center; font-size: 14px; font-weight: 500; color: var(--text-2); }
.gtk summary::-webkit-details-marker { display: none; }
.gtk summary::after { content: ' +'; color: var(--muted); }
.gtk[open] summary::after { content: ' –'; }
.gtk ul { margin-top: 16px; display: grid; gap: 8px; }
.gtk li { position: relative; padding-left: 18px; color: var(--muted); font-size: 14px; }
.gtk li::before { content: '–'; position: absolute; left: 0; }

/* Tables */
.site-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.site-table th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 14px 16px;
  border-bottom: 1px solid var(--border); background: rgb(255 255 255 / 2%); }
.site-table td { padding: 15px 16px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-2); }
.site-table tr:last-child td { border-bottom: 0; }
.site-table tbody tr:hover { background: rgb(255 255 255 / 2%); }

/* Long-form text */
.site-prose { color: var(--text-2); line-height: 1.75; font-size: 16px; }
.site-prose h2 { margin: 40px 0 12px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.site-prose h3 { margin: 26px 0 8px; font-size: 18px; font-weight: 600; color: var(--text); }
.site-prose p { margin: 0 0 16px; }
.site-prose ul { list-style: disc; padding-left: 20px; margin: 0 0 16px; }
.site-prose li { margin-bottom: 6px; }
.site-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.site-prose strong { color: var(--text); font-weight: 600; }

/* Marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: ts-marquee 40s linear infinite; }
.marquee-track.rev { animation-direction: reverse; animation-duration: 48s; }
.mq-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 16px; border-radius: 980px; font-size: 14px; color: var(--text-2);
  border: 1px solid var(--border); background: rgb(255 255 255 / 2%); }
.mq-item svg { width: 14px; height: 14px; color: var(--accent); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: clip; isolation: isolate; padding: clamp(96px, 11vw, 160px) 0 clamp(72px, 8vw, 112px); text-align: center;
  background: radial-gradient(1000px 560px at 50% -15%, rgb(var(--c-500) / 17%), transparent 65%), var(--bg); }
.page-hero .page-lead { margin-top: 22px; }
.page-hero .back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 26px; padding: 6px 14px; border-radius: 980px; font-size: 13px; color: var(--text-2);
  border: 1px solid var(--glass-border); background: var(--glass-bg); }

/* ---------- Finale ---------- */
.finale { position: relative; overflow: clip; isolation: isolate; padding: clamp(120px, 14vw, 200px) 0; text-align: center; background: var(--bg); border-top: 1px solid var(--border); }
.finale p.fin-text { max-width: 600px; margin: 22px auto 0; font-size: 17px; color: var(--muted); }
.finale .fin-actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.finale .fin-note { margin-top: 16px; font-size: 13px; color: var(--dim); }
.finale .fin-links { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.finale .fin-links a:hover { color: var(--text); border-color: rgb(255 255 255 / 20%); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 36px; background: var(--bg); }
.hx-foot { display: grid; gap: 40px; grid-template-columns: repeat(2, 1fr); }
.hx-foot .brandcol { grid-column: 1 / -1; }
@media (min-width: 900px) { .hx-foot { grid-template-columns: 1.6fr repeat(3, 1fr); } .hx-foot .brandcol { grid-column: auto; } }
.footer-title { font-size: 13px; font-weight: 500; color: var(--text); }
.footer-link { font-size: 14px; color: var(--muted); transition: color .2s var(--ease); }
.footer-link:hover { color: var(--text); }
.hx-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--dim); }
.hx-legal .slogan { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }

/* ---------- Reveal ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--out), transform 1.1s var(--out); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.js-reveal [data-reveal="1"] { transition-delay: .08s; } .js-reveal [data-reveal="2"] { transition-delay: .16s; }
.js-reveal [data-reveal="3"] { transition-delay: .24s; } .js-reveal [data-reveal="4"] { transition-delay: .32s; }
.js-reveal [data-reveal-fx="left"] { transform: translateX(-36px); }
.js-reveal [data-reveal-fx="scale"] { transform: scale(.94); }
.js-reveal [data-reveal-fx="tilt"] { transform: perspective(1600px) rotateX(18deg) translateY(60px) scale(.94); transform-origin: 50% 0; }
.js-reveal [data-reveal-fx].is-in { transform: none; }

/* =====================================================================
   Live app windows ("demos"). Every element is a function of the step:
   [data-at=N] is shown from step N, [data-on="a-b"] is lit for steps a..b-1.
   ===================================================================== */
.win { position: relative; display: flex; overflow: hidden; border-radius: 12px; text-align: left; font-size: 13px; color: var(--text-2);
  border: 1px solid rgb(255 255 255 / 10%); background: linear-gradient(160deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 2%)), rgb(15 16 17 / 72%);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%), 0 50px 100px -30px rgb(0 0 0 / 70%);
  --text: #f7f8f8; --text-2: #d0d6e0; --muted: #8a8f98; --dim: #62666d; --border: rgb(255 255 255 / 8%); --accent: rgb(var(--c-400)); }
.win-side { display: none; width: 200px; flex-shrink: 0; padding: 14px 10px; border-right: 1px solid var(--border); background: rgb(255 255 255 / 1.5%); }
.win-ws { display: flex; align-items: center; gap: 8px; padding: 4px 8px 14px; font-weight: 600; color: var(--text); font-size: 13px; }
.win-ws i { width: 20px; height: 20px; border-radius: 6px; background: var(--grad); }
.win-nav { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 6px; color: var(--muted); font-size: 13px; }
.win-nav svg { width: 14px; height: 14px; }
.win-nav.is-active { background: rgb(255 255 255 / 6%); color: var(--text); }
.win-nav em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--dim); }
.win-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.win-head { display: flex; align-items: center; gap: 10px; padding: 12px 120px 12px 18px; border-bottom: 1px solid var(--border); color: var(--text-2); font-weight: 500; }
.win-head svg { width: 14px; height: 14px; color: var(--muted); }
.win-head .crumb { color: var(--dim); font-weight: 400; }
.win-body { position: relative; flex: 1; padding: 18px; }
.live { position: absolute; top: 9px; right: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 980px;
  font-size: 12px; color: var(--text-2); background: rgb(8 9 10 / 70%); border: 1px solid var(--border); backdrop-filter: blur(8px); }
.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--bad); animation: blink 1.4s steps(2, start) infinite; }
@media (min-width: 900px) { .win-side { display: block; } }

/* Parts inside windows */
.w-row { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--border); min-width: 0; }
.w-row:last-child { border-bottom: 0; }
.w-k { width: 110px; flex-shrink: 0; font-size: 12px; color: var(--dim); }
.w-v { flex: 1; min-width: 0; color: var(--text-2); }
.w-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-title { font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: -.02em; line-height: 1.3; }
.w-cap { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.w-field { min-height: 34px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border); background: rgb(255 255 255 / 3%); color: var(--text); }
.w-field.is-focus { border-color: rgb(var(--c-400) / 50%); box-shadow: 0 0 0 3px rgb(var(--c-400) / 12%); }
.w-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 7px; font-size: 12px; font-weight: 500;
  background: #e6e6e6; color: #08090a; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.w-btn.is-on { transform: scale(.94); box-shadow: 0 0 0 4px rgb(var(--c-400) / 30%); }
.w-btn svg { width: 13px; height: 13px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 980px; font-size: 11px; font-weight: 500; white-space: nowrap;
  color: var(--muted); background: rgb(255 255 255 / 6%); transition: background .4s var(--ease), color .4s var(--ease); }
.pill--green { color: #6fd6a2; background: rgb(76 183 130 / 16%); }
.pill--blue { color: #7fd8cf; background: rgb(var(--c-t400) / 14%); }
.pill--amber { color: #f5cd7c; background: rgb(242 190 90 / 15%); }
.pill--red { color: #f38b8b; background: rgb(235 87 87 / 15%); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.w-line { display: block; height: 7px; border-radius: 4px; background: rgb(255 255 255 / 7%); transform-origin: left; }
.w-line--h { height: 10px; background: rgb(255 255 255 / 22%); }
.w-line--g { background: linear-gradient(90deg, rgb(var(--c-400) / 45%), rgb(var(--c-t400) / 30%)); }
.fit { height: 4px; border-radius: 4px; background: rgb(255 255 255 / 7%); overflow: hidden; }
.fit i { display: block; height: 100%; width: var(--w, 60%); border-radius: inherit; background: var(--grad); transition: width .9s var(--out); }
.src { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; font-size: 11px; color: var(--text-2); border: 1px solid var(--border); background: rgb(255 255 255 / 3%); }
.src svg { width: 11px; height: 11px; color: var(--muted); }
.ring { --v: 0; flex-shrink: 0; position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%;
  background: conic-gradient(var(--b3) calc(var(--v) * 1%), rgb(255 255 255 / 8%) 0); transition: --v .3s linear; }
.ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #121414; }
.ring b { position: relative; font-size: 26px; font-weight: 600; letter-spacing: -.03em; color: var(--text); }
.ring small { position: absolute; bottom: 17px; font-size: 9px; color: var(--dim); }
@property --v { syntax: '<number>'; initial-value: 0; inherits: true; }
.stamp { position: absolute; z-index: 4; padding: 6px 14px; border: 2px solid var(--ok); border-radius: 8px; color: var(--ok); font-weight: 700; font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase; transform: rotate(-8deg); background: rgb(8 9 10 / 60%); }
.caret::after { content: ''; display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--b4); animation: blink 1s steps(2, start) infinite; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
.toast { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9px; font-size: 12px; color: var(--text);
  border: 1px solid rgb(76 183 130 / 35%); background: rgb(20 40 30 / 85%); box-shadow: 0 16px 30px -16px rgb(0 0 0 / 80%); }
.toast svg { width: 14px; height: 14px; color: var(--ok); }

/* Step states (only when the demo script runs; without it everything shows its finished state) */
.js-demo [data-at] { transition: opacity .45s var(--ease), transform .55s var(--out), max-height .55s var(--out); }
.js-demo [data-at]:not(.is-in) { opacity: 0; transform: translateY(8px); }
.js-demo .w-line[data-at]:not(.is-in) { opacity: 1; transform: scaleX(0); }
.js-demo .row-in[data-at] { max-height: 80px; overflow: hidden; }
.js-demo .row-in[data-at]:not(.is-in) { max-height: 0; padding-block: 0; border-bottom-width: 0; }
.js-demo .stamp[data-at] { transition: opacity .2s ease, transform .45s cubic-bezier(.2,1.6,.4,1); }
.js-demo .stamp[data-at]:not(.is-in) { opacity: 0; transform: rotate(-8deg) scale(1.8); }
.js-demo .fit[data-at]:not(.is-in) i { width: 0; }
.js-demo .fit[data-at]:not(.is-in) { opacity: 1; transform: none; }

/* ---------- Home: hero ---------- */
.hero-copy { text-align: center; max-width: 1100px; margin-inline: auto; }
.hero-copy .chips { margin-top: 30px; }
.hero-copy .hero-lead { margin-top: 26px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--dim); }
.hero-stage { position: relative; margin-top: clamp(56px, 7vw, 88px); perspective: 1800px; }
.hero-stage::before { content: ''; position: absolute; left: 10%; right: 10%; top: 6%; height: 70%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--c-500) / 30%), transparent); filter: blur(60px); }
.hero-win { --p: 1; transform: translateY(calc((1 - var(--p)) * 60px)) rotateX(calc((1 - var(--p)) * 22deg)) scale(calc(.9 + var(--p) * .1));
  transform-origin: 50% 0; will-change: transform; mask-image: linear-gradient(180deg, #000 62%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent); }
.hero-win .win { min-height: 560px; }
.hero-stamp { right: 28px; bottom: 28px; }
@media (min-width: 760px) { .hero-stamp { bottom: auto; top: 120px; right: 44px; } }
.band--light .win, .band--soft .win { background: linear-gradient(160deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 2%)), #111312; }

/* Editor window */
.ed { display: grid; gap: 18px; }
@media (min-width: 760px) { .ed { grid-template-columns: 1fr 230px; } }
.ed-doc { min-width: 0; display: grid; gap: 10px; align-content: start; }
.ed-aside { display: grid; gap: 12px; align-content: start; padding: 14px; border-radius: 10px; border: 1px solid var(--border); background: rgb(255 255 255 / 2%); }
.ed-check { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); transition: color .3s var(--ease); }
.ed-check svg { width: 13px; height: 13px; color: var(--dim); transition: color .3s var(--ease); }
.ed-check.is-on { color: var(--text-2); }
.ed-check.is-on svg { color: var(--ok); }

/* ---------- Home: pipeline ---------- */
.pipe { --p: 0; position: relative; display: grid; gap: 28px; margin: 0 auto clamp(64px, 8vw, 104px); max-width: 1200px; }
.pipe-track { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--border); }
.pipe-track i { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(var(--p)); }
.pipe-step { position: relative; display: flex; gap: 18px; align-items: flex-start; }
.pipe-dot { position: relative; z-index: 1; flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-2); background: var(--panel); color: var(--dim); transition: color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.pipe-dot svg { width: 18px; height: 18px; }
.pipe-step.is-on .pipe-dot { color: var(--b4); border-color: rgb(var(--c-400) / 55%); box-shadow: 0 0 0 6px rgb(var(--c-500) / 10%), 0 0 30px rgb(var(--c-500) / 35%); }
.pipe-step h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-top: 10px; }
.pipe-step p { font-size: 14px; color: var(--muted); margin-top: 4px; max-width: 260px; }
@media (min-width: 900px) {
  .pipe { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .pipe-track { left: 10%; right: 10%; top: 21px; bottom: auto; width: auto; height: 2px; }
  .pipe-track i { transform-origin: left; transform: scaleX(var(--p)); }
  .pipe-step { flex-direction: column; align-items: center; text-align: center; }
  .pipe-step p { margin-inline: auto; }
}

/* Keyword window */
.kw-search { display: flex; align-items: center; gap: 10px; }
.kw-search .w-field { flex: 1; display: flex; align-items: center; gap: 8px; }
.kw-search svg { width: 14px; height: 14px; color: var(--muted); }
.kw-table { margin-top: 14px; }
.kw-table .w-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px 70px; gap: 12px; }
.kw-table .w-row .grp { display: none; }
@media (min-width: 700px) { .kw-table .w-row { grid-template-columns: minmax(0, 1fr) 110px 90px 90px 110px; } .kw-table .w-row .grp { display: inline-flex; } .kw-table .hide-sm { display: block; } }
.kw-table .hide-sm { display: none; }

/* Coming-soon card */
.soon { display: grid; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 24px; margin-top: clamp(56px, 7vw, 96px); }
@media (min-width: 1000px) { .soon { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.soon-tag { display: inline-flex; padding: 4px 10px; border-radius: 980px; font-size: 12px; font-weight: 600; color: var(--accent); border: 1px solid rgb(var(--c-400) / 30%); background: rgb(var(--c-500) / 10%); }
.soon-art { position: relative; display: grid; gap: 12px; padding: 20px; border-radius: 16px; border: 1px solid var(--border); background: rgb(8 9 10 / 45%); }
.cms-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: rgb(255 255 255 / 2.5%); }
.cms-row b { font-weight: 500; color: var(--text); }
.cms-row .pill { margin-left: auto; }
.cms-logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-size: 12px; font-weight: 700; color: #08090a; background: #e6e6e6; }

/* ---------- Home: sticky modules ---------- */
.sticky-grid { display: grid; gap: 48px; }
.sticky-copy .split-h2 { margin-top: 14px; }
.sticky-copy .split-h2, .layered .split-h2, .faq-split .split-h2 { font-size: clamp(36px, 3.8vw, 58px); }
.mods { margin-top: 36px; display: grid; gap: 4px; }
.mod { position: relative; display: block; width: 100%; text-align: left; padding: 14px 0 14px 20px; opacity: .55; transition: opacity .4s var(--ease); cursor: pointer; }
.mod::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--border-2); transition: background .4s var(--ease); }
.mod b { display: block; font-size: 18px; font-weight: 600; color: var(--text); }
.mod span { display: block; max-height: 0; overflow: hidden; color: var(--muted); font-size: 15px; transition: max-height .5s var(--out), margin .5s var(--out); }
.mod.is-active { opacity: 1; }
.mod.is-active::before { background: var(--grad); }
.mod.is-active span { max-height: 90px; margin-top: 6px; }
.sticky-wins { display: grid; gap: 14vh; }
.sticky-wins > .win-wrap { transition: opacity .6s var(--ease), transform .8s var(--out); }
.js-sticky .sticky-wins > .win-wrap { opacity: .35; transform: scale(.94); }
.js-sticky .sticky-wins > .win-wrap.is-active { opacity: 1; transform: none; }
.sticky-wins .win { min-height: 440px; }
@media (min-width: 1000px) {
  .sticky-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; }
  .sticky-copy { position: sticky; top: 12vh; align-self: start; }
  .sticky-wins { padding-block: 8vh; }
}

/* Brand voice window */
.bv { display: grid; gap: 10px; }
.bv-url { display: flex; align-items: center; gap: 8px; }
.bv-url .w-field { flex: 1; font-family: var(--mono); font-size: 12px; }
.bv-scan { height: 3px; border-radius: 3px; background: rgb(255 255 255 / 6%); overflow: hidden; }
.bv-scan i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 2.4s linear; }
.bv-scan.is-in i { width: 100%; }
.bv .w-row .w-v { display: flex; flex-wrap: wrap; gap: 6px; }
.author { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: rgb(255 255 255 / 3%); }
.author i { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); }
.author b { display: block; color: var(--text); font-weight: 500; font-size: 13px; }
.author span { font-size: 11px; color: var(--dim); }

/* Writer window */
.wr { display: grid; gap: 12px; }
.wr-sec { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: rgb(255 255 255 / 2%); }
.wr-sec header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.wr-sec header b { font-weight: 500; color: var(--text); font-size: 13px; }
.wr-sec header .pill { margin-left: auto; }
.wr-sec .lines { display: grid; gap: 7px; }
.wr-srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ai-head { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; color: var(--accent); }

/* Autopilot calendar */
.cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cal-h { font-size: 11px; color: var(--dim); text-align: center; padding-bottom: 4px; }
.cal-c { min-height: 74px; padding: 7px; border-radius: 8px; border: 1px solid var(--border); background: rgb(255 255 255 / 1.5%); display: grid; align-content: start; gap: 5px; }
.cal-c > span:first-child { font-size: 10px; color: var(--dim); }
.cal-post { padding: 6px; border-radius: 6px; background: rgb(255 255 255 / 5%); display: grid; gap: 4px; }
.cal-post .w-line { height: 5px; }
.cal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.cal-foot b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Home: light band, layered art ---------- */
.layered { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .layered { grid-template-columns: .8fr 1.2fr; gap: 72px; } .layered.is-flip > :first-child { order: 2; } }
.layered .stats { margin-top: 40px; border-top: 1px solid var(--border); }
.art { position: relative; min-height: 520px; }
.art .win { position: absolute; left: 0; right: 12%; top: 0; }
.art .win .win-body { padding: 16px; }
.audit-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); }
.audit-row svg { width: 14px; height: 14px; }
.audit-row .ok { color: var(--ok); } .audit-row .wn { color: var(--warn); }
.serp { --py: 0; position: absolute; right: 0; bottom: 0; z-index: 2; width: min(420px, 82%); padding: 18px 20px; border-radius: 16px; text-align: left;
  border: 1px solid #fff; background: rgb(255 255 255 / 92%); box-shadow: 0 40px 80px -30px rgb(10 40 25 / 45%); transform: translateY(calc(var(--py) * -40px)); }
.serp .u { font-size: 12px; color: #4d5156; display: flex; align-items: center; gap: 8px; }
.serp .u i { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); }
.serp h4 { margin-top: 8px; font-size: 18px; line-height: 1.3; color: #1a0dab; font-weight: 400; }
.serp p { margin-top: 4px; font-size: 13px; line-height: 1.5; color: #4d5156; }
.serp .px { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 11px; color: #4d5156; }
.serp .px .fit { flex: 1; background: #e6ebe8; }
.float-chip { position: absolute; z-index: 3; display: none; animation: ts-float 7s ease-in-out infinite; }
.float-chip:nth-of-type(2) { animation-delay: -2.5s; } .float-chip:nth-of-type(3) { animation-delay: -5s; }
@media (min-width: 760px) { .float-chip { display: inline-flex; } }

/* ---------- Home: flow diagram (deep band) ---------- */
.flow { position: relative; margin-top: clamp(48px, 6vw, 80px); padding: 44px 24px 80px; border: 1px dashed rgb(255 255 255 / 22%); border-radius: 28px; }
.flow-label { position: absolute; top: -12px; left: 28px; padding: 2px 12px; font-size: 12px; font-weight: 500; color: var(--text-2); background: rgb(var(--c-dk4)); border-radius: 980px; border: 1px solid rgb(255 255 255 / 14%); }
.flow-grid { display: flex; flex-direction: column; align-items: center; }
.flow-col { display: grid; gap: 10px; width: 100%; max-width: 320px; }
.flow-cap { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 2px; }
.node { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-size: 14px; color: var(--text);
  border: 1px solid rgb(255 255 255 / 12%); background: linear-gradient(160deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 2%)); }
.node svg { width: 16px; height: 16px; color: var(--b4); flex-shrink: 0; }
.gate { position: relative; overflow: hidden; }
.gate::before { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(90deg, transparent, rgb(255 255 255 / 12%), transparent);
  animation: sweep 4.5s var(--ease) infinite; animation-delay: var(--d, 0s); }
.gate .lamp { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 10px var(--warn);
  animation: lamp 4.5s steps(1) infinite; animation-delay: var(--d, 0s); }
.wire { position: relative; width: 2px; height: 44px; margin: 4px auto; background: linear-gradient(rgb(255 255 255 / 10%), rgb(255 255 255 / 22%)); }
.wire::after { content: ''; position: absolute; left: -2px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--b4); box-shadow: 0 0 10px var(--b4);
  animation: packet-v 2.2s linear infinite; animation-delay: var(--d, 0s); }
.core { position: relative; display: grid; place-items: center; width: 130px; height: 130px; margin: 6px auto; }
.core .orb { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, rgb(var(--c-300)), rgb(var(--c-600)) 55%, rgb(var(--c-dk5))); box-shadow: 0 0 60px rgb(var(--c-500) / 55%); }
.core .orb svg { width: 34px; height: 34px; }
.core .r1, .core .r2 { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgb(var(--c-300) / 45%); animation: ts-spin 18s linear infinite; }
.core .r2 { inset: -14px; border-color: rgb(var(--c-t400) / 30%); animation-direction: reverse; animation-duration: 26s; }
.core-name { margin-top: 10px; text-align: center; font-size: 13px; font-weight: 600; color: var(--text); }
.flow-no { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 14px; border-radius: 980px; font-size: 13px; color: #fca5a5; border: 1px solid rgb(235 87 87 / 40%); background: rgb(80 10 10 / 35%); }
.flow-no .bounce { position: absolute; left: 50%; top: -34px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 10px var(--bad);
  animation: bounce-off 2.4s cubic-bezier(.5,0,.5,1) infinite; }
@media (min-width: 1000px) {
  .flow { padding: 64px 40px 96px; }
  .flow-grid { flex-direction: row; align-items: center; justify-content: space-between; }
  .flow-col { width: auto; flex: 1; max-width: 240px; }
  .wire { flex: .5; width: auto; height: 2px; margin: 0 10px; background: linear-gradient(90deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 22%)); }
  .wire::after { left: 0; top: -2px; animation-name: packet-h; }
  .core-col { flex: 0 0 auto; }
}
.facts { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.ld-fact { border-radius: 16px; padding: 20px 22px; }
.ld-fact p:first-child { font-size: 12px; color: var(--b4); font-weight: 500; }
.ld-fact h3 { margin-top: 6px; font-size: 17px; font-weight: 600; color: var(--text); }
.ld-fact p:last-child { margin-top: 6px; font-size: 14px; color: var(--text-2); }

/* ---------- Home: timeline ---------- */
.tl { --p: 0; position: relative; max-width: 1100px; margin-inline: auto; display: grid; gap: 28px; }
.tl-line { position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.tl-line i { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(var(--p)); }
.tl-item { position: relative; padding-left: 48px; }
.tl-dot { position: absolute; left: 8px; top: 24px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border-2); background: #111315;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease); }
.tl-item.is-on .tl-dot { border-color: var(--b4); background: var(--b3); box-shadow: 0 0 0 5px rgb(var(--c-500) / 14%), 0 0 22px rgb(var(--c-500) / 50%); }
.tl-card { border-radius: 18px; padding: 22px 24px; }
.tl-card .t { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.tl-card h3 { margin-top: 6px; font-size: 18px; font-weight: 600; }
.tl-card p { margin-top: 6px; font-size: 15px; color: var(--muted); }
@media (min-width: 900px) {
  .tl-line { left: 50%; margin-left: -1px; }
  .tl-item { width: 50%; padding: 0 56px 0 0; }
  .tl-item:nth-child(odd) { margin-left: 50%; padding: 0 0 0 56px; }
  .tl-dot { left: auto; right: -8px; }
  .tl-item:nth-child(odd) .tl-dot { right: auto; left: -8px; }
  .tl-item:not(:nth-child(odd)) .tl-card { text-align: right; }
}

/* ---------- Home: principles ---------- */
.stmt-stage { position: relative; min-height: 2.6em; max-width: 1200px; margin: 0 auto; text-align: center;
  font-size: clamp(30px, 4.4vw, 64px); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; color: var(--text); }
.stmt { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; align-content: center; gap: 0 .26em; visibility: hidden; }
.stmt.is-active { visibility: visible; }
.stmt .w { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(14px); transition: opacity .7s var(--ease), filter .7s var(--ease), transform .7s var(--out); }
.stmt.is-active .w { opacity: 1; filter: none; transform: none; }
.stmt .w.dim { color: var(--muted); }
.stmt-tabs { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 1000px; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stmt-tabs { grid-template-columns: repeat(4, 1fr); } }
.stmt-tab { text-align: left; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; transition: color .3s var(--ease); }
.stmt-tab::before { content: ''; display: block; height: 3px; margin-bottom: 12px; border-radius: 3px;
  background: linear-gradient(90deg, var(--b2), var(--b2)) left / var(--f, 0%) 100% no-repeat, var(--border-2); }
.stmt-tab.is-done::before { --f: 100%; }
.stmt-tab.is-active { color: var(--text); }
.stmt-tab.is-active::before { animation: fill-tab 6.5s linear forwards; }
@keyframes fill-tab { from { background-size: 0% 100%, auto; } to { background-size: 100% 100%, auto; } }

/* ---------- Home: FAQ split ---------- */
.faq-split { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-split { grid-template-columns: .8fr 1.2fr; gap: 72px; } .faq-split > :first-child { position: sticky; top: 14vh; align-self: start; } }

/* ---------- Inner-page leftovers from the old design ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(48px, 7vw, 80px) 24px; text-align: center; }
.navpill, .mobile-menu { display: none; }

@keyframes ts-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ts-spin { to { transform: rotate(360deg); } }
@keyframes ts-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes ts-marquee { to { transform: translateX(-50%); } }
@keyframes ts-strike { to { transform: rotate(-3deg) scaleX(1); } }
@keyframes blink { 50% { opacity: .15; } }
@keyframes hx-down { from { opacity: 0; transform: translateY(-6px); } }
@keyframes sweep { 0% { left: -40%; } 45%, 100% { left: 110%; } }
@keyframes lamp { 0% { background: var(--warn); box-shadow: 0 0 10px var(--warn); } 40%, 100% { background: var(--ok); box-shadow: 0 0 10px var(--ok); } }
@keyframes packet-v { from { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 6px); opacity: 0; } }
@keyframes packet-h { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 6px); opacity: 0; } }
@keyframes bounce-off { 0%, 100% { transform: translateY(-46px); opacity: 0; } 20% { opacity: 1; } 50% { transform: translateY(20px); } 52% { transform: translateY(20px) scale(1.3, .7); } 80% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fig-draw { stroke-dashoffset: 0; } .fig-bar { transform: none; } .strike::after { transform: rotate(-3deg) scaleX(1); }
  .hero-win { --p: 1 !important; } .stmt-tab.is-active::before { --f: 100%; }
}
