:root {
  --navy: #07182d;
  --navy-2: #0d2744;
  --ink: #102239;
  --gold: #c7a25a;
  --gold-light: #e6cb91;
  --cream: #f7f4ed;
  --white: #fff;
  --muted: #607083;
  --line: rgba(16,34,57,.14);
  --shadow: 0 24px 70px rgba(7,24,45,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 16px/1.72 Arial, Helvetica, sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: white;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 28px rgba(7,24,45,.07);
}
.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: block; text-decoration: none; }
.brand img { width: 112px; height: auto; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-link {
  color: var(--navy);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-decoration: none;
}
.book-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}
.lang {
  border: 1px solid rgba(7,24,45,.3);
  border-radius: 999px;
  padding: 8px 12px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font: 800 .76rem/1 Arial, sans-serif;
  letter-spacing: .08em;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 82px;
  background: var(--navy);
  color: white;
}
.legal-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  top: -210px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(199,162,90,.28);
  border-radius: 50%;
}
.legal-hero .container { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}
h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -.04em;
}
.hero-lead {
  max-width: 740px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 1.08rem;
}

.legal-wrap {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
  padding: 74px 0 100px;
}
.toc {
  position: sticky;
  top: 116px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--cream);
}
.toc strong {
  display: block;
  margin-bottom: 13px;
  color: var(--navy);
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.35;
  text-decoration: none;
}
.toc a:hover, .toc a:focus { color: #8a6527; }
.legal-copy[hidden] { display: none; }
.legal-copy { max-width: 790px; }
.effective {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: .9rem;
}
.notice {
  margin-bottom: 38px;
  padding: 23px 25px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  color: var(--navy);
  font-weight: 700;
}
.legal-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.legal-section:first-of-type { border-top: 0; }
.legal-section h2 {
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -.025em;
}
.legal-section p { margin: 16px 0 0; }
.legal-section ul { margin: 16px 0 0; padding-left: 22px; }
.legal-section li + li { margin-top: 8px; }
.legal-section a { color: #7c5a20; font-weight: 700; }
.contact-card {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(199,162,90,.5);
  background: var(--navy);
  color: white;
}
.contact-card a { color: var(--gold-light); }

footer {
  padding: 30px 0;
  background: #041120;
  color: rgba(255,255,255,.62);
  font-size: .8rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a { color: var(--gold-light); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

@media (max-width: 800px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 34px; padding-top: 50px; }
  .toc { position: static; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav { min-height: 76px; }
  .brand img { width: 94px; }
  .nav-link { display: none; }
  .book-link { padding-inline: 11px; }
  .legal-hero { padding: 66px 0 62px; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
