:root {
  --bg: #070B1A;
  --surface: #0F1529;
  --line: #1F2742;
  --text: #F2EDE3;
  --muted: #8B91A7;
  --accent: #3A63F0;
  --accent-text: #8FA8FF;
  --grad: linear-gradient(135deg, #5279FF 0%, #2E4FD6 60%, #1A2C8C 100%);
  --max: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
header { padding: 28px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: 0.06em; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.logo:hover { text-decoration: none; }
.logo .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px #5279FF; }
nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
nav a { color: var(--muted); }
nav a:hover { color: var(--text); text-decoration: none; }

main { flex: 1; }

/* Hero */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 820px; height: 820px;
  background: radial-gradient(closest-side, rgba(58, 99, 240, 0.32), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.eyebrow { color: var(--accent-text); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { font-size: clamp(42px, 8vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; margin: 18px 0 22px; max-width: 12ch; }
.lead { color: var(--muted); font-size: clamp(18px, 2.2vw, 21px); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; color: #fff; background: var(--grad);
  box-shadow: 0 10px 30px rgba(58, 99, 240, 0.35);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; border: 1.5px solid #4C74FF; color: var(--accent-text); box-shadow: none; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* Features */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.section .sub { color: var(--muted); max-width: 36em; margin-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.card .emoji { font-size: 30px; line-height: 1; }
.card h3 { font-size: 19px; font-weight: 800; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* Prose (policy pages) */
.prose { max-width: 720px; padding: 48px 0 88px; }
.prose h1 { font-size: clamp(36px, 6vw, 52px); margin: 8px 0 12px; max-width: none; }
.prose .meta { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.prose h2 { font-size: 22px; font-weight: 800; margin: 40px 0 10px; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.prose p, .prose li { color: #D6D2CA; }
.prose p { margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin: 24px 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  nav { gap: 16px; font-size: 14px; }
  nav .hide-sm { display: none; }
  .hero { padding: 40px 0 64px; }
}
