:root {
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --quiet: #707075;
  --line: rgba(0, 0, 0, 0.09);
  --line-strong: rgba(0, 0, 0, 0.16);
  --paper: #ffffff;
  --mist: #f5f5f7;
  --mist-deep: #ececef;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-text: #0066cc;
  --night: #000000;
  --night-soft: #0b0b0d;
  --night-text: #f5f5f7;
  --nav-h: 52px;
  --radius: 26px;
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(0, 113, 227, 0.2); }

h1, h2, h3, p, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.wrap.narrow { width: min(880px, calc(100% - 48px)); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: 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;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: #0b0b0d;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease;
}
.site-header.scrolled { background: rgba(11, 11, 13, 0.92); }
.header-inner {
  width: min(var(--max), calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand img { width: auto; height: 17px; }
.nav-panel { margin-left: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] { color: #fff; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 15px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}
.nav-cta:hover { background: #e8e8ed; transform: translateY(-1px); }

.nav-products { position: relative; }
.chev { transition: transform 0.2s ease; }
.nav-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.product-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: -26px;
  left: auto;
  width: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(22, 22, 23, 0.97);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
.nav-products:hover .product-menu,
.nav-products:focus-within .product-menu,
.nav-products.open .product-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.product-menu a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.16s ease;
}
.product-menu a:hover { background: rgba(255, 255, 255, 0.08); }
.product-menu span { color: #fff; font-size: 14px; }
.product-menu small { color: #98989d; font-size: 12px; }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.menu-button span {
  display: block;
  width: 19px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.menu-backdrop {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.22s ease;
}

/* Type and buttons */
.eyebrow {
  color: var(--blue-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.night .eyebrow,
.product-hero .eyebrow,
.solutions-hero .eyebrow,
.cta-band .eyebrow { color: #6ab0ff; }
.eyebrow + h2 { margin-top: 16px; }
h1 {
  margin-top: 18px;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h3 { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.lede {
  margin-top: 24px;
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  letter-spacing: 0.002em;
  text-wrap: pretty;
}
.hero-sub { text-wrap: balance; }
.night .lede, .product-hero .lede, .solutions-hero .lede { color: #a1a1a6; }
.source {
  margin-top: 28px;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.6;
}
.night .source { color: #8e8e93; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.65; cursor: progress; transform: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: #e8e8ed; }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.34); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* Sections */
.section { padding: 124px 0; }
.section.tight { padding: 88px 0; }
.section.mist { background: var(--mist); }
.section.night { background: var(--night); color: var(--night-text); }
.section-head { max-width: 840px; margin-bottom: 56px; }
.section-head h2 { margin-top: 16px; }
.section-head .lede { margin-top: 22px; text-wrap: balance; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--nav-h) + 28px);
  min-height: calc(100svh - var(--nav-h) + 28px);
  padding: 56px 0 48px;
  background: #000;
  color: var(--night-text);
  overflow: clip;
}
/* Deep-space backdrop: nebula banks, drifting star fields and a scrim under the copy */
.cosmos {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000;
}
.nebula {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.nebula--a {
  left: -24%;
  top: -40%;
  width: 82vw;
  height: 82vw;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 0%, rgba(226, 230, 238, 0.025) 42%, rgba(0, 0, 0, 0) 70%);
  animation: nebulaDrift 46s ease-in-out infinite alternate;
}
.nebula--band {
  left: -22%;
  top: 4%;
  width: 150vw;
  height: 36vw;
  transform: rotate(-13deg);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.045) 0%, rgba(232, 235, 240, 0.015) 46%, rgba(0, 0, 0, 0) 74%);
}
@keyframes nebulaDrift {
  from { transform: translate3d(-2%, 1%, 0) scale(1); }
  to { transform: translate3d(3%, -2%, 0) scale(1.08); }
}
.stars {
  position: absolute;
  inset: -8%;
  background-repeat: repeat;
}
.stars--far {
  opacity: 0.75;
  background-size: 210px 210px;
  background-image:
    radial-gradient(1px 1px at 24px 36px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 132px 18px, rgba(238, 240, 244, 0.45), transparent),
    radial-gradient(1px 1px at 68px 104px, rgba(255, 255, 255, 0.42), transparent),
    radial-gradient(1px 1px at 178px 138px, rgba(230, 233, 238, 0.5), transparent),
    radial-gradient(1px 1px at 46px 172px, rgba(255, 255, 255, 0.34), transparent),
    radial-gradient(1px 1px at 154px 196px, rgba(240, 240, 240, 0.4), transparent),
    radial-gradient(1px 1px at 96px 58px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 198px 74px, rgba(255, 255, 255, 0.26), transparent),
    radial-gradient(1px 1px at 14px 128px, rgba(232, 232, 232, 0.32), transparent),
    radial-gradient(1px 1px at 112px 150px, rgba(255, 255, 255, 0.24), transparent);
}
.stars--mid {
  opacity: 0.8;
  background-size: 340px 340px;
  background-image:
    radial-gradient(1.5px 1.5px at 52px 78px, rgba(255, 255, 255, 0.72), transparent),
    radial-gradient(1.5px 1.5px at 236px 42px, rgba(234, 236, 241, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 138px 208px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 292px 166px, rgba(255, 232, 214, 0.42), transparent),
    radial-gradient(1.5px 1.5px at 18px 262px, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 198px 296px, rgba(232, 234, 238, 0.38), transparent),
    radial-gradient(1.5px 1.5px at 268px 244px, rgba(255, 255, 255, 0.34), transparent);
}
.stars--bright {
  background-size: 560px 560px;
  animation: starBreath 8s ease-in-out infinite;
  background-image:
    radial-gradient(2px 2px at 88px 130px, rgba(255, 255, 255, 0.95), rgba(230, 232, 238, 0.4) 45%, transparent 72%),
    radial-gradient(2px 2px at 372px 64px, rgba(255, 248, 238, 0.9), rgba(255, 214, 176, 0.32) 45%, transparent 72%),
    radial-gradient(2px 2px at 244px 420px, rgba(242, 243, 246, 0.85), rgba(222, 224, 230, 0.32) 45%, transparent 72%),
    radial-gradient(2px 2px at 468px 330px, rgba(255, 255, 255, 0.8), rgba(230, 232, 238, 0.28) 45%, transparent 72%);
}
.stars--bright.is-b {
  background-size: 470px 470px;
  animation-delay: -3.6s;
  background-image:
    radial-gradient(1.6px 1.6px at 156px 88px, rgba(255, 255, 255, 0.85), rgba(230, 232, 238, 0.3) 45%, transparent 72%),
    radial-gradient(1.6px 1.6px at 396px 212px, rgba(255, 244, 232, 0.78), rgba(255, 206, 168, 0.26) 45%, transparent 72%),
    radial-gradient(1.6px 1.6px at 60px 356px, rgba(240, 241, 244, 0.8), rgba(222, 224, 230, 0.26) 45%, transparent 72%);
}
@keyframes starBreath {
  0%, 100% { opacity: 0.32; }
  50% { opacity: 0.95; }
}
.cosmos-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(52% 42% at 50% 18%, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.12) 56%, rgba(0, 0, 0, 0) 80%);
}
.hero-planet { display: none; }

/* Photographic horizon: image and signal SVG share one aspect-locked box so the line sits on the limb */
.cosmos-art {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(clamp(36px, 7vh, 96px) + var(--horizon-lift, 0px));
  aspect-ratio: 1376 / 768;
}
.cosmos-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.cosmos-art::after {
  content: "";
  position: absolute;
  inset: -1px 0;
  background:
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 16%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 76%, #000 100%);
}
.hero .stars--bright {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 26%, transparent 50%);
  mask-image: linear-gradient(180deg, #000 0%, #000 26%, transparent 50%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 1000px; margin-inline: auto; text-align: center; }
.hero h1 { margin-top: 14px; }
.hero .accent {
  background: linear-gradient(92deg, #8cc2ff 0%, #b6a2ff 52%, #ffb98f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border: 1px solid rgba(106, 176, 255, 0.32);
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.12);
  color: #9ec8ff;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5aa7ff;
  box-shadow: 0 0 10px #5aa7ff, 0 0 0 3px rgba(90, 167, 255, 0.16);
}
.hero-kicker b { color: #fff; font-weight: 600; letter-spacing: 0.2em; }
.hero-sub {
  max-width: 660px;
  margin: 20px auto 0;
  color: #a1a1a6;
  font-size: 17px;
  line-height: 1.7;
  text-wrap: balance;
}
.hero-copy .hero-actions { justify-content: center; margin-top: 26px; }
.hero-scene {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: clamp(150px, 26vh, 240px);
  margin-top: 28px;
}
/* The horizon is full-bleed so it runs into both viewport edges */
.signal-plot {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin-inline: calc(50% - 50vw);
}
.hero-scene > .wrap {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}
.signal-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.signal-halo {
  fill: none;
  stroke: url(#signal-path-grad);
  stroke-width: 16;
  stroke-opacity: 0.12;
  vector-effect: non-scaling-stroke;
}
.signal-line {
  fill: none;
  stroke: url(#signal-path-grad);
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(122, 170, 255, 0.65));
}
.signal-flow {
  fill: none;
  stroke: #eef5ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 46 954;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 7px #9ecbff);
  animation: signalFlow 9s linear infinite;
}
.signal-flow.is-b {
  stroke-width: 1.6;
  stroke-dasharray: 16 984;
  stroke-opacity: 0.8;
  animation-delay: -4.5s;
}
@keyframes signalFlow {
  to { stroke-dashoffset: -1000; }
}
.sig {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--n);
  height: var(--n);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px var(--accent), 0 0 22px var(--accent);
  opacity: 0;
}
/* Dots are pinned onto the horizon by script; without it they stay hidden */
.signal-plot.is-placed .sig { opacity: 1; }
.sig::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.35;
}
.sig::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 62%);
  pointer-events: none;
}
/* Plumb lines tie each horizon node to its stage below; a packet of light runs down each one */
.sig-drop {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 0;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 -12px);
  transition: opacity 0.3s ease;
}
.signal-plot.is-placed .sig-drop { opacity: 1; }
.sig-drop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: 0.75;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.34) 36%, rgba(0, 0, 0, 0.34) 64%, #000 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.34) 36%, rgba(0, 0, 0, 0.34) 64%, #000 100%);
  transition: opacity 0.3s ease;
}
.sig-drop::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--accent) 72%, #fff);
  box-shadow: 0 0 6px var(--accent);
  opacity: 0;
  animation: dropFlow 5.2s cubic-bezier(0.45, 0, 0.6, 1) infinite;
}
.sig-drop:nth-child(2)::after { animation-delay: -1.3s; }
.sig-drop:nth-child(3)::after { animation-delay: -2.6s; }
.sig-drop:nth-child(4)::after { animation-delay: -3.9s; }
@keyframes dropFlow {
  0% { top: -44px; opacity: 0; }
  18% { opacity: 0.85; }
  100% { top: 100%; opacity: 0.85; }
}
.sig-drop.is-active::before { opacity: 1; }
.sig.is-active { box-shadow: 0 0 14px var(--accent), 0 0 44px var(--accent); }
.sig.is-active::before { opacity: 0.9; transform: scale(1.35); }
.sig::before { transition: transform 0.3s ease, opacity 0.3s ease; }
.sig.is-next { animation: nodePulse 2.8s ease-in-out infinite; }
.sig.is-next::before {
  opacity: 0.6;
  animation: sigRing 3.2s ease-out infinite;
}
@keyframes sigRing {
  0% { transform: scale(0.92); opacity: 0.6; }
  70%, 100% { transform: scale(2.4); opacity: 0; }
}
.stage-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  flex: 0 0 auto;
  margin-top: 30px;
  counter-reset: stage;
}
.stage {
  position: relative;
  padding: 18px 26px 0 0;
  counter-increment: stage;
}
.stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  opacity: 0.65;
  transition: width 0.3s ease, opacity 0.3s ease;
}
.stage:hover::before { width: 56px; opacity: 1; }
.stage-track.is-linked .stage:hover::before,
.stage-track.is-linked .stage.is-active::before { opacity: 1; }
.stage::after {
  content: counter(stage, decimal-leading-zero);
  position: absolute;
  top: 2px;
  right: 26px;
  color: rgba(255, 255, 255, 0.055);
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}
.stage:first-child { padding-left: 0; }
.stage:last-child { padding-right: 0; }
.stage:last-child::after { right: 0; }
.stage-num {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.stage-name {
  margin-top: 10px;
  background: linear-gradient(100deg, #fff 30%, var(--accent) 150%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stage-verb { color: #a1a1a6; font-weight: 400; }
.stage-cap {
  margin-top: 16px;
  color: #c6c6cd;
  font-size: 12.5px;
  line-height: 1.5;
}
.stage-cap .cap-label {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.85;
}
.stage-cap .cap-items {
  display: block;
  font-size: clamp(10px, 1.06vw, 11.5px);
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.stage.is-next::before {
  width: 46px;
  opacity: 1;
}
@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 8px var(--accent), 0 0 22px var(--accent); }
  50% { box-shadow: 0 0 14px var(--accent), 0 0 42px var(--accent); }
}
.art-tag {
  display: inline-block;
  color: #98989d;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Waves */
.wave-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.wave-grid li { padding: 26px 26px 0 0; }
.wave-num { color: var(--quiet); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; }
.wave-grid h3 { margin-top: 20px; }
.wave-grid p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.wave-grid li.current h3 { color: var(--blue-text); }
.wave-now {
  display: inline-block;
  margin-top: 18px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--blue-text);
  font-size: 11px;
}

/* Chain */
.chain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.chain-panel {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 330px;
  display: flex;
  flex-direction: column;
}
.chain-data { background: linear-gradient(155deg, #eef5ff 0%, #f8faff 62%, #ffffff 100%); }
.chain-model { background: linear-gradient(155deg, #f4efff 0%, #faf8ff 62%, #ffffff 100%); }
.panel-kicker { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; }
.chain-panel h3 {
  margin-top: 22px;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}
.chain-panel h3 span { color: var(--blue-text); font-weight: 400; }
.chain-panel p { margin-top: 18px; max-width: 420px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.chain-links { display: flex; gap: 18px; margin-top: auto; padding-top: 30px; }
.chain-links a { color: var(--blue-text); font-size: 14px; text-decoration: none; }
.chain-links a:hover { text-decoration: underline; }

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: clip;
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}
.product-art {
  position: relative;
  height: 196px;
  overflow: hidden;
  background: linear-gradient(150deg, #101522, #05070b);
}
.product-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-art img { transform: scale(1.03); }
.product-art .art-tag {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
}
.art-capture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 12, 0.1), rgba(4, 7, 12, 0.55));
}
.art-world img { object-position: 50% 50%; }
.product-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.product-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.product-top .arrow { color: var(--quiet); font-size: 17px; line-height: 1; transition: transform 0.2s ease, color 0.2s ease; }
.product-card:hover .arrow { transform: translate(2px, -2px); color: var(--blue-text); }
.product-body p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.product-more { margin-top: auto; padding-top: 20px; color: var(--blue-text); font-size: 13px; }
.art-crucible-hub { background: #08111e; }
.art-crucible-hub .crucible-hub-mini { display: block; object-fit: contain; object-position: 50% 50%; }

/* Product cards stay legible when the products band sits inside the dark beat */
.section.night .product-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: #0c0d10;
}
.section.night .product-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.section.night .product-body p { color: #a1a1a6; }
.section.night .product-tag {
  border-color: rgba(255, 255, 255, 0.18);
  color: #d2d2d7;
}
.section.night .product-list li { color: #d2d2d7; }
.section.night .product-list li::before { background: #6ab0ff; }
.section.night .product-more { color: #6ab0ff; }
.section.night .product-card:hover .arrow { color: #6ab0ff; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.steps li { padding: 30px; background: #fff; }
.steps span { color: var(--quiet); font-family: var(--mono); font-size: 11px; }
.steps h3 { margin-top: 26px; font-size: 18px; }
.steps p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Proof */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: rgba(255, 255, 255, 0.14);
  border-block: 1px solid rgba(255, 255, 255, 0.14);
}
.stat-row > div { padding: 34px 28px; background: var(--night); }
.stat-row strong { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -0.04em; }
.stat-row span { display: block; margin-top: 10px; color: #98989d; font-size: 13px; line-height: 1.5; }
.arch { margin-top: 52px; }
.arch-layers,
.arch-engines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.arch-layers li {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}
.arch-num { color: #6ab0ff; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; }
.arch-layers h3 { margin-top: 12px; font-size: 22px; letter-spacing: -0.02em; }
.arch-layers p { margin: 8px 0 22px; color: #98989d; font-size: 13.5px; line-height: 1.6; }
.arch-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--night-text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.arch-product i { color: #98989d; font-style: normal; font-weight: 400; transition: transform 0.2s ease, color 0.2s ease; }
.arch-product:hover i { color: #6ab0ff; transform: translate(2px, -2px); }
.arch-engines { margin-top: 12px; row-gap: 10px; }
.arch-engine {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 20px;
  border: 1px solid rgba(106, 176, 255, 0.3);
  border-radius: 14px;
  background: rgba(0, 113, 227, 0.12);
}
.arch-engine.is-data { grid-column: 1 / 3; }
.arch-engine.is-world { grid-column: 2 / 4; border-color: rgba(182, 162, 255, 0.32); background: rgba(182, 162, 255, 0.1); }
.arch-engine b { color: #9ec8ff; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; white-space: nowrap; }
.arch-engine.is-world b { color: #cbbcff; }
.arch-engine span { flex: 1 1 auto; color: #d2d2d7; font-size: 14px; }
.arch-engine em { margin-left: auto; color: #86868b; font-family: var(--mono); font-size: 10px; font-style: normal; letter-spacing: 0.08em; white-space: nowrap; }

/* Delivery */
.delivery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.delivery-card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.delivery-card h3 { font-size: 17px; }
.delivery-card p { margin-top: 10px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.delivery-card span { display: inline-block; margin-top: 20px; color: var(--quiet); font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }

/* Vision */
.quote {
  margin-top: 22px;
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.035em;
}
.vision-split .quote { font-size: clamp(30px, 3.6vw, 48px); }
.vision-split { text-align: center; }
.vision-split .lede { margin-left: auto; margin-right: auto; }
.vision-split .trust-link { gap: 0.3em; }

/* Why Jingshuo */
.why-table { overflow: clip; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.why-table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.why-col-dim { width: 17%; }
.why-col-us { width: 44%; }
.why-table th,
.why-table td { padding: 20px 28px; text-align: left; vertical-align: top; }
.why-table thead th { padding-top: 28px; padding-bottom: 22px; vertical-align: bottom; }
.why-table thead small { display: block; color: var(--quiet); font-size: 12.5px; }
.why-table thead b { display: block; margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: -0.025em; }
.why-table thead .is-old b { color: var(--muted); }
.why-table thead .is-us small { color: #6ab0ff; }
.why-table tbody tr + tr > * { border-top: 1px solid var(--line); }
.why-table tbody th { color: var(--ink); font-size: 15px; font-weight: 600; }
.why-table tbody td { font-size: 14px; line-height: 1.62; text-wrap: pretty; }
.why-table td.is-old { color: var(--muted); }
.why-table .is-us { background: #0b0b0d; color: #d2d2d7; }
.why-table thead .is-us b { color: var(--night-text); }
.why-table tbody tr + tr > .is-us { border-top-color: rgba(255, 255, 255, 0.08); }
.why-table tbody tr:last-child .is-us { padding-bottom: 28px; }

@media (max-width: 720px) {
  .why-table { border: 0; border-radius: 0; background: none; overflow: visible; }
  .why-table table, .why-table tbody, .why-table tr, .why-table th, .why-table td { display: block; width: auto; }
  .why-table colgroup, .why-table thead { display: none; }
  .why-table tbody tr { padding: 22px 0; border-top: 1px solid var(--line-strong); }
  .why-table tbody tr:last-child { border-bottom: 1px solid var(--line-strong); }
  .why-table tbody tr + tr > * { border-top: 0; }
  .why-table tbody th { padding: 0; font-size: 17px; }
  .why-table tbody td { padding: 0; }
  .why-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 600; }
  .why-table td.is-old { margin-top: 12px; }
  .why-table td.is-old::before { color: var(--quiet); }
  .why-table td.is-us { margin-top: 12px; padding: 14px 16px; border-radius: 14px; }
  .why-table td.is-us::before { color: #6ab0ff; }
  .why-table tbody tr:last-child .is-us { padding-bottom: 14px; }
}
@media (max-width: 620px) {
  .vision-split .quote { font-size: 25px; }
}

/* CTA */
.cta-section { padding-top: 0; background: var(--paper); }
#vision + .cta-section { background: var(--mist); }
.cta-band {
  position: relative;
  overflow: clip;
  padding: 84px 56px;
  border-radius: 32px;
  background:
    radial-gradient(80% 120% at 18% 0%, rgba(46, 117, 255, 0.34), transparent 58%),
    radial-gradient(70% 100% at 92% 100%, rgba(151, 108, 255, 0.24), transparent 56%),
    #05070b;
  color: #fff;
  text-align: center;
}
.cta-band h2 { margin-top: 16px; }
.cta-band p { max-width: 620px; margin: 20px auto 0; color: #a1a1a6; font-size: 16px; line-height: 1.65; }
.cta-band .hero-actions { justify-content: center; }

/* Footer */
.site-footer { margin-top: 0; padding: 64px 0 34px; background: var(--mist); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; }
.brand-footer { padding: 0; background: none; }
.brand-footer img { height: 21px; }
.footer-brand p { margin-top: 20px; max-width: 330px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.footer-brand .footer-note { margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.footer-grid h3 { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-grid ul { margin-top: 18px; display: grid; gap: 11px; }
.footer-grid ul a { color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.footer-grid ul a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  justify-content: space-between;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 11.5px;
  line-height: 1.6;
}
.footer-bottom p:last-child { max-width: 640px; text-align: right; }

/* Product pages */
.subnav {
  position: sticky;
  top: var(--nav-h);
  z-index: 30;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.subnav .wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 52px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.subnav a:hover { color: var(--ink); }
.subnav .subnav-home { color: var(--ink); font-weight: 500; }

.product-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h) - 52px);
  min-height: calc(100svh - var(--nav-h) - 52px);
  background: #05070a;
  color: #fff;
  overflow: clip;
}
.product-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 62px;
  align-items: center;
  padding: 84px 0 78px;
}
.product-hero h1 {
  font-size: clamp(42px, 5.3vw, 70px);
  line-height: 1.06;
}
.product-hero .lede { margin-top: 22px; max-width: 560px; font-size: 17.5px; }
.product-kicker { display: flex; align-items: center; gap: 12px; color: #86868b; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.product-kicker i { width: 26px; height: 1px; background: #424245; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero-tags span { padding: 6px 11px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; color: #d2d2d7; font-size: 12px; }
.product-hero .hero-actions { margin-top: 32px; }

/* EGOK product page */
.product-hero.egok-hero {
  background: #000;
  padding: 0;
}
.product-hero.egok-hero { position: relative; }
.egok-hero .product-kicker { position: absolute; top: 28px; left: max(24px, calc((100% - var(--max)) / 2)); z-index: 1; color: #d2d2d7; }
.egok-hero-film { position: absolute; inset: 0; margin: 0; }
.egok-hero-film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #05070a;
}
.egok-film { margin: 0; }
.egok-film video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0d12;
}
.egok-film figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.egok-film figcaption b { margin-right: 10px; color: var(--ink); font-weight: 600; }

.visual-frame {
  position: relative;
  overflow: clip;
  aspect-ratio: 4 / 3.2;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: #0a0d13;
}
.visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.visual-frame .art-tag { position: absolute; left: 18px; bottom: 15px; z-index: 2; color: rgba(255, 255, 255, 0.66); }
.visual-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.32)); pointer-events: none; }
.console {
  position: absolute;
  inset: 9% 8%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(10, 14, 21, 0.82);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.console-bar { display: flex; align-items: center; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.console-bar span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.console-bar em { margin-left: auto; color: #86868b; font-family: var(--mono); font-size: 10px; font-style: normal; letter-spacing: 0.08em; }
.console ul { margin-top: 8px; }
.console li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-family: var(--mono); font-size: 10px; }
.console li span { color: #8e8e93; }
.console li b { color: #d2d2d7; font-weight: 400; text-align: right; }
.console li .ok { color: #7ee2a8; }
.score-panel {
  position: absolute;
  inset: 9% 8%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(14, 10, 20, 0.82);
}
.score-head { display: flex; justify-content: space-between; align-items: center; color: #86868b; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }
.score-head b { color: #c9b4ff; font-weight: 400; }
.score-row { display: grid; grid-template-columns: 84px 1fr 38px; align-items: center; gap: 12px; font-family: var(--mono); font-size: 10px; color: #a1a1a6; }
.score-track { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.score-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8f6bff, #d0bdff); }
.score-row:nth-child(2) .score-track i { width: 91%; }
.score-row:nth-child(3) .score-track i { width: 72%; }
.score-row:nth-child(4) .score-track i { width: 88%; }
.score-row:nth-child(5) .score-track i { width: 64%; }
.score-row:nth-child(6) .score-track i { width: 94%; }
.score-row em { color: #d2d2d7; font-style: normal; text-align: right; }
.module-panel {
  position: absolute;
  inset: 9% 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(12, 12, 14, 0.85);
}
.module-panel span {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: #d2d2d7;
  font-size: 11px;
}
.module-panel small { color: #8e8e93; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }
.module-panel .wide { grid-column: 1 / -1; }

/* EGOK hardware page */
.device-frame { background: #070c16; }
.device-sweep {
  position: absolute;
  inset: -10% -30%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 44%, rgba(106, 176, 255, 0.14) 50%, transparent 56%);
  transform: translateX(-55%);
  animation: deviceSweep 8s ease-in-out infinite;
}
@keyframes deviceSweep {
  0%, 55% { transform: translateX(-55%); }
  100% { transform: translateX(55%); }
}

.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 64px; align-items: center; }
.app-points { display: grid; gap: 0; margin: 30px 0 0; padding: 0; list-style: none; }
.app-points li { padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #a1a1a6; font-size: 14.5px; line-height: 1.6; }
.app-points li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.app-points b { display: block; margin-bottom: 4px; color: #f5f5f7; font-size: 15px; font-weight: 600; }
.app-grid .note { margin-top: 26px; color: #8e8e93; font-size: 12px; }

.app-mock { justify-self: center; width: min(330px, 100%); }
.app-screen {
  position: relative;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background: #101216;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}
.app-top { display: flex; align-items: center; gap: 8px; padding: 2px 6px 12px; color: #d2d2d7; font-size: 12px; }
.app-top small { margin-left: auto; color: #8e8e93; font-family: var(--mono); font-size: 10px; }
.app-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30d158;
  animation: appPulse 2.4s ease-out infinite;
}
@keyframes appPulse {
  0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.5); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(48, 209, 88, 0); }
}
.app-preview { position: relative; overflow: clip; aspect-ratio: 3 / 3.4; border-radius: 20px; background: #000; }
.app-preview img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.app-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(106, 176, 255, 0), rgba(106, 176, 255, 0.16) 70%, rgba(106, 176, 255, 0.45));
  animation: appScan 3.6s ease-in-out infinite;
}
@keyframes appScan {
  0% { transform: translateY(-110%); }
  100% { transform: translateY(300%); }
}
.app-rec {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #ff6b6b;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.app-status { margin: 14px 2px 0; padding: 0; list-style: none; }
.app-status li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #a1a1a6;
  font-size: 12px;
}
.app-status b { color: #7ee2a8; font-weight: 500; }
.app-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.app-actions span { padding: 11px 0; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #d2d2d7; font-size: 12px; text-align: center; }
.app-actions span:last-child { background: var(--blue); color: #fff; }

.spec-media {
  margin: 34px 0 0;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--mist);
}
.spec-media img { display: block; width: 100%; height: auto; }
.spec-media figcaption { padding: 14px 20px 16px; color: var(--muted); font-size: 12.5px; }
.spec-media.is-dark { border-color: rgba(255, 255, 255, 0.1); background: #0a0c10; }
.spec-media.is-dark figcaption { color: #a1a1a6; }

.app-loop { margin-top: 64px; padding-top: 34px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.app-loop .eyebrow { margin-bottom: 20px; }
.data-loop { display: flex; flex-wrap: wrap; gap: 12px 0; margin: 0; padding: 0; list-style: none; }
.data-loop li { display: flex; align-items: baseline; gap: 9px; color: #d2d2d7; font-size: 14px; }
.data-loop li span { color: #8e8e93; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }
.data-loop li::after { content: "→"; margin: 0 14px; color: #4b4b50; font-family: var(--mono); font-size: 11px; }
.data-loop li:last-child::after { content: none; }
.app-loop-note { max-width: 780px; margin-top: 22px; color: #8b8b90; font-size: 12.5px; line-height: 1.7; }

@media (max-width: 900px) {
  .app-grid { grid-template-columns: 1fr; gap: 44px; }
  .app-mock { justify-self: center; }
}

@media (max-width: 620px) {
  .egok-film video { border-radius: 20px; }
  .egok-film figcaption { margin-top: 14px; font-size: 12.5px; }
  .spec-media { border-radius: 18px; }
  .app-mock { width: min(300px, 100%); }
  .app-loop { margin-top: 46px; }
  .data-loop { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
  .data-loop li::after { content: none; }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.feature-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature { padding: 30px; background: #fff; }
.feature h3 { font-size: 17px; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.62; }
.feature .mono { display: block; margin-bottom: 18px; color: var(--quiet); font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.skill-spec { padding: 26px 28px 10px; border-radius: var(--radius); background: #0b0b0d; color: #d2d2d7; }
.skill-spec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; }
.skill-spec-head span { color: #f5f5f7; }
.skill-spec-head em { padding: 3px 9px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; color: #a1a1a6; font-family: var(--font); font-size: 11px; font-style: normal; letter-spacing: 0; }
.skill-spec dl { margin: 0; }
.skill-spec dl div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 15px 0; }
.skill-spec dl div + div { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.skill-spec dt { color: #f5f5f7; font-size: 13.5px; font-weight: 600; }
.skill-spec dt span { display: inline-block; width: 24px; color: #6ab0ff; font-family: var(--mono); font-size: 10.5px; font-weight: 400; }
.skill-spec dd { margin: 0; color: #a1a1a6; font-size: 13.5px; line-height: 1.6; text-wrap: pretty; }
.skill-spec code { display: inline-block; padding: 4px 9px; border-radius: 8px; background: rgba(106, 176, 255, 0.12); color: #a8d1ff; font-family: var(--font); font-size: 13px; line-height: 1.55; }
@media (max-width: 620px) {
  .skill-spec { padding: 22px 20px 6px; }
  .skill-spec dl div { grid-template-columns: 1fr; gap: 6px; }
}
.split .visual-frame { aspect-ratio: 4 / 3; }
.split .visual-frame img { object-position: 50% 50%; }
.list-title { margin-top: 18px; }
.number-list { margin-top: 34px; border-top: 1px solid var(--line-strong); }
.number-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.number-list span { padding-top: 2px; color: var(--quiet); font-family: var(--mono); font-size: 11px; }
.number-list h3 { font-size: 17px; }
.number-list p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.u-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.u-card { padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.u-card b { display: block; color: var(--blue-text); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; }
.u-card h3 { margin-top: 24px; }
.u-card p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.62; }
.section.night .u-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: #0c0d10;
}
.section.night .u-card b { color: #6ab0ff; }
.section.night .u-card p { color: #a1a1a6; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table caption { margin-bottom: 18px; color: var(--muted); font-size: 13px; text-align: left; }
.spec-table th,
.spec-table td { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; vertical-align: top; }
.spec-table th { width: 32%; color: var(--muted); font-weight: 400; }
.spec-table td { color: var(--ink); }

.spec-table.metrics th { width: 22%; padding-right: 20px; white-space: nowrap; }
.spec-table.metrics td:nth-child(2) { padding-right: 24px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.spec-table.metrics .metric-val { color: var(--ink); font-family: var(--mono); font-size: 12.5px; text-align: right; white-space: nowrap; }

@media (max-width: 620px) {
  .spec-table.metrics tr { display: grid; grid-template-columns: 1fr auto; gap: 0 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .spec-table.metrics th,
  .spec-table.metrics td { padding: 0; border: 0; }
  .spec-table.metrics th { grid-column: 1; grid-row: 1; width: auto; color: var(--ink); }
  .spec-table.metrics .metric-val { grid-column: 2; grid-row: 1; }
  .spec-table.metrics td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; margin-top: 6px; padding-right: 0; }
}

.note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 2px solid var(--blue);
  background: var(--mist);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}
.night .note { background: rgba(255, 255, 255, 0.05); color: #98989d; }

/* EGOK calibration */
.calib-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
}
.calib-stats > div { padding: 30px 26px 28px; background: #fff; }
.calib-stats strong { display: block; font-size: clamp(38px, 4.2vw, 54px); font-weight: 600; line-height: 1; letter-spacing: -0.045em; }
.calib-stats strong span { margin-left: 5px; color: var(--quiet); font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.04em; }
.calib-stats p { margin-top: 16px; color: var(--ink); font-size: 13.5px; line-height: 1.5; }
.calib-stats p span { display: block; margin-top: 5px; color: var(--quiet); font-size: 11.5px; }
.calib-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: start;
  margin-top: 58px;
}
.calib-table th { width: auto; }
.calib-table th:first-child { width: 48%; }
.calib-table td { font-family: var(--mono); font-size: 13px; text-align: right; white-space: nowrap; }
.calib-table th + th,
.calib-table td + td { padding-left: 32px; }
.calib-table thead th { padding-top: 0; color: var(--quiet); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.calib-table thead th + th { text-align: right; }
.calib-table tbody th { color: var(--muted); }
.calib-aside h3 { font-size: 18px; }
.calib-aside p { margin-top: 12px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.calib-aside .calib-method { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.calib-method b {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.calib-note { background: #fff; }

@media (max-width: 900px) {
  .calib-stats { grid-template-columns: repeat(2, 1fr); }
  .calib-detail { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 620px) {
  .calib-stats { border-radius: 18px; }
  .calib-stats > div { padding: 24px 20px; }
  .calib-stats strong { font-size: clamp(32px, 9vw, 40px); }
  .calib-table th, .calib-table td { padding: 13px 0; }
  .calib-table th + th, .calib-table td + td { padding-left: 16px; }
  .calib-table td { font-size: 11.5px; }
  .calib-table th:first-child { width: 44%; }
}

.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.related-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07); }
.related-card small { color: var(--quiet); font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }
.related-card h3 { margin-top: 16px; font-size: 18px; }
.related-card p { margin-top: 8px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.related-card span { margin-top: auto; padding-top: 20px; color: var(--blue-text); font-size: 13px; }

/* Solutions */
.solutions-hero { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - var(--nav-h) - 52px); min-height: calc(100svh - var(--nav-h) - 52px); padding: 86px 0 80px; background: #05070a; color: #fff; overflow: clip; }
.solutions-hero .wrap { text-align: center; }
.solutions-hero h1 { font-size: clamp(40px, 5.6vw, 72px); }
.solutions-hero .lede { max-width: 720px; margin-inline: auto; }
.solutions-hero .hero-actions { justify-content: center; }

/* Solutions: customer case stories */
.case-flow { display: grid; gap: 22px; }
.case-index {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 42px 0 44px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}
.case-index a {
  padding: 18px 18px 20px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.2s ease;
}
.case-index a:first-child { padding-left: 0; border-left: 0; }
.case-index a:hover { background: var(--mist); }
.case-index span { display: block; color: var(--quiet); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; }
.case-index b { display: block; margin-top: 9px; color: var(--ink); font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; transition: color 0.2s ease; }
.case-index em { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-style: normal; line-height: 1.45; }
.case-index a:hover b { color: var(--blue-text); }
.case-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.case-story:nth-child(even) .case-figure { order: 2; }
.case-figure {
  position: relative;
  min-height: 460px;
  margin: 0;
  background: #0b0b0d;
}
.case-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-figure.is-portrait img { object-position: 50% 60%; }
.case-figure.is-ui {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: 24px 24px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(85% 62% at 50% 16%, rgba(0, 113, 227, 0.12), rgba(0, 113, 227, 0) 64%),
    linear-gradient(180deg, #0b0d12 0%, #07080b 100%);
}
.case-figure.is-ui img {
  position: static;
  inset: auto;
  align-self: center;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.55);
}
.case-figure.is-ui::after { display: none; }
.case-figure.is-ui figcaption {
  position: static;
  inset: auto;
  margin-top: 18px;
  padding: 14px 2px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
}
.case-figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.case-figure figcaption {
  position: absolute;
  z-index: 1;
  inset-inline: 22px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.07em;
}
.case-body {
  display: flex;
  flex-direction: column;
  padding: 40px 40px 36px;
}
.case-topline { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.case-wave { color: var(--blue-text); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; }
.case-stage {
  flex: 0 0 auto;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.case-body h3 {
  margin-top: 14px;
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.22;
  letter-spacing: -0.03em;
}
.case-lead { margin-top: 14px; color: var(--muted); font-size: 14.5px; line-height: 1.68; text-wrap: pretty; }
.case-brief { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 0; }
.case-brief div { padding: 14px 16px 15px; border-radius: 14px; background: var(--mist); }
.case-brief dt { color: var(--blue-text); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; }
.case-brief dd { margin: 6px 0 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; text-wrap: pretty; }
.case-label { margin-top: 24px; color: var(--quiet); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; }
.case-label + .case-points { margin-top: 10px; }
@media (max-width: 620px) { .case-brief { grid-template-columns: 1fr; } }
.case-points { margin-top: 24px; border-top: 1px solid var(--line); }
.case-points div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.case-points dt {
  padding-top: 3px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.case-points dd { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; text-wrap: pretty; }
.case-value {
  margin-top: 20px;
  padding: 15px 17px 15px 19px;
  border-left: 2px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: var(--mist);
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.62;
  text-wrap: pretty;
}
.case-value span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-text);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.case-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.case-chips a {
  padding: 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 11.5px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.case-chips a:hover { border-color: var(--blue); color: var(--blue-text); }

/* Solutions: capability matrix */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-hint { display: none; }
.spec-table.fit { min-width: 780px; }
.spec-table.fit thead th {
  width: auto;
  padding: 0 12px 14px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
  text-align: center;
  vertical-align: bottom;
}
.spec-table.fit thead th:first-child { text-align: left; }
.spec-table.fit tbody th {
  width: 22%;
  padding: 15px 12px 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  vertical-align: middle;
}
.spec-table.fit td {
  width: 15.6%;
  padding: 15px 12px 15px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.fit-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1;
}
.fit-tag.is-core {
  border-color: rgba(0, 113, 227, 0.3);
  background: rgba(0, 113, 227, 0.08);
  color: var(--blue-text);
}
.fit-none { color: var(--quiet); font-size: 12px; }
.steps.four { grid-template-columns: repeat(4, 1fr); }

/* Contact */
.contact-hero { padding: 82px 0 0; background: var(--mist); }
main:has(.contact-hero) + .site-footer { background: var(--paper); }
.contact-hero h1 { font-size: clamp(40px, 5.4vw, 68px); }
.contact-hero .lede { max-width: 640px; }
.contact-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 64px;
  align-items: start;
  padding: 60px 0 110px;
}
.contact-aside { position: sticky; top: 120px; }
.contact-aside h2 { font-size: 25px; letter-spacing: -0.02em; }
.contact-aside p { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.aside-list { margin-top: 30px; border-top: 1px solid var(--line-strong); }
.aside-list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.6; }
.aside-list b { display: block; margin-bottom: 3px; font-weight: 600; }
.aside-list span { color: var(--muted); }
.contact-form {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; padding: 0; border: 0; }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label,
.check-group legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
}
.required { color: #d70015; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d2d2d7;
  border-radius: 11px;
  background: #fff;
  font-size: 15px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea { min-height: 128px; resize: vertical; }
#brief { min-height: 212px; line-height: 1.7; }
.field-help { margin-top: 8px; color: var(--quiet); font-size: 12px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}
.check-group { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; }
.check-help { margin: -2px 0 12px; color: var(--quiet); font-size: 12px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 2px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.45;
}
.check input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}
.consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 6px;
}
.form-hint { color: var(--quiet); font-size: 12px; }
.form-status {
  display: none;
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #edf7f0;
  color: #1d6b3c;
  font-size: 13px;
  line-height: 1.6;
}
.form-status.visible { display: block; }
.form-status.error { background: #fdeeee; color: #a4342f; }
.form-noscript {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--mist);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.form-note { margin-top: 18px; color: var(--quiet); font-size: 11.5px; line-height: 1.65; }

.nowrap { white-space: nowrap; }

/* Product cards: delivery form + deliverables */
.product-tag {
  align-self: flex-start;
  margin-top: 12px;
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 11px;
}
.product-list { margin-top: 14px; display: grid; gap: 7px; }
.product-list li {
  position: relative;
  padding-left: 14px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}
.product-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}
.art-egok::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 12, 0.05), rgba(4, 7, 12, 0.55));
  pointer-events: none;
}
.art-skill { background: linear-gradient(150deg, #0b1424, #0a0d14); }
.mini-sku { position: absolute; inset: 14px 20px 34px; width: calc(100% - 40px); height: calc(100% - 48px); overflow: visible; }
.mini-sku text { fill: rgba(255, 255, 255, 0.66); font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; }

/* Home: capability footer */
.capability-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.capability-foot p { max-width: 620px; color: #98989d; font-size: 13.5px; line-height: 1.65; }

/* Home: delivered cases */
.case-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.case-grid > .case-card { grid-column: span 2; }
.case-grid > .case-card.is-wide { grid-column: span 3; }
.case-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
a.case-card {
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
a.case-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}
.case-tag { color: var(--blue-text); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; }
.case-card h3 { margin-top: 16px; font-size: 19px; line-height: 1.35; letter-spacing: -0.015em; }
.case-card p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; text-wrap: pretty; }
.case-meta { margin-top: auto; padding-top: 26px; display: grid; gap: 10px; }
.case-meta div { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.case-meta dt { color: var(--muted); font-size: 12px; }
.case-meta dd { color: var(--ink); font-size: 13px; text-align: right; }
.case-more { margin-top: 18px; color: var(--blue-text); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; }
.case-foot { display: flex; justify-content: flex-end; margin-top: 28px; }
.case-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.case-foot a:hover { color: var(--blue-text); }

/* Home: five-step flow */
.steps-five { grid-template-columns: repeat(5, 1fr); }

/* Home: company principles */
.u-grid.four { grid-template-columns: repeat(4, 1fr); }

/* Motion */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { gap: 22px; }
  .hero { padding-top: 40px; }
  .hero h1 { margin-top: 10px; }
  .hero-scene { min-height: 170px; margin-top: 22px; }
  .stage { padding-right: 18px; }
  .stage::after { font-size: 38px; right: 18px; }
  .section { padding: 104px 0; }
  .product-hero .wrap { gap: 42px; }
  .contact-layout { gap: 42px; }
}

/* Mid-height landscape viewports: tighten the hero so the stage track stays above the fold */
@media (min-width: 901px) and (min-height: 861px) and (max-height: 1000px) {
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(48px, 5.2vw, 78px); margin-top: 12px; }
  .hero-sub { margin-top: 16px; }
  .hero-copy .hero-actions { margin-top: 22px; }
}

/* Short landscape viewports: keep the hero to a single screen */
@media (min-width: 901px) and (max-height: 860px) {
  .hero { padding-top: 38px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(42px, 4.4vw, 58px); margin-top: 10px; }
  .hero-sub { margin-top: 14px; font-size: 16px; line-height: 1.6; }
  .hero-copy .hero-actions { margin-top: 20px; }
  .hero-copy .btn { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
  .hero-scene { margin-top: 20px; }
  .stage-track { margin-top: 22px; }
  .stage { padding-top: 16px; }
  .stage-name { margin-top: 8px; }
  .stage-cap { margin-top: 12px; }
}

@media (min-width: 901px) and (max-height: 740px) {
  .hero { padding-top: 26px; padding-bottom: 36px; }
  .hero-kicker { padding: 5px 12px; font-size: 10px; }
  .hero h1 { font-size: clamp(34px, 4vw, 46px); margin-top: 8px; }
  .hero-sub { margin-top: 10px; font-size: 14.5px; line-height: 1.55; }
  .hero-copy .hero-actions { margin-top: 16px; }
  .hero-copy .btn { min-height: 38px; padding: 0 18px; font-size: 13.5px; }
  .hero-scene { margin-top: 16px; }
  .stage-track { margin-top: 16px; }
  .stage { padding-top: 13px; }
  .stage-name { margin-top: 7px; font-size: 19px; }
  .stage-cap { margin-top: 9px; }
  .stage::after { font-size: 34px; }
}

/* About page */
.about-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--nav-h) + 28px);
  min-height: calc(100svh - var(--nav-h) + 28px);
  padding: 0;
  background:
    radial-gradient(72% 62% at 72% 34%, rgba(0, 113, 227, 0.14), transparent 66%),
    #000;
  color: #fff;
  overflow: clip;
}
.about-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 42%, rgba(0, 0, 0, 0) 100%);
}
.about-hero .cosmos { z-index: 0; }
.about-hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(60px, 10vh, 116px) 0 0;
}
.about-hero-copy { max-width: 1020px; margin-inline: auto; text-align: center; }
.about-hero h1 {
  margin-top: 20px;
  font-size: clamp(40px, 5.7vw, 76px);
  line-height: 1.05;
}
.about-hero .accent {
  background: linear-gradient(92deg, #8cc2ff 0%, #b6a2ff 52%, #ffb98f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-hero .hero-sub { max-width: 720px; margin: 22px auto 0; }
.about-hero .hero-tags { justify-content: center; }
.about-hero .hero-actions { justify-content: center; }

/* The world map runs full-bleed beneath the copy; pins and routes sit on it */
.about-globe {
  position: absolute;
  left: 50%;
  bottom: -6vh;
  z-index: 1;
  width: 132vw;
  transform: translateX(-50%);
  pointer-events: none;
}
.globe-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 2084 / 725;
}
.globe-canvas img { display: block; width: 100%; height: auto; opacity: 0.94; filter: brightness(0.94) saturate(1.04); }
.globe-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.9) 10%, rgba(0, 0, 0, 0.55) 24%, rgba(0, 0, 0, 0) 44%),
    radial-gradient(46% 38% at 47% 22%, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0) 20%);
}
.globe-routes {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.route-base {
  fill: none;
  stroke: rgba(158, 203, 255, 0.34);
  stroke-width: 1.3;
  vector-effect: non-scaling-stroke;
}
.route-halo {
  fill: none;
  stroke: url(#route-a);
  stroke-width: 11;
  stroke-opacity: 0.09;
  vector-effect: non-scaling-stroke;
}
.route-flow {
  fill: none;
  stroke: #eaf4ff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 38 962;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(158, 203, 255, 0.9));
  animation: routeFlow 10s linear infinite;
}
.route-flow.is-b { stroke-width: 1.5; stroke-dasharray: 18 982; animation-delay: -5s; }
@keyframes routeFlow {
  to { stroke-dashoffset: -1000; }
}
.route-node {
  fill: #eef5ff;
  filter: drop-shadow(0 0 7px rgba(158, 203, 255, 0.95));
}
.route-node.is-dim { opacity: 0.55; }

.globe-canvas .pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  width: 0;
  height: 0;
  pointer-events: none;
}
.pin i {
  position: absolute;
  left: -4.5px;
  top: -4.5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7cbdff;
  box-shadow: 0 0 0 5px rgba(106, 176, 255, 0.14), 0 0 22px rgba(106, 176, 255, 0.9);
}
.pin i::after {
  content: "";
  position: absolute;
  left: -6px;
  top: -6px;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(124, 189, 255, 0.6);
  border-radius: 50%;
  animation: pin-pulse 3.2s ease-out infinite;
}
.pin b {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.62);
  color: #e8e8ed;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.pin--left b { left: auto; right: 14px; }
.pin--below b { left: 50%; top: 14px; transform: translateX(-50%); }
@keyframes pin-pulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  70% { transform: scale(1.9); opacity: 0; }
  100% { opacity: 0; }
}

.about-globe-legend {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 40px;
  margin-top: auto;
  padding-top: 20px;
  padding-bottom: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.about-globe-legend div { display: flex; align-items: baseline; gap: 16px; }
.about-globe-legend b {
  color: #86868b;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.about-globe-legend span { color: #e8e8ed; font-size: 13.5px; letter-spacing: 0.02em; }

.section.night .wave-grid { border-color: rgba(255, 255, 255, 0.16); }
.section.night .wave-num { color: #8e8e93; }
.section.night .wave-grid p { color: #a1a1a6; }
.section.night .wave-grid li.current h3 { color: #6ab0ff; }
.section.night .wave-now { background: rgba(106, 176, 255, 0.12); color: #6ab0ff; }

.related-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.trust-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: start;
}
.trust-split .lede { max-width: 520px; }
.trust-list { border-top: 1px solid var(--line-strong); }
.trust-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 17px 0 18px;
  border-bottom: 1px solid var(--line);
}
.trust-list span { padding-top: 2px; color: var(--blue-text); font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; }
.trust-list b { display: block; font-size: 14.5px; font-weight: 600; }
.trust-list p { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.6; text-wrap: pretty; }
.trust-link { display: inline-flex; margin-top: 26px; color: var(--blue-text); font-size: 13.5px; text-decoration: none; }
.trust-link:hover { text-decoration: underline; }

.company-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.company-split .lede { max-width: 560px; }
.company-facts { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.company-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.company-facts strong { flex: none; color: var(--night-text); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.company-facts span { color: #a1a1a6; font-size: 12.5px; line-height: 1.55; text-align: right; }

@media (min-width: 901px) and (max-height: 800px) {
  .about-hero-inner { padding-top: 44px; }
  .about-hero h1 { font-size: clamp(40px, 4.7vw, 60px); }
  .about-hero .hero-sub { margin-top: 16px; font-size: 15.5px; }
  .about-globe { width: 124vw; bottom: -9vh; }
  .globe-scrim {
    background:
      linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.92) 14%, rgba(0, 0, 0, 0.62) 30%, rgba(0, 0, 0, 0) 52%),
      radial-gradient(50% 40% at 47% 24%, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 78%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0) 20%);
  }
}

@media (max-width: 900px) {
  .about-hero { min-height: calc(100svh - var(--nav-h) + 28px); }
  .about-hero::after { display: none; }
  .about-hero-inner { padding-top: 60px; }
  .about-globe {
    position: relative;
    left: auto;
    bottom: auto;
    width: 132vw;
    margin: 34px 0 0 calc(50% - 66vw);
    transform: none;
  }
  .about-globe-legend { margin-top: 30px; }
  .trust-split { grid-template-columns: 1fr; gap: 34px; }
  .company-split { grid-template-columns: 1fr; gap: 34px; }
  .related-grid.four { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .pin b { display: none; }
}

@media (max-width: 620px) {
  .about-hero-inner { padding-top: 48px; }
  .about-hero h1 { font-size: clamp(32px, 8.4vw, 42px); }
  .about-globe { width: 146vw; margin: 30px 0 0 calc(50% - 73vw); }
  .about-globe-legend {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 0;
    padding-bottom: 54px;
  }
  .about-globe-legend div { gap: 12px; }
  .related-grid.four { grid-template-columns: 1fr; }
  .company-facts strong { font-size: 17px; }
  .company-facts > div { gap: 18px; }
}

/* The light content sheet lifts over the dark beat, replacing the hard seam */
.hero + .section:not(.night),
.about-hero + .section:not(.night),
.section.night + .section:not(.night) {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  border-radius: 28px 28px 0 0;
  background: var(--paper);
  box-shadow: 0 -26px 54px rgba(4, 8, 18, 0.3);
}

@media (max-width: 900px) {
  .site-header {
    background: #0b0b0d;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .menu-button { display: flex; }
  .js .nav-panel {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    bottom: 0;
    z-index: 45;
    width: min(88vw, 400px);
    margin: 0;
    padding: 28px 26px 48px;
    overflow-y: auto;
    background: #0b0b0d;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s;
  }
  .js .nav-panel.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .js .menu-backdrop { display: block; pointer-events: none; }
  .js .menu-backdrop.open { opacity: 1; pointer-events: auto; }
  .js body.menu-open { overflow: hidden; }
  .js .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-links li { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
  .js .nav-link { display: block; padding: 17px 0; font-size: 22px; letter-spacing: -0.02em; }
  .js .nav-cta { margin-top: 26px; min-height: 46px; font-size: 15px; }
  .js .nav-cta-item { border-bottom: 0; }
  .js .nav-toggle { display: none; }
  .js .product-menu {
    position: static;
    width: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 14px 14px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .js .product-menu a { padding: 9px 0; }
  .js .product-menu span { font-size: 15px; color: rgba(255, 255, 255, 0.76); }
  .js .product-menu small { font-size: 11px; }

  html:not(.js) .site-header { position: static; height: auto; }
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: 10px; gap: 10px; }
  html:not(.js) .menu-button { display: none; }
  html:not(.js) .nav-panel { width: 100%; margin: 0; }
  html:not(.js) .nav-links { display: flex; flex-wrap: wrap; gap: 4px 18px; padding-bottom: 8px; }
  html:not(.js) .nav-link { padding: 6px 0; }
  html:not(.js) .product-menu { position: static; display: flex; flex-wrap: wrap; width: auto; padding: 2px 0 0; border: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  html:not(.js) .product-menu a { flex-direction: row; gap: 6px; padding: 4px 0; }
  html:not(.js) .product-menu span { font-size: 13px; color: #fff; }
  html:not(.js) .product-menu small { font-size: 11px; }
  html:not(.js) .nav-cta { margin-left: 8px; }

  h1 { font-size: clamp(40px, 10vw, 64px); }
  .hero { padding-top: 72px; min-height: calc(100svh - var(--nav-h) + 28px); }
  .hero-scene { min-height: 0; margin-top: 26px; }
  .signal-plot { display: none; }
  /* Mobile horizon: a faint line-drawn surface between the copy and the stage grid */
  .hero-planet {
    display: block;
    position: relative;
    flex: 0 0 auto;
    height: clamp(118px, 28vw, 210px);
    margin-top: 30px;
    overflow: hidden;
    background: #000;
    pointer-events: none;
    z-index: 0;
  }
  .cosmos-art { display: none; }
  .hero-planet img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 64% 54%;
  }
  .hero-planet::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
  }
  .stage-track { grid-template-columns: 1fr 1fr; row-gap: 30px; margin-top: 0; }
  .stage { padding: 18px 22px 0 0; }
  .stage:nth-child(2n) { padding: 18px 0 0 22px; }
  .stage::after { font-size: 36px; right: 22px; }
  .stage:nth-child(2n)::after { right: 0; }
  .stage-cap .cap-items { font-size: 10px; }
  .wave-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .chain-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .product-card:nth-child(3) { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps.four { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-row > div { padding: 26px 8px; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid > .case-card,
  .case-grid > .case-card.is-wide { grid-column: auto; }
  .steps-five { grid-template-columns: 1fr 1fr; }
  .u-grid.four { grid-template-columns: 1fr 1fr; }
  .delivery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom p:last-child { text-align: left; }
  .cta-band { padding: 64px 30px; }
  .product-hero .wrap { grid-template-columns: 1fr; padding: 64px 0 58px; }
  .visual-frame { aspect-ratio: 4 / 3; }
  .feature-grid, .feature-grid.four { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .u-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; padding-bottom: 84px; }
  .contact-aside { position: static; }
}

@media (max-width: 620px) {
  .wrap, .wrap.narrow, .header-inner { width: calc(100% - 36px); }
  .section { padding: 80px 0; }
  .section.tight { padding: 64px 0; }
  .hero { padding-top: 42px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(36px, 10.6vw, 50px); }
  .hero-sub { margin-top: 20px; font-size: 15px; }
  .hero-actions { margin-top: 26px; }
  .hero-scene { margin-top: 36px; }
  .stage-track { column-gap: 18px; row-gap: 26px; }
  .stage { padding: 16px 18px 0 0; }
  .stage:nth-child(2n) { padding: 16px 0 0 18px; }
  .stage::after { font-size: 30px; right: 18px; }
  .stage:nth-child(2n)::after { right: 0; }
  .stage-name { font-size: 20px; }
  .stage-cap { font-size: 11.5px; }
  .stage-cap .cap-items { font-size: 10.5px; white-space: normal; }
  .stage-next { display: none; }
  .wave-grid { grid-template-columns: 1fr; gap: 26px; }
  .wave-grid li { padding-right: 0; }
  .chain-panel { padding: 30px 24px; min-height: 0; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card:nth-child(n) { grid-column: span 1; }
  .case-grid { grid-template-columns: 1fr; }
  .case-foot { justify-content: flex-start; }
  .product-art { height: 190px; }
  .steps { grid-template-columns: 1fr; }
  .steps.four { grid-template-columns: 1fr; }
  .steps-five { grid-template-columns: 1fr; }
  .u-grid.four { grid-template-columns: 1fr; }
  .arch-layers, .arch-engines { grid-template-columns: 1fr; }
  .arch-engine.is-data, .arch-engine.is-world { grid-column: auto; }
  .arch-layers li { padding: 22px 22px 18px; }
  .arch-engine { flex-direction: column; align-items: flex-start; gap: 5px; }
  .arch-engine em { margin-left: 0; }
  .delivery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { margin-top: 38px; }
  .cta-band { padding: 52px 22px; border-radius: 24px; }
  .cta-band h2 { font-size: clamp(30px, 8vw, 40px); }
  .feature-grid, .feature-grid.four { grid-template-columns: 1fr; }
  .feature { padding: 26px 24px; }
  .u-card { padding: 26px 24px; }
  .spec-table th { width: 38%; }
  .form-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; border-radius: 22px; }
  .subnav .wrap {
    gap: 22px;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 26px), transparent 100%);
  }
  .product-hero h1 { font-size: clamp(38px, 10.6vw, 52px); }
  .console, .score-panel, .module-panel { inset: 6% 6% 18%; }
  .console li { font-size: 10px; }
  .product-hero .hero-actions .btn { width: 100%; }
}

@media (max-width: 1024px) {
  .case-index {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 34px 0 38px;
  }
  .case-index a { flex: 0 0 196px; padding: 16px 18px 18px; }
  .case-index a:first-child { padding-left: 18px; }
  .case-index a:last-child { border-right: 1px solid var(--line); }
  .case-story { grid-template-columns: 1fr; }
  .case-story:nth-child(even) .case-figure { order: 0; }
  .case-figure { min-height: 0; aspect-ratio: 16 / 9; }
  .case-figure.is-ui { aspect-ratio: auto; padding: 24px 24px 0; }
  .case-body { padding: 32px 30px 30px; }
}

@media (max-width: 620px) {
  .case-index {
    margin: 28px 0 32px;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30px), transparent 100%);
  }
  .case-index a { flex-basis: 176px; padding: 14px 16px 16px; }
  .case-index a:first-child { padding-left: 16px; }
  .case-index b { font-size: 13.5px; }
  .case-index em { font-size: 11.5px; }
  .case-figure { aspect-ratio: 4 / 3; }
  .case-figure.is-ui { padding: 16px 16px 0; }
  .case-figure.is-ui figcaption { margin-top: 14px; padding: 12px 2px 14px; }
  .case-body { padding: 26px 22px 28px; }
  .case-lead { font-size: 14px; }
  .case-points div { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .case-figure figcaption { inset-inline: 16px; bottom: 14px; font-size: 10px; }
  .case-figure.is-ui figcaption { inset-inline: auto; bottom: auto; }
  .case-topline { align-items: flex-start; }
  .table-scroll {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 36px), transparent 100%);
  }
  .table-hint { display: block; margin-top: 12px; color: var(--quiet); font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* Technology page */
.tech-stack .l-data { --lc-dark: #7cb8ff; }
.tech-stack .l-skill { --lc-dark: #b6a2ff; }
.tech-stack .l-learn { --lc-dark: #ffb98f; }
.tech-main .section { padding: 112px 0; }
.tech-main .section.tech-cont { padding-top: 0; }
.tech-main .section.tech-cont > .wrap { padding-top: 112px; border-top: 1px solid var(--line); }
.tech-main .section.night.tech-cont > .wrap { border-top-color: rgba(255, 255, 255, 0.1); }
.tech-main #loop { background: var(--mist); }
.tech-part {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-bottom: 64px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}
.tech-part span { color: var(--quiet); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; }
.tech-part b { color: var(--ink); font-size: 15px; font-weight: 600; }
.tech-part em { margin-left: auto; color: var(--muted); font-size: 13.5px; font-style: normal; }
.night .tech-part { border-bottom-color: rgba(255, 255, 255, 0.16); }
.night .tech-part span { color: #8e8e93; }
.night .tech-part b { color: var(--night-text); }
.night .tech-part em { color: #86868b; }
.subnav-sep { flex: none; width: 1px; height: 12px; background: var(--line-strong); }

/* Data engine on night */
#data-engine .tech-media { border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3); }

/* Hero */
.tech-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h) - 52px + 32px);
  min-height: calc(100svh - var(--nav-h) - 52px + 32px);
  padding: 88px 0 104px;
  background: #05070a;
  color: #fff;
  overflow: clip;
}
.tech-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background-position: 64% 50%; background-size: cover; background-repeat: no-repeat; }
.tech-hero-bg img,
.tech-hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; filter: saturate(0.6) contrast(1.05); }
.tech-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 60% at 80% 46%, rgba(110, 92, 255, 0.2), rgba(110, 92, 255, 0) 70%),
    radial-gradient(40% 50% at 8% 100%, rgba(0, 113, 227, 0.22), rgba(0, 113, 227, 0) 70%),
    linear-gradient(90deg, rgba(3, 5, 9, 0.96) 0%, rgba(3, 5, 9, 0.86) 34%, rgba(3, 5, 9, 0.46) 66%, rgba(3, 5, 9, 0.62) 100%),
    linear-gradient(0deg, rgba(3, 5, 9, 0.95) 0%, rgba(3, 5, 9, 0) 42%),
    linear-gradient(180deg, rgba(3, 5, 9, 0.7) 0%, rgba(3, 5, 9, 0) 26%);
}
.tech-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.6fr);
  align-items: center;
  gap: 64px;
}
.tech-hero-copy { position: relative; max-width: 720px; }
.tech-kicker { display: flex; align-items: center; gap: 12px; color: #a1a1a6; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.tech-kicker i { width: 28px; height: 1px; background: linear-gradient(90deg, #6ab0ff, #b6a2ff); }
.tech-hero h1 { margin-top: 22px; font-size: clamp(40px, 4.4vw, 62px); line-height: 1.08; }
.tech-hero .accent {
  background: linear-gradient(92deg, #8cc2ff 0%, #b6a2ff 52%, #ffb98f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.tech-hero .hero-sub {
  margin: 26px 0 0;
  max-width: 600px;
  color: #b4b4b9;
  font-size: 18px;
  line-height: 1.7;
  text-wrap: pretty;
}
.tech-hero .hero-actions { margin-top: 38px; }

.tech-stack {
  position: relative;
  justify-self: end;
  width: min(420px, 100%);
  padding: 22px 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(22, 26, 38, 0.66), rgba(8, 10, 16, 0.6));
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.tech-stack-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 16px;
  color: #86868b;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}
.tech-stack-head em { color: #5f5f66; font-style: normal; }
.tech-stack ol { display: grid; gap: 10px; margin-right: 26px; }
.tech-stack li {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 16px 18px;
  overflow: clip;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--lc-dark) 16%, transparent), rgba(255, 255, 255, 0.02) 70%);
}
.tech-stack li::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--lc-dark); }
.tech-stack li > span { color: var(--lc-dark); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; }
.tech-stack li b { display: block; color: #f5f5f7; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.tech-stack li em { display: block; margin-top: 3px; color: #86868b; font-family: var(--mono); font-size: 10px; font-style: normal; letter-spacing: 0.14em; }
.tech-stack li small { color: #a1a1a6; font-size: 11.5px; text-align: right; }
.tech-stack-body { position: relative; }
.tech-stack-loop {
  position: absolute;
  top: 36px;
  bottom: 36px;
  right: 6px;
  width: 16px;
  border: 1px dashed rgba(182, 162, 255, 0.5);
  border-left: 0;
  border-radius: 0 12px 12px 0;
}
.tech-stack-loop::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: -4px;
  border: 4px solid transparent;
  border-right: 6px solid #8cc2ff;
  border-left: 0;
}
.tech-stack-engines {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  padding: 14px 2px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #86868b;
  font-size: 11px;
}
.tech-stack-engines span { display: flex; flex-direction: column; gap: 2px; }
.tech-stack-engines b {
  color: #a1a1a6;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
}
.tech-stack-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 10px;
  padding: 0 2px;
  color: #86868b;
  font-size: 12px;
}
.tech-stack-foot b {
  background: linear-gradient(92deg, #8cc2ff, #b6a2ff 55%, #ffb98f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 13px;
  font-weight: 600;
}
.tech-hero + .section:not(.night) {
  position: relative;
  z-index: 2;
  margin-top: -32px;
  border-radius: 32px 32px 0 0;
  background: var(--paper);
  box-shadow: 0 -26px 54px rgba(4, 8, 18, 0.3);
}

/* Why: four breakpoints */
.tech-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tech-why li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: var(--mist);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.tech-why li:hover { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 18px 44px rgba(0, 0, 0, 0.07); transform: translateY(-3px); }
.tech-why-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tech-why-top span { color: var(--ink); font-size: 36px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.tech-why-top i { padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 500; }
.tech-why-gap {
  margin-top: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--quiet);
  font-size: 13.5px;
}
.tech-why-gap span { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; }
.tech-why-gap em { display: block; color: var(--muted); font-style: normal; line-height: 1.55; text-wrap: pretty; }
.tech-why h3 { margin-top: 20px; font-size: 21px; letter-spacing: -0.02em; }
.tech-why h3 + p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.65; text-wrap: pretty; }

/* Architecture */
.tech-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tech-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.tech-tier + .tech-tier::after {
  content: "→";
  position: absolute;
  top: 50%;
  left: -20px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -5px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--quiet);
  font-size: 13px;
}
.tech-tier header span { color: var(--blue-text); font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; }
.tech-tier header h3 { margin-top: 14px; font-size: 30px; letter-spacing: -0.03em; }
.tech-tier header p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.tech-tier ul { display: flex; flex: 1; flex-wrap: wrap; align-content: flex-start; gap: 8px; margin-top: 24px; }
.tech-tier li { padding: 6px 12px; border-radius: 999px; background: var(--mist); color: var(--ink-soft); font-size: 12.5px; }
.tech-tier-value { margin-top: 24px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.tech-tier-entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.tech-tier-entry span { color: var(--quiet); font-size: 12px; }
.tech-tier-entry b { font-size: 14px; font-weight: 600; }
.tech-tier-entry i { color: var(--quiet); font-style: normal; transition: transform 0.2s ease, color 0.2s ease; }
.tech-tier-entry:hover b, .tech-tier-entry:hover i { color: var(--blue-text); }
.tech-tier-entry:hover i { transform: translate(2px, -2px); }

.tech-rails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 20px; margin-top: 20px; }
.tech-rail {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 22px;
  overflow: clip;
  border-radius: 16px;
  background: #0b0d12;
  color: #f5f5f7;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tech-rail.is-data { grid-column: 1 / 3; }
.tech-rail.is-world { grid-column: 2 / 4; }
.tech-rail b { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; }
.tech-rail span { color: #86868b; font-size: 13px; }
.tech-rail i { margin-left: auto; color: #8e8e93; font-style: normal; transition: transform 0.2s ease, color 0.2s ease; }
.tech-rail:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16); }
.tech-rail:hover i { transform: translateX(3px); color: #fff; }
.tech-rails-base {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 6px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}
.tech-rails-base span { color: var(--ink); letter-spacing: 0.14em; }

/* Media */
.tech-media {
  position: relative;
  overflow: clip;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #05070a;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 40px 80px rgba(8, 14, 30, 0.12);
}
.tech-media video,
.tech-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tech-media figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 14px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #07090d;
  color: #8e8e93;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}


.tech-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 64px; }
.tech-metrics > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 4px 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}
.tech-metrics b {
  grid-row: span 2;
  color: var(--ink);
  font-size: clamp(52px, 5.4vw, 76px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.tech-metrics sup { margin-left: 2px; color: var(--blue-text); font-size: 0.5em; font-weight: 600; vertical-align: 0.62em; line-height: 0; }
.tech-metrics small { margin-left: 6px; color: var(--blue-text); font-size: 0.32em; font-weight: 600; letter-spacing: -0.01em; }
.tech-metrics span { color: var(--ink); font-size: 16px; font-weight: 600; }
.tech-metrics em { align-self: start; color: var(--muted); font-size: 13px; font-style: normal; line-height: 1.55; }
#data-engine .source { margin-top: 22px; }

/* World engine */
.tech-world-visual {
  position: relative;
  overflow: clip;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #07090d;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}
.tech-world-visual img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 50%; background: #05080d; transform-origin: 62% 55%; animation: world-drift 24s ease-in-out infinite alternate; }
@keyframes world-drift { from { transform: scale(1); } to { transform: scale(1.045); } }
@media (prefers-reduced-motion: reduce) { .tech-world-visual img { animation: none; } }
.tech-world-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.tech-world-visual figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.tech-chips { position: absolute; top: 20px; left: 20px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; max-width: calc(100% - 40px); }
.tech-chips span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 8, 12, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #d2d2d7;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.tech-layers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.tech-layer {
  position: relative;
  padding: 30px 26px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: #0d0e11;
}
.tech-layer b { color: #6ab0ff; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; }
.tech-layer h3 { margin-top: 16px; font-size: 20px; letter-spacing: -0.02em; }
.tech-layer ul { display: grid; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.tech-layer li { position: relative; padding-left: 16px; color: #a1a1a6; font-size: 13.5px; line-height: 1.5; }
.tech-layer li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: #6ab0ff; }
.tech-backend-line { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 18px; padding: 0; color: #86868b; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.03em; line-height: 1.6; }
.tech-backend-line span { color: #6ab0ff; letter-spacing: 0.12em; }
.tech-backend-line + .tech-backend-line { margin-top: 6px; }

.tech-loops { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.tech-loop-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: #0a0b0e;
}
.tech-loop-card > b { color: #6ab0ff; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; }
.tech-loop-card h3 { margin-top: 14px; font-size: 20px; letter-spacing: -0.02em; }
.tech-loop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 5px; margin-top: 20px; }
.tech-loop span { padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: #d2d2d7; font-size: 12px; }
.tech-loop i { color: #6ab0ff; font-size: 12px; font-style: normal; }
.tech-loop-card p { margin-top: auto; padding-top: 20px; color: #86868b; font-size: 13.5px; line-height: 1.6; }


/* Flywheel */
.tech-fly-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 24px; margin-top: 72px; }
.tech-fly-steps li { padding-top: 18px; border-top: 1px solid var(--line-strong); }
.tech-fly-steps li:last-child { border-top-color: var(--blue); }
.tech-fly-steps b { color: var(--quiet); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; }
.tech-fly-steps li:last-child b { color: var(--blue-text); }
.tech-fly-steps h3 { margin-top: 8px; font-size: 19px; letter-spacing: -0.02em; }
.tech-fly-steps p { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.6; text-wrap: pretty; }

/* Assets matrix */
.tech-matrix { overflow: clip; border: 1px solid #d2d2d7; border-radius: var(--radius); background: #fff; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08); }
.tech-matrix-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 0.85fr); }
.tech-matrix-row + .tech-matrix-row { border-top: 1px solid var(--line); }
.tech-matrix-row > * { padding: 28px 28px; }
.tech-matrix-row > * + * { border-left: 1px solid var(--line); }
.tech-matrix-row > :last-child { background: #f5f5f7; }
.tech-matrix-head { background: var(--ink); }
.tech-matrix-head > span { padding-top: 18px; padding-bottom: 17px; color: #a1a1a6; font-size: 12.5px; font-weight: 500; }
.tech-matrix-head > span + span { border-left-color: rgba(255, 255, 255, 0.12); }
.tech-matrix-head > span:nth-child(3) { color: #6ab0ff; }
.tech-matrix-head > span:last-child { color: #fff; background: #2c2c2e; }
.tech-matrix-layer { position: relative; }
.tech-matrix-layer b { color: var(--quiet); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; }
.tech-matrix-layer h3 { margin-top: 8px; font-size: 22px; letter-spacing: -0.02em; }
.tech-matrix-layer small { display: block; margin-top: 6px; color: var(--quiet); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.03em; }
.tech-matrix-row h4 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; }
.tech-matrix-row p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.tech-matrix ul { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-matrix li { padding: 6px 11px; border-radius: 999px; background: rgba(0, 113, 227, 0.08); color: #0058b0; font-size: 12.5px; }
.tech-matrix ul.is-method li { border: 1px dashed var(--line-strong); background: #fff; color: var(--ink-soft); }
.tech-matrix-foot { margin-top: 20px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.tech-matrix-foot b { margin-right: 8px; color: var(--ink); font-weight: 600; }
.tech-matrix-foot a { color: var(--blue-text); text-decoration: none; }
.tech-matrix-foot a:hover { text-decoration: underline; }

@media (max-width: 1080px) {
  .tech-hero-inner { gap: 36px; }
  .tech-why { grid-template-columns: 1fr 1fr; }
  .tech-layers { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 901px) and (max-height: 760px) {
  .tech-hero { padding: 64px 0 88px; }
  .tech-hero h1 { font-size: clamp(38px, 4.6vw, 58px); }
  .tech-hero .hero-sub { margin-top: 18px; font-size: 16px; }
  .tech-hero .hero-actions { margin-top: 26px; }
}

@media (max-width: 900px) {
  .tech-main .section { padding: 88px 0; }
  .tech-hero { min-height: 0; padding: 72px 0 84px; }
  .tech-hero-bg img, .tech-hero-video { object-position: 50% 42%; }
  .tech-hero-bg::after {
    background:
      linear-gradient(180deg, rgba(3, 5, 9, 0.52) 0%, rgba(3, 5, 9, 0.72) 26%, rgba(3, 5, 9, 0.93) 66%, rgba(3, 5, 9, 0.97) 100%),
      linear-gradient(90deg, rgba(3, 5, 9, 0.5), rgba(3, 5, 9, 0.22));
  }
  .tech-hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .tech-stack { justify-self: stretch; width: 100%; }
  .tech-stack li small { display: block; }
  .tech-hero h1 { font-size: clamp(40px, 8.4vw, 60px); }
  .tech-hero .hero-sub { font-size: 16.5px; }
  .tech-tiers { grid-template-columns: 1fr; gap: 16px; }
  .tech-tier + .tech-tier::after { content: "↓"; top: -23px; left: 50%; margin: 0 0 0 -15px; }
  .tech-rails { grid-template-columns: 1fr; }
  .tech-rail.is-data, .tech-rail.is-world { grid-column: auto; }
  .tech-fly-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; margin-top: 56px; }
  .tech-metrics { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  .tech-matrix-head { display: none; }
  .tech-matrix-row { grid-template-columns: 1fr 1fr; }
  .tech-matrix-layer { grid-column: 1 / -1; border-bottom: 1px solid var(--line); background: var(--ink); }
  .tech-matrix-layer h3 { color: #fff; }
  .tech-matrix-layer b, .tech-matrix-layer small { color: #a1a1a6; }
  .tech-matrix-row + .tech-matrix-row { border-top: 0; }
  .tech-matrix-layer::before { top: 22px; bottom: 22px; }
  .tech-matrix-row > :nth-child(2) { grid-column: 1 / -1; border-left: 0; border-bottom: 1px solid var(--line); }
  .tech-matrix-row > :nth-child(3) { border-left: 0; }
  .tech-matrix-row > [data-label]::before { content: attr(data-label); display: block; margin-bottom: 10px; color: var(--quiet); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; }
  .tech-matrix-row > :nth-child(3)[data-label]::before { color: var(--blue-text); }
}

@media (max-width: 620px) {
  .tech-main .section { padding: 72px 0; }
  .tech-hero { padding: 56px 0 72px; }
  .tech-hero h1 { font-size: clamp(32px, 9.2vw, 44px); }
  .tech-hero .hero-sub { font-size: 15.5px; line-height: 1.65; }
  .tech-hero .hero-actions .btn { width: 100%; }
  .tech-stack { padding: 18px 16px 14px; border-radius: 22px; }
  .tech-stack ol { margin-right: 22px; }
  .tech-stack li { grid-template-columns: 24px minmax(0, 1fr); padding: 14px 14px 14px 16px; }
  .tech-stack li small { grid-column: 2; text-align: left; }
  .tech-stack-loop { right: 4px; }
  .tech-why { grid-template-columns: 1fr; gap: 12px; }
  .tech-why li { padding: 24px 22px 26px; }
  .tech-why-gap { margin-top: 22px; }
  .tech-tier { padding: 28px 22px 22px; }
  .tech-tier::before { left: 22px; }
  .tech-tier header h3 { font-size: 26px; }
  .tech-rail { flex-wrap: wrap; gap: 4px 12px; min-height: 0; padding: 16px 18px; }
  .tech-rail span { flex-basis: 100%; order: 3; }
  .tech-rails-base { flex-direction: column; }
  .tech-layers { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .tech-loops { grid-template-columns: 1fr; gap: 12px; }
  .tech-world-visual figcaption { left: 14px; right: 14px; bottom: 12px; font-size: 10px; }
  .tech-chips { top: 12px; left: 12px; gap: 6px; }
  .tech-chips span { padding: 5px 8px; font-size: 10px; }
  .tech-chips span:nth-child(n + 3) { display: none; }
  .tech-media figcaption { padding: 12px 16px; font-size: 10px; }
  .tech-fly-steps { grid-template-columns: 1fr 1fr; gap: 24px 18px; margin-top: 44px; }
  .tech-metrics > div { grid-template-columns: 1fr; gap: 6px; padding-top: 22px; }
  .tech-metrics b { grid-row: auto; margin-bottom: 8px; font-size: 52px; white-space: nowrap; }
  .tech-matrix-row { grid-template-columns: 1fr; }
  .tech-matrix-row > * { padding: 20px 22px; }
  .tech-matrix-row > :nth-child(3) { border-bottom: 1px solid var(--line); }
  .tech-loop-card { padding: 24px 22px; }
}

@media (max-width: 620px) {
  .tech-part { margin-bottom: 44px; }
  .tech-part em { flex-basis: 100%; margin-left: 0; }
  .tech-main .section.tech-cont > .wrap { padding-top: 88px; }
}

/* Tech flywheel */
.tech-wheel { width: 100%; max-width: 660px; margin: 0 auto; }
.tech-wheel svg { display: block; width: 100%; height: auto; overflow: visible; font-family: inherit; }
.tech-wheel text { text-anchor: middle; dominant-baseline: central; }
.tw-band { fill: none; stroke: var(--ink); stroke-width: 26; stroke-linecap: round; }
.tw-band.is-deploy { stroke: var(--blue); }
.tw-band-label { fill: rgba(255, 255, 255, 0.82); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; }
.tw-band-label.is-deploy { fill: #fff; }
.tw-ticks { fill: none; stroke: #b8b8bf; stroke-width: 6; stroke-dasharray: 1 23.295; }
.tw-track { fill: none; stroke: #d2d2d7; stroke-width: 1; }
.tw-pulse { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 64 1192.64; animation: tw-spin 9s linear infinite; }
@keyframes tw-spin { to { stroke-dashoffset: -1256.64; } }
.tw-arcs { color: var(--ink-soft); }
.tw-arcs path { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; marker-end: url(#tw-arrow); }
.tw-node circle { fill: #fff; stroke: var(--ink); stroke-width: 1.2; }
.tw-node text { fill: var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; }
.tw-node.is-start circle { fill: var(--ink); }
.tw-node.is-start text { fill: #fff; }
.tw-zh { fill: var(--ink); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.tw-en { fill: var(--quiet); font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; }
.tw-core { fill: #fff; stroke: #d2d2d7; stroke-width: 1; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.1)); }
.tw-core-en { fill: var(--quiet); font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; }
.tw-core-zh { fill: var(--ink); font-size: 25px; font-weight: 600; letter-spacing: -0.02em; }
.tw-core-sub { fill: var(--muted); font-size: 11px; letter-spacing: 0.04em; }
@media (prefers-reduced-motion: reduce) { .tw-pulse { animation: none; } }
@media (prefers-reduced-motion: reduce) { .sf-atlas .pulse { animation: none; } }
@media (max-width: 620px) {
  .tw-band { stroke-width: 30; }
  .tw-band-label { font-size: 13px; letter-spacing: 0.1em; }
  .tw-node text { font-size: 14px; }
  .tw-zh { font-size: 24px; }
  .tw-en { font-size: 12.5px; letter-spacing: 0.08em; }
  .tw-core-en { font-size: 13px; }
  .tw-core-zh { font-size: 30px; }
  .tw-core-sub { font-size: 14px; }
}

/* Learning console */
.tech-console {
  overflow: clip;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #0b0d12;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}
.tc-top { display: flex; align-items: center; gap: 16px; padding: 14px 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.tc-dots { display: flex; gap: 6px; }
.tc-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2c2c30; }
.tc-top b { color: #d2d2d7; font-size: 13px; font-weight: 600; }
.tc-top em { margin-left: auto; color: #8e8e93; font-family: var(--mono); font-size: 10px; font-style: normal; letter-spacing: 0.12em; }
.tc-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.tc-chart { display: flex; flex-direction: column; padding: 28px 30px 24px; }
.tc-chart header, .tc-panel header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.tc-chart header b { color: #f5f5f7; font-size: 15px; font-weight: 600; }
.tc-chart header span { color: #8e8e93; font-size: 12px; }
.tc-bars {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 18px;
  min-height: 260px;
  margin-top: 28px;
  padding-top: 8px;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 25%);
  background-size: 100% calc(100% - 26px);
  background-repeat: no-repeat;
}
.tc-bars li { position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.tc-bars i { display: block; width: 64%; height: var(--h); margin: 0 auto; border-radius: 8px 8px 3px 3px; background: #3a3a3f; }
.tc-bars span { display: block; height: 26px; padding-top: 10px; color: #8e8e93; font-family: var(--mono); font-size: 10px; text-align: center; letter-spacing: 0.04em; }
.tc-bars em { position: absolute; left: 50%; z-index: 1; width: max-content; transform: translateX(-50%); padding: 4px 9px; border-radius: 999px; font-size: 11px; font-style: normal; white-space: nowrap; }
.tc-bars .is-fail i { border: 1px dashed #6e6e73; background: transparent; }
.tc-bars .is-fail::before { content: ""; position: absolute; left: -24%; right: 18%; bottom: calc(26px + var(--best)); border-top: 1px dashed #6ab0ff; }
.tc-bars .is-fail em { bottom: calc(26px + var(--best) + 10px); background: rgba(255, 255, 255, 0.08); color: #d2d2d7; }
.tc-bars .is-ship i { background: #0071e3; }
.tc-bars .is-ship em { bottom: calc(26px + var(--h) + 12px); background: rgba(0, 113, 227, 0.18); color: #6ab0ff; }
.tc-side { display: grid; align-content: start; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.tc-panel { padding: 26px 26px 24px; }
.tc-panel + .tc-panel { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.tc-panel header { color: #6ab0ff; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; }
.tc-checks { display: grid; gap: 12px; margin-top: 18px; }
.tc-checks li { display: flex; align-items: center; gap: 10px; color: #d2d2d7; font-size: 13.5px; }
.tc-checks li::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(106, 176, 255, 0.14); color: #6ab0ff; font-size: 10px; }
.tc-checks b { margin-left: auto; color: #8e8e93; font-size: 12px; font-weight: 400; }
.tc-fails { display: grid; gap: 14px; margin-top: 18px; }
.tc-fails li { display: grid; gap: 7px; color: #d2d2d7; font-size: 13px; }
.tc-fails i { display: block; height: 6px; border-radius: 999px; background: linear-gradient(90deg, #6e6e73 var(--w), rgba(255, 255, 255, 0.06) var(--w)); }
.tc-panel p { margin-top: 18px; color: #86868b; font-size: 12.5px; line-height: 1.6; }
.tech-console figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 14px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #07090d;
  color: #8e8e93;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.tech-layers.is-five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tech-layers.is-five .tech-layer { padding: 28px 22px 26px; }
.tech-layer h3 + p { margin-top: 6px; color: #86868b; font-size: 13px; }

/* Assets claim */
.tech-claim { display: grid; gap: 4px; margin: 0 0 56px; font-size: clamp(28px, 3.2vw, 44px); font-weight: 600; line-height: 1.18; letter-spacing: -0.03em; }
.tech-claim span:first-child { color: #86868b; }
.tech-claim span:last-child { color: var(--ink); }

/* Roadmap */
.tech-road { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.tech-road li { display: flex; flex-direction: column; padding-bottom: 4px; }
.tr-stack { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 164px; padding-bottom: 22px; border-bottom: 1px solid var(--line-strong); }
.tr-stack i { display: flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 8px; background: var(--mist); color: var(--muted); font-size: 12px; font-style: normal; }
.tr-stack i.is-new { background: var(--ink); color: #fff; }
.tech-road li.is-goal .tr-stack { margin-bottom: -1px; border-bottom: 2px solid var(--blue); }
.tech-road li.is-goal .tr-stack i.is-new { background: var(--blue); }
.tr-phase { margin-top: 24px; color: var(--quiet); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; }
.tech-road li > b { margin-top: 6px; color: var(--blue-text); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; }
.tech-road h3 { margin-top: 14px; font-size: 22px; letter-spacing: -0.02em; }
.tech-road p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.65; text-wrap: pretty; }
.tech-road p { margin-bottom: 18px; }
.tech-road small { display: block; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 12px; line-height: 1.4; }

@media (max-width: 1080px) {
  .tech-layers.is-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tech-road { grid-template-columns: 1fr 1fr; gap: 48px 28px; }
}
@media (max-width: 900px) {
  .tc-body { grid-template-columns: 1fr; }
  .tc-side { grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, 0.08); border-left: 0; }
  .tc-panel + .tc-panel { border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.08); }
}
@media (max-width: 620px) {
  .tc-top em { display: none; }
  .tc-chart { padding: 22px 18px 18px; }
  .tc-bars { gap: 0 8px; min-height: 220px; }
  .tc-bars span { font-size: 8.5px; letter-spacing: 0; }
  .tc-bars em { font-size: 10px; padding: 3px 7px; }
  .tc-bars .is-fail em { left: 0; transform: translateX(-30%); }
  .tc-bars .is-ship em { left: auto; right: 0; transform: none; }
  .tc-side { grid-template-columns: 1fr; }
  .tc-panel + .tc-panel { border-top: 1px solid rgba(255, 255, 255, 0.08); border-left: 0; }
  .tc-panel { padding: 22px 20px; }
  .tech-layers.is-five { grid-template-columns: 1fr; }
  .tech-claim { margin-bottom: 40px; }
  .tech-road { grid-template-columns: 1fr; gap: 40px; }
  .tr-stack { height: auto; }
}

/* About: capability leaps */
.leap-grid li { display: flex; flex-direction: column; padding-bottom: 4px; }
.wave-grid .leap-verb { margin-top: 8px; color: var(--ink); font-size: 16px; font-weight: 500; line-height: 1.5; }
.wave-grid .leap-abil { margin-top: 6px; color: var(--quiet); font-size: 13px; }
.leap-grid dl { margin: 22px 0 20px; border-top: 1px solid var(--line); }
.leap-grid dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.leap-grid dt { color: var(--quiet); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; }
.leap-grid dd { margin: 5px 0 0; color: var(--ink); font-size: 14px; line-height: 1.55; }
.leap-grid .wave-now { align-self: flex-start; margin-top: auto; }
.leap-grid li.current .wave-now { background: var(--blue); color: #fff; }

/* About: horizon */
.horizon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: clip; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); background: rgba(255, 255, 255, 0.14); }
.horizon li { padding: 34px 30px 36px; background: var(--night); }
.horizon span { color: #8e8e93; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; }
.horizon h3 { margin-top: 22px; color: var(--night-text); font-size: 22px; }
.horizon p { margin-top: 10px; color: #a1a1a6; font-size: 14.5px; line-height: 1.65; }
.horizon li.is-now { background: #10141c; }
.horizon li.is-now span, .horizon li.is-now h3 { color: #6ab0ff; }
.horizon-close { margin-top: 64px; text-align: center; }
.horizon-close p { color: var(--night-text); font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; line-height: 1.45; letter-spacing: -0.02em; }
.night .horizon-close .trust-link { color: #6ab0ff; }

@media (max-width: 900px) {
  .horizon { grid-template-columns: 1fr; }
  .horizon-close { margin-top: 44px; text-align: left; }
  .horizon-close p br { display: none; }
}
@media (max-width: 600px) {
  .horizon li { padding: 26px 22px 28px; }
  .horizon-close p { font-size: 20px; }
}

/* About: why */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-grid li { display: flex; flex-direction: column; padding: 34px 34px 32px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.why-grid span { color: var(--blue-text); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; }
.why-grid h3 { margin-top: 18px; font-size: 22px; }
.why-grid p { margin-top: 10px; max-width: 480px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.why-grid .trust-link { margin-top: 18px; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 600px) {
  .why-grid li { padding: 26px 22px 24px; }
  .why-grid h3 { font-size: 20px; }
  #future .lede br,
  #why .lede br { display: none; }
}

/* ===== Language switcher ===== */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 14px;
  flex: none;
}
.header-right .menu-button { margin-left: 0; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.lang-switch:hover,
.lang-switch:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
@media (max-width: 900px) {
  .header-right { margin-left: auto; gap: 8px; }
}

/* ===== English typography ===== */
html[lang="en"] {
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
html[lang="en"] body {
  letter-spacing: -0.011em;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
html[lang="en"] p,
html[lang="en"] li,
html[lang="en"] dd,
html[lang="en"] h3 { overflow-wrap: break-word; }
html[lang="en"] h1 {
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
html[lang="en"] h2 {
  font-size: clamp(32px, 4.1vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.028em;
}
html[lang="en"] h3 { letter-spacing: -0.012em; }
html[lang="en"] .lede {
  max-width: 640px;
  font-size: 18.5px;
  line-height: 1.6;
  letter-spacing: 0;
}
html[lang="en"] .hero-sub { letter-spacing: 0; }
html[lang="en"] .eyebrow { letter-spacing: 0.14em; }
html[lang="en"] .nowrap { white-space: normal; }
html[lang="en"] .tech-hero h1 { font-size: clamp(34px, 3.7vw, 54px); letter-spacing: -0.03em; }
html[lang="en"] .tech-hero .accent { white-space: normal; }
html[lang="en"] .hero h1,
html[lang="en"] .product-hero h1,
html[lang="en"] .about-hero h1 { letter-spacing: -0.032em; }
html[lang="en"] .stage-name { font-size: 21px; }
html[lang="en"] .cta-band h2 { font-size: clamp(30px, 3.6vw, 46px); }
html[lang="en"] .product-menu { width: 560px; }
html[lang="en"] .product-menu small { font-size: 11.5px; }
html[lang="en"] .case-points div { grid-template-columns: 100px minmax(0, 1fr); }
html[lang="en"] .case-points dt { letter-spacing: 0.04em; overflow-wrap: normal; }
html[lang="en"] .tw-zh { font-size: 18px; }
html[lang="en"] .tw-core-zh { font-size: 24px; }
html[lang="en"] .vision-split .quote { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.16; }

@media (max-width: 900px) {
  html[lang="en"] h1 { font-size: clamp(36px, 7.4vw, 56px); }
  html[lang="en"] h2 { font-size: clamp(30px, 5.4vw, 40px); }
  html[lang="en"] .lede { font-size: 17px; }
  html[lang="en"] .stage-name { font-size: 19px; }
  html[lang="en"] .product-menu { width: auto; }
}
@media (max-width: 620px) {
  html[lang="en"] h1 { font-size: clamp(30px, 8.4vw, 42px); letter-spacing: -0.03em; }
  html[lang="en"] h2 { font-size: clamp(26px, 7.2vw, 34px); }
  html[lang="en"] .lede { font-size: 16px; }
  html[lang="en"] .stage-name { font-size: 16.5px; }
  html[lang="en"] .case-points div { grid-template-columns: 92px minmax(0, 1fr); gap: 10px; }
  html[lang="en"] .vision-split .quote { font-size: 22px; line-height: 1.26; }
  html[lang="en"] .stage-num { font-size: 9.5px; letter-spacing: 0.1em; }
  html[lang="en"] .cta-band h2 { font-size: clamp(26px, 7vw, 34px); }
  html[lang="en"] .tw-zh { font-size: 15px; }
  html[lang="en"] .tw-en { font-size: 11px; }
  html[lang="en"] .tw-core-zh { font-size: 22px; }
  html[lang="en"] .tw-core-en { font-size: 11px; }
  html[lang="en"] .tw-core-sub { font-size: 11px; }
  html[lang="en"] .lang-switch { font-size: 11px; padding: 0 10px; }
}

/* Home hero: two lines on desktop; the first line is ~18em wide, so size scales with vw */
html[lang="en"] .hero h1 { font-size: clamp(36px, 4.6vw, 72px); line-height: 1.06; letter-spacing: -0.036em; }
@media (min-width: 901px) {
  html[lang="en"] .hero h1 { margin-inline: calc(50% - 50vw + 32px); }
}
html[lang="en"] .hero h1 .nowrap,
html[lang="en"] .hero h1 .hero-line { white-space: nowrap; }
@media (min-width: 901px) and (min-height: 861px) and (max-height: 1000px) {
  html[lang="en"] .hero h1 { font-size: clamp(42px, 4.4vw, 68px); }
}
@media (min-width: 901px) and (max-height: 860px) {
  html[lang="en"] .hero h1 { font-size: clamp(38px, 3.7vw, 54px); }
}
@media (min-width: 901px) and (max-height: 740px) {
  html[lang="en"] .hero h1 { font-size: clamp(34px, 3.6vw, 46px); }
}
@media (max-width: 900px) {
  html[lang="en"] .hero h1 { font-size: clamp(34px, 6.6vw, 56px); }
  html[lang="en"] .hero h1 .hero-line { white-space: normal; }
}
@media (max-width: 620px) {
  html[lang="en"] .hero h1 { font-size: clamp(26px, 7.6vw, 38px); margin-top: 16px; }
  html[lang="en"] .hero-kicker { gap: 7px; padding: 5px 11px; font-size: 9.5px; letter-spacing: 0.06em; white-space: nowrap; }
}

/* SkillForge */
.sf-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 12px;
  padding: 20px 28px;
  border-radius: var(--radius);
  background: #0b0b0d;
  color: #d2d2d7;
}
.sf-base b { color: #f5f5f7; font-size: 15px; font-weight: 600; }
.sf-base ol { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 0 0 0 auto; padding: 0; list-style: none; }
.sf-base li { font-size: 14px; }
.sf-base li::after { content: "→"; margin: 0 14px; color: #6ab0ff; font-family: var(--mono); font-size: 11px; }
.sf-base li:last-child::after { content: none; }
@media (max-width: 720px) {
  .sf-base { padding: 18px 20px; }
  .sf-base ol { margin-left: 0; }
  .sf-base li::after { margin: 0 10px; }
}

/* SkillForge visuals */
.sf-hero { position: relative; overflow: hidden; background: #05070a; }
.sf-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: #05070a url("skillforge/hero-bg-poster.webp") 58% 50% / cover no-repeat; }
.sf-hero-bg video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; filter: saturate(0.6) contrast(1.05); }
.sf-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 60% at 80% 46%, rgba(110, 92, 255, 0.2), transparent 70%),
    radial-gradient(40% 50% at 8% 100%, rgba(0, 113, 227, 0.22), transparent 70%),
    linear-gradient(90deg, rgba(3, 5, 9, 0.96) 0%, rgba(3, 5, 9, 0.86) 34%, rgba(3, 5, 9, 0.46) 66%, rgba(3, 5, 9, 0.62) 100%),
    linear-gradient(0deg, rgba(3, 5, 9, 0.95) 0%, transparent 42%),
    linear-gradient(180deg, rgba(3, 5, 9, 0.7) 0%, transparent 26%);
}
.sf-hero .wrap { position: relative; z-index: 1; grid-template-columns: minmax(0, 720px); }
.sf-k { display: block; color: var(--quiet); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.sf-viz text { fill: var(--quiet); font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; }
.sf-tile, .sf-tier, .sf-stat, .sf-cv, .sf-q, .sf-use { border-radius: var(--radius); background: var(--mist); }
.section.mist :is(.sf-tile, .sf-tier, .sf-stat, .sf-cv, .sf-q, .sf-use) { background: #fff; }
.section.sf-cont { padding-top: 0; }
.section.sf-cont > .wrap { padding-top: 124px; border-top: 1px solid var(--line); }
@media (max-width: 1080px) { .section.sf-cont > .wrap { padding-top: 104px; } }
@media (max-width: 620px) { .section.sf-cont > .wrap { padding-top: 80px; } }

/* Bento */
.sf-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sf-tile { grid-column: span 2; display: flex; flex-direction: column; padding: 30px 30px 34px; overflow: hidden; }
.sf-tile.wide { grid-column: span 3; }
.sf-viz { position: relative; display: flex; flex: none; align-items: center; justify-content: center; height: 200px; margin: -6px -6px 22px; border-radius: 18px; background: radial-gradient(60% 70% at 50% 55%, rgba(0, 113, 227, 0.06), transparent 72%); }
.sf-viz svg { width: 100%; max-width: 260px; height: auto; max-height: 190px; overflow: visible; }
.sf-tile h3 { margin-top: 8px; font-size: 22px; letter-spacing: -0.02em; }
.sf-tile p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.sf-slab { transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.9s ease; }
.sf-slab.p { transition-delay: 0.12s; }
.sf-slab.l { transition-delay: 0.24s; }
.js .reveal:not(.in) .sf-slab.p { transform: translateY(14px); opacity: 0; }
.js .reveal:not(.in) .sf-slab.l { transform: translateY(28px); opacity: 0; }
.sf-bento + .sf-base { margin-top: 16px; }

/* Product boundary */
.sf-boundary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sf-boundary-card { position: relative; display: flex; flex-direction: column; padding: 30px 30px 34px; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 var(--line); }
.sf-boundary-card h3 { margin-top: 12px; font-size: 26px; letter-spacing: -0.025em; }
.sf-boundary-card p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.sf-boundary-card.focus { background: radial-gradient(90% 70% at 100% 0%, rgba(0, 113, 227, 0.26), transparent 62%), #0b0b0d; color: #f5f5f7; box-shadow: 0 24px 48px -30px rgba(0, 0, 0, 0.5); }
.sf-boundary-card.focus .sf-k { color: #6ab0ff; }
.sf-boundary-card.focus p { color: #c7c7cc; }
.sf-boundary-card + .sf-boundary-card::before { content: "→"; position: absolute; top: 50%; left: -16px; z-index: 1; width: 16px; color: var(--blue-text); font-family: var(--mono); font-size: 12px; text-align: center; transform: translateY(-50%); }

/* Tiers */
.sf-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sf-tier { display: flex; flex-direction: column; padding: 26px 26px 30px; }
.sf-layers { display: grid; gap: 8px; margin-bottom: 26px; padding: 22px; border-radius: 18px; background: var(--mist); }
.sf-layers i { display: flex; align-items: center; height: 40px; padding: 0 16px; border: 1px dashed var(--line-strong); border-radius: 12px; color: #aeaeb2; font-family: var(--mono); font-size: 11.5px; font-style: normal; letter-spacing: 0.04em; transform-origin: left center; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease; }
.sf-layers i.on { border: 0; color: #fff; box-shadow: 0 8px 18px -12px rgba(0, 80, 170, 0.55); }
.sf-layers i.v.on { background: #d6e7fb; color: #0058b0; }
.sf-layers i.p.on { background: #5aa2ec; }
.sf-layers i.l.on { background: var(--blue); }
.sf-layers i.v { transition-delay: 0.1s; }
.sf-layers i.p { transition-delay: 0.25s; }
.sf-layers i.l { transition-delay: 0.4s; }
.js .reveal:not(.in) .sf-layers i.on { transform: scaleX(0.2); opacity: 0; }
.sf-tier h3 { margin-top: 8px; font-size: 26px; letter-spacing: -0.025em; }
.sf-tier > p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.sf-fit { margin-top: auto; padding-top: 22px; }
.sf-fit > span { display: block; padding-top: 18px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 12px; }
.sf-fit dl { display: grid; gap: 10px; margin: 12px 0 0; }
.sf-fit dl div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.sf-fit dt { padding: 4px 10px; border-radius: 999px; background: rgba(0, 113, 227, 0.09); color: var(--blue-text); font-family: var(--mono); font-size: 11.5px; font-weight: 600; }
.sf-fit dd { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* Delivery package */
.sf-pack { position: relative; overflow: hidden; border-radius: 30px; background: radial-gradient(60% 80% at 100% 0%, rgba(0, 113, 227, 0.2), transparent 62%), #0b0b0d; color: #f5f5f7; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.55); }
.sf-pack-bar { display: flex; align-items: center; gap: 8px; padding: 16px 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.sf-pack-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3c; }
.sf-pack-bar span { margin-left: 12px; color: #8e8e93; font-family: var(--mono); font-size: 12px; }
.sf-tree { padding: 14px 0; }
.sf-tree li { display: grid; grid-template-columns: 240px 220px 1fr; align-items: baseline; gap: 16px; padding: 16px 34px; transition: background 0.2s ease; }
.sf-tree li + li { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.sf-tree li:hover { background: rgba(255, 255, 255, 0.03); }
.sf-tree code { color: #6ab0ff; font-family: var(--mono); font-size: 14px; white-space: nowrap; }
.sf-tree code.file { color: #d2d2d7; }
.sf-tree em { color: #48484a; font-style: normal; }
.sf-tree b { color: #fff; font-size: 15px; font-weight: 600; }
.sf-tree span { color: #a1a1a6; font-size: 14px; line-height: 1.55; }
.sf-pack-foot { display: flex; justify-content: space-between; gap: 16px; padding: 16px 34px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: #8e8e93; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; }

/* Production flow */
.sf-flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.sf-flow::before { content: ""; position: absolute; top: 27px; left: 28px; right: calc((100% - 96px) / 5 - 28px); height: 2px; border-radius: 2px; background: linear-gradient(90deg, #b9d6f8, var(--blue)); transform-origin: left center; transition: transform 1.4s cubic-bezier(0.3, 0.7, 0.2, 1) 0.15s; }
.js .sf-flow.reveal:not(.in)::before { transform: scaleX(0); }
.sf-flow li { position: relative; }
.sf-node { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--blue-text); font-family: var(--mono); font-size: 14px; font-weight: 600; box-shadow: 0 0 0 6px #fff, 0 10px 24px -12px rgba(0, 60, 160, 0.45); }
.sf-flow li:last-child .sf-node { background: var(--blue); color: #fff; }
.sf-flow h3 { margin-top: 24px; font-size: 22px; letter-spacing: -0.02em; }
.sf-flow p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.sf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 72px; }
.sf-stat { display: flex; flex-direction: column; padding: 28px; }
.sf-stat strong { display: block; margin-top: 14px; color: var(--ink); font-size: clamp(40px, 4vw, 52px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
.sf-stat strong small { margin-left: 3px; color: var(--muted); font-size: 0.42em; font-weight: 500; letter-spacing: 0; }
.sf-stat > p { margin-top: auto; padding-top: 18px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.sf-meter { display: grid; gap: 10px; margin-top: 24px; }
.sf-meter > div { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 10px; }
.sf-meter span { color: var(--ink-soft); font-size: 12px; white-space: nowrap; }
.sf-meter .muted span { color: var(--quiet); }
.sf-meter b { display: flex; height: 8px; overflow: hidden; border-radius: 999px; background: var(--mist-deep); }
.sf-meter i, .sf-meter u { display: block; height: 100%; transform-origin: left center; transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s; }
.sf-meter i { width: calc(var(--w) * 100%); border-radius: 999px; background: var(--blue); }
.sf-meter .muted i { background: #c7c7cc; }
.sf-meter u { width: calc(var(--w) * 100%); background: repeating-linear-gradient(45deg, #d1d1d6 0 3px, transparent 3px 6px); }
.js .reveal:not(.in) .sf-meter i, .js .reveal:not(.in) .sf-meter u { transform: scaleX(0); }
.sf-cross { width: 120px; max-width: 100%; height: auto; margin-top: 22px; }
.sf-seg { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-top: 26px; }
.sf-seg i { height: 22px; border-radius: 5px; background: var(--mist-deep); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sf-seg i.on { background: var(--blue); }
.sf-seg i:nth-child(2) { transition-delay: 0.05s; } .sf-seg i:nth-child(3) { transition-delay: 0.1s; } .sf-seg i:nth-child(4) { transition-delay: 0.15s; } .sf-seg i:nth-child(5) { transition-delay: 0.2s; }
.sf-seg i:nth-child(6) { transition-delay: 0.25s; } .sf-seg i:nth-child(7) { transition-delay: 0.3s; } .sf-seg i:nth-child(8) { transition-delay: 0.35s; } .sf-seg i:nth-child(9) { transition-delay: 0.4s; }
.js .reveal:not(.in) .sf-seg i.on { opacity: 0; transform: scaleY(0.3); }

/* Quality */
.sf-qa { display: grid; gap: 16px; }
.sf-gates { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border-radius: var(--radius); background: radial-gradient(60% 120% at 0% 50%, rgba(0, 113, 227, 0.22), transparent 62%), #0b0b0d; color: #f5f5f7; }
.sf-gates li { position: relative; padding: 26px 30px 28px; }
.sf-gates li + li { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.sf-gates li + li::before { content: "→"; position: absolute; top: 50%; left: 0; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #1c1c1e; color: #6ab0ff; font-family: var(--mono); font-size: 12px; transform: translate(-50%, -50%); }
.sf-gates .sf-k { color: #6ab0ff; }
.sf-gates h3 { margin-top: 8px; font-size: 22px; letter-spacing: -0.02em; }
.sf-gates p { margin-top: 6px; color: #a1a1a6; font-size: 14px; line-height: 1.55; }
.sf-gates li.out { background: var(--blue); }
.sf-gates li.out .sf-k { color: rgba(255, 255, 255, 0.78); }
.sf-gates li.out p { color: rgba(255, 255, 255, 0.86); }
.sf-evi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sf-q { position: relative; padding: 28px 30px; }
.sf-evi-no { color: var(--blue-text); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }
.sf-q code { position: absolute; top: 24px; right: 26px; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--quiet); font-family: var(--mono); font-size: 11.5px; }
.sf-q h3 { margin-top: 14px; font-size: 22px; letter-spacing: -0.02em; }
.sf-q p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.sf-q .sf-chips { margin-top: 14px; }
.sf-q .sf-chips li { background: #fff; }

/* Scenes */
/* Scene atlas */
.sf-atlas { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: center; gap: 32px 40px; padding: 28px 52px 28px 16px; border-radius: var(--radius); background: #fff; }
.sf-atlas-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.sf-atlas .halo { fill: url(#sfAtlasGlow); }
.sf-atlas .beam { fill: url(#sfAtlasBeam); transform: rotate(var(--rot, 0deg)); transition: transform 0.9s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.8s ease 0.6s; }
.sf-atlas .pulse { fill: none; stroke: var(--blue); stroke-width: 1.5; opacity: 0; transform-origin: 0 0; animation: sfAtlasPulse 3.2s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
@keyframes sfAtlasPulse { 0% { opacity: 0.45; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.sf-atlas .orb { fill: none; stroke: rgba(0, 0, 0, 0.07); }
.sf-atlas .orb.dash { stroke-dasharray: 2 6; }
.sf-atlas .ln path { fill: none; stroke: rgba(0, 0, 0, 0.12); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke 0.45s ease, stroke-width 0.45s ease, stroke-dashoffset 1.3s cubic-bezier(0.3, 0.7, 0.2, 1) calc(var(--i) * 70ms); }
.sf-atlas .ln.on { filter: drop-shadow(0 0 5px rgba(0, 113, 227, 0.45)); }
.sf-atlas .ln.on path { stroke: var(--blue); stroke-width: 2; }
.sf-atlas .lv, .sf-atlas .pl { transition: opacity 0.7s ease calc(0.45s + var(--i) * 70ms); }
.sf-atlas .lv circle { fill: #c7c7cc; transition: fill 0.45s ease, r 0.45s ease; }
.sf-atlas .lv text { fill: #a1a1a6; font-size: 14px; dominant-baseline: central; transition: fill 0.45s ease; }
.sf-atlas .lv.on circle { r: 5; fill: var(--blue); stroke: rgba(0, 113, 227, 0.2); stroke-width: 6; }
.sf-atlas .lv.on text { fill: var(--ink); font-weight: 500; }
.sf-atlas .pl { cursor: pointer; }
.sf-atlas .pl rect { fill: #fff; stroke: rgba(0, 0, 0, 0.14); transition: fill 0.45s ease, stroke 0.45s ease; }
.sf-atlas .pl text { fill: var(--ink); font-size: 15px; font-weight: 600; text-anchor: middle; dominant-baseline: central; transition: fill 0.45s ease; }
.sf-atlas .pl .no { display: none; font-family: var(--mono); }
.sf-atlas .pl.on rect { fill: var(--blue); stroke: var(--blue); filter: drop-shadow(0 6px 12px rgba(0, 113, 227, 0.4)); }
.sf-atlas .pl.on text { fill: #fff; }
.sf-atlas .hub circle { fill: #1d1d1f; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28)); }
.sf-atlas .hub text { text-anchor: middle; dominant-baseline: central; }
.sf-atlas .hub .t1 { fill: #fff; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.sf-atlas .hub .t2 { fill: #a1a1a6; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; }
.js .sf-atlas.reveal:not(.in) .ln path { stroke-dashoffset: 1; }
.js .sf-atlas.reveal:not(.in) .lv, .js .sf-atlas.reveal:not(.in) .pl, .js .sf-atlas.reveal:not(.in) .beam { opacity: 0; }
.sf-atlas-stats { display: flex; gap: 32px; margin-bottom: 30px; }
.sf-atlas-stats strong { display: block; color: var(--ink); font-size: clamp(32px, 3.2vw, 44px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.sf-atlas-stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.sf-atlas-list li { border-top: 1px solid var(--line); }
.sf-atlas-list li:last-child { border-bottom: 1px solid var(--line); }
.sf-atlas-list button { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 13px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.sf-atlas-list .no { color: var(--quiet); font-family: var(--mono); font-size: 12px; transition: color 0.3s ease; }
.sf-atlas-list .nm { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; transition: color 0.3s ease; }
.sf-atlas-list .key { color: var(--quiet); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.sf-atlas-list li.on .no { color: var(--blue-text); }
.sf-atlas-list li.on .nm { color: var(--ink); }
.sf-atlas-list button:hover .nm { color: var(--ink); }
.sf-atlas-list button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.sf-atlas-d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sf-atlas-d p { min-height: 0; overflow: hidden; padding-left: 46px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.sf-atlas-list li.on .sf-atlas-d, html:not(.js) .sf-atlas-d { grid-template-rows: 1fr; }
.sf-atlas-list li.on .sf-atlas-d p, html:not(.js) .sf-atlas-d p { padding-bottom: 16px; }
.sf-atlas-note { margin-top: 18px; color: var(--quiet); font-size: 12px; line-height: 1.5; }
.sf-cv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sf-cv { display: flex; flex-direction: column; gap: 14px; padding: 26px 28px; }
.sf-cv strong { font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.sf-cv p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.sf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-chips li { padding: 6px 12px; border-radius: 999px; background: var(--mist); color: var(--ink-soft); font-size: 13px; line-height: 1.3; }
.sf-chips.vpl li { color: #fff; font-family: var(--mono); font-size: 11.5px; font-weight: 600; }
.sf-chips.vpl .v { background: #d6e7fb; color: #0058b0; }
.sf-chips.vpl .p { background: #8fc0f3; color: #00366e; }
.sf-chips.vpl .l { background: var(--blue); }
.sf-people { display: flex; padding-left: 10px; }
.sf-people i { width: 40px; height: 40px; margin-left: -10px; border: 3px solid #fff; border-radius: 50%; background: #aeaeb2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='16' r='6.5' fill='%23fff' fill-opacity='.92'/%3E%3Cpath d='M8 36c1.5-7 6.4-10.5 12-10.5S30.5 29 32 36' fill='%23fff' fill-opacity='.92'/%3E%3C/svg%3E") center / cover; }
.sf-people i:nth-child(1) { background-color: var(--blue); }
.sf-people i:nth-child(2) { background-color: #5aa2ec; }
.sf-people i:nth-child(3) { background-color: #8e8e93; }
.sf-people i:nth-child(4) { background-color: #636366; }
.sf-people i:nth-child(5) { background-color: #aeaeb2; }
.sf-people i:nth-child(6) { background-color: #c7c7cc; }
.sf-spectrum { display: flex; gap: 4px; }
.sf-spectrum i { flex: 1; padding: 9px 4px; border-radius: 8px; color: #fff; font-size: 11.5px; font-style: normal; font-weight: 600; text-align: center; white-space: nowrap; }
.sf-spectrum i:nth-child(1) { background: var(--blue); }
.sf-spectrum i:nth-child(2) { background: #d6e7fb; color: #0058b0; }
.sf-spectrum i:nth-child(3) { background: var(--ink); }
.sf-spectrum i:nth-child(4) { background: #d2d2d7; color: var(--ink-soft); }

/* Use cases */
.sf-uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sf-use { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 24px; overflow: hidden; background: #0b0b0d; color: #fff; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease; }
.section.mist .sf-use { background: #0b0b0d; }
.sf-use-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sf-use::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0.55) 58%, rgba(0, 0, 0, 0.86) 100%); }
.sf-use:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -30px rgba(0, 0, 0, 0.45); }
.sf-use:hover .sf-use-img { transform: scale(1.04); }
.sf-use .sf-k { color: rgba(255, 255, 255, 0.86); }
.sf-use .sf-use-body { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.sf-use h3 { margin: 6px 0 12px; color: #fff; font-size: 24px; letter-spacing: -0.02em; }
.sf-use .sf-chips li { padding: 4px 10px; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 12.5px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

@media (max-width: 1024px) {
  .sf-tile, .sf-tile.wide { grid-column: span 3; }
  .sf-atlas { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 32px; padding: 28px 36px 28px 12px; }
  .sf-tile:last-child { grid-column: 1 / -1; }
  .sf-stats { grid-template-columns: repeat(2, 1fr); }
  .sf-tree li { grid-template-columns: 200px 1fr; }
  .sf-tree span { grid-column: 2; }
}
@media (max-width: 900px) {
  .sf-hero-bg, .sf-hero-bg video { background-position: 50% 42%; object-position: 50% 42%; }
  .sf-hero-bg::after {
    background:
      linear-gradient(180deg, rgba(3, 5, 9, 0.52) 0%, rgba(3, 5, 9, 0.72) 26%, rgba(3, 5, 9, 0.93) 66%, rgba(3, 5, 9, 0.97) 100%),
      linear-gradient(90deg, rgba(3, 5, 9, 0.5), rgba(3, 5, 9, 0.22));
  }
  .sf-boundary, .sf-stack, .sf-gates { grid-template-columns: 1fr; }
  .sf-boundary-card + .sf-boundary-card::before { content: "↓"; top: -16px; left: 30px; width: auto; height: 16px; line-height: 16px; transform: none; }
    .sf-gates li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); border-left: 0; }
  .sf-gates li + li::before { content: "↓"; top: 0; left: auto; right: 30px; transform: translateY(-50%); }
  .sf-flow { grid-template-columns: 1fr; gap: 28px; }
  .sf-flow::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, #b9d6f8, var(--blue)); transform-origin: center top; }
  .js .sf-flow.reveal:not(.in)::before { transform: scaleY(0); }
  .sf-flow li { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; }
  .sf-flow li .sf-node { grid-row: span 2; }
  .sf-flow h3 { margin-top: 4px; }
  .sf-tree li { grid-template-columns: 1fr; gap: 4px; padding: 16px 24px; }
  .sf-tree span { grid-column: auto; }
  .sf-tree b { margin-top: 4px; }
  .sf-pack-foot { padding: 14px 24px; }
  .sf-cv-grid, .sf-uses { grid-template-columns: repeat(2, 1fr); }
  .sf-atlas { grid-template-columns: 1fr; padding: 32px 32px 28px; }
  .sf-atlas-map { width: 100%; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .sf-bento, .sf-stats, .sf-evi, .sf-cv-grid, .sf-uses { grid-template-columns: 1fr; }
  .sf-tile, .sf-tile.wide, .sf-tile:last-child { grid-column: auto; }
  .sf-tile { min-height: 0; padding: 26px; }
  .sf-viz { height: 170px; }
  .sf-boundary-card, .sf-q { padding: 24px; }
  .sf-gates li { padding: 22px 24px 24px; }
  .sf-q code { top: 20px; right: 20px; }
  .sf-tier { padding: 26px; }
  .sf-atlas { overflow: hidden; padding: 20px 22px 24px; }
  .sf-atlas .lv text, .sf-atlas .hub .t2, .sf-atlas .pl .nm { display: none; }
  .sf-atlas .pl .no { display: inline; font-size: 22px; }
  .sf-atlas .hub .t1 { font-size: 26px; }
  .sf-atlas .lv circle { r: 5; }
  .sf-atlas-map svg { width: 132%; max-width: none; margin: -16%; }
  .sf-atlas-stats { gap: 24px; }
  .sf-atlas-d p { padding-left: 50px; }
  .sf-tree li { padding: 14px 20px; }
  .sf-tree code { font-size: 13px; }
}

/* SkillForge: compact sections, roughly one viewport each */
.page-sf .section { padding: 80px 0; }
.page-sf .section.sf-cont { padding-top: 0; }
.page-sf .section.sf-cont > .wrap { padding-top: 80px; }
.page-sf h2 { font-size: clamp(32px, 3.6vw, 48px); }
.page-sf .section-head { margin-bottom: 36px; }
.page-sf .section-head .lede { margin-top: 14px; font-size: 17px; }
@media (min-width: 1025px) {
  .page-sf .section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); column-gap: 48px; align-items: end; max-width: none; }
  .page-sf .section-head > :not(.lede) { grid-column: 1; }
  .page-sf .section-head .lede { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin-top: 0; }
  .page-sf .sf-bento { grid-template-columns: repeat(5, 1fr); }
  .page-sf .sf-tile, .page-sf .sf-tile.wide { grid-column: auto; padding: 22px 22px 26px; }
  .page-sf .sf-viz { height: 150px; margin: -4px -4px 16px; }
  .page-sf .sf-viz svg { max-height: 140px; }
  .page-sf .sf-tile h3 { font-size: 20px; }
  .page-sf .sf-tile p { font-size: 14px; }
  .page-sf .sf-atlas { padding: 12px 48px 12px 16px; }
  .page-sf .sf-atlas-map svg { max-height: 560px; margin-inline: auto; }
  .page-sf .sf-atlas-stats { margin-bottom: 20px; }
  .page-sf .sf-atlas-list button { padding: 10px 0; }
  .page-sf .sf-cv-grid { grid-template-columns: repeat(3, 1fr); }
}
.page-sf .sf-layers { margin-bottom: 20px; padding: 18px; }
.page-sf .sf-layers i { height: 36px; }
.page-sf .sf-tree li { padding: 12px 34px; }
.page-sf .sf-stats { margin-top: 44px; }
.page-sf .sf-stat { padding: 24px; }
.page-sf .sf-uses { gap: 14px; }
.page-sf .sf-use { min-height: 262px; }
.page-sf .sf-q { padding: 24px 26px; }
@media (max-width: 1080px) { .page-sf .section.sf-cont > .wrap { padding-top: 72px; } .page-sf .section { padding: 72px 0; } .page-sf .section.sf-cont { padding-top: 0; } }
@media (max-width: 620px) { .page-sf .section.sf-cont > .wrap { padding-top: 60px; } .page-sf .section { padding: 60px 0; } .page-sf .section.sf-cont { padding-top: 0; } .page-sf .sf-use { min-height: 260px; } }

/* Data Engine · DAG + UWM */
.de-uwm { margin: 56px 0 0; --de-gap: 12px; }
.de-uwm-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; color: #86868b; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; }
.de-uwm-head span { color: #a1a1a6; }
.de-uwm-head em { font-style: normal; }
.de-dag { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--de-gap); margin: 0; padding: 0; list-style: none; }
.de-dag li { position: relative; display: grid; gap: 4px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; background: #0d0e11; }
.de-dag li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: calc(-1 * var(--de-gap) / 2); z-index: 1; color: #48484d; font-size: 11px; line-height: 1; transform: translate(50%, -50%); }
.de-dag b { color: #86868b; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; }
.de-dag span { color: var(--night-text); font-size: 15px; font-weight: 600; }
.de-dag li.is-uwm { border-color: rgba(106, 176, 255, 0.4); }
.de-dag li.is-uwm b { color: #6ab0ff; }
.de-uwm-box { margin: 28px -18px 0; padding: 18px; border: 1px solid rgba(106, 176, 255, 0.28); border-radius: var(--radius); background: rgba(106, 176, 255, 0.04); }
.de-ops { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--de-gap); }
.de-ops article { position: relative; display: grid; align-content: start; gap: 6px; padding: 14px 14px 16px; border-radius: 12px; background: #0d0e11; }
.de-ops article::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 47px; background: linear-gradient(rgba(106, 176, 255, 0.55), rgba(106, 176, 255, 0.2)); }
.de-ops b { color: #6ab0ff; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; }
.de-ops h3 { color: var(--night-text); font-size: 15px; letter-spacing: -0.01em; }
.de-ops p { color: #a1a1a6; font-size: 12.5px; line-height: 1.5; text-wrap: balance; }
.de-ops i { display: none; color: #8e8e93; font-family: var(--mono); font-size: 10px; font-style: normal; letter-spacing: 0.08em; }
.de-uwm-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 16px; padding: 14px 4px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.de-uwm-foot b { color: var(--night-text); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.de-uwm-foot span { color: #6ab0ff; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; }
.de-uwm-foot em { margin-left: auto; color: #a1a1a6; font-size: 13px; font-style: normal; }
.de-deliver { margin-top: 20px; }
@media (max-width: 1080px) {
  .de-dag span, .de-ops h3 { font-size: 14px; }
  .de-dag li { padding: 12px; }
  .de-ops article { padding: 12px; }
}
@media (max-width: 900px) {
  .de-dag { grid-template-columns: repeat(4, 1fr); }
  .de-dag li:nth-child(4n)::after { display: none; }
  .de-ops { grid-template-columns: 1fr 1fr; }
  .de-ops article { grid-column: auto !important; }
  .de-ops article::before { display: none; }
  .de-ops i { display: block; margin-top: 4px; }
  .de-uwm-box { margin: 16px 0 0; }
  .de-uwm-foot em { margin-left: 0; }
}
@media (max-width: 620px) {
  .de-uwm { margin-top: 40px; }
  .de-dag { grid-template-columns: 1fr 1fr; gap: 8px; }
  .de-dag li::after { display: none; }
  .de-ops { grid-template-columns: 1fr; }
}

/* 404 */
.notfound { display: flex; align-items: center; min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); padding: 96px 0; background: var(--paper); text-align: center; }
.notfound .wrap { width: 100%; }
.notfound-code { color: var(--blue-text); font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.2em; }
.notfound h1 { margin-top: 18px; font-size: clamp(40px, 5.6vw, 72px); }
.notfound .lede { margin-inline: auto; }
.notfound .hero-actions { justify-content: center; }
.notfound-en { margin-top: 40px; color: var(--muted); font-size: 13.5px; }
.notfound-en a { color: var(--blue-text); text-decoration: none; }
.notfound-en a:hover { text-decoration: underline; }
main:has(.notfound) + .site-footer { background: var(--mist); }


/* Crucible environment additions */
.ep-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.ep-status span {
  padding: 2px 9px;
  border: 1px solid rgba(0, 102, 204, 0.22);
  border-radius: 999px;
  color: var(--blue-text);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.ep-status.is-dark { color: #a1a1a6; }
.ep-status.is-dark span { border-color: rgba(106, 176, 255, 0.32); color: #6ab0ff; }
.ep-console { margin-top: 0; }
.ep-flow {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 32px 30px 28px;
}
.ep-node {
  flex: 1;
  min-width: 0;
  min-height: 116px;
  padding: 18px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #11141a;
}
.ep-node b {
  color: #6ab0ff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.ep-node h3 { margin-top: 12px; color: #f5f5f7; font-size: 15px; line-height: 1.35; letter-spacing: -0.01em; }
.ep-node p { margin-top: 6px; color: #8e8e93; font-size: 12.5px; line-height: 1.5; }
.ep-node.is-live { border-color: rgba(106, 176, 255, 0.52); background: rgba(0, 113, 227, 0.14); }
.ep-node.is-judge { border-color: rgba(106, 176, 255, 0.34); background: #0e1520; }
.ep-arrow { flex: none; align-self: center; color: #6ab0ff; font-size: 13px; font-style: normal; }
.ep-box {
  position: relative;
  display: flex;
  flex: 3.3;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  padding: 34px 10px 10px;
  border: 1px dashed rgba(106, 176, 255, 0.46);
  border-radius: 20px;
  background: rgba(106, 176, 255, 0.025);
}
.ep-box > em {
  position: absolute;
  top: 11px;
  left: 14px;
  color: #6ab0ff;
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.1em;
}
.ep-lower { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.ep-lower .tc-panel + .tc-panel { border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.ep-lanes { display: grid; gap: 13px; margin-top: 18px; }
.ep-lanes li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 66px;
  align-items: center;
  gap: 12px;
  color: #8e8e93;
  font-family: var(--mono);
  font-size: 11px;
}
.ep-lanes i { display: block; height: 6px; border-radius: 999px; background: linear-gradient(90deg, #4a4a50 var(--w), rgba(255, 255, 255, 0.06) var(--w)); }
.ep-lanes li.is-pass i { background: linear-gradient(90deg, #0071e3 var(--w), rgba(255, 255, 255, 0.06) var(--w)); }
.ep-lanes b { color: #d2d2d7; font-weight: 500; text-align: right; }
.ep-lanes li.is-pass b { color: #6ab0ff; }
.ep-trace { display: grid; gap: 10px; margin-top: 18px; font-family: var(--mono); font-size: 11.5px; }
.ep-trace li { display: grid; grid-template-columns: 36px 44px minmax(0, 1fr); gap: 10px; color: #d2d2d7; }
.ep-trace span { color: #8e8e93; }
.ep-trace em { color: #6ab0ff; font-style: normal; }
.ep-trace code { overflow: hidden; font-family: inherit; text-overflow: ellipsis; white-space: nowrap; }
.ep-trace .is-end { padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
#environments .tech-layers { margin-top: 18px; }
.tech-backend-line.is-light { color: var(--muted); font-size: 11px; }
.tech-backend-line.is-light span { color: var(--blue-text); }
#verifiers .tech-backend-line { margin-top: 20px; }
.ep-tiers { margin-top: 0; }
.ep-tiers .tech-tier header span { line-height: 1.45; }
.ep-tiers .tech-tier header p { line-height: 1.5; }
.ep-tiers .tech-tier-value { min-height: 44px; }
#isolation .tech-backend-line { margin-top: 22px; }
#isolation .ep-status { max-width: none; margin-top: 12px; }
.ep-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: #6ab0ff;
  font-size: 13.5px;
  text-decoration: none;
}
.ep-link:hover { color: #9acbff; }
.ep-link span { transition: transform 0.2s ease; }
.ep-link:hover span { transform: translate(2px, -2px); }

@media (max-width: 1080px) {
  .ep-flow { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .ep-flow > .ep-arrow { justify-self: center; transform: rotate(90deg); }
  .ep-box { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ep-box .ep-arrow { display: none; }
  .ep-node { min-height: auto; }
}
@media (max-width: 900px) {
  .ep-lower { grid-template-columns: 1fr; }
  .ep-lower .tc-panel + .tc-panel { border-top: 1px solid rgba(255, 255, 255, 0.08); border-left: 0; }
  .ep-tiers .tech-tier-value { min-height: 0; }
}
@media (max-width: 620px) {
  .ep-flow { padding: 24px 18px 22px; }
  .ep-box { grid-template-columns: 1fr; padding-top: 38px; }
  .ep-box > em { left: 12px; }
  .ep-node { padding: 16px 14px; }
  .ep-node h3 { font-size: 15px; }
  .ep-lower .tc-panel { padding: 22px 18px; }
  .ep-lanes li { grid-template-columns: 26px minmax(0, 1fr) 54px; }
  .ep-trace li { grid-template-columns: 30px 38px minmax(0, 1fr); gap: 8px; font-size: 11px; }
  .ep-status { font-size: 12.5px; }
}

/* Crucible directory and environment details */
:is(.crucible-hub, .crucible-detail) {
  --hub-surface: #fff;
  --hub-border: rgba(22, 36, 58, 0.1);
  --hub-muted: #626873;
  --hub-accent: var(--blue-text);
}
:is(.crucible-hub, .crucible-detail) [hidden] { display: none !important; }
:is(.crucible-hub, .crucible-detail) .section { padding-block: 104px; }
:is(.crucible-hub, .crucible-detail) .section.mist { background: var(--mist); }
:is(.crucible-hub, .crucible-detail) :is(.section.night, .envd-replay),
.crucible-hub #isolation,
.hub-hero {
  --hub-surface: #10151e;
  --hub-border: rgba(181, 208, 247, 0.16);
  --hub-muted: #a8b1c0;
  --hub-accent: #83bdff;
}
:is(.crucible-hub, .crucible-detail) :is(.section.night, .envd-replay) :focus-visible,
.hub-hero :focus-visible { outline-color: #83bdff; }
:is(.crucible-hub, .crucible-detail) :is(pre, code) { font-family: var(--mono); }
:where(.crucible-hub, .crucible-detail) :where(pre, dl, dd, figure) { margin: 0; }
:is(.crucible-hub, .crucible-detail) :is(.hub-grid, .envd-head, .envd-task-grid, .envd-score-grid) > * { min-width: 0; }

.hub-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 94px 0 90px;
  background: radial-gradient(ellipse at 80% 25%, #101f3a 0, #080d17 48%, #030508 85%);
  color: var(--night-text);
}
.hub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 48px;
}
.hub-hero .product-kicker { color: #9bb3d3; font-size: 11px; line-height: 1.6; }
.hub-hero .product-kicker i { background: #639bdc; }
.hub-hero h1 { margin-top: 24px; font-size: clamp(64px, 6.8vw, 86px); line-height: 1.07; }
.hub-hero h1 span {
  display: inline-block;
  margin-top: 10px;
  color: #9dcaff;
  font-size: clamp(36px, 4.2vw, 53px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}
.hub-hero .lede { max-width: 490px; margin-top: 28px; color: #b3becf; font-size: 18px; line-height: 1.75; }
.hub-hero .btn-ghost { border-color: rgba(181, 208, 247, 0.3); color: #f5f5f7; }
.hub-hero .btn-ghost:hover { background: rgba(131, 189, 255, 0.1); border-color: #83bdff; }
.hub-hero-note { max-width: 450px; margin-top: 22px; color: #9aa8bc; font-size: 12px; line-height: 1.8; }
.hub-observatory { position: relative; min-width: 0; isolation: isolate; margin-inline: -18px; }
.hub-observatory::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 20% 14%;
  border-radius: 50%;
  background: #1464c4;
  opacity: 0.12;
  filter: blur(70px);
  pointer-events: none;
}
.hub-observatory > svg { display: block; width: 100%; height: auto; overflow: visible; }
.crucible-hub .hub-hero + .section {
  position: relative;
  z-index: 2;
  margin-top: -24px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--paper);
}
.crucible-hub .hub-hero + .section.mist,
:is(.crucible-hub, .crucible-detail) .section.night + .section.mist { background: var(--mist); }
.hub-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.hub-heading .section-head { margin-bottom: 0; max-width: 790px; }
.hub-index { flex: none; padding-bottom: 5px; color: var(--hub-muted); font-family: var(--mono); font-size: 12px; line-height: 1.7; }
.hub-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.hub-filters button {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--hub-border);
  border-radius: 999px;
  background: var(--hub-surface);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.hub-filters button:hover { border-color: #9cbbe0; background: #edf4fd; }
.hub-filters button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.hub-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hub-border);
  border-radius: var(--radius);
  background: var(--hub-surface);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(24, 42, 66, 0.025);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.hub-card:hover { transform: translateY(-4px); border-color: #b5cce8; box-shadow: 0 16px 38px rgba(24, 42, 66, 0.09); }
.hub-art { position: relative; flex: none; overflow: hidden; aspect-ratio: 16 / 9; background: #09111d; }
.hub-art :is(svg, img) { display: block; width: 100%; height: 100%; object-fit: cover; }
.hub-art-label {
  position: absolute;
  bottom: 17px;
  right: 18px;
  max-width: calc(100% - 36px);
  padding: 6px 10px;
  border: 1px solid rgba(22, 36, 58, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #3b506e;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
:is(.art-terminal, .art-physics) .hub-art-label { border-color: rgba(181, 208, 247, 0.2); background: rgba(14, 25, 42, 0.88); color: #b6d6ff; }
.hub-card-body { display: flex; flex: 1; flex-direction: column; padding: 25px 25px 24px; }
.hub-card-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 15px; }
.hub-badge { display: inline-flex; align-items: center; width: fit-content; padding: 5px 9px; border: 1px solid rgba(0, 102, 204, 0.18); border-radius: 7px; color: var(--hub-accent); background: rgba(0, 113, 227, 0.06); font-size: 10px; font-weight: 600; line-height: 1.4; letter-spacing: 0.025em; }
.hub-badge.is-inhouse { border-color: rgba(123, 98, 59, 0.2); background: #f7f3ec; color: #795d31; }
.hub-category { color: var(--hub-muted); font-size: 10px; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; }
.hub-card h3 { min-height: 2.4em; font-size: 24px; line-height: 1.2; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.hub-card-body > p { min-height: 72px; margin-top: 13px; color: var(--hub-muted); font-size: 14px; line-height: 1.7; }
.hub-spec { display: grid; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hub-border); }
.hub-spec > div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; font-size: 11px; line-height: 1.6; }
.hub-spec dt { color: var(--hub-muted); }
.hub-spec dd { color: #354154; overflow-wrap: anywhere; }
.hub-card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 23px; color: var(--blue-text); font-size: 13px; font-weight: 500; }
.hub-card-link::after { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.hub-contract-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.hub-contract-flow > div { min-width: 0; padding: 22px 16px; border: 1px solid var(--hub-border); border-radius: 18px; background: var(--hub-surface); }
.hub-contract-flow b { display: block; margin-bottom: 16px; color: var(--hub-accent); font-family: var(--mono); font-size: 11px; font-weight: 500; }
.hub-contract-flow code { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.hub-contract-flow p { margin-top: 9px; color: var(--hub-muted); font-size: 12px; line-height: 1.7; }
.hub-contract-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
:is(.hub-contract, .hub-episode-note) { min-width: 0; padding: 32px; border: 1px solid var(--hub-border); border-radius: var(--radius); background: var(--hub-surface); }
.hub-contract h3, .hub-episode-note h3 { margin-bottom: 18px; font-size: 22px; }
.hub-contract dl > div { display: grid; grid-template-columns: minmax(110px, 0.4fr) minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--hub-border); font-size: 13px; line-height: 1.7; }
.hub-contract dl > div:last-child { border-bottom: 0; }
.hub-contract dt code { color: var(--hub-accent); font-size: 12px; overflow-wrap: anywhere; }
.hub-contract dd, .hub-episode-note p { color: var(--hub-muted); overflow-wrap: anywhere; }
.hub-episode-note p { font-size: 14px; line-height: 1.8; }
.hub-episode-note pre { margin-top: 22px; padding: 20px; overflow-x: auto; border: 1px solid #233753; border-radius: 16px; background: #101a2a; color: #c5defe; font-size: 12px; line-height: 1.8; tab-size: 2; }
.hub-verifier-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hub-verifier-grid > a { min-width: 0; padding: 28px 24px; border: 1px solid var(--hub-border); border-radius: var(--radius); background: var(--hub-surface); text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease; }
.hub-verifier-grid > a:hover { border-color: #9fbde2; transform: translateY(-3px); }
.hub-verifier-grid b { display: block; margin-bottom: 28px; color: var(--hub-accent); font-family: var(--mono); font-size: 12px; font-weight: 500; }
.hub-verifier-grid h3 { font-size: 21px; }
.hub-verifier-grid p { margin-top: 12px; color: var(--hub-muted); font-size: 13px; line-height: 1.8; }
.crucible-hub #isolation { background: #070b12; color: var(--night-text); }
.hub-stack-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hub-stack-panel { min-width: 0; padding: 32px; border: 1px solid var(--hub-border); border-radius: var(--radius); background: linear-gradient(150deg, #121d2e, #0b111c); }
.hub-stack-panel h3 { font-size: 24px; }
.hub-stack-panel > p { margin: 12px 0 24px; color: var(--hub-muted); font-size: 14px; line-height: 1.75; }
.hub-stack-layer { display: grid; grid-template-columns: 66px minmax(0, 1fr); align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--hub-border); }
.hub-stack-layer span { color: #8aafd9; font-family: var(--mono); font-size: 11px; overflow-wrap: anywhere; }
.hub-stack-layer b { color: #e3eaf5; font-size: 14px; font-weight: 500; line-height: 1.7; }
.hub-scheduler { margin-top: 26px; padding: 30px 32px; border: 1px solid var(--hub-border); border-radius: var(--radius); background: rgba(149, 184, 240, 0.035); }
.hub-scheduler h3 { font-size: 20px; }
.hub-scheduler > p { margin-top: 12px; color: var(--hub-muted); font-size: 13px; line-height: 1.8; }
.hub-scheduler-flow { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.hub-scheduler-flow > div { min-width: 0; flex: 1; padding: 18px; border: 1px solid var(--hub-border); border-radius: 14px; background: #101a2a; }
.hub-scheduler-flow code { display: block; color: #b6d6ff; font-size: 12px; overflow-wrap: anywhere; }
.hub-scheduler-flow small { display: block; margin-top: 7px; color: var(--hub-muted); font-size: 11px; line-height: 1.6; }
.hub-scheduler-flow > :is(i, span) { flex: none; color: #83bdff; font-style: normal; }
.hub-scheduler-flow > div + div { position: relative; }
.hub-scheduler-flow > div + div::before { content: "→"; position: absolute; left: -17px; top: 50%; transform: translateY(-50%); color: #7399c4; font-size: 13px; }
.hub-scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.hub-scope-item { min-width: 0; padding: 26px 0 8px; border-top: 1px solid var(--hub-border); }
.hub-scope-item > b { display: block; margin-bottom: 19px; color: var(--hub-accent); font-family: var(--mono); font-size: 11px; font-weight: 500; }
.hub-scope-item h3 { font-size: 20px; }
.hub-scope-item p { margin-top: 12px; color: var(--hub-muted); font-size: 13px; line-height: 1.85; }

.tc-env-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 30px; padding: 32px; }
.tc-env-flow, .tc-env-verifiers { min-width: 0; }
.tc-env-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.tc-env-head h3 { color: #eef4fd; font-size: 22px; line-height: 1.4; letter-spacing: -0.025em; }
.tc-env-head > span { color: #88a9d0; font-family: var(--mono); font-size: 9px; line-height: 1.6; letter-spacing: 0.06em; }
.tc-env-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 28px; }
.tc-env-categories li { min-width: 0; padding: 9px 12px; border: 1px solid #253951; border-radius: 8px; background: #0b1726; color: #afc6e3; font-size: 11px; line-height: 1.6; }
.tc-env-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tc-env-step { position: relative; min-width: 0; min-height: 126px; padding: 18px; border: 1px solid #2b425f; border-radius: 14px; background: linear-gradient(145deg, #162b44, #0e1b2d); }
.tc-env-step:nth-child(3) { grid-column: 2; grid-row: 2; }
.tc-env-step:nth-child(4) { grid-column: 1; grid-row: 2; }
.tc-env-step:nth-child(5) { grid-column: 1; grid-row: 3; }
.tc-env-step:nth-child(6) { grid-column: 2; grid-row: 3; }
.tc-env-step[data-step="verify"] { border-color: #507bab; background: linear-gradient(145deg, #1c3d63, #10263f); }
.tc-env-step-no { display: block; margin-bottom: 12px; color: #77baff; font-family: var(--mono); font-size: 10px; }
.tc-env-step > b { display: block; color: #e4effe; font-size: 16px; line-height: 1.5; }
.tc-env-step p { margin-top: 7px; color: #a7b9ce; font-size: 11px; line-height: 1.8; }
.tc-env-arrow { position: absolute; z-index: 1; top: 50%; right: -17px; transform: translateY(-50%); color: #80baff; font-size: 14px; }
.tc-env-step:nth-child(2) .tc-env-arrow, .tc-env-step:nth-child(4) .tc-env-arrow { top: auto; right: 50%; bottom: -20px; transform: translateX(50%) rotate(90deg); }
.tc-env-step:nth-child(3) .tc-env-arrow { right: auto; left: -17px; transform: translateY(-50%) rotate(180deg); }
.tc-env-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid #253951; color: #9cacbf; font-size: 12px; line-height: 1.85; }
.tc-env-verifier-list { display: grid; gap: 12px; }
.tc-env-verifier { padding: 17px 18px; border: 1px solid #293c55; border-radius: 14px; background: #0c1726; }
.tc-env-verifier > b { display: block; color: #d9e8fb; font-size: 14px; line-height: 1.5; }
.tc-env-verifier > p { margin-top: 8px; color: #9fb1c8; font-size: 11px; line-height: 1.8; }
.tc-env-case-links { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: 12px; }
.tc-env-case-links a { color: #8cc5ff; font-size: 10px; line-height: 1.8; text-decoration: none; text-underline-offset: 3px; }
.tc-env-case-links a:hover { color: #c3e3ff; text-decoration: underline; }
@media (max-width: 1024px) {
  .tc-env-body { gap: 20px; padding: 26px; }
  .tc-env-head h3 { font-size: 20px; }
  .tc-env-step { padding: 16px; }
}
@media (max-width: 700px) {
  .tc-env-body { grid-template-columns: 1fr; gap: 34px; padding: 22px; }
  .tc-env-categories { margin-bottom: 24px; }
  .tc-env-steps { grid-template-columns: 1fr; gap: 17px; }
  .tc-env-step:nth-child(n) { grid-column: auto; grid-row: auto; min-height: 0; padding: 17px 18px 17px 56px; }
  .tc-env-step-no { position: absolute; left: 18px; top: 21px; margin: 0; }
  .tc-env-step:nth-child(n) .tc-env-arrow { top: auto; right: 50%; bottom: -19px; left: auto; transform: translateX(50%) rotate(90deg); }
  .tc-env-verifier { padding: 17px; }
}

.envd-hero { padding: 36px 0 60px; background: radial-gradient(ellipse at 85% 10%, #e5eefb, transparent 55%), var(--mist); }
.envd-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 42px; color: var(--hub-muted); font-size: 12px; line-height: 1.8; }
.envd-breadcrumb a { min-height: 28px; display: inline-flex; align-items: center; text-decoration: none; }
.envd-breadcrumb a:hover { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.envd-breadcrumb > span:last-child { color: #333e4e; }
.envd-head { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 60px; align-items: center; }
.envd-head h1 { margin-top: 18px; font-size: clamp(42px, 5.2vw, 66px); line-height: 1.1; overflow-wrap: anywhere; }
.envd-title-phrase { display: inline-block; white-space: nowrap; }
.envd-head .lede { margin-top: 22px; max-width: 620px; font-size: 17px; line-height: 1.8; }
.envd-head .hub-badge { margin-top: 22px; }
.envd-head-visual { min-width: 0; overflow: hidden; border: 1px solid rgba(54, 87, 130, 0.1); border-radius: var(--radius); background: rgba(255, 255, 255, 0.55); box-shadow: 0 18px 50px rgba(38, 67, 110, 0.05); }
.envd-head-visual :is(svg, img) { width: 100%; height: auto; }
.envd-specbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; padding: 23px 0; border-top: 1px solid rgba(22, 36, 58, 0.12); border-bottom: 1px solid rgba(22, 36, 58, 0.12); }
.envd-specbar > div { display: flex; flex-direction: column; gap: 8px; padding-inline: 24px; border-left: 1px solid var(--hub-border); min-width: 0; }
.envd-specbar > div:first-child { padding-left: 0; border-left: 0; }
.envd-specbar b { color: #667080; font-size: 10px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; }
.envd-specbar span { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.envd-task-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 28px; }
.envd-task { padding: 32px; border: 1px solid var(--hub-border); border-radius: var(--radius); background: var(--hub-surface); }
.envd-task h3 { margin-top: 14px; font-size: 26px; line-height: 1.3; }
.envd-task > p { margin-top: 16px; color: var(--hub-muted); font-size: 14px; line-height: 1.85; }
.envd-task pre { max-width: 100%; margin-top: 22px; padding: 20px; overflow-x: auto; border: 1px solid #d9e5f3; border-radius: 14px; background: #f3f7fc; color: #304d70; font-size: 12px; line-height: 1.85; tab-size: 2; }
.envd-options { display: grid; gap: 10px; margin-top: 22px; }
.envd-options li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border: 1px solid var(--hub-border); border-radius: 12px; background: #f7f9fc; font-size: 13px; line-height: 1.7; }
.envd-options code { color: var(--blue-text); font-weight: 600; }
.envd-options span { color: #465365; }
.envd-reference { margin-top: 24px; padding: 16px 18px; border-left: 2px solid #8bb9e9; border-radius: 0 10px 10px 0; background: #f1f6fc; }
.envd-reference b { color: #3e5c81; font-size: 12px; font-weight: 600; }
.envd-reference p { margin-top: 6px; color: var(--hub-muted); font-size: 12px; line-height: 1.8; }
.envd-facts { margin-top: 22px; }
.envd-facts > div, .envd-facts dl > div { display: grid; grid-template-columns: minmax(90px, 0.4fr) minmax(0, 1fr); gap: 16px; padding-block: 13px; border-top: 1px solid var(--hub-border); font-size: 12px; line-height: 1.7; }
.envd-facts dt { color: var(--hub-muted); }
.envd-facts dd { color: #354154; overflow-wrap: anywhere; }
.envd-visual { min-width: 0; }
.envd-visual > :is(svg, img) { width: 100%; height: auto; border: 1px solid var(--hub-border); border-radius: var(--radius); background: #f0f5fc; }
.envd-visual figcaption { padding: 16px 6px 0; color: var(--hub-muted); font-size: 12px; line-height: 1.8; }
.envd-evidence-stack { display: grid; gap: 24px; min-width: 0; }
.envd-evidence-stack figure { margin: 0; }
.envd-footage { overflow: hidden; border: 1px solid #26394c; border-radius: var(--radius); background: #0b1723; box-shadow: 0 20px 48px rgba(20, 43, 68, 0.12); color: #dce9f7; }
.envd-footage header { display: grid; gap: 7px; padding: 17px 20px; }
.envd-footage header span { color: #72a8c8; font-family: var(--mono); font-size: 9px; letter-spacing: 0.13em; }
.envd-footage header b { font-size: 12px; font-weight: 500; line-height: 1.6; }
.envd-footage-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #07111a; }
.envd-footage-frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.65s ease; }
.envd-footage-frame.is-active { opacity: 1; }
.envd-footage-hud { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: 12px; padding: 32px 16px 13px; background: linear-gradient(transparent, rgba(3, 15, 24, 0.88)); color: #f3f8ff; font-family: var(--mono); font-size: clamp(9px, 0.9vw, 11px); line-height: 1.6; pointer-events: none; }
.envd-footage-hud span:last-child { text-align: right; }
.envd-footage-mark { position: absolute; display: none; border: 1px solid #8bedd7; box-shadow: 0 0 0 1px rgba(1, 15, 23, 0.5); pointer-events: none; }
.envd-footage-mark.is-on { display: block; }
.envd-footage-mark span { position: absolute; bottom: calc(100% + 5px); right: 0; padding: 3px 6px; white-space: nowrap; border-radius: 3px; background: rgba(3, 20, 29, 0.88); color: #b9ffeb; font-size: 9px; }
.envd-footage-controls { display: none; align-items: center; gap: 12px; padding: 12px 16px 5px; }
.envd-footage.is-ready .envd-footage-controls { display: flex; }
.envd-footage-play { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid #375775; border-radius: 50%; background: #152c41; color: #a9dcff; cursor: pointer; }
.envd-footage-play svg { grid-area: 1 / 1; width: 16px; height: 16px; fill: currentColor; }
.envd-footage-play .fp-pause, .envd-footage-play[aria-pressed="true"] .fp-play { display: none; }
.envd-footage-play[aria-pressed="true"] .fp-pause { display: block; }
.envd-footage-ticks { display: grid; flex: 1; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.envd-footage-ticks button { position: relative; min-width: 0; min-height: 34px; border: 0; border-radius: 3px; background: transparent; color: #8198ac; font-family: var(--mono); font-size: 8px; cursor: pointer; }
.envd-footage-ticks button::before { content: ""; display: block; height: 3px; margin-bottom: 6px; border-radius: 2px; background: #39536c; }
.envd-footage-ticks .s1::before { background: #4f8cbb; }
.envd-footage-ticks .s2::before { background: #8875b7; }
.envd-footage-ticks .s3::before { background: #538f7e; }
.envd-footage-ticks button[aria-pressed="true"] { background: rgba(124, 195, 242, 0.1); color: #e6f4ff; }
.envd-footage-ticks button[aria-pressed="true"]::before { background: #a8e6ff; box-shadow: 0 0 7px rgba(111, 201, 255, 0.5); }
.envd-footage :is(button:hover, button:focus-visible) { color: #fff; }
.envd-footage button:focus-visible { outline: 2px solid #a7dcff; outline-offset: 2px; }
.envd-footage figcaption { padding: 12px 18px 17px; color: #97afc2; font-size: 11px; line-height: 1.8; }
@media (prefers-reduced-motion: reduce) {
  .envd-footage-frame { transition: none; }
}
.envd-timeline { display: grid; gap: 16px; margin-top: 25px; }
.envd-timeline > div { display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; gap: 8px 12px; }
.envd-timeline b { grid-column: 1; grid-row: 1 / span 2; color: #475365; font-family: var(--mono); font-size: 11px; font-weight: 500; }
.envd-timeline span { grid-column: 2; grid-row: 1; color: var(--hub-muted); font-size: 11px; line-height: 1.6; }
.envd-timeline > div::after { content: ""; grid-column: 2; grid-row: 2; height: 6px; border-radius: 999px; background: #e9eef5; }
.envd-timeline i { z-index: 1; grid-column: 2; grid-row: 2; display: block; height: 6px; margin-left: var(--start, 0%); width: calc(var(--end, 100%) - var(--start, 0%)); border-radius: 999px; background: linear-gradient(90deg, #0071e3, #64b2ff); }
.section.envd-replay { background: var(--night); color: var(--night-text); }
.envd-replay .lede { color: var(--hub-muted); }
.envd-replay .eyebrow { color: #83bdff; }
.envd-replay-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.envd-step-list { display: grid; gap: 8px; }
.envd-step-list button { display: flex; flex-direction: column; gap: 6px; width: 100%; min-height: 76px; padding: 17px 20px; border: 1px solid transparent; border-radius: 16px; background: transparent; color: #a8b1c0; text-align: left; cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease; }
.envd-step-list small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; line-height: 1.5; }
.envd-step-list span { font-size: 14px; font-weight: 500; line-height: 1.5; }
.envd-step-list button:hover { background: rgba(149, 184, 240, 0.05); color: #e4edfa; }
.envd-step-list button[aria-pressed="true"] { border-color: rgba(131, 189, 255, 0.37); background: linear-gradient(110deg, #152a47, #101d30); color: #d5e8ff; }
.envd-step-list button[aria-pressed="true"] small { color: #83bdff; }
.envd-step-panels { min-width: 0; }
.envd-step-panels article { min-width: 0; padding: 32px; border: 1px solid var(--hub-border); border-radius: var(--radius); background: linear-gradient(145deg, #101b2b, #0d131e); }
.envd-step-panels header small { color: #8cb5e9; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; }
.envd-step-panels header h3 { margin-top: 12px; color: #edf4ff; font-size: 26px; line-height: 1.3; }
.envd-step-panels pre { max-width: 100%; margin-top: 24px; padding: 22px; overflow-x: auto; border: 1px solid rgba(181, 208, 247, 0.13); border-radius: 16px; background: #060c15; color: #c1dcff; font-size: 12px; line-height: 1.85; tab-size: 2; }
.envd-step-why { margin-top: 22px; color: #b0bdd0; font-size: 14px; line-height: 1.85; }
.envd-step-budget { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hub-border); color: #94a5bd; font-family: var(--mono); font-size: 11px; line-height: 1.8; }
.envd-replay-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.envd-replay-controls button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border: 1px solid rgba(181, 208, 247, 0.22); border-radius: 999px; background: #111b2b; color: #dae9fc; font-size: 12px; line-height: 1.5; cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease; }
.envd-replay-controls button:hover:not(:disabled) { border-color: #83bdff; background: #1a2e4b; }
.envd-replay-controls [data-replay-play] { min-width: 108px; border-color: #0071e3; background: #0071e3; color: #fff; }
.envd-replay-controls [data-replay-play]:hover:not(:disabled) { background: #0077ed; }
.envd-replay-controls button:disabled { opacity: 0.4; cursor: not-allowed; }
.envd-replay-controls [data-replay-position] { min-width: 60px; margin-left: 8px; color: #a8b9ce; font-family: var(--mono); font-size: 12px; text-align: right; }
html:not(.js) :is(.hub-filters, .envd-replay-controls, .envd-step-list) { display: none; }
html:not(.js) .envd-replay-layout { grid-template-columns: 1fr; }
.js .crucible-detail [data-replay-panel][hidden] { display: none !important; }
.envd-score-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
:is(.envd-verdict, .envd-reward) { min-width: 0; padding: 34px; border: 1px solid var(--hub-border); border-radius: var(--radius); background: var(--hub-surface); }
.envd-verdict h3 { margin-bottom: 24px; font-size: 25px; }
.envd-verdict ul { display: grid; gap: 20px; }
.envd-verdict li { display: grid; grid-template-columns: 66px minmax(0, 1fr); align-items: start; gap: 14px; padding-top: 20px; border-top: 1px solid var(--hub-border); }
.envd-check { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 8px; border: 1px solid #d0dbe7; border-radius: 8px; color: #516276; background: #f3f6fa; font-family: var(--mono); font-size: 10px; line-height: 1.5; }
.envd-check.is-pass { border-color: #c2dcd2; background: #edf7f2; color: #29664e; }
.envd-check.is-fail { border-color: #ebcece; background: #fcf1f1; color: #a13d3d; }
.envd-check.is-review { border-color: #e6d7b9; background: #faf6ed; color: #80602a; }
.envd-verdict li b { display: block; font-size: 14px; font-weight: 600; line-height: 1.6; }
.envd-verdict li p { margin-top: 5px; color: var(--hub-muted); font-size: 12px; line-height: 1.8; }
.envd-reward-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; margin-top: 24px; }
.envd-reward-value strong { color: var(--blue-text); font-size: clamp(54px, 6vw, 78px); font-weight: 600; line-height: 1; letter-spacing: -0.055em; }
.envd-reward-value span { color: var(--hub-muted); font-size: 13px; line-height: 1.6; }
.envd-formula { margin-top: 24px; }
.envd-formula pre, pre.envd-formula { max-width: 100%; padding: 17px 18px; overflow-x: auto; border-radius: 12px; background: #f1f5fa; color: #3e5c81; font-size: 12px; line-height: 1.8; }
.envd-component { display: grid; gap: 15px; margin-top: 24px; }
.envd-component > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; }
.envd-component span { color: var(--hub-muted); font-size: 12px; line-height: 1.7; }
.envd-component b { color: #3e526b; font-family: var(--mono); font-size: 12px; font-weight: 500; }
.envd-meter { grid-column: 1 / -1; overflow: hidden; height: 6px; border-radius: 999px; background: #e6edf5; }
.envd-meter i { display: block; width: clamp(0%, var(--score, 0%), 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0071e3, #6bb8ff); }
.envd-reward-note { margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--hub-border); color: var(--hub-muted); font-size: 12px; line-height: 1.8; }
.envd-contract { max-width: 100%; overflow-x: auto; border: 1px solid var(--hub-border); border-radius: var(--radius); background: var(--hub-surface); }
.envd-contract table, table.envd-contract { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.75; text-align: left; }
.envd-contract :is(th, td) { padding: 18px 24px; border-bottom: 1px solid var(--hub-border); vertical-align: top; }
.envd-contract thead th { background: #edf3fb; color: #445b79; font-size: 11px; font-weight: 600; }
.envd-contract tbody th { width: 28%; color: var(--blue-text); font-family: var(--mono); font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.envd-contract td { color: var(--hub-muted); overflow-wrap: anywhere; }
.envd-contract td code { color: #3b587c; font-size: 12px; }
.envd-contract tbody tr:last-child > * { border-bottom: 0; }
.envd-boundary { margin-top: 32px; padding: 30px 32px; border: 1px solid var(--hub-border); border-radius: var(--radius); background: var(--hub-surface); }
.envd-boundary h3 { font-size: 22px; }
.envd-boundary ul { display: grid; gap: 13px; margin-top: 20px; }
.envd-boundary li { position: relative; padding-left: 18px; color: var(--hub-muted); font-size: 13px; line-height: 1.85; }
.envd-boundary li::before { content: ""; position: absolute; top: 10px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #758eaf; }
.envd-source { margin-top: 26px; }
.envd-source p { color: var(--hub-muted); font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.envd-source a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.envd-pagination { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.envd-pagination a { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-height: 105px; padding: 22px 24px; border: 1px solid var(--hub-border); border-radius: 20px; background: var(--hub-surface); text-decoration: none; transition: border-color 0.18s ease, background 0.18s ease; }
.envd-pagination a:hover { border-color: #aac5e6; background: #f3f7fd; }
.envd-pagination a:nth-child(2) { text-align: center; }
.envd-pagination a:last-child { text-align: right; }
.envd-pagination b { color: var(--hub-muted); font-size: 10px; font-weight: 500; letter-spacing: 0.06em; line-height: 1.6; }
.envd-pagination span { color: var(--blue-text); font-size: 14px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }

@media (max-width: 1024px) {
  :is(.crucible-hub, .crucible-detail) .section { padding-block: 84px; }
  .hub-hero { padding-block: 72px 76px; }
  .hub-hero-grid { gap: 30px; }
  .hub-hero h1 { font-size: 66px; }
  .hub-hero h1 span { font-size: 40px; }
  .hub-hero .lede { font-size: 16px; }
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .hub-contract-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hub-verifier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.hub-contract, .hub-episode-note, .hub-stack-panel) { padding: 26px; }
  .hub-scheduler { padding: 26px; }
  .hub-scheduler-flow { gap: 8px; }
  .hub-scheduler-flow > div { padding: 14px 12px; }
  .envd-head { gap: 32px; }
  .envd-head h1 { font-size: 48px; }
  .envd-head .lede { font-size: 16px; }
  .envd-task-grid, .envd-score-grid { gap: 20px; }
  :is(.envd-task, .envd-verdict, .envd-reward) { padding: 26px; }
  .envd-replay-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 18px; }
  .envd-step-panels article { padding: 26px; }
  .envd-step-list button { padding: 15px; }
}
@media (max-width: 700px) {
  :is(.crucible-hub, .crucible-detail) .wrap { width: min(var(--max), calc(100% - 36px)); }
  :is(.crucible-hub, .crucible-detail) .section { padding-block: 66px; }
  :is(.crucible-hub, .crucible-detail) .section-head { margin-bottom: 32px; }
  :is(.crucible-hub, .crucible-detail) .section-head .lede { font-size: 16px; }
  .hub-hero { padding: 58px 0 62px; }
  .hub-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hub-hero h1 { font-size: clamp(58px, 12vw, 76px); }
  .hub-hero h1 span { font-size: clamp(34px, 7.7vw, 46px); }
  .hub-hero .lede { max-width: 560px; font-size: 17px; }
  .hub-hero-note { max-width: 540px; }
  .hub-observatory { width: min(100%, 520px); margin-inline: auto; }
  .hub-observatory::before { filter: blur(32px); }
  .hub-heading { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 25px; }
  .hub-heading .section-head { margin-bottom: 0; }
  .hub-index { padding: 0; }
  .hub-filters { gap: 7px; margin-bottom: 24px; }
  .hub-filters button { padding-inline: 16px; font-size: 12px; }
  .hub-grid { grid-template-columns: 1fr; gap: 22px; }
  .hub-card h3 { min-height: 0; }
  .hub-card-body { padding: 25px; }
  .hub-card-body > p { min-height: 0; }
  .hub-contract-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hub-contract-flow > div { padding: 20px 17px; }
  .hub-contract-grid, .hub-stack-grid, .hub-scope { grid-template-columns: 1fr; gap: 20px; }
  .hub-verifier-grid { gap: 12px; }
  .hub-verifier-grid > a { padding: 24px 19px; }
  .hub-verifier-grid h3 { font-size: 20px; }
  .hub-verifier-grid b { margin-bottom: 22px; }
  .hub-scheduler-flow { flex-direction: column; align-items: stretch; gap: 16px; }
  .hub-scheduler-flow > div { padding: 17px; }
  .hub-scheduler-flow > div + div::before { content: "↓"; left: 50%; top: -17px; transform: translateX(-50%); }
  .hub-scope-item { padding-top: 22px; }
  .envd-hero { padding: 24px 0 38px; }
  .envd-breadcrumb { margin-bottom: 28px; font-size: 11px; gap: 8px; }
  .envd-head { grid-template-columns: 1fr; gap: 30px; }
  .envd-head h1 { font-size: clamp(39px, 8.8vw, 54px); }
  .envd-head .lede { font-size: 16px; }
  .envd-head-visual { width: min(100%, 520px); margin-inline: auto; }
  .envd-specbar { grid-template-columns: 1fr 1fr; gap: 22px 0; margin-top: 30px; padding-block: 22px; }
  .envd-specbar > div { padding-inline: 18px; }
  .envd-specbar > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .envd-specbar span { font-size: 12px; }
  .envd-task-grid, .envd-score-grid { grid-template-columns: 1fr; gap: 26px; }
  .envd-task h3 { font-size: 24px; }
  .envd-replay-layout { grid-template-columns: 1fr; gap: 20px; }
  .envd-step-list { display: flex; gap: 8px; max-width: 100%; padding: 4px 4px 12px; overflow-x: auto; scrollbar-color: #566984 #10151e; }
  .envd-step-list button { flex: 0 0 158px; width: auto; min-height: 74px; padding: 14px 16px; border-color: var(--hub-border); }
  .envd-step-list span { font-size: 12px; }
  .envd-step-panels article { padding: 25px; }
  .envd-step-panels header h3 { font-size: 23px; }
  .envd-step-panels pre { padding: 18px; font-size: 11px; }
  .envd-replay-controls { justify-content: flex-start; gap: 8px; }
  .envd-replay-controls button { padding-inline: 15px; }
  .envd-replay-controls [data-replay-position] { margin-left: auto; min-width: 48px; }
  .envd-contract :is(th, td) { padding: 16px; font-size: 12px; }
  .envd-contract tbody th { width: 32%; font-size: 11px; }
  .envd-contract td code { font-size: 11px; }
  .envd-boundary { padding: 26px; }
  .envd-pagination { gap: 9px; margin-top: 34px; }
  .envd-pagination a { min-height: 96px; padding: 18px 13px; border-radius: 16px; }
  .envd-pagination span { font-size: 12px; }
  .envd-pagination b { font-size: 9px; letter-spacing: 0; }
}
@media (max-width: 390px) {
  :is(.crucible-hub, .crucible-detail) .wrap { width: calc(100% - 32px); }
  :is(.crucible-hub, .crucible-detail) .section { padding-block: 54px; }
  .hub-hero { padding-top: 46px; }
  .hub-hero h1 { font-size: 55px; }
  .hub-hero h1 span { font-size: 32px; }
  .hub-hero .lede { font-size: 16px; }
  .hub-hero .hero-actions { gap: 9px; }
  .hub-hero .btn { padding-inline: 18px; font-size: 13px; }
  .hub-filters button { padding-inline: 13px; }
  .hub-card-body { padding: 22px; }
  .hub-verifier-grid { grid-template-columns: 1fr; }
  .hub-verifier-grid b { margin-bottom: 17px; }
  :is(.hub-contract, .hub-episode-note, .hub-stack-panel, .hub-scheduler) { padding: 22px; }
  .hub-contract dl > div { grid-template-columns: 1fr; gap: 5px; }
  .hub-episode-note pre { padding: 16px; font-size: 11px; }
  .hub-stack-layer { grid-template-columns: 48px minmax(0, 1fr); gap: 5px 12px; }
  .envd-head h1 { font-size: 39px; }
  :is(.envd-task, .envd-verdict, .envd-reward, .envd-boundary, .envd-step-panels article) { padding: 22px; }
  .envd-task pre { padding: 16px; font-size: 11px; }
  .envd-verdict li { grid-template-columns: 60px minmax(0, 1fr); gap: 10px; }
  .envd-check { padding-inline: 6px; font-size: 9px; }
  .envd-replay-controls button { padding-inline: 12px; font-size: 11px; }
  .envd-replay-controls [data-replay-play] { min-width: 96px; }
  .envd-replay-controls [data-replay-position] { font-size: 10px; min-width: 42px; }
  .envd-pagination { grid-template-columns: 1fr; gap: 10px; }
  .envd-pagination a { min-height: 76px; padding: 18px 22px; }
  .envd-pagination a:nth-child(2), .envd-pagination a:last-child { text-align: left; }
  .envd-pagination span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.crucible-hub, .crucible-detail) { scroll-behavior: auto; }
  :is(.crucible-hub, .crucible-detail) :is(.hub-card, .hub-filters button, .hub-verifier-grid > a, .envd-step-list button, .envd-replay-controls button, .envd-pagination a) { transition: none; }
  .hub-card:hover, .hub-verifier-grid > a:hover { transform: none; }
  .crucible-detail [data-replay-play] { display: none !important; }
}
#loop .tech-method { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); }
#loop .tech-method a { color: var(--blue-text); letter-spacing: 0.04em; }
