@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Noto+Sans+SC:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --bg-0: #07080a;
  --bg-1: #0b0d11;
  --bg-2: #101319;
  --bg-3: #161a23;
  --surface-glass: rgba(14, 17, 23, 0.78);

  --ink-1: #f5f7fb;
  --ink-2: #c5ccd8;
  --ink-3: #8993a4;
  --ink-4: #596273;

  --tungsten: #dfa853;
  --tungsten-bright: #f7d896;
  --tungsten-deep: #b87f2a;
  --tungsten-soft: rgba(223, 168, 83, 0.14);
  --tungsten-line: rgba(223, 168, 83, 0.34);

  --signal: #34d399;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.14);

  --sans: 'Plus Jakarta Sans', 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background: var(--bg-0);
}

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink-1);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--tungsten-bright);
  outline-offset: 4px;
  border-radius: 4px;
}

::selection {
  background: rgba(223, 168, 83, 0.32);
  color: #ffffff;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.026;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 60;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #9aa4b8 0%, var(--tungsten) 60%, var(--tungsten-bright) 100%);
  box-shadow: 0 0 12px rgba(223, 168, 83, 0.55);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--tungsten-bright);
  color: #090a0d;
  font-weight: 600;
  font-size: 13px;
}

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

.container {
  max-width: 1260px;
  margin-inline: auto;
  padding-inline: 40px;
}

/* =========================================
   HEADER & CUSTOM BRAND LOGO
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  background: rgba(7, 8, 10, 0.8);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14) 35%, rgba(223, 168, 83, 0.28) 50%, rgba(255, 255, 255, 0.14) 65%, transparent);
  pointer-events: none;
}

.header-inner {
  max-width: 1260px;
  height: 100%;
  margin-inline: auto;
  padding-inline: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-svg {
  height: 32px;
  width: auto;
  display: block;
  overflow: visible;
}

.brand-logo .q-node {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.35s var(--ease-out), filter 0.35s var(--ease-out);
}

.brand-logo:hover .q-in {
  animation: prismPulse 0.65s var(--ease-out) 0s;
}

.brand-logo:hover .q-core {
  animation: prismPulse 0.65s var(--ease-out) 0.08s;
  filter: drop-shadow(0 0 8px rgba(247, 216, 150, 0.65));
}

.brand-logo:hover .q-out {
  animation: prismPulse 0.65s var(--ease-out) 0.16s;
  filter: drop-shadow(0 0 8px rgba(255, 234, 184, 0.8));
}

@keyframes prismPulse {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.22); }
}

.brand-badge {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--tungsten-bright);
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid rgba(223, 168, 83, 0.26);
  background: rgba(223, 168, 83, 0.07);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--tungsten-bright), transparent);
  transition: transform 0.25s var(--ease-out);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink-1);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-relay {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: #0b0c0f;
  background: linear-gradient(180deg, #fbf4e4 0%, #edd196 52%, #dca44f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 4px 18px rgba(223, 168, 83, 0.22);
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s ease, filter 0.2s ease;
}

.btn-header-relay:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 #ffffff, 0 8px 26px rgba(223, 168, 83, 0.38);
  filter: brightness(1.04);
}

.arrow-glyph {
  font-family: var(--mono);
  font-size: 13px;
  transition: transform 0.2s var(--ease-out);
}

.btn-header-relay:hover .arrow-glyph {
  transform: translate(2px, -2px);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink-1);
  transition: transform 0.25s var(--ease-out);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* =========================================
   BUTTON SYSTEM
   ========================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

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

.btn-lg {
  height: 52px;
  padding: 0 28px;
  font-size: 14.5px;
}

.btn-primary {
  color: #090a0d;
  border: 1px solid rgba(255, 243, 212, 0.55);
  background: linear-gradient(180deg, #fff7e6 0%, #efd295 48%, #da9f47 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 32px -6px rgba(223, 168, 83, 0.36);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: linear-gradient(112deg, transparent 42%, rgba(255, 255, 255, 0.55) 50%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease-out);
  pointer-events: none;
}

.btn-primary:hover {
  box-shadow: inset 0 1px 0 #ffffff, 0 14px 40px -4px rgba(223, 168, 83, 0.52);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-secondary {
  color: var(--ink-1);
  background: linear-gradient(180deg, rgba(28, 33, 44, 0.8), rgba(16, 19, 26, 0.9));
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  border-color: rgba(223, 168, 83, 0.45);
  background: linear-gradient(180deg, rgba(35, 40, 52, 0.92), rgba(18, 21, 29, 0.95));
}

.btn-arrow {
  font-family: var(--mono);
  font-size: 15px;
  transition: transform 0.2s var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* =========================================
   HERO SECTION & OPTICAL CONDUIT STAGE
   ========================================= */
.hero {
  position: relative;
  isolation: isolate;
  padding: 68px 0 76px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: -180px -10% auto;
  height: 760px;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 48% at 72% 38%, rgba(223, 168, 83, 0.11), transparent 70%),
    radial-gradient(ellipse 45% 42% at 24% 18%, rgba(214, 224, 245, 0.065), transparent 68%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 75% at 55% 42%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 55% 42%, #000 30%, transparent 85%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 52px;
}

.hero-copy {
  animation: fadeUp 0.75s var(--ease-out) both;
}

.instrument-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(16, 19, 25, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: var(--ink-2);
}

.signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.85);
  flex-shrink: 0;
}

.mono-label,
.mono-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--tungsten-bright);
}

.pill-sep {
  width: 1px;
  height: 11px;
  background: var(--line-strong);
}

.hero h1 {
  margin: 24px 0 20px;
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.tungsten-text {
  background: linear-gradient(104deg, #ffffff 0%, #f9e6be 44%, #e2ab55 82%, #c5882f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0;
  max-width: 540px;
  font-size: 15.5px;
  line-height: 1.82;
  color: var(--ink-2);
}

.hero-lead code,
p code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--tungsten-bright);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.endpoint-bar {
  margin-top: 22px;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 8px 7px 14px;
  border-radius: 10px;
  background: rgba(12, 15, 20, 0.92);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.endpoint-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  flex-shrink: 0;
}

.endpoint-value {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.endpoint-copy-btn {
  flex-shrink: 0;
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgba(223, 168, 83, 0.28);
  background: rgba(223, 168, 83, 0.09);
  color: var(--tungsten-bright);
  font-family: var(--mono);
  font-size: 11.5px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.endpoint-copy-btn:hover {
  background: rgba(223, 168, 83, 0.18);
  border-color: rgba(223, 168, 83, 0.52);
}

.hero-telemetry {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.telemetry-stat strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-1);
}

.telemetry-stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* OPTICAL CONDUIT SCHEMATIC */
.conduit-stage {
  animation: fadeUp 0.95s var(--ease-out) 0.08s both;
}

.conduit-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse 70% 65% at 50% 50%, rgba(223, 168, 83, 0.07), transparent 70%),
    linear-gradient(165deg, rgba(20, 24, 33, 0.92), rgba(9, 11, 15, 0.98));
  box-shadow:
    0 28px 80px -20px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.frame-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(223, 168, 83, 0.45);
  pointer-events: none;
  z-index: 4;
}

.frame-corner.tl { top: 10px; left: 10px; border-top: 1.5px solid; border-left: 1.5px solid; }
.frame-corner.tr { top: 10px; right: 10px; border-top: 1.5px solid; border-right: 1.5px solid; }
.frame-corner.bl { bottom: 10px; left: 10px; border-bottom: 1.5px solid; border-left: 1.5px solid; }
.frame-corner.br { bottom: 10px; right: 10px; border-bottom: 1.5px solid; border-right: 1.5px solid; }

.conduit-topbar,
.conduit-footbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.conduit-topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.motion-btn {
  padding: 3px 9px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.motion-btn:hover:not(:disabled) {
  color: var(--ink-1);
  border-color: var(--line-strong);
}

.conduit-viewport {
  position: relative;
  height: 396px;
  padding: 26px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.conduit-viewport canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.conduit-nodes {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 168px;
}

.node-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(13, 16, 22, 0.88);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s ease;
}

.node-chip span {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--tungsten-bright);
  letter-spacing: 0.04em;
}

.node-chip b {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.node-chip.out {
  justify-content: space-between;
}

.node-chip.out span {
  color: var(--ink-4);
  font-size: 10px;
}

.prism-core-hub {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.prism-halo {
  position: absolute;
  width: 132px;
  height: 132px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -56%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 168, 83, 0.26) 0%, rgba(223, 168, 83, 0.05) 52%, transparent 72%);
  pointer-events: none;
}

.prism-housing {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  border: 1px solid rgba(247, 216, 150, 0.38);
  background: linear-gradient(145deg, #1b202b, #0b0d12);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.7),
    0 0 36px rgba(223, 168, 83, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  padding: 15px;
}

.prism-housing svg {
  width: 100%;
  height: 100%;
}

.prism-caption {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--tungsten-bright);
}

.conduit-footbar {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  color: var(--ink-4);
}

/* =========================================
   ECOSYSTEM STRIP
   ========================================= */
.ecosystem-strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}

.ecosystem-inner {
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.ecosystem-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  flex-shrink: 0;
}

.ecosystem-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ecosystem-list span {
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ecosystem-list span:hover {
  border-color: rgba(223, 168, 83, 0.35);
  color: #ffffff;
}

/* =========================================
   SECTIONS & HEADINGS
   ========================================= */
.section-block {
  padding-block: 104px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--tungsten-bright);
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 16px;
  height: 1.5px;
  background: var(--tungsten);
  box-shadow: 0 0 8px rgba(223, 168, 83, 0.6);
}

h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--ink-1);
}

.section-sub {
  margin: 0;
  max-width: 460px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-3);
}

/* =========================================
   01 / BENTO GRID WITH SPOTLIGHT
   ========================================= */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }

.bento-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(223, 168, 83, 0.075), transparent 45%),
    linear-gradient(165deg, rgba(20, 24, 33, 0.72), rgba(10, 12, 17, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.bento-card::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), rgba(223, 168, 83, 0.3), transparent);
  pointer-events: none;
}

.bento-card:hover {
  border-color: rgba(223, 168, 83, 0.3);
  transform: translateY(-3px);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.meta-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

.meta-pill {
  padding: 3px 9px;
  border-radius: 99px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11.5px;
  color: var(--ink-2);
}

.bento-card h3 {
  margin: 20px 0 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink-1);
}

.bento-card > p {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-3);
}

.schematic-box {
  margin-top: auto;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(7, 8, 11, 0.78);
  font-family: var(--mono);
}

.unified-schematic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.schem-key {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.schem-label {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

.schem-key code {
  font-size: 12.5px;
  color: var(--tungsten-bright);
  padding: 7px 11px;
  border-radius: 7px;
  border: 1px solid rgba(223, 168, 83, 0.28);
  background: rgba(223, 168, 83, 0.07);
}

.schem-arrow {
  font-size: 18px;
  color: var(--tungsten);
}

.schem-models {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.schem-models span {
  font-size: 11.5px;
  color: var(--ink-2);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  white-space: nowrap;
}

.schem-models i {
  font-style: normal;
  color: var(--tungsten);
  margin-right: 4px;
}

.cluster-schematic {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lane-row {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--ink-3);
}

.lane-bar {
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.lane-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--tungsten-deep), var(--tungsten-bright));
}

.lane-row b {
  font-weight: 500;
  color: var(--signal);
  font-size: 10.5px;
}

.diff-schematic {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  overflow-x: auto;
}

.diff-line {
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.diff-line span {
  display: inline-block;
  width: 16px;
  font-weight: 600;
}

.diff-line.removed {
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
}

.diff-line.added {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.09);
}

.diff-line.added b {
  font-weight: 500;
}

.diff-line.context {
  color: var(--ink-3);
}

.ledger-schematic {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
}

.ledger-head,
.ledger-item {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 12px;
}

.ledger-head {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.ledger-item code {
  color: var(--ink-1);
  font-size: 12px;
}

.ledger-item span {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-3);
}

.ledger-item b {
  font-weight: 500;
  font-size: 11px;
  color: var(--tungsten-bright);
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(223, 168, 83, 0.1);
}

.card-inline-cta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tungsten-bright);
  transition: color 0.2s ease;
}

.card-inline-cta:hover {
  color: #ffffff;
}

/* =========================================
   02 / MODEL CAPABILITY MATRIX
   ========================================= */
.matrix-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.matrix-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(15, 18, 25, 0.72);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s var(--ease-out);
}

.matrix-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.matrix-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--tungsten);
  letter-spacing: 0.08em;
}

.matrix-card h3 {
  margin: 16px 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-1);
}

.matrix-card p {
  margin: 0 0 22px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-3);
}

.protocol-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.protocol-tags span {
  padding: 4px 9px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
}

.matrix-banner {
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(223, 168, 83, 0.26);
  background:
    radial-gradient(ellipse 50% 100% at 90% 50%, rgba(223, 168, 83, 0.12), transparent 70%),
    rgba(16, 19, 26, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.matrix-banner-text strong {
  display: block;
  font-size: 15px;
  color: var(--ink-1);
}

.matrix-banner-text span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-3);
}

/* =========================================
   03 / QUICKSTART WORKBENCH
   ========================================= */
.quickstart-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 64px;
  align-items: center;
}

.quickstart-info .section-sub {
  margin-top: 16px;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.step-list li {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 26px;
}

.step-list li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--line-strong), transparent);
}

.step-num {
  width: 33px;
  height: 33px;
  border-radius: 8px;
  border: 1px solid rgba(223, 168, 83, 0.34);
  background: rgba(223, 168, 83, 0.08);
  color: var(--tungsten-bright);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.step-list h4 {
  margin: 3px 0 6px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-1);
}

.step-list p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-3);
}

.quickstart-cta {
  margin-top: 8px;
}

.workbench {
  min-width: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: #090b0f;
  box-shadow:
    0 24px 70px -15px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.workbench-header {
  height: 42px;
  padding-inline: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-4);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.window-dots i:first-child { background: rgba(248, 113, 113, 0.55); }
.window-dots i:nth-child(2) { background: rgba(251, 191, 36, 0.55); }
.window-dots i:nth-child(3) { background: rgba(52, 211, 153, 0.55); }

.workbench-tabs {
  padding-inline: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow-x: auto;
}

.workbench-tabs [role="tablist"] {
  display: flex;
  gap: 20px;
}

.workbench-tabs [role="tab"] {
  position: relative;
  padding: 13px 2px;
  border: 0;
  background: none;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-3);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.workbench-tabs [role="tab"][aria-selected="true"] {
  color: var(--tungsten-bright);
}

.workbench-tabs [role="tab"][aria-selected="true"]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--tungsten);
}

.copy-code-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-2);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.copy-code-btn:hover {
  border-color: var(--tungsten-line);
  color: var(--tungsten-bright);
}

.workbench-filebar {
  padding: 16px 22px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-4);
}

.workbench pre {
  margin: 0;
  padding: 16px 22px 22px;
  min-height: 292px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.85;
  color: #d7e0ef;
  tab-size: 2;
}

.workbench-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-3);
}

.warn-glyph {
  color: var(--tungsten);
  font-size: 11px;
  margin-top: 2px;
}

/* =========================================
   04 / ENTERPRISE ADD-ON DOSSIER
   ========================================= */
.enterprise-section {
  padding-top: 20px;
}

.enterprise-dossier {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(23, 27, 37, 0.92) 0%, rgba(10, 12, 17, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.dossier-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  left: -120px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(223, 168, 83, 0.09), transparent 68%);
  pointer-events: none;
}

.dossier-lead {
  margin: 18px 0 14px;
  font-size: 15px;
  line-height: 1.82;
  color: var(--ink-2);
}

.dossier-lead strong {
  color: #ffffff;
  font-weight: 600;
}

.dossier-note {
  margin: 0 0 28px;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--tungsten);
  background: rgba(255, 255, 255, 0.025);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

.dossier-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar-card {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(8, 10, 14, 0.72);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 0.25s ease;
}

.pillar-card:hover {
  border-color: rgba(223, 168, 83, 0.3);
}

.pillar-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--tungsten-bright);
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(223, 168, 83, 0.09);
  flex-shrink: 0;
}

.pillar-card h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-1);
}

.pillar-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* =========================================
   05 / FAQ SECTION
   ========================================= */
.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 72px;
  align-items: start;
}

.faq-intro .section-sub {
  margin-top: 16px;
}

.faq-relay-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tungsten-bright);
  border-bottom: 1px solid rgba(223, 168, 83, 0.4);
  padding-bottom: 2px;
}

.faq-relay-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  list-style: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-1);
  cursor: pointer;
}

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

.faq-list summary i {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: '';
  position: absolute;
  background: var(--ink-3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease-out), background 0.2s ease;
}

.faq-list summary i::before {
  width: 12px;
  height: 1.5px;
}

.faq-list summary i::after {
  width: 1.5px;
  height: 12px;
}

.faq-list details[open] summary i::before,
.faq-list details[open] summary i::after {
  background: var(--tungsten-bright);
}

.faq-list details[open] summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details p {
  margin: 0 28px 24px 0;
  font-size: 14px;
  line-height: 1.82;
  color: var(--ink-3);
}

/* =========================================
   FINAL CTA MONOLITH & FOOTER
   ========================================= */
.cta-section {
  padding-top: 16px;
}

.cta-monolith {
  position: relative;
  overflow: hidden;
  padding: 64px 56px;
  border-radius: 22px;
  border: 1px solid rgba(223, 168, 83, 0.3);
  background:
    radial-gradient(ellipse 60% 90% at 85% 50%, rgba(223, 168, 83, 0.15), transparent 68%),
    linear-gradient(135deg, #121620 0%, #090b0f 100%);
  box-shadow: 0 30px 90px -25px rgba(0, 0, 0, 0.9);
}

.monolith-horizon {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tungsten-bright), transparent);
}

.monolith-watermark {
  position: absolute;
  right: -30px;
  top: 50%;
  width: 340px;
  height: 340px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.monolith-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.monolith-content p {
  margin: 14px 0 30px;
  font-size: 15.5px;
  color: var(--ink-2);
}

.monolith-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 64px;
  overflow: hidden;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand p {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--ink-3);
}

.footer-nav {
  display: flex;
  gap: 72px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-heading {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--tungsten-bright);
}

.footer-bottom {
  margin-top: 52px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-4);
}

.footer-etched {
  text-align: center;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(92px, 19vw, 240px);
  line-height: 0.82;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
  user-select: none;
  pointer-events: none;
  margin-bottom: -14px;
}

/* =========================================
   TOAST & REVEAL ANIMATIONS
   ========================================= */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  z-index: 90;
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  padding: 11px 20px;
  border-radius: 9px;
  border: 1px solid rgba(223, 168, 83, 0.42);
  background: rgba(14, 17, 23, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
  color: var(--ink-1);
  font-size: 13px;
  max-width: calc(100vw - 32px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.motion-paused *,
.motion-paused *::before,
.motion-paused *::after {
  animation-play-state: paused !important;
}

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

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1120px) {
  .container,
  .header-inner {
    padding-inline: 28px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quickstart-layout,
  .enterprise-dossier,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 68px;
  }

  .brand-badge {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 18px 24px 24px;
    background: rgba(10, 12, 16, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-strong);
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-size: 15px;
    width: 100%;
  }

  .section-block {
    padding-block: 72px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 32px;
  }

  .span-7,
  .span-5 {
    grid-column: span 12;
  }

  .unified-schematic {
    flex-direction: column;
    align-items: stretch;
  }

  .schem-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .matrix-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .enterprise-dossier {
    padding: 32px 24px;
  }

  .cta-monolith {
    padding: 42px 28px;
  }
}

@media (max-width: 600px) {
  .container,
  .header-inner {
    padding-inline: 20px;
  }

  .logo-svg {
    height: 28px;
  }

  .btn-header-relay {
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
    gap: 6px;
  }

  .hero {
    padding: 42px 0 54px;
  }

  .instrument-pill {
    font-size: 11px;
    padding: 5px 11px;
    gap: 7px;
  }

  .pill-sep,
  .instrument-pill > span:last-child {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-telemetry {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .conduit-viewport {
    height: 310px;
    padding: 18px 12px;
  }

  .conduit-nodes {
    width: 116px;
  }

  .node-chip {
    padding: 7px 8px;
    gap: 5px;
  }

  .node-chip span {
    display: none;
  }

  .node-chip b {
    font-size: 11px;
  }

  .prism-housing {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    padding: 11px;
  }

  .conduit-footbar span:last-child {
    display: none;
  }

  .bento-card {
    padding: 24px 20px;
  }

  .schem-models {
    grid-template-columns: 1fr;
  }

  .lane-row {
    grid-template-columns: 105px 1fr auto;
  }

  .ledger-head,
  .ledger-item {
    grid-template-columns: 1fr auto;
  }

  .ledger-head span:nth-child(2),
  .ledger-item span {
    display: none;
  }

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

  .pillar-card {
    flex-direction: column;
    gap: 10px;
  }

  .footer-nav {
    gap: 40px;
  }
}

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