:root {
  --bg: #0f1115;
  --panel: #171a21;
  --text: #f4f6f8;
  --muted: #aab2bd;
  --accent: #58a6ff;
  --line: #2a303b;
  --max: 980px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

header {
  border-bottom: 1px solid var(--line);
  background: rgba(15,17,21,.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--text);
}

.brand:hover { text-decoration: none; }

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}

.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }

.brand-word {
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: .14em;
  line-height: 1;
}

.brand-sub {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.28em;
  letter-spacing: 0;
  margin-left: .32em;
  color: var(--muted);
  transition: color .25s;
}

.brand:hover .brand-sub { color: var(--text); }

/* Hero wordmark */
.wordmark {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 .18em;
  font-size: clamp(3rem, 11vw, 7.4rem);
  line-height: .92;
}

.wm-main {
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.045em;
  background: linear-gradient(100deg, #f4f6f8 0%, #f4f6f8 30%, #58a6ff 48%, #8b7bff 60%, #ff7ac6 72%, #f4f6f8 90%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: wm-sheen 7s ease-in-out infinite;
}

.wm-sub {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: .78em;
  letter-spacing: -.01em;
  color: var(--muted);
  position: relative;
}

.wm-sub::after {
  content: "";
  position: absolute;
  left: .05em;
  right: .1em;
  bottom: .02em;
  height: .06em;
  border-radius: 99px;
  background: linear-gradient(90deg, #58a6ff, #8b7bff, #ff7ac6);
  opacity: .85;
}

@keyframes wm-sheen {
  0%, 15% { background-position: 100% 0; }
  60%, 100% { background-position: 0% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wm-main { animation: none; background-position: 50% 0; }
  .brand-mark { transition: none; }
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 20px 80px;
}

.hero {
  padding: 54px 0 36px;
}

.kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.02;
  margin: 12px 0 18px;
}

h2 {
  margin-top: 40px;
  font-size: 1.65rem;
}

h3 { margin-top: 28px; }

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 34px;
}

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

.button {
  display: inline-block;
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #08111f;
  font-weight: 800;
}

.button:hover { text-decoration: none; filter: brightness(1.05); }

.policy {
  background: #12151b;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.policy ul { padding-left: 22px; }

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

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

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