﻿:root {
  --bg: #050811;
  --panel: rgba(12, 18, 31, 0.78);
  --panel-strong: rgba(16, 24, 40, 0.9);
  --line: rgba(165, 197, 255, 0.18);
  --text: #eef5ff;
  --muted: #9fb2cf;
  --blue: #7ed3ff;
  --ice: #dff5ff;
  --amber: #ffc978;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(126, 211, 255, 0.13), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(255, 201, 120, 0.1), transparent 18%),
    linear-gradient(180deg, #03050a 0%, #07111e 48%, #04070f 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
}

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

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

.page-shell {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
  padding-bottom: 60px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(5, 8, 17, 0.92), rgba(5, 8, 17, 0.35));
}

.brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.site-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero,
.protocol-grid,
.deep-frame,
.audit-section {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero {
  grid-template-columns: 1.02fr 1.18fr;
  padding: 40px 0 18px;
}

.protocol-grid {
  grid-template-columns: 0.98fr 1.02fr;
  padding: 34px 0 28px;
}

.deep-frame,
.audit-section {
  grid-template-columns: 0.92fr 1.08fr;
  padding: 24px;
  margin: 12px 0 18px;
  background:
    linear-gradient(180deg, rgba(126, 211, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0 0 16px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.lead,
.section-heading p,
.feature-card p,
.variant-grid p,
.host-node p,
.problem-strip p {
  color: var(--muted);
  line-height: 1.75;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button.primary {
  background: linear-gradient(135deg, rgba(126, 211, 255, 0.18), rgba(255, 201, 120, 0.12));
}

.button.secondary {
  background: rgba(255, 255, 255, 0.02);
}

.button:hover,
.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 245, 255, 0.28);
  background: rgba(14, 21, 36, 0.96);
}

.hero-points,
.deep-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--ice);
}

.hero-points li,
.deep-points li {
  padding-left: 16px;
  position: relative;
}

.hero-points li::before,
.deep-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--amber));
  box-shadow: 0 0 14px rgba(126, 211, 255, 0.8);
}

.hero-visual,
.protocol-visual,
.deep-visual,
.audit-visual {
  position: relative;
}

.hero-visual img,
.protocol-visual img,
.deep-visual img,
.audit-visual img {
  border-radius: 28px;
  border: 1px solid rgba(223, 245, 255, 0.16);
  box-shadow: var(--shadow);
}

.hero-glow {
  position: absolute;
  inset: 12% 18%;
  filter: blur(64px);
  background: radial-gradient(circle, rgba(126, 211, 255, 0.24), transparent 65%);
  z-index: -1;
}

.problem-strip,
.feature-grid,
.variant-grid,
.link-grid,
.host-map {
  display: grid;
  gap: 18px;
}

.problem-strip {
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 72px;
}

.problem-strip article,
.feature-card,
.demo-card,
.variant-grid article,
.host-node,
.link-card,
.protocol-visual {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.problem-strip article,
.feature-card,
.demo-card,
.variant-grid article,
.host-node,
.link-card {
  padding: 24px;
}

.problem-strip span,
.feature-card h3,
.demo-card h3,
.variant-grid h3,
.host-node span,
.link-card span {
  display: block;
  margin-bottom: 10px;
}

.problem-strip span,
.feature-card h3,
.demo-card h3,
.variant-grid h3 {
  font-size: 1.08rem;
  color: var(--ice);
}

.demo-panel,
.variants,
.link-section {
  padding: 34px 0 28px;
}

.section-heading {
  max-width: 68ch;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 14px;
}

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

.feature-card code,
.demo-card code {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
}

.demo-columns {
  gap: 18px;
}

.demo-card pre {
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ice);
}

.demo-card.output {
  background:
    linear-gradient(180deg, rgba(126, 211, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
}

.variant-grid,
.host-map,
.link-grid {
  grid-template-columns: repeat(3, 1fr);
}

.host-section {
  padding: 34px 0 28px;
}

.host-node {
  position: relative;
  overflow: hidden;
}

.host-node::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(126, 211, 255, 0.7), transparent);
  opacity: 0.8;
}

.host-node.active {
  background:
    linear-gradient(180deg, rgba(126, 211, 255, 0.09), rgba(255, 201, 120, 0.04)),
    var(--panel-strong);
}

.host-node span,
.link-card strong {
  color: var(--ice);
}

.link-card {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-footer {
  padding: 40px 0 8px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero,
  .problem-strip,
  .protocol-grid,
  .feature-grid,
  .demo-columns,
  .deep-frame,
  .variant-grid,
  .host-map,
  .audit-section,
  .link-grid {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 24px, 1240px);
  }

  .hero {
    padding-top: 28px;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}
