:root {
  --ink: #06131f;
  --ink-2: #0b1d2b;
  --paper: #f3f0e8;
  --white: #fffefa;
  --lime: #b8f34a;
  --muted: #9fb0ba;
  --line: rgba(255,255,255,.13);
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: Manrope, Arial, sans-serif; line-height: 1.72; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.legal-header { background: var(--ink); color: var(--white); border-bottom: 1px solid var(--line); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.22rem; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--ink); background: var(--lime); font: 500 .87rem DM Mono, monospace; transform: rotate(-5deg); }
.brand small { color: var(--muted); font: 400 .61rem DM Mono, monospace; letter-spacing: .12em; text-transform: uppercase; display: block; }
.back-link { color: #c4d0d6; text-decoration: none; font-size: .84rem; font-weight: 700; }
.back-link:hover { color: var(--lime); }

.legal-hero { padding: 88px 0 76px; background: var(--ink); color: var(--white); }
.eyebrow { color: var(--lime); font: 500 .7rem DM Mono, monospace; letter-spacing: .12em; text-transform: uppercase; }
.legal-hero h1 { max-width: 800px; margin: 18px 0 20px; font-size: clamp(3rem, 8vw, 6.4rem); line-height: .92; letter-spacing: -.075em; }
.legal-hero p { max-width: 680px; color: #9fb0ba; font-size: 1rem; }
.updated { margin-top: 26px; color: #78909c; font: .68rem DM Mono, monospace; text-transform: uppercase; letter-spacing: .09em; }

.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 78px; padding: 78px 0 110px; }
.legal-nav { position: sticky; top: 24px; align-self: start; padding: 22px; border: 1px solid rgba(6,19,31,.13); border-radius: 18px; background: rgba(255,255,255,.36); }
.legal-nav strong { display: block; margin-bottom: 14px; color: #526873; font: 500 .65rem DM Mono, monospace; text-transform: uppercase; letter-spacing: .1em; }
.legal-nav a { display: block; padding: 7px 0; color: #536672; text-decoration: none; font-size: .78rem; }
.legal-nav a:hover { color: #1e4300; }
.legal-content { max-width: 760px; }
.notice { margin-bottom: 34px; padding: 20px 22px; border-left: 3px solid var(--lime); background: var(--white); color: #455963; font-size: .85rem; }
.legal-content section { scroll-margin-top: 30px; padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid rgba(6,19,31,.13); }
.legal-content section:last-child { border: 0; }
.legal-content h2 { margin-bottom: 14px; font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.15; letter-spacing: -.045em; }
.legal-content h3 { margin: 22px 0 8px; font-size: 1rem; }
.legal-content p { margin: 0 0 13px; color: #40535d; }
.legal-content ul { margin: 12px 0 15px 20px; color: #40535d; }
.legal-content li { margin: 7px 0; padding-left: 4px; }
.legal-content a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.company-card { padding: 24px; border-radius: 18px; background: var(--ink); color: var(--white); }
.company-card p { color: #bdc9cf; margin-bottom: 6px; }
.company-card strong { color: var(--lime); }

.legal-footer { padding: 36px 0; background: var(--ink); color: #748a96; }
.footer-row { display: flex; justify-content: space-between; gap: 28px; align-items: center; font-size: .73rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: #aab9c0; text-decoration: none; }
.footer-links a:hover { color: var(--lime); }

@media (max-width: 800px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .legal-layout { grid-template-columns: 1fr; gap: 34px; padding-top: 48px; }
  .legal-nav { position: static; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .brand small { display: none; }
}
