:root {
  color-scheme: dark;
  --bg: #060814;
  --panel: rgba(14, 25, 36, 0.78);
  --panel-strong: rgba(20, 36, 50, 0.92);
  --text: #eef6ff;
  --muted: #aab8c8;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #78a6ff;
  --gold: #e8b84a;
  --green: #88d0a6;
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 120% 70% at 50% -15%, rgba(88, 72, 180, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 5%, rgba(120, 166, 255, 0.10), transparent 50%),
    radial-gradient(ellipse 40% 30% at 0% 40%, rgba(232, 184, 74, 0.07), transparent 45%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.page {
  overflow: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 24, 0.86);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.nav-actions,
.hero-actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(232, 184, 74, 0.6);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(232, 184, 74, 0.12);
}

.nav-links {
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-actions {
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  border-color: rgba(232, 184, 74, 0.48);
  background: linear-gradient(135deg, #e8b84a, #f2d481);
  color: #15202a;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

main {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  scroll-margin-top: 96px;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(900px, 92vh);
  place-items: center;
  text-align: center;
}

.hero > *:not(.hero-canvas, .hero-galaxy, .hero-overlay, .hero-spotlight) {
  position: relative;
  z-index: 3;
}

.hero h1 {
  max-width: 980px;
  margin: 1rem auto 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 760px;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.fineprint {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-canvas,
.hero-galaxy,
.hero-overlay,
.hero-spotlight {
  position: absolute;
  pointer-events: none;
}

.hero-canvas {
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.46;
  filter: saturate(0.86);
  -webkit-mask-image: radial-gradient(
    ellipse 52% 46% at 50% 38%,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.65) 40%,
    rgba(0, 0, 0, 0.9) 72%,
    #000 100%
  );
  mask-image: radial-gradient(
    ellipse 52% 46% at 50% 38%,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.65) 40%,
    rgba(0, 0, 0, 0.9) 72%,
    #000 100%
  );
}

.hero-galaxy {
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(600px 400px at 70% 35%, rgba(120, 166, 255, 0.10), transparent 65%),
    radial-gradient(500px 380px at 20% 60%, rgba(232, 184, 74, 0.08), transparent 60%),
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 85% 25%, rgba(255, 255, 255, 0.20), transparent);
}

.hero-overlay {
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(900px 520px at 50% 42%, rgba(120, 166, 255, 0.06), transparent 62%),
    radial-gradient(700px 480px at 50% 88%, rgba(232, 184, 74, 0.11), transparent 58%),
    linear-gradient(
      to bottom,
      rgba(6, 8, 20, 0.72) 0%,
      rgba(6, 8, 20, 0.38) 42%,
      rgba(6, 8, 20, 0.56) 72%,
      rgba(6, 8, 20, 0.96) 100%
    );
}

.hero-spotlight {
  bottom: -8%;
  left: 50%;
  z-index: 2;
  width: min(1200px, 130vw);
  height: 52%;
  transform: translateX(-50%);
  background:
    radial-gradient(
      ellipse 70% 100% at 50% 100%,
      rgba(232, 184, 74, 0.14) 0%,
      rgba(120, 166, 255, 0.08) 38%,
      rgba(88, 72, 180, 0.05) 58%,
      transparent 72%
    );
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-canvas {
    opacity: 0.42;
  }
}

.workflow,
.integrity,
.institutions {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--panel);
}

h2 {
  max-width: 760px;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.steps,
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.9rem;
  padding: 0;
  list-style: none;
}

.steps li,
.cards article,
.mock {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.steps li {
  padding: 1rem;
}

.steps span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.example {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.mock {
  overflow: hidden;
}

.mock-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.mock-grid {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 330px;
}

.mock-grid aside {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding: 1rem;
  border-right: 1px solid var(--line);
  color: var(--muted);
}

.mock-grid article {
  padding: 1.25rem;
}

.badge {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.24rem 0.55rem;
  border: 1px solid rgba(232, 184, 74, 0.45);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
}

.chain {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.chain span {
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  background: rgba(120, 166, 255, 0.12);
  color: #dce8ff;
}

.cards article {
  padding: 1.1rem;
}

.integrity ul {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.1rem;
  color: var(--text);
}

footer {
  justify-content: center;
  gap: 0.75rem;
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .example {
    grid-template-columns: 1fr;
  }

  .mock-grid {
    grid-template-columns: 1fr;
  }

  .mock-grid aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
