:root {
  --bg: #07110f;
  --card: rgba(15, 34, 29, .78);
  --card-solid: #0d1d19;
  --line: rgba(177, 255, 236, .14);
  --text: #f5fbf9;
  --muted: #a4b8b2;
  --aqua: #65f4d4;
  --white: #fff;
  --radius: 26px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .32);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 84% 0, rgba(39, 190, 163, .13), transparent 30rem),
    radial-gradient(circle at 10% 18%, rgba(101, 244, 212, .08), transparent 24rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a { color: inherit; }
button { color: inherit; font: inherit; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; }
.shell { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #05100d;
  background: var(--aqua);
  box-shadow: 0 10px 35px rgba(101,244,212,.18);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #8affdf; }
.button--ghost { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.035); box-shadow: none; }
.button--ghost:hover { background: rgba(255,255,255,.065); }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7,17,15,.74);
  backdrop-filter: blur(18px);
}
.header__inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 1.05rem; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.brand span { color: var(--aqua); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.button) { color: #c7d7d2; font-size: .9rem; font-weight: 700; text-decoration: none; }
.nav a:hover { color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); cursor: pointer; }

.legal-hero { padding: 78px 0 42px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--aqua);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
h1 { max-width: 780px; margin-bottom: 20px; font-size: clamp(3rem, 7vw, 5.8rem); line-height: .95; }
h2 { margin-bottom: 16px; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.05; }
h3 { margin-bottom: 10px; font-size: 1.1rem; }
p, li { color: var(--muted); line-height: 1.75; }
.legal-section a { color: var(--aqua); text-underline-offset: 3px; }
.legal-section a:hover { color: #8affdf; }
.legal-section h3 { margin-top: 28px; color: var(--text); }
.legal-section address { color: var(--muted); font-style: normal; line-height: 1.75; }
.legal-section .all-caps { color: #d9fff6; font-weight: 800; text-transform: uppercase; }
.lead { max-width: 720px; color: #dce8e4; font-size: clamp(1.05rem, 2vw, 1.24rem); font-weight: 620; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(101,244,212,.22);
  border-radius: 999px;
  color: #d9fff6;
  background: rgba(101,244,212,.065);
  font-size: .82rem;
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 34px;
  align-items: start;
  padding: 28px 0 104px;
}
.toc {
  position: sticky;
  top: 104px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 34, 29, .58);
  box-shadow: 0 12px 50px rgba(0,0,0,.12);
}
.toc strong { display: block; margin-bottom: 14px; }
.toc a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.toc a:hover { color: var(--white); }
.legal-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: var(--shadow);
}
.legal-section {
  padding: clamp(26px, 5vw, 46px);
  border-bottom: 1px solid var(--line);
}
.legal-section:last-child { border-bottom: 0; }
.legal-section :last-child { margin-bottom: 0; }
.placeholder {
  padding: 18px;
  border: 1px dashed rgba(101,244,212,.38);
  border-radius: 18px;
  color: #d9fff6;
  background: rgba(101,244,212,.055);
  font-weight: 650;
}
.placeholder code { color: var(--aqua); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
.legal-list { padding-left: 1.2rem; }
.notice {
  margin-top: 22px;
  padding: 18px;
  border-left: 3px solid var(--aqua);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}
.contact-card {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.028);
}
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.content-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.028);
}
.content-card p { margin-bottom: 0; }
.number-badge {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 14px;
  color: var(--aqua);
  background: rgba(101,244,212,.09);
  font-weight: 900;
}
.cta-panel {
  margin-top: 30px;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid rgba(101,244,212,.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 0, rgba(101,244,212,.14), transparent 34%),
    rgba(255,255,255,.03);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-field { display: grid; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { color: #dce8e4; font-weight: 800; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255,255,255,.045);
  font: inherit;
}
.form-field select {
  color-scheme: dark;
  cursor: pointer;
}
.form-field select option {
  color: #f5fbf9;
  background: #0d1d19;
}
.form-field select option:checked,
.form-field select option:hover {
  color: #05100d;
  background: #65f4d4;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(164,184,178,.72); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid var(--aqua);
  outline-offset: 2px;
  border-color: rgba(101,244,212,.55);
}
.form-note { margin-top: 14px; font-size: .88rem; }
.footer { border-top: 1px solid var(--line); background: #050d0b; }
.footer__top { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 40px; padding: 54px 0 40px; }
.footer p { max-width: 390px; font-size: .88rem; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li + li { margin-top: 10px; }
.footer a { color: var(--muted); font-size: .88rem; text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0 28px; border-top: 1px solid var(--line); color: #81958f; font-size: .75rem; }
.risk { max-width: 720px; }

@media (max-width: 920px) {
  .nav {
    position: fixed;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #0a1714;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; flex-direction: column; }
  .nav a:not(.button) { padding: 8px; }
  .nav .button { width: 100%; }
  .menu-toggle { display: block; }
  .legal-layout { grid-template-columns: 1fr; padding-bottom: 80px; }
  .toc { position: static; }
  .toc nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
  .content-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .header__inner { min-height: 66px; }
  .brand { font-size: .98rem; }
  .nav { top: 66px; right: 14px; left: 14px; }
  .nav a:not(.button) { font-size: .9rem; }
  .legal-hero { padding: 56px 0 26px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.3rem); }
  .toc nav { grid-template-columns: 1fr; }
  .legal-card { border-radius: 24px; }
  .legal-section { padding: 24px 20px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
