:root {
  color-scheme: dark;
  --bg: #070b12;
  --bg-soft: #0b1220;
  --panel: #0f1726;
  --panel-strong: #142033;
  --text: #eff6ff;
  --muted: #9fb0c9;
  --line: rgba(148, 163, 184, 0.22);
  --accent: #2dd4bf;
  --accent-2: #60a5fa;
  --accent-3: #a78bfa;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(45, 212, 191, 0.16), transparent 34rem),
    radial-gradient(circle at 85% 12%, rgba(96, 165, 250, 0.16), transparent 32rem),
    linear-gradient(180deg, #070b12 0%, #0a101c 46%, #070b12 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
}

.hero,
.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  min-height: 720px;
  padding: 96px 0 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.hero-text,
.section-heading p,
.wide-copy,
.split p,
.status p,
.card p {
  color: var(--muted);
}

.hero-text {
  max-width: 760px;
  margin-bottom: 32px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.status {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
}

.button:hover {
  border-color: rgba(96, 165, 250, 0.72);
  background: rgba(96, 165, 250, 0.12);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #03121c;
}

.hero-panel {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(20, 32, 51, 0.9), rgba(11, 18, 32, 0.92)),
    repeating-linear-gradient(90deg, transparent 0, transparent 28px, rgba(148, 163, 184, 0.06) 29px);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.7), rgba(96, 165, 250, 0.1), rgba(167, 139, 250, 0.58));
  opacity: 0.58;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.panel-topline strong {
  color: var(--text);
}

.signal-stack {
  display: grid;
  gap: 12px;
  padding-top: 20px;
}

.signal-stack div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 11, 18, 0.5);
}

.signal-stack span {
  color: var(--muted);
}

.signal-stack b {
  color: var(--accent);
}

.section {
  padding: 92px 0;
}

.dark-band {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100vw - 1160px) / 2));
  padding-left: max(18px, calc((100vw - 1160px) / 2));
  border-block: 1px solid var(--line);
  background: rgba(15, 23, 38, 0.58);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  font-size: 1.08rem;
}

.wide-copy {
  max-width: 900px;
  font-size: 1.16rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 32, 51, 0.84), rgba(11, 18, 32, 0.72));
}

.card code {
  color: var(--accent);
}

.architecture {
  display: grid;
  max-width: 860px;
  margin: 0 auto;
  gap: 10px;
}

.arch-node {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: center;
  font-weight: 780;
}

.arch-node.highlight {
  border-color: rgba(45, 212, 191, 0.8);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(96, 165, 250, 0.14));
}

.arch-arrow {
  width: 2px;
  height: 28px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

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

.timeline div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline .next {
  border-color: rgba(96, 165, 250, 0.7);
}

.research-grid,
.doc-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.research-grid span,
.doc-list a {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.doc-list a {
  color: var(--text);
  text-decoration: none;
}

.doc-list a:hover {
  border-color: rgba(45, 212, 191, 0.68);
}

.status {
  justify-content: space-between;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(96, 165, 250, 0.08));
}

.status div {
  max-width: 780px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 32px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 72px;
  }

  .split,
  .card-grid,
  .timeline,
  .research-grid,
  .doc-list {
    grid-template-columns: 1fr;
  }

  .status {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .hero,
  .section {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: 3rem;
  }

  nav {
    gap: 12px;
    font-size: 0.88rem;
  }

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

  .button {
    width: 100%;
  }
}
