/* Hero */
  .doc-hero {
    background: linear-gradient(180deg, #FFF4EC 0%, #FFEAE0 100%);
    padding: 72px 0; border-bottom: 1px solid var(--line);
    position: relative; overflow: hidden;
  }
  .doc-hero::before {
    content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(31,158,149,0.1), transparent 70%);
    top: -400px; left: -200px; pointer-events: none;
  }
  .doc-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
  .doc-hero .crumb {
    font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--teal-600); margin-bottom: 18px;
  }
  .doc-hero h1 { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 16px; }
  .doc-hero h1 em { font-style: normal; color: var(--orange-500); }
  .doc-hero .lede { font-family: "Inter Tight", sans-serif; font-size: 18px; color: var(--ink-2); line-height: 1.5; max-width: 520px; margin-bottom: 20px; }
  .doc-hero .meta {
    display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
    font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em;
  }
  .doc-hero .meta .tag {
    padding: 4px 10px; border-radius: 99px;
    background: rgba(31,158,149,0.1); color: var(--teal-600);
    letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  }
  /* Privacy animation */
  .privacy-visual {
    position: relative; justify-self: center;
    width: 320px; height: 260px;
  }
  .privacy-visual svg { width: 100%; height: 100%; overflow: visible; }
  .flow-dot { animation: flowDot 2.5s linear infinite; }
  .flow-dot.d2 { animation-delay: -0.83s; }
  .flow-dot.d3 { animation-delay: -1.66s; }
  @keyframes flowDot {
    0%   { offset-distance: 0%;   opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
  }

  /* Doc layout */
  html { scroll-behavior: smooth; scroll-padding-top: 100px; }
  .doc-wrap {
    display: grid; grid-template-columns: 240px 1fr; gap: 64px;
    padding: 72px 0 120px; align-items: start;
  }
  .toc {
    position: sticky; top: 88px; font-size: 13px;
    max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 8px;
  }
  .toc-title {
    font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .toc ol { list-style: none; counter-reset: toc; }
  .toc li { counter-increment: toc; margin-bottom: 2px; }
  .toc a {
    display: block; padding: 7px 12px; color: var(--ink-3);
    border-left: 2px solid transparent; font-size: 13px; line-height: 1.4;
    transition: all 0.15s; text-decoration: none;
  }
  .toc a::before {
    content: counter(toc, decimal-leading-zero);
    font-family: "JetBrains Mono", monospace; font-size: 10px;
    color: var(--ink-3); margin-right: 10px; opacity: 0.6;
  }
  .toc a:hover { color: var(--ink); border-left-color: var(--line); background: rgba(0,0,0,0.02); }
  .toc a.active { color: var(--teal-600); border-left-color: var(--teal-600); font-weight: 600; }
  .toc a.active::before { color: var(--teal-600); opacity: 1; }

  /* Content */
  .content { max-width: 760px; }
  .content h2 {
    font-size: 26px; font-weight: 700; letter-spacing: -0.025em; margin: 56px 0 16px; padding-top: 20px;
    border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 14px;
    scroll-margin-top: 100px;
  }
  .content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
  .content h2 .num { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--teal-600); font-weight: 500; letter-spacing: 0.04em; }
  .content h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; margin: 28px 0 10px; color: var(--ink); }
  .content h4 { font-size: 15px; font-weight: 600; margin: 20px 0 8px; color: var(--ink-2); }
  .content p { font-size: 15px; color: var(--ink-2); line-height: 1.7; margin-bottom: 16px; }
  .content ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
  .content ul li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; color: var(--ink-2); line-height: 1.6;
    padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  }
  .content ul li::before {
    content: "→"; font-family: "JetBrains Mono", monospace;
    font-size: 11px; color: var(--teal-600); flex: 0 0 auto; margin-top: 3px;
  }
  .content a { color: var(--teal-600); font-weight: 500; }

  /* Do/Dont cards */
  .dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 24px; }
  .dodont-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
  .dodont-card.dont { border-color: rgba(240,122,58,0.25); background: linear-gradient(180deg, #FFF8F2, #FFFFFF); }
  .dodont-card .tag {
    font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--teal-600); font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  }
  .dodont-card.dont .tag { color: var(--orange-500); }
  .dodont-card .tag-ic {
    width: 20px; height: 20px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(31,158,149,0.12); color: var(--teal-600);
  }
  .dodont-card.dont .tag-ic { background: rgba(240,122,58,0.15); color: var(--orange-500); }
  .dodont-card h4 { font-size: 15px; font-weight: 600; margin: 0 0 12px; letter-spacing: -0.01em; color: var(--ink); }
  .dodont-card ul { margin: 0; gap: 6px; }
  .dodont-card ul li { font-size: 13px; padding: 6px 10px; }
  .dodont-card ul li::before { font-size: 10px; }
  .dodont-card.dont ul li::before { color: var(--orange-500); }

  /* Callout boxes */
  .callout {
    margin: 24px 0; padding: 22px 26px; border-radius: 16px;
    background: #fff; border: 1px solid var(--line);
    display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  }
  .callout.accent { background: linear-gradient(135deg, #E8F4F3 0%, #D7ECEA 100%); border-color: rgba(31,158,149,0.25); }
  .callout .ic {
    width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
    background: rgba(31,158,149,0.18); color: var(--teal-600);
    display: inline-flex; align-items: center; justify-content: center;
  }
  .callout .label {
    font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--teal-600); font-weight: 600; margin-bottom: 4px;
  }
  .callout h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
  .callout p { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 0; }
  .callout p a { color: var(--teal-600); font-weight: 500; }

  /* Legal basis grid */
  .legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }
  .legal-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
  .legal-card .k {
    font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--orange-500); margin-bottom: 6px; font-weight: 600;
  }
  .legal-card .n { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 4px; }
  .legal-card .d { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

  /* Contact card */
  .contact-card {
    margin: 24px 0; padding: 28px 32px;
    background: var(--ink); color: #fff; border-radius: 18px;
    display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
  }
  .contact-card .ic {
    width: 48px; height: 48px; border-radius: 12px; flex: 0 0 auto;
    background: rgba(255,255,255,0.1); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .contact-card .label {
    font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 600; margin-bottom: 4px;
  }
  .contact-card h4 { font-size: 20px; font-weight: 700; letter-spacing: -0.025em; color: #fff; margin-bottom: 6px; }
  .contact-card p { font-size: 14px; color: rgba(255,255,255,0.65); margin-bottom: 4px; line-height: 1.5; }
  .contact-card p:last-child { margin-bottom: 0; }
  .contact-card a { color: var(--teal-400); font-weight: 500; }

  @media (max-width: 1024px) {
    .dodont { grid-template-columns: 1fr; }
    .legal-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 1024px) {
    .doc-hero-inner { grid-template-columns: 1fr; }
    .privacy-visual { display: none; }
    .doc-wrap { grid-template-columns: 1fr; }
    .toc { position: static; max-height: none; }
  }
  @media (max-width: 720px) {
    .doc-hero h1 { font-size: 40px; }
  }
