﻿.cl-footer {
  color: var(--graphite-muted);
  background: #141517;
  border-top: 1px solid var(--graphite-hairline);
}
.cl-footer-inner {
  max-width: var(--lab-section-width, 1330px);
  margin: auto;
  padding: clamp(44px, 6vw, 82px) var(--lab-gutter, 24px) 25px;
}
.cl-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 35px;
  padding-bottom: clamp(36px, 5vw, 68px);
}
.cl-footer-brand > p {
  margin: 22px 0 0;
  color: var(--graphite-ink);
  font: 600 clamp(28px, 3.2vw, 47px) / 1.08 Manrope, sans-serif;
  letter-spacing: -.055em;
}
.cl-footer-brand > p span { color: var(--graphite-muted); }
.cl-footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(27px, 7vw, 105px);
}
.cl-footer-columns nav { display: grid; align-content: start; gap: 13px; min-width: 105px; }
.cl-footer-columns strong { margin-bottom: 3px; color: var(--graphite-ink); font-size: 13px; }
.cl-footer a { color: var(--graphite-muted); text-decoration: none; transition: color .18s; }
.cl-footer a:hover { color: #fff; }
.cl-footer a:focus-visible, .legal-page :is(a, select):focus-visible {
  outline: 2px solid var(--graphite-accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.cl-footer-columns a { font-size: 14px; }
.cl-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 23px;
  border-top: 1px solid var(--graphite-hairline);
  font-size: 12px;
}

.legal-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: var(--graphite-ink);
  background: var(--graphite-bg);
  font-family: system-ui, sans-serif;
  line-height: 1.65;
}
.legal-page * { box-sizing: border-box; }
.legal-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.legal-topbar { border-bottom: 1px solid var(--graphite-hairline); }
.legal-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
  max-width: 1200px;
  margin: auto;
  padding: 19px clamp(16px, 4vw, 48px);
}
.legal-wordmark {
  color: var(--graphite-ink);
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -.07em;
  line-height: 1;
  text-decoration: none;
}
.legal-wordmark span { color: #a35bf2; }
.legal-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 16px; }
.legal-nav a, .legal-nav select {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--graphite-hairline);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--graphite-ink);
  background: var(--graphite-stage);
  font: inherit;
  font-size: 13px;
  text-decoration: none;
}
.legal-nav a:hover, .legal-nav select:hover { background: var(--graphite-raised); }
.legal-container { width: min(100%, 900px); margin: 0 auto; padding: clamp(49px, 8vw, 112px) clamp(16px, 4vw, 48px) 84px; }
.legal-kicker { color: var(--graphite-muted); font-size: 12px; font-weight: 700; letter-spacing: .07em; }
.legal-container h1 { margin: 12px 0 14px; font-size: clamp(37px, 7vw, 76px); line-height: 1.04; letter-spacing: -.065em; overflow-wrap: anywhere; }
.legal-intro { max-width: 66ch; color: var(--graphite-muted); }
.legal-card {
  margin-top: 24px;
  padding: clamp(20px, 4vw, 41px);
  border: 1px solid var(--graphite-hairline);
  border-radius: 23px;
  background: var(--graphite-stage);
}
.legal-card h2 { margin: 31px 0 8px; padding-top: 24px; border-top: 1px solid var(--graphite-hairline); font-size: 18px; letter-spacing: -.02em; }
.legal-card h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-card p, .legal-card address { margin: 0; color: var(--graphite-muted); font-size: 15px; line-height: 1.75; font-style: normal; }
.legal-card p + p { margin-top: .8em; }
.legal-card ul { color: var(--graphite-muted); padding-left: 1.5em; }
.legal-card li + li { margin-top: .4em; }
.legal-card a { color: var(--graphite-ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-contact-form { display: grid; gap: 14px; margin-top: 20px; }
.legal-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.legal-contact-form label { display: grid; gap: 6px; color: var(--graphite-ink); font-size: 13px; font-weight: 650; }
.legal-contact-form :is(input, textarea, button) {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--graphite-hairline);
  border-radius: 9px;
  background: var(--graphite-bg);
  color: var(--graphite-ink);
  font: inherit;
}
.legal-contact-form textarea { resize: vertical; }
.legal-contact-form button { justify-self: start; color: var(--graphite-bg); background: var(--graphite-ink); font-weight: 700; cursor: pointer; }
.legal-contact-form button:disabled { opacity: .6; cursor: progress; }
.legal-card .legal-contact-privacy, .legal-card .legal-contact-feedback { font-size: 13px; }
.legal-contact-feedback:empty { display: none; }
.legal-card .legal-contact-feedback[data-error] { color: #f4a8ae; }
.legal-site-footer { margin-top: auto; padding: 24px clamp(16px, 4vw, 48px); border-top: 1px solid var(--graphite-hairline); }
.legal-site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 25px; max-width: 1104px; margin: auto; }
.legal-site-footer a { color: var(--graphite-muted); font-size: 13px; text-decoration: none; }
.legal-site-footer a:hover, .legal-site-footer a[aria-current] { color: var(--graphite-ink); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 620px) {
  .cl-footer-top { grid-template-columns: 1fr; }
  .cl-footer-columns nav { min-width: 0; }
  .legal-contact-fields { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .legal-topbar-inner { justify-content: flex-start; }
  .legal-nav { justify-content: space-between; width: 100%; }
}
