:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-elevated: #0e1b2d;
  --bg-soft: #13243a;
  --text: #f7fbff;
  --muted: #b8c7d9;
  --subtle: #8ea2b8;
  --border: #244260;
  --accent: #7dd3fc;
  --accent-strong: #facc15;
  --success: #86efac;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.18), transparent 34rem),
    linear-gradient(180deg, #07111f 0%, #0b1727 46%, #07111f 100%);
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: #b9e9ff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  border-bottom: 1px solid rgba(125, 211, 252, 0.2);
  background: rgba(7, 17, 31, 0.88);
}

.nav {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.12rem;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(125, 211, 252, 0.12);
}

main {
  flex: 1;
}

.hero,
.content {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 3rem 1rem;
}

.hero {
  min-height: calc(100vh - 8.5rem);
  display: grid;
  align-items: center;
  gap: 2rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 18vw, 6.5rem);
}

h2 {
  font-size: clamp(2rem, 9vw, 3.6rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

.lede {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 4vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-soft);
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  color: #03101b;
  border-color: var(--accent);
  background: var(--accent);
}

.mode-grid,
.info-grid,
.legal-grid {
  display: grid;
  gap: 1rem;
}

.mode-card,
.info-card,
.legal-card,
.notice {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(14, 27, 45, 0.88);
  padding: 1rem;
}

.mode-card {
  min-height: 9rem;
}

.mode-card p,
.info-card p,
.legal-card p,
.notice p,
.policy-section p,
.policy-section li {
  color: var(--muted);
}

.mode-card h3,
.info-card h3,
.legal-card h3 {
  margin-bottom: 0.45rem;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.metric {
  border-radius: 8px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  background: rgba(125, 211, 252, 0.1);
  padding: 1rem;
}

.metric strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
}

.metric span {
  color: var(--subtle);
  font-size: 0.9rem;
  font-weight: 750;
}

.content {
  display: grid;
  gap: 2rem;
}

.content-header {
  display: grid;
  gap: 0.85rem;
}

.content-header p {
  max-width: 46rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.policy-section {
  display: grid;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(125, 211, 252, 0.18);
}

.policy-section ul,
.policy-section ol {
  margin: 0;
  padding-left: 1.25rem;
}

.policy-section li + li {
  margin-top: 0.45rem;
}

.site-footer {
  border-top: 1px solid rgba(125, 211, 252, 0.16);
  color: var(--subtle);
}

.footer-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

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

@media (min-width: 720px) {
  .nav {
    padding: 1.25rem 1.5rem;
  }

  .hero,
  .content {
    padding: 4.5rem 1.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    align-items: center;
  }

  .mode-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
