  /* ============================================================
     DESIGN TOKENS
     ============================================================ */
  :root {
    --navy: #2d3a7d;
    --navy-dark: #232e66;
    --navy-deeper: #1a2452;
    --navy-50: #eef0f8;
    --pink: #e91e85;
    --pink-soft: #ffb3d9;
    --pink-50: #fdeaf3;
    --orange: #f58024;
    --orange-soft: #fcb549;
    --orange-50: #fff2e6;
    --red: #e64644;
    --magenta: #d823cd;

    --grad: linear-gradient(90deg, #fcb549 0%, #e64644 50%, #d823cd 100%);
    --grad-tilt: linear-gradient(135deg, #fcb549 0%, #e64644 50%, #d823cd 100%);
    --grad-soft: linear-gradient(135deg, #fff2e6 0%, #fdeaf3 100%);

    --bg: #ffffff;
    --surface: #f8f9fb;
    --surface-2: #f2f4f8;
    --border: #e8eaef;
    --text: #151515;
    --text-muted: #6f6f6f;

    --font: 'Figtree', system-ui, -apple-system, sans-serif;

    --sh-md: 0 4px 8px rgba(35, 46, 102, 0.06), 0 8px 24px rgba(35, 46, 102, 0.08);
    --sh-lg: 0 12px 24px -8px rgba(35, 46, 102, 0.12), 0 24px 64px -12px rgba(35, 46, 102, 0.18);
  }

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }
  img, video, svg { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; }
  ::selection { background: var(--pink); color: #fff; }

  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* ============================================================
     HERO
     ============================================================ */
  .legal-hero {
    padding: 148px 0 72px;
    background: linear-gradient(180deg, #f0f2fa 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
  }
  .legal-hero::before {
    content: '';
    position: absolute;
    top: -160px;
    right: -120px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(45, 58, 125, 0.08) 0%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
  }
  .legal-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -100px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(233, 30, 133, 0.06) 0%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
  }
  .legal-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
  }
  .kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
  }
  .kicker.navy { color: var(--navy); }
  .kicker.pink { color: var(--pink); }
  .kicker.orange { color: var(--orange); }
  .legal-hero h1 {
    font-size: clamp(30px, 4.5vw, 56px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--navy-dark);
    margin-bottom: 24px;
  }
  .legal-hero h1 .gr {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .legal-hero-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
  }
  .legal-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
  }
  .legal-hero-meta-item svg {
    color: var(--navy);
    flex-shrink: 0;
  }
  .legal-hero-intro {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 680px;
  }
  .legal-hero-intro a {
    color: var(--pink);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--pink-soft);
    text-underline-offset: 3px;
  }
  .legal-hero-intro a:hover { text-decoration-color: var(--pink); }

  /* ============================================================
     LAYOUT: sidebar TOC + main content
     ============================================================ */
  .legal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 56px;
    padding: 72px 0 100px;
    align-items: start;
  }

  /* ============================================================
     TABLE OF CONTENTS (sticky sidebar)
     ============================================================ */
  .legal-toc {
    position: sticky;
    top: 96px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 24px;
  }
  .legal-toc-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
  }
  .legal-toc ol {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .legal-toc li a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.45;
    transition: background 0.18s, color 0.18s;
  }
  .legal-toc li a:hover {
    background: var(--bg);
    color: var(--navy-dark);
  }
  .legal-toc li a.active {
    background: var(--bg);
    color: var(--navy-dark);
    box-shadow: var(--sh-md);
  }
  .toc-num {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: var(--grad);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
  }
  .legal-toc-back {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  .legal-toc-back a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pink);
    padding: 7px 10px;
    border-radius: 9px;
    transition: background 0.18s;
  }
  .legal-toc-back a:hover { background: var(--pink-50); }

  /* ============================================================
     MAIN CONTENT
     ============================================================ */
  .legal-content {
    min-width: 0;
  }
  .legal-section {
    margin-bottom: 56px;
    scroll-margin-top: 96px;
  }
  .legal-section:last-child { margin-bottom: 0; }

  .legal-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--surface-2);
  }
  .legal-section-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--grad);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px -4px rgba(230, 70, 68, 0.4);
  }
  .legal-section h2 {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.2;
    letter-spacing: -0.01em;
  }

  .legal-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
  }
  .legal-body p {
    margin-bottom: 16px;
  }
  .legal-body p:last-child { margin-bottom: 0; }
  .legal-body strong {
    font-weight: 700;
    color: var(--navy-dark);
  }
  .legal-body a {
    color: var(--pink);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--pink-soft);
    text-underline-offset: 3px;
  }
  .legal-body a:hover { text-decoration-color: var(--pink); }

  .legal-body ul,
  .legal-body ol {
    padding-left: 0;
    list-style: none;
    margin: 16px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .legal-body ul li,
  .legal-body ol li {
    padding-left: 32px;
    position: relative;
    font-size: 15.5px;
    color: var(--text);
    line-height: 1.7;
  }
  .legal-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grad);
  }
  .legal-body ol {
    counter-reset: legal-ol;
  }
  .legal-body ol li {
    counter-increment: legal-ol;
  }
  .legal-body ol li::before {
    content: counter(legal-ol);
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--navy-50);
    color: var(--navy-dark);
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
  }

  /* Info box */
  .legal-info {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--navy);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
  }
  .legal-info strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 8px;
  }

  /* Warning box */
  .legal-warn {
    background: var(--orange-50);
    border: 1px solid rgba(245, 128, 36, 0.25);
    border-left: 4px solid var(--orange);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
  }
  .legal-warn strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
  }

  /* Two-column definition list */
  .legal-dl {
    margin: 16px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
  }
  .legal-dl-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }
  .legal-dl-row:last-child { border-bottom: none; }
  .legal-dl-term {
    padding: 14px 18px;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--navy-dark);
    background: var(--surface);
    border-right: 1px solid var(--border);
    line-height: 1.5;
  }
  .legal-dl-def {
    padding: 14px 20px;
    font-size: 14.5px;
    color: var(--text);
    line-height: 1.65;
    background: var(--bg);
  }

  /* Highlight chip row */
  .legal-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
  }
  .legal-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: var(--navy-50);
    color: var(--navy-dark);
    border: 1px solid rgba(45, 58, 125, 0.15);
  }
  .legal-chip.pink { background: var(--pink-50); color: var(--pink); border-color: rgba(233, 30, 133, 0.2); }
  .legal-chip.orange { background: var(--orange-50); color: var(--orange); border-color: rgba(245, 128, 36, 0.2); }
  .legal-chip::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.7;
  }

  /* Contact card */
  .legal-contact-card {
    margin-top: 28px;
    background: linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy) 100%);
    border-radius: 20px;
    padding: 36px 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .legal-contact-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(233, 30, 133, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .legal-contact-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
  }
  .legal-contact-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
  }
  .legal-contact-card a.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
    font-size: 14.5px;
    border-radius: 999px;
    box-shadow: 0 8px 20px -6px rgba(230, 70, 68, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 2;
    text-decoration: none;
  }
  .legal-contact-card a.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -6px rgba(230, 70, 68, 0.65);
  }

  /* ============================================================
     REVEAL
     ============================================================ */
  [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  [data-reveal].in { opacity: 1; transform: translateY(0); }

  /* ============================================================
     RESPONSIVE
     ============================================================ */
  @media (max-width: 1000px) {
    .legal-layout {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .legal-toc {
      position: static;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .legal-toc-title { grid-column: 1 / -1; }
    .legal-toc ol { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; display: grid; gap: 4px; }
    .legal-toc-back { grid-column: 1 / -1; }
  }
  @media (max-width: 700px) {
    .legal-toc { grid-template-columns: 1fr; }
    .legal-toc ol { grid-template-columns: 1fr; }
    .legal-dl-row { grid-template-columns: 1fr; }
    .legal-dl-term { border-right: none; border-bottom: 1px solid var(--border); }
    .legal-contact-card { padding: 28px 24px; }
  }
  @media (max-width: 600px) {
    .container { padding: 0 20px; }
    .legal-hero { padding: 120px 0 56px; }
    .legal-layout { padding: 52px 0 80px; }
    .legal-section-header { gap: 12px; }
    .legal-section-num { width: 34px; height: 34px; font-size: 13px; border-radius: 10px; }
    .legal-section { margin-bottom: 44px; }
    .legal-hero-meta { gap: 14px; }
  }
