:root {
  --navy: #07111f;
  --navy-2: #0d1a2d;
  --blue: #2f6bff;
  --lime: #b7ff32;
  --text: #152033;
  --muted: #667085;
  --line: #e5eaf2;
  --paper: #ffffff;
  --background: #f4f7fb;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
}

a { color: var(--blue); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner,
.legal-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 13px;
  font-size: 1rem;
}

.brand span:last-child strong { color: var(--blue); }

.header-nav { display: flex; gap: 22px; }
.header-nav a { color: #465268; text-decoration: none; font-weight: 650; }
.header-nav a:hover { color: var(--blue); }

.hero {
  overflow: hidden;
  position: relative;
  padding: 84px 0 78px;
  color: white;
  background:
    radial-gradient(circle at 88% 15%, rgba(183,255,50,.22), transparent 24%),
    radial-gradient(circle at 10% 90%, rgba(47,107,255,.35), transparent 28%),
    var(--navy);
}

.hero::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  right: -95px;
  top: -130px;
  border: 42px solid var(--lime);
  border-radius: 50%;
  opacity: .9;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 13px;
  color: var(--navy);
  background: var(--lime);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 20px 0 12px;
  font-size: clamp(2.35rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.hero p { max-width: 680px; margin: 0; color: #bdc8da; font-size: 1.06rem; }
.hero-meta { margin-top: 26px; color: #8fa0b9; font-size: .92rem; }

.legal-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  padding: 56px 0 80px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 100px;
  padding: 22px;
  background: var(--navy);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(7,17,31,.14);
}

.toc strong { display: block; margin-bottom: 12px; color: white; }
.toc a { display: block; padding: 7px 0; color: #aebbd0; text-decoration: none; font-size: .9rem; }
.toc a:hover { color: var(--lime); }

.legal-card {
  padding: clamp(28px, 5vw, 62px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(25,42,70,.08);
}

.legal-card section { scroll-margin-top: 100px; padding: 9px 0 25px; }
.legal-card section + section { border-top: 1px solid var(--line); padding-top: 31px; }
.legal-card h2 { margin: 0 0 10px; color: var(--navy); font-size: 1.42rem; letter-spacing: -.025em; }
.legal-card p { margin: 0 0 13px; color: #4d5a70; }
.legal-card ul { margin: 10px 0 0; padding-left: 22px; color: #4d5a70; }
.legal-card li { margin: 7px 0; }

.notice {
  margin-bottom: 32px;
  padding: 18px 20px;
  background: #eff5ff;
  border-left: 4px solid var(--blue);
  border-radius: 0 14px 14px 0;
  color: #33415a;
}

.contact-box {
  padding: 22px;
  background: var(--navy);
  border-radius: 18px;
  color: white;
}

.contact-box p { color: #aebbd0; }
.contact-box a { color: var(--lime); font-weight: 750; }

.site-footer { padding: 44px 0; background: var(--navy); color: #9ba9bd; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-links a { color: #d8e0ec; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.copyright { font-size: .9rem; }

@media (max-width: 800px) {
  .header-nav { gap: 13px; font-size: .88rem; }
  .header-nav a:nth-child(2) { display: none; }
  .hero { padding: 60px 0; }
  .legal-shell { grid-template-columns: 1fr; padding-top: 28px; }
  .toc { position: static; }
}

@media (max-width: 520px) {
  .header-inner, .footer-inner, .legal-shell { width: min(100% - 24px, 1120px); }
  .header-inner { min-height: 68px; }
  .brand { font-size: 1.1rem; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .header-nav a:first-child { display: none; }
  .hero::after { width: 190px; height: 190px; border-width: 28px; }
  .legal-card { border-radius: 18px; }
}
