:root {
  --bg-1: #03152f;
  --bg-2: #052b63;
  --bg-3: #006ee6;
  --cyan: #49e6ff;
  --blue: #138bff;
  --ink: #eef8ff;
  --muted: #b7d7ef;
  --card: rgba(255,255,255,.085);
  --card-border: rgba(132,221,255,.26);
  --line: rgba(255,255,255,.12);
  --shadow: 0 24px 80px rgba(0,31,85,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, Segoe UI, sans-serif;
  background:
    radial-gradient(circle at 50% -10%, rgba(53,221,255,.32), transparent 34rem),
    radial-gradient(circle at 95% 10%, rgba(0,129,255,.25), transparent 28rem),
    linear-gradient(155deg, var(--bg-1) 0%, var(--bg-2) 56%, #021225 100%);
  min-height: 100vh;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    radial-gradient(circle at 20% 24%, rgba(255,255,255,.75) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 58%, rgba(255,255,255,.55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 42% 78%, rgba(255,255,255,.45) 0 1px, transparent 1.5px);
  background-size: 170px 170px, 220px 220px, 260px 260px;
}

a { color: #79e9ff; }
a:hover { color: white; }

.site-shell {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  background: rgba(4,32,70,.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0,26,70,.2);
  position: sticky;
  top: 12px;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
}

.drop {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 56% 56%;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #bff9ff 0%, #37dcff 34%, #0a8dff 70%, #0758cf 100%);
  border: 2px solid rgba(255,255,255,.88);
  box-shadow: inset 6px 6px 12px rgba(255,255,255,.28), 0 0 22px rgba(64,213,255,.52);
  position: relative;
  overflow: hidden;
}
.drop::after {
  content: "";
  position: absolute;
  width: 23px;
  height: 9px;
  background: rgba(255,255,255,.44);
  border-radius: 50%;
  left: 2px;
  top: 5px;
  transform: rotate(-32deg);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  padding: 7px 10px;
  border-radius: 12px;
}
.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: rgba(255,255,255,.09);
}

.hero {
  text-align: center;
  padding: 74px 16px 42px;
}

.hero-logo {
  width: 94px;
  height: 94px;
  margin: 0 auto 24px;
  border-radius: 50% 50% 56% 56%;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #d9fcff 0%, #43e5ff 32%, #118cff 69%, #0645bd 100%);
  border: 3px solid rgba(255,255,255,.92);
  box-shadow: inset 12px 12px 24px rgba(255,255,255,.28), 0 0 50px rgba(55,213,255,.45);
}
.hero h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1;
  letter-spacing: -.055em;
}
.hero .subtitle {
  margin: 18px auto 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 3vw, 21px);
}
.pill {
  display: inline-flex;
  margin-top: 22px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(72,225,255,.10);
  border: 1px solid rgba(91,230,255,.22);
  color: #9bedff;
  font-size: 13px;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 24px;
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.055));
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(123,235,255,.5);
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.07));
}
.card .icon { font-size: 30px; }
.card h2 { margin: 10px 0 5px; font-size: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.doc {
  margin-top: 34px;
  padding: clamp(24px, 5vw, 52px);
  background: linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.055));
  border: 1px solid var(--card-border);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.doc-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 28px;
}
.eyebrow {
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.doc h1 {
  margin: 7px 0 8px;
  font-size: clamp(34px, 6vw, 50px);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.doc .meta { color: var(--muted); font-size: 14px; }
.doc h2 {
  margin: 34px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}
.doc h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}
.doc p, .doc li { color: #d4e8f7; }
.doc strong { color: white; }
.doc ul, .doc ol { padding-left: 22px; }
.note {
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(67,221,255,.085);
  border: 1px solid rgba(86,228,255,.20);
  color: #dff9ff;
}
.warning {
  background: rgba(255,205,72,.08);
  border-color: rgba(255,205,72,.25);
  color: #fff3c6;
}
code {
  color: #b9f5ff;
  background: rgba(0,0,0,.18);
  padding: 2px 6px;
  border-radius: 7px;
}

footer {
  color: #8eb6d3;
  font-size: 13px;
  text-align: center;
  padding: 30px 12px 8px;
}
footer a { color: #bdefff; text-decoration: none; }

@media (max-width: 760px) {
  .nav { align-items: flex-start; }
  .nav-links { gap: 2px; }
  .nav-links a { font-size: 12px; padding: 7px 7px; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
}
