:root {
  color-scheme: dark;
  --navy: #061b2a;
  --navy-2: #0a2637;
  --card: rgba(13, 49, 67, 0.78);
  --cyan: #35d6df;
  --teal: #21aeb8;
  --yellow: #e1bd43;
  --white: #f5f8f8;
  --muted: #aac1c9;
  --line: rgba(53, 214, 223, 0.24);
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 76% 5%, rgba(53, 214, 223, 0.12), transparent 33rem),
    linear-gradient(155deg, var(--navy) 0%, #03141f 100%);
  color: var(--white);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

a { color: var(--cyan); }
a:hover { color: #8af5f5; }

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid var(--line);
  background: rgba(6, 27, 42, 0.82);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 850;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.bolt { color: var(--yellow); }

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

main { padding: 72px 0 96px; }

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 52px;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.8rem); margin: 14px 0 22px; max-width: 820px; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin: 48px 0 14px; }
h3 { font-size: 1.18rem; margin: 28px 0 8px; }

.lede { color: var(--muted); font-size: 1.2rem; max-width: 680px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--cyan);
  border-radius: 12px;
  color: var(--navy);
  background: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}
.button.secondary { color: var(--white); background: transparent; border-color: var(--line); }

.spark-art {
  display: block;
  width: min(100%, 390px);
  justify-self: center;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.36));
}

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

.card {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.card h3 { margin-top: 0; }
.card p { color: var(--muted); margin-bottom: 0; }

.policy {
  max-width: 800px;
  margin: 0 auto;
}
.policy h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
.policy p, .policy li { color: #d4e0e3; }
.policy .meta { color: var(--muted); }
.policy section { padding-top: 8px; }
.policy code { color: var(--white); background: var(--navy-2); padding: 0.14em 0.38em; border-radius: 5px; }

.notice {
  margin: 30px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--yellow);
  background: rgba(225, 189, 67, 0.08);
  border-radius: 0 12px 12px 0;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 30px 0 46px;
}
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; }

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav-links { gap: 12px; font-size: 0.9rem; }
  main { padding-top: 44px; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 20px; }
  .spark-art { width: min(72vw, 330px); grid-row: 1; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
