@font-face {
  font-family: "GT Maru";
  src: url("GT-Maru-Regular.woff2") format("woff2"), url("GT-Maru-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #fdfffc;
  --ink: #072615;
  --soft: #325247;
  --faint: #6b7d75;
  --rule: #e4e8e5;
  --accent: #097b5f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #061410;
    --ink: #eef3f0;
    --soft: #a9bcb4;
    --faint: #7e918a;
    --rule: #1c2b25;
    --accent: #6fbfcb;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
  padding-inline: 24px;
  padding-block: 4rem 4rem;
}

/* Brand signature — monogram above wordmark, every dimension derived from one
   factor. HH reference system: wordmark GT Maru 36px / 29px visible, monogram
   2phi x 29 = 94px, gap 24/phi = 15px. See design/brand-logo.md. */
.brand {
  --hh-scale: 0.62;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(15px * var(--hh-scale));
  text-decoration: none;
  color: inherit;
}
.brand__mark {
  display: block;
  block-size: calc(94.0426px * var(--hh-scale));
  inline-size: calc(85px * var(--hh-scale));
}
@media (prefers-color-scheme: dark) {
  .brand__mark { filter: brightness(0) invert(1); }
}
.brand__wordmark {
  font-family: "GT Maru", Arial, sans-serif;
  font-size: calc(36px * var(--hh-scale));
  line-height: 1;
  white-space: nowrap;
}

.lede {
  margin: 3rem 0 0;
  text-align: center;
  color: var(--soft);
}

dl.contact {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 0.75rem 1.5rem;
  margin: 2.5rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--rule);
}
dl.contact dt { color: var(--faint); font-size: 0.875rem; }
dl.contact dd { margin: 0; }

@media (max-width: 34rem) {
  dl.contact { grid-template-columns: 1fr; gap: 0.15rem; }
  dl.contact dd { margin-bottom: 0.9rem; }
}

a { color: var(--accent); }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}
h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 2.25rem 0 0.6rem;
}
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: 0.35rem; }

footer {
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
}
footer a { color: var(--soft); text-decoration: none; }
footer a:hover { color: var(--accent); }

.back { display: inline-block; margin-bottom: 2.5rem; font-size: 0.875rem; }

/* Language switcher and the root language picker. */
.langswitch {
  margin: 0 0 4rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--faint);
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}
.langswitch a { color: var(--soft); text-decoration: none; }
.langswitch a:hover { color: var(--accent); }
.langswitch strong { color: var(--ink); font-weight: 600; }

.langpick {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.langpick a { text-decoration: none; font-size: 1.05rem; }

/* The non-local entities sit quieter than the one whose jurisdiction the page
   is written from. */
.contact--group { margin-top: 3rem; padding-top: 2.25rem; border-top: 1px solid var(--rule-soft, var(--rule)); }
.contact--group dd { color: var(--soft); }
.group-head {
  grid-column: 1 / -1;
  color: var(--faint) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.group-head + dd { display: none; }

/* Root landing page: the legal pair for each locale, so the notices are
   directly reachable without choosing a language first (DDG § 5). */
.footer--root {
  justify-content: center;
  gap: 1.25rem 2rem;
  text-align: center;
}
.footer--root span { white-space: nowrap; color: var(--faint); }
