/* Игротека Vodka — editorial system on the official vodka.bet palette (brands/vodka/brand-kit/kit.json). */
:root {
  --bg: #0c111c;
  --bg-2: #121a29;
  --surface: #192232;
  --line: #273140;
  --text: #ffffff;
  --muted: #677a9d;
  --soft: #a9b6cc;
  --accent: #2b90fe;
  --cta: #1a64fc;
  --cta-end: #41c6ff;
  --ok: #4ce892;
  --grad: linear-gradient(149deg, #41c6ff 8.4%, #1a64fc 80.38%);
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shell: 1320px;
  --pad: clamp(16px, 4.5vw, 64px);
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.7 var(--sans); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: #1a64fc; color: #ffffff; }
:focus-visible { outline: 2px solid var(--cta-end); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: -.005em; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--pad); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #ffffff; color: #0c111c; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Buttons */
.cta {
  --h: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px; border-radius: 999px; background: var(--grad); color: #ffffff;
  font-weight: 700; font-size: 15px; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(26, 100, 252, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cta::after { content: "→"; font-weight: 500; transition: transform .35s var(--ease); }
.cta:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(65, 198, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
.cta:hover::after { transform: translateX(4px); }
.cta-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.ghost {
  display: inline-flex; align-items: center; min-height: 54px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line);
  color: #ffffff; text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .3s, background .3s;
}
.ghost:hover { border-color: var(--muted); background: rgba(255, 255, 255, .03); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.hdr.is-stuck { background: rgba(12, 17, 28, .72); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom-color: rgba(39, 49, 64, .7); }
.hdr-in { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-sub { font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); line-height: 1.2; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--soft); text-decoration: none; border-radius: 999px; transition: color .25s, background .25s; }
.nav a:hover { color: #ffffff; background: rgba(255, 255, 255, .04); }
.nav a[aria-current] { color: #ffffff; background: var(--surface); }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #ffffff; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 76px 0 0; z-index: 49; background: rgba(12, 17, 28, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); overflow-y: auto; }
.menu-in { padding-top: 24px; padding-bottom: 48px; }
.menu-label { color: var(--muted); margin: 0 0 8px; }
.menu-list { display: grid; margin-bottom: 32px; }
.menu-list a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 700; letter-spacing: -.03em; text-decoration: none; }
.menu-list .mono { color: var(--muted); font-size: 13px; }
.menu-note { color: var(--muted); font-size: 13px; }

/* Home hero */
.hero { position: relative; overflow-x: clip; padding: clamp(48px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -76px 0 0; z-index: -2; background: linear-gradient(180deg, #121a29 0%, #0c111c 85%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 1100px; height: 700px; right: -320px; top: -260px; background: radial-gradient(closest-side, rgba(26, 100, 252, .16), transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--soft); margin: 0 0 28px; }
.dot { display: none; }
.display { font-size: clamp(44px, 7vw, 96px); line-height: .94; letter-spacing: -.055em; font-weight: 800; margin: 0 0 32px; }
.display .num { display: block; font-variant-numeric: tabular-nums; }
.hero-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--soft); max-width: 34em; margin: 0 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { width: 100%; margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.frame { position: relative; border-radius: 28px; padding: 1px; background: linear-gradient(160deg, rgba(65, 198, 255, .7), rgba(39, 49, 64, .6) 40%, rgba(26, 100, 252, .6)); box-shadow: 0 40px 120px -40px rgba(26, 100, 252, .55); }
.frame > img, .frame > picture { border-radius: 27px; width: 100%; }
.frame-tilt { transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); transition: transform .8s var(--ease); }
.frame-tilt:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.chip { position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 16px; background: rgba(18, 26, 41, .82); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7); }
.chip b { font-size: 26px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.chip span { font-family: var(--sans); font-size: 12px; letter-spacing: 0; color: var(--muted); }
.chip-a { left: -28px; bottom: 34px; } .chip-b { right: -18px; top: -22px; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: run 48s linear infinite; }
.marquee-track span { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.035em; color: #ffffff; opacity: .55; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "·"; font-size: 12px; color: var(--accent); opacity: .9; }
@keyframes run { to { transform: translateX(-50%); } }

/* Sections */
.sec { padding: clamp(72px, 10vw, 150px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .mono { color: var(--muted); display: block; margin-bottom: 18px; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -.045em; font-weight: 800; margin: 0; }
.sec-head p { color: var(--soft); margin: 0; font-size: 18px; max-width: 36em; }

/* Chapter index */
.chapters { border-top: 1px solid var(--line); counter-reset: none; }
.chapter { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1.2fr) minmax(0, 1fr) 40px; gap: 24px; align-items: center; padding: 30px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .45s var(--ease), background .45s; }
.chapter::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--grad); transition: width .6s var(--ease); }
.chapter:hover { padding-left: 20px; background: linear-gradient(90deg, rgba(26, 100, 252, .07), transparent 70%); }
.chapter:hover::before { width: 100%; }
.chapter .mono { color: var(--muted); font-size: 14px; }
.chapter h3 { margin: 0; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -.04em; line-height: 1.1; font-weight: 700; }
.chapter p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.chapter .count { font-family: var(--sans); font-size: 14px; color: var(--soft); text-align: right; font-variant-numeric: tabular-nums; }
.chapter .arr { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 16px; transition: background .4s, border-color .4s, transform .4s var(--ease); }
.chapter:hover .arr { background: var(--grad); border-color: transparent; transform: rotate(-45deg); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; grid-column: span 3; min-height: 210px; padding: 28px; border-radius: var(--r); background: linear-gradient(180deg, #121a29, #0f1522); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: border-color .4s, transform .5s var(--ease); }
.tile:hover { border-color: #3a4a63; transform: translateY(-3px); }
.tile-xl { grid-column: span 6; grid-row: span 2; min-height: 436px; }
.tile-wide { grid-column: span 6; }
.tile .mono { color: var(--muted); }
.tile b { font-size: clamp(40px, 4.6vw, 64px); letter-spacing: -.05em; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.tile-xl b { font-size: clamp(64px, 9vw, 132px); }
.tile p { margin: 8px 0 0; color: var(--soft); font-size: 15px; line-height: 1.5; max-width: 30em; }
.tile-xl::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -220px; background: radial-gradient(closest-side, rgba(43, 144, 254, .35), transparent); }
.tile-shot { padding: 0; }
.tile-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: .9; }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split p { color: var(--soft); }
.quote { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.25; letter-spacing: -.03em; font-weight: 600; margin: 0 0 24px; }
.quote::before { content: "“"; display: block; font-size: 80px; line-height: .6; height: 40px; color: var(--accent); }

/* Article hero */
.ahero { position: relative; overflow-x: clip; padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 64px); isolation: isolate; border-bottom: 1px solid var(--line); }
.ahero::after { content: ""; position: absolute; z-index: -1; width: 900px; height: 520px; right: -200px; top: -220px; background: radial-gradient(closest-side, rgba(26, 100, 252, .12), transparent); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 40px; }
.crumbs a { text-decoration: none; color: var(--soft); }
.crumbs a:hover { color: #ffffff; }
.crumbs span::before, .crumbs a + a::before { content: "/"; margin-right: 8px; color: var(--line); }
.ahero h1 { font-size: clamp(38px, 6.2vw, 92px); line-height: .96; letter-spacing: -.05em; font-weight: 800; margin: 0 0 32px; max-width: 13.5em; }
.ahero h1 em, .display em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ahero .lead { font-size: clamp(18px, 1.55vw, 21px); color: var(--soft); max-width: 40em; margin: 0 0 48px; line-height: 1.6; }
.meta { display: flex; flex-wrap: wrap; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.meta div { padding: 18px 40px 0 0; margin-right: 40px; border-right: 1px solid var(--line); }
.meta div:last-child { border-right: 0; }
.meta dt { font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--muted); }
.meta dd { margin: 4px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Article layout */
.layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(64px, 8vw, 120px); }
.toc { position: sticky; top: 108px; align-self: start; max-height: calc(100vh - 140px); overflow: auto; }
.toc .mono { color: var(--muted); margin: 0 0 16px; font-weight: 600; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; border-left: 1px solid var(--line); }
.toc li { counter-increment: t; }
.toc a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color .25s, border-color .25s; }
.toc a:hover { color: #ffffff; }
.toc a.on { color: #ffffff; border-left-color: #2b90fe; }
.toc-cta { margin-top: 28px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.toc-cta p { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: var(--soft); }
.toc-cta small { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; }
.toc-cta .cta { width: 100%; }

/* Prose */
.prose { max-width: 720px; counter-reset: h; font-size: 18px; line-height: 1.75; color: #dbe3f0; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { counter-increment: h; color: #ffffff; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -.04em; font-weight: 800; margin: 2.6em 0 0; padding-top: 28px; border-top: 1px solid var(--line); position: relative; }
.prose h2::before { content: none; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { color: #ffffff; font-size: 21px; letter-spacing: -.02em; line-height: 1.3; margin-top: 1.8em; }
.prose strong { color: #ffffff; font-weight: 600; }
.prose a:not(.cta) { color: #ffffff; text-decoration: underline; text-decoration-color: #2b90fe; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.prose a:not(.cta):hover { text-decoration-color: #41c6ff; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: #2b90fe; }
.prose ol li::marker { color: var(--muted); font-family: var(--sans); font-size: .8em; }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #121a29; }
.shot img { width: 100%; }
.shot-m { max-width: 320px; }
.lead-in::first-letter { float: left; font-size: 4.2em; line-height: .82; font-weight: 800; letter-spacing: -.05em; margin: .06em .1em 0 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pull { margin: 2.2em 0; padding: 0 0 0 28px; border-left: 2px solid; border-image: var(--grad) 1; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; letter-spacing: -.025em; font-weight: 600; color: #ffffff; }
.pull p { margin: 0; }
.pull cite { display: block; margin-top: 12px; font-family: var(--sans); font-size: 11px; font-style: normal; letter-spacing: 0; color: var(--muted); }
.callout { padding: 24px 28px; border-radius: 18px; background: linear-gradient(180deg, rgba(25, 34, 50, .9), rgba(18, 26, 41, .9)); border: 1px solid var(--line); font-size: 16px; line-height: 1.65; }
.callout .mono { color: #ffffff; font-weight: 600; font-size: 16px; margin: 0 0 8px; }
.callout p { margin: 0; }
.callout p + p { margin-top: .7em; }
.tbl { margin: 2em 0; overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #0f1522; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 520px; }
.tbl th { text-align: left; font-family: var(--sans); font-size: 13px; letter-spacing: 0; font-weight: 600; color: var(--muted); padding: 16px 20px; border-bottom: 1px solid var(--line); background: #121a29; }
.tbl td { padding: 15px 20px; border-bottom: 1px solid rgba(39, 49, 64, .6); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .2s; }
.tbl tbody tr:hover { background: rgba(43, 144, 254, .05); }
.tbl .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl td:first-child { color: #ffffff; font-weight: 500; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 2em 0; }
.card { padding: 24px; border-radius: 18px; background: #121a29; border: 1px solid var(--line); font-size: 15.5px; line-height: 1.6; transition: border-color .3s; }
.card:hover { border-color: #3a4a63; }
.card .mono { color: #2b90fe; display: block; margin-bottom: 10px; font-weight: 600; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--soft); }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2em 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.figs div { padding: 22px 24px; border-right: 1px solid var(--line); background: #0f1522; }
.figs div:last-child { border-right: 0; }
.figs b { display: block; font-size: 34px; line-height: 1.05; letter-spacing: -.045em; font-weight: 800; font-variant-numeric: tabular-nums; color: #ffffff; }
.figs span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.steps { list-style: none; padding: 0 !important; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 0 56px; min-height: 40px; }
.steps li + li { margin-top: 1em; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--sans); font-size: 13px; color: #41c6ff; background: #121a29; }
.qa { border-bottom: 1px solid var(--line); }
.qa + .qa { margin-top: 0; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-weight: 600; color: #ffffff; font-size: 18px; letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 400; color: var(--soft); transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 22px; color: var(--soft); font-size: 16.5px; }

/* Promo */
.promo { position: relative; margin: 2.6em 0; padding: 32px; border-radius: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: radial-gradient(120% 140% at 100% 0%, rgba(26, 100, 252, .32), transparent 55%), #121a29; isolation: isolate; overflow: hidden; }
.promo::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(65, 198, 255, .8), rgba(39, 49, 64, .5) 45%, rgba(26, 100, 252, .8)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: -1; }
.promo-t { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -.03em; font-weight: 700; color: #ffffff; max-width: 20em; }
.promo-s { margin: 8px 0 0 !important; font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--muted); }

/* Next chapters */
.more { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 100px) 0; }
.more .mono { color: var(--muted); margin: 0 0 28px; }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.more-grid a { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 180px; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: #0f1522; text-decoration: none; transition: border-color .4s, transform .5s var(--ease); }
.more-grid a:hover { border-color: #2b90fe; transform: translateY(-3px); }
.more-grid .mono { margin: 0; color: #2b90fe; }
.more-grid b { font-size: 24px; letter-spacing: -.035em; line-height: 1.15; }

/* Footer */
.ftr { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 120px) 0 40px; background: linear-gradient(180deg, transparent, rgba(18, 26, 41, .6)); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; padding-bottom: 64px; }
.ftr-claim { margin: 0; font-size: clamp(48px, 7.4vw, 112px); line-height: .9; letter-spacing: -.06em; font-weight: 800; }
.ftr-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ftr-cols a { display: block; padding: 6px 0; color: var(--soft); text-decoration: none; font-size: 15px; transition: color .2s; }
.ftr-cols a:hover { color: #ffffff; }
.ftr-h { color: var(--muted); margin: 0 0 14px; }
.ftr-bottom { display: flex; gap: 32px; align-items: flex-start; padding-top: 32px; border-top: 1px solid var(--line); }
.ftr-bottom img { flex-shrink: 0; margin-top: 4px; opacity: .8; }
.ftr-bottom p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 70em; }

/* Floating CTA (pipeline markup) */
.floating-cta { position: fixed; z-index: 45; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 22px; border-radius: 999px; background: rgba(18, 26, 41, .86); border: 1px solid var(--line); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); transition: transform .5s var(--ease), opacity .4s; }
.floating-cta.hidden { opacity: 0; pointer-events: none; transform: translate(-50%, 140%); }
.floating-cta .caption { display: flex; flex-direction: column; min-width: 0; margin-right: auto; line-height: 1.25; }
.floating-cta strong { font-size: 15px; letter-spacing: -.01em; }
.floating-cta small { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.floating-cta .button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--grad); color: #ffffff; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 24px -8px rgba(26, 100, 252, .9); }
.floating-cta button { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--soft); font-size: 18px; cursor: pointer; }
.floating-cta button:hover { color: #ffffff; border-color: var(--muted); }

/* Reveal */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } .marquee-track { animation: none; } }

/* Responsive */
@media (max-width: 1100px) {
  .chapter { grid-template-columns: 56px minmax(0, 1fr) 40px; }
  .chapter p { display: none; }
  .tile { grid-column: span 6; } .tile-xl { grid-column: span 12; min-height: 360px; } .tile-wide { grid-column: span 12; }
}
@media (max-width: 960px) {
  .nav, .hdr-cta { display: none; }
  .burger { display: block; }
  .hero-grid, .split, .sec-head, .ftr-top { grid-template-columns: minmax(0, 1fr); }
  .frame-tilt { transform: none; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .more-grid { grid-template-columns: minmax(0, 1fr); }
  .more-grid a { min-height: 0; gap: 20px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hdr-in { height: 64px; gap: 16px; } .menu { inset: 64px 0 0; }
  .logo img { width: 112px; height: auto; }
  .chip-a { left: 10px; bottom: -22px; } .chip-b { right: 10px; top: -22px; }
  .chip { padding: 10px 14px; } .chip b { font-size: 20px; }
  .chapter { grid-template-columns: 36px minmax(0, 1fr) 32px; gap: 12px; padding: 22px 0; }
  .chapter .count { display: none; }
  .chapter .arr { width: 32px; height: 32px; font-size: 13px; }
  .chapter:hover { padding-left: 0; }
  .tile, .tile-xl, .tile-wide { grid-column: span 12; min-height: 0; }
  .tile { gap: 24px; }
  .prose { font-size: 16.5px; }
  .cards, .figs { grid-template-columns: minmax(0, 1fr); }
  .figs div { border-right: 0; border-bottom: 1px solid var(--line); }
  .figs div:last-child { border-bottom: 0; }
  .promo { flex-direction: column; align-items: stretch; padding: 24px; }
  .promo .cta { width: 100%; }
  .meta div { padding-right: 20px; margin-right: 20px; }
  .ftr-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-bottom { flex-direction: column; gap: 16px; }
  .floating-cta { bottom: 12px; padding-left: 16px; gap: 10px; }
  .floating-cta small { display: none; }
}
.prose .note { font-size: 14px; line-height: 1.6; color: var(--muted); }
.js .frame-tilt.rv.in { transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); }
.js .frame-tilt.rv.in:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
@media (max-width: 960px) { .js .frame-tilt.rv.in, .js .frame-tilt.rv.in:hover { transform: none; } }
