@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-latin.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #f4f1e8;
  --ink: #101411;
  --muted: rgba(16, 20, 17, 0.66);
  --line: rgba(16, 20, 17, 0.18);
  --field: #0b110d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 40px;
  color: var(--paper);
  background: var(--field);
}

.legal-brand {
  display: block;
  width: 160px;
  height: 19px;
  overflow: hidden;
  text-decoration: none;
}

.legal-brand-crop {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.legal-brand-crop img {
  display: block;
  width: 180px;
  max-width: none;
  height: auto;
  transform: translate(-10px, -20px);
}

.legal-back {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-header-actions,
.language-switcher {
  display: flex;
  align-items: center;
}

.legal-header-actions { gap: 28px; }

.language-switcher {
  gap: 5px;
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
}

.language-switcher a {
  position: relative;
  text-decoration: none;
  opacity: 0.5;
}

.language-switcher a:hover,
.language-switcher a:focus-visible,
.language-switcher a[aria-current="page"] { opacity: 1; }

.language-switcher a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
}

.language-switcher > span { opacity: 0.42; }

.legal-shell {
  width: min(1100px, calc(100vw - 80px));
  margin: 0 auto;
  padding: 112px 0 128px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(160px, 0.55fr) minmax(0, 1.45fr);
  gap: 40px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}

.legal-kicker,
.legal-updated,
.legal-side h2,
.legal-content h2,
.legal-identity dt {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.legal-kicker { color: var(--muted); }

.legal-hero h1 {
  max-width: 620px;
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(54px, 8vw, 108px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.legal-intro {
  max-width: 570px;
  margin: 36px 0 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(22px, 2.5vw, 31px);
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.legal-updated {
  align-self: end;
  margin-top: 20px;
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(160px, 0.55fr) minmax(0, 1.45fr);
  gap: 40px;
  padding-top: 64px;
}

.legal-side { color: var(--muted); }

.legal-side h2 { margin-bottom: 15px; color: var(--ink); }

.legal-side p { margin: 0; font-size: 13px; line-height: 1.55; }

.legal-side p + h2 { margin-top: 46px; }

.legal-content {
  max-width: 700px;
  font-size: 15px;
}

.legal-content > section + section {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 16px;
  color: var(--muted);
}

.legal-content h3 {
  margin: 30px 0 10px;
  font-size: 16px;
  line-height: 1.4;
}

.legal-content p,
.legal-content li { max-width: 640px; }

.legal-content p { margin: 0 0 16px; }

.legal-content ul { margin: 0; padding-left: 21px; }

.legal-content li + li { margin-top: 8px; }

.legal-identity {
  display: grid;
  grid-template-columns: minmax(135px, 0.42fr) minmax(0, 1fr);
  gap: 7px 24px;
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.legal-identity dd { margin: 0; }

.legal-callout {
  margin-top: 30px;
  padding: 23px 25px;
  border-left: 2px solid var(--ink);
  background: rgba(16, 20, 17, 0.045);
}

.legal-callout p:last-child { margin-bottom: 0; }

.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 28px 40px;
  color: rgba(244, 241, 232, 0.74);
  background: var(--field);
  font-size: 11px;
  letter-spacing: 0.07em;
}

.legal-footer nav { display: flex; gap: 18px; }

@media (max-width: 760px) {
  .legal-header { min-height: 64px; padding: 0 18px; }
  .legal-brand { width: 112px; height: 14px; }
  .legal-brand-crop img { width: 126px; transform: translate(-7px, -14px); }
  .legal-header-actions { gap: 14px; }
  .legal-back { font-size: 9px; letter-spacing: 0.08em; }
  .legal-shell { width: min(100% - 36px, 620px); padding: 64px 0 80px; }
  .legal-hero,
  .legal-layout { display: block; }
  .legal-hero { padding-bottom: 48px; }
  .legal-kicker { margin-bottom: 32px; }
  .legal-updated { margin-top: 25px; }
  .legal-layout { padding-top: 48px; }
  .legal-side { padding-bottom: 48px; }
  .legal-content > section + section { margin-top: 42px; padding-top: 42px; }
  .legal-identity { grid-template-columns: 1fr; gap: 5px; }
  .legal-identity dt { margin-top: 13px; }
  .legal-identity dt:first-child { margin-top: 0; }
  .legal-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding: 24px 18px; }
}

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