/* DIZZY's shared palette; all assets and type stay on this origin. */
:root {
  color-scheme: light;
  --cream: #f8f7f2;
  --paper: #fff;
  --ink: #25251f;
  --muted: #606059;
  --line: #e8e7e0;
  --yellow: #f8d84b;
  --lavender: #cfc3f4;
  --mint: #d9e9bd;
  --blue: #bbdcef;
  --radius: 24px;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 100%;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

::selection {
  color: var(--ink);
  background: var(--yellow);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px;
  border-radius: 3px;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-shell {
  width: min(1100px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-160%);
}

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

header.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 116px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.brand img {
  width: 132px;
  height: auto;
}

.brand a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.edition {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.hero {
  max-width: 850px;
  padding-block: 66px 40px;
}

.eyebrow {
  margin: 0 0 15px;
  font-size: 0.8125rem;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul,
ol,
address {
  margin-top: 0;
}

h1 {
  margin-bottom: 23px;
  font-size: clamp(2.625rem, 7.4vw, 5.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.lede {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.6;
}

.updated {
  margin-top: 20px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.multiline {
  white-space: pre-line;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 64px;
}

.summary-card {
  min-width: 0;
  padding: 25px;
  border-radius: var(--radius);
  background: var(--yellow);
}

.summary-card:nth-child(2) {
  background: var(--lavender);
}

.summary-card:nth-child(3) {
  background: var(--mint);
}

.summary-card h2,
.summary-card h3 {
  margin-bottom: 9px;
  font-size: 1.1875rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.summary-card p {
  margin-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.summary-card .card-number {
  display: block;
  margin-bottom: 25px;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.document-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: 64px;
  padding-bottom: 72px;
}

.document-layout > main {
  min-width: 0;
}

.document-layout > aside {
  position: sticky;
  top: 28px;
}

.toc {
  min-width: 0;
  padding-top: 5px;
}

.toc h2,
.toc .toc-title {
  margin-bottom: 13px;
  font-size: 0.8125rem;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ul,
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc li + li {
  margin-top: 2px;
}

.toc a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
  text-decoration: none;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.privacy-document {
  min-width: 0;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.privacy-document section {
  scroll-margin-top: 28px;
}

.privacy-document section + section {
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.privacy-document h2 {
  margin-bottom: 17px;
  font-size: clamp(1.4375rem, 2.6vw, 1.75rem);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.privacy-document h3 {
  margin-top: 25px;
  margin-bottom: 9px;
  font-size: 1.0625rem;
  font-weight: 750;
  line-height: 1.45;
  letter-spacing: -0.012em;
}

.privacy-document p,
.privacy-document ul,
.privacy-document ol,
.privacy-document address {
  margin-bottom: 17px;
}

.privacy-document section > :last-child,
.notice > :last-child {
  margin-bottom: 0;
}

.privacy-document ul,
.privacy-document ol {
  padding-left: 1.35em;
}

.privacy-document li {
  padding-left: 0.2em;
}

.privacy-document li + li {
  margin-top: 9px;
}

.privacy-document address {
  padding: 23px 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  font-style: normal;
}

.privacy-document strong {
  font-weight: 700;
}

.notice {
  margin-block: 23px;
  padding: 22px 25px;
  border-radius: 18px;
  background: var(--blue);
}

.notice h2,
.notice h3 {
  margin-top: 0;
}

.site-footer,
body > footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-block: 26px 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.site-footer p,
body > footer p {
  margin-bottom: 0;
}

@media (min-width: 1400px) {
  .hero {
    padding-top: 80px;
  }
}

@media (max-width: 850px) {
  .document-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .document-layout > aside {
    position: static;
  }

  .toc {
    padding: 23px 25px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .toc ul,
  .toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
  }

  .toc li + li {
    margin-top: 0;
  }

  .summary-grid {
    gap: 12px;
    margin-bottom: 36px;
  }

  .summary-card {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .page-shell {
    width: calc(100% - 40px);
  }

  header.brand {
    min-height: 94px;
    padding-block: 20px;
  }

  .brand img {
    width: 112px;
  }

  .edition {
    max-width: 165px;
    padding: 6px 11px;
    font-size: 0.75rem;
  }

  .hero {
    padding-block: 43px 29px;
  }

  h1 {
    margin-bottom: 20px;
  }

  .summary-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .summary-card {
    padding: 22px;
    border-radius: 20px;
  }

  .summary-card .card-number {
    margin-bottom: 14px;
  }

  .toc {
    padding: 21px;
    border-radius: 20px;
  }

  .toc ul,
  .toc ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .document-layout {
    gap: 32px;
    padding-bottom: 48px;
  }

  .privacy-document section + section {
    margin-top: 30px;
    padding-top: 27px;
  }

  .privacy-document address,
  .notice {
    padding: 20px;
  }

  .site-footer,
  body > footer {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 28px;
  }
}

@media (forced-colors: active) {
  .summary-card,
  .notice,
  .edition {
    border: 1px solid CanvasText;
  }
}

@media print {
  :root {
    font-size: 10pt;
    color: #000;
    background: #fff;
  }

  .page-shell {
    width: 100%;
    max-width: none;
  }

  .skip-link,
  .toc,
  .summary-grid {
    display: none;
  }

  header.brand {
    min-height: 0;
    padding-block: 0 18px;
  }

  .hero {
    max-width: none;
    padding-block: 24px;
  }

  h1 {
    font-size: 32pt;
  }

  .lede {
    max-width: none;
    font-size: 11pt;
  }

  .document-layout {
    display: block;
    padding-bottom: 24px;
  }

  .privacy-document h2,
  .privacy-document h3 {
    break-after: avoid;
  }

  .privacy-document section + section {
    margin-top: 20px;
    padding-top: 20px;
  }

  .privacy-document address,
  .notice {
    break-inside: avoid;
    padding: 12px;
    border: 1px solid #aaa;
    border-radius: 0;
    background: transparent;
  }

  p,
  li {
    orphans: 3;
    widows: 3;
  }

  .site-footer,
  body > footer {
    display: block;
    padding-block: 15px 0;
  }
}
