/* ─── privacy.css ─────────────────────────────────────────────────────────────
   Privacy Policy page layout.
   All tokens, reset, nav, footer: global.css (via head.njk).
   CSS-6: :root and [data-theme="carbon"] blocks stripped.
          §A.4a applied:
            .inset-card, .contact-highlight, .notice-block → var(--border) (neutral)
            .pull-quote → var(--accent) (gold, both themes — retained)
            .ico-block → var(--border) (already neutral — unchanged)
          Bare html{}, body{}, a{} scoped to avoid global cascade collisions.
   ─────────────────────────────────────────────────────────────────────────── */

/* ── Smooth scroll ────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

/* ── Body link style — scoped to main content ─────────────────────────────── */
main a,
.section-body a,
.anchor-list a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}
main a:hover,
.section-body a:hover { text-decoration-color: var(--fg-muted); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 80px clamp(1.25rem, 4vw, 3rem) 64px;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 20px;
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-muted);
  max-width: 52ch;
  line-height: 1.7;
}

/* ── Anchor nav ───────────────────────────────────────────────────────────── */
.anchor-nav {
  padding: 0 clamp(1.25rem, 4vw, 3rem) 56px;
  max-width: 900px;
  margin: 0 auto;
  border-bottom: var(--border-weight) solid var(--border);
}

.anchor-nav-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 14px;
}

.anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  list-style: none;
}

.anchor-list li::after { content: '·'; margin: 0 12px; color: var(--border); }
.anchor-list li:last-child::after { content: ''; }

.anchor-list a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-muted);
  text-decoration: none;
}
.anchor-list a:hover {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}

/* ── Main content ─────────────────────────────────────────────────────────── */
main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.policy-section {
  display: grid;
  grid-template-columns: 20% 80%;
  gap: 0 36px;
  padding: 52px 0;
  border-top: var(--border-weight) solid var(--border);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  padding-top: 4px;
  line-height: 1.5;
}

.section-label .label-sub {
  display: block;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg-subtle);
  margin-top: 4px;
}

.section-body p {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--fg);
}
.section-body p:last-child { margin-bottom: 0; }

.section-body strong, .section-body b {
  font-family: var(--font-sans);
  font-weight: 600;
  font-style: normal;
  color: var(--fg);
}

.section-body ul { list-style: none; margin-bottom: 16px; }

.section-body ul li {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 300;
  padding: 5px 0 5px 22px;
  position: relative;
  color: var(--fg);
  line-height: 1.65;
}

.section-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border);
}

.section-body ul li strong {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--fg);
}

/* ── Data table ───────────────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; }

.data-table th {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  text-align: left;
  padding: 10px 14px 10px 0;
  border-bottom: var(--border-weight) solid var(--border);
}

.data-table td {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 300;
  padding: 13px 14px 13px 0;
  border-bottom: var(--border-weight) solid var(--border);
  vertical-align: top;
  color: var(--fg);
  line-height: 1.55;
}

.data-table td strong {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15px;
}

.data-table tr:last-child td { border-bottom: none; }
.inset-card .data-table { margin: 0; }

/* ── Inset card — neutral border (§A.4a: cards never gold) ───────────────── */
.inset-card {
  background: var(--surface);
  border-left: 2px solid var(--border);
  border-radius: 0 4px 4px 0;
  padding: 28px 32px;
  margin: 24px 0;
  transition: background var(--theme-transition), border-color var(--theme-transition);
}

.inset-card p {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: var(--fg-muted);
  margin-bottom: 0;
  line-height: 1.65;
}
.inset-card p + p { margin-top: 12px; }

.inset-card p strong {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
}

.inset-card a { font-style: normal; }
.contact-card p { font-style: normal; }

/* ── Rights grid ──────────────────────────────────────────────────────────── */
.rights-grid {
  background: var(--surface);
  border-radius: 4px;
  padding: 28px 32px;
  margin: 24px 0;
  transition: background var(--theme-transition);
}

.rights-grid .right-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 24px;
  padding: 14px 0;
  border-bottom: var(--border-weight) solid var(--border);
}

.rights-grid .right-item:last-child { border-bottom: none; padding-bottom: 0; }
.rights-grid .right-item:first-child { padding-top: 0; }

.right-name {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--fg);
  font-size: 14px;
}

.right-art {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--fg-subtle);
  font-weight: 300;
  display: block;
  margin-top: 2px;
}

.right-desc {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.55;
}

.right-action {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
}

.right-action a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}
.right-action a:hover { text-decoration-color: var(--fg-muted); }

/* ── Arch steps ───────────────────────────────────────────────────────────── */
.arch-steps {
  counter-reset: step;
  list-style: none;
  margin: 20px 0;
}

.arch-steps li {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 300;
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 40px;
  border-left: 2px solid var(--border);
  margin-left: 12px;
  color: var(--fg);
  line-height: 1.65;
}

.arch-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }

.arch-steps li::before {
  content: counter(step);
  position: absolute;
  left: -13px;
  top: 2px;
  width: 24px;
  height: 24px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--theme-transition);
}

/* ── Pull quote — gold border both themes (§A.4a: quotes are permitted) ───── */
.pull-quote {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  color: var(--fg-muted);
  border-left: 2px solid var(--accent);
  padding: 14px 22px;
  margin: 28px 0;
  line-height: 1.65;
  transition: border-color var(--theme-transition);
}

/* ── Contact highlight — neutral border (§A.4a) ──────────────────────────── */
.contact-highlight {
  margin-top: 20px;
  padding: 20px 24px;
  background: var(--surface);
  border-radius: 4px;
  border-left: 2px solid var(--border);
  transition: background var(--theme-transition), border-color var(--theme-transition);
}

.contact-highlight p { margin-bottom: 0; font-size: 16px; }

/* ── ICO block — neutral border (already was, unchanged) ─────────────────── */
.ico-block {
  margin-top: 20px;
  padding: 20px 24px;
  background: var(--surface);
  border-radius: 4px;
  border-left: 2px solid var(--border);
  transition: background var(--theme-transition);
}

.ico-block p {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 8px;
  line-height: 1.6;
}
.ico-block p:last-child { margin-bottom: 0; }
.ico-block strong {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--fg);
}

/* ── Notice block — neutral border (§A.4a) ───────────────────────────────── */
.notice-block {
  margin: 20px 0;
  padding: 14px 20px;
  background: var(--surface);
  border-radius: 4px;
  border-left: 2px solid var(--border);
  transition: background var(--theme-transition);
}

.notice-block p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--fg-muted);
  margin-bottom: 0;
  line-height: 1.55;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .policy-section { grid-template-columns: 24% 76%; gap: 0 28px; }
  .rights-grid .right-item { grid-template-columns: 160px 1fr; }
}

@media (max-width: 720px) {
  .hero { padding: 48px clamp(1.25rem, 4vw, 2rem) 40px; }
  .anchor-nav { padding: 0 clamp(1.25rem, 4vw, 2rem) 40px; }
  main { padding: 0 clamp(1.25rem, 4vw, 2rem); }

  .policy-section {
    grid-template-columns: 1fr;
    gap: 16px 0;
    padding: 40px 0;
  }

  .rights-grid .right-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .inset-card, .rights-grid { padding: 20px 16px; }
  .data-table { font-size: 14px; }
  .data-table th, .data-table td { padding: 10px 8px 10px 0; }
}
