:root{
  --legal-font:"Instrument Sans",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --legal-bg:#f3f7f9;
  --legal-surface:#fbfdfe;
  --legal-surface-strong:#fff;
  --legal-ink:#14344d;
  --legal-muted:#61798b;
  --legal-soft:#8194a2;
  --legal-line:rgba(26,65,92,.105);
  --legal-accent:#0d8f63;
  --legal-blue:#315f86;
  --legal-shadow:0 26px 80px rgba(21,55,80,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-width:320px;
  font-family:var(--legal-font);
  color:var(--legal-ink);
  background:
    radial-gradient(circle at 9% 4%,rgba(64,137,186,.08),transparent 27rem),
    radial-gradient(circle at 88% 24%,rgba(13,143,99,.055),transparent 30rem),
    linear-gradient(180deg,#f7fafc 0%,var(--legal-bg) 48%,#eef4f7 100%);
  -webkit-font-smoothing:antialiased;
}
button,a{font:inherit}
a{color:inherit}
.legal-progress{
  position:fixed;
  z-index:3000;
  left:0;top:0;
  width:100%;
  height:2px;
  transform-origin:0 50%;
  transform:scaleX(0);
  background:linear-gradient(90deg,#3a6b93,#0d8f63);
}
.legal-header{
  position:sticky;
  z-index:100;
  top:0;
  min-height:76px;
  border-bottom:1px solid var(--legal-line);
  background:rgba(247,250,252,.94);
}
.legal-header__inner{
  width:min(1240px,calc(100% - 40px));
  min-height:76px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.legal-brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--legal-ink);
  text-decoration:none;
  font-size:13px;
  font-weight:720;
  letter-spacing:-.02em;
}
.legal-brand img{width:30px;height:30px;object-fit:contain}
.legal-header__nav{display:flex;align-items:center;gap:6px}
.legal-header__nav a,
.legal-theme-toggle{
  min-height:36px;
  padding:0 12px;
  border:1px solid transparent;
  border-radius:10px;
  color:var(--legal-muted);
  background:transparent;
  text-decoration:none;
  font-size:9.5px;
  font-weight:680;
  cursor:pointer;
  transition:color .18s ease,background .18s ease,border-color .18s ease;
}
.legal-header__nav a:hover,
.legal-theme-toggle:hover{color:var(--legal-ink);background:rgba(255,255,255,.72);border-color:var(--legal-line)}
.legal-header__nav a.is-active{color:#fff;background:#173b57}
.legal-theme-toggle{width:36px;padding:0;display:grid;place-items:center}
.legal-hero{
  width:min(1240px,calc(100% - 40px));
  margin:0 auto;
  padding:clamp(82px,9vw,128px) 0 58px;
}
.legal-hero__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--legal-blue);
  font-size:8px;
  font-weight:780;
  letter-spacing:.16em;
}
.legal-hero__eyebrow::before{
  content:"";
  width:26px;
  height:1px;
  background:currentColor;
  opacity:.55;
}
.legal-hero h1{
  max-width:940px;
  margin:18px 0 0;
  font-size:clamp(48px,7vw,92px);
  font-weight:510;
  line-height:.91;
  letter-spacing:-.066em;
}
.legal-hero__lead{
  max-width:780px;
  margin:28px 0 0;
  color:var(--legal-muted);
  font-size:clamp(15px,1.55vw,19px);
  line-height:1.68;
}
.legal-hero__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:30px;
}
.legal-hero__meta span{
  min-height:32px;
  display:flex;
  align-items:center;
  padding:0 11px;
  border:1px solid var(--legal-line);
  border-radius:999px;
  color:#607789;
  background:rgba(255,255,255,.54);
  font-size:8.5px;
  font-weight:650;
}
.legal-principles{
  width:min(1240px,calc(100% - 40px));
  margin:0 auto 62px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.legal-principle{
  min-height:150px;
  padding:22px;
  border:1px solid var(--legal-line);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(255,255,255,.84),rgba(247,251,252,.70));
  box-shadow:0 14px 44px rgba(25,59,82,.035);
}
.legal-principle span{
  color:var(--legal-accent);
  font-size:8px;
  font-weight:800;
  letter-spacing:.14em;
}
.legal-principle strong{
  display:block;
  margin-top:17px;
  font-size:17px;
  font-weight:650;
  letter-spacing:-.025em;
}
.legal-principle p{
  margin:9px 0 0;
  color:var(--legal-muted);
  font-size:10.5px;
  line-height:1.6;
}
.legal-layout{
  width:min(1240px,calc(100% - 40px));
  margin:0 auto;
  padding:0 0 110px;
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:clamp(46px,6vw,88px);
  align-items:start;
}
.legal-toc{
  position:sticky;
  top:106px;
  display:grid;
  gap:4px;
}
.legal-toc>span{
  margin-bottom:10px;
  color:#8193a0;
  font-size:7.5px;
  font-weight:800;
  letter-spacing:.15em;
}
.legal-toc a{
  min-height:34px;
  display:flex;
  align-items:center;
  padding:0 10px;
  border-left:1px solid var(--legal-line);
  color:#758897;
  text-decoration:none;
  font-size:9.5px;
  line-height:1.2;
  transition:color .18s ease,border-color .18s ease,background .18s ease;
}
.legal-toc a:hover,
.legal-toc a.is-active{
  color:#234c69;
  border-left-color:#0d8f63;
  background:linear-gradient(90deg,rgba(13,143,99,.045),transparent);
}
.legal-document{min-width:0}
.legal-intro-card{
  margin-bottom:18px;
  padding:28px 30px;
  border:1px solid rgba(13,143,99,.12);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(239,250,246,.90),rgba(248,252,251,.72));
}
.legal-intro-card span{
  color:#0d8f63;
  font-size:7.5px;
  font-weight:800;
  letter-spacing:.15em;
}
.legal-intro-card h2{
  max-width:720px;
  margin:10px 0 0;
  font-size:clamp(24px,3.4vw,38px);
  font-weight:560;
  line-height:1.08;
  letter-spacing:-.045em;
}
.legal-intro-card p{
  max-width:760px;
  margin:14px 0 0;
  color:#587465;
  font-size:12px;
  line-height:1.72;
}
.legal-section{
  scroll-margin-top:112px;
  padding:34px 2px 36px;
  border-top:1px solid var(--legal-line);
}
.legal-section__index{
  display:block;
  margin-bottom:9px;
  color:#8b9aa6;
  font-size:8px;
  font-weight:760;
  letter-spacing:.14em;
}
.legal-section h2{
  max-width:780px;
  margin:0;
  color:var(--legal-ink);
  font-size:clamp(22px,2.7vw,31px);
  font-weight:590;
  line-height:1.14;
  letter-spacing:-.04em;
}
.legal-section h3{
  margin:25px 0 8px;
  color:#31556f;
  font-size:12px;
  font-weight:720;
}
.legal-section p,
.legal-section li{
  color:var(--legal-muted);
  font-size:11.5px;
  line-height:1.82;
}
.legal-section p{max-width:820px;margin:13px 0 0}
.legal-section ul,
.legal-section ol{max-width:820px;margin:13px 0 0;padding-left:20px}
.legal-section li+li{margin-top:6px}
.legal-section strong{color:#294b64}
.legal-section a{color:#176e59;font-weight:700}
.legal-note{
  max-width:820px;
  margin-top:18px;
  padding:16px 18px;
  border-left:2px solid rgba(49,95,134,.38);
  border-radius:0 13px 13px 0;
  color:#62798a;
  background:rgba(49,95,134,.045);
  font-size:10.5px;
  line-height:1.7;
}
.legal-grid{
  max-width:820px;
  margin-top:17px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.legal-grid article{
  min-height:110px;
  padding:17px;
  border:1px solid var(--legal-line);
  border-radius:15px;
  background:rgba(255,255,255,.48);
}
.legal-grid strong{display:block;font-size:10.5px}
.legal-grid p{margin-top:6px;font-size:9.8px;line-height:1.58}
.legal-footer{
  width:min(1240px,calc(100% - 40px));
  margin:0 auto;
  padding:28px 0 42px;
  border-top:1px solid var(--legal-line);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:28px;
  color:#738795;
  font-size:9px;
  line-height:1.6;
}
.legal-footer strong{display:block;color:#4d6678;margin-bottom:3px}
.legal-footer a{color:#315f86;text-decoration:none;font-weight:700}
html[data-theme='dark']{
  --legal-bg:#08101d;
  --legal-surface:#101827;
  --legal-surface-strong:#131d2e;
  --legal-ink:#f0f4fa;
  --legal-muted:rgba(217,229,239,.62);
  --legal-soft:rgba(203,216,228,.46);
  --legal-line:rgba(255,255,255,.075);
  --legal-accent:#5bdba9;
  --legal-blue:#87a6d8;
}
html[data-theme='dark'] body{
  background:
    radial-gradient(circle at 9% 4%,rgba(73,106,207,.12),transparent 28rem),
    radial-gradient(circle at 88% 24%,rgba(66,216,165,.055),transparent 30rem),
    linear-gradient(180deg,#0b1220 0%,#08101d 54%,#07101a 100%);
}
html[data-theme='dark'] .legal-header{background:rgba(10,17,30,.95)}
html[data-theme='dark'] .legal-header__nav a:hover,
html[data-theme='dark'] .legal-theme-toggle:hover{background:rgba(255,255,255,.035)}
html[data-theme='dark'] .legal-header__nav a.is-active{background:#263d62}
html[data-theme='dark'] .legal-hero__meta span{background:rgba(255,255,255,.025)}
html[data-theme='dark'] .legal-principle{background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));box-shadow:none}
html[data-theme='dark'] .legal-toc a:hover,
html[data-theme='dark'] .legal-toc a.is-active{color:#e7eef6;background:linear-gradient(90deg,rgba(91,219,169,.055),transparent)}
html[data-theme='dark'] .legal-intro-card{border-color:rgba(91,219,169,.11);background:linear-gradient(145deg,rgba(91,219,169,.065),rgba(255,255,255,.015))}
html[data-theme='dark'] .legal-intro-card p{color:rgba(215,233,225,.64)}
html[data-theme='dark'] .legal-section strong{color:#d8e4ed}
html[data-theme='dark'] .legal-section h3{color:#b8cce0}
html[data-theme='dark'] .legal-note{background:rgba(105,139,214,.055)}
html[data-theme='dark'] .legal-grid article{background:rgba(255,255,255,.018)}
html[data-theme='dark'] .legal-footer strong{color:#c7d5e1}
html[data-theme='dark'] .legal-footer a{color:#8fb0e2}
@media(max-width:920px){
  .legal-layout{grid-template-columns:1fr}
  .legal-toc{position:relative;top:auto;display:flex;overflow:auto;padding-bottom:8px}
  .legal-toc>span{display:none}
  .legal-toc a{flex:0 0 auto;min-height:32px;border:1px solid var(--legal-line);border-radius:999px;padding:0 11px}
  .legal-toc a:hover,.legal-toc a.is-active{border-color:rgba(13,143,99,.25);background:rgba(13,143,99,.04)}
}
@media(max-width:700px){
  .legal-header__inner,.legal-hero,.legal-principles,.legal-layout,.legal-footer{width:min(100% - 24px,1240px)}
  .legal-header__nav a:nth-child(1),.legal-header__nav a:nth-child(2){display:none}
  .legal-hero{padding-top:66px}
  .legal-principles{grid-template-columns:1fr}
  .legal-grid{grid-template-columns:1fr}
  .legal-layout{gap:28px;padding-bottom:76px}
  .legal-intro-card{padding:22px}
  .legal-section{padding:29px 1px 31px}
  .legal-section p,.legal-section li{font-size:11px}
  .legal-footer{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{
  .legal-header,.legal-toc,.legal-progress,.legal-theme-toggle{display:none!important}
  body{background:#fff!important;color:#111!important}
  .legal-hero,.legal-principles,.legal-layout,.legal-footer{width:100%!important}
  .legal-layout{display:block}
  .legal-section{break-inside:avoid}
}


/* FOXIE LEGAL EXPERIENCE V2 — same header, day sky and deep-space language as the Institutional. */
html,body{min-height:100%}
body{
  position:relative;
  isolation:isolate;
  background:#f6fbff;
  transition:background-color .8s ease,color .8s ease;
}
.legal-main,
.legal-footer{position:relative;z-index:2}

.legal-atmosphere{
  position:fixed;
  z-index:0;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  background:#c7e6f8;
}
.legal-atmosphere__day,
.legal-atmosphere__night,
.legal-atmosphere__stars,
.legal-atmosphere__depth{
  position:absolute;
  inset:-4%;
  transition:opacity 1.05s cubic-bezier(.22,.72,.18,1);
}
.legal-atmosphere__day{
  opacity:1;
  background:
    radial-gradient(circle at 17% 78%,rgba(255,232,210,.42) 0 3%,rgba(255,232,210,.18) 13%,transparent 30%),
    radial-gradient(ellipse at 73% 42%,rgba(231,215,250,.22),transparent 34%),
    radial-gradient(ellipse at 52% 18%,rgba(255,255,255,.34),transparent 29%),
    radial-gradient(ellipse at 42% 62%,rgba(255,255,255,.16),transparent 36%),
    linear-gradient(180deg,#78b5dd 0%,#9ecde9 22%,#bddff4 52%,#dbeefa 76%,#f6fbff 100%);
}
.legal-atmosphere__day::before,
.legal-atmosphere__day::after{
  content:"";
  position:absolute;
  left:-8%;
  width:116%;
  border-radius:50%;
  filter:blur(28px);
}
.legal-atmosphere__day::before{
  top:20%;
  height:22%;
  opacity:.33;
  background:
    radial-gradient(ellipse at 18% 50%,rgba(255,255,255,.78),transparent 29%),
    radial-gradient(ellipse at 50% 50%,rgba(248,252,255,.62),transparent 35%),
    radial-gradient(ellipse at 82% 55%,rgba(255,255,255,.56),transparent 27%);
}
.legal-atmosphere__day::after{
  top:49%;
  height:26%;
  opacity:.21;
  background:
    radial-gradient(ellipse at 27% 50%,rgba(255,255,255,.62),transparent 31%),
    radial-gradient(ellipse at 67% 50%,rgba(242,249,254,.68),transparent 33%);
}
.legal-atmosphere__night{
  opacity:0;
  background:
    radial-gradient(ellipse at 16% 18%,rgba(50,89,184,.19),transparent 32%),
    radial-gradient(ellipse at 82% 38%,rgba(75,34,116,.18),transparent 36%),
    radial-gradient(ellipse at 48% 72%,rgba(125,27,90,.16),transparent 42%),
    linear-gradient(180deg,#020817 0%,#061a43 31%,#170f2b 62%,#250c24 83%,#070b1a 100%);
}
.legal-atmosphere__stars{
  opacity:0;
  background-image:
    radial-gradient(circle,rgba(255,255,255,.90) 0 1px,transparent 1.25px),
    radial-gradient(circle,rgba(190,214,255,.72) 0 .85px,transparent 1.15px),
    radial-gradient(circle,rgba(255,221,205,.58) 0 .7px,transparent 1px);
  background-size:137px 137px,211px 211px,293px 293px;
  background-position:17px 31px,74px 96px,131px 44px;
  mix-blend-mode:screen;
}
.legal-atmosphere__depth{
  opacity:1;
  background:
    linear-gradient(180deg,rgba(255,255,255,.04),transparent 21%,transparent 64%,rgba(20,57,85,.035)),
    radial-gradient(circle at 50% 42%,transparent 0 46%,rgba(40,83,118,.055) 100%);
}
html[data-theme='dark'] body{background:#070b1a}
html[data-theme='dark'] .legal-atmosphere{background:#070b1a}
html[data-theme='dark'] .legal-atmosphere__day{opacity:0}
html[data-theme='dark'] .legal-atmosphere__night{opacity:1}
html[data-theme='dark'] .legal-atmosphere__stars{opacity:.62}
html[data-theme='dark'] .legal-atmosphere__depth{
  background:
    radial-gradient(ellipse at center,transparent 0 48%,rgba(1,4,14,.23) 100%),
    linear-gradient(180deg,rgba(10,31,75,.025),transparent 34%,rgba(52,12,61,.04));
}

/* Reuse the exact Institutional header grammar instead of a separate legal header. */
.legal-site-header{z-index:120}
.legal-site-header .legal-desktop-nav a{
  position:relative;
  opacity:.76;
}
.legal-site-header .legal-desktop-nav a.is-active{
  opacity:1;
}
.legal-site-header .legal-desktop-nav a.is-active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:3px;
  height:1px;
  background:currentColor;
  opacity:.38;
}
.legal-site-header.is-scrolled::before{opacity:1}

/* The legal hero now behaves like an Institutional hero, not a document title block. */
.legal-hero{
  min-height:min(820px,86svh);
  padding:clamp(150px,16vh,190px) 0 86px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.legal-hero__eyebrow{
  color:rgba(15,47,75,.54);
  font-size:9px;
  letter-spacing:.17em;
}
.legal-hero h1{
  max-width:1040px;
  margin-top:19px;
  color:#102f4d;
  font-size:clamp(58px,7.4vw,104px);
  font-weight:500;
  line-height:.91;
  letter-spacing:-.068em;
  text-shadow:0 10px 44px rgba(50,95,130,.10);
}
.legal-hero__lead{
  max-width:820px;
  color:rgba(16,47,77,.70);
  font-size:clamp(15px,1.5vw,18px);
}
.legal-hero__meta span{
  border-color:rgba(25,66,98,.11);
  color:rgba(19,55,83,.60);
  background:rgba(255,255,255,.24);
}
html[data-theme='dark'] .legal-hero__eyebrow{color:rgba(236,243,255,.46)}
html[data-theme='dark'] .legal-hero h1{
  color:#f8fbff;
  text-shadow:0 10px 46px rgba(0,0,0,.24);
}
html[data-theme='dark'] .legal-hero__lead{color:rgba(235,243,255,.70)}
html[data-theme='dark'] .legal-hero__meta span{
  border-color:rgba(255,255,255,.08);
  color:rgba(232,240,251,.56);
  background:rgba(255,255,255,.025);
}

/* Glass and editorial hierarchy lifted to the same visual bar as the rest of the site. */
.legal-principle{
  border-color:rgba(30,72,106,.11);
  background:linear-gradient(145deg,rgba(250,253,255,.67),rgba(218,236,249,.38));
  box-shadow:0 24px 70px rgba(48,92,127,.08),inset 0 1px 0 rgba(255,255,255,.68);
}
.legal-intro-card{
  border-color:rgba(31,77,109,.11);
  background:linear-gradient(145deg,rgba(250,253,255,.70),rgba(220,238,249,.42));
  box-shadow:0 24px 72px rgba(48,92,127,.07),inset 0 1px 0 rgba(255,255,255,.64);
}
.legal-grid article{
  border-color:rgba(31,72,101,.10);
  background:rgba(248,252,255,.42);
}
.legal-note{
  border-left-color:rgba(48,97,133,.38);
  background:rgba(238,248,254,.40);
}
.legal-toc a{
  border-left-color:rgba(26,65,92,.12);
  color:rgba(28,63,89,.55);
}
.legal-toc a:hover,
.legal-toc a.is-active{
  color:#173f5c;
  border-left-color:#5ca7df;
  background:linear-gradient(90deg,rgba(92,167,223,.075),transparent);
}
html[data-theme='dark'] .legal-principle{
  border-color:rgba(255,255,255,.075);
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.016));
  box-shadow:0 24px 80px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.035);
}
html[data-theme='dark'] .legal-intro-card{
  border-color:rgba(112,146,219,.10);
  background:linear-gradient(145deg,rgba(39,57,98,.34),rgba(25,36,62,.22));
  box-shadow:0 26px 84px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.025);
}
html[data-theme='dark'] .legal-grid article{background:rgba(255,255,255,.018)}
html[data-theme='dark'] .legal-note{background:rgba(85,115,181,.045)}
html[data-theme='dark'] .legal-toc a{color:rgba(218,228,240,.45)}
html[data-theme='dark'] .legal-toc a:hover,
html[data-theme='dark'] .legal-toc a.is-active{
  color:#eef4fa;
  border-left-color:#7ca5e3;
  background:linear-gradient(90deg,rgba(95,132,215,.07),transparent);
}

/* Make the document legible over the living sky without turning it into boxed admin UI. */
.legal-layout{
  padding-top:14px;
}
.legal-document,
.legal-toc{
  position:relative;
}
.legal-section{
  border-top-color:rgba(28,68,96,.10);
}
html[data-theme='dark'] .legal-section{border-top-color:rgba(255,255,255,.075)}
.legal-footer{
  background:linear-gradient(180deg,transparent,rgba(246,251,255,.34));
}
html[data-theme='dark'] .legal-footer{
  background:linear-gradient(180deg,transparent,rgba(7,11,26,.34));
}

@media(max-width:760px){
  .legal-site-header .header-inner{
    min-height:68px;
    grid-template-columns:auto 1fr auto;
    gap:14px;
  }
  .legal-site-header .legal-desktop-nav{display:none}
  .legal-site-header .header-actions{gap:8px}
  .legal-site-header .header-cta{
    min-height:36px;
    padding:0 13px;
    font-size:10px;
  }
  .legal-site-header .theme-toggle{width:32px;height:32px}
  .legal-hero{
    min-height:76svh;
    padding:128px 0 62px;
  }
  .legal-hero h1{font-size:clamp(48px,13vw,72px)}
}


/* FOXIE LEGAL EXPERIENCE V3 — readable legal typography + live dark-sky canvas. */
.legal-atmosphere__stars{
  animation:legalFallbackStarDrift 48s linear infinite;
}
@keyframes legalFallbackStarDrift{
  from{background-position:17px 31px,74px 96px,131px 44px}
  to{background-position:154px 168px,285px 307px,424px 337px}
}
.legal-night-canvas{
  position:absolute;
  z-index:3;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  pointer-events:none;
  opacity:0;
  transition:opacity .72s ease;
}
html[data-theme='dark'] .legal-night-canvas{opacity:1}
html[data-theme='dark'] .legal-atmosphere__stars{opacity:.16}

/* Reading must feel like editorial/legal content, not microcopy. */
.legal-hero__meta span{
  min-height:36px;
  padding:0 13px;
  font-size:11px;
}
.legal-principle{
  min-height:178px;
  padding:26px;
}
.legal-principle span{
  font-size:10px;
}
.legal-principle strong{
  margin-top:18px;
  font-size:20px;
  line-height:1.22;
}
.legal-principle p{
  margin-top:10px;
  font-size:14px;
  line-height:1.65;
}
.legal-layout{
  grid-template-columns:246px minmax(0,1fr);
  gap:clamp(50px,6vw,92px);
}
.legal-toc>span{
  margin-bottom:12px;
  font-size:9.5px;
}
.legal-toc a{
  min-height:40px;
  padding:0 12px;
  font-size:12.5px;
  line-height:1.25;
}
.legal-intro-card{
  padding:32px 34px;
}
.legal-intro-card span{
  font-size:10px;
}
.legal-intro-card h2{
  max-width:780px;
  font-size:clamp(28px,3.6vw,42px);
}
.legal-intro-card p{
  max-width:800px;
  margin-top:16px;
  font-size:15.5px;
  line-height:1.72;
}
.legal-section{
  padding:40px 2px 44px;
}
.legal-section__index{
  margin-bottom:11px;
  font-size:10px;
}
.legal-section h2{
  max-width:860px;
  font-size:clamp(27px,3vw,38px);
  line-height:1.12;
}
.legal-section h3{
  margin:30px 0 10px;
  font-size:17px;
  line-height:1.35;
}
.legal-section p,
.legal-section li{
  font-size:15.5px;
  line-height:1.76;
}
.legal-section p{
  max-width:880px;
  margin-top:16px;
}
.legal-section ul,
.legal-section ol{
  max-width:880px;
  margin-top:16px;
  padding-left:24px;
}
.legal-section li+li{margin-top:8px}
.legal-note{
  max-width:880px;
  margin-top:22px;
  padding:19px 21px;
  font-size:14px;
  line-height:1.68;
}
.legal-grid{
  max-width:880px;
  margin-top:20px;
  gap:10px;
}
.legal-grid article{
  min-height:132px;
  padding:20px;
}
.legal-grid strong{
  font-size:14px;
}
.legal-grid p{
  margin-top:8px;
  font-size:13.5px;
  line-height:1.62;
}
.legal-footer{
  font-size:12px;
  line-height:1.65;
}

@media(max-width:920px){
  .legal-toc a{
    min-height:36px;
    font-size:11.5px;
  }
}
@media(max-width:700px){
  .legal-principle p{font-size:13.5px}
  .legal-section p,
  .legal-section li{font-size:14.5px}
  .legal-section h3{font-size:16px}
  .legal-note{font-size:13.5px}
  .legal-grid p{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
  .legal-atmosphere__stars{animation:none}
}


/* FOXIE BRAND LOCKUP V1 — shared wordmark treatment in legal footers. */
.legal-footer__identity{
  display:grid;
  gap:10px;
}
.legal-footer__brand{
  width:max-content;
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--legal-ink);
  text-decoration:none;
}
.legal-footer__brand .footer-logo{
  width:30px;
  height:30px;
  object-fit:contain;
}
.legal-footer__brand .footer-brand-name{
  font-size:17px;
}
.legal-footer__brand .brand-name-secondary{
  font-size:8.5px;
  opacity:.66;
}
.legal-footer__company{
  display:grid;
  gap:2px;
}
.legal-footer__company strong{
  margin:0;
}
.legal-footer__links{
  text-align:right;
}
@media(max-width:700px){
  .legal-footer__links{text-align:left}
}


/* FOXIE LEGAL EXPERIENCE V4 — centered, quieter legal hero. */
.legal-hero--centered{
  min-height:min(700px,74svh);
  padding:clamp(145px,16vh,178px) 0 76px;
  align-items:center;
  text-align:center;
}
.legal-hero--centered .legal-hero__eyebrow{
  justify-content:center;
  color:rgba(15,47,75,.50);
  font-size:8.5px;
  letter-spacing:.18em;
}
.legal-hero--centered .legal-hero__eyebrow::before{
  display:none;
}
.legal-hero--centered h1{
  max-width:920px;
  margin:20px auto 0;
  font-size:clamp(58px,7.2vw,96px);
  line-height:.94;
}
.legal-hero--centered .legal-hero__lead{
  max-width:650px;
  margin:24px auto 0;
  font-size:clamp(15px,1.35vw,17.5px);
  line-height:1.62;
}
.legal-hero--centered .legal-hero__meta{
  justify-content:center;
  margin-top:24px;
}
.legal-hero--centered .legal-hero__meta span{
  min-height:0;
  padding:0;
  border:0;
  border-radius:0;
  color:rgba(19,55,83,.46);
  background:transparent;
  font-size:10.5px;
  letter-spacing:.025em;
}
.legal-intro-card--compact{
  padding:27px 30px;
}
.legal-intro-card--compact h2{
  max-width:700px;
  font-size:clamp(24px,3vw,34px);
}
.legal-intro-card--compact p{
  max-width:720px;
  font-size:14.5px;
}
html[data-theme='dark'] .legal-hero--centered .legal-hero__eyebrow{
  color:rgba(236,243,255,.42);
}
html[data-theme='dark'] .legal-hero--centered .legal-hero__meta span{
  color:rgba(232,240,251,.42);
}
@media(max-width:700px){
  .legal-hero--centered{
    min-height:64svh;
    padding:120px 0 54px;
  }
  .legal-hero--centered h1{
    font-size:clamp(46px,14vw,68px);
  }
  .legal-hero--centered .legal-hero__lead{
    max-width:520px;
    font-size:14.5px;
  }
}
