:root {
  color-scheme: light dark;
  --ink: #13201f;
  --ink-muted: #4d5d5b;
  --forest: #102d2c;
  --forest-soft: #194541;
  --teal: #217d73;
  --teal-bright: #51b7aa;
  --paper: #f4efe3;
  --paper-raised: #fffaf0;
  --warm: #e5b57b;
  --line: rgba(16, 45, 44, 0.18);
  --focus: #006dff;
  --shadow: 0 24px 64px rgba(16, 45, 44, 0.1);
  --radius-large: 2rem;
  --radius-medium: 1.25rem;
  --shell: min(74rem, calc(100% - 2rem));
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(81, 183, 170, 0.12), transparent 30rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

a:focus-visible {
  border-radius: 0.2rem;
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: #fff;
  background: #142e2d;
  border-radius: 999px;
  transform: translateY(-180%);
  transition: transform 150ms ease;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px) saturate(120%);
}

.header-inner {
  display: flex;
  width: var(--shell);
  min-height: 5.5rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-size: 1.08rem;
  font-weight: 680;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  overflow: hidden;
  place-items: center;
  color: var(--teal-bright);
  background: var(--forest);
  border-radius: 0.78rem;
  font-size: 1.35rem;
  line-height: 1;
}

.brand-mark span {
  font-weight: 800;
  transform: translateX(-0.16em);
}

.brand-mark b {
  position: absolute;
  top: 0.8rem;
  left: 1.35rem;
  color: #fff7e5;
  font-size: 0.95rem;
}

.document-nav {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.document-nav a {
  min-height: 2.75rem;
  padding: 0.58rem 0.85rem;
  color: var(--ink-muted);
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 590;
  text-decoration: none;
}

.document-nav a:hover,
.document-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(16, 45, 44, 0.08);
}

.hero {
  display: grid;
  min-height: 38rem;
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
  align-items: center;
  gap: clamp(2.5rem, 8vw, 8rem);
}

.hero-copy {
  max-width: 48rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin-top: 0;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7.4vw, 6.8rem);
  font-weight: 500;
}

.lede {
  max-width: 43rem;
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.6;
}

.privacy-seal {
  position: relative;
  width: min(25vw, 17rem);
  min-width: 13rem;
  aspect-ratio: 1;
  margin-inline: auto;
  color: #fff7e5;
  background: var(--forest);
  border-radius: 50%;
  box-shadow: 0 2rem 5rem rgba(16, 45, 44, 0.22);
}

.seal-ring {
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: inherit;
}

.seal-path {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--serif);
  font-size: 6rem;
  line-height: 1;
  transform: translate(-50%, -52%) rotate(9deg);
}

.seal-dot {
  position: absolute;
  right: 14%;
  bottom: 27%;
  width: 1.2rem;
  aspect-ratio: 1;
  background: var(--warm);
  border-radius: 50%;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.document-card {
  position: relative;
  display: flex;
  min-height: 24rem;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  overflow: hidden;
  flex-direction: column;
  color: #effbf8;
  background: var(--forest);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.document-card::after {
  position: absolute;
  right: -12%;
  bottom: -35%;
  width: 22rem;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.document-card.warm {
  color: #251d16;
  background: #e8c08c;
}

.document-card:hover {
  box-shadow: 0 30px 72px rgba(16, 45, 44, 0.18);
  transform: translateY(-0.35rem);
}

.card-number {
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  margin-bottom: auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 750;
}

.document-card h2 {
  max-width: 12ch;
  margin: 3rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 500;
}

.document-card p {
  max-width: 34rem;
  margin: 0 0 2rem;
  opacity: 0.78;
}

.card-link {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  font-weight: 720;
}

.overview {
  display: grid;
  padding-block: clamp(6rem, 11vw, 10rem);
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(2rem, 8vw, 8rem);
}

.overview h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  font-weight: 500;
}

.overview ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: privacy;
}

.overview li {
  display: grid;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 2.75rem 1fr;
  counter-increment: privacy;
  font-size: 1.05rem;
}

.overview li::before {
  color: var(--teal);
  content: "0" counter(privacy);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.language-panel {
  padding: 1.25rem;
  margin-bottom: clamp(5rem, 9vw, 8rem);
  background: rgba(255, 250, 240, 0.58);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
}

.language-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.language-label {
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
}

.language-nav a {
  display: block;
  min-height: 2.5rem;
  padding: 0.45rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 620;
  text-decoration: none;
}

.language-nav a:hover,
.language-nav a[aria-current="page"] {
  border-color: var(--line);
  background: var(--paper-raised);
}

.legal-main {
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.legal-hero {
  display: grid;
  padding-bottom: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3rem;
}

.legal-hero h1 {
  max-width: 17ch;
  font-size: clamp(3rem, 6.6vw, 6rem);
}

.legal-hero .lede {
  max-width: 52rem;
}

.date-card {
  min-width: 13rem;
  padding: 1.2rem;
  margin: 0;
  background: rgba(255, 250, 240, 0.6);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.date-card span,
.date-card strong {
  display: block;
}

.date-card span {
  margin-bottom: 0.25rem;
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 710;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.date-card strong {
  font-size: 0.95rem;
}

.legal-layout {
  display: grid;
  padding-top: clamp(3rem, 6vw, 5.5rem);
  grid-template-columns: minmax(14rem, 19rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.contents-card {
  position: sticky;
  top: 7.5rem;
}

.contents-card > ol {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.contents-card > ol a {
  display: grid;
  padding: 0.68rem 0;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 2.5rem 1fr;
  font-size: 0.83rem;
  line-height: 1.4;
  text-decoration: none;
}

.contents-card > ol a:hover {
  color: var(--ink);
}

.contents-card > ol span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 750;
}

.contents-card .language-nav {
  display: block;
}

.contents-card .language-label {
  display: block;
  margin-bottom: 0.65rem;
}

.contents-card .language-nav ul {
  gap: 0.25rem;
}

.contents-card .language-nav a {
  min-height: 2.25rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
}

.legal-copy {
  max-width: 48rem;
}

.legal-section {
  padding: 0 0 clamp(3.5rem, 7vw, 6rem);
}

.legal-section h2 {
  display: grid;
  margin-bottom: 1.75rem;
  grid-template-columns: 3rem 1fr;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
}

.legal-section h2 span {
  padding-top: 0.42em;
  color: var(--teal);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.legal-section p,
.legal-section > ul:not(.external-links) {
  margin: 0 0 1.2rem 3rem;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.legal-section > ul:not(.external-links) {
  padding-left: 1.35rem;
}

.legal-section li + li {
  margin-top: 0.65rem;
}

.external-links {
  display: flex;
  margin: 1.5rem 0 0 3rem;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
}

.external-links a,
.related-link a {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  color: var(--forest);
  background: rgba(81, 183, 170, 0.12);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.related-link {
  margin-top: 1.6rem !important;
}

.contact-section {
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--forest);
  border-radius: var(--radius-large);
}

.contact-section h2 {
  color: #fff8e8;
}

.contact-section h2 span {
  color: var(--teal-bright);
}

.contact-link {
  display: inline-block;
  margin-left: 3rem;
  color: #fff8e8;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 680;
}

.site-footer {
  color: #edf9f5;
  background: var(--forest);
}

.footer-inner {
  display: flex;
  width: var(--shell);
  min-height: 13rem;
  padding-block: 3.5rem;
  margin-inline: auto;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 2rem;
  text-decoration: none;
}

.footer-inner p {
  margin: 0.3rem 0 0;
  color: rgba(237, 249, 245, 0.62);
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  justify-content: flex-end;
  font-size: 0.82rem;
}

.not-found {
  min-height: 65vh;
  padding-block: 8rem;
}

.not-found h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

.button {
  display: inline-block;
  padding: 0.75rem 1rem;
  margin-top: 1.2rem;
  color: #fff;
  background: var(--forest);
  border-radius: 999px;
  font-weight: 680;
  text-decoration: none;
}

@media (max-width: 52rem) {
  .header-inner {
    min-height: 4.75rem;
  }

  .wordmark {
    display: none;
  }

  .document-nav a {
    padding-inline: 0.65rem;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .privacy-seal {
    width: 10rem;
    min-width: 10rem;
    margin: 0;
  }

  .seal-ring {
    inset: 1rem;
  }

  .seal-path {
    font-size: 4rem;
  }

  .document-grid,
  .overview,
  .legal-hero,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .document-card {
    min-height: 21rem;
  }

  .overview {
    gap: 2.5rem;
  }

  .language-nav {
    display: block;
  }

  .language-label {
    display: block;
    margin-bottom: 0.65rem;
  }

  .date-card {
    max-width: 18rem;
  }

  .contents-card {
    position: static;
    padding: 1rem;
    background: rgba(255, 250, 240, 0.55);
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
  }

  .contents-card > ol {
    columns: 2;
    column-gap: 1.5rem;
  }

  .contents-card > ol li {
    break-inside: avoid;
  }
}

@media (max-width: 36rem) {
  :root {
    --shell: min(100% - 1.25rem, 74rem);
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .document-nav {
    gap: 0;
  }

  .document-nav a {
    max-width: 8.25rem;
    text-align: center;
    line-height: 1.2;
  }

  .document-card {
    min-height: 19rem;
  }

  .contents-card > ol {
    columns: 1;
  }

  .legal-section h2 {
    grid-template-columns: 2.15rem 1fr;
  }

  .legal-section p,
  .legal-section > ul:not(.external-links),
  .external-links,
  .contact-link {
    margin-left: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef7f3;
    --ink-muted: #afbfba;
    --forest: #0c2423;
    --forest-soft: #173b38;
    --teal: #6ecbbe;
    --paper: #111817;
    --paper-raised: #1b2523;
    --warm: #d9aa70;
    --line: rgba(222, 242, 236, 0.16);
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
  }

  body {
    background:
      radial-gradient(circle at 12% 0%, rgba(81, 183, 170, 0.12), transparent 30rem),
      var(--paper);
  }

  .document-card.warm {
    color: #241c15;
  }

  .external-links a,
  .related-link a {
    color: #dffaf4;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .contents-card,
  .language-panel,
  .skip-link {
    display: none;
  }

  :root {
    --ink: #000;
    --ink-muted: #222;
    --paper: #fff;
    --line: #bbb;
  }

  body {
    background: #fff;
    font-size: 10.5pt;
  }

  .legal-main {
    width: 100%;
    padding: 0;
  }

  .legal-layout {
    display: block;
  }

  .legal-section {
    break-inside: avoid;
  }

  .contact-section {
    color: #000;
    background: #fff;
    border: 1px solid #777;
  }

  .contact-section h2,
  .contact-link {
    color: #000;
  }
}
