:root {
  color-scheme: light;
  --ink: #101322;
  --muted: #6f7280;
  --line: rgba(16, 19, 34, 0.1);
  --paper: #fbfbfd;
  --soft: #f4f2fb;
  --accent: #ead8aa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(135deg, #fff 0%, #f8f7fc 48%, #f0eef9 100%);
  font-family: "Plus Jakarta Sans", sans-serif;
}
a { color: inherit; }
.legal-header,
.legal-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.legal-header { min-height: 92px; }
.legal-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 17px "Outfit", sans-serif; }
.legal-brand img { width: 42px; height: 42px; object-fit: contain; }
.back-link { padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; }
main { width: min(1160px, calc(100% - 32px)); margin: 0 auto 80px; }
.legal-hero { padding: clamp(54px, 9vw, 112px) 0 56px; max-width: 860px; }
.eyebrow,.section-number { margin: 0 0 12px; color: #777985; font: 800 12px "Outfit", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.legal-hero h1 { margin: 0; max-width: 780px; font: 800 clamp(54px, 9vw, 118px)/.86 "Outfit", sans-serif; letter-spacing: 0; }
.legal-hero > p:last-child { max-width: 680px; margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 2.4vw, 26px); line-height: 1.45; }
.legal-nav { position: sticky; top: 12px; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 56px; padding: 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(16px); }
.legal-nav a { padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 800; }
.legal-nav a:hover { background: var(--ink); color: #fff; }
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 7vw, 96px); align-items: start; }
.legal-summary { position: sticky; top: 92px; display: grid; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.7); }
.legal-summary h2 { margin: 0 0 12px; font: 800 30px/1 "Outfit", sans-serif; }
.legal-summary a { font-weight: 700; text-underline-offset: 3px; }
.updated { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.legal-content { display: grid; gap: 20px; }
.legal-content section { scroll-margin-top: 100px; padding: clamp(28px, 5vw, 56px); border-top: 1px solid var(--line); background: rgba(255,255,255,.48); }
.legal-content section:first-child { border-top: 4px solid var(--ink); }
.legal-content h2 { margin: 0 0 28px; font: 800 clamp(32px, 5vw, 58px)/.98 "Outfit", sans-serif; }
.legal-content h3 { margin: 28px 0 8px; font: 800 18px "Outfit", sans-serif; }
.legal-content p { margin: 0 0 16px; color: #555967; font-size: 15px; line-height: 1.75; }
.identity-list { display: grid; gap: 1px; margin: 24px 0; background: var(--line); }
.identity-list div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px; background: #fff; }
.identity-list dt { color: var(--muted); font-weight: 700; }
.identity-list dd { margin: 0; font-weight: 700; }
.legal-footer { min-height: 100px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.legal-footer a { font-weight: 700; }
@media (max-width: 760px) {
  .legal-header { min-height: 74px; }
  .legal-brand img { width: 36px; height: 36px; }
  .back-link { padding: 10px 12px; font-size: 12px; }
  .legal-hero { padding-top: 42px; }
  .legal-hero h1 { font-size: clamp(48px, 18vw, 76px); }
  .legal-nav { position: static; border-radius: 8px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-summary { position: static; }
  .legal-content section { padding: 28px 20px; }
  .identity-list div { grid-template-columns: 1fr; gap: 6px; }
  .legal-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
