/* ---------- Tokens ---------- */
:root {
  --navy: #041423;
  --navy-2: #0A2238;
  --navy-3: #0F2E4A;
  --blue: #1376AD;
  --blue-dark: #0F5F8C;
  --gold: #EDBC43;
  --gold-dark: #D9A62B;
  --ink: #1C2733;
  --ink-2: #4A5866;
  --line: #E3E9EF;
  --bg: #FFFFFF;
  --bg-2: #F4F7FA;
  --font-head: 'Libre Franklin', system-ui, sans-serif;
  --font-body: 'Roboto', system-ui, sans-serif;
  --header-h: 84px;
  --radius: 10px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  * {
    transition: none !important;
    animation: none !important
  }
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg)
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: var(--blue);
  text-decoration: none
}

a:hover {
  color: var(--blue-dark)
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy)
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  font-weight: 700;
  border-radius: 6px;
  z-index: 2000
}

.skip-link:focus {
  top: 12px
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s
}

.button-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold)
}

.button-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--navy)
}

.button-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55)
}

.button-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, .08)
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 10px 30px rgba(3, 20, 38, .25)
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h)
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0
}

.brand img {
  width: 229px;
  height: auto
}

.main-nav {
  display: flex;
  align-items: center;
  margin-left: auto
}

.main-nav>ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px
}

.main-nav>ul>li {
  position: relative
}

.main-nav>ul>li>a {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .01em;
  border-radius: 6px;
  cursor: pointer;
  transition: color .18s, background .18s
}

.main-nav>ul>li>a:hover,
.main-nav>ul>li>a[aria-expanded="true"] {
  color: var(--gold);
  background: rgba(255, 255, 255, .05)
}

.main-nav>ul>li>a[aria-current="page"] {
  color: var(--gold)
}

.cw-has-drop>a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin-left: 2px;
  opacity: .8
}

.cw-caret {
  display: none
}

.cw-drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 10px;
  padding: 12px 0;
  box-shadow: 0 20px 50px rgba(4, 20, 35, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
  margin-top: 6px;
  z-index: 1200
}

.cw-drop::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px
}

.cw-drop-right {
  left: auto;
  right: 0
}

.cw-has-drop:hover>.cw-drop,
.cw-has-drop:focus-within>.cw-drop,
.cw-has-drop.is-open>.cw-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.cw-drop a {
  display: block;
  padding: 9px 20px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap
}

.cw-drop a:hover {
  background: var(--bg-2);
  color: var(--blue)
}

.cw-drop a.cw-soon::after {
  content: "Coming soon";
  margin-left: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(19, 118, 173, .1);
  padding: 2px 7px;
  border-radius: 999px
}

.cw-mega {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 560px;
  padding: 18px 10px
}

.cw-col-h {
  display: block;
  padding: 6px 20px 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue)
}

.header-cta {
  flex-shrink: 0;
  margin-left: 8px;
  padding: 12px 20px
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 6px
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s, opacity .2s
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* ---------- Hero ---------- */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(19, 118, 173, .45), rgba(19, 118, 173, 0) 70%);
  pointer-events: none
}

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 22px
}

.breadcrumb a {
  color: rgba(255, 255, 255, .85)
}

.breadcrumb a:hover {
  color: var(--gold)
}

.breadcrumb li+li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, .4)
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 16px;
  max-width: 820px
}

.page-hero .hero-sub {
  font-size: 19px;
  color: rgba(255, 255, 255, .82);
  max-width: 720px;
  line-height: 1.6
}

.hero-rule {
  width: 64px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 26px 0 0
}

/* ---------- Layout ---------- */
.page-body {
  padding: 64px 0 80px;
  background: var(--bg)
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  align-items: start
}

.page-content {
  min-width: 0;
  max-width: 760px
}

.page-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-right: 2px
}

/* ---------- Content ---------- */
.legal-section {
  scroll-margin-top: calc(var(--header-h) + 28px);
  padding-bottom: 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line)
}

.legal-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0
}

.legal-section h2 {
  font-size: 27px;
  margin-bottom: 18px;
  padding-left: 18px;
  border-left: 4px solid var(--gold);
  line-height: 1.25
}

.legal-section h3 {
  font-size: 19px;
  margin: 26px 0 10px;
  color: var(--navy)
}

.legal-section p {
  margin-bottom: 16px;
  color: var(--ink)
}

.legal-section h2,
.legal-section p,
.legal-section li {
  overflow-wrap: anywhere
}

.legal-section p:last-child {
  margin-bottom: 0
}

.legal-section a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px
}

.legal-section ol,
.legal-section ul {
  margin: 0 0 18px 0;
  padding-left: 0;
  list-style: none;
  counter-reset: item
}

.legal-section ol>li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 10px;
  counter-increment: item
}

.legal-section ol>li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center
}

.legal-section ol ol {
  margin: 10px 0 0 0
}

.legal-section ol ol>li {
  padding-left: 40px;
  margin-bottom: 6px
}

.legal-section ol ol>li::before {
  content: counter(item, lower-alpha);
  background: transparent;
  border: 1.5px solid var(--line);
  width: 26px;
  height: 26px;
  font-size: 12px
}

.legal-section ul>li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px
}

.legal-section ul>li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold)
}

.callout {
  background: var(--bg-2);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 0 0 20px
}

.callout p {
  margin: 0
}

.callout p+p {
  margin-top: 10px
}

.address-block {
  font-style: normal;
  line-height: 1.65
}

.intro-lead {
  font-size: 18.5px;
  color: var(--ink-2)
}

/* ---------- Sidebar ---------- */
.toc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  margin-bottom: 22px
}

.toc h2 {
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  font-weight: 700
}

.toc ol {
  list-style: none;
  counter-reset: toc
}

.toc li {
  counter-increment: toc
}

.toc a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 10px 6px 12px;
  margin-left: -12px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.4;
  border-left: 3px solid transparent;
  transition: color .15s, background .15s, border-color .15s
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  color: var(--blue);
  opacity: .75;
  padding-top: 2px;
  flex-shrink: 0
}

.toc a:hover {
  color: var(--navy);
  background: #fff
}

.toc a.is-active {
  color: var(--navy);
  font-weight: 500;
  background: #fff;
  border-left-color: var(--gold)
}

.toc a.is-active::before {
  opacity: 1
}

.side-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  overflow: hidden
}

.side-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 118, 173, .5), rgba(19, 118, 173, 0) 70%);
  pointer-events: none
}

.side-card h2 {
  color: #fff;
  font-size: 21px;
  margin-bottom: 8px
}

.side-card>p {
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.6
}

.side-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1
}

.side-contact a svg {
  width: 16px;
  height: 16px
}

.side-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .06);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background .15s, border-color .15s;
  overflow-wrap: anywhere;
  min-width: 0
}

.side-contact a:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(237, 188, 67, .6);
  color: #fff
}

.side-contact svg {
  flex-shrink: 0;
  color: var(--gold)
}

.side-card address {
  font-style: normal;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  margin-top: 18px;
  line-height: 1.6;
  position: relative;
  z-index: 1
}

/* ---------- CTA strip ---------- */
.cta {
  background: var(--navy);
  color: #fff;
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, .06)
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px
}

.cta h2 {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 10px
}

.cta p {
  color: rgba(255, 255, 255, .78);
  max-width: 560px;
  font-size: 17px
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0
}

/* ---------- Footer ---------- */
.site-footer {
  background: #020D18;
  color: rgba(255, 255, 255, .78)
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 24px 48px
}

.footer-brand img {
  width: 210px;
  margin-bottom: 20px
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 360px
}

.footer-title {
  color: #fff;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px
}

.footer-links {
  list-style: none
}

.footer-links li {
  margin-bottom: 10px
}

.footer-links a {
  color: rgba(255, 255, 255, .78);
  font-size: 15px
}

.footer-links a:hover {
  color: var(--gold)
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 500;
  font-size: 15px
}

.footer-contact a:hover {
  color: var(--gold)
}

.footer-contact svg {
  color: var(--gold);
  flex-shrink: 0
}

.footer-address {
  font-size: 15px;
  line-height: 1.7
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 28px 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap
}

.footer-legal {
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.footer-bottom-links {
  display: flex;
  gap: 18px
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, .78)
}

.footer-bottom-links a:hover {
  color: var(--gold)
}

.footer-creds {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap
}

.footer-creds img {
  height: 64px;
  width: auto
}

/* ---------- Responsive ---------- */
@media (max-width:1280px) {
  .brand img {
    width: 200px
  }

  .main-nav>ul {
    gap: 0
  }

  .main-nav>ul>li>a {
    padding: 12px 9px;
    font-size: 13.5px
  }

  .header-cta {
    padding: 11px 15px;
    font-size: 14px
  }

  .header-inner {
    gap: 14px
  }
}

@media (max-width:1080px) {
  .page-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px
  }

  .cw-mega {
    min-width: 480px
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px
  }
}

@media (max-width:1080px) {
  :root {
    --header-h: 72px
  }

  .brand img {
    width: 190px
  }

  .nav-toggle {
    display: flex
  }

  .header-cta {
    display: none
  }

  .main-nav {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    overflow-y: auto;
    padding: 12px 24px 40px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s, visibility 0s .25s;
    margin: 0
  }

  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .25s, visibility 0s
  }

  .main-nav>ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0
  }

  .main-nav>ul>li {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-wrap: wrap;
    align-items: center
  }

  .main-nav>ul>li>a {
    flex: 1 1 0;
    min-width: 0;
    padding: 16px 4px;
    font-size: 17px;
    border-radius: 0
  }

  .cw-has-drop>a::after {
    display: none
  }

  .cw-caret {
    display: block;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    flex-shrink: 0
  }

  .cw-caret::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, -70%) rotate(45deg);
    transition: transform .2s
  }

  .cw-has-drop.is-open .cw-caret::before {
    transform: translate(-50%, -30%) rotate(-135deg)
  }

  .cw-drop,
  .cw-drop-right {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 0 12px 12px;
    border-radius: 0;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none
  }

  .cw-has-drop.is-open>.cw-drop {
    display: block
  }

  .cw-has-drop:hover>.cw-drop:not(.cw-mega),
  .cw-has-drop:focus-within>.cw-drop {
    display: none
  }

  .cw-has-drop.is-open:hover>.cw-drop,
  .cw-has-drop.is-open:focus-within>.cw-drop {
    display: block
  }

  .cw-mega {
    grid-template-columns: 1fr;
    gap: 0
  }

  .cw-has-drop.is-open>.cw-mega {
    display: grid
  }

  .cw-drop a {
    color: rgba(255, 255, 255, .85);
    padding: 10px 12px;
    white-space: normal
  }

  .cw-drop a:hover {
    background: rgba(255, 255, 255, .06);
    color: var(--gold)
  }

  .cw-col-h {
    color: var(--gold);
    padding-left: 12px
  }

  .mobile-cta {
    display: block;
    margin-top: 22px
  }

  .mobile-cta .button {
    width: 100%;
    justify-content: center
  }

  .page-hero {
    padding: 48px 0 44px
  }

  .page-body {
    padding: 44px 0 56px
  }

  .page-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .page-sidebar {
    position: static;
    order: 2
  }

  .page-content {
    order: 1;
    max-width: none
  }

  .toc {
    display: none
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left
  }
}

@media (min-width:1081px) {
  .mobile-cta {
    display: none
  }
}

@media (max-width:640px) {
  body {
    font-size: 16px
  }

  .side-contact a {
    font-size: 14px
  }

  .container {
    padding: 0 18px
  }

  .page-hero h1 {
    font-size: 32px
  }

  .page-hero .hero-sub {
    font-size: 17px
  }

  .legal-section h2 {
    font-size: 23px;
    padding-left: 14px
  }

  .legal-section ol>li {
    padding-left: 38px
  }

  .callout {
    padding: 16px 18px
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 18px 36px
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start
  }

  .footer-creds img {
    height: 52px
  }

  .cta {
    padding: 48px 0
  }

  .cta-actions {
    width: 100%
  }

  .cta-actions .button {
    width: 100%;
    justify-content: center
  }
}

@media (max-width:380px) {
  .brand img {
    width: 160px
  }
}