@font-face {
  font-family: "InterVariable";
  src: local("Inter");
  font-display: swap;
}

:root {
  --blue: #356A93;
  --ink: #090D12;
  --panel: #10161D;
  --white: #F5F7F9;
  --muted: rgba(245,247,249,.66);
  --line: rgba(255,255,255,.11);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 5%, rgba(53,106,147,.17), transparent 29rem),
    linear-gradient(180deg, #0A0F15, #090C10 52%, #0C1117);
  font-family: InterVariable, Inter, Arial, sans-serif;
}

a { color: inherit; }

.legal-site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(9,13,18,.88);
  backdrop-filter: blur(18px);
}

.legal-brand {
  display: block;
  width: clamp(205px, 18vw, 270px);
}

.legal-brand img {
  display: block;
  width: 100%;
}

.legal-header-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-header-links a {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.legal-header-links a:last-child {
  border-color: rgba(105,151,185,.42);
  color: #A7C4D7;
}

.legal-page {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 110px) 0 70px;
}

.legal-hero {
  max-width: 870px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.legal-eyebrow {
  display: block;
  margin-bottom: 18px;
  color: #86ABC4;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 800;
}

.legal-hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 650;
}

.legal-summary {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.65;
}

.legal-meta {
  margin-top: 24px;
  color: rgba(255,255,255,.4);
  font-size: 12px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(36px, 7vw, 90px);
  padding-top: 50px;
}

.legal-toc {
  align-self: start;
  position: sticky;
  top: 112px;
}

.legal-toc span {
  display: block;
  margin-bottom: 13px;
  color: rgba(255,255,255,.35);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.legal-toc a,
.legal-toc button {
  display: block;
  width: 100%;
  padding: 9px 0;
  border: 0;
  color: rgba(255,255,255,.58);
  background: transparent;
  text-decoration: none;
  text-align: left;
  font-size: 12px;
  cursor: pointer;
}

.legal-toc a:hover,
.legal-toc button:hover {
  color: white;
}

.legal-content {
  max-width: 760px;
}

.legal-content section {
  scroll-margin-top: 110px;
  padding: 0 0 44px;
}

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

.legal-content h2 {
  margin: 0 0 17px;
  font-size: clamp(25px, 3.2vw, 37px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.legal-content h3 {
  margin: 25px 0 10px;
  font-size: 17px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.76;
}

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

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

.legal-content strong {
  color: white;
}

.legal-callout {
  margin: 22px 0;
  padding: 20px 21px;
  border: 1px solid rgba(105,151,185,.28);
  border-radius: 14px;
  background: rgba(53,106,147,.09);
}

.cookie-inventory {
  width: 100%;
  border-collapse: collapse;
  margin: 21px 0;
}

.cookie-inventory th,
.cookie-inventory td {
  padding: 13px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.cookie-inventory th {
  color: white;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.42);
  font-size: 11px;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 13px 20px;
}

.legal-footer a,
.legal-footer button {
  color: rgba(255,255,255,.54);
  border: 0;
  background: transparent;
  text-decoration: none;
  font-size: 11px;
  cursor: pointer;
}

.legal-footer a:hover,
.legal-footer button:hover {
  color: white;
}

.portal-placeholder {
  min-height: calc(100vh - 156px);
  display: grid;
  place-items: center;
  padding: 70px 20px;
}

.portal-card {
  width: min(680px, 100%);
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid rgba(105,151,185,.35);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 0%, rgba(53,106,147,.18), transparent 40%),
    rgba(15,21,28,.84);
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
}

.portal-card h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 72px);
  line-height: .98;
  letter-spacing: -.052em;
}

.portal-card p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.portal-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 19px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 750;
}

.portal-actions a:first-child {
  background: var(--blue);
  border-color: var(--blue);
}

@media (max-width: 760px) {
  .legal-site-header {
    min-height: 70px;
    padding: 0 18px;
  }

  .legal-brand {
    width: 180px;
  }

  .legal-header-links a:first-child {
    display: none;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
  }

  .legal-toc a {
    display: inline-block;
    width: auto;
    margin-right: 17px;
  }

  .legal-footer {
    grid-template-columns: 1fr;
  }

  .legal-footer-links {
    justify-content: flex-start;
  }

  .cookie-inventory {
    display: block;
    overflow-x: auto;
  }
}
