/* ═════════════════════════════════════════════
   DERAKON — shared styles
   ═════════════════════════════════════════════ */
:root {
  --bg: #0b0c0e;
  --text: #eceef1;
  --text-dim: rgba(236,238,241,0.76);
  --text-dimmer: rgba(236,238,241,0.54);
  --line: rgba(255,255,255,0.11);
  --line-strong: rgba(255,255,255,0.26);
  --fill-ghost: rgba(255,255,255,0.05);
  --fill-solid: rgba(255,255,255,0.10);
  --gutter: clamp(20px, 5vw, 100px);
  --nav-pad: clamp(20px, 2.4vw, 34px);
  --nav-h: calc(var(--nav-pad) * 2 + 44px);
  --section-pad: clamp(96px, 11vw, 200px);
  --col-gap: clamp(16px, 2vw, 40px);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Sora", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) - 10px); }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body {
  font-family: var(--font-display);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.gutter {
  padding-left: calc(var(--gutter) + env(safe-area-inset-left, 0px));
  padding-right: calc(var(--gutter) + env(safe-area-inset-right, 0px));
}

/* ───────── NAV ───────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding:
    calc(var(--nav-pad) + env(safe-area-inset-top, 0px))
    calc(var(--gutter) + env(safe-area-inset-right, 0px))
    var(--nav-pad)
    calc(var(--gutter) + env(safe-area-inset-left, 0px));
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.45s var(--ease-premium);
}
.nav.is-scrolled {
  --nav-pad: clamp(15px, 1.4vw, 20px);
  background: rgba(0,0,0,0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
body.menu-open .nav { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.nav__logo { display: block; line-height: 0; flex-shrink: 0; }
.nav__logo img { height: clamp(24px, 2vw, 34px); width: auto; }

/* Until CMS content is applied (fallback reveals after 3s even if JS fails) */
.is-loading main, .is-loading .footer { visibility: hidden; animation: cms-fallback 0s linear 3s forwards; }
@keyframes cms-fallback { to { visibility: visible; } }
.nav__right { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 52px); }
.nav__links { display: flex; gap: clamp(16px, 2vw, 40px); }
.nav__links a,
.nav__cta {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(12px, 0.74vw, 14px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}
.nav__links a { transition: color 0.25s ease; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.nav__links a:hover { color: var(--text-dim); }
.nav__links a[aria-current="page"] { text-decoration: underline; }
.nav__links a.is-flagship::before { content: "◆ "; font-size: 0.8em; color: var(--text-dim); }
.nav__cta {
  display: inline-block;
  padding: clamp(12px, 1vw, 17px) clamp(20px, 1.8vw, 32px);
  border: 1px solid var(--line-strong);
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav__cta:hover { background: var(--fill-ghost); border-color: rgba(255,255,255,0.5); }

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: clamp(12px, 0.72vw, 13px);
  letter-spacing: 0.08em;
}
.lang button { background: transparent; border: 0; padding: 8px 6px; color: var(--text-dimmer); letter-spacing: inherit; transition: color 0.25s ease; }
.lang button:hover { color: var(--text-dim); }
.lang button[aria-pressed="true"] { color: var(--text); }
.lang__sep { color: var(--text-dimmer); }

.nav__toggle { display: none; position: relative; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; }
.nav__toggle span {
  position: absolute; left: 50%; width: 22px; height: 1px; background: var(--text);
  transform: translateX(-50%);
  transition: transform 0.45s var(--ease-premium), opacity 0.25s ease, top 0.45s var(--ease-premium);
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle span:nth-child(3) { top: 28px; }
.nav__toggle.is-active span:nth-child(1) { top: 22px; transform: translateX(-50%) rotate(45deg); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; transform: translateX(-50%) scaleX(0); }
.nav__toggle.is-active span:nth-child(3) { top: 22px; transform: translateX(-50%) rotate(-45deg); }

/* ───────── MOBILE MENU ───────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(4,4,6,0.94);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  backdrop-filter: blur(28px) saturate(140%);
  clip-path: circle(3% at calc(100% - 42px) 42px);
  opacity: 0;
  pointer-events: none;
  transition: clip-path 0.7s var(--ease-premium), opacity 0.45s ease;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(16px, 3.2vh, 28px);
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 42px) 42px); opacity: 1; pointer-events: auto; }
.mobile-menu__link,
.mobile-menu__cta {
  font-family: var(--font-mono); font-weight: 400; text-transform: uppercase;
  color: var(--text); text-decoration: none;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-premium);
}
.mobile-menu__link { font-size: clamp(20px, 5.5vw, 28px); letter-spacing: 0.14em; }
.mobile-menu__link[aria-current="page"] { color: var(--text-dim); }
.mobile-menu__cta { margin-top: 12px; font-size: 13px; letter-spacing: 0.12em; padding: 16px 40px; border: 1px solid var(--line-strong); }
.mobile-menu .lang { opacity: 0; transition: opacity 0.4s ease; margin-top: 8px; font-size: 13px; }
.mobile-menu.is-open .mobile-menu__link,
.mobile-menu.is-open .mobile-menu__cta,
.mobile-menu.is-open .lang { opacity: 1; transform: translateY(0); transition-delay: calc(180ms + var(--i) * 60ms); }

/* ───────── HOME HERO ───────── */
.hero {
  position: relative; width: 100%;
  height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden;
  display: grid; grid-template-rows: 1fr auto;
  padding-top: var(--nav-h);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, transparent 0%, transparent 45%, rgba(0,0,0,0.45) 72%, rgba(0,0,0,0.72) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 22%, transparent 78%, rgba(0,0,0,0.65) 100%);
}
.hero__body {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 calc(var(--gutter) + env(safe-area-inset-right, 0px)) 0 calc(var(--gutter) + env(safe-area-inset-left, 0px));
  min-height: 0; overflow-y: auto;
}
.panel { width: min(34vw, 620px); min-width: 380px; display: flex; flex-direction: column; align-items: flex-start; }
.chip {
  display: inline-block;
  font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(12px, 0.72vw, 14px);
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(255,255,255,0.09);
  padding: clamp(9px, 0.8vw, 14px) clamp(15px, 1.1vw, 20px);
  line-height: 1;
}
.panel__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(54px, 6.2vw, 118px);
  letter-spacing: 0.03em; line-height: 0.95;
  margin-top: clamp(28px, 3vw, 52px);
}
.panel__tagline {
  font-family: var(--font-mono); font-weight: 300;
  font-size: clamp(12px, 0.94vw, 17px);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
  margin-top: clamp(15px, 1.4vw, 24px);
  line-height: 1.4;
}
.form { margin-top: clamp(38px, 4.6vw, 82px); display: flex; flex-direction: column; gap: clamp(15px, 1.3vw, 22px); width: 100%; }
.form__input {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 0 2px clamp(12px, 1.1vw, 18px);
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(16px, 0.95vw, 18px);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease;
  -webkit-appearance: none; appearance: none;
}
.form__input::placeholder { color: var(--text-dim); transition: color 0.25s ease; }
.form__input:focus { border-bottom-color: rgba(255,255,255,0.85); }
.form__input:focus::placeholder { color: var(--text-dimmer); }

.btn {
  width: 100%;
  border: 0; border-radius: 0;
  padding: clamp(17px, 1.6vw, 27px) 20px;
  font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(12px, 0.78vw, 14px);
  letter-spacing: 0.12em; text-transform: uppercase;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn--ghost { background: var(--fill-ghost); color: var(--text-dimmer); }
.btn--ghost:hover { background: rgba(255,255,255,0.09); color: var(--text); }
.btn--solid { background: var(--fill-solid); color: var(--text); }
.btn--solid:hover { background: rgba(255,255,255,0.17); }

.form__status {
  font-family: var(--font-mono);
  font-size: clamp(12px, 0.7vw, 12px);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); line-height: 1.5;
}
.form__status:empty { display: none; }

.referral {
  align-self: center;
  margin-top: clamp(26px, 2.6vw, 46px);
  font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(12px, 0.74vw, 14px);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); text-decoration: none; text-underline-offset: 4px;
  transition: color 0.25s ease;
}
.referral:hover { color: var(--text-dim); text-decoration: underline; }

.legal {
  border-top: 1px solid var(--line);
  padding:
    clamp(18px, 1.7vw, 30px)
    calc(var(--gutter) + env(safe-area-inset-right, 0px))
    calc(clamp(18px, 1.7vw, 30px) + env(safe-area-inset-bottom, 0px))
    calc(var(--gutter) + env(safe-area-inset-left, 0px));
  text-align: center;
}
.legal p { font-weight: 300; font-size: clamp(12px, 0.82vw, 16px); color: var(--text-dim); line-height: 1.5; }
.legal a, .footer__legal a {
  color: var(--text);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
  transition: color 0.25s ease;
}
.legal a:hover, .footer__legal a:hover { color: var(--text-dim); }

/* ───────── INNER PAGE HERO ───────── */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 78vh; min-height: 78svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 80px) calc(var(--gutter) + env(safe-area-inset-right, 0px)) clamp(48px, 5vw, 90px) calc(var(--gutter) + env(safe-area-inset-left, 0px));
  overflow: hidden;
}
.page-hero--plain { min-height: 62vh; min-height: 62svh; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.page-hero__media img,
.page-hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.6) 100%),
    linear-gradient(to right, rgba(0,0,0,0.55) 0%, transparent 65%);
}
.page-hero__inner { width: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px; align-items: end; }
.crumbs {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 10px;
  font-family: var(--font-mono); font-size: clamp(12px, 0.7vw, 12px);
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim);
}
.crumbs a { text-decoration: none; transition: color 0.25s ease; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { color: var(--text-dimmer); }
.page-hero .chip { grid-column: 1 / -1; justify-self: start; }
.page-title {
  grid-column: 1 / span 8;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(52px, 8.4vw, 164px);
  line-height: 0.92; letter-spacing: 0.01em;
}
.page-lead {
  grid-column: 9 / span 4;
  font-size: clamp(16px, 1.2vw, 21px);
  line-height: 1.6; color: var(--text-dim);
}

/* ───────── SECTIONS ───────── */
.section {
  position: relative;
  padding: var(--section-pad) calc(var(--gutter) + env(safe-area-inset-right, 0px)) var(--section-pad) calc(var(--gutter) + env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--line);
}
.section--tight { padding-top: clamp(64px, 7vw, 120px); padding-bottom: clamp(64px, 7vw, 120px); }
.section__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 28px; align-items: start; }
.label {
  grid-column: 1 / span 3;
  font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(12px, 0.72vw, 13px);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); line-height: 1.6;
  padding-top: 0.9em;
}
.label b { color: var(--text); font-weight: 400; }
.section__title {
  grid-column: 4 / span 9;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(36px, 4.6vw, 88px);
  line-height: 1.02; letter-spacing: -0.005em;
}
.section__lead { grid-column: 4 / span 6; font-size: clamp(17px, 1.3vw, 23px); line-height: 1.55; color: var(--text-dim); }
.section__lead strong { color: var(--text); font-weight: 300; }
.section__more { grid-column: 4 / span 9; }
.block { margin-top: clamp(64px, 7vw, 120px); }

/* Line button (anchor) */
.link-btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(12px, 0.78vw, 14px);
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: var(--text);
  padding: clamp(15px, 1.2vw, 20px) clamp(20px, 1.8vw, 32px);
  border: 1px solid var(--line-strong);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.link-btn:hover { background: var(--fill-ghost); border-color: rgba(255,255,255,0.5); }
.link-btn--solid { background: var(--fill-solid); border-color: transparent; }
.link-btn--solid:hover { background: rgba(255,255,255,0.17); border-color: transparent; }
.link-btn .arr { transition: transform 0.45s var(--ease-premium); }
.link-btn:hover .arr { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Two-column text */
.cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; }
.col { grid-column: span 4; border-top: 1px solid var(--line-strong); padding-top: 22px; }
.cols--offset .col:first-child { grid-column: 4 / span 4; }
.cols--offset .col:nth-child(2) { grid-column: 9 / span 4; }
.col h3, .kicker {
  font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(12px, 0.72vw, 13px);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 18px;
}
.col p { color: var(--text-dim); font-size: clamp(15px, 1vw, 18px); line-height: 1.65; }
.col p + p { margin-top: 14px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--bg); padding: clamp(24px, 2.6vw, 44px); }
.stat dt { font-weight: 300; font-size: clamp(44px, 5vw, 96px); line-height: 1; letter-spacing: 0.01em; }
.stat dd {
  margin-top: 18px;
  font-family: var(--font-mono); font-size: clamp(12px, 0.7vw, 12px);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); line-height: 1.6;
}

/* Pipeline */
.pipeline { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; align-items: stretch; border: 1px solid var(--line); }
.pipeline__node { padding: clamp(20px, 2vw, 34px); }
.pipeline__node--core { background: var(--fill-solid); }
.pipeline__node h3 {
  font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(12px, 0.68vw, 12px);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 16px;
}
.pipeline__node p { font-size: clamp(15px, 1.1vw, 20px); line-height: 1.5; }
.pipeline__node--core p { font-weight: 300; font-size: clamp(20px, 1.7vw, 30px); line-height: 1.2; }
.pipeline__arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 clamp(12px, 1vw, 18px);
  color: var(--text-dimmer); font-family: var(--font-mono); font-size: 14px;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}

/* Cell grid */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--flush { border-top: 0; margin-top: 0; }
.cell {
  background: var(--bg);
  padding: clamp(24px, 2.2vw, 40px);
  min-height: clamp(220px, 18vw, 320px);
  display: flex; flex-direction: column;
  transition: background 0.35s ease;
}
.cell:hover { background: #121317; }
.cell__idx { font-family: var(--font-mono); font-size: clamp(12px, 0.68vw, 12px); letter-spacing: 0.1em; color: var(--text-dimmer); }
.cell h3 { margin-top: auto; padding-top: 40px; font-weight: 300; font-size: clamp(19px, 1.4vw, 26px); line-height: 1.2; }
.cell p { margin-top: 12px; color: var(--text-dim); font-size: clamp(15px, 0.92vw, 16px); line-height: 1.6; }
.cell .list { margin-top: 18px; }

/* Bulleted list */
.list { border-top: 1px solid var(--line); }
.list li {
  display: flex; gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(15px, 0.9vw, 16px); line-height: 1.45;
}
.list li::before { content: "—"; font-family: var(--font-mono); color: var(--text-dimmer); }

/* Product cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--3 .card__media { aspect-ratio: 4 / 3; }
.cards--3 .card__name { font-size: clamp(26px, 2.2vw, 40px); }
.card.card--flagship { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.card--flagship .card__media { aspect-ratio: auto; min-height: clamp(320px, 34vw, 560px); }
.card--flagship .card__media video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card--flagship .card__name { font-size: clamp(64px, 8vw, 150px); letter-spacing: 0.04em; }
.card { background: var(--bg); display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #101114; }
.cards--4 .card__media { aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-premium); }
.card:hover .card__media img { transform: scale(1.04); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,0.6) 100%); }
.card__tag { position: absolute; left: clamp(16px, 1.6vw, 28px); top: clamp(16px, 1.6vw, 28px); z-index: 1; }
.card__body { padding: clamp(22px, 2.2vw, 40px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__name { font-weight: 300; font-size: clamp(30px, 2.8vw, 52px); line-height: 1; letter-spacing: 0.02em; }
.cards--4 .card__name { font-size: clamp(24px, 1.9vw, 34px); }
.card__desc { color: var(--text-dim); font-size: clamp(15px, 0.95vw, 17px); line-height: 1.6; max-width: 48ch; }
.card__go {
  margin-top: auto; padding-top: 16px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: clamp(12px, 0.7vw, 12px);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.card__go .arr { transition: transform 0.45s var(--ease-premium); }
.card:hover .card__go .arr { transform: translateX(6px); }

/* Media band */
.band {
  position: relative; isolation: isolate;
  min-height: min(88vh, 900px);
  display: flex; align-items: flex-end;
  padding: var(--section-pad) calc(var(--gutter) + env(safe-area-inset-right, 0px)) clamp(56px, 6vw, 110px) calc(var(--gutter) + env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.band__media { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.band__media video, .band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.88) 100%),
    linear-gradient(to right, rgba(0,0,0,0.65) 0%, transparent 60%);
}
.band__inner { max-width: 900px; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(22px, 2vw, 34px); }
.band__title { font-weight: 300; font-size: clamp(38px, 5.4vw, 104px); line-height: 1; }
.band__title--xl { font-size: clamp(72px, 13vw, 260px); line-height: 0.85; letter-spacing: 0.04em; }
.band__text { color: var(--text-dim); font-size: clamp(16px, 1.25vw, 22px); line-height: 1.6; max-width: 46ch; }

/* Wide figure */
.figure { position: relative; overflow: hidden; border: 1px solid var(--line); background: #101114; }
.figure img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.figure figcaption {
  padding: 16px clamp(20px, 2vw, 34px);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: clamp(12px, 0.68vw, 12px);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim);
}

/* Diagram */
.diagram { border: 1px solid var(--line); }
.diagram__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding: 16px clamp(20px, 2vw, 34px);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: clamp(12px, 0.68vw, 12px);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim);
}
.diagram__legend { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.diagram__legend span { display: inline-flex; align-items: center; gap: 10px; }
.diagram__legend i { display: inline-block; width: 22px; height: 0; border-top: 1px solid currentColor; }
.diagram__legend .k-route i { border-top: 1px dotted rgba(255,255,255,0.5); }
.diagram__legend .k-imu i { border-top: 1px dashed rgba(255,255,255,0.45); }
.diagram__legend .k-vion { color: var(--text); }
.diagram__legend .k-vion i { border-top-width: 2px; }
.diagram svg { width: 100%; height: auto; }
.diagram text { font-family: var(--font-mono); letter-spacing: 0.14em; }

/* Rows (applications) */
.rows { border-top: 1px solid var(--line-strong); }
.row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  align-items: baseline;
  padding: clamp(22px, 2.2vw, 38px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.5s var(--ease-premium);
}
.row:hover { padding-left: clamp(8px, 1vw, 18px); }
.row__idx { grid-column: 1 / span 3; font-family: var(--font-mono); font-size: clamp(12px, 0.7vw, 12px); letter-spacing: 0.1em; color: var(--text-dimmer); }
.row h3 { grid-column: 4 / span 5; font-weight: 300; font-size: clamp(26px, 2.6vw, 50px); line-height: 1.1; }
.row p { grid-column: 9 / span 4; color: var(--text-dim); font-size: clamp(15px, 0.92vw, 16px); line-height: 1.6; }
.row p + p { margin-top: 10px; }
.row .tags { grid-column: 9 / span 4; margin-top: 14px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-family: var(--font-mono); font-size: clamp(12px, 0.66vw, 12px);
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 12px; border: 1px solid var(--line); color: var(--text-dim);
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; }
.step { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.step__num { font-weight: 300; font-size: clamp(40px, 3.4vw, 64px); line-height: 1; color: var(--text-dimmer); }
.step h3 {
  margin-top: 26px;
  font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(12px, 0.78vw, 14px);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.step p { margin-top: 14px; color: var(--text-dim); font-size: clamp(15px, 0.92vw, 16px); line-height: 1.65; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 64px; }
.offices { grid-column: 1 / span 5; }
.office { border-top: 1px solid var(--line); padding: 22px 0; }
.office:last-child { border-bottom: 1px solid var(--line); }
.office h3 { font-weight: 300; font-size: clamp(20px, 1.5vw, 28px); line-height: 1.2; }
.office__role {
  margin-top: 8px;
  font-family: var(--font-mono); font-size: clamp(12px, 0.68vw, 12px);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); line-height: 1.6;
}
.office address { margin-top: 12px; font-style: normal; color: var(--text-dim); font-size: clamp(15px, 0.92vw, 16px); line-height: 1.6; }
.emails { grid-column: 7 / span 6; }
.emails__list { border-top: 1px solid var(--line); }
.emails__list a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.45s var(--ease-premium);
}
.emails__list a:hover { padding-left: 10px; }
.emails__list span:first-child {
  font-family: var(--font-mono); font-size: clamp(12px, 0.68vw, 12px);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim);
}
.emails__list span:last-child { font-size: clamp(15px, 1vw, 18px); text-align: right; word-break: break-all; }
.phone { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.phone .kicker { color: var(--text-dim); margin: 0; }
.phone a { font-weight: 300; font-size: clamp(34px, 3.4vw, 64px); line-height: 1; text-decoration: none; transition: color 0.25s ease; }
.phone a:hover { color: var(--text-dim); }

.cform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 2.6vw, 44px) var(--col-gap); }
.cform .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 12px; }
.field label {
  font-family: var(--font-mono); font-size: clamp(12px, 0.68vw, 12px);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim);
}
.field select.form__input { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 12px) 45%, calc(100% - 7px) 45%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field select.form__input option { background: #0b0b0c; color: #fff; }
.field textarea.form__input { resize: vertical; min-height: 140px; line-height: 1.6; }
.cform__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cform__foot .btn { width: auto; padding-left: clamp(28px, 2.6vw, 48px); padding-right: clamp(28px, 2.6vw, 48px); }
.cform__note { font-size: clamp(12px, 0.8vw, 14px); color: var(--text-dim); line-height: 1.5; max-width: 52ch; }
.cform__note a { color: var(--text); text-underline-offset: 3px; }

/* Next page */
.next {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding: clamp(48px, 6vw, 110px) calc(var(--gutter) + env(safe-area-inset-right, 0px)) clamp(48px, 6vw, 110px) calc(var(--gutter) + env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.35s ease;
}
.next:hover { background: #101114; }
.next__label { font-family: var(--font-mono); font-size: clamp(12px, 0.72vw, 13px); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }
.next__title { margin-top: 18px; font-weight: 300; font-size: clamp(44px, 7vw, 132px); line-height: 0.95; }
.next__arr { font-weight: 300; font-size: clamp(44px, 6vw, 110px); line-height: 1; transition: transform 0.6s var(--ease-premium); }
.next:hover .next__arr { transform: translateX(12px); }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(64px, 7vw, 120px) calc(var(--gutter) + env(safe-area-inset-right, 0px)) calc(clamp(24px, 2vw, 36px) + env(safe-area-inset-bottom, 0px)) calc(var(--gutter) + env(safe-area-inset-left, 0px));
}
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; }
.footer__brand { grid-column: 1 / span 5; }
.footer__logo { display: block; line-height: 0; }
.footer__logo img { width: min(460px, 100%); height: auto; }

/* Footer product lines (catalog) */
.footer__lines {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px;
  padding-bottom: clamp(56px, 6vw, 100px); margin-bottom: clamp(56px, 6vw, 100px);
  border-bottom: 1px solid var(--line);
}
.footer__line h3 {
  font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(12px, 0.7vw, 12px); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 18px;
}
.footer__line h3 a { text-decoration: none; transition: color 0.25s ease; }
.footer__line h3 a:hover { color: var(--text); }
.footer__line li a {
  display: inline-block; padding: 7px 0;
  font-size: clamp(13px, 0.86vw, 15px); line-height: 1.35;
  text-decoration: none; transition: color 0.25s ease;
}
.footer__line li a:hover { color: var(--text-dim); }

/* Product lines (catalog) */
.lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.line { background: var(--bg); padding: clamp(22px, 2vw, 36px); display: flex; flex-direction: column; scroll-margin-top: calc(var(--nav-h) + 20px); }
.line__idx { font-family: var(--font-mono); font-size: clamp(12px, 0.68vw, 12px); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dimmer); }
.line__name { margin-top: 36px; font-weight: 300; font-size: clamp(22px, 1.6vw, 30px); line-height: 1.15; }
.line__desc { margin-top: 12px; color: var(--text-dim); font-size: clamp(15px, 0.9vw, 16px); line-height: 1.55; min-height: 3.1em; }
.line__list { margin-top: 26px; border-top: 1px solid var(--line); }
.line__list li a {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(15px, 0.92vw, 16px); line-height: 1.35;
  text-decoration: none; transition: padding-left 0.45s var(--ease-premium), color 0.25s ease;
}
.line__list li a:hover { padding-left: 8px; }
.line__list .arr { color: var(--text-dimmer); transition: transform 0.45s var(--ease-premium), color 0.25s ease; }
.line__list li a:hover .arr { transform: translateX(4px); color: var(--text); }
.section > .line__list { max-width: 900px; margin-left: auto; margin-right: 0; }
a.cell { color: inherit; text-decoration: none; }
.prose p + p { margin-top: 1em; }
.footer__motto {
  margin-top: 22px;
  font-family: var(--font-mono); font-weight: 300;
  font-size: clamp(12px, 0.8vw, 14px);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); max-width: 44ch; line-height: 1.6;
}
.footer__nav { grid-column: span 2; }
.footer__nav:first-of-type { grid-column: 7 / span 2; }
.footer__nav h3 {
  font-family: var(--font-mono); font-weight: 400;
  font-size: clamp(12px, 0.68vw, 12px);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dimmer); margin-bottom: 18px;
}
.footer__nav a {
  display: inline-block; padding: 6px 0;
  font-family: var(--font-mono); font-size: clamp(12px, 0.72vw, 13px);
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  transition: color 0.25s ease;
}
.footer__nav a:hover { color: var(--text-dim); }
.footer__bottom {
  margin-top: clamp(64px, 7vw, 120px);
  padding-top: clamp(18px, 1.7vw, 30px);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px;
  font-size: clamp(12px, 0.82vw, 15px); color: var(--text-dim);
}
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 1.1s var(--ease-premium); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Focus */
a:focus-visible, button:focus-visible, .form__input:focus-visible { outline: 1px solid rgba(255,255,255,0.7); outline-offset: 3px; }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1240px) {
  .nav__links, .nav__right > .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__right { gap: 12px; }
}
@media (min-width: 1241px) {
  .mobile-menu { display: none; }
}
@media (max-width: 1100px) {
  .panel { width: min(70vw, 520px); min-width: 0; }
  .hero__scrim {
    background:
      linear-gradient(to right, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.8) 100%),
      linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 22%, transparent 78%, rgba(0,0,0,0.65) 100%);
  }
  .grid, .cards--4, .lines, .footer__lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .label { grid-column: 1 / -1; padding-top: 0; }
  .section__title, .section__lead, .section__more { grid-column: 1 / -1; }
  .section__lead { max-width: 40em; }
  .cols--offset .col:first-child, .cols--offset .col:nth-child(2) { grid-column: span 6; }
  .col { grid-column: span 6; }
  .row__idx { grid-column: 1 / span 2; }
  .row h3 { grid-column: 3 / span 5; }
  .row p, .row .tags { grid-column: 8 / span 5; }
  .offices, .emails { grid-column: 1 / -1; }
  .page-title { grid-column: 1 / -1; }
  .page-lead { grid-column: 1 / span 8; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__nav, .footer__nav:first-of-type { grid-column: span 4; }
}
@media (max-width: 900px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipeline__arrow { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
  .pipeline__arrow span { display: inline-block; transform: rotate(90deg); }
  .cards, .grid--3, .cards--3 { grid-template-columns: 1fr; }
  .card.card--flagship { grid-template-columns: 1fr; }
  .page-lead { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .hero__scrim { background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.85) 100%); }
  .hero__body { justify-content: center; }
  .panel { width: 100%; align-items: stretch; }
  .panel .chip { align-self: flex-start; }
  .grid, .stats, .steps, .cards--4, .lines, .footer__lines { grid-template-columns: 1fr; }
  .col, .cols--offset .col:first-child, .cols--offset .col:nth-child(2) { grid-column: 1 / -1; }
  .row { row-gap: 10px; }
  .row__idx, .row h3, .row p, .row .tags { grid-column: 1 / -1; }
  .cell { min-height: 0; }
  .cell h3 { padding-top: 28px; }
  .emails__list a { flex-direction: column; gap: 6px; }
  .emails__list span:last-child { text-align: left; }
  .nav__right .lang { display: none; }
  .cform { grid-template-columns: 1fr; }
  .cform__foot .btn { width: 100%; }
  .footer__nav, .footer__nav:first-of-type { grid-column: 1 / -1; }
  .figure img { aspect-ratio: 4 / 3; }
}
@media (max-width: 380px) {
  .panel__title { font-size: clamp(44px, 15vw, 64px); }
}
@media (max-height: 640px) {
  .hero { min-height: 100svh; }
  :root { --nav-pad: 14px; }
  .panel__title { font-size: clamp(36px, 7vw, 64px); margin-top: 18px; }
  .panel__tagline { margin-top: 10px; }
  .form { margin-top: 22px; gap: 10px; }
  .btn { padding-top: 13px; padding-bottom: 13px; }
  .referral { margin-top: 16px; }
  .legal { padding-top: 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .legal p { font-size: 11px; }
  .mobile-menu { gap: 12px; }
  .mobile-menu__link { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  video { display: none !important; }
  .hero__media, .band__media, .page-hero__media { background: #000 var(--still, none) center / cover no-repeat; }
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* ═════════ READABILITY & NEW COMPONENTS (v3) ═════════ */
.nav__links a {
  font-family: var(--font-display); font-weight: 400; text-transform: none;
  letter-spacing: 0.01em; font-size: clamp(14px, 0.9vw, 15px);
}
.mobile-menu__link { font-family: var(--font-display); text-transform: none; letter-spacing: 0.01em; font-weight: 300; }
.section__lead, .page-lead, .band__text { line-height: 1.7; }
.section__title, .page-title, .band__title { letter-spacing: -0.01em; }

/* Home hero (no form) */
.hero--home { grid-template-rows: 1fr; }
.hero--home .hero__scrim {
  background:
    linear-gradient(to top, rgba(11,12,14,0.96) 0%, rgba(11,12,14,0.55) 38%, rgba(11,12,14,0.25) 70%, rgba(11,12,14,0.6) 100%),
    linear-gradient(to right, rgba(11,12,14,0.75) 0%, rgba(11,12,14,0.2) 60%, transparent 100%);
}
.hero__content {
  align-self: end;
  padding: 0 calc(var(--gutter) + env(safe-area-inset-right, 0px)) clamp(64px, 9vh, 120px) calc(var(--gutter) + env(safe-area-inset-left, 0px));
  max-width: 1100px;
  display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 2vw, 30px);
}
.hero__headline { font-weight: 300; font-size: clamp(44px, 6.4vw, 116px); line-height: 1; letter-spacing: -0.02em; }
.hero__lead { max-width: 52ch; font-size: clamp(17px, 1.3vw, 22px); line-height: 1.65; color: var(--text-dim); }
.hero__scroll {
  position: absolute; right: calc(var(--gutter) + env(safe-area-inset-right, 0px)); bottom: clamp(64px, 9vh, 120px);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none; writing-mode: vertical-rl; transition: color 0.25s ease;
}
.hero__scroll:hover { color: var(--text); }
@media (max-width: 720px) {
  .hero--home .hero__scrim { background: linear-gradient(to top, rgba(11,12,14,0.97) 0%, rgba(11,12,14,0.7) 50%, rgba(11,12,14,0.5) 100%); }
  .hero__scroll { display: none; }
}

/* Contact form consent + honeypot */
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--text-dim); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: #eceef1; flex-shrink: 0; }
.consent a { color: var(--text); text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status.is-ok { color: #a9dcb2; }
.form__status.is-error { color: #ffab9f; }
.form__status { font-size: 13px; letter-spacing: 0.04em; text-transform: none; font-family: var(--font-display); }

/* Footer legal row */
.footer__legal { gap: 10px 22px; }
.footer__legal button {
  background: none; border: 0; padding: 0; color: var(--text); font: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.footer__legal button:hover { color: var(--text-dim); }
.footer__bottom { align-items: flex-start; }

/* Cookie banner */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 920px; margin: 0 auto;
  background: #16181c; border: 1px solid var(--line-strong);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  padding: clamp(18px, 2vw, 26px);
  display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center;
  transform: translateY(20px); opacity: 0; transition: opacity 0.4s ease, transform 0.6s var(--ease-premium);
}
.cookie.is-on { transform: none; opacity: 1; }
.cookie h2 { font-weight: 400; font-size: 17px; margin-bottom: 6px; }
.cookie p { font-size: 14px; line-height: 1.6; color: var(--text-dim); }
.cookie p a { color: var(--text); text-underline-offset: 3px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cbtn {
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  padding: 12px 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cbtn:hover { background: var(--fill-ghost); border-color: rgba(255,255,255,0.5); }
.cbtn--solid { background: #eceef1; color: #0b0c0e; border-color: #eceef1; }
.cbtn--solid:hover { background: #fff; }
@media (max-width: 720px) {
  .cookie { grid-template-columns: 1fr; left: 10px; right: 10px; bottom: 10px; }
  .cookie__actions { justify-content: stretch; }
  .cookie__actions .cbtn { flex: 1 1 auto; }
}

.cdialog { border: 1px solid var(--line-strong); background: #16181c; color: var(--text); padding: 0; width: min(620px, calc(100vw - 24px)); max-height: calc(100vh - 40px); }
.cdialog::backdrop { background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
.cdialog__head { padding: 22px 24px 8px; }
.cdialog__head h2 { font-weight: 400; font-size: 22px; }
.cdialog__head p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-dim); }
.cdialog__list { padding: 8px 24px; }
.ccat { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ccat h3 { font-weight: 400; font-size: 15px; }
.ccat p { grid-column: 1; font-size: 13.5px; line-height: 1.55; color: var(--text-dim); }
.ccat .switch { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.switch { position: relative; width: 44px; height: 24px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border: 1px solid var(--line-strong); background: transparent; transition: background 0.2s ease; pointer-events: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--text-dim); transition: transform 0.25s var(--ease-premium), background 0.2s ease; }
.switch input:checked + span { background: rgba(255,255,255,0.14); }
.switch input:checked + span::after { transform: translateX(20px); background: #eceef1; }
.switch input:disabled + span { opacity: 0.55; }
.switch input:focus-visible + span { outline: 1px solid rgba(255,255,255,0.8); outline-offset: 2px; }
.cdialog__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 18px 24px 22px; }

/* Legal pages */
.legal-page { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--nav-h) + 20px); display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.legal-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; text-decoration: none; color: var(--text-dim); transition: color 0.2s ease, padding-left 0.4s var(--ease-premium); }
.legal-nav a:hover { color: var(--text); padding-left: 6px; }
.legal-nav a[aria-current="page"] { color: var(--text); }
.legal-nav a[aria-current="page"]::before { content: "— "; }
.legal-nav button { margin-top: 18px; align-self: flex-start; }
.prose-legal { max-width: 76ch; font-size: clamp(16px, 1.05vw, 17.5px); line-height: 1.75; color: var(--text-dim); }
.prose-legal h2 { margin: 2.2em 0 0.7em; font-weight: 400; font-size: clamp(20px, 1.5vw, 24px); color: var(--text); line-height: 1.3; }
.prose-legal h2:first-child { margin-top: 0; }
.prose-legal p { margin: 0 0 1em; }
.prose-legal ul { margin: 0 0 1.2em; padding-left: 1.2em; list-style: disc; }
.prose-legal li { margin: 0.35em 0; }
.prose-legal strong { color: var(--text); font-weight: 400; }
.prose-legal a { color: var(--text); text-underline-offset: 3px; }
.prose-legal dl { display: grid; grid-template-columns: minmax(160px, 34%) 1fr; border-top: 1px solid var(--line); margin: 0 0 1.4em; }
.prose-legal dt, .prose-legal dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.prose-legal dt { color: var(--text-dimmer); font-size: 14px; padding-right: 16px; }
.prose-legal dd { color: var(--text); }
.legal-updated { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dimmer); grid-column: 1 / -1; }
@media (max-width: 900px) {
  .legal-page { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .prose-legal dl { grid-template-columns: 1fr; }
  .prose-legal dt { border-bottom: 0; padding-bottom: 0; }
}

/* Blind-flight game */
.game { position: relative; border: 1px solid var(--line); background: #0e0f12; user-select: none; -webkit-user-select: none; touch-action: none; }
.game canvas { display: block; width: 100%; aspect-ratio: 16 / 7; cursor: ns-resize; }
.game__hud {
  display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center;
  padding: 12px clamp(14px, 1.6vw, 22px); border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim);
}
.game__hud b { color: var(--text); font-weight: 400; }
.game__hud .is-bad b { color: #ffab9f; }
.game__overlay {
  position: absolute; inset: 0 0 auto 0; aspect-ratio: 16 / 7;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 20px; text-align: center; background: rgba(11,12,14,0.8); backdrop-filter: blur(2px);
}
.game__overlay h3 { font-weight: 300; font-size: clamp(26px, 3vw, 46px); line-height: 1.1; }
.game__overlay p { max-width: 56ch; font-size: clamp(14px, 1vw, 16px); line-height: 1.6; color: var(--text-dim); }
.game__overlay .btn-row { justify-content: center; }
.game__score { font-weight: 300; font-size: clamp(48px, 6vw, 96px); line-height: 1; }
.game__rank { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #f2c97d; }
.game__compare { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--text-dim); }
.game__compare b { color: var(--text); font-weight: 400; }
.game button.link-btn { background: transparent; cursor: pointer; }
.game button.link-btn--solid { background: var(--fill-solid); }
.game__legend { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.game__legend i { display: inline-block; width: 18px; height: 0; border-top: 2px solid currentColor; vertical-align: middle; margin-right: 6px; }
@media (max-width: 720px) {
  .game canvas, .game__overlay { aspect-ratio: 4 / 3; }
  .game__overlay { gap: 10px; }
  .game__legend { margin-left: 0; }
}

/* ═════════ v4 — calmer scale ═════════ */
:root { --section-pad: clamp(72px, 8vw, 136px); }
body { font-size: 16px; }
.block { margin-top: clamp(44px, 4.6vw, 80px); }
.section__title { font-size: clamp(28px, 3.1vw, 54px); line-height: 1.12; }
.section__lead { font-size: clamp(16px, 1.1vw, 19px); }
.page-hero { min-height: 62vh; min-height: 62svh; padding-top: calc(var(--nav-h) + 56px); padding-bottom: clamp(40px, 4vw, 72px); }
.page-hero--plain { min-height: 46vh; min-height: 46svh; }
.page-title { font-size: clamp(38px, 5.2vw, 96px); line-height: 1; }
.page-lead { font-size: clamp(15px, 1.05vw, 18px); }
.hero__headline { font-size: clamp(36px, 4.8vw, 84px); }
.hero__lead { font-size: clamp(16px, 1.1vw, 19px); }
.band { min-height: min(72vh, 760px); }
.band__title { font-size: clamp(28px, 3.6vw, 64px); line-height: 1.08; }
.band__title--xl { font-size: clamp(64px, 9vw, 168px); line-height: 0.9; }
.band__text { font-size: clamp(15px, 1.05vw, 18px); }
.stat dt { font-size: clamp(34px, 3.4vw, 60px); }
.stat { padding: clamp(20px, 2vw, 32px); }
.cell { min-height: clamp(170px, 13vw, 240px); padding: clamp(20px, 1.8vw, 30px); }
.cell h3 { font-size: clamp(17px, 1.15vw, 21px); padding-top: 28px; }
.cell p, .list li, .step p, .row p { font-size: 15px; }
.card__body { padding: clamp(20px, 1.8vw, 30px); }
.card__name { font-size: clamp(24px, 2vw, 36px); }
.cards--4 .card__name, .cards--3 .card__name { font-size: clamp(20px, 1.4vw, 26px); }
.card--flagship .card__name { font-size: clamp(52px, 6vw, 110px); }
.row h3 { font-size: clamp(21px, 1.8vw, 32px); }
.row { padding: clamp(18px, 1.7vw, 28px) 0; }
.step__num { font-size: clamp(30px, 2.4vw, 44px); }
.next { padding-top: clamp(40px, 4.4vw, 80px); padding-bottom: clamp(40px, 4.4vw, 80px); }
.next__title { font-size: clamp(32px, 4.2vw, 76px) !important; }
.next__arr { font-size: clamp(32px, 4vw, 72px); }
.phone a { font-size: clamp(26px, 2.4vw, 40px); }
.pipeline__node--core p { font-size: clamp(18px, 1.4vw, 24px); }
.footer { padding-top: clamp(56px, 5vw, 90px); }
.footer__logo img { width: min(300px, 100%); }
.footer__bottom { margin-top: clamp(48px, 5vw, 80px); }
.line__name { font-size: clamp(19px, 1.35vw, 24px); }
.game__overlay h3 { font-size: clamp(22px, 2.2vw, 34px); }

/* Game result panel (below the canvas, never covering it) */
.game__result {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px 32px; align-items: center;
  padding: clamp(16px, 1.6vw, 24px) clamp(14px, 1.6vw, 22px); border-top: 1px solid var(--line); background: #121317;
}
.game__res-score { display: flex; flex-direction: column; gap: 4px; min-width: 150px; }
.game__res-k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); }
.game__result .game__score { font-weight: 300; font-size: clamp(36px, 3.2vw, 52px); line-height: 1; }
.game__result .game__rank { font-size: 12px; }
.game__res-text { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; line-height: 1.55; color: var(--text-dim); }
.game__res-text .game__compare { justify-content: flex-start; gap: 20px; font-size: 13.5px; }
.game__result .btn-row { justify-content: flex-end; }
.game__overlay { background: rgba(11,12,14,0.72); }
@media (max-width: 1000px) {
  .game__result { grid-template-columns: 1fr; }
  .game__result .btn-row { justify-content: flex-start; }
}

/* Products mega menu */
.nav__links > li { position: static; display: flex; align-items: center; }
.nav__menu-btn {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(14px, 0.9vw, 15px); letter-spacing: 0.01em;
  color: var(--text); line-height: 1; transition: color 0.25s ease;
}
.nav__menu-btn:hover, .nav__menu-btn[aria-expanded="true"] { color: var(--text-dim); }
.nav__menu-btn.is-current { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.nav__menu-btn svg { width: 10px; height: 10px; transition: transform 0.3s var(--ease-premium); }
.nav__menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega {
  position: fixed; left: 0; right: 0; top: var(--mega-top, 76px); z-index: 59;
  background: rgba(18,19,23,0.98); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  padding: clamp(24px, 2.4vw, 36px) calc(var(--gutter) + env(safe-area-inset-right, 0px)) clamp(20px, 2vw, 28px) calc(var(--gutter) + env(safe-area-inset-left, 0px));
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
  transition: opacity 0.22s ease, transform 0.3s var(--ease-premium), visibility 0s linear 0.3s;
  max-height: calc(100vh - var(--mega-top, 76px)); overflow: auto;
}
.mega.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.mega__grid { display: grid; grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr)); gap: 28px clamp(20px, 2vw, 36px); }
.mega__col h3 {
  font-family: var(--font-mono); font-weight: 400; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dimmer); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.mega__col h3 a { text-decoration: none; }
.mega__col h3 a:hover { color: var(--text); }
.mega__col li a { display: block; padding: 6px 0; font-size: 14px; line-height: 1.35; color: var(--text-dim); text-decoration: none; transition: color 0.2s ease, padding-left 0.3s var(--ease-premium); }
.mega__col li a:hover { color: var(--text); padding-left: 4px; }
.mega__col--flag li a { color: var(--text); font-size: 15px; }
.mega__col--flag li a b { font-weight: 400; }
.mega__col--flag li a small { display: block; font-size: 12.5px; color: var(--text-dimmer); margin-top: 2px; }
.mega__foot { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.mega__foot a { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--text-dim); }
.mega__foot a:hover { color: var(--text); }
.nav.is-mega { background: rgba(18,19,23,0.98); border-bottom-color: var(--line); }
@media (max-width: 1240px) { .mega { display: none; } }

/* Mobile menu products accordion */
.mobile-menu { overflow-y: auto; justify-content: flex-start; padding: calc(var(--nav-h) + 16px) 24px 40px; }
.mobile-menu > * { flex-shrink: 0; }
.mobile-menu__link { font-size: clamp(19px, 5vw, 24px); }
.mm-sub { display: flex; flex-direction: column; align-items: center; gap: 10px; max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-premium); }
.mm-sub.is-open { max-height: 900px; }
.mm-sub a { font-size: 15px; color: var(--text-dim); text-decoration: none; }
.mm-sub a:hover { color: var(--text); }
.mm-sub .mm-sub__h { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dimmer); margin-top: 8px; }
button.mobile-menu__link { background: none; border: 0; cursor: pointer; }

/* Mobile systems interactive demo */
.demo { display: grid; grid-template-columns: minmax(260px, 0.9fr) 1.6fr; border: 1px solid var(--line); background: #0e0f12; }
.demo__tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.demo__tab {
  text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); border-left: 2px solid transparent;
  padding: 16px 20px; color: var(--text-dim); display: grid; grid-template-columns: 34px 1fr; gap: 4px 10px; transition: background 0.2s ease, color 0.2s ease;
}
.demo__tab:hover { background: rgba(255,255,255,0.03); color: var(--text); }
.demo__tab[aria-selected="true"] { background: rgba(255,255,255,0.05); border-left-color: #eceef1; color: var(--text); }
.demo__tab span { font-family: var(--font-mono); font-size: 12px; color: var(--text-dimmer); padding-top: 3px; }
.demo__tab b { font-weight: 400; font-size: 15.5px; }
.demo__tab small { grid-column: 2; font-size: 13px; line-height: 1.5; color: var(--text-dimmer); }
.demo__stage { position: relative; min-width: 0; display: flex; flex-direction: column; }
.demo__stage canvas { display: block; width: 100%; aspect-ratio: 16 / 9; cursor: crosshair; }
.demo__info { padding: 16px 20px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; }
.demo__info p { font-size: 14.5px; line-height: 1.55; color: var(--text-dim); }
.demo__info .hint { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #f2c97d; }
.demo__stats { display: flex; gap: 22px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.demo__stats b { color: var(--text); font-weight: 400; font-size: 14px; }
.demo__btn { background: transparent; border: 1px solid var(--line-strong); color: var(--text); padding: 10px 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.demo__btn:hover { background: rgba(255,255,255,0.06); }
@media (max-width: 900px) {
  .demo { grid-template-columns: 1fr; }
  .demo__tabs { border-right: 0; flex-direction: row; overflow-x: auto; }
  .demo__tab { min-width: 220px; border-bottom: 0; border-right: 1px solid var(--line); border-left: 0; border-top: 2px solid transparent; }
  .demo__tab[aria-selected="true"] { border-top-color: #eceef1; }
  .demo__tab small { display: none; }
  .demo__info { grid-template-columns: 1fr; }
  .demo__stage canvas { aspect-ratio: 4 / 3; }
}
.hero__headline { font-size: clamp(34px, 4.2vw, 72px); }
@media (max-width: 720px) { .hero--home .hero__scrim { background: linear-gradient(to top, rgba(11,12,14,0.97) 0%, rgba(11,12,14,0.82) 45%, rgba(11,12,14,0.62) 100%); } }

/* VION dropdown (compact) */
.nav__links > li.nav__dd { position: relative; }
.dd {
  position: absolute; top: calc(100% + 20px); left: -14px; z-index: 61; min-width: 330px;
  display: flex; flex-direction: column; padding: 8px;
  background: rgba(18,19,23,0.98); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
  transition: opacity 0.22s ease, transform 0.3s var(--ease-premium), visibility 0s linear 0.3s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.dd.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.dd a { display: block; padding: 10px 12px; text-decoration: none; transition: background 0.2s ease; }
.dd a:hover, .dd a:focus-visible { background: rgba(255,255,255,0.05); }
.dd a b { display: block; font-weight: 400; font-size: 15px; color: var(--text); }
.dd a small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--text-dimmer); }
@media (max-width: 1240px) { .dd { display: none; } }

/* ARGUS interactive COP */
.argus { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(260px, 1fr); border: 1px solid var(--line); background: #0d0e11; }
.argus__map { position: relative; min-width: 0; }
.argus__map canvas { display: block; width: 100%; aspect-ratio: 16 / 10; cursor: pointer; }
.argus__badge { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; pointer-events: none; }
.argus__mode, .argus__sim { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; padding: 5px 8px; border: 1px solid var(--line-strong); background: rgba(11,12,14,0.8); }
.argus__mode.is-replay { color: #f2c97d; border-color: rgba(242,201,125,0.5); }
.argus__sim { color: #f2c97d; background: rgba(242,201,125,0.12); border-color: rgba(242,201,125,0.4); }
.argus__side { border-left: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.argus__side section { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.argus__side h4 { font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dimmer); margin: 0 0 10px; }
.argus__kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 13.5px; }
.argus__kv dt { color: var(--text-dimmer); }
.argus__kv dd { margin: 0; text-align: right; font-family: var(--font-mono); font-size: 12.5px; }
.argus__kv dd.ok { color: #a9dcb2; }
.argus__kv dd.bad { color: #ffab9f; }
.argus__id { font-family: var(--font-mono); font-size: 14px; margin-bottom: 8px; }
.argus__muted { color: var(--text-dimmer); font-size: 13px; }
.argus__cls { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.argus__cls button { background: transparent; border: 1px solid var(--c); color: var(--c); padding: 5px 8px; font-size: 12px; cursor: pointer; }
.argus__cls button[aria-pressed="true"] { background: var(--c); color: #0b0c0e; }
.argus__feed { flex: 1; overflow: hidden; }
.argus__feed ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.argus__feed li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--text-dim); }
.argus__feed time { font-family: var(--font-mono); font-size: 11px; color: var(--text-dimmer); padding-top: 2px; }
.argus__feed .sev-high span { color: #ffab9f; }
.argus__feed .sev-warn span { color: #f2c97d; }
.argus__feed .sev-op span { color: #7fb2ff; }
.argus__bar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 12px 16px; border-top: 1px solid var(--line); }
.argus__layers { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: var(--text-dim); align-items: center; }
.argus__layers span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dimmer); }
.argus__layers input { accent-color: #eceef1; }
.argus__time { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 220px; }
.argus__time input { flex: 1; accent-color: #f2c97d; }
.argus__hint { width: 100%; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #f2c97d; margin: 0; }
@media (max-width: 900px) {
  .argus { grid-template-columns: 1fr; }
  .argus__side { border-left: 0; border-top: 1px solid var(--line); }
  .argus__map canvas { aspect-ratio: 4 / 3; }
}

/* VION OS architecture diagram */
.arch { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); border: 1px solid var(--line); background: #0d0e11; }
.arch svg { width: 100%; height: auto; display: block; }
.arch .node { cursor: pointer; }
.arch .node rect { fill: rgba(236,238,241,0.03); stroke: rgba(236,238,241,0.3); stroke-width: 1.2; transition: fill 0.2s ease, stroke 0.2s ease; }
.arch .node:hover rect, .arch .node:focus-visible rect { fill: rgba(236,238,241,0.07); stroke: #eceef1; }
.arch .node.is-on rect { fill: rgba(242,201,125,0.1); stroke: #f2c97d; }
.arch .node:focus { outline: none; }
.arch .node text { fill: #eceef1; font-family: "JetBrains Mono", monospace; }
.arch .node .sub { fill: rgba(236,238,241,0.55); font-size: 11px; }
.arch .flow { fill: none; stroke: rgba(236,238,241,0.22); stroke-width: 1.3; stroke-dasharray: 5 7; animation: archflow 1.6s linear infinite; }
.arch .flow.is-on { stroke: #f2c97d; }
@keyframes archflow { to { stroke-dashoffset: -24; } }
.arch__info { border-left: 1px solid var(--line); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.arch__info h3 { font-weight: 400; font-size: 20px; }
.arch__info p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }
.arch__info dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 6px 0 0; font-size: 13.5px; }
.arch__info dt { color: var(--text-dimmer); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }
.arch__info dd { margin: 0; }
@media (max-width: 900px) { .arch { grid-template-columns: 1fr; } .arch__info { border-left: 0; border-top: 1px solid var(--line); } }
@media (prefers-reduced-motion: reduce) { .arch .flow { animation: none; } }

/* See • Locate • Fuse … strip */
.chain { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.chain div { background: var(--bg); padding: 16px 18px; }
.chain b { display: block; font-weight: 400; font-size: clamp(16px, 1.2vw, 20px); }
.chain span { display: block; margin-top: 6px; font-size: 13px; color: var(--text-dimmer); line-height: 1.45; }
@media (max-width: 900px) { .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.states { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.states span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; padding: 6px 10px; border: 1px solid; }

.pipeline--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pipeline--5 .pipeline__node + .pipeline__node { border-left: 1px solid var(--line); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pipeline--5 { grid-template-columns: 1fr; } .pipeline--5 .pipeline__node + .pipeline__node { border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 720px) { .grid--5 { grid-template-columns: 1fr; } }

/* The hidden attribute must always win over component display rules (game overlays, panels) */
[hidden] { display: none !important; }

/* ═════════ v5 — Navigation: TECHNOLOGIES · PRODUCTS · SOLUTIONS · COMPANY · RESOURCES ═════════ */
.nav__links { gap: clamp(22px, 2.6vw, 44px); }
.nav__menu-btn {
  font-family: var(--font-display); font-weight: 400; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  gap: 7px; transition: color 0.18s ease;
}
.nav__menu-btn svg { width: 9px; height: 9px; opacity: 0.6; transition: transform 0.2s ease; }
.nav__menu-btn.is-current { text-decoration: none; }
.nav__menu-btn.is-current span { box-shadow: inset 0 -1px 0 currentColor; }

/* Mega panels */
.mega {
  background: #0b0c0e; box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  padding: clamp(28px, 2.8vw, 40px) calc(var(--gutter) + env(safe-area-inset-right, 0px)) 22px calc(var(--gutter) + env(safe-area-inset-left, 0px));
  transition: opacity 0.18s ease, transform 0.22s var(--ease-premium), visibility 0s linear 0.22s;
}
.mega__grid--4 { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 0; }
.mega__grid--4 .mega__col { padding: 0 clamp(18px, 2vw, 36px); border-left: 1px solid var(--line); min-width: 0; }
.mega__grid--4 .mega__col:first-child { padding-left: 0; border-left: 0; }
.mega .mega__col h3 {
  font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(236,238,241,0.58); border-bottom: 0; padding-bottom: 0; margin-bottom: 16px;
}
.mega .mega__col li a {
  position: relative; display: inline-block; padding: 5px 0; font-size: 14px; line-height: 1.35;
  color: rgba(236,238,241,0.72); transition: color 0.18s ease;
}
.mega .mega__col li a:hover, .mega .mega__col li a:focus-visible { color: #fff; padding-left: 0; }
.mega .mega__col li a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
}
.mega .mega__col li a:hover::after, .mega .mega__col li a:focus-visible::after { transform: scaleX(1); }

/* Products & platforms list: strong name, secondary English descriptor, description */
.mp li + li { border-top: 1px solid var(--line); }
.mega .mega__col .mp a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 3px; padding: 11px 0; width: 100%; }
.mega .mega__col .mp a::after { display: none; }
.mp__name { font-size: 15.5px; font-weight: 400; color: #eceef1; letter-spacing: 0.01em; transition: color 0.18s ease; }
.mp__tag { justify-self: end; align-self: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(236,238,241,0.58); transition: color 0.18s ease; }
.mp__desc { grid-column: 1 / -1; font-size: 13px; color: rgba(236,238,241,0.52); }
.mp a:hover .mp__name { color: #fff; }
.mp a:hover .mp__tag { color: rgba(236,238,241,0.75); }

.mega .mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; flex-wrap: wrap; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); }
.chain-nav { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.chain-nav li { display: flex; align-items: center; }
.chain-nav li + li::before { content: "→"; margin: 0 14px; color: rgba(236,238,241,0.28); font-family: var(--font-mono); font-size: 12px; }
.chain-nav a { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; color: rgba(236,238,241,0.58); text-decoration: none; transition: color 0.18s ease; }
.chain-nav a:hover { color: #fff; }
.mega__all { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(236,238,241,0.7); text-decoration: none; transition: color 0.18s ease; }
.mega__all:hover { color: #fff; }

/* Technologies panel: the four-step backbone */
.tech-chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.tech-chain li { position: relative; border-left: 1px solid var(--line); }
.tech-chain li:first-child { border-left: 0; }
.tech-chain li + li::before { content: "→"; position: absolute; left: -8px; top: 0; background: #0b0c0e; padding: 0 3px; color: rgba(236,238,241,0.35); font-family: var(--font-mono); font-size: 12px; line-height: 1; }
.tech-chain a { display: flex; flex-direction: column; gap: 8px; padding: 0 clamp(18px, 2vw, 36px) 6px; text-decoration: none; }
.tech-chain li:first-child a { padding-left: 0; }
.tech-chain__code { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: rgba(236,238,241,0.58); }
.tech-chain b { font-weight: 400; font-size: 22px; color: #eceef1; transition: color 0.18s ease; }
.tech-chain a > span:last-child { font-size: 13.5px; line-height: 1.5; color: rgba(236,238,241,0.58); }
.tech-chain a:hover b { color: #fff; }
.tech-chain a:hover .tech-chain__code { color: rgba(236,238,241,0.8); }

/* Compact list dropdowns (Solutions, Company, Resources) */
.dd { transition: opacity 0.18s ease, transform 0.22s var(--ease-premium), visibility 0s linear 0.22s; }
.dd--list { min-width: 250px; padding: 8px 0; background: #0b0c0e; }
.dd--list ul { list-style: none; margin: 0; padding: 0; }
.dd--list a { display: block; padding: 9px 18px; font-size: 14px; color: rgba(236,238,241,0.75); transition: color 0.18s ease, background 0.18s ease; }
.dd--list a:hover, .dd--list a:focus-visible { color: #fff; background: rgba(255,255,255,0.035); }
.dd__h { margin: 0; padding: 10px 18px 4px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(236,238,241,0.58); }
.dd__h + ul + .dd__h, ul + .dd__h { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }

/* Breakpoints: desktop nav down to 901px; tablet gets a 2×2 mega grid */
@media (max-width: 1240px) and (min-width: 901px) {
  .nav__links { display: flex; gap: 20px; }
  .nav__toggle { display: none; }
  .mega { display: block; }
  .dd { display: flex; }
  .mega__grid--4 { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .mega__grid--4 .mega__col:nth-child(3) { padding-left: 0; border-left: 0; }
  .tech-chain { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .tech-chain li:nth-child(3) { border-left: 0; }
  .tech-chain li:nth-child(3)::before { display: none; }
  .tech-chain li:nth-child(3) a { padding-left: 0; }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .mega, .dd { display: none; }
}

/* Mobile accordion menu */
.mobile-menu { align-items: stretch; justify-content: flex-start; gap: 0; padding: calc(var(--nav-h) + 8px) 22px 40px; text-align: left; }
.mm-group { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity 0.22s ease, transform 0.25s var(--ease-premium); }
.mobile-menu.is-open .mm-group { opacity: 1; transform: none; transition-delay: calc(80ms + var(--i, 0) * 40ms); }
.mm-group--sub { border-bottom: 0; border-top: 1px solid var(--line); opacity: 1; transform: none; }
.mm-top {
  width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; cursor: pointer;
  padding: 18px 0; color: var(--text); font-family: var(--font-display); font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase;
}
.mm-top--sub { padding: 13px 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; color: rgba(236,238,241,0.62); }
.mm-top i { position: relative; width: 12px; height: 12px; flex-shrink: 0; }
.mm-top i::before, .mm-top i::after { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: currentColor; transition: transform 0.2s ease; }
.mm-top i::after { transform: rotate(90deg); }
.mm-top[aria-expanded="true"] i::after { transform: rotate(0deg); }
.mobile-menu .mm-sub { display: block; max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.mobile-menu .mm-sub.is-open { max-height: 1600px; }
.mobile-menu .mm-sub ul { list-style: none; margin: 0; padding: 0 0 12px; }
.mobile-menu .mm-sub a { display: block; padding: 8px 0; font-size: 15px; color: rgba(236,238,241,0.75); text-decoration: none; }
.mobile-menu .mm-sub a:hover { color: #fff; }
.mobile-menu .mp a { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; }
.mobile-menu .mp__desc { grid-column: 1 / -1; }
.mm-all { display: block; padding: 10px 0 16px !important; font-family: var(--font-mono); font-size: 12px !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text) !important; }
.mobile-menu .lang { justify-content: flex-start; margin-top: 22px; }

/* v5.1 — plain top-level link (İletişim) + demos row in the Technologies panel */
a.nav__menu-btn { text-decoration: none; color: var(--text); }
a.nav__menu-btn:hover { color: var(--text-dim); }
a.mm-top { text-decoration: none; }
.mega__demos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.mega__demos-h { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(236,238,241,0.58); }
.mega__demos > a:not(.mega__all) { font-size: 13.5px; color: rgba(236,238,241,0.72); text-decoration: none; transition: color 0.18s ease; }
.mega__demos > a:not(.mega__all):hover { color: #fff; }

/* Secondary action next to the single primary CTA */
.text-link { font-size: 15px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color 0.18s ease, color 0.18s ease; }
.text-link:hover { border-color: var(--text); }
