:root {
  --bg: #000000;
  --bg-elevated: #0a1428;
  --bg-panel: #07101f;
  --bg-node: #0b1730;
  --line: rgba(56, 152, 255, 0.45);
  --line-strong: #2f8dff;
  --glow: rgba(47, 141, 255, 0.45);
  --text: #f4f7fb;
  --muted: #9db0c9;
  --accent: #3b9bff;
  --accent-deep: #1a6fe0;
  --max: 1180px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background: #000000; /* temporary black */
}

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

.page {
  width: min(100% - 3rem, var(--max));
  margin: 0 auto;
  padding: 0 0 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0 1.2rem;
  border-bottom: 1px solid rgba(47, 141, 255, 0.28);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.brand-name {
  line-height: 1.1;
}

.brand-tagline {
  color: #9db0c9;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-top: 0.05rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.brand-name {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.8rem; /* 50% larger than 1.2rem */
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-meta {
  color: #7f9bbd;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.75rem;
  align-items: start;
  padding: 3.5rem 0 3.25rem;
}

.hero-copy {
  min-width: 0;
  width: max-content;
  max-width: calc(100% + 6.5rem); /* extend into gap only */
  position: relative;
  z-index: 5; /* in front of diagram; diagram size/pos unchanged */
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.05rem, 3.6vw, 3.05rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: normal;
}

.hero-line1 {
  white-space: nowrap;
}

.hero-line2 {
  white-space: nowrap;
}


.die-label strong {
  line-height: 1.2;
}

.lede {
  margin: 1.35rem 0 1.85rem;
  max-width: 34rem;
  color: #d5deea;
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 400;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  background: linear-gradient(180deg, #3ea0ff 0%, #1f74e8 100%);
  border: 1px solid rgba(170, 214, 255, 0.35);
  border-radius: 4px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow:
    0 0 0 1px rgba(47, 141, 255, 0.25),
    0 0 28px rgba(47, 141, 255, 0.45),
    0 10px 24px rgba(0, 40, 100, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(47, 141, 255, 0.35),
    0 0 36px rgba(47, 141, 255, 0.55),
    0 12px 28px rgba(0, 40, 100, 0.4);
}

.hero-bullets {
  margin: calc(1.35rem + 1in) 0 0; /* up 0.5in from prior */
  padding: 0 0 0 1.15rem;
  list-style: disc;
  color: #ffffff;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.55;
}

.hero-bullets li {
  margin: 0.15rem 0;
}




.operator-visual {
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(56, 152, 255, 0.55);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(12, 28, 58, 0.92), rgba(7, 16, 34, 0.98));
  box-shadow:
    0 0 0 1px rgba(47, 141, 255, 0.12),
    0 0 40px rgba(30, 100, 220, 0.18),
    inset 0 1px 0 rgba(140, 190, 255, 0.08);
  overflow: hidden;
}

.operator-visual-inner {
  padding: 1rem 0.95rem 0.9rem;
}

.wire-canvas {
  position: relative;
}

.wire-canvas > .connect-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.wire-canvas > .sys-row,
.wire-canvas > .chip-stage,
.wire-canvas > .output-row-3 {
  position: relative;
  z-index: 1;
}

.diagram-block {
  margin-top: 5.5rem; /* ~1in higher than prior 11.5rem */
  width: 82.5%; /* 75% + 10% */
  max-width: 82.5%;
  justify-self: end;
}

.pipeline-title {
  margin: 0 0 0.9rem;
  color: #ffffff;
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: clamp(1.28rem, 2.06vw, 1.64rem); /* +10% again */
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.sys-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  align-items: start;
}

.output-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1.45fr;
  gap: 0.45rem;
  align-items: stretch;
}

.operator-visual .output-row-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

.sys-icon,
.out-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.35rem;
  background: rgba(8, 18, 38, 0.95);
  border: 1px solid rgba(70, 130, 200, 0.35);
  border-radius: 6px;
  color: #c7d7ea;
  text-align: center;
}

.sys-icon svg,
.out-icon svg {
  width: 28px;
  height: 28px;
  color: #6eb0ff;
}

.sys-icon span,
.out-icon span,
.out-group span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.out-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.35rem 0.45rem;
  background: rgba(8, 18, 38, 0.95);
  border: 1px solid rgba(70, 160, 255, 0.45);
  border-radius: 6px;
  color: #c7d7ea;
  text-align: center;
}

.out-group span {
  display: block;
  width: 100%;
  text-align: center;
}

.mini-cascade {
  position: relative;
  width: 112px;
  height: 56px;
}

.mini-cascade img {
  position: absolute;
  left: 0;
  top: 8px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(120, 170, 230, 0.55);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transform: none;
}

/* same horizontal band, slight vertical stagger to reveal stack */
.mini-cascade img:nth-child(1) { left: 0;  top: 14px; z-index: 1; }
.mini-cascade img:nth-child(2) { left: 10px; top: 12px; z-index: 2; }
.mini-cascade img:nth-child(3) { left: 20px; top: 10px; z-index: 3; }
.mini-cascade img:nth-child(4) { left: 30px; top: 8px;  z-index: 4; }
.mini-cascade img:nth-child(5) { left: 40px; top: 6px;  z-index: 5; }
.mini-cascade img:nth-child(6) { left: 50px; top: 4px;  z-index: 6; }
.mini-cascade img:nth-child(7) { left: 60px; top: 2px;  z-index: 7; }

.prong-row {
  display: grid;
  gap: 0;
  height: 14px;
  margin: 0.12rem 0;
}

.prong-top { grid-template-columns: repeat(4, 1fr); }
.prong-bottom { grid-template-columns: repeat(3, 1fr); }

.prong-row span {
  justify-self: center;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(90, 170, 255, 0.1), #4aa0ff, rgba(90, 170, 255, 0.1));
  box-shadow: 0 0 6px rgba(70, 160, 255, 0.55);
  border-radius: 1px;
}

.chip-stage {
  position: relative;
  margin: 0.25rem 0 0.45rem;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip-stage .connect-lines { display: none; }

.connect-lines path {
  fill: none;
  stroke: rgba(90, 175, 255, 0.85);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(70, 160, 255, 0.55));
}

@media (max-width: 980px) {
  .diagram-block {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }
}

.cpu-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 0;
}

.cpu-chip {
  position: relative;
  width: 140px;
  height: 122px;
  flex: 0 0 140px;
  padding: 8px;
  box-sizing: border-box;
}

.cpu-pins {
  position: absolute;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.cpu-pins i {
  display: block;
  background: linear-gradient(180deg, #b7d9ff 0%, #5ea4f0 45%, #2b6fbe 100%);
  box-shadow:
    0 0 6px rgba(90, 170, 255, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.cpu-pins i.pin-live {
  background: linear-gradient(180deg, #e7f4ff 0%, #7ec0ff 45%, #3b8ef0 100%);
  box-shadow: 0 0 10px rgba(120, 190, 255, 0.9);
}

.side-top,
.side-bottom {
  left: 16%;
  right: 16%;
  height: 8px;
}

.side-top { top: 1px; }
.side-bottom { bottom: 1px; align-items: flex-end; }

.side-top i,
.side-bottom i {
  width: 5px;
  height: 11px;
  border-radius: 1px;
}

.side-left,
.side-right {
  top: 16%;
  bottom: 16%;
  width: 8px;
  flex-direction: column;
}

.side-left { left: 1px; }
.side-right { right: 1px; align-items: flex-end; }

.side-left i,
.side-right i {
  width: 8px;
  height: 4px;
  border-radius: 1px;
}

.cpu-package {
  position: absolute;
  inset: 8px;
  border-radius: 5px;
  background:
    linear-gradient(160deg, rgba(28, 58, 110, 0.95) 0%, rgba(10, 24, 52, 0.98) 55%, rgba(6, 16, 36, 1) 100%);
  border: 1px solid rgba(120, 180, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(20, 50, 100, 0.8),
    0 0 28px rgba(47, 141, 255, 0.28),
    inset 0 1px 0 rgba(170, 210, 255, 0.18),
    inset 0 -10px 24px rgba(0, 20, 50, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  overflow: hidden;
}

.cpu-package::before {
  display: none;
}

.cpu-die {
  position: relative;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  aspect-ratio: auto;
  overflow: visible;
}

.die-grid {
  display: none;
}

.die-label {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0.35rem;
}

.die-label strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-shadow: 0 0 12px rgba(80, 160, 255, 0.55);
}

.cpu-mark {
  position: relative;
  z-index: 1;
  color: #7fa6ce;
  font-size: 0.34rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.pipeline-footer {
  margin: 0.75rem 0 0;
  text-align: center;
  color: #7fa6ce;
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}


.operate {
  padding: 2.5rem 0 1rem;
  border-top: 1px solid rgba(47, 141, 255, 0.55);
  box-shadow: 0 -12px 40px rgba(30, 100, 220, 0.08);
}

.section-index {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.operate h2 {
  margin: 0 0 2rem;
  max-width: 18ch;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.value-grid article {
  padding: 1.1rem 1rem;
  background: rgba(8, 16, 34, 0.7);
  border: 1px solid rgba(60, 120, 190, 0.22);
  border-radius: 8px;
}

.value-grid h3 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 650;
}

.value-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(70, 110, 160, 0.2);
  color: #7f93ad;
  font-size: 0.8rem;
}

.site-footer a:hover {
  color: #cfe3ff;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
  }

  .diagram-block {
    margin-top: 1.25rem;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }

  .operator-visual {
    margin-top: 0;
    width: 100%;
    max-width: 100%;
  }

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

@media (max-width: 640px) {
  .sys-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .output-row-3 {
    grid-template-columns: 1fr 1fr;
  }


  .page {
    width: min(100% - 1.5rem, var(--max));
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-meta {
    letter-spacing: 0.05em;
  }

  .hero-copy h1 {
    font-size: 2.15rem;
  }

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

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