:root {
      --canvas: #ffffff;
      --linen: #f4f5f6;
      --stone: #6b7280;
      --stone-light: #d1d5db;
      --text: #111315;
      --text-muted: #4a5160;
      --border: rgba(0,0,0,0.08);
      --accent: #5a6f94;
    }

    /* DARK MODE — system preference */
    @media (prefers-color-scheme: dark) {
      html:not(.light) {
        color-scheme: dark;
        --canvas: #111315;
        --linen: #1c1f23;
        --stone: #8d96a3;
        --stone-light: #2a2f36;
        --text: #e8eaec;
        --text-muted: #8d96a3;
        --border: rgba(255,255,255,0.07);
        --accent: #8fa8c8;
      }
    }

    /* DARK MODE — explicit override via toggle */
    html.dark {
      color-scheme: dark;
      --canvas: #111315;
      --linen: #1c1f23;
      --stone: #8d96a3;
      --stone-light: #2a2f36;
      --text: #e8eaec;
      --text-muted: #8d96a3;
      --border: rgba(255,255,255,0.07);
      --accent: #8fa8c8;
    }

    html.dark body { background-color: #111315; color: #e8eaec; }
    html.dark nav { background-color: #111315; border-bottom-color: rgba(255,255,255,0.07); }

    @media (prefers-color-scheme: dark) {
      html:not(.light) body { background-color: #111315; color: #e8eaec; }
      html:not(.light) nav { background-color: #111315; border-bottom-color: rgba(255,255,255,0.07); }
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      background: var(--canvas);
      color: var(--text);
      font-family: 'Inter', sans-serif;
      font-weight: 400;
      font-size: 17px;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
      transition: background-color 0.25s, color 0.25s;
    }

    nav {
      border-bottom: 1px solid var(--border);
      padding: 0 3rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
      background: var(--canvas);
    }

    .nav-brand {
      font-family: 'Libre Baskerville', serif;
      font-weight: 400;
      font-size: 19px;
      color: var(--text);
      text-decoration: none;
    }

    .nav-back {
      font-size: 13px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.2s;
    }

    .nav-back:hover { color: var(--text); }

    /* THEME TOGGLE */
    .theme-toggle {
      background: none;
      border: 1px solid var(--stone-light);
      border-radius: 50%;
      width: 32px;
      height: 32px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      color: var(--stone);
      transition: color 0.2s, border-color 0.2s;
      padding: 0;
      flex-shrink: 0;
      line-height: 1;
    }

    .theme-toggle:hover {
      color: var(--text);
      border-color: var(--stone);
    }

    main {
      max-width: 660px;
      margin: 0 auto;
      padding: 3rem 3rem 4rem;
    }

    h1 {
      font-family: 'Libre Baskerville', serif;
      font-weight: 400;
      font-size: 36px;
      line-height: 1.2;
      margin-bottom: 2.5rem;
      color: var(--text);
    }

    .policy-section {
      margin-bottom: 1.25rem;
      padding-bottom: 1.25rem;
      border-bottom: 1px solid var(--border);
    }

    .policy-section:last-of-type {
      border-bottom: none;
      margin-bottom: 0;
    }

    h2 {
      font-family: 'Libre Baskerville', serif;
      font-weight: 400;
      font-size: 20px;
      margin-bottom: 0.5rem;
      color: var(--text);
      line-height: 1.3;
    }

    h3 {
      font-size: 13px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-family: 'Inter', sans-serif;
      font-weight: 500;
      color: var(--stone);
      margin: 1rem 0 0.25rem;
    }

    h3:first-child { margin-top: 0.1rem; }

    p {
      font-size: 17px;
      color: var(--text);
      margin-bottom: 0.5rem;
      line-height: 1.65;
    }

    p:last-child { margin-bottom: 0; }

    ul.policy-list {
      list-style: none;
      margin: 0.4rem 0 0.5rem;
    }

    ul.policy-list li {
      font-size: 17px;
      color: var(--text-muted);
      padding: 0.2rem 0 0.2rem 1.4rem;
      position: relative;
      line-height: 1.6;
    }

    ul.policy-list li::before {
      content: '·';
      position: absolute;
      left: 0;
      color: var(--stone);
    }

    .footer-note {
      margin-top: 2rem;
      padding-top: 1.25rem;
      border-top: 1px solid var(--border);
      font-size: 13px;
      color: var(--text-muted);
      text-align: center;
      opacity: 0.85;
    }

    .footer-note a {
      color: var(--text-muted);
      text-decoration: none;
      border-bottom: 1px solid var(--stone-light);
    }

    .footer-note a:hover { color: var(--text); }

    @media (max-width: 680px) {
      main { padding: 2rem 1.25rem 3rem; }
      nav { padding: 0 1.25rem; }
      h1 { font-size: 28px; }
      h2 { font-size: 18px; }
      body { font-size: 16px; }
      p { font-size: 16px; }
      ul.policy-list li { font-size: 16px; }
    }

    a:focus, button:focus { outline: 2px solid #5a6f94; outline-offset: 3px; }
    a:focus:not(:focus-visible) { outline: none; }