@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 600;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --ivory: #f3f0e8;
  --paper: #fffdfc;
  --navy: #0a132b;
  --ink: #172033;
  --secondary: #5a5445;
  --bronze: #a86f16;
  --bronze-text: #684006;
  --line: #9c9179;
  --warm-line: #ddd6c6;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-synthesis: none;
}

html {
  min-width: 320px;
  background: var(--ivory);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 16px/1.7 "IBM Plex Sans", Arial, sans-serif;
}

a,
button { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid #285d86;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  min-height: 44px;
  transform: translateY(-180%);
  padding: 11px 15px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  display: inline-flex;
  align-items: center;
  transform: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 98px;
  padding: 21px clamp(22px, 5vw, 76px);
  border-bottom: 1px solid #1d2a45;
  background: var(--navy);
  color: var(--paper);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.brand > svg { width: 44px; height: 44px; }
.brand-copy { display: grid; gap: 5px; }
.wordmark { font: 500 29px/1 Archivo, sans-serif; letter-spacing: -0.02em; }
.wordmark b { font-weight: 600; }
.wordmark i { color: #c89a3e; font-style: normal; font-weight: 500; }
.wordmark em { color: #d7dbe3; font-style: normal; font-weight: 500; }
.baseline {
  color: #c89a3e;
  font: 500 12px/1.35 "IBM Plex Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--paper);
  font-weight: 500;
  text-decoration: none;
}
.site-header nav > a:hover {
  text-decoration: underline;
  text-decoration-color: #c89a3e;
  text-underline-offset: 6px;
}

.language {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #c9cdd6;
  font: 500 14px/1 "IBM Plex Mono", monospace;
}

.language button {
  min-width: 44px;
  min-height: 44px;
  padding: 7px 4px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.language button.is-active {
  color: #c89a3e;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

main {
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 92px) 0 clamp(84px, 10vw, 140px);
}

.privacy-document { display: grid; gap: 0; }
.document-heading { max-width: 880px; padding-bottom: 46px; }
.eyebrow,
.section-number {
  margin: 0;
  color: var(--bronze-text);
  font: 500 12px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: 0.13em;
}
.document-heading h1 {
  margin: 18px 0 22px;
  font: 600 clamp(42px, 6vw, 70px)/1.03 Archivo, sans-serif;
  letter-spacing: -0.04em;
}
.lead {
  max-width: 760px;
  margin: 0;
  color: var(--secondary);
  font-size: 19px;
  line-height: 1.65;
}
.version {
  margin: 22px 0 0;
  color: var(--bronze-text);
  font: 500 13px/1.5 "IBM Plex Mono", monospace;
}

.document-toc {
  max-width: 62ch;
  margin: 0 0 34px;
  padding: 18px 22px;
  border: 1px solid var(--warm-line);
  background: var(--paper);
}
.document-toc .toc-title {
  margin: 0 0 10px;
  color: var(--bronze-text);
  font: 500 12px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.document-toc ol { margin: 0; padding-left: 20px; }
.document-toc li { margin: 0 0 6px; }
.document-toc a { color: var(--ink); font-weight: 500; text-decoration-color: var(--bronze); text-underline-offset: 3px; }

.essential {
  margin: 0 0 50px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--bronze);
  background: var(--paper);
}
.essential h2 { margin-top: 0; }
.essential p { margin-bottom: 0; font-size: 18px; }

.privacy-document > section {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  column-gap: 30px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.privacy-document > section > :not(.section-number) { grid-column: 2; }
.privacy-document > section > .section-number { grid-column: 1; grid-row: 1 / span 20; padding-top: 8px; }

h2,
h3 { font-family: Archivo, sans-serif; font-weight: 600; }
h2 {
  margin: 0 0 18px;
  font-size: 29px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
h3 { margin: 0 0 9px; font-size: 18px; line-height: 1.3; }
p { max-width: 62ch; margin: 0 0 17px; }
strong { font-weight: 600; }
ul { max-width: 62ch; margin: 0 0 17px; padding-left: 23px; }
li { margin: 0 0 11px; padding-left: 5px; }
.privacy-document section a,
.an-action-link {
  color: var(--bronze-text);
  font-weight: 600;
  border-radius: 0;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.an-action-tertiary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  border: 1px solid var(--warm-line);
  border-radius: 0;
  color: var(--paper);
  font-weight: 500;
  text-decoration: none;
}
.an-action-primary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  border-radius: 0;
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #c89a3e;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 900px;
  margin: 4px 0 24px;
  border: 1px solid var(--warm-line);
  background: var(--warm-line);
}
.data-grid article { padding: 24px; background: var(--paper); }
.data-grid p { margin: 0; color: var(--secondary); }

.provider-links { display: flex; flex-wrap: wrap; gap: 13px 28px; margin-top: 22px; }
.contact-address {
  display: inline-flex;
  max-width: 100%;
  margin-top: 7px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  user-select: none;
}
.contact-address img { display: block; width: min(100%, 480px); height: auto; pointer-events: none; }
.contact-hint { margin-top: 10px; color: var(--secondary); font-size: 14px; }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 35px;
  padding: 38px clamp(22px, 5vw, 76px);
  background: var(--navy);
  color: var(--paper);
}
footer .wordmark { display: block; font-size: 22px; }
.footer-brand > span:last-child {
  display: block;
  margin-top: 7px;
  color: #c89a3e;
  font: 500 12px/1.35 "IBM Plex Mono", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
footer p { margin: 0; color: #c9cdd6; font-size: 13px; }
footer a { color: var(--paper); text-underline-offset: 3px; }
[hidden] { display: none !important; }

@media (max-width: 820px) {
  .site-header nav > a { display: none; }
  .privacy-document > section { grid-template-columns: 1fr; }
  .privacy-document > section > :not(.section-number),
  .privacy-document > section > .section-number { grid-column: 1; grid-row: auto; }
  .privacy-document > section > .section-number { margin-bottom: 12px; padding-top: 0; }
  .data-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-header { min-height: 82px; padding: 16px 20px; }
  .brand { gap: 12px; }
  .brand > svg { width: 34px; height: 34px; }
  .wordmark { font-size: 20px; }
  .baseline { display: none; }
  main { width: min(100% - 36px, 1080px); padding-top: 48px; }
  .document-heading h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  .essential { padding: 25px 22px; }
  .essential p { font-size: 16px; }
  .privacy-document > section { padding: 34px 0; }
  h2 { font-size: 25px; }
  .data-grid article { padding: 21px; }
  footer { grid-template-columns: 1fr; align-items: start; gap: 20px; }
}
