:root {
  --bg: #07090f;
  --surface: #11151f;
  --surface-2: #171c28;
  --text: #f7f8fb;
  --muted: #a3acba;
  --line: rgba(255,255,255,.10);
  --accent: #8dff57;
  --accent-soft: rgba(141,255,87,.10);
  --danger: #ff8091;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 0%, rgba(138,108,255,.12), transparent 30%),
    radial-gradient(circle at 0% 35%, rgba(141,255,87,.06), transparent 25%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:where(a, button):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #091007;
  background: var(--accent);
  font-weight: 850;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(7,9,15,.84);
  backdrop-filter: blur(20px) saturate(140%);
}
.nav-shell {
  width: min(1120px, calc(100% - 36px));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 17px; letter-spacing: -.03em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.nav-links a { padding: 10px 12px; border-radius: 11px; color: #c4cad4; font-size: 12px; font-weight: 750; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.06); }

.page-shell { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.legal-hero { padding: 78px 0 52px; }
.kicker { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.legal-hero h1 { max-width: 820px; margin: 15px 0 17px; font-size: clamp(43px, 7vw, 72px); line-height: .98; letter-spacing: -.06em; }
.legal-hero .lead { max-width: 760px; margin: 0; color: #abb3c0; font-size: 16px; line-height: 1.75; }
.update-chip { width: fit-content; margin-top: 24px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: #b8c0cc; background: rgba(255,255,255,.035); font-size: 11px; font-weight: 700; }

.legal-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); align-items: start; gap: 28px; padding-bottom: 100px; }
.legal-toc {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(17,21,31,.72);
}
.legal-toc strong { margin: 0 0 8px; color: #edf0f5; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.legal-toc a { padding: 8px 9px; border-radius: 9px; color: #9099a8; font-size: 11px; line-height: 1.35; }
.legal-toc a:hover { color: var(--text); background: rgba(255,255,255,.05); }

.legal-content { display: grid; gap: 14px; }
.legal-card {
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(20,25,36,.94), rgba(12,15,22,.94));
  box-shadow: 0 24px 70px rgba(0,0,0,.17);
}
.legal-card h2 { margin: 0 0 15px; color: #f4f6fa; font-size: 22px; letter-spacing: -.035em; }
.legal-card p, .legal-card li { color: #aeb6c2; font-size: 13px; line-height: 1.78; }
.legal-card p { margin: 0; }
.legal-card p + p { margin-top: 14px; }
.legal-card ul { margin: 14px 0 0; padding-left: 22px; }
.legal-card li + li { margin-top: 8px; }
.legal-card a { color: var(--accent); font-weight: 750; }
.legal-card a:hover { text-decoration: underline; }
.callout { margin-top: 18px; padding: 16px 18px; border: 1px solid rgba(141,255,87,.22); border-radius: 15px; background: var(--accent-soft); }
.callout strong { display: block; margin-bottom: 7px; color: #dcffd0; font-size: 12px; }
.callout p { color: #bcd2b4; font-size: 12px; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; padding-bottom: 24px; }
.contact-card { min-height: 245px; display: flex; flex-direction: column; }
.contact-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 15px; color: #0a1107; background: var(--accent); font-size: 21px; font-weight: 900; }
.contact-card h2 { font-size: 24px; }
.contact-card p { margin-bottom: 23px; }
.contact-action { width: fit-content; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 12px; color: #0a1007 !important; background: var(--accent); font-size: 12px; font-weight: 850; }
.contact-action:hover { text-decoration: none !important; background: #a3ff7b; }
.info-panel { margin-bottom: 100px; }

.site-footer { padding: 42px 0 28px; border-top: 1px solid var(--line); background: #06080d; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-row p { margin: 0; color: #8f98a7; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: #aab2bf; font-size: 11px; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 800px) {
  .nav-shell { padding: 12px 0; align-items: flex-start; }
  .nav-links { max-width: 260px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-toc strong { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .nav-shell { flex-direction: column; gap: 12px; }
  .nav-links { width: 100%; max-width: none; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
  .nav-links a { white-space: nowrap; }
  .legal-hero { padding-top: 56px; }
  .legal-hero h1 { font-size: 46px; }
  .legal-layout { padding-bottom: 76px; }
  .legal-toc { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

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