:root {
  --ink: #2d2133;
  --ink-soft: #675a6b;
  --paper: #fbf9f7;
  --paper-deep: #f1ebef;
  --aubergine: #34243b;
  --plum: #6c416d;
  --magenta: #a5356a;
  --rose: #c02d4d;
  --line: #ded4dd;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(52, 36, 59, 0.09);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 8%, rgba(165, 53, 106, 0.08), transparent 24rem),
    linear-gradient(180deg, #fdfbf9 0%, var(--paper) 68%, #f3edf1 100%);
  color: var(--ink);
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

a { color: var(--magenta); text-underline-offset: 0.18em; }
a:hover { color: var(--rose); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--aubergine);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header,
.site-footer {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(52, 36, 59, 0.12);
}

.brand { width: 174px; display: block; line-height: 0; }
.brand img { display: block; width: 100%; height: auto; }

.header-label {
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-link { text-decoration: none; }

.hub-main,
.policy-shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.hub-main { min-height: calc(100vh - 220px); padding: 110px 0 120px; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--magenta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, strong { color: var(--aubergine); }

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 6vw, 4.7rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.document-list { max-width: 760px; margin-top: 64px; }

.document-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 45px rgba(52, 36, 59, 0.06);
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.document-card:hover {
  border-color: rgba(165, 53, 106, 0.5);
  box-shadow: var(--shadow);
  color: inherit;
  transform: translateY(-2px);
}

.document-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--paper-deep);
  color: var(--magenta);
}

.document-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.document-copy { display: grid; gap: 2px; }
.document-copy strong { font-size: 1.08rem; }
.document-copy span { color: var(--ink-soft); font-size: 0.94rem; }
.document-arrow { color: var(--magenta); font-size: 1.5rem; }

.policy-heading { padding: 70px 0 54px; }
.policy-heading h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 50px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.breadcrumb a { color: inherit; }

.updated {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: space-between;
  gap: 70px;
  align-items: start;
  padding: 16px 0 110px;
}

.desktop-toc {
  position: sticky;
  top: 28px;
  padding-top: 10px;
}

.desktop-toc p {
  margin: 0 0 12px;
  color: var(--aubergine);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-toc nav { display: grid; }

.desktop-toc a {
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.35;
  text-decoration: none;
}

.desktop-toc a:hover { color: var(--magenta); }

.mobile-toc { display: none; }

.policy-content {
  border: 1px solid rgba(52, 36, 59, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  padding: clamp(28px, 6vw, 68px);
}

.policy-content section {
  scroll-margin-top: 24px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.policy-content section:first-of-type { border-top: 0; }

.policy-content h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
}

.policy-content p { margin: 0 0 16px; }
.policy-content p:last-child { margin-bottom: 0; }

.policy-content ul {
  margin: 16px 0;
  padding-left: 1.35rem;
}

.policy-content li { margin: 8px 0; padding-left: 4px; }
.policy-content li::marker { color: var(--magenta); }

.summary-card {
  margin-bottom: 18px;
  padding: 22px 24px;
  border-left: 4px solid var(--magenta);
  border-radius: 4px 14px 14px 4px;
  background: var(--paper-deep);
}

.summary-card strong { display: block; margin-bottom: 5px; }
.summary-card p { color: var(--ink-soft); }

.contact-section {
  margin-top: 8px;
  padding: 32px !important;
  border: 0 !important;
  border-radius: 16px;
  background: var(--aubergine);
  color: rgba(255, 255, 255, 0.86);
}

.contact-section h2 { color: var(--white); }
.contact-link { color: #f0bfd5; font-weight: 700; overflow-wrap: anywhere; }
.contact-link:hover { color: var(--white); }

.reference-note {
  margin-top: 34px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.site-footer {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(52, 36, 59, 0.12);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.site-footer a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible { outline: 3px solid rgba(165, 53, 106, 0.45); outline-offset: 3px; }

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .hub-main,
  .policy-shell { width: min(100% - 32px, 720px); }

  .site-header { min-height: 88px; }
  .brand { width: 146px; }
  .hub-main { padding: 76px 0 90px; }
  .policy-heading { padding: 42px 0 36px; }
  .breadcrumb { margin-bottom: 36px; }

  .policy-layout { display: block; padding: 22px 0 80px; }
  .desktop-toc { display: none; }

  .mobile-toc {
    display: block;
    margin-bottom: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
  }

  .mobile-toc summary {
    cursor: pointer;
    padding: 16px 18px;
    color: var(--aubergine);
    font-weight: 700;
  }

  .mobile-toc nav { display: grid; padding: 0 18px 16px; }
  .mobile-toc a { padding: 6px 0; color: var(--ink-soft); font-size: 0.92rem; text-decoration: none; }
  .policy-content { border-radius: 18px; }
}

@media (max-width: 520px) {
  body { line-height: 1.65; }
  .header-label { font-size: 0.72rem; }
  .brand { width: 132px; }
  .document-card { grid-template-columns: auto 1fr; padding: 18px; }
  .document-arrow { display: none; }
  .document-icon { width: 44px; height: 44px; }
  .site-footer { min-height: 130px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 4px; }
  .contact-section { padding: 24px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
