:root {
  color-scheme: dark;
  --navy: #0a1628;
  --deep: #060f1e;
  --teal: #0e9b86;
  --text: #9db4d4;
  --text-bright: #c9d6ee;
  --heading: #ffffff;
  --line: rgba(255, 255, 255, 0.09);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; }
a:hover { color: #19c6aa; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(6, 15, 30, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav-inner {
  width: min(1180px, calc(100% - 5rem));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo { width: auto; height: 26px; display: block; }
.back-link {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.back-link:hover { color: var(--teal); }

.legal-hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  border-bottom: 1px solid var(--line);
}
.legal-hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -240px;
  top: -360px;
  border-radius: 50%;
  background: rgba(14, 155, 134, 0.11);
  filter: blur(24px);
  pointer-events: none;
}
.hero-inner, .legal-layout {
  width: min(960px, calc(100% - 5rem));
  margin: 0 auto;
}
.hero-inner { padding: 5.5rem 0 4.5rem; position: relative; z-index: 1; }
.eyebrow {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--teal);
  font: 700 0.72rem/1 "DM Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 1.25rem;
  color: var(--heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.hero-copy { max-width: 43rem; margin: 0; color: var(--text-bright); font-size: 1.08rem; }
.effective-date {
  display: block;
  margin-top: 1.4rem;
  color: #6b85a8;
  font: 0.75rem/1.5 "DM Mono", monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-layout { padding: 4.5rem 0 6rem; }
.notice {
  margin-bottom: 3.5rem;
  padding: 1.25rem 1.4rem;
  background: rgba(14, 155, 134, 0.08);
  border: 1px solid rgba(14, 155, 134, 0.28);
  border-radius: 6px;
  color: var(--text-bright);
}
.notice strong { color: #e8eef8; }
.legal-section { margin-top: 3.25rem; scroll-margin-top: 90px; }
.legal-section:first-of-type { margin-top: 0; }
h2 {
  margin: 0 0 1rem;
  color: #e8eef8;
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
h3 { margin: 1.7rem 0 0.55rem; color: var(--text-bright); font-size: 1rem; }
p { margin: 0 0 1rem; }
ul { margin: 0.75rem 0 1.2rem; padding-left: 1.35rem; }
li { margin-bottom: 0.55rem; padding-left: 0.3rem; }
.caps { color: var(--text-bright); font-size: 0.92rem; text-transform: uppercase; }

.footer {
  background: var(--deep);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 3rem 2.5rem 2rem;
}
.footer-inner, .footer-bottom {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo { width: auto; height: 24px; display: block; margin-bottom: 0.75rem; }
.footer-tagline { max-width: 310px; margin: 0; color: #6b85a8; font-size: 0.92rem; }
.footer-links { display: flex; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(201, 214, 238, 0.58); font-size: 0.85rem; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: #fff; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #4a5d7a;
  font: 0.75rem/1.5 "DM Mono", monospace;
}
.footer-version { color: #060f1e; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

@media (max-width: 640px) {
  .nav-inner, .hero-inner, .legal-layout { width: calc(100% - 2.5rem); }
  .hero-inner { padding: 4rem 0 3.5rem; }
  .legal-layout { padding: 3.5rem 0 4.5rem; }
  .legal-section { margin-top: 2.75rem; }
  .footer { padding: 2.5rem 1.25rem 1.5rem; }
  .footer-inner, .footer-bottom { flex-direction: column; }
}
