:root {
  --navy: #0c2e5d;
  --navy-deep: #071d3a;
  --blue: #133e76;
  --gold: #c9a35d;
  --gold-light: #e5c98b;
  --graphite: #2f3542;
  --ink: #172033;
  --muted: #667085;
  --white: #ffffff;
  --surface: #f7f8fa;
  --line: #dde2e9;
  --container: 1120px;
  --serif: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
section[id] { scroll-margin-top: 102px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 6px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.topbar { color: rgba(255,255,255,.78); background: var(--navy-deep); font-size: .78rem; letter-spacing: .07em; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar p { margin: 0; }
.topbar strong { color: var(--gold-light); }
.topbar a { text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(12,46,93,.09);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); text-decoration: none; }
.brand-symbol { width: 47px; height: 47px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.03rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.brand-descriptor { margin-top: 7px; color: #8b6421; font-size: .6rem; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 21px; }
.back-link { color: var(--navy); font-size: .88rem; font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--blue); }
.btn {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 7px;
  font-size: .89rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover { background: var(--blue); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn:focus-visible, .back-link:focus-visible, .toc a:focus-visible, .content-card a:focus-visible {
  outline: 3px solid rgba(201,163,93,.48);
  outline-offset: 3px;
}
.legal-hero {
  position: relative;
  color: var(--white);
  background: radial-gradient(circle at 82% 5%, rgba(19,62,118,.85), transparent 38%), linear-gradient(115deg, var(--navy-deep), var(--navy));
  overflow: hidden;
}
.legal-hero::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 210px;
  right: -100px;
  bottom: -155px;
  border: 2px solid rgba(229,201,139,.4);
  border-radius: 50%;
  transform: rotate(-7deg);
}
.legal-hero-inner { position: relative; z-index: 1; padding-block: 78px 82px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: rgba(255,255,255,.62); font-size: .78rem; }
.breadcrumbs a { color: var(--gold-light); text-decoration: none; }
.legal-kicker { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 15px; color: var(--gold-light); font-size: .73rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.legal-kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.legal-hero h1 { max-width: 850px; margin-bottom: 17px; font-family: var(--serif); font-size: clamp(2.35rem, 5vw, 4.35rem); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
.legal-hero p { max-width: 760px; margin-bottom: 0; color: rgba(255,255,255,.73); font-size: 1rem; }
.updated { display: inline-block; margin-top: 24px; padding-top: 13px; color: rgba(255,255,255,.72); border-top: 1px solid rgba(255,255,255,.17); font-size: .8rem; }
.legal-main { padding-block: 76px 100px; }
.legal-grid { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 46px; align-items: start; }
.toc {
  position: sticky;
  top: 105px;
  padding: 24px 22px;
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: 0 14px 35px rgba(7,29,58,.07);
}
.toc-title { display: block; margin-bottom: 15px; color: var(--navy); font-family: var(--serif); font-size: .93rem; font-weight: 700; }
.toc ol { margin: 0; padding-left: 20px; color: #9b742f; }
.toc li + li { margin-top: 8px; }
.toc a { color: var(--muted); font-size: .79rem; line-height: 1.4; text-decoration: none; }
.toc a:hover { color: var(--navy); }
.content-card { padding: 52px 56px 60px; background: var(--white); box-shadow: 0 20px 55px rgba(7,29,58,.08); }
.intro-box { margin-bottom: 42px; padding: 23px 25px; color: var(--graphite); background: #f1f5f9; border-left: 4px solid var(--gold); }
.intro-box p { margin: 0; font-size: .92rem; }
.policy-section + .policy-section { margin-top: 44px; padding-top: 43px; border-top: 1px solid var(--line); }
.policy-section h2 { margin-bottom: 16px; color: var(--navy); font-family: var(--serif); font-size: clamp(1.45rem, 2.3vw, 2rem); line-height: 1.25; }
.policy-section h3 { margin: 25px 0 10px; color: var(--graphite); font-size: 1rem; }
.policy-section p { margin-bottom: 15px; color: #4e5768; }
.policy-section ul { margin: 14px 0 0; padding-left: 22px; color: #4e5768; }
.policy-section li + li { margin-top: 9px; }
.policy-section a { color: var(--blue); font-weight: 650; }
.policy-section a:hover { color: var(--navy); }
.data-table { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: .87rem; }
.data-table th, .data-table td { padding: 15px 16px; text-align: left; vertical-align: top; border: 1px solid var(--line); }
.data-table th { color: var(--navy); background: #f1f5f9; }
.data-table td { color: #4e5768; }
.security-note { margin-top: 22px; padding: 21px 23px; color: var(--navy); background: #fffaf0; border: 1px solid #ead6a9; }
.security-note strong { display: block; margin-bottom: 4px; font-family: var(--serif); }
.security-note p { margin: 0; color: #5d5548; font-size: .9rem; }
.contact-card { margin-top: 25px; padding: 27px; color: var(--white); background: var(--navy); }
.contact-card strong { display: block; margin-bottom: 6px; color: var(--gold-light); font-family: var(--serif); font-size: 1.05rem; }
.contact-card p { margin: 0 0 17px; color: rgba(255,255,255,.73); }
.contact-card .btn { color: var(--navy-deep); background: var(--gold); border-color: var(--gold); }
.contact-card .btn:hover { background: var(--gold-light); }
.site-footer { color: rgba(255,255,255,.66); background: #06172e; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 42px; align-items: center; padding-block: 42px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo { width: 58px; height: 58px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand strong { display: block; color: var(--white); font-family: var(--serif); font-size: .95rem; }
.footer-brand p { margin: 3px 0 0; font-size: .76rem; }
.footer-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 20px; }
.footer-links a { color: rgba(255,255,255,.72); font-size: .78rem; font-weight: 650; text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--gold-light); }
.legal-socials { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.social-button {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.social-button:hover { background: rgba(201,163,93,.13); border-color: var(--gold); transform: translateY(-2px); }
.social-button svg { width: 17px; height: 17px; color: var(--gold-light); }

@media (max-width: 860px) {
  .legal-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { columns: 2; column-gap: 30px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-actions { align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
  .legal-socials { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topbar { display: none; }
  .header-inner { min-height: 70px; }
  .brand-symbol { width: 41px; height: 41px; }
  .brand-name { font-size: .84rem; }
  .brand-descriptor { display: none; }
  .back-link { display: none; }
  .header-actions .btn { min-height: 43px; padding: 10px 13px; font-size: .78rem; }
  .legal-hero-inner { padding-block: 58px 62px; }
  .legal-hero h1 { font-size: 2.35rem; }
  .legal-main { padding-block: 48px 72px; }
  .legal-grid { gap: 24px; }
  .toc { padding: 21px 19px; }
  .toc ol { columns: 1; }
  .content-card { padding: 33px 23px 40px; }
  .policy-section + .policy-section { margin-top: 35px; padding-top: 34px; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table tr { border: 1px solid var(--line); }
  .data-table tr + tr { margin-top: 12px; }
  .data-table th, .data-table td { border: 0; }
  .data-table th { padding-bottom: 5px; }
  .data-table td { padding-top: 6px; }
  .footer-brand { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition-duration: .01ms !important; } }
