:root {
  --bg: #070b18;
  --ink: #f4f7fb;
  --muted: #a9b6cc;
  --line: rgba(255, 255, 255, 0.1);
  --card: rgba(16, 24, 48, 0.78);
  --red: #ff3b4e;
  --blue: #5b7cfa;
  --shadow: 0 24px 60px rgba(4, 8, 24, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: Figtree, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(91, 124, 250, 0.35), transparent 60%),
    radial-gradient(700px 420px at 100% 0%, rgba(255, 59, 78, 0.22), transparent 55%),
    var(--bg);
  line-height: 1.55;
}

a { color: #9eb4ff; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: white; }

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

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.brand img, .hero-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.nav-links { display: flex; gap: 18px; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav-links a[aria-current="page"], .nav-links a:hover { color: white; }

.hero { padding: 54px 0 28px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd0d5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(255, 59, 78, 0.18);
}

h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 620;
  letter-spacing: -1.8px;
  line-height: 0.95;
  margin: 12px 0 14px;
}

.lede { font-size: 19px; color: var(--muted); max-width: 38ch; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 700;
  text-decoration: none;
}

.btn.primary { background: white; color: #12182b; }
.btn.ghost { border: 1px solid var(--line); color: var(--ink); }

.stage {
  justify-self: end;
  width: min(320px, 100%);
  aspect-ratio: 1;
  border-radius: 36px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(160deg, #24306a, #12183a 55%, #2a1230);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.stage::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 78, 0.45), transparent 68%);
  filter: blur(8px);
}

.hero-icon { width: 148px; height: 148px; border-radius: 34px; position: relative; z-index: 1; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 10px 0 36px; }

.card, .panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(10px);
}

.card { padding: 20px 18px 18px; }
.card h2, .panel h2 { font-size: 18px; letter-spacing: -0.3px; margin-bottom: 6px; }
.card p, .panel p, .panel li { color: var(--muted); }

.panel { padding: 26px 24px; margin: 8px 0 28px; }
.panel h2 { font-family: Fraunces, Georgia, serif; font-size: 32px; margin-bottom: 8px; }

dl { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; margin-top: 16px; }
dt { color: var(--muted); }
dd { font-weight: 650; }

.page { padding: 28px 0 72px; }
.page h1 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 8px; }
.sub { color: var(--muted); margin-bottom: 22px; }
.page h2 { font-size: 20px; margin: 26px 0 8px; }
.page p, .page li { color: var(--muted); }
.page strong, .page code { color: var(--ink); font-weight: 700; }
.page ul, .page ol { padding-left: 20px; margin: 8px 0 12px; }
.page li + li { margin-top: 6px; }

footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
}

footer a { color: var(--muted); }

@media (max-width: 800px) {
  .hero, .grid, dl { grid-template-columns: 1fr; }
  .stage { justify-self: start; }
  nav { align-items: flex-start; flex-direction: column; }
}
