/* ------------------------------------------------------------------
   Inception Media — design system v3
   Navy base with alternating light sections.
   Tokens are re-scoped inside .section--light / .section--alt, so every
   component adapts to either surface without separate rules.
   ------------------------------------------------------------------ */

:root {
  --bg: #060a1f;
  --bg-2: #0a1030;
  --surface: #0f1638;
  --surface-2: #151d48;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.17);
  --text: #f2f4fb;
  --text-2: #b0b7d3;
  --text-3: #7d86ab;
  --demand: #7c6cff;
  --demand-2: #b3a8ff;
  --demand-soft: rgba(124, 108, 255, 0.14);
  --supply: #2fe0a6;
  --supply-2: #8ff8d3;
  --supply-soft: rgba(47, 224, 166, 0.12);
  --mid: #ffd166;
  --brand-grad: linear-gradient(120deg, #6c5cff 0%, #3b7bff 55%, #19c6a0 100%);
  --shadow: none;
  --r-lg: 18px;
  --r: 12px;
  --r-sm: 8px;
  --wrap: 1200px;
  --head: "Manrope", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

/* Light surface: same components, re-scoped tokens */
.section--light, .section--alt {
  --bg: #f4f6fc;
  --bg-2: #eaeef8;
  --surface: #ffffff;
  --surface-2: #f1f4fb;
  --line: rgba(10, 15, 44, 0.09);
  --line-2: rgba(10, 15, 44, 0.2);
  --text: #0a0f2c;
  --text-2: #4a5273;
  --text-3: #7b83a0;
  --demand: #5b4be6;
  --demand-2: #4a3ad6;
  --demand-soft: rgba(91, 75, 230, 0.09);
  --supply: #0fa884;
  --supply-2: #0b866a;
  --supply-soft: rgba(15, 168, 132, 0.1);
  --mid: #a26b00;
  --shadow: 0 1px 2px rgba(10, 15, 44, 0.04), 0 14px 32px -18px rgba(10, 15, 44, 0.22);
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--head); margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
h4 { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: 840px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #0a0f2c; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.link { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.link:hover { border-color: var(--text); }
.mono { font-family: var(--mono); font-size: .86em; color: var(--text-2); }
.muted { color: var(--text-3); font-size: 14.5px; margin-top: 22px; }
.body { color: var(--text-2); margin-top: 18px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--text-2); max-width: 680px; }
.lead--sm { font-size: 18px; margin-top: 18px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.t-demand { color: var(--demand-2); }
.t-supply { color: var(--supply-2); }
.h3--lg { font-size: 22px; margin-bottom: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; font-family: var(--body); white-space: nowrap;
  transition: transform .15s ease, background .2s, border-color .2s, box-shadow .2s, color .2s, filter .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--brand { background: linear-gradient(120deg, #6c5cff, #3b7bff); color: #fff; box-shadow: 0 10px 28px -12px rgba(76, 100, 255, .9); }
.btn--brand:hover { filter: brightness(1.08); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text-2); }
.btn--primary { background: var(--text); color: var(--bg); }
.btn--demand { background: var(--demand); color: #fff; }
.btn--demand:hover { box-shadow: 0 12px 30px -12px var(--demand); }
.btn--supply { background: var(--supply); color: #03140d; }
.btn--supply:hover { box-shadow: 0 12px 30px -12px var(--supply); }
.btn--white { background: #fff; color: #0a0f2c; }
.btn--outline-white { border-color: rgba(255, 255, 255, .65); color: #fff; }
.btn--outline-white:hover { background: rgba(255, 255, 255, .1); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); background: rgba(6, 10, 31, .84); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: 28px; height: 28px; }
.brand__name { font-family: var(--head); font-weight: 800; font-size: 18.5px; letter-spacing: -0.02em; }
.brand__name span { color: var(--text-3); font-weight: 600; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { font-size: 14.5px; font-weight: 500; color: var(--text-2); padding: 9px 15px; border-radius: 8px; position: relative; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--brand-grad); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; width: 42px; height: 42px; background: none; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav__burger span { display: block; width: 16px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s; }
.nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Labels & section heads */
.label { display: flex; align-items: center; gap: 12px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 700; margin-bottom: 18px; }
.label::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--brand-grad); flex: none; }
.label:has(.num)::before { display: none; }
.label--center { justify-content: center; }
.num { font-family: var(--mono); color: var(--text-2); font-size: 12px; padding: 3px 7px; border: 1px solid var(--line-2); border-radius: 6px; letter-spacing: 0; font-weight: 500; }
.section { padding: 104px 0; }
.section__head { max-width: 780px; margin-bottom: 52px; }
.section__head.center { margin-left: auto; margin-right: auto; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; }
.section__sub { color: var(--text-2); font-size: 17.5px; margin-top: 18px; max-width: 620px; }
.section__sub.center { margin-left: auto; margin-right: auto; }
.section__head--split .section__sub { margin-top: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--rev > :first-child { order: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); font-weight: 700; margin-bottom: 26px; }
.eyebrow__line { display: inline-block; width: 56px; height: 1px; background: linear-gradient(90deg, var(--demand), var(--supply)); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot--demand { background: var(--demand); box-shadow: 0 0 12px var(--demand); }
.dot--supply { background: var(--supply); box-shadow: 0 0 12px var(--supply); }

/* Home hero */
.hero { position: relative; overflow: hidden; padding: 104px 0 96px; }
.hero__aurora { position: absolute; inset: -20% -10% -10% -10%; pointer-events: none; filter: blur(70px); opacity: .9;
  background:
    radial-gradient(38% 46% at 12% 22%, rgba(108, 92, 255, .55), transparent 70%),
    radial-gradient(34% 40% at 88% 78%, rgba(25, 198, 160, .38), transparent 70%),
    radial-gradient(30% 36% at 62% 8%, rgba(59, 123, 255, .35), transparent 70%); }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 15%, transparent 78%);
}
.hero .wrap { position: relative; }
.hero__layout { display: grid; grid-template-columns: 1fr 1.02fr; gap: 64px; align-items: center; }
.display { font-size: clamp(54px, 7.4vw, 100px); line-height: .97; font-weight: 800; letter-spacing: -0.05em; margin-bottom: 28px; }

/* Console (hero visual) */
.console { margin: 0; border: 1px solid var(--line-2); border-radius: 20px; background: linear-gradient(180deg, rgba(21, 29, 72, .82), rgba(10, 16, 48, .82)); backdrop-filter: blur(10px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255,255,255,.08); overflow: hidden; }
.console__bar { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.console__title { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.console__live { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--supply); display: inline-flex; align-items: center; gap: 6px; }
.console__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--supply); box-shadow: 0 0 10px var(--supply); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.console .diagram { padding: 18px 16px 8px; }
.console__checks { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.console__checks li { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); padding: 13px 16px; border-right: 1px solid var(--line); }
.console__checks li:last-child { border-right: 0; }
.console__checks b { color: var(--supply); font-weight: 500; margin-left: 4px; }

/* Diagram (SVG) */
.diagram { width: 100%; height: auto; font-family: var(--body); }
.dg-node rect { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.16); stroke-width: 1; }
.dg-node--demand rect { stroke: rgba(124,108,255,.7); }
.dg-node--supply rect { stroke: rgba(47,224,166,.6); }
.dg-title { fill: #f2f4fb; font-size: 14px; font-weight: 700; font-family: var(--head); }
.dg-sub { fill: #8b93b8; font-size: 11px; }
.dg-core rect { fill: rgba(255,255,255,.07); stroke: url(#g1); stroke-width: 1.5; }
.dg-core-title { fill: #fff; font-size: 16px; font-weight: 800; font-family: var(--head); }
.dg-core .dg-sub { fill: #b0b7d3; }
.dg-links path { fill: none; stroke: url(#g1); stroke-width: 1.5; opacity: .8; stroke-dasharray: 4 4; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -16; } }

/* Logo wall */
.logos { --bg: #ffffff; padding: 88px 0; }
.logos .section__sub { margin-bottom: 44px; }
.wordmarks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px 12px; }
.wordmarks li { font-family: var(--head); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--text-3); padding: 22px 10px; text-align: center; transition: color .2s; }
.wordmarks li:hover { color: var(--text); }

/* Tabs (solutions) */
.tabs__list { display: flex; justify-content: center; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; width: fit-content; margin: 0 auto 28px; }
.tabs__tab { background: none; border: 0; color: var(--text-2); font-weight: 600; font-size: 15px; padding: 12px 26px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s; }
.tabs__tab:hover { color: var(--text); }
.tabs__tab[aria-selected="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.tabs__tab--demand[aria-selected="true"] { box-shadow: inset 0 0 0 1px var(--demand); }
.tabs__tab--supply[aria-selected="true"] { box-shadow: inset 0 0 0 1px var(--supply); }
.tabs__tab:focus-visible { outline: 2px solid var(--text-2); outline-offset: 2px; }
.tabs__panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 52px; }
.tabs__kicker { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--text-3); margin-bottom: 16px; }
.tabs__copy h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 16px; }
.tabs__copy > p:not(.tabs__kicker) { color: var(--text-2); font-size: 17px; margin-bottom: 28px; }
.tabs__points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tabs__points li { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 6px; align-content: start; }
.tabs__points strong { font-family: var(--head); font-size: 15.5px; }
.tabs__points span { color: var(--text-2); font-size: 14px; line-height: 1.5; }

/* Pillars */
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px 34px; box-shadow: var(--shadow); }
.pillar__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-grad); color: #fff; display: grid; place-items: center; margin-bottom: 26px; }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.pillar p { color: var(--text-2); font-size: 15.5px; }

/* Channels */
.channel { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 32px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.channel:hover { transform: translateY(-3px); border-color: var(--line-2); }
.channel__tag { align-self: flex-start; font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 6px; background: var(--demand-soft); color: var(--demand-2); margin-bottom: 22px; }
.channel:nth-child(2) .channel__tag { background: rgba(59,123,255,.1); color: #2f6bff; }
.channel:nth-child(3) .channel__tag { background: var(--supply-soft); color: var(--supply-2); }
.channel h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.channel p { color: var(--text-2); font-size: 15.5px; margin-bottom: 26px; }
.channel__cta { margin-top: auto; font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; }
.channel__cta::after { content: "→"; transition: transform .2s; }
.channel:hover .channel__cta::after { transform: translateX(4px); }

/* Page hero */
.page-hero { position: relative; padding: 92px 0 68px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -30% -10% -20% -10%; pointer-events: none; filter: blur(60px); background: radial-gradient(40% 60% at 12% 10%, rgba(59,123,255,.35), transparent 70%); }
.page-hero--demand::before { background: radial-gradient(42% 62% at 10% 10%, rgba(108,92,255,.5), transparent 70%), radial-gradient(30% 50% at 90% 100%, rgba(59,123,255,.22), transparent 70%); }
.page-hero--supply::before { background: radial-gradient(42% 62% at 10% 10%, rgba(25,198,160,.4), transparent 70%), radial-gradient(30% 50% at 90% 100%, rgba(59,123,255,.2), transparent 70%); }
.page-hero--data::before, .page-hero--ctv::before { background: radial-gradient(40% 60% at 10% 10%, rgba(108,92,255,.42), transparent 70%), radial-gradient(34% 54% at 90% 95%, rgba(25,198,160,.3), transparent 70%); }
.page-hero--compact { padding: 68px 0 52px; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.05; font-weight: 800; letter-spacing: -0.04em; max-width: 880px; margin-bottom: 22px; }
.crumbs { font-size: 13px; color: var(--text-3); margin-bottom: 26px; display: flex; gap: 10px; }
.crumbs a:hover { color: var(--text); }

/* Sub nav */
.subnav { position: sticky; top: 74px; z-index: 40; background: rgba(6, 10, 31, .88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; gap: 4px; overflow-x: auto; height: 52px; align-items: center; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { font-size: 13.5px; color: var(--text-3); padding: 7px 12px; border-radius: 8px; white-space: nowrap; transition: color .2s, background .2s; }
.subnav a:hover, .subnav a.is-active { color: var(--text); background: rgba(255,255,255,.07); }

/* Grid & cards */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px; position: relative; box-shadow: var(--shadow); transition: border-color .2s; }
.feature:hover { border-color: var(--line-2); }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--text-2); font-size: 15.5px; }
.feature--compact { padding: 26px 24px; }
.feature--compact h3 { font-size: 17px; }
.feature--compact p { font-size: 14.5px; }
.feature__index { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--text-2); margin-bottom: 20px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.steps__item::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--text-3); }
.steps__item--demand::before { background: var(--demand); }
.steps__item--supply::before { background: var(--supply); }
.steps__item--mid::before { background: linear-gradient(90deg, var(--demand), var(--supply)); }
.steps__num { font-family: var(--head); font-weight: 800; font-size: 34px; letter-spacing: -0.04em; color: var(--text-3); opacity: .55; display: block; margin-bottom: 14px; line-height: 1; }
.steps__item h3 { margin-bottom: 10px; font-size: 18.5px; }
.steps__item p { color: var(--text-2); font-size: 15px; }

/* Spec list */
.speclist { display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.speclist li { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 20px 24px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.speclist li:last-child { border-bottom: 0; }
.speclist__k { font-family: var(--mono); font-size: 12.5px; color: var(--text); padding-top: 3px; }

/* CTA band */
.cta-band { padding: 84px 0; background: var(--brand-grad); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 40px); color: #fff; }
.cta-band p { color: rgba(255,255,255,.86); margin-top: 10px; font-size: 17.5px; }
.cta-band .btn-row { margin-top: 0; flex-wrap: nowrap; }
.cta-band .btn { background: #fff; color: #0a0f2c; border-color: #fff; box-shadow: none; }
.cta-band .btn + .btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.cta-band .btn + .btn:hover { background: rgba(255,255,255,.12); }

/* Tables */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: auto; background: var(--surface); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
.table th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 700; padding: 16px 22px; border-bottom: 1px solid var(--line-2); background: var(--surface-2); }
.table td { padding: 20px 22px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.table tr:last-child td { border-bottom: 0; }
.table td strong { color: var(--text); font-family: var(--head); font-size: 16px; }
.table td:first-child { width: 22%; }

/* Panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand-grad); }
.panel--demand::before { background: var(--demand); }
.panel--supply::before { background: var(--supply); }
.panel__title { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); font-weight: 700; margin-bottom: 22px; }
.verify li, .sda li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); }
.verify li:last-child, .sda li:last-child { border-bottom: 0; }
.verify__k { font-family: var(--mono); font-size: 12.5px; color: var(--text); padding-top: 2px; }
.sda li { grid-template-columns: 1fr; gap: 4px; }
.sda .mono { color: var(--supply-2); font-size: 12.5px; }

/* Compare */
.compare li { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; align-items: center; }
.compare li:last-child { border-bottom: 0; }
.compare__k { color: var(--text-3); font-size: 13px; }
.compare__before { color: var(--text-3); text-decoration: line-through; }
.compare__after { color: var(--text); font-weight: 600; }

/* Timeline */
.timeline { display: grid; border-left: 1px solid var(--line-2); margin-left: 8px; }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 0 0 40px 36px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--brand-grad); box-shadow: 0 0 0 4px var(--bg); }
.timeline__k { font-family: var(--mono); font-size: 12.5px; color: var(--text-2); padding-top: 4px; }
.timeline h3 { margin-bottom: 8px; }
.timeline p { color: var(--text-2); font-size: 15.5px; max-width: 620px; }

/* Specs */
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow); }
.spec h3 { margin-bottom: 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.spec > p { color: var(--text-2); font-size: 15.5px; margin-bottom: 24px; }
.spec__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.spec__grid dt { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; font-weight: 700; }
.spec__grid dd { margin: 0; font-size: 14.5px; color: var(--text); }

/* Scores */
.score { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px; box-shadow: var(--shadow); }
.score__badge { display: inline-block; font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 6px; background: var(--demand-soft); color: var(--demand-2); margin-bottom: 20px; }
.score:nth-child(2) .score__badge { background: var(--supply-soft); color: var(--supply-2); }
.score:nth-child(3) .score__badge { background: rgba(255,209,102,.14); color: var(--mid); }
.score h3 { font-size: 20px; margin-bottom: 12px; }
.score p { color: var(--text-2); font-size: 15px; }

/* Architecture */
.arch { margin: 0; }
.arch__stages { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.arch__stages li { padding: 30px 26px; border-right: 1px solid var(--line); position: relative; }
.arch__stages li:last-child { border-right: 0; }
.arch__stages li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-grad); opacity: .0; }
.arch__stages li:hover::before { opacity: 1; }
.arch__n { font-family: var(--head); font-weight: 800; font-size: 30px; letter-spacing: -0.04em; color: var(--text-3); opacity: .55; display: block; margin-bottom: 14px; line-height: 1; }
.arch__stages h3 { font-size: 18px; margin-bottom: 8px; }
.arch__stages p { color: var(--text-2); font-size: 14px; }
.arch__loop { margin: 16px 0 0; display: flex; justify-content: center; }
.arch__loop span { font-family: var(--mono); font-size: 12px; color: var(--text-3); padding: 8px 16px; border: 1px dashed var(--line-2); border-radius: 999px; }

/* Principles */
.principles { display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.principles li { padding: 24px 26px; border-bottom: 1px solid var(--line); }
.principles li:last-child { border-bottom: 0; }
.principles h3 { font-size: 17px; margin-bottom: 6px; }
.principles p { color: var(--text-2); font-size: 15px; }

/* Format grid */
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.format-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.format__name { font-family: var(--head); font-weight: 700; font-size: 18px; }
.format__meta { font-size: 13.5px; color: var(--text-3); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 24px; box-shadow: var(--shadow); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--head); font-weight: 700; font-size: 17px; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--text-3); font-size: 18px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); font-size: 15.5px; padding: 0 0 22px; max-width: 700px; }

/* Audio section accent */
.section--audio { position: relative; overflow: hidden; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.contact__block { padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact__block:first-child { padding-top: 0; }
.contact__block h3 { margin-bottom: 8px; }
.contact__block p { color: var(--text-2); font-size: 15.5px; }
.contact__block--meta { border-bottom: 0; line-height: 1.8; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: grid; gap: 16px; }
.form__toggle { border: 0; margin: 0 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg); border-radius: 12px; padding: 5px; }
.form__toggle label { position: relative; }
.form__toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.form__toggle span { display: block; text-align: center; padding: 11px 8px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--text-2); transition: background .2s, color .2s, box-shadow .2s; }
.form__toggle input:checked + span { background: var(--surface-2); color: var(--text); }
.form__toggle label:first-child input:checked + span { box-shadow: inset 0 0 0 1px var(--demand); }
.form__toggle label:last-child input:checked + span { box-shadow: inset 0 0 0 1px var(--supply); }
.form__toggle input:focus-visible + span { outline: 2px solid var(--text-2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form [data-for] { display: grid; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 12px 14px; color: var(--text); font: inherit; font-size: 15px; transition: border-color .2s;
}
.form input::placeholder, .form textarea::placeholder { color: var(--text-3); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--demand); }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form__note { font-size: 14px; color: var(--text-2); min-height: 1.4em; }

/* Footer */
.footer { padding: 68px 0 36px; background: #04071a; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer__tag { color: var(--text-3); font-size: 14px; margin-top: 12px; line-height: 1.6; }
.footer__col { display: grid; gap: 11px; align-content: start; }
.footer__col h4 { margin-bottom: 6px; }
.footer__col a { font-size: 14.5px; color: var(--text-2); }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: var(--text-3); }
.footer__bottom ul { display: flex; gap: 20px; }
.footer__bottom a:hover { color: var(--text); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .dg-links path, .console__live::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .wordmarks { grid-template-columns: repeat(4, 1fr); }
  .arch__stages { grid-template-columns: repeat(3, 1fr); }
  .arch__stages li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .tabs__panel { padding: 40px; gap: 40px; }
}
@media (max-width: 900px) {
  .nav__links { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 28px 18px; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .nav__links a.is-active::after { display: none; }
  .nav.is-open .nav__links { display: flex; }
  .nav__burger { display: flex; }
  .section { padding: 72px 0; }
  .section__head--split, .split, .hero__layout, .contact, .tabs__panel { grid-template-columns: 1fr; gap: 32px; }
  .split--rev > :first-child { order: 0; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 64px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band .btn-row { flex-wrap: wrap; }
  .wordmarks { grid-template-columns: repeat(3, 1fr); }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .format-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .grid--4, .steps, .arch__stages, .format-grid, .tabs__points { grid-template-columns: 1fr; }
  .wordmarks { grid-template-columns: repeat(2, 1fr); }
  .arch__stages li { border-right: 0; border-top: 1px solid var(--line); }
  .arch__stages li:first-child { border-top: 0; }
  .speclist li, .verify li { grid-template-columns: 1fr; gap: 4px; }
  .compare li { grid-template-columns: 1fr; gap: 4px; }
  .spec__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .subnav { display: none; }
  .btn-row .btn { width: 100%; }
  .tabs__list { width: 100%; }
  .tabs__tab { flex: 1; padding: 12px 8px; font-size: 14px; }
  .tabs__panel { padding: 26px 22px; }
  .console__checks { grid-template-columns: 1fr; }
  .console__checks li { border-right: 0; border-bottom: 1px solid var(--line); }
  .console__checks li:last-child { border-bottom: 0; }
}
