:root {
  --bg: #071525;
  --surface: #0b2840;
  --accent: #16d9e3;
  --accent2: #2d9cdb;
  --text: #eaf9ff;
  --muted: #719faf;
  --amber: #ffbf47;
  --line: rgba(22, 217, 227, 0.28);
  --max: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Hero — diagonal_band */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
  min-height: 72vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  background: linear-gradient(128deg, transparent 28%, rgba(22, 217, 227, 0.16) 48%, rgba(45, 156, 219, 0.22) 62%, transparent 78%);
  transform: skewY(-8deg);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 8% 8% auto;
  width: min(42vw, 22rem);
  height: min(42vw, 22rem);
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.hero h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.hero .sub {
  margin: 0 0 1.2rem;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  color: var(--text);
  font-weight: 560;
}
.hero .tagline {
  max-width: 38rem;
  margin: 0 0 1.8rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.95rem;
}
.hero-links a {
  border: 1px solid var(--line);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: var(--text);
  background: rgba(11, 40, 64, 0.55);
}
.hero-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* Features — single_column_prose + alternating intros */
.band {
  padding: 4rem 0;
  border-top: 1px solid rgba(113, 159, 175, 0.18);
}
.intro {
  max-width: 36rem;
  margin-bottom: 2rem;
}
.intro.right { margin-left: auto; text-align: right; }
.intro h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}
.intro p { margin: 0; color: var(--muted); }

.prose {
  max-width: 40rem;
  display: grid;
  gap: 1.75rem;
}
.prose article {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(113, 159, 175, 0.16);
}
.prose article:last-child { border-bottom: 0; }
.prose h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  color: var(--accent);
}
.prose p { margin: 0; color: var(--muted); }

.note {
  margin-top: 2.5rem;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  max-width: 40rem;
}
.note strong { color: var(--amber); font-weight: 600; }

/* Legal — two_column_prose */
.legal-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 860px) {
  .legal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }
}
.legal-block {
  background: rgba(11, 40, 64, 0.55);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.4rem 1.7rem;
}
.legal-block h2 {
  margin: 0 0 0.9rem;
  font-size: 1.35rem;
  color: var(--accent);
}
.legal-block p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.legal-block p:last-child { margin-bottom: 0; }

.footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid rgba(113, 159, 175, 0.18);
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}
