:root {
  --ink: #102033;
  --soft-ink: #46576a;
  --paper: #f8fbfd;
  --white: #ffffff;
  --line: #d8e4ec;
  --blue: #1268b3;
  --cyan: #00a6c8;
  --gold: #b8872f;
  --coal: #081321;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.98), rgba(232, 243, 247, 0.94)),
    linear-gradient(135deg, #f8fbfd 0%, #e8f3f7 100%);
}

a {
  color: inherit;
}

.legal-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.legal-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 32, 51, 0.1);
  background: rgba(248, 251, 253, 0.94);
  backdrop-filter: blur(18px);
}

.legal-site-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand img {
  display: block;
  width: 176px;
  max-width: 46vw;
  height: auto;
}

.legal-nav,
.legal-site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.legal-nav a {
  color: var(--soft-ink);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-nav a:hover,
.legal-site-footer a:hover,
.legal-document a:hover {
  color: var(--blue);
}

.legal-hero {
  padding: clamp(58px, 9vw, 112px) 0 clamp(42px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.legal-eyebrow,
.legal-effective {
  margin: 0;
  color: var(--blue);
  font: 800 0.78rem "Courier New", monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 12px 0 0;
  color: var(--coal);
  font: 800 clamp(3.5rem, 9vw, 7.4rem) / 0.86 Rajdhani, Inter, Arial, sans-serif;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.legal-summary {
  max-width: 880px;
  margin: 26px 0 0;
  color: #2d4156;
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
  line-height: 1.65;
}

.legal-effective {
  margin-top: 24px;
  color: var(--gold);
}

.legal-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
  padding: clamp(42px, 7vw, 84px) 0 clamp(64px, 9vw, 110px);
}

.legal-index {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 11px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.legal-index strong {
  margin-bottom: 6px;
  color: var(--blue);
  font: 800 0.72rem "Courier New", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-index a {
  color: var(--soft-ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-index a:hover {
  color: var(--blue);
}

.legal-document {
  min-width: 0;
  font-size: 1rem;
  line-height: 1.78;
}

.legal-document section {
  scroll-margin-top: 110px;
}

.legal-document section + section {
  margin-top: 48px;
  padding-top: 4px;
}

.legal-document h2,
.legal-document h3 {
  color: var(--coal);
  font-family: Rajdhani, Inter, Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-document h2 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1;
}

.legal-document h3 {
  margin: 28px 0 0;
  font-size: 1.22rem;
}

.legal-document p,
.legal-document ul {
  margin: 15px 0 0;
}

.legal-document ul {
  padding-left: 22px;
}

.legal-document li + li {
  margin-top: 10px;
}

.legal-document a {
  color: var(--blue);
  font-weight: 700;
  text-underline-offset: 3px;
}

.plain-language {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(18, 104, 179, 0.28);
  border-left: 6px solid var(--blue);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(16, 32, 51, 0.07);
}

.plain-language strong {
  color: var(--blue);
  font: 800 0.76rem "Courier New", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plain-language p {
  margin-top: 12px;
  color: #2d4156;
  font-size: 1.08rem;
}

.legal-caps {
  padding: 20px;
  border-left: 4px solid var(--gold);
  background: rgba(184, 135, 47, 0.08);
  color: #37495b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.72;
}

.legal-site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--coal);
  color: rgba(255, 255, 255, 0.72);
}

.legal-footer-grid {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.82rem;
}

.legal-site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .legal-site-nav,
  .legal-footer-grid {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .legal-nav,
  .legal-site-footer nav {
    justify-content: flex-start;
  }

  .legal-hero {
    padding-top: 46px;
  }

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

  .legal-index {
    position: static;
  }
}
