:root {
  --ink: #07110e;
  --paper: #f2f4ef;
  --lime: #caff5c;
  --muted: #69766e;
  --line: #cfd6d0;
  --warning: #fff5cc;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}
a {
  color: inherit;
}
.legal-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 76px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 17, 14, 0.94);
  color: white;
  backdrop-filter: blur(18px);
}
.legal-wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.legal-wordmark > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
}
.legal-header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.legal-header nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.legal-language {
  display: grid;
  min-width: 42px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.legal-main {
  padding: clamp(62px, 8vw, 120px) clamp(20px, 7vw, 110px) 100px;
}
.legal-hero {
  max-width: 1040px;
  margin: 0 auto 72px;
}
.legal-hero > p {
  text-transform: uppercase;
  color: #66736b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.legal-hero h1 {
  max-width: 900px;
  margin: 18px 0 28px;
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}
.legal-hero > div {
  max-width: 760px;
  color: #4f5d55;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.45;
}
.legal-content {
  max-width: 940px;
  margin: 0 auto;
}
.legal-content section {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.legal-content h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.legal-content p,
.legal-content li,
.legal-content dd {
  color: #344239;
  font-size: 16px;
}
.legal-content p + p {
  margin-top: 14px;
}
.legal-content ul {
  display: grid;
  gap: 10px;
  padding-left: 24px;
}
.legal-content a {
  text-decoration-color: #8aa344;
  text-underline-offset: 3px;
}
.legal-notice {
  margin-bottom: 42px;
  padding: 24px 26px;
  border: 1px solid #d9c65f;
  border-radius: 12px;
  background: var(--warning);
}
.legal-notice strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}
.legal-notice p {
  color: #5e5320;
}
.placeholder {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 5px;
  background: #fff0a6;
  color: #5a4b00;
  font-weight: 750;
}
.legal-details {
  display: grid;
  border-top: 1px solid var(--line);
}
.legal-details > div {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) 1.2fr;
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.legal-details dt {
  color: #68766e;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.legal-table-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #f8faf6;
  text-align: left;
}
th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: #e9ede7;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
td {
  color: #344239;
}
tbody tr:last-child td {
  border-bottom: 0;
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.92em;
}
.legal-button {
  display: inline-flex;
  margin-top: 8px;
  padding: 13px 19px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.legal-updated {
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: #738078 !important;
  font-size: 13px !important;
}
.legal-footer {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 28px;
  padding: 28px clamp(20px, 5vw, 76px);
  background: var(--ink);
  color: #839189;
  font-size: 11px;
}
.legal-footer > a {
  color: white;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}
.legal-footer nav a {
  text-decoration: none;
}
.legal-footer nav a:hover,
.legal-footer nav a[aria-current="page"] {
  color: var(--lime);
}
.legal-footer > span {
  text-align: right;
}
@media (max-width: 720px) {
  .legal-header {
    padding: 12px 16px;
  }
  .legal-wordmark strong {
    display: none;
  }
  .legal-main {
    padding: 62px 20px 76px;
  }
  .legal-hero {
    margin-bottom: 52px;
  }
  .legal-content section {
    padding: 34px 0;
  }
  .legal-details > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .legal-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .legal-footer > span {
    text-align: center;
  }
  .legal-footer nav {
    order: 2;
  }
  .legal-footer > span {
    order: 3;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Accessibility refinements for the legal and contact pages. */
.legal-skip {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.legal-skip:focus {
  transform: translateY(0);
}

:where(a, button):focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
}

.legal-language {
  min-width: 44px;
  min-height: 44px;
}

.legal-hero > p {
  color: #5d6a62;
  font-size: 12px;
}

.legal-details dt {
  color: #5d6a62;
}

.legal-updated {
  color: #56635b !important;
}

.legal-footer {
  font-size: 12px;
}
