/* =========================================================
   webit — legal.css  (document-style pages)
   ========================================================= */
@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/Galano_Grotesque.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/Galano_Grotesque_Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/Galano_Grotesque_SemiBold.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/Galano_Grotesque_Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/Galano_Grotesque_ExtraBold.otf') format('opentype');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Galano Grotesque';
  src: url('../fonts/Galano_Grotesque_Black.otf') format('opentype');
  font-weight: 900; font-style: normal; font-display: swap;
}

:root {
  --dark: #30243C;
  --dark-3: #1A1325;
  --primary: #885EA4;
  --secondary: #008FC7;
  --gradient-h: linear-gradient(90deg, #885EA4, #008FC7);
  --body: #333333;
  --muted: #6B7280;
  --surface: #F8F7FA;
  --border: rgba(136, 94, 164, 0.15);
  --on-dark: rgba(255,255,255,0.92);
  --on-dark-muted: rgba(255,255,255,0.58);
  --on-dark-faint: rgba(255,255,255,0.32);
  --on-dark-line: rgba(255,255,255,0.10);
  --font: 'Galano Grotesque', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--secondary); text-decoration: none; word-break: break-word; }
a:hover { text-decoration: underline; }

/* Top bar */
.legal-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: rgba(26,19,37,0.92);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--on-dark-line);
}
.legal-nav img { height: 32px; width: auto; }
.legal-nav__back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--on-dark); font-weight: 600; font-size: 0.92rem;
}
.legal-nav__back:hover { color: #fff; text-decoration: none; }
.legal-nav__back svg { width: 16px; height: 16px; }

/* Hero band */
.legal-hero {
  background: var(--dark);
  color: var(--on-dark);
  padding: 76px 0 64px;
  position: relative;
  overflow: hidden;
}
.legal-hero__glow {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(136,94,164,0.35), transparent 65%);
  top: -260px; right: -120px; filter: blur(30px); pointer-events: none;
}
.legal-hero .eyebrow {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  background: var(--gradient-h); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 16px;
}
.legal-hero h1 {
  margin: 0; font-weight: 900; letter-spacing: -0.03em; color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05;
}
.legal-hero p.updated {
  margin: 18px 0 0; color: var(--on-dark-muted); font-size: 0.95rem;
}

/* Content */
.container { max-width: 820px; margin: 0 auto; padding: 0 40px; }
.legal-body { padding: 64px 0 96px; }
.legal-body h2 {
  font-weight: 800; font-size: 1.35rem; letter-spacing: -0.015em;
  color: var(--dark); margin: 48px 0 14px; line-height: 1.2;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-weight: 700; font-size: 1.05rem; color: var(--dark); margin: 28px 0 8px;
}
.legal-body p { margin: 0 0 18px; }
.legal-body ul { margin: 0 0 18px; padding-left: 22px; }
.legal-body li { margin-bottom: 10px; }
.legal-body strong { font-weight: 700; color: var(--dark); }
.legal-body .lead { font-size: 1.12rem; color: var(--muted); margin-bottom: 32px; }

/* Definition / data cards */
.data-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 30px;
  margin: 0 0 28px;
}
.data-card dl { margin: 0; display: grid; grid-template-columns: 180px 1fr; gap: 10px 24px; }
.data-card dt { font-weight: 700; color: var(--dark); font-size: 0.92rem; }
.data-card dd { margin: 0; color: var(--body); }
@media (max-width: 600px) {
  .data-card dl { grid-template-columns: 1fr; gap: 2px 0; }
  .data-card dd { margin-bottom: 12px; }
}

.callout {
  border-left: 3px solid var(--secondary);
  background: rgba(0,143,199,0.05);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 0 0 24px;
}
.callout p:last-child { margin-bottom: 0; }

/* Footer */
.legal-footer {
  background: var(--dark-3);
  color: var(--on-dark-muted);
  padding: 40px 0;
  font-size: 0.88rem;
}
.legal-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.legal-footer img { height: 24px; opacity: 0.9; }
.legal-footer a { color: var(--on-dark-muted); }
.legal-footer__links { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 700px) {
  .legal-nav { padding: 14px 20px; }
  .container { padding: 0 20px; }
  .legal-hero { padding: 56px 0 44px; }
}
