@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

/* Shared public-page theme: the same paper, lilac and typography as home. */
:root {
  color-scheme: light;
  --paper: #fcfbfe;
  --ink: #262036;
  --muted: #6c647b;
  --purple: #7040d9;
  --purple-dark: #5829b7;
  --lilac: #eee6fc;
  --line: #e5deee;
  --font: 'DM Sans', sans-serif;
  --display: 'Manrope', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.8; -webkit-font-smoothing: antialiased; min-height: 100dvh; }
::selection { background: #d9c6fc; }
a { color: var(--purple); text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { color: var(--purple-dark); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 200; background: var(--paper); padding: 12px; }
.skip:focus { top: 12px; }
.nav { width: min(1200px, calc(100% - 96px)); min-height: 94px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.nav-logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -1px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav-logo img { width: 37px; height: 37px; border-radius: 11px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 24px; }
.nav-links a { font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav-links a:hover, .nav-links [aria-current] { color: var(--purple); }
.nav-links [aria-current] { text-decoration: underline; text-underline-offset: 6px; }
main { width: min(800px, calc(100% - 96px)); margin: 0 auto; padding: 72px 0 96px; }
main > h1, main > header { border-bottom: 1px solid var(--line); }
main > h1 { padding-bottom: 24px; }
main > header { padding-bottom: 32px; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); line-height: 1.2; letter-spacing: -.035em; }
h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; margin: 0 0 16px; overflow-wrap: anywhere; }
h2 { font-size: 24px; font-weight: 750; margin: 48px 0 18px; }
h3 { font-size: 18px; font-weight: 700; color: var(--purple-dark); margin: 30px 0 12px; }
p, li { font-size: 15px; color: var(--muted); }
p { margin: 0 0 18px; }
ul, ol { padding-left: 24px; margin: 0 0 20px; }
li { margin-bottom: 8px; padding-left: 3px; }
li::marker { color: var(--purple); }
strong { color: var(--ink); font-weight: 650; }
.effective-date { font-size: 12px; letter-spacing: .025em; margin: 0 0 36px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; color: var(--purple); font-size: 11px; font-weight: 700; letter-spacing: .13em; margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.intro { font-size: 20px; line-height: 1.6; color: var(--ink); max-width: 650px; }
.notice, .important-notice, .highlight-box { background: var(--lilac); border: 1px solid #dbceef; border-left: 3px solid var(--purple); border-radius: 0 12px 12px 0; padding: 22px 25px; margin: 26px 0; }
.notice, .important-notice p, .highlight-box p { color: var(--ink); }
.important-notice p:last-child, .highlight-box p:last-child { margin-bottom: 0; }
.contact { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; max-width: 100%; background: var(--purple); color: #fff; border-radius: 8px; padding: 12px 22px; font-size: 14px; font-weight: 650; text-decoration: none; margin: 4px 0 22px; transition: transform .2s; }
.contact:hover { background: var(--purple-dark); color: #fff; transform: translateY(-2px); }
.topics { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 42px; }
.topics a { font-size: 12px; font-weight: 550; text-decoration: none; border: 1px solid #d5c7e6; border-radius: 8px; padding: 8px 13px; }
.topics a:hover { background: var(--lilac); }
section { margin-top: 44px; scroll-margin-top: 28px; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 21px 0; cursor: pointer; font-size: 15px; font-weight: 650; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; list-style: none; line-height: 1.6; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--purple); font-size: 24px; font-weight: 400; flex: none; }
details[open] summary::after { content: '−'; }
summary:hover { color: var(--purple); }
details > div { padding: 0 30px 5px 0; }
.footer { border-top: 1px solid var(--line); padding: 36px 24px 28px; text-align: center; }
.footer-content { max-width: 1000px; margin: 0 auto; }
.footer-brand { display: flex; justify-content: center; align-items: center; gap: 10px; font-family: var(--display); font-size: 18px; font-weight: 800; margin-bottom: 22px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin: 0 0 22px; }
.footer a, .footer p { font-size: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--purple); text-decoration: underline; }
.footer p { margin: 8px 0; }
@media (max-width: 767px) {
  .nav { width: calc(100% - 40px); min-height: 80px; gap: 12px; }
  .nav-logo { font-size: 20px; }
  .nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
  main { width: calc(100% - 40px); padding: 40px 0 64px; }
  h1 { font-size: clamp(32px, 8.5vw, 44px); }
  h2 { font-size: 22px; margin-top: 36px; }
  .intro { font-size: 18px; }
  .notice, .important-notice, .highlight-box { padding: 18px; }
  .contact { font-size: 13px; padding-inline: 16px; }
  .topics { gap: 8px; }
  .topics a { padding: 8px 10px; }
  details > div { padding-right: 4px; }
  .footer-links { gap: 12px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
