@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans/DMSans-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope/Manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --cream: #f8f3ed;
  --paper: #fffdf9;
  --ink: #181818;
  --pink: #db0375;
  --green: #589c32;
  --muted: #6f6b68;
  --line: rgba(24, 24, 24, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.7 "DM Sans", sans-serif; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; }
:where(a, button):focus-visible { outline: 3px solid white; outline-offset: 2px; box-shadow: 0 0 0 6px var(--pink); border-radius: 8px; }
[hidden] { display: none !important; }

.legal-header {
  position: sticky;
  z-index: 5;
  top: 0;
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 62px);
  background: rgba(248, 243, 237, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.legal-brand { width: 142px; }
.legal-brand img { display: block; width: 100%; height: 52px; object-fit: contain; object-position: left center; }
.legal-back { justify-self: center; font-size: 13px; font-weight: 800; text-decoration: none; }
.legal-language { justify-self: end; display: flex; gap: 4px; }
.legal-language button { border: 0; padding: 8px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 800; opacity: .45; }
.legal-language button.active { opacity: 1; color: var(--pink); text-decoration: underline; text-underline-offset: 4px; }

.legal-shell { width: min(920px, calc(100% - 36px)); margin: 0 auto; padding: 76px 0 110px; }
.legal-kicker { margin: 0 0 13px; color: var(--pink); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.legal-shell h1, .legal-shell h2 { font-family: "Manrope", sans-serif; line-height: 1.12; letter-spacing: -.045em; }
.legal-shell h1 { margin: 0 0 12px; font-size: clamp(43px, 7vw, 75px); }
.legal-shell h2 { margin: 50px 0 15px; font-size: clamp(25px, 3.2vw, 34px); }
.legal-updated { margin: 0 0 50px; color: var(--muted); }
.legal-shell p { margin: 0 0 18px; }
.legal-shell ul, .legal-shell ol { margin: 0 0 22px; padding-left: 24px; }
.legal-shell li { margin: 7px 0; }
.legal-shell strong { font-weight: 800; }
.legal-note { margin: 34px 0; padding: 22px 24px; border-left: 5px solid var(--pink); border-radius: 0 16px 16px 0; background: var(--paper); }
.legal-contact { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.legal-contact a { overflow-wrap: anywhere; }
.legal-placeholder { display: inline-block; padding: 1px 7px; border-radius: 5px; background: #ffe39a; color: #462f00; font-weight: 800; }

.legal-footer { padding: 38px clamp(18px, 4vw, 62px); background: var(--ink); color: white; }
.legal-footer-inner { width: min(1100px, 100%); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.legal-footer a { color: rgba(255,255,255,.8); font-size: 12px; font-weight: 700; }

@media (max-width: 680px) {
  .legal-header { grid-template-columns: 1fr auto; }
  .legal-back { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .legal-language { grid-column: 2; grid-row: 1; }
  .legal-shell { padding-top: 52px; }
  .legal-shell h2 { margin-top: 40px; }
  .legal-footer-inner { display: block; }
  .legal-footer nav { margin-top: 18px; }
}
