/* ==========================================================================
   Atlas Touchs — Reference & Benchmark Desk
   Global stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #0b1a2c;
  --navy-800: #10243c;
  --navy-700: #1a3352;
  --navy-600: #26496e;
  --navy-500: #35608c;

  --gold-600: #9d7a2c;
  --gold-500: #c8a24a;
  --gold-300: #e2c884;
  --gold-100: #fdf6e6;

  --ink-900: #16202b;
  --ink-700: #34424f;
  --ink-500: #5a6b7c;
  --ink-400: #7b8b9b;

  --line-200: #dbe2ea;
  --line-100: #eef2f6;
  --bg-000: #ffffff;
  --bg-050: #f7f9fb;
  --bg-100: #f3f5f8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 36, 60, .06), 0 2px 8px rgba(16, 36, 60, .05);
  --shadow-md: 0 4px 14px rgba(16, 36, 60, .08), 0 12px 34px rgba(16, 36, 60, .07);
  --shadow-lg: 0 18px 50px rgba(16, 36, 60, .14);

  --wrap: 1180px;
  --gap: 28px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--bg-000);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.22;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--navy-600);
  text-decoration: none;
  transition: color .22s var(--ease);
}
a:hover { color: var(--gold-600); }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }

strong { color: var(--navy-800); font-weight: 600; }

::selection { background: var(--gold-300); color: var(--navy-900); }

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

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(56px, 8vw, 104px) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-050);
  border-top: 1px solid var(--line-100);
  border-bottom: 1px solid var(--line-100);
}

.section-head {
  max-width: 800px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}

.section-sub {
  color: var(--ink-500);
  font-size: 1.06rem;
  margin: 0;
}

.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: var(--gold-100);
  border: 1px solid #f0e2bd;
  border-radius: var(--radius-pill);
  padding: 6px 15px;
  margin: 0 0 16px;
}

.kicker-light {
  color: var(--gold-300);
  background: rgba(200, 162, 74, .14);
  border-color: rgba(200, 162, 74, .32);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy-800);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-200);
  box-shadow: 0 4px 22px rgba(16, 36, 60, .07);
  background: rgba(255, 255, 255, .96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-800);
  flex-shrink: 0;
}
.brand:hover { color: var(--navy-800); }

.brand-mark {
  color: var(--gold-500);
  display: inline-flex;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.14rem;
  color: var(--navy-800);
  letter-spacing: -.01em;
}

.brand-text em {
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-400);
  font-weight: 600;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav li { margin: 0; }

.primary-nav a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-700);
  white-space: nowrap;
  transition: background .22s var(--ease), color .22s var(--ease);
}

.primary-nav a:hover {
  background: var(--bg-100);
  color: var(--navy-800);
}

.nav-cta {
  background: var(--navy-800) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
}
.nav-cta:hover { background: var(--navy-600) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 12% -10%, #1d3a5c 0%, transparent 60%),
    radial-gradient(900px 480px at 92% 8%, #23456a 0%, transparent 62%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 45%, #16304d 100%);
  color: #d9e2ec;
  padding: clamp(64px, 9vw, 118px) 0 clamp(56px, 7vw, 96px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 162, 74, .20) 0%, transparent 68%);
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(-26px, 30px, 0); }
}

.hero-inner { position: relative; z-index: 2; max-width: 950px; }

.hero .eyebrow {
  color: var(--gold-300);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hero h1 { color: #fff; margin-bottom: 22px; }

.hero h1 .accent {
  color: var(--gold-300);
  position: relative;
  white-space: nowrap;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: #b9c8d8;
  max-width: 720px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 54px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .24s var(--ease), background .24s var(--ease),
              color .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 8px 26px rgba(200, 162, 74, .30);
}
.btn-primary:hover {
  background: var(--gold-300);
  color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(200, 162, 74, .38);
}

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .26);
  color: #e8eef5;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero-stats li {
  margin: 0;
  background: rgba(11, 26, 44, .55);
  padding: 22px 20px;
  text-align: center;
  transition: background .3s var(--ease);
}
.hero-stats li:hover { background: rgba(26, 51, 82, .75); }

.hero-stats .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1.1;
}

.hero-stats .lbl {
  display: block;
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #93a8bd;
  font-weight: 600;
  margin-top: 6px;
}

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
}

.split-reverse .split-art { order: -1; }

.split-copy h3:not(:first-child) { margin-top: 1.6em; }

.split-art {
  margin: 0;
  background: var(--bg-100);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.split-art svg { width: 100%; }

.split-art figcaption {
  font-size: .84rem;
  color: var(--ink-400);
  text-align: center;
  margin-top: 14px;
  font-style: italic;
}

.text-link {
  display: inline-block;
  font-weight: 600;
  font-size: .95rem;
  margin-top: 8px;
  border-bottom: 2px solid var(--gold-300);
  padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: var(--gold-600); }

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
  background: var(--bg-000);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #c9d6e3;
}

.card h3 { margin-bottom: .5em; }

.card p {
  font-size: .95rem;
  color: var(--ink-500);
  margin: 0;
}

.card-lg { padding: 32px 28px; }

.card-lg p { margin-bottom: 1em; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-100);
  color: var(--gold-600);
  border: 1px solid #f0e2bd;
  margin-bottom: 18px;
}

/* ---------- Ticks and crosses ---------- */
.ticks,
.crosses {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .93rem;
}

.ticks li,
.crosses li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-500);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(-45deg);
}

.crosses li::before {
  content: "\00d7";
  position: absolute;
  left: 2px;
  top: -.05em;
  color: #c2674f;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}

.ticks-lg li { font-size: .97rem; }

/* ---------- Numbered list ---------- */
.numbered {
  list-style: none;
  padding: 0;
  counter-reset: num;
}

.numbered li {
  counter-increment: num;
  position: relative;
  padding-left: 44px;
  margin-bottom: 14px;
}

.numbered li::before {
  content: counter(num);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  font-family: var(--font-body);
}

/* ---------- Callout ---------- */
.callout {
  margin-top: var(--gap);
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  color: #c8d6e4;
  border-radius: var(--radius-md);
  padding: 34px 36px;
  position: relative;
  overflow: hidden;
}

.callout::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 162, 74, .22) 0%, transparent 70%);
}

.callout h3 { color: #fff; margin-bottom: .5em; position: relative; }
.callout p { margin: 0; position: relative; max-width: 860px; }
.callout strong { color: var(--gold-300); }

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 2px solid var(--line-200);
  margin-left: 12px;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  padding: 22px 0 22px 30px;
  margin: 0;
  transition: background .3s var(--ease);
}

.timeline li:hover { background: var(--bg-050); }

.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 32px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-000);
  border: 3px solid var(--gold-500);
  transition: transform .3s var(--ease), background .3s var(--ease);
}

.timeline li:hover::before {
  transform: scale(1.18);
  background: var(--gold-500);
}

.tl-index {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--line-200);
  line-height: 1;
  padding-top: 4px;
  transition: color .3s var(--ease);
}

.timeline li:hover .tl-index { color: var(--gold-300); }

.timeline h3 { font-size: 1.1rem; margin-bottom: .3em; }
.timeline p { font-size: .95rem; color: var(--ink-500); margin: 0; }

/* ---------- Table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  background: var(--bg-000);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: .92rem;
}

.data-table caption {
  caption-side: top;
  text-align: left;
  padding: 20px 22px 4px;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-400);
  font-weight: 700;
}

.data-table thead th {
  text-align: left;
  background: var(--navy-800);
  color: #dbe6f1;
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 15px 22px;
  font-weight: 700;
  white-space: nowrap;
}

.data-table tbody th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--navy-800);
  padding: 16px 22px;
  background: var(--bg-050);
  white-space: nowrap;
}

.data-table td {
  padding: 16px 22px;
  border-top: 1px solid var(--line-100);
  color: var(--ink-500);
  vertical-align: top;
}

.data-table tbody tr { transition: background .22s var(--ease); }
.data-table tbody tr:hover { background: #fbfcfe; }

.data-table tbody tr:hover th { background: #eff3f8; }

.table-note {
  margin-top: 20px;
  font-size: .9rem;
  color: var(--ink-400);
  font-style: italic;
  max-width: 900px;
}

/* ---------- Side panel ---------- */
.side-panel {
  background: var(--bg-000);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
}

.side-panel h3 {
  font-size: 1.05rem;
  margin-bottom: .7em;
  padding-bottom: .5em;
  border-bottom: 1px solid var(--line-100);
}

.side-panel .mt { margin-top: 1.8em; }

/* ---------- Steps ---------- */
.step {
  background: var(--bg-000);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  height: 100%;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 18px;
}

.step h3 { font-size: 1rem; margin-bottom: .45em; }
.step p { font-size: .89rem; color: var(--ink-500); margin: 0; }

/* ---------- Glossary ---------- */
.glossary dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-200);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.glossary dl > div {
  background: var(--bg-000);
  padding: 22px 26px;
  transition: background .25s var(--ease);
}

.glossary dl > div:hover { background: var(--bg-050); }

.glossary dt {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-800);
  font-size: 1.05rem;
  margin-bottom: .3em;
}

.glossary dd {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-500);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--bg-000);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.faq details[open] {
  border-color: #cfdae6;
  box-shadow: var(--shadow-md);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 54px 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--navy-800);
  position: relative;
  transition: color .22s var(--ease);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold-500);
  transition: transform .3s var(--ease);
  line-height: 1;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq summary:hover { color: var(--navy-600); }

.faq details p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--ink-500);
  font-size: .95rem;
  animation: faqIn .3s var(--ease);
}

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Contact band ---------- */
.contact-band {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 58px);
  color: #c3d2e1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-band::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 162, 74, .18) 0%, transparent 70%);
}

.contact-band > * { position: relative; z-index: 1; }

.contact-band h2 { color: #fff; margin-bottom: .5em; }

.contact-band p { font-size: 1rem; max-width: 620px; }

.contact-mail {
  margin-top: 22px;
  font-size: 1.05rem;
}

.contact-mail a {
  color: var(--gold-300);
  font-weight: 600;
  border-bottom: 2px solid rgba(226, 200, 132, .4);
  padding-bottom: 2px;
}
.contact-mail a:hover { color: #fff; border-bottom-color: #fff; }

.contact-facts {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, .13);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
}

.contact-facts > div {
  background: rgba(11, 26, 44, .52);
  padding: 15px 22px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.contact-facts span {
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8ea6bd;
  font-weight: 600;
  flex-shrink: 0;
}

.contact-facts strong {
  color: #e8eef5;
  font-weight: 600;
  font-size: .92rem;
  text-align: right;
}

/* ---------- Disclaimer box ---------- */
.disclaimer-box {
  background: var(--bg-000);
  border: 1px solid var(--line-200);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
  max-width: 960px;
  margin: 0 auto;
}

.disclaimer-box h2 {
  font-size: 1.4rem;
  margin-bottom: .6em;
}

.disclaimer-box p {
  font-size: .95rem;
  color: var(--ink-500);
}

.disclaimer-box strong { color: var(--navy-800); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #93a8bd;
  padding: clamp(48px, 6vw, 76px) 0 0;
  font-size: .92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: 48px;
}

.brand-footer { color: #e8eef5; margin-bottom: 18px; }
.brand-footer:hover { color: #fff; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text em { color: #7b90a7; }

.footer-note {
  font-size: .88rem;
  color: #7b90a7;
  max-width: 380px;
  line-height: 1.65;
}

.footer-col h3 {
  color: #dbe6f1;
  font-family: var(--font-body);
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: #93a8bd;
  font-size: .9rem;
  transition: color .22s var(--ease), padding-left .22s var(--ease);
}

.footer-col a:hover {
  color: var(--gold-300);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-top: 24px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: .84rem;
  color: #6d8298;
}

.footer-bottom p { margin: 0; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-200);
  background: #fff;
  color: var(--navy-800);
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease),
              visibility .3s var(--ease), background .25s var(--ease), color .25s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--navy-800);
  color: #fff;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Legal pages ---------- */
.legal-hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, #16304d 100%);
  color: #b9c8d8;
  padding: clamp(52px, 7vw, 88px) 0 clamp(44px, 6vw, 68px);
  position: relative;
  overflow: hidden;
}

.legal-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 162, 74, .16) 0%, transparent 70%);
}

.legal-hero .wrap { position: relative; z-index: 1; }
.legal-hero h1 { color: #fff; margin-bottom: .35em; }
.legal-hero p { margin: 0; font-size: 1rem; max-width: 700px; }
.legal-hero .kicker { margin-bottom: 14px; }

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 26px;
  font-size: .86rem;
  color: #8ea6bd;
}
.legal-meta span strong { color: #dbe6f1; font-weight: 600; }

.legal-body {
  padding: clamp(48px, 6vw, 80px) 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--bg-050);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  font-size: .9rem;
}

.legal-toc h2 {
  font-family: var(--font-body);
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 16px;
}

.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
  margin: 0;
}

.legal-toc li {
  counter-increment: toc;
  margin-bottom: 10px;
}

.legal-toc a {
  display: block;
  color: var(--ink-500);
  position: relative;
  padding-left: 0;
  font-size: .89rem;
  transition: color .22s var(--ease), padding-left .22s var(--ease);
}

.legal-toc a::before {
  content: counter(toc) ".";
  color: var(--gold-500);
  font-weight: 700;
  margin-right: 7px;
}

.legal-toc a:hover {
  color: var(--navy-800);
  padding-left: 4px;
}

.legal-content { max-width: 780px; }

.legal-content section {
  margin-bottom: 44px;
  scroll-margin-top: 100px;
}

.legal-content h2 {
  font-size: 1.4rem;
  padding-bottom: .45em;
  border-bottom: 1px solid var(--line-200);
  margin-bottom: .9em;
}

.legal-content h3 {
  font-size: 1.06rem;
  margin-top: 1.6em;
  margin-bottom: .5em;
}

.legal-content p,
.legal-content li { font-size: .96rem; color: var(--ink-500); }

.legal-content ul { padding-left: 1.3em; }

.legal-content li { margin-bottom: .55em; }

.legal-note {
  background: var(--bg-050);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: .92rem;
  color: var(--ink-500);
}

.legal-note strong { color: var(--navy-800); }

.legal-contact {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  color: #c3d2e1;
  border-radius: var(--radius-md);
  padding: 32px 34px;
  margin-top: 16px;
}

.legal-contact h2 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .18);
}

.legal-contact a { color: var(--gold-300); font-weight: 600; }
.legal-contact a:hover { color: #fff; }

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .93rem;
  margin-top: 28px;
  color: var(--navy-600);
}
.back-home:hover { color: var(--gold-600); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-note { max-width: 100%; }
}

@media (max-width: 980px) {
  .split,
  .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-art { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-band { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 20px;
  }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line-200);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .38s var(--ease);
  }

  .primary-nav.is-open { max-height: 560px; }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 22px;
  }

  .primary-nav a {
    padding: 13px 14px;
    border-radius: var(--radius-sm);
    font-size: .98rem;
    border-bottom: 1px solid var(--line-100);
  }

  .primary-nav li:last-child a { border-bottom: 0; }
  .nav-cta { margin-top: 12px; text-align: center; }

  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .glossary dl { grid-template-columns: 1fr; }

  .timeline li { grid-template-columns: 56px 1fr; padding-left: 22px; }

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

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

  .wrap { padding: 0 18px; }

  .grid-4,
  .grid-3,
  .grid-5 { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }

  .hero-stats { grid-template-columns: 1fr; }

  .callout { padding: 26px 22px; }

  .contact-band { padding: 28px 22px; }
  .contact-facts > div { flex-direction: column; gap: 4px; }
  .contact-facts strong { text-align: left; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }

  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }

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

  .disclaimer-box { padding: 24px 20px; }

  .split-art { padding: 16px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .to-top,
  .hero-actions,
  .contact-band { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .hero,
  .legal-hero { background: none; color: #000; }
  .hero h1,
  .legal-hero h1 { color: #000; }
  a { text-decoration: underline; }
}