:root {
  color-scheme: dark;
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --bg: #070709;
  --bg-soft: #0e0f13;
  --bg-elevated: rgba(19, 20, 26, 0.92);
  --surface: rgba(21, 22, 28, 0.68);
  --surface-strong: rgba(27, 28, 35, 0.85);
  --hairline: rgba(255, 255, 255, 0.06);
  --hairline-strong: rgba(255, 255, 255, 0.11);
  --text: #f5f2eb;
  --muted: #9096a4;
  --muted-strong: #ccd1db;
  --accent: #ff9f1a;
  --accent-strong: #ff7a00;
  --accent-soft: rgba(255, 159, 26, 0.12);
  --accent-glow: rgba(255, 122, 0, 0.28);
  --emerald: #46d39a;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 18px 48px rgba(7, 7, 9, 0.55);
  --shadow-accent: 0 16px 38px rgba(255, 122, 0, 0.18);
  --header-h: 68px;
  --content: 1180px;
  --parallax-x: 0px;
  --parallax-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 28px);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px circle at 12% -6%, rgba(255, 130, 20, 0.08), transparent 46%),
    radial-gradient(900px circle at 100% 4%, rgba(255, 90, 0, 0.05), transparent 42%),
    radial-gradient(1200px circle at 50% 110%, rgba(255, 159, 26, 0.04), transparent 52%),
    linear-gradient(180deg, #070709 0%, #08090c 52%, #0a0b10 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 120;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #120b02;
  font-weight: 700;
  transition: top 160ms var(--ease-out);
}

.skip-link:focus {
  top: 16px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 50% 0%, rgba(0, 0, 0, 0.9), transparent 72%);
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.aurora {
  position: fixed;
  border-radius: 50%;
  filter: blur(44px);
  pointer-events: none;
  z-index: -1;
}

.aurora--a {
  inset: auto -10% 18% auto;
  width: 48vw;
  height: 48vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.16), transparent 68%);
  opacity: 0.75;
  animation: auroraDrift 18s ease-in-out infinite alternate;
}

.aurora--b {
  inset: 8% auto auto -12%;
  width: 36vw;
  height: 36vw;
  max-width: 440px;
  max-height: 440px;
  background: radial-gradient(circle, rgba(255, 159, 26, 0.1), transparent 70%);
  opacity: 0.55;
  animation: auroraDrift 22s ease-in-out infinite alternate-reverse;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  color: #120b02;
  background: rgba(255, 159, 26, 0.82);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(1120px, calc(100% - 24px));
  padding: 10px 14px 10px 12px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: rgba(10, 11, 16, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: #120b02;
  background: linear-gradient(145deg, #ffbc52 0%, #ff9f1a 55%, #ff7a00 100%);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav a.is-active {
  color: var(--accent);
  background: rgba(255, 159, 26, 0.1);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 159, 26, 0.45);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.is-active {
  color: #120b02;
  background: linear-gradient(135deg, #ff7a00 0%, #ff9f1a 58%, #ffbc52 100%);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), background 220ms var(--ease-out), border-color 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid rgba(255, 159, 26, 0.7);
  outline-offset: 3px;
}

.btn-primary {
  color: #120b02;
  background: linear-gradient(135deg, #ff7a00 0%, #ff9f1a 58%, #ffbc52 100%);
  box-shadow: var(--shadow-accent);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--hairline-strong);
}

.btn-ghost {
  color: var(--muted-strong);
  background: transparent;
  border-color: var(--hairline);
}

.header-docs {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.82rem;
}

.header-contact {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.82rem;
}

main {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--header-h) + 28px) 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 40px;
  align-items: center;
  min-height: calc(100dvh - var(--header-h) - 40px);
  padding: 8px 0 40px;
}

.brand-hero {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.8vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-wrap: balance;
  background: linear-gradient(135deg, #fff7ea 0%, #ff9f1a 48%, #ff7a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-hero--sm {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: accentBlink 2.4s ease-in-out infinite;
}

.eyebrow.tight {
  margin-bottom: 12px;
}

.hero h1,
.section-heading h2,
.split-copy h2,
.connect-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  max-width: 16ch;
  text-wrap: balance;
}

.hero-lead,
.section-lead,
.section-heading p,
.connect-panel p {
  margin: 16px 0 0;
  color: var(--muted-strong);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 42ch;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-visual {
  position: relative;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: transform 120ms linear;
}

.hero-art {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  background:
    radial-gradient(ellipse 70% 55% at 72% 28%, rgba(255, 159, 26, 0.1), transparent 62%),
    radial-gradient(ellipse 50% 40% at 18% 78%, rgba(70, 211, 154, 0.06), transparent 58%),
    linear-gradient(160deg, #0c0d12 0%, #070709 48%, #0a0b10 100%);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 159, 26, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 159, 26, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 62% 42%, rgba(0, 0, 0, 0.85), transparent 74%);
  opacity: 0.55;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.14) 2px,
    rgba(0, 0, 0, 0.14) 3px
  );
  opacity: 0.28;
  mix-blend-mode: multiply;
}

.ops-console {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 18px 18px 16px;
}

.ops-meta {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ops-meta-id {
  color: var(--muted);
}

.ops-meta-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--emerald);
}

.ops-meta-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(70, 211, 154, 0.45);
  animation: pulseSuccess 2.2s ease-out infinite;
}

.ops-links {
  position: absolute;
  inset: 8% 4% 10% 4%;
  width: auto;
  height: auto;
  z-index: 1;
  overflow: visible;
}

.ops-rail-path {
  fill: none;
  stroke: rgba(255, 159, 26, 0.28);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 12 10;
  animation: railDash 18s linear infinite;
}

.ops-rail-glow {
  fill: none;
  stroke: rgba(255, 159, 26, 0.55);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 560;
  stroke-dashoffset: 560;
  animation: railDraw 2s ease forwards 0.2s;
  filter: drop-shadow(0 0 4px rgba(255, 159, 26, 0.35));
}

.ops-token {
  filter: drop-shadow(0 0 8px rgba(255, 159, 26, 0.9));
}

.ops-nodes {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  z-index: 2;
}

.ops-node {
  position: absolute;
  display: grid;
  gap: 0;
  min-width: 88px;
  max-width: 112px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 11, 15, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(7, 7, 9, 0.4);
}

.ops-node > span[data-i18n] {
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ops-pulse {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 159, 26, 0.14);
  animation: nodePulse 2.8s ease-in-out infinite;
}

.ops-node--1 { left: 4%; bottom: 18%; animation: nodeIn 0.35s ease forwards 0.9s; opacity: 0; }
.ops-node--2 { left: 28%; top: 16%; animation: nodeIn 0.35s ease forwards 1.05s; opacity: 0; }
.ops-node--3 { left: 48%; top: 42%; animation: nodeIn 0.35s ease forwards 1.2s; opacity: 0; }
.ops-node--4 { right: 22%; top: 42%; animation: nodeIn 0.35s ease forwards 1.35s; opacity: 0; }
.ops-node--5 { right: 3%; bottom: 18%; animation: nodeIn 0.35s ease forwards 1.5s; opacity: 0; }

.ops-node--match {
  border-color: rgba(70, 211, 154, 0.4);
  background:
    linear-gradient(180deg, rgba(70, 211, 154, 0.12), transparent 70%),
    rgba(10, 11, 15, 0.9);
}

.ops-node--match .ops-pulse {
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(70, 211, 154, 0.16);
}

.ops-match-flash {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(70, 211, 154, 0.35), transparent 68%);
  animation: matchFlash 2.8s ease-in-out infinite;
  animation-delay: 1.8s;
}

.ops-console .status-chip {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 16px;
  justify-self: end;
}

.hud-corner {
  position: absolute;
  z-index: 4;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(255, 159, 26, 0.55);
  pointer-events: none;
}

.hud-corner--tl {
  top: 12px;
  left: 12px;
  border-right: 0;
  border-bottom: 0;
}

.hud-corner--br {
  right: 12px;
  bottom: 12px;
  border-left: 0;
  border-top: 0;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(70, 211, 154, 0.28);
  background: rgba(14, 15, 19, 0.9);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 650;
  backdrop-filter: blur(10px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(70, 211, 154, 0.55);
}

.pulse-success .status-dot {
  animation: pulseSuccess 2.2s ease-out infinite;
}

.pulse-blink {
  animation: accentBlink 1.6s ease-in-out infinite;
}

.section {
  padding: 88px 0 24px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading > span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2,
.split-copy h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  text-wrap: balance;
}

.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.door {
  display: grid;
  gap: 10px;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background:
    linear-gradient(180deg, rgba(255, 159, 26, 0.08), transparent 42%),
    var(--surface);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.door:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 159, 26, 0.42);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 159, 26, 0.08);
}

.door-label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.door strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.door p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.door-cta {
  margin-top: 8px;
  color: var(--muted-strong);
  font-weight: 700;
  font-size: 0.88rem;
  transition: color 160ms ease, transform 160ms ease;
}

.door:hover .door-cta {
  color: var(--accent);
  transform: translateX(3px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.split--reverse .split-copy {
  order: 2;
}

.split--reverse .split-visual {
  order: 1;
}

.split-visual {
  transform: translate3d(calc(var(--parallax-x) * 0.45), calc(var(--parallax-y) * 0.45), 0);
  transition: transform 120ms linear;
}

.feature-list {
  list-style: none;
  margin: 22px 0 28px;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
}

.feature-list li {
  position: relative;
  padding: 12px 0;
  color: var(--muted-strong);
  line-height: 1.45;
  border-bottom: 1px solid var(--hairline);
}

.art-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 159, 26, 0.08), transparent 60%),
    var(--bg-soft);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.panel-frame {
  display: flex;
  align-items: stretch;
}

.panel-board {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px 22px 64px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-head-meta {
  color: var(--accent);
  font-size: 0.68rem;
}

.panel-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.panel-rows li {
  display: grid;
  grid-template-columns: 84px 1fr 12px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: rgba(16, 17, 22, 0.86);
  color: var(--muted);
  font-size: 0.84rem;
}

.panel-rows li b {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted-strong);
}

.panel-rows li i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  justify-self: end;
}

.panel-rows li.is-done,
.panel-rows li.is-ready {
  border-color: rgba(70, 211, 154, 0.22);
  background:
    linear-gradient(90deg, rgba(70, 211, 154, 0.08), transparent 42%),
    rgba(16, 17, 22, 0.86);
}

.panel-rows li.is-done i,
.panel-rows li.is-ready i {
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(70, 211, 154, 0.14);
  animation: accentBlink 1.8s ease-in-out infinite;
}

.panel-rows li.is-wait {
  border-color: rgba(255, 159, 26, 0.28);
}

.panel-rows li.is-wait i {
  background: var(--accent);
  animation: accentBlink 1.4s ease-in-out infinite;
}

.panel-rows li.is-hold {
  border-color: rgba(255, 122, 0, 0.3);
}

.panel-rows li.is-hold i {
  background: var(--accent-strong);
}

.panel-board--orders .panel-rows li:nth-child(1) { animation: nodeIn 0.35s ease forwards 0.1s; opacity: 0; }
.panel-board--orders .panel-rows li:nth-child(2) { animation: nodeIn 0.35s ease forwards 0.2s; opacity: 0; }
.panel-board--orders .panel-rows li:nth-child(3) { animation: nodeIn 0.35s ease forwards 0.3s; opacity: 0; }
.panel-board--orders .panel-rows li:nth-child(4) { animation: nodeIn 0.35s ease forwards 0.4s; opacity: 0; }

.panel-board--channels .panel-rows li:nth-child(1) { animation: nodeIn 0.35s ease forwards 0.1s; opacity: 0; }
.panel-board--channels .panel-rows li:nth-child(2) { animation: nodeIn 0.35s ease forwards 0.2s; opacity: 0; }
.panel-board--channels .panel-rows li:nth-child(3) { animation: nodeIn 0.35s ease forwards 0.3s; opacity: 0; }
.panel-board--channels .panel-rows li:nth-child(4) { animation: nodeIn 0.35s ease forwards 0.4s; opacity: 0; }

.hud-badge {
  position: absolute;
  z-index: 3;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 159, 26, 0.28);
  background: rgba(7, 7, 9, 0.82);
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
}

.hud-badge .status-dot {
  background: var(--accent);
}

.hud-badge--ready .status-dot {
  background: var(--emerald);
}

.flow-wrap {
  position: relative;
}

.flow-track {
  display: none;
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.flow li {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 120px;
  padding: 16px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 220ms var(--ease-out), background 220ms var(--ease-out), box-shadow 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.flow li.is-active {
  border-color: rgba(255, 159, 26, 0.45);
  background:
    linear-gradient(180deg, rgba(255, 159, 26, 0.12), transparent 60%),
    var(--surface);
  box-shadow: 0 0 0 1px rgba(255, 159, 26, 0.08), 0 12px 28px rgba(7, 7, 9, 0.28);
  transform: translateY(-2px);
}

.flow li.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: tokenSweep 0.9s var(--ease-out);
}

.flow > li > span:first-child {
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.flow-match {
  border-color: rgba(70, 211, 154, 0.35);
  background:
    linear-gradient(180deg, rgba(70, 211, 154, 0.12), transparent 55%),
    var(--surface);
}

.flow-match.is-flash .match-flash {
  opacity: 1;
  animation: matchFlash 0.7s ease;
}

.match-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 30%, rgba(70, 211, 154, 0.28), transparent 62%);
}

.flow-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.bots-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px 36px;
  align-items: center;
  margin-bottom: 28px;
}

.bots-copy h2 {
  margin: 0 0 14px;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.bots-copy .section-lead {
  margin: 0 0 22px;
  max-width: 36ch;
}

.bots-caps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.bots-caps li {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background:
    linear-gradient(135deg, rgba(255, 159, 26, 0.05), transparent 42%),
    rgba(14, 15, 19, 0.72);
}

.bots-caps strong {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.bots-caps span {
  color: var(--muted-strong);
  font-size: 0.92rem;
  line-height: 1.45;
}

.bots-dual {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 42ch;
}

.tg-hud {
  position: relative;
  min-height: 460px;
  padding: 22px;
  border-radius: calc(var(--r-xl) + 4px);
  border: 1px solid rgba(255, 159, 26, 0.22);
  background:
    radial-gradient(ellipse 70% 55% at 18% 12%, rgba(255, 159, 26, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 45% at 92% 88%, rgba(255, 122, 0, 0.08), transparent 60%),
    linear-gradient(160deg, #101118 0%, #070709 72%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 28px 70px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(255, 122, 0, 0.08);
  overflow: hidden;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
}

.tg-hud-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 159, 26, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 159, 26, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 78%);
  opacity: 0.7;
  pointer-events: none;
}

.tg-hud-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 159, 26, 0.05) 48%,
    transparent 52%
  );
  background-size: 100% 220%;
  animation: tgScan 5.5s linear infinite;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.tg-hud-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -30px;
  top: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 159, 26, 0.28), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  animation: tgPulseGlow 3.6s ease-in-out infinite;
}

.tg-frame {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 340px);
  height: 420px;
  margin: 0 auto 0 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(18, 20, 28, 0.98), rgba(9, 10, 14, 0.98));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.tg-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(12, 13, 18, 0.92);
}

.tg-chrome-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tg-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  color: #120b02;
  background: linear-gradient(145deg, #ffbc52, #ff7a00);
}

.tg-chrome-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.tg-chrome-meta b {
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tg-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.tg-online i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(70, 211, 154, 0.55);
  animation: tgOnlinePulse 1.8s ease-out infinite;
}

.tg-chrome-tag {
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 159, 26, 0.35);
  background: rgba(255, 159, 26, 0.1);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tg-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 12px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 159, 26, 0.05), transparent 55%),
    #0b0c11;
}

.tg-msg {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 0.82rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}

.tg-msg.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tg-msg--user {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: linear-gradient(145deg, rgba(255, 159, 26, 0.92), rgba(255, 122, 0, 0.88));
  color: #120b02;
  font-weight: 650;
}

.tg-msg--bot {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(22, 24, 32, 0.95);
  color: var(--muted-strong);
}

.tg-msg.is-typing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 92px;
}

.tg-msg.is-typing em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.72rem;
}

.tg-dots {
  display: inline-flex;
  gap: 4px;
}

.tg-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.35;
  animation: tgDot 1.1s ease-in-out infinite;
}

.tg-dots i:nth-child(2) {
  animation-delay: 0.15s;
}

.tg-dots i:nth-child(3) {
  animation-delay: 0.3s;
}

.tg-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--hairline);
  background: rgba(12, 13, 18, 0.96);
  color: var(--muted);
  font-size: 0.74rem;
}

.tg-composer b {
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 159, 26, 0.28);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.tg-side {
  position: absolute;
  right: 18px;
  top: 50%;
  z-index: 3;
  display: grid;
  gap: 10px;
  width: min(168px, 38%);
  transform: translateY(-50%);
}

.tg-chip {
  display: grid;
  gap: 4px;
  padding: 12px 12px 11px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 11, 16, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.tg-chip span {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tg-chip b {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
}

.tg-chip--live b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--emerald);
}

.tg-chip--live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  animation: tgOnlinePulse 1.8s ease-out infinite;
}

.tg-chip--live em {
  font-style: normal;
}

@keyframes tgScan {
  0% {
    background-position: 0 -40%;
  }
  100% {
    background-position: 0 140%;
  }
}

@keyframes tgPulseGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.08);
  }
}

@keyframes tgOnlinePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(70, 211, 154, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(70, 211, 154, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(70, 211, 154, 0);
  }
}

@keyframes tgDot {
  0%,
  80%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.bot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bot-card {
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.bot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 159, 26, 0.35);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.bot-art {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  border: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(255, 159, 26, 0.1), transparent 58%),
    linear-gradient(160deg, #101118, #070709 70%);
}

.bot-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bot-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.bot-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.geo-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.geo-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 148px;
  padding: 18px 16px 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse 80% 70% at 12% 0%, rgba(255, 159, 26, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.03), transparent 48%),
    var(--surface);
  transition: transform 200ms var(--ease-out), border-color 200ms ease, box-shadow 200ms ease;
}

.geo-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 159, 26, 0.32);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.geo-chip > span:last-child {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.geo-flag {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.geo-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.geo-chip--more {
  border-color: rgba(255, 159, 26, 0.35);
  background:
    radial-gradient(ellipse 90% 80% at 80% 10%, rgba(255, 159, 26, 0.18), transparent 58%),
    linear-gradient(150deg, rgba(255, 122, 0, 0.12), transparent 50%),
    var(--surface-strong);
}

.geo-chip--more > span:last-child {
  display: grid;
  gap: 4px;
}

.geo-chip--more b {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.geo-chip--more small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
}

.geo-flag--more {
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(7, 7, 9, 0.72);
  border-color: rgba(255, 159, 26, 0.4);
}

.integrity-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.integrity-card {
  position: relative;
  grid-column: span 2;
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--surface-strong);
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.integrity-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 159, 26, 0.38);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3), 0 0 28px rgba(255, 122, 0, 0.08);
}

.integrity-card--hero {
  grid-column: span 3;
  grid-template-columns: auto 1fr;
  align-items: start;
  border-color: rgba(255, 159, 26, 0.22);
  background:
    radial-gradient(500px circle at 0% 0%, rgba(255, 159, 26, 0.12), transparent 45%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.04), transparent 45%),
    var(--surface-strong);
}

.integrity-card--accent {
  grid-column: span 3;
  border-color: rgba(70, 211, 154, 0.28);
  background:
    radial-gradient(420px circle at 100% 0%, rgba(70, 211, 154, 0.1), transparent 48%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--surface-strong);
}

.integrity-corners::before,
.integrity-corners::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(255, 159, 26, 0.45);
  pointer-events: none;
}

.integrity-corners::before {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}

.integrity-corners::after {
  right: 10px;
  bottom: 10px;
  border-left: 0;
  border-top: 0;
}

.integrity-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(70, 211, 154, 0.08), transparent);
  background-size: 100% 220%;
  animation: integrityScan 5.5s linear infinite;
  opacity: 0.7;
}

.integrity-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(255, 159, 26, 0.28));
}

.integrity-card--accent .integrity-icon {
  color: var(--emerald);
  filter: drop-shadow(0 0 10px rgba(70, 211, 154, 0.28));
}

.integrity-icon svg {
  width: 100%;
  height: 100%;
}

.ico-draw {
  stroke-dasharray: 120;
  stroke-dashoffset: 0;
}

.integrity-card:hover .ico-draw {
  animation: iconDraw 1.1s ease;
}

.integrity-card:hover .ico-draw--delay {
  animation-delay: 0.12s;
}

.ico-pulse {
  transform-origin: center;
  animation: iconPulse 2.4s ease-in-out infinite;
}

.ico-pulse--late {
  animation-delay: 0.7s;
}

.integrity-body {
  display: grid;
  gap: 10px;
}

.integrity-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.integrity-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.5;
  font-size: 0.95rem;
}

.env-diagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.env-pill {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--hairline-strong);
  background: rgba(255, 255, 255, 0.03);
}

.env-pill--demo {
  color: var(--muted-strong);
}

.env-pill--live {
  color: #120b02;
  border-color: transparent;
  background: linear-gradient(135deg, #ff7a00, #ff9f1a);
}

.env-gap {
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 159, 26, 0.7), rgba(255, 255, 255, 0.18));
  position: relative;
}

.env-gap::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 159, 26, 0.7);
  animation: gapToken 2.2s ease-in-out infinite;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 4px 18px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.connect-panel {
  padding: clamp(28px, 5vw, 48px);
  border-radius: calc(var(--r-xl) + 4px);
  border: 1px solid rgba(255, 159, 26, 0.28);
  background:
    radial-gradient(700px circle at 12% 0%, rgba(255, 159, 26, 0.14), transparent 45%),
    linear-gradient(160deg, rgba(18, 19, 25, 0.96), rgba(10, 11, 15, 0.98));
  box-shadow: var(--shadow);
  text-align: center;
}

.connect-panel h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.connect-panel p {
  margin-left: auto;
  margin-right: auto;
}

.connect-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 16px;
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 40px;
  color: var(--muted);
  font-size: 0.84rem;
}

.site-footer > a:first-child {
  font-family: var(--font-display);
  color: var(--muted-strong);
}

.footer-docs:hover,
.footer-host:hover {
  color: var(--muted-strong);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.stagger > *:nth-child(1) { transition-delay: 40ms; }
.stagger > *:nth-child(2) { transition-delay: 90ms; }
.stagger > *:nth-child(3) { transition-delay: 140ms; }
.stagger > *:nth-child(4) { transition-delay: 190ms; }
.stagger > *:nth-child(5) { transition-delay: 240ms; }
.stagger > *:nth-child(6) { transition-delay: 290ms; }
.stagger > *:nth-child(7) { transition-delay: 340ms; }

.integrity-grid > .reveal:nth-child(1) { transition-delay: 40ms; }
.integrity-grid > .reveal:nth-child(2) { transition-delay: 110ms; }
.integrity-grid > .reveal:nth-child(3) { transition-delay: 180ms; }
.integrity-grid > .reveal:nth-child(4) { transition-delay: 250ms; }
.integrity-grid > .reveal:nth-child(5) { transition-delay: 320ms; }

@keyframes railDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes railDash {
  to { stroke-dashoffset: -220; }
}

@keyframes nodeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseSuccess {
  0% { box-shadow: 0 0 0 0 rgba(70, 211, 154, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(70, 211, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 211, 154, 0); }
}

@keyframes accentBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.86); }
}

@keyframes auroraDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4%, 6%, 0) scale(1.08); }
}

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 159, 26, 0.12), 0 0 8px rgba(255, 159, 26, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(255, 159, 26, 0.08), 0 0 14px rgba(255, 159, 26, 0.45); }
}

@keyframes tokenSweep {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}

@keyframes matchFlash {
  0%, 70%, 100% { opacity: 0; }
  35% { opacity: 1; }
}

@keyframes iconDraw {
  from { stroke-dashoffset: 120; }
  to { stroke-dashoffset: 0; }
}

@keyframes iconPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes integrityScan {
  from { background-position: 0 -40%; }
  to { background-position: 0 140%; }
}

@keyframes gapToken {
  0% { left: 0; opacity: 0.4; }
  50% { left: calc(100% - 6px); opacity: 1; }
  100% { left: 0; opacity: 0.4; }
}

@media (max-width: 1100px) {
  .header-docs {
    display: none;
  }

  .geo-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero,
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse .split-copy,
  .split--reverse .split-visual {
    order: initial;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero h1 {
    max-width: none;
  }

  .ops-node {
    min-width: 78px;
    max-width: 96px;
    padding: 8px 10px;
  }

  .ops-node > span[data-i18n] {
    font-size: 0.7rem;
  }

  .ops-node--1 { left: 2%; bottom: 22%; }
  .ops-node--2 { left: 24%; top: 18%; }
  .ops-node--3 { left: 46%; top: 44%; }
  .ops-node--4 { right: 20%; top: 44%; }
  .ops-node--5 { right: 2%; bottom: 22%; }

  .ops-console .status-chip {
    font-size: 0.72rem;
    padding: 7px 10px;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid var(--hairline-strong);
    background: rgba(10, 11, 16, 0.96);
    backdrop-filter: blur(18px);
  }

  .site-header.is-open .nav a.is-active::after {
    left: 10px;
    right: auto;
    top: 50%;
    bottom: auto;
    width: 3px;
    height: 16px;
    transform: translateY(-50%);
  }

  .doors,
  .bot-grid,
  .bots-stage {
    grid-template-columns: 1fr;
  }

  .bots-copy h2 {
    max-width: none;
  }

  .tg-hud {
    min-height: 0;
    padding: 18px;
  }

  .tg-frame {
    width: 100%;
    margin: 0;
    height: 390px;
  }

  .tg-side {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: 14px;
    transform: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .geo-rail {
    grid-template-columns: 1fr 1fr;
  }

  .geo-chip--more {
    grid-column: 1 / -1;
  }

  .integrity-grid {
    grid-template-columns: 1fr;
  }

  .integrity-card,
  .integrity-card--hero,
  .integrity-card--accent {
    grid-column: auto;
  }

  .integrity-card--hero {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  main,
  .site-footer {
    width: min(100% - 28px, var(--content));
  }

  .site-header {
    top: 10px;
    width: calc(100% - 16px);
    border-radius: 22px;
    padding: 10px;
  }

  .brand-text {
    display: none;
  }

  .header-contact {
    padding: 0 12px;
  }

  .hero-art {
    aspect-ratio: 5 / 4;
  }

  .ops-meta {
    font-size: 0.62rem;
  }

  .ops-nodes {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    inset: auto 12px 58px 12px;
    align-content: end;
  }

  .ops-node {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    min-width: 0;
    max-width: none;
    width: 100%;
    padding: 10px 8px;
  }

  .ops-node > span[data-i18n] {
    font-size: 0.68rem;
  }

  .ops-pulse {
    top: 8px;
    right: 8px;
    width: 5px;
    height: 5px;
  }

  .ops-links {
    inset: 18% 2% 28% 2%;
    opacity: 0.85;
  }

  .ops-console .status-chip {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: center;
  }

  .panel-board {
    padding: 16px 14px 58px;
  }

  .panel-rows li {
    grid-template-columns: 72px 1fr 10px;
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .tg-side {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .ops-rail-path,
  .ops-rail-glow,
  .ops-token,
  .ops-node,
  .ops-pulse,
  .ops-match-flash,
  .ops-meta-live i,
  .panel-rows li,
  .panel-rows li i,
  .pulse-success .status-dot,
  .pulse-blink,
  .aurora--a,
  .aurora--b,
  .eyebrow > span:first-child,
  .tg-hud-scan,
  .tg-hud-glow,
  .tg-online i,
  .tg-chip--live i,
  .tg-dots i,
  .tg-msg,
  .ico-pulse,
  .integrity-scan,
  .env-gap::after,
  .flow li.is-active::before,
  .match-flash {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .ops-node,
  .panel-rows li,
  .tg-msg {
    opacity: 1 !important;
    transform: none !important;
  }

  .ops-rail-glow {
    stroke-dashoffset: 0 !important;
  }

  .hero-visual,
  .split-visual,
  .tg-hud {
    transform: none !important;
  }
}
