:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brand-silver);
  background: var(--brand-background);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { max-width: 1120px; margin: 0 auto; padding: 0 40px; font-size: 16px; line-height: 1.75; }
a { color: var(--brand-gold); text-underline-offset: 4px; }
a:hover { color: var(--brand-gold-bright); }
:focus-visible { outline: 2px solid var(--brand-gold-bright); outline-offset: 5px; }
.skip-link { position: absolute; top: 8px; left: 16px; padding: 10px 16px; background: var(--brand-input); transform: translateY(-160%); z-index: 1; }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--brand-border); }
.brand { display: inline-block; }
.brand img { display: block; width: 230px; max-width: 100%; height: auto; }
.site-nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-nav, .eyebrow, .updated, .section-number, .site-footer { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.site-nav { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.site-nav a, .site-footer a { text-decoration: none; }
.site-nav a:hover, .site-footer a:hover { text-decoration: underline; }
.policy-heading { padding: 56px 0 40px; border-bottom: 1px solid var(--brand-border); }
.eyebrow { margin: 0 0 16px; color: var(--brand-muted); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
h1 { margin: 0; color: var(--brand-white); font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.15; }
.intro { margin: 18px 0; color: var(--brand-silver); font-size: 1.1rem; }
.updated { margin: 24px 0 0; font-size: 0.72rem; color: var(--brand-muted); }
.updated time { margin-left: 12px; color: var(--brand-gold); }
.document-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 24px 0; }
.document-links a { font-size: 0.9rem; }
.document-heading { margin-bottom: 28px; }
.document-heading h2 { font-size: 1.85rem; letter-spacing: -0.02em; }
.terms-document { margin-top: 64px; padding-top: 36px; border-top: 2px solid var(--brand-border-accent); }
.policy-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 40px 0 64px; }
.topic-nav { position: sticky; top: 28px; align-self: start; max-height: calc(100dvh - 56px); overflow-y: auto; padding-right: 8px; }
.topic-title { display: block; margin: 18px 0 12px; color: var(--brand-gold-bright); font-size: 0.85rem; font-weight: 600; }
.topic-nav ol { list-style: none; counter-reset: topic; padding: 0; margin: 0; }
.topic-nav li { counter-increment: topic; margin: 0 0 10px; font-size: 0.8rem; line-height: 1.5; }
.topic-nav a { display: flex; gap: 10px; color: var(--brand-muted); text-decoration: none; }
.topic-nav ol a::before { content: counter(topic, decimal-leading-zero); color: var(--brand-gold); font-size: 0.7rem; padding-top: 2px; }
.topic-nav a:hover { color: var(--brand-gold-bright); text-decoration: underline; }
.topic-nav .topic-title { color: var(--brand-gold-bright); }
.terms-topics { list-style: none; margin: 0; padding: 0; }
.terms-topics a::before { content: none; }
.policy-content { min-width: 0; }
.policy-content section { padding: 30px 0; border-top: 1px solid var(--brand-border); }
.policy-content section:first-child { padding-top: 0; border-top: 0; }
h2, h3 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; color: var(--brand-gold-bright); font-size: 1.3rem; font-weight: 600; line-height: 1.4; }
.section-number { flex-shrink: 0; color: var(--brand-gold); font-size: 0.72rem; font-weight: 400; }
.policy-content p { margin: 0 0 16px; }
.policy-content p:last-child { margin-bottom: 0; }
.policy-content ul { padding-left: 22px; }
.policy-content li { padding-left: 4px; margin: 6px 0; }
.policy-content strong { color: var(--brand-white); font-weight: 600; }
.data-list { margin: 0; }
.data-list div { padding: 16px 0; border-bottom: 1px solid var(--brand-border); }
.data-list div:first-child { padding-top: 0; }
.data-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.data-list dt { color: var(--brand-white); font-weight: 600; margin-bottom: 5px; }
.data-list dd { margin: 0; }
.policy-content .contact-section { margin-top: 12px; padding: 28px; border: 1px solid var(--brand-border-accent); background: var(--brand-input); }
.contact-link { display: inline-block; max-width: 100%; margin: 4px 0 16px; overflow-wrap: anywhere; font-size: clamp(1rem, 3vw, 1.45rem); }
.contact-note { color: var(--brand-muted); font-size: 0.85rem; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0 40px; border-top: 1px solid var(--brand-border); color: var(--brand-muted); font-size: 0.7rem; letter-spacing: 0.04em; }

@media (max-width: 760px) {
  body { padding: 0 20px; }
  .site-header { align-items: start; flex-direction: column; gap: 20px; padding: 24px 0; }
  .brand img { width: 210px; }
  .policy-heading { padding: 36px 0 28px; }
  .policy-layout { display: block; padding-top: 28px; }
  .topic-nav { position: static; max-height: none; overflow: visible; margin-bottom: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--brand-border); }
  .topic-nav ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .terms-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .policy-content .contact-section { padding: 20px; }
  .site-footer { flex-direction: column; gap: 16px; }
}

@media (max-width: 360px) {
  .topic-nav ol, .terms-topics { grid-template-columns: 1fr; }
}

@media print {
  :root { color-scheme: light; color: #111; background: #fff; }
  body { max-width: none; padding: 0; font-size: 11pt; }
  .site-header, .topic-nav, .site-footer, .skip-link, .section-number { display: none; }
  .policy-heading { padding: 0 0 20px; }
  .policy-layout { display: block; padding: 20px 0 0; }
  h1, h2, h3, a, .policy-content strong, .data-list dt { color: #111; }
  .intro, .eyebrow, .updated, .updated time, .contact-note { color: #444; }
  h2, h3 { break-after: avoid; }
  .policy-content .contact-section { background: none; border-color: #999; }
}
