:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #aeb8c5;
  --blue: #6bd6ff;
  --cyan: #4eead9;
  --gold: #f7c948;
  --red: #ff5c7a;
  --green: #8cffbd;
  --panel: rgba(9, 17, 30, 0.78);
  --panel-strong: rgba(3, 8, 15, 0.92);
  --line: rgba(255, 255, 255, 0.16);
  --background: #05090f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(5, 9, 15, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #021118;
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 0 36px rgba(107, 214, 255, 0.28);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

nav a {
  min-height: 38px;
  padding: 9px 12px;
  color: #d9f4ff;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  border-color: rgba(107, 214, 255, 0.36);
  background: rgba(107, 214, 255, 0.1);
}

.hero {
  position: relative;
  min-height: min(820px, 84vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.signal-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 20%, rgba(107, 214, 255, 0.18), transparent 34%),
    radial-gradient(circle at 76% 18%, rgba(78, 234, 217, 0.12), transparent 30%),
    #05090f;
}

.signal-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.2));
}

.signal-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 6px);
  opacity: 0.55;
}

.scope {
  position: absolute;
  display: grid;
  align-items: end;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 18px;
  background: rgba(4, 12, 22, 0.72);
  border: 1px solid rgba(107, 214, 255, 0.24);
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.scope span {
  display: block;
  min-width: 28px;
  background: linear-gradient(180deg, var(--blue), rgba(107, 214, 255, 0.12));
  border-radius: 6px 6px 2px 2px;
}

.scope span:nth-child(1) { height: 36px; }
.scope span:nth-child(2) { height: 92px; }
.scope span:nth-child(3) { height: 58px; }
.scope span:nth-child(4) { height: 128px; }
.scope span:nth-child(5) { height: 72px; }

.scope-a {
  top: 14%;
  right: 7%;
  width: min(420px, 42vw);
  min-height: 190px;
}

.scope-b {
  right: 16%;
  bottom: 11%;
  width: min(360px, 38vw);
  min-height: 170px;
  transform: rotate(-2deg);
}

.stream-rail {
  position: absolute;
  left: clamp(20px, 8vw, 120px);
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(720px, 74vw);
  min-height: 44px;
  padding: 8px 10px;
  background: rgba(4, 12, 22, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.stream-rail b {
  min-width: 88px;
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0;
}

.stream-rail i {
  display: block;
  height: 12px;
  flex: 1;
  background: rgba(107, 214, 255, 0.3);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(107, 214, 255, 0.22);
}

.stream-rail i:nth-child(odd) {
  background: rgba(78, 234, 217, 0.34);
}

.rail-one { top: 19%; }
.rail-two { top: 30%; transform: translateX(48px); }
.rail-three { top: 41%; transform: translateX(16px); }
.rail-four { top: 52%; transform: translateX(72px); }

.node-map {
  position: absolute;
  right: 8%;
  top: 38%;
  width: min(360px, 34vw);
  aspect-ratio: 1;
  border: 1px solid rgba(78, 234, 217, 0.22);
  border-radius: 50%;
  opacity: 0.85;
}

.node-map::before,
.node-map::after {
  content: "";
  position: absolute;
  inset: 17%;
  border: 1px solid rgba(78, 234, 217, 0.22);
  border-radius: 50%;
}

.node-map::after {
  inset: 35%;
}

.node-map span {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(78, 234, 217, 0.8);
}

.node-map span:nth-child(1) { top: 12%; left: 48%; }
.node-map span:nth-child(2) { top: 31%; right: 12%; }
.node-map span:nth-child(3) { right: 20%; bottom: 20%; }
.node-map span:nth-child(4) { bottom: 12%; left: 42%; }
.node-map span:nth-child(5) { left: 13%; bottom: 30%; }
.node-map span:nth-child(6) { left: 22%; top: 22%; }

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 9, 15, 0.92), rgba(5, 9, 15, 0.62) 45%, rgba(5, 9, 15, 0.18)),
    linear-gradient(0deg, rgba(5, 9, 15, 0.78), transparent 50%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 clamp(18px, 6vw, 76px) clamp(46px, 11vh, 108px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(4.8rem, 11vw, 10.8rem);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 4.8vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.hero-copy p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 26px;
  color: #ddecf5;
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  font-weight: 750;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  color: #021118;
  background: var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 44px rgba(107, 214, 255, 0.2);
}

.button-quiet {
  color: #dff7ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.brief-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #08101c;
}

.brief-strip article {
  min-height: 170px;
  padding: clamp(22px, 4vw, 38px);
  border-right: 1px solid var(--line);
}

.brief-strip article:last-child {
  border-right: 0;
}

.brief-strip span {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 950;
}

.brief-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.brief-strip p,
.ops-board p,
.access-flow span,
.section-copy p {
  color: var(--muted);
}

.ops-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(30px, 6vw, 82px);
  padding: clamp(52px, 9vw, 104px) clamp(18px, 5vw, 76px);
  background:
    linear-gradient(90deg, rgba(107, 214, 255, 0.08), transparent 34%),
    #05090f;
}

.section-copy {
  max-width: 720px;
}

.section-copy p {
  font-size: 1.12rem;
}

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

.ops-board article {
  min-height: 220px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.status-dot {
  display: block;
  width: 15px;
  height: 15px;
  margin-bottom: 42px;
  border-radius: 50%;
}

.live { background: var(--red); box-shadow: 0 0 28px rgba(255, 92, 122, 0.8); }
.file { background: var(--blue); box-shadow: 0 0 28px rgba(107, 214, 255, 0.8); }
.review { background: var(--gold); box-shadow: 0 0 28px rgba(247, 201, 72, 0.8); }
.gate { background: var(--green); box-shadow: 0 0 28px rgba(140, 255, 189, 0.8); }

.access-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 76px);
  background: #edf7ff;
  color: #09111d;
}

.access-section .eyebrow {
  color: #006f82;
}

.access-flow {
  display: grid;
  gap: 12px;
}

.access-flow article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(9, 17, 29, 0.16);
  border-radius: 8px;
}

.access-flow strong {
  font-size: 1.42rem;
}

.rules-section {
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 76px);
  background:
    linear-gradient(135deg, rgba(247, 201, 72, 0.12), transparent 44%),
    #09111d;
  border-top: 1px solid var(--line);
}

.rules-section p {
  max-width: 960px;
  color: var(--muted);
  font-size: 1.12rem;
}

.brief-page,
.extra-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 12%, rgba(107, 214, 255, 0.14), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(247, 201, 72, 0.12), transparent 30%),
    var(--background);
}

.brief-document {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 10vw, 118px) 0;
}

.brief-document h1 {
  max-width: 980px;
  font-size: clamp(3.5rem, 8vw, 8rem);
}

.lead {
  max-width: 920px;
  color: #ddecf5;
  font-size: clamp(1.2rem, 2vw, 1.62rem);
  font-weight: 750;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 7vw, 72px);
}

.brief-grid article {
  min-height: 260px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brief-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

.brief-grid h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.brief-grid p {
  color: var(--muted);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px clamp(18px, 5vw, 76px);
  color: #d9f4ff;
  background: #05090f;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header,
  .ops-section,
  .access-section {
    grid-template-columns: 1fr;
  }

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

  nav {
    justify-content: flex-start;
  }

  .brief-strip,
  .ops-board,
  .brief-grid {
    grid-template-columns: 1fr;
  }

  .brief-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .scope,
  .node-map {
    opacity: 0.55;
  }

  .scope-a,
  .scope-b {
    width: 56vw;
    right: -16vw;
  }

  .stream-rail {
    left: 12px;
    width: 92vw;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 78vh;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .hero-copy {
    padding-bottom: 40px;
  }

  .access-flow article {
    align-items: flex-start;
    flex-direction: column;
  }
}
