:root {
  --bg: #081018;
  --surface: #101b27;
  --surface-2: #162433;
  --text: #edf4fb;
  --muted: #a9b8c7;
  --line: #2b3b4d;
  --accent: #54d7a0;
  --accent-2: #7db8ff;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #081018 0%, #0d1722 100%);
  color: var(--text);
  line-height: 1.65;
}

a { color: var(--accent-2); }
a:hover { color: var(--accent); }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 16, 24, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  max-width: var(--max);
  margin: auto;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .94rem;
}

main {
  max-width: var(--max);
  margin: auto;
  padding: 3rem 1.25rem 5rem;
}

.hero {
  padding: 4rem 0 3rem;
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.02;
  margin: .6rem 0 1.2rem;
  letter-spacing: -.04em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-top: 2.8rem;
  line-height: 1.15;
}

h3 { margin-top: 1.6rem; }

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 760px;
}

.card,
.panel {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
}

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card h3 { margin-top: 0; }

.badge {
  display: inline-block;
  border: 1px solid #31634f;
  color: var(--accent);
  background: #10251e;
  border-radius: 999px;
  padding: .3rem .7rem;
  font-size: .82rem;
}

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: .78rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  background: var(--accent);
  color: #07140e;
}

.button:hover {
  color: #07140e;
  filter: brightness(1.08);
}

ul,
ol { padding-left: 1.25rem; }

.notice {
  border-left: 4px solid var(--accent);
  padding: .9rem 1rem;
  background: #0f201a;
  color: #d7f7e8;
}

.flow {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  color: #dcecff;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer {
  max-width: var(--max);
  margin: auto;
  padding: 2rem 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
}

th,
td {
  padding: .8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

@media (max-width: 820px) {
  .hero,
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

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