:root {
  --bg: #07141f;
  --bg-2: #0f1f2d;
  --panel: rgba(14, 28, 39, 0.84);
  --panel-strong: #0d1d2a;
  --panel-soft: rgba(15, 31, 45, 0.9);
  --line: rgba(148, 163, 184, 0.18);
  --text: #e5eef7;
  --muted: #a5b7c7;
  --blue: #5cc8ff;
  --cyan: #7dd3fc;
  --green: #7ae7b7;
  --gold: #f5c76d;
  --orange: #f8a55a;
  --purple: #c7b7ff;
  --danger: #ff8a8a;
  --shadow: 0 18px 45px rgba(2, 6, 23, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(92, 200, 255, 0.14), transparent 26%),
    radial-gradient(circle at bottom right, rgba(122, 231, 183, 0.12), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, #091821 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", sans-serif;
  line-height: 1.7;
}

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

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(6, 19, 29, 0.72);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #02151d;
  font-weight: 900;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.nav a.active,
.nav a:hover {
  background: rgba(92, 200, 255, 0.08);
  color: var(--text);
  border-color: rgba(92, 200, 255, 0.21);
  text-decoration: none;
}

.hero {
  padding: 64px 0 28px;
}

.hero-card {
  background: linear-gradient(180deg, rgba(13, 29, 42, 0.95), rgba(10, 22, 32, 0.9));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-header {
  padding: 32px 32px 18px;
  border-bottom: 1px solid var(--line);
}

.kicker {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(92, 200, 255, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(92, 200, 255, 0.2);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero p {
  margin: 16px 0 0;
  max-width: 820px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-body {
  padding: 28px 32px 32px;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px 20px;
}

.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.card h2, .card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.card p, .card li {
  color: var(--muted);
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.1);
  border: 1px solid rgba(199, 183, 255, 0.2);
  color: var(--purple);
  font-size: 0.8rem;
}

ul.checks {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.checks li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

ul.warns {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.warns li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

ul.warns li::before {
  content: "!";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

.codebox {
  background: rgba(1, 10, 16, 0.85);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px;
  overflow-x: auto;
}

pre {
  margin: 0;
  color: #d9f1ff;
  font-size: 0.92rem;
  line-height: 1.6;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.codebox code {
  color: #e3f4ff;
}

.section-gap { margin-top: 26px; }

.footer {
  padding: 26px 0 48px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 760px) {
  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }
  .nav {
    justify-content: center;
  }
  .col-4, .col-6, .col-8, .col-12 {
    grid-column: span 12;
  }
  .hero-header, .hero-body { padding-left: 18px; padding-right: 18px; }
}
