@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700;900&display=swap');

:root {
  --navy: #08273f;
  --navy-deep: #051b2b;
  --orange: #ec7803;
  --orange-dark: #c96300;
  --paper: #f6f7f8;
  --ink: #24313a;
  --muted: #5b6871;
  --line: #dfe5e8;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.75;
}
a { color: inherit; }
.legal-shell { min-height: 100vh; display: flex; flex-direction: column; }
.legal-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: var(--white);
}
.legal-header-inner,
.legal-main,
.legal-footer-inner { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.legal-header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.brand-lockup img { display: block; width: 180px; height: auto; }
.back-link {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.back-link:hover { color: var(--white); text-decoration: underline; }
.legal-hero { background: var(--navy); color: var(--white); padding: 62px 0 72px; }
.legal-hero .legal-header-inner { display: block; }
.eyebrow {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid rgba(236,120,3,.65);
  border-radius: 999px;
  color: #ffad62;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.legal-hero h1 {
  max-width: 850px;
  margin: 22px 0 16px;
  color: var(--white);
  font-size: clamp(2.15rem, 4.4vw, 4rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.legal-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.76); font-size: 1.03rem; }
.updated { margin-top: 22px !important; color: rgba(255,255,255,.5) !important; font-size: .78rem !important; }
.legal-main { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; padding-top: 44px; padding-bottom: 64px; }
.legal-document { min-width: 0; padding: clamp(26px, 4vw, 52px); background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px rgba(8,39,63,.06); }
.legal-document section + section { margin-top: 42px; padding-top: 34px; border-top: 1px solid var(--line); }
.legal-document h2 { margin: 0 0 13px; color: var(--navy); font-size: 1.24rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.legal-document h3 { margin: 26px 0 8px; color: var(--navy); font-size: 1rem; font-weight: 500; }
.legal-document p { margin: 0 0 14px; color: var(--muted); font-size: .94rem; }
.legal-document ul { margin: 0 0 16px; padding-left: 22px; color: var(--muted); font-size: .94rem; }
.legal-document li + li { margin-top: 7px; }
.legal-document strong { color: var(--navy); font-weight: 500; }
.legal-document a, .legal-card a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal-card { align-self: start; position: sticky; top: 22px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 16px; box-shadow: 0 10px 30px rgba(8,39,63,.06); }
.legal-card h2 { margin: 0 0 16px; color: var(--navy); font-size: 1.05rem; font-weight: 500; }
.legal-card p { margin: 0 0 13px; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.legal-card .card-label { margin-top: 20px; color: var(--navy); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.legal-card .card-link { display: block; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; font-weight: 700; }
.legal-footer { margin-top: auto; background: var(--navy); color: rgba(255,255,255,.78); }
.legal-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; font-size: .76rem; }
.legal-footer a { color: var(--white); text-decoration: none; }
.legal-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 800px) {
  .legal-header-inner { min-height: 72px; }
  .legal-header-inner, .legal-main, .legal-footer-inner { width: min(100% - 28px, 680px); }
  .legal-hero { padding: 44px 0 52px; }
  .legal-main { grid-template-columns: 1fr; padding-top: 24px; }
  .legal-card { position: static; order: -1; }
  .legal-footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .brand-lockup img { width: 155px; }
  .back-link { font-size: .73rem; }
  .legal-document { padding: 23px 19px; border-radius: 14px; }
  .legal-hero h1 { font-size: 2.35rem; }
}
