/* =====================================================================
   NexGen IT-Security – Design System
   Concept: "contour lines" – alpine topography as a quiet metaphor for
   mapping and controlling a risk landscape. Night-blue surfaces, glacier
   blue for the brand, amber reserved for the product AI Prompt Shield,
   three semantic colours for its decisions (allow / modify / block).
   No external resources, no inline styles (strict CSP).
   ===================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/inter-display-300.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-display-500.woff") format("woff"); }

:root {
  /* colour */
  --night: #0b1424;
  --deep: #0f1b2e;
  --ridge: #15243b;
  --ridge-2: #1b2d48;
  --line: rgba(142, 197, 255, 0.13);
  --line-strong: rgba(142, 197, 255, 0.28);
  --snow: #e8eef7;
  --mist: #a6b4ca;
  --dim: #8191ab;
  --glacier: #8ec5ff;
  --glacier-strong: #bcdcff;
  --amber: #f2b35e;
  --amber-soft: rgba(242, 179, 94, 0.14);
  --allow: #63d2a6;
  --modify: #c9a7ff;
  --block: #ff8a7a;

  /* type */
  --font-display: "Inter Display", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-text: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.5rem;
  --fs-xl: clamp(1.625rem, 2.4vw, 2rem);
  --fs-2xl: clamp(2rem, 3.6vw, 2.875rem);
  --fs-3xl: clamp(2.5rem, 6vw, 5rem);

  /* space & shape */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --maxw: 77.5rem;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 4rem); }
body {
  margin: 0;
  background: var(--night);
  color: var(--snow);
  font-family: var(--font-text);
  font-size: var(--fs-base);
  line-height: 1.6;
  font-feature-settings: "kern", "calt";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--glacier); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--glacier-strong); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
strong { font-weight: 600; }
code { font-family: var(--font-mono); font-size: 0.9em; }
abbr[title] { text-decoration: none; }
address { font-style: normal; }
main:focus { outline: none; }
::selection { background: rgba(142, 197, 255, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--glacier);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1rem; border-radius: var(--r-md);
  background: var(--glacier); color: var(--night); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 46rem; }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------------------------------------------------------------- type */
.h1 { font-family: var(--font-display); font-size: var(--fs-2xl); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
.h2 { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 300; line-height: 1.14; letter-spacing: -0.022em; margin-bottom: 1.25rem; text-wrap: balance; }
.h3 { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 0.75rem; }
.h4 { font-size: var(--fs-md); font-weight: 500; line-height: 1.35; margin-bottom: 0.5rem; }
.lead { font-size: var(--fs-md); line-height: 1.55; color: var(--mist); max-width: 40em; }
.fine { font-size: var(--fs-xs); color: var(--dim); }
.prose p { max-width: 38em; color: var(--mist); }
.prose .lead { color: var(--snow); }
.text-link { display: inline-flex; gap: 0.4rem; align-items: center; font-weight: 500; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  border: 1px solid transparent; border-radius: var(--r-md);
  font: 500 var(--fs-sm)/1.2 var(--font-text); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn .icon { width: 1.1rem; height: 1.1rem; }
.btn-primary { background: var(--glacier); color: var(--night); }
.btn-primary:hover { background: var(--glacier-strong); color: var(--night); }
.btn-product { background: var(--amber); color: #1b1407; }
.btn-product:hover { background: #f7c785; color: #1b1407; }
.btn-ghost { border-color: var(--line-strong); color: var(--snow); background: transparent; }
.btn-ghost:hover { border-color: var(--glacier); color: var(--snow); background: rgba(142, 197, 255, 0.06); }
.btn-sm { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: var(--fs-xs); }
.actions { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2rem; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 20, 36, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--snow); text-decoration: none; flex: none; }
.brand:hover { color: var(--snow); }
.brand-mark { width: 2rem; height: 2rem; color: var(--glacier); }
.brand-mark-core { fill: var(--amber); }
.brand-logo { display: block; height: 2.75rem; width: auto; }
.footer-brand .brand-logo { height: 2.5rem; }
@media (max-width: 30rem) { .site-header .brand-logo { height: 2.25rem; } }
.brand-name { font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; letter-spacing: -0.01em; }
.brand-sub { color: var(--mist); font-weight: 300; }

.site-nav { display: flex; align-items: center; flex: 1; gap: 1.5rem; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin-left: auto; }
.nav-link {
  display: inline-block; padding: 0.5rem 0.75rem; border-radius: var(--r-md);
  color: var(--mist); font-size: var(--fs-sm); font-weight: 500; text-decoration: none;
}
.nav-link:hover { color: var(--snow); }
.nav-link.is-active { color: var(--snow); box-shadow: inset 0 -2px 0 var(--glacier); border-radius: 0; }
.nav-aside { display: flex; align-items: center; gap: 1.25rem; }

.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; margin-left: -0.5rem; padding: 0;
  background: none; border: 0; border-radius: var(--r-sm); color: var(--mist); cursor: pointer;
}
.sub-toggle .icon { width: 1rem; height: 1rem; transition: transform 0.18s var(--ease); }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-nav {
  position: absolute; top: calc(100% + 0.75rem); left: 0; min-width: 19rem;
  list-style: none; padding: 0.5rem;
  background: var(--deep); border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6);
  display: none;
}
.has-sub.is-open .sub-nav, .no-js .has-sub:hover .sub-nav, .no-js .has-sub:focus-within .sub-nav { display: block; }
.sub-nav a { display: block; padding: 0.55rem 0.75rem; border-radius: var(--r-md); color: var(--snow); font-size: var(--fs-sm); text-decoration: none; }
.sub-nav a:hover, .sub-nav a[aria-current="page"] { background: var(--ridge); }
.sub-nav .sub-indent { padding-left: 1.75rem; color: var(--mist); }

.lang-switch { display: flex; list-style: none; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.04em; }
.lang-switch li + li::before { content: "|"; color: var(--dim); padding: 0 0.15rem; }
.lang-switch a { color: var(--dim); text-decoration: none; padding: 0.4rem 0.3rem; }
.lang-switch a:hover { color: var(--snow); }
.lang-switch a[aria-current="true"] { color: var(--snow); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 2.75rem; height: 2.75rem; padding: 0;
  align-items: center; justify-content: center;
  background: none; color: var(--snow); border: 1px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer;
}

@media (max-width: 68rem) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--night); border-bottom: 1px solid var(--line-strong);
    display: none;
  }
  .js .site-nav.is-open { display: flex; }
  .no-js .header-inner { flex-wrap: wrap; padding: 0.75rem 0; }
  .no-js .site-nav { flex-wrap: wrap; }
  .nav-list { flex-direction: column; align-items: stretch; margin-left: 0; }
  .js .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { display: block; padding: 0.9rem 0; font-size: var(--fs-base); }
  .nav-link.is-active { box-shadow: none; color: var(--glacier); }
  .has-sub { flex-wrap: wrap; }
  .has-sub .nav-link { flex: 1; }
  .sub-toggle { width: 2.75rem; height: 2.75rem; margin: 0; }
  .sub-nav { position: static; width: 100%; min-width: 0; border: 0; box-shadow: none; background: transparent; padding: 0 0 0.75rem; }
  .nav-aside { justify-content: space-between; padding-top: 1.25rem; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: var(--section) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
/* two consecutive sections on the same background share one gap */
.section:not(.section-alt):not(.product-band):not(.action-strip):not(.download-band):not(.product-teaser):not(.cta-band)
  + .section:not(.section-alt):not(.product-band):not(.action-strip):not(.download-band):not(.product-teaser):not(.cta-band):not(.status-page) { padding-top: 0; }
.section-alt { background: var(--deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
}
.split-head { margin-bottom: 0; }
.split-body { margin: 0; }
.section-icon { width: 2rem; height: 2rem; color: var(--glacier); margin-bottom: 1.25rem; }
.note {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin-top: 1.5rem; padding: 1rem 1.25rem;
  border-left: 2px solid var(--line-strong); background: rgba(142, 197, 255, 0.04);
  color: var(--mist); font-size: var(--fs-sm);
}
.note .icon { color: var(--glacier); margin-top: 0.15rem; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(34rem, 88vh, 52rem);
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background: var(--night) url("../img/hero-poster.jpg") right center / cover no-repeat;
  background-image: image-set(url("../img/hero-poster.webp") type("image/webp"), url("../img/hero-poster.jpg") type("image/jpeg"));
}
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 20, 36, 0.92) 0%, rgba(11, 20, 36, 0.7) 45%, rgba(11, 20, 36, 0.05) 100%),
              linear-gradient(0deg, rgba(11, 20, 36, 0.85) 0%, rgba(11, 20, 36, 0) 30%);
}
.hero-inner { padding-top: 5rem; padding-bottom: 5rem; }
.hero-title {
  font-family: var(--font-display); font-size: clamp(2.375rem, 5.1vw, 4.375rem); line-height: 1.06; letter-spacing: -0.035em;
  max-width: 17em; margin-bottom: 2rem;
}
.hero-line { display: block; text-wrap: balance; }
/* "defined" is still a draft – light and muted; "implemented" is solid */
.hero-line-a { font-weight: 300; color: var(--mist); }
.hero-line-b { font-weight: 500; color: var(--snow); }
.hero-lead { font-size: var(--fs-md); line-height: 1.55; color: var(--mist); max-width: 34em; }
.video-toggle {
  position: absolute; right: var(--gutter); bottom: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; padding: 0;
  background: rgba(11, 20, 36, 0.6); color: var(--mist);
  border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer;
}
.video-toggle:hover { color: var(--snow); }
.video-toggle .icon { width: 1rem; height: 1rem; }
.video-toggle .icon-play, .video-toggle.is-paused .icon-pause { display: none; }
.video-toggle.is-paused .icon-play { display: block; }

/* the one orchestrated moment: definition first, implementation follows */
@media (prefers-reduced-motion: no-preference) {
  .hero-line-a { animation: rise 0.9s var(--ease) both; }
  .hero-line-b { animation: rise 0.9s var(--ease) 0.45s both; }
  .hero-lead, .hero .actions { animation: fade 0.9s var(--ease) 0.9s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(0.35em); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------- service columns */
.service-columns { display: grid; margin-top: 3.5rem; border-top: 1px solid var(--line-strong); }
@media (min-width: 60rem) { .service-columns { grid-template-columns: repeat(3, 1fr); } }
.service-col {
  position: relative; display: flex; flex-direction: column;
  padding: 2.25rem 2rem 2.5rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 60rem) {
  .service-col { border-bottom: 0; padding: 2.5rem 2.25rem 1rem; border-left: 1px solid var(--line); }
  .service-col:first-child { border-left: 0; padding-left: 0; }
}
.service-col::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: var(--glacier); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.service-col:hover::before, .service-col:focus-within::before { transform: scaleX(1); }
.service-icon { width: 2rem; height: 2rem; color: var(--glacier); margin-bottom: 1.5rem; }
.service-col .h3 a { color: var(--snow); text-decoration: none; }
.service-col p { color: var(--mist); }
.stretched::after { content: ""; position: absolute; inset: 0; }
.stretched:focus-visible { outline: none; }
.stretched:focus-visible::after { outline: 2px solid var(--glacier); outline-offset: 4px; border-radius: var(--r-md); }
.more-link { margin-top: auto; padding-top: 1rem; color: var(--glacier); font-weight: 500; font-size: var(--fs-sm); }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0.25rem 0 1rem; }
.tag-list li {
  padding: 0.25rem 0.65rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: var(--fs-xs); color: var(--mist);
}

/* ---------------------------------------------------------------- product band (AI Prompt Shield) */
.product-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(242, 179, 94, 0.09), transparent 70%),
    var(--deep);
  border-top: 1px solid rgba(242, 179, 94, 0.25);
  border-bottom: 1px solid var(--line);
}
.product-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 64rem) { .product-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } }
.product-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.25rem; padding: 0.3rem 0.75rem 0.3rem 0.55rem;
  border: 1px solid rgba(242, 179, 94, 0.4); border-radius: 999px;
  color: var(--amber); font-size: var(--fs-xs); font-weight: 500;
}
.product-badge .icon { width: 1rem; height: 1rem; }
.product-copy p { color: var(--mist); }
.product-copy .lead { color: var(--snow); }
.not-a-model {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding-top: 1rem; margin-top: 1.25rem; border-top: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--mist);
}
.not-a-model .icon { color: var(--amber); margin-top: 0.1rem; }
.not-a-model-lg { margin-top: 3rem; font-size: var(--fs-base); max-width: 48rem; }

/* ---------------------------------------------------------------- pipeline (signature component) */
.pipeline {
  margin: 0; padding: 1.5rem;
  background: rgba(11, 20, 36, 0.72);
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.pl-caption { font-size: var(--fs-xs); color: var(--dim); margin-bottom: 1.25rem; }
.pl-stages { list-style: none; position: relative; }
.pl-stage {
  position: relative; padding: 0.85rem 1rem 0.85rem 2.75rem; margin-bottom: 0.65rem;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--deep);
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease), opacity 0.35s var(--ease);
}
.pl-stage:last-child { margin-bottom: 0; }
/* connector line and nodes */
.pl-stage::before {
  content: ""; position: absolute; left: 1.2rem; top: 1.15rem;
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  border: 1px solid var(--glacier); background: var(--night);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.pl-stage + .pl-stage::after {
  content: ""; position: absolute; left: calc(1.2rem + 0.25rem); top: calc(-0.65rem - 1px);
  width: 1px; height: calc(0.65rem + 1.15rem + 1px); background: var(--line-strong);
}
.pl-label { display: flex; align-items: center; gap: 0.55rem; font-size: var(--fs-sm); font-weight: 500; color: var(--snow); }
.pl-label .icon { width: 1.05rem; height: 1.05rem; color: var(--glacier); }
.pl-label .brand-mark { width: 1.35rem; height: 1.35rem; }
.pl-label-strong { font-family: var(--font-display); font-size: var(--fs-base); }
.pl-note { display: block; margin-top: 0.15rem; font-size: var(--fs-xs); color: var(--dim); }
.pl-text { margin: 0.45rem 0 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--mist); overflow-wrap: anywhere; }
.pl-prompt { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--snow); }
.pl-shield { border-color: rgba(242, 179, 94, 0.45); background: linear-gradient(90deg, var(--amber-soft), var(--deep) 70%); }
.pl-shield::before { border-color: var(--amber); }
.pl-outcomes { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin-top: 0.55rem; }
.pl-out {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.2rem 0.6rem; border-radius: 999px; border: 1px solid var(--line);
  font-size: var(--fs-xs); color: var(--dim);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.pl-out .icon { width: 0.9rem; height: 0.9rem; }
.pl-logged { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.55rem; font-size: var(--fs-xs); color: var(--mist); }
.pl-logged .icon { width: 0.9rem; height: 0.9rem; color: var(--glacier); }
.pl-result { font-family: var(--font-mono); font-size: 0.8125rem; }

.pipeline[data-decision="allow"] .pl-allow { color: var(--allow); border-color: var(--allow); background: rgba(99, 210, 166, 0.1); }
.pipeline[data-decision="modify"] .pl-modify { color: var(--modify); border-color: var(--modify); background: rgba(201, 167, 255, 0.1); }
.pipeline[data-decision="block"] .pl-block { color: var(--block); border-color: var(--block); background: rgba(255, 138, 122, 0.1); }
.pipeline[data-decision="allow"] .pl-result { color: var(--allow); }
.pipeline[data-decision="modify"] .pl-result { color: var(--modify); }
.pipeline[data-decision="block"] .pl-result { color: var(--block); }
.pipeline[data-decision="block"] .pl-target { border-style: dashed; }
.pipeline[data-decision="block"] .pl-target .pl-label { color: var(--dim); }

/* step-wise walkthrough (driven by data-step, 0–5) */
.pipeline[data-step="0"] .pl-stage:nth-child(n+2),
.pipeline[data-step="1"] .pl-stage:nth-child(n+3),
.pipeline[data-step="2"] .pl-stage:nth-child(n+4),
.pipeline[data-step="3"] .pl-stage:nth-child(n+5) { opacity: 0.35; }
.pipeline[data-step="0"] .pl-stage:nth-child(1),
.pipeline[data-step="1"] .pl-stage:nth-child(2),
.pipeline[data-step="2"] .pl-stage:nth-child(3),
.pipeline[data-step="3"] .pl-stage:nth-child(4),
.pipeline[data-step="4"] .pl-stage:nth-child(5) { border-color: var(--line-strong); background: var(--ridge); }
.pipeline[data-step="0"] .pl-stage:nth-child(1)::before,
.pipeline[data-step="1"] .pl-stage:nth-child(2)::before,
.pipeline[data-step="2"] .pl-stage:nth-child(3)::before,
.pipeline[data-step="3"] .pl-stage:nth-child(4)::before,
.pipeline[data-step="4"] .pl-stage:nth-child(5)::before { background: var(--glacier); box-shadow: 0 0 0 4px rgba(142, 197, 255, 0.18); }
.pipeline[data-step="1"] .pl-stage:nth-child(2)::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(242, 179, 94, 0.2); }
.pipeline[data-step="0"] .pl-out, .pipeline[data-step="1"] .pl-out, .pipeline[data-step="2"] .pl-out { color: var(--dim) !important; border-color: var(--line) !important; background: none !important; }
.pipeline[data-step="0"] .pl-rule, .pipeline[data-step="0"] .pl-result,
.pipeline[data-step="1"] .pl-rule, .pipeline[data-step="1"] .pl-result,
.pipeline[data-step="2"] .pl-result, .pipeline[data-step="3"] .pl-result { visibility: hidden; }

.pl-controls { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.pl-controls[hidden] { display: none; }
.pl-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 2.25rem; padding: 0.35rem 0.85rem;
  background: transparent; color: var(--mist);
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  font: 500 var(--fs-xs)/1 var(--font-text); cursor: pointer;
}
.pl-btn:hover { color: var(--snow); border-color: var(--glacier); }
.pl-btn[aria-pressed="true"] { color: var(--night); background: var(--glacier); border-color: var(--glacier); }
.pl-pause { margin-left: auto; padding: 0.35rem 0.6rem; }
.pl-pause[aria-pressed="true"] { color: var(--snow); background: var(--ridge-2); border-color: var(--line-strong); }
.pl-pause .icon { width: 0.95rem; height: 0.95rem; }

/* ---------------------------------------------------------------- steps (true sequences only) */
.steps { list-style: none; display: grid; gap: 2rem; margin-top: 3rem; counter-reset: none; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }
.step { position: relative; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; margin-bottom: 1.25rem;
  border: 1px solid var(--line-strong); border-radius: 50%;
  font-family: var(--font-display); font-size: var(--fs-sm); color: var(--glacier);
  font-variant-numeric: tabular-nums; background: var(--night);
}
@media (min-width: 72rem) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 1.125rem; left: 3rem; right: -1.75rem; height: 1px; background: var(--line-strong);
  }
}
.step p { color: var(--mist); font-size: var(--fs-sm); }
.section-alt .step-n { background: var(--deep); }

/* ---------------------------------------------------------------- headings */
.h2.narrow { max-width: 22em; }

/* ---------------------------------------------------------------- frameworks / timeline */
.framework-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 60rem) { .framework-grid { grid-template-columns: repeat(2, 1fr); } }
.framework {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--deep); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.framework > p { color: var(--mist); }
.framework .h2 a { color: var(--snow); text-decoration: none; }
.framework-link:hover { border-color: var(--line-strong); }
.framework-kind { font-size: var(--fs-xs); color: var(--glacier) !important; margin-bottom: 1rem; }
.framework .text-link { margin-top: auto; padding-top: 1.25rem; }
.timeline { list-style: none; margin: 0.5rem 0 0.75rem; border-left: 1px solid var(--line-strong); }
.timeline-item { position: relative; display: grid; gap: 0.15rem; padding: 0 0 1rem 1.25rem; font-size: var(--fs-sm); color: var(--mist); }
.timeline-item::before {
  content: ""; position: absolute; left: -0.3rem; top: 0.45rem;
  width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--night); border: 1px solid var(--glacier);
}
.timeline-date { color: var(--snow); font-weight: 600; font-variant-numeric: tabular-nums; }

/* check list */
.check-list { list-style: none; display: grid; gap: 0.55rem; margin: 0.5rem 0 1rem; }
.check-list li { position: relative; padding-left: 1.6rem; color: var(--mist); }
.check-list li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.42em;
  width: 0.4rem; height: 0.75rem;
  border: solid var(--glacier); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.check-list-lg li { font-size: var(--fs-md); color: var(--snow); padding-left: 2rem; margin-bottom: 0.25rem; }
.risk-list { list-style: none; display: grid; gap: 0.6rem; margin-top: 1.25rem; }
.risk-list li { position: relative; padding-left: 1.6rem; color: var(--snow); }
.risk-list li::before { content: ""; position: absolute; left: 0.15rem; top: 0.62em; width: 0.6rem; height: 1.5px; background: var(--block); }

/* ---------------------------------------------------------------- action strip & CTA */
.cta-band { border-top: 1px solid var(--line); }
.cta-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .cta-grid { grid-template-columns: 7fr 5fr; gap: 5rem; } }
.cta-grid .lead { margin-bottom: 2rem; }
.contact-lines { list-style: none; display: grid; gap: 1rem; }
.contact-lines li { display: flex; gap: 0.85rem; align-items: center; color: var(--mist); }
.contact-lines .icon { color: var(--glacier); }
.contact-lines a { color: var(--snow); text-decoration: none; }
.contact-lines a:hover { color: var(--glacier); text-decoration: underline; }

/* ---------------------------------------------------------------- inner page head */
.page-head {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.page-head::before {
  content: ""; position: absolute; inset: 0 0 0 35%; z-index: -1; opacity: 0.55;
  background: url("../img/hero-poster.jpg") right center / cover no-repeat;
  background-image: image-set(url("../img/hero-poster.webp") type("image/webp"), url("../img/hero-poster.jpg") type("image/jpeg"));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.page-title { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 300; line-height: 1.05; letter-spacing: -0.035em; max-width: 14em; margin-bottom: 1.5rem; }
.page-lead { font-size: var(--fs-md); color: var(--mist); max-width: 38em; margin: 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; gap: 0.25rem; margin-bottom: 2rem; font-size: var(--fs-xs); }
.breadcrumb li { color: var(--dim); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.35rem; color: var(--dim); }
.breadcrumb a { color: var(--mist); text-decoration: none; }
.breadcrumb a:hover { color: var(--snow); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--snow); }

/* ---------------------------------------------------------------- topic grid & definition lists */
.topic-grid { display: grid; gap: 2rem 3rem; margin: 2.5rem 0 0; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.topic-grid-2 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
@media (min-width: 64rem) { .topic-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.topic { padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.topic-title { font-weight: 600; margin-bottom: 0.4rem; color: var(--snow); }
.topic dd { margin: 0; color: var(--mist); font-size: var(--fs-sm); }

.service-rows { display: grid; }
.service-row { display: grid; gap: 1.25rem 4rem; padding: 2.75rem 0; border-top: 1px solid var(--line-strong); }
.service-row:last-child { border-bottom: 1px solid var(--line-strong); }
@media (min-width: 60rem) { .service-row { grid-template-columns: 5fr 7fr; } }
.service-row .h2 { margin: 0; }
.service-row .h2 a { color: var(--snow); text-decoration: none; }
.service-row .h2 a:hover { color: var(--glacier); }
.service-row-head .service-icon { margin-bottom: 1rem; }
.sub-links { list-style: none; display: grid; gap: 0.75rem; margin: 0.5rem 0 1.5rem; }
.sub-links a {
  display: grid; gap: 0.15rem; padding: 1rem 1.25rem;
  border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none;
}
.sub-links a:hover { border-color: var(--glacier); }
.sub-links strong { color: var(--snow); }
.sub-links span { color: var(--mist); font-size: var(--fs-sm); }

.principle-list { display: grid; gap: 2rem 3rem; margin: 2.5rem 0 0; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.principle { padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.principle dd { margin: 0; color: var(--mist); font-size: var(--fs-sm); }
.product-teaser { border-top: 1px solid rgba(242, 179, 94, 0.25); background: radial-gradient(ellipse 50% 90% at 90% 50%, rgba(242, 179, 94, 0.08), transparent 70%), var(--deep); }
.teaser-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.teaser-inner p { color: var(--mist); margin: 0; max-width: 40rem; }

.related-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.related-links a {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  color: var(--snow); text-decoration: none; font-size: var(--fs-sm);
}
.related-links a:hover { border-color: var(--glacier); color: var(--glacier); }
.related-links .icon { width: 1rem; height: 1rem; }

/* tables */
.table-wrap { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--r-lg); }
.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 40rem; }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-size: var(--fs-base); font-weight: 500; color: var(--snow); background: var(--deep); }
.compare tbody th { font-weight: 600; color: var(--snow); width: 22%; }
.compare td { color: var(--mist); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- product page */
.product-hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(ellipse 55% 60% at 80% 20%, rgba(242, 179, 94, 0.1), transparent 70%),
    var(--night);
  border-bottom: 1px solid var(--line);
}
.product-hero-grid { display: grid; gap: 3.5rem; align-items: start; }
@media (min-width: 64rem) { .product-hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4.5rem; } }
.product-title { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 500; line-height: 1; letter-spacing: -0.035em; margin-bottom: 1rem; }
.product-claim { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 300; color: var(--amber); margin-bottom: 1.5rem; }
.fact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: 1.25rem; margin: 2.75rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.fact-row dt { font-size: var(--fs-xs); color: var(--dim); }
.fact-row dd { margin: 0.15rem 0 0; font-weight: 500; }

.section-nav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(15, 27, 46, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.section-nav ul { display: flex; gap: 0.25rem; list-style: none; overflow-x: auto; scrollbar-width: none; padding: 0.4rem 0; }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav a {
  display: block; white-space: nowrap; padding: 0.5rem 0.8rem; border-radius: var(--r-md);
  color: var(--mist); font-size: var(--fs-xs); font-weight: 500; text-decoration: none;
}
.section-nav a:hover { color: var(--snow); }
.section-nav a.is-current { color: var(--snow); background: var(--ridge); }

.outcome-grid { list-style: none; display: grid; gap: 1rem; margin-top: 3rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.outcome { padding: 1.5rem; background: var(--night); border: 1px solid var(--line); border-top-width: 2px; border-radius: var(--r-md); }
.outcome .icon { width: 1.5rem; height: 1.5rem; margin-bottom: 1rem; }
.outcome p { margin: 0; color: var(--mist); font-size: var(--fs-sm); }
.outcome-allow { border-top-color: var(--allow); } .outcome-allow .icon { color: var(--allow); }
.outcome-modify { border-top-color: var(--modify); } .outcome-modify .icon { color: var(--modify); }
.outcome-log { border-top-color: var(--glacier); } .outcome-log .icon { color: var(--glacier); }
.outcome-block { border-top-color: var(--block); } .outcome-block .icon { color: var(--block); }

/* architecture figure */
.arch { display: grid; gap: 1rem; align-items: stretch; margin: 3rem 0 0; }
@media (min-width: 60rem) { .arch { grid-template-columns: minmax(0, 3fr) 4rem minmax(0, 1.2fr); } }
.arch-zone { position: relative; display: grid; gap: 1rem; padding: 2.75rem 1.25rem 1.25rem; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
@media (min-width: 48rem) { .arch-internal { grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1.4fr); align-items: center; } }
.arch-zone-label { position: absolute; top: 0.85rem; left: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-xs); color: var(--dim); }
.arch-zone-label .icon { width: 1rem; height: 1rem; }
.arch-node { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.25rem; background: var(--deep); border: 1px solid var(--line-strong); border-radius: var(--r-md); color: var(--snow); font-weight: 500; }
.arch-node .icon { color: var(--glacier); }
.arch-shield { border-color: rgba(242, 179, 94, 0.5); background: linear-gradient(160deg, var(--amber-soft), var(--deep) 60%); }
.arch-shield-name { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: var(--fs-md); }
.arch-shield-name .brand-mark { width: 1.6rem; height: 1.6rem; }
.arch-parts { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.arch-parts li { padding: 0.2rem 0.55rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: var(--fs-xs); font-weight: 400; color: var(--mist); }
.arch-external { align-content: center; }
.arch-flow { position: relative; display: block; min-height: 2rem; }
.arch-flow::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--glacier); }
.arch-flow::after { content: ""; position: absolute; left: calc(50% - 0.3rem); bottom: 0; width: 0.6rem; height: 0.6rem; border: solid var(--glacier); border-width: 0 1px 1px 0; transform: rotate(45deg); }
@media (min-width: 48rem) {
  .arch-internal .arch-flow::before { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px; }
  .arch-internal .arch-flow::after { left: auto; right: 0; bottom: auto; top: calc(50% - 0.3rem); transform: rotate(-45deg); }
}
@media (min-width: 60rem) {
  .arch-flow-exit::before { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px; background: var(--amber); }
  .arch-flow-exit::after { left: auto; right: 0; bottom: auto; top: calc(50% - 0.3rem); transform: rotate(-45deg); border-color: var(--amber); }
}
.arch figcaption { grid-column: 1 / -1; margin-top: 0.5rem; }

/* editions & ordering */
.download-band { background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(242, 179, 94, 0.08), transparent 70%), var(--night); border-top: 1px solid rgba(242, 179, 94, 0.25); }
.edition-grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 60rem) { .edition-grid { grid-template-columns: repeat(3, 1fr); } }
.edition { display: flex; flex-direction: column; padding: 2rem; background: var(--deep); border: 1px solid var(--line); border-radius: var(--r-lg); }
.edition > p { color: var(--mist); }
.edition .btn { margin-top: auto; align-self: flex-start; }
.edition .check-list { margin-bottom: 1.75rem; }
.edition-featured { border-color: rgba(242, 179, 94, 0.55); box-shadow: 0 0 0 1px rgba(242, 179, 94, 0.15), 0 30px 60px -30px rgba(242, 179, 94, 0.25); }
.edition-price { font-family: var(--font-display); font-size: var(--fs-md); color: var(--snow) !important; margin-bottom: 1rem; }
.flow-title { margin-top: 3.5rem; }
.flow { list-style: none; counter-reset: flow; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.5rem; }
.flow li {
  counter-increment: flow; display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.5rem 0.9rem 0.5rem 0.55rem; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: var(--fs-sm); color: var(--snow);
}
.flow li::before {
  content: counter(flow); display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--ridge-2); color: var(--glacier); font-size: var(--fs-xs);
}
.flow-vertical { flex-direction: column; align-items: flex-start; }

/* ---------------------------------------------------------------- forms */
.form-layout { display: grid; gap: 3rem; }
@media (min-width: 64rem) { .form-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 5rem; } }
.form { display: grid; gap: 1.5rem; }
.field { display: grid; gap: 0.45rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; gap: 1.5rem; }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.label { font-size: var(--fs-sm); font-weight: 500; color: var(--snow); padding: 0; }
.req { color: var(--amber); }
.optional { color: var(--dim); font-weight: 400; }
.input {
  width: 100%; min-height: 3rem; padding: 0.75rem 0.9rem;
  background: var(--deep); color: var(--snow);
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  font: inherit; font-size: var(--fs-base);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.input::placeholder { color: var(--dim); }
.input:hover { border-color: rgba(142, 197, 255, 0.45); }
.input:focus { outline: none; border-color: var(--glacier); box-shadow: 0 0 0 3px rgba(142, 197, 255, 0.22); }
.input[aria-invalid="true"] { border-color: var(--block); }
select.input { appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(-45deg, transparent 50%, var(--mist) 50%); background-position: calc(100% - 1.15rem) 1.3rem, calc(100% - 0.8rem) 1.3rem; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; }
textarea.input { resize: vertical; min-height: 10rem; line-height: 1.5; }
.field-hint { margin: 0; font-size: var(--fs-xs); color: var(--dim); }
.field-error { margin: 0; font-size: var(--fs-sm); color: var(--block); }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--mist); cursor: pointer; }
.check input, .choice input { width: 1.15rem; height: 1.15rem; margin: 0.2rem 0 0; accent-color: var(--glacier); flex: none; }
.edition-choice { gap: 0.75rem; }
.choice { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1rem 1.15rem; border: 1px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--amber); background: var(--amber-soft); }
.choice-body { display: grid; gap: 0.15rem; }
.choice-body span { font-size: var(--fs-sm); color: var(--mist); }
.choice.is-disabled { opacity: 0.6; cursor: not-allowed; }
.privacy-note { font-size: var(--fs-xs); color: var(--dim); margin: 0; }
.form .btn { justify-self: start; }
.form-alert { padding: 1rem 1.25rem; border: 1px solid var(--block); border-radius: var(--r-md); background: rgba(255, 138, 122, 0.08); }
.form-alert p { margin: 0 0 0.25rem; font-weight: 500; }
.form-alert ul { padding-left: 1.25rem; }
.form-alert a { color: var(--snow); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-aside { align-self: start; padding: 2rem; background: var(--deep); border: 1px solid var(--line); border-radius: var(--r-lg); }
.contact-card { margin: 1rem 0 1.5rem; color: var(--mist); line-height: 1.7; }
.contact-card strong { color: var(--snow); }

/* ---------------------------------------------------------------- status pages */
.status-page { min-height: 60vh; display: flex; align-items: center; }
.status-icon { width: 3rem; height: 3rem; padding: 0.6rem; margin-bottom: 1.75rem; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--glacier); }
.status-ok { color: var(--allow); border-color: rgba(99, 210, 166, 0.5); }
.status-bad { color: var(--block); border-color: rgba(255, 138, 122, 0.5); }
.error-code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 8rem); font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--ridge-2); margin-bottom: 1rem; -webkit-text-stroke: 1px var(--line-strong); }
.release-facts { display: grid; gap: 0; margin: 1.5rem 0 2rem; border-top: 1px solid var(--line); }
.release-facts > div { display: grid; gap: 0.25rem 1.5rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 40rem) { .release-facts > div { grid-template-columns: 12rem 1fr; } }
.release-facts dt { color: var(--dim); font-size: var(--fs-sm); }
.release-facts dd { margin: 0; overflow-wrap: anywhere; }
.release-hash code { font-size: 0.8rem; color: var(--glacier); }

/* ---------------------------------------------------------------- company */
.formula {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1.25rem;
  margin: 0 0 3rem; font-family: var(--font-display); font-size: clamp(2rem, 5.2vw, 4.25rem);
  font-weight: 300; line-height: 1.1; letter-spacing: -0.03em;
}
.formula-op { color: var(--amber); font-weight: 300; }
.formula-notes { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.formula-notes > div { padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.formula-notes p { color: var(--mist); font-size: var(--fs-sm); margin: 0; }
.fact-table { display: grid; margin: 0; border-top: 1px solid var(--line); }
.fact-table > div { display: grid; gap: 0.25rem 2rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 40rem) { .fact-table > div { grid-template-columns: 13rem 1fr; } }
.fact-table dt { color: var(--dim); font-size: var(--fs-sm); }
.fact-table dd { margin: 0; color: var(--snow); }

/* ---------------------------------------------------------------- legal */
.legal > * { max-width: 52rem; }
.legal .h3 { margin-top: 2.75rem; }
.legal > p { color: var(--mist); }
.placeholder { padding: 1.25rem 1.5rem; border: 1px dashed var(--amber); border-radius: var(--r-md); background: var(--amber-soft); margin: 1.5rem 0; }
.placeholder strong { display: block; color: var(--amber); margin-bottom: 0.35rem; }
.placeholder p { margin: 0; color: var(--snow); font-size: var(--fs-sm); }
.placeholder-inline { color: var(--amber); font-weight: 600; }


/* legal documents */
.legal-updated { font-size: var(--fs-sm); color: var(--dim); margin-bottom: 1.5rem; }
.legal-intro p { color: var(--mist); }
.legal-toc { margin: 2rem 0 2.5rem; padding: 1.25rem 1.5rem; background: var(--deep); border: 1px solid var(--line); border-radius: var(--r-lg); }
.legal-toc ol { margin: 0; padding-left: 1.4rem; columns: 2 16rem; column-gap: 2rem; font-size: var(--fs-sm); }
.legal-toc li { margin: 0.2rem 0; break-inside: avoid; }
.legal-toc a { color: var(--mist); text-decoration: none; }
.legal-toc a:hover { color: var(--glacier); text-decoration: underline; }
.legal-section { padding-top: 1.75rem; margin-top: 1.75rem; border-top: 1px solid var(--line); }
.legal-section .h4 { margin-bottom: 0.75rem; }
.legal-n { color: var(--glacier); font-variant-numeric: tabular-nums; }
.legal-body p, .legal-body li { color: var(--mist); max-width: 46em; }
.legal-body strong { color: var(--snow); font-weight: 600; }
.legal-body ul { margin: 0.25rem 0 1rem; padding-left: 1.25rem; display: grid; gap: 0.35rem; }
.legal-form { margin-top: 1rem; padding: 1.25rem 1.5rem; border: 1px dashed var(--line-strong); border-radius: var(--r-md); background: var(--deep); }
.legal-form p { color: var(--snow); }
.legal > .fine { margin-top: 2.5rem; }
.legal-form p:last-child { margin-bottom: 0; color: var(--dim); font-size: var(--fs-sm); }
.legal .fact-table + .legal-updated, .legal .fact-table ~ .legal-updated { margin-top: 2rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; border-top: 1px solid var(--line); background: #091120; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 72rem) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-brand p { color: var(--mist); font-size: var(--fs-sm); margin: 1.25rem 0; max-width: 24rem; }
.footer-brand address { color: var(--dim); font-size: var(--fs-sm); line-height: 1.7; }
.footer-title { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a, .footer-brand address a { color: var(--mist); text-decoration: none; font-size: var(--fs-sm); }
.footer-col a:hover, .footer-brand address a:hover { color: var(--snow); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  margin-top: 3.5rem; padding-top: 1.5rem; font-size: var(--fs-xs); color: var(--dim);
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.footer-bottom p { margin: 0; }

/* ---------------------------------------------------------------- motion & print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero-video { display: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (forced-colors: active) {
  .btn, .pl-out, .tag-list li, .input { border: 1px solid CanvasText; }
}
@media print {
  .site-header, .site-footer, .hero-media, .video-toggle, .section-nav, .pl-controls, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  .hero::after, .page-head::before { display: none; }
}

/* ---------------------------------------------------------------- section kicker (numbered home sections) */
.kicker {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem; color: var(--glacier);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.kicker-n {
  font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; color: var(--dim);
  padding-right: 0.75rem; border-right: 1px solid var(--line-strong);
}
.kicker-product { color: var(--amber); }
.kicker-product .kicker-n { border-right-color: rgba(242, 179, 94, 0.4); }
.split-head .h2 { margin-bottom: 0; }

/* AI Prompt Shield pillars inside the product band */
.band-pillars {
  list-style: none; display: grid; gap: 1.75rem;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem;
  border-top: 1px solid rgba(242, 179, 94, 0.2);
}
@media (min-width: 56rem) { .band-pillars { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.band-pillar { display: flex; gap: 1rem; align-items: flex-start; }
.band-pillar-icon { flex: none; width: 1.5rem; height: 1.5rem; color: var(--amber); margin-top: 0.15rem; }
.band-pillar .h4 { font-size: var(--fs-base); font-weight: 600; margin-bottom: 0.35rem; }
.band-pillar p { color: var(--mist); font-size: var(--fs-sm); margin: 0; }
.product-band .not-a-model { margin-top: 2rem; }

/* home: team teaser */
.teaser-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .teaser-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 5rem; } }
.teaser-copy .lead { margin-bottom: 2rem; }
.teaser-people { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.teaser-person {
  position: relative; display: grid; gap: 0.2rem; text-decoration: none;
  border-radius: var(--r-lg);
}
.teaser-person picture { display: block; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); margin-bottom: 0.75rem; }
.teaser-person img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(0.35); transition: transform 0.5s var(--ease), filter 0.5s var(--ease); }
.teaser-person:hover img, .teaser-person:focus-visible img { transform: scale(1.03); filter: none; }
.teaser-name { color: var(--snow); font-weight: 600; }
.teaser-role { color: var(--mist); font-size: var(--fs-xs); }

/* ---------------------------------------------------------------- team page */
/* card: small portrait left, short profile right; the arrow sits on the photo
   and opens the contact details downwards, full card width (no JavaScript) */
.team-grid { display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: start; } }
.person {
  --ph-w: 3.25rem; --pad: 1.25rem; --arrow: 1.75rem;
  position: relative; display: grid; grid-template-columns: var(--ph-w) minmax(0, 1fr);
  gap: 0 1.25rem; padding: var(--pad);
  background: var(--deep); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color 0.3s var(--ease);
}
@media (min-width: 36rem) { .person { --ph-w: 4.75rem; --pad: 1.75rem; gap: 0 1.5rem; } }
.person:hover, .person:focus-within { border-color: var(--line-strong); }
.person-photo { margin: 0 0 1.25rem; align-self: start; }
.person-contact > summary .icon { width: 1rem; height: 1rem; }
.person-photo img {
  display: block; width: var(--ph-w); height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r-md); border: 1px solid var(--line);
}
/* phone: photo + name side by side, contact opens right below the photo, text after it */
.person-photo { grid-column: 1; grid-row: 1; }
.person-head { grid-column: 2; grid-row: 1; align-self: center; min-width: 0; padding-bottom: 1.25rem; }
.person-contact { grid-column: 1 / -1; grid-row: 2; }
.person-text { grid-column: 1 / -1; grid-row: 3; min-width: 0; }
.person-contact[open] { margin-bottom: 1.25rem; }
/* wider: text next to the photo, contact opens below the whole card content */
@media (min-width: 36rem) {
  .person-photo { grid-row: 1 / span 2; }
  .person-head { grid-row: 1; align-self: start; padding-bottom: 0; }
  .person-text { grid-column: 2; grid-row: 2; }
  .person-contact { grid-row: 3; }
  .person-contact[open] { margin: 0.5rem 0 0; }
}
.person-role { margin-bottom: 0.35rem; color: var(--glacier); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.person-name { font-size: var(--fs-md); margin-bottom: 0.6rem; }
.person-bio { color: var(--mist); font-size: var(--fs-sm); margin-bottom: 0.9rem; }
.person-tags { margin: 0; }

.person-contact { grid-column: 1 / -1; }
.person-contact > summary {
  position: absolute; z-index: 1;
  left: calc(var(--pad) + var(--ph-w) / 2 - var(--arrow) / 2);
  top: calc(var(--pad) + var(--ph-w) * 1.25 - var(--arrow) / 2);
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--arrow); height: var(--arrow); border-radius: 50%; cursor: pointer; list-style: none;
  background: var(--night); color: var(--glacier); border: 1px solid var(--glacier);
  box-shadow: 0 0 0 4px var(--deep);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.person-contact > summary::-webkit-details-marker { display: none; }
.person-contact > summary:hover { background: rgba(142, 197, 255, 0.16); }
.person-contact > summary:focus-visible { outline: 2px solid var(--glacier); outline-offset: 3px; }
.person-contact[open] > summary, .person-contact[open] > summary:hover { transform: rotate(180deg); background: var(--glacier); color: var(--night); }
.person-contact-lines {
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem;
  margin: 0; padding: 1.1rem 0 0.1rem; border-top: 1px solid var(--line);
}
.person-contact-lines a { font-weight: 500; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: no-preference) {
  .person-contact[open] .person-contact-lines { animation: drop 0.35s var(--ease) both; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-0.5rem); } to { opacity: 1; transform: none; } }

/* team page: what connects us */
.together-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 64rem) { .together-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } }
.together-list { list-style: none; display: grid; gap: 1.5rem; margin-top: 2.25rem; }
.together-list li { display: flex; gap: 1rem; align-items: flex-start; }
.together-icon { flex: none; width: 1.5rem; height: 1.5rem; color: var(--glacier); margin-top: 0.15rem; }
.together-list .h4 { font-size: var(--fs-base); font-weight: 600; margin-bottom: 0.3rem; }
.together-list p { color: var(--mist); font-size: var(--fs-sm); margin: 0; }
.together-photo { margin: 0; }
.together-photo img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.together-photo figcaption { margin-top: 0.85rem; font-size: var(--fs-xs); color: var(--dim); }
