:root {
  color-scheme: dark;
  --bg: #070a0f;
  --panel: rgba(18, 24, 33, 0.86);
  --panel-soft: rgba(255, 255, 255, 0.045);
  --text: #f4f7fb;
  --muted: #a9b4c4;
  --quiet: #778397;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #4ee3c1;
  --accent-2: #9a7cff;
  --warn: #ffd18a;
  --danger: #ff8f9a;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 0%, rgba(78, 227, 193, 0.16), transparent 34rem),
    radial-gradient(circle at 12% 100%, rgba(124, 102, 255, 0.16), transparent 30rem),
    linear-gradient(180deg, #080b11 0%, #06080d 100%);
  color: var(--text);
  line-height: 1.58;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

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

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 15, 0.74);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: 0;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-size: 0.94rem;
}

.hero {
  padding: 72px 0 42px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 720;
  text-transform: uppercase;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
}

h3 {
  margin: 26px 0 8px;
  font-size: 1.02rem;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.lead {
  max-width: 720px;
  margin-top: 22px;
  color: #d8e1ee;
  font-size: clamp(1.08rem, 2.4vw, 1.34rem);
}

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 22px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

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

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  border: 1px solid rgba(78, 227, 193, 0.28);
  border-radius: 999px;
  color: #dffdf6;
  background: rgba(78, 227, 193, 0.08);
  padding: 8px 12px;
  font-size: 0.9rem;
}

.warning {
  border-color: rgba(255, 209, 138, 0.3);
  background: rgba(255, 209, 138, 0.08);
}

.warning strong {
  color: var(--warn);
}

.content {
  padding: 34px 0 70px;
}

.content article {
  max-width: 820px;
}

ul,
ol {
  color: var(--muted);
  padding-left: 22px;
}

li {
  margin: 8px 0;
}

.callout {
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  background: rgba(78, 227, 193, 0.07);
  color: #dffdf6;
  padding: 16px 18px;
  margin: 22px 0;
}

.danger {
  border-left-color: var(--danger);
  background: rgba(255, 143, 154, 0.08);
}

.quiet {
  color: var(--quiet);
  font-size: 0.93rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(78, 227, 193, 0.34);
  border-radius: 999px;
  background: rgba(78, 227, 193, 0.12);
  color: var(--text);
  min-height: 44px;
  padding: 10px 16px;
  font-weight: 720;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 38px;
  color: var(--quiet);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 48px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
