/* ============================================================
   Aurelian Reserve — Shared Marketing Page Shell
   Used by: about, careers, press, privacy, terms, disclosures,
            audit (and any future standalone marketing pages).
   ============================================================ */

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

:root {
  --bg: #f5f1ea;
  --bg-alt: #ebe5d9;
  --bg-soft: #f0ebe1;
  --ink: #1a1714;
  --ink-soft: #4a443c;
  --ink-muted: #8a8175;
  --line: #d6cfc1;
  --line-soft: #e3ddd0;
  --gold: #8a6a2e;
  --gold-deep: #6b5121;
  --gold-light: #c9a558;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }
@media (min-width: 1200px) { .container { padding: 0 56px; } }

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container-narrow { padding: 0 40px; } }

/* ============================================================
   Top notice bar + Header (mirrors index.html)
   ============================================================ */
.topbar {
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid var(--gold);
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.topbar-left { display: flex; align-items: center; gap: 10px; opacity: 0.85; }
.topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar-right span { display: flex; align-items: center; gap: 8px; opacity: 0.85; }
.topbar svg { width: 12px; height: 12px; }
@media (max-width: 768px) {
  .topbar-right span:not(:last-child) { display: none; }
}

header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 32px; height: 32px;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  position: relative;
}
.logo-mark::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--ink); }
.logo-mark::after {
  content: "A";
  font-family: var(--serif); font-size: 13px; font-weight: 500;
  position: relative; z-index: 1;
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none; font-size: 14px; font-weight: 400; letter-spacing: 0.01em;
}
.nav-links a { color: var(--ink-soft); transition: color 0.2s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--ink); color: var(--bg);
  font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--gold-deep); }
.nav-cta svg { width: 14px; height: 14px; }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .nav-cta { padding: 9px 14px; font-size: 11px; letter-spacing: 0.05em; gap: 6px; }
  .nav-cta svg { width: 12px; height: 12px; }
  .logo { font-size: 18px; gap: 10px; }
  .logo-mark { width: 28px; height: 28px; }
}

/* ============================================================
   Page hero
   ============================================================ */
.page-hero {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 768px) {
  .page-hero { padding: 56px 0 36px; }
}
.page-hero .crumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 22px;
}
.page-hero .crumbs a { transition: color 0.2s ease; }
.page-hero .crumbs a:hover { color: var(--ink); }
.page-hero .crumbs svg {
  width: 12px; height: 12px;
  stroke: var(--ink-muted); fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 28px;
}
.page-hero .eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 400; line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 18ch;
}
.page-hero h1 em { font-style: italic; font-weight: 300; color: var(--gold-deep); }
.page-hero p.lead {
  font-size: 18px; line-height: 1.55;
  color: var(--ink-soft); max-width: 620px;
}
@media (max-width: 480px) {
  .page-hero p.lead { font-size: 16px; }
}
.page-hero-meta {
  margin-top: 40px;
  display: flex; gap: 56px; flex-wrap: wrap;
}
.page-hero-meta-item {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted);
}
.page-hero-meta-item strong {
  display: block; margin-top: 6px;
  font-family: var(--serif); font-size: 16px; font-weight: 500;
  letter-spacing: 0; text-transform: none; color: var(--ink);
}

/* ============================================================
   Body content
   ============================================================ */
.page-body {
  padding: 72px 0;
}
@media (max-width: 768px) {
  .page-body { padding: 48px 0; }
}

.prose h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 400; line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 56px 0 20px;
  scroll-margin-top: 100px;
}
.prose h2 em { font-style: italic; color: var(--gold-deep); font-weight: 300; }
.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--serif);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em;
  margin: 36px 0 14px;
}

.prose p {
  font-size: 16px; line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 18px;
  max-width: 68ch;
}
.prose p strong { color: var(--ink); font-weight: 500; }
.prose p a {
  color: var(--ink); border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease;
}
.prose p a:hover { border-color: var(--ink); }

.prose ul {
  list-style: none;
  margin: 18px 0 22px;
  padding-left: 0;
  max-width: 68ch;
}
.prose ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 16px; line-height: 1.7;
  color: var(--ink-soft);
}
.prose ul li::before {
  content: "";
  position: absolute; left: 0; top: 12px;
  width: 12px; height: 1px;
  background: var(--gold-deep);
}

.prose blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--bg-alt);
  border-left: 2px solid var(--gold-deep);
  font-family: var(--serif); font-style: italic;
  font-size: 18px; line-height: 1.55;
  color: var(--ink);
  max-width: 68ch;
}

.prose .effective-date {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

/* Two-column section split */
.split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  margin-bottom: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.split:first-of-type { padding-top: 0; border-top: none; }
.split-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.split-label {
  font-family: var(--serif);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; margin-bottom: 36px; }
  .split-label { font-size: 20px; }
}

/* Card grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-cell {
  background: var(--bg);
  padding: 36px 32px;
}
.card-cell .card-eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 20px;
}
.card-cell h4 {
  font-family: var(--serif);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.card-cell p {
  font-size: 14px; line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 768px) {
  .card-grid, .card-grid.three { grid-template-columns: 1fr; }
  .card-cell { padding: 28px 22px; }
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 -1px;
}
.stat-cell {
  background: var(--bg);
  padding: 36px 28px;
}
.stat-cell-num {
  font-family: var(--serif);
  font-size: 44px; font-weight: 400;
  letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 6px;
}
.stat-cell-num sup {
  font-size: 17px; color: var(--gold-deep);
  font-style: italic; font-weight: 300; margin-left: 2px;
}
.stat-cell-label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted);
}
@media (max-width: 768px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
}

/* CTA block */
.cta-block {
  margin-top: 72px;
  padding: 56px 48px;
  background: var(--ink);
  color: var(--bg);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245, 241, 234, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 234, 0.04) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.cta-block h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400; line-height: 1.05;
  letter-spacing: -0.02em;
  position: relative;
}
.cta-block h2 em { font-style: italic; color: var(--gold-light); font-weight: 300; }
.cta-block-action { position: relative; }
.cta-block-action a {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  background: var(--bg); color: var(--ink);
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  transition: all 0.25s ease;
}
.cta-block-action a:hover { background: var(--gold-light); color: var(--ink); }
.cta-block-action a svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.25s ease;
}
.cta-block-action a:hover svg { transform: translateX(3px); }
@media (max-width: 768px) {
  .cta-block { grid-template-columns: 1fr; padding: 40px 28px; gap: 28px; }
}

/* TOC sidebar (used on legal pages) */
.legal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 980px) {
  .legal-grid { grid-template-columns: 1fr; gap: 24px; }
}
.toc {
  position: sticky; top: 110px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
@media (max-width: 980px) {
  .toc { position: static; padding-top: 0; border-top: none; }
}
.toc-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 18px;
}
.toc ol {
  list-style: none; counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  font-size: 14px;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 12px;
}
.toc a { color: var(--ink-soft); transition: color 0.2s ease; line-height: 1.4; }
.toc a:hover { color: var(--ink); }

/* ============================================================
   Footer (mirrors index.html exactly)
   ============================================================ */
footer.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .logo { color: var(--bg); margin-bottom: 20px; }
.footer-brand .logo-mark { border-color: var(--bg); }
.footer-brand .logo-mark::before { border-color: var(--bg); }
.footer-brand p {
  font-size: 14px; line-height: 1.65;
  color: rgba(245, 241, 234, 0.6);
  max-width: 320px;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(245, 241, 234, 0.5);
  margin-bottom: 20px; font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 14px;
  color: rgba(245, 241, 234, 0.85);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(245, 241, 234, 0.15);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  font-size: 12px; color: rgba(245, 241, 234, 0.5);
  letter-spacing: 0.04em;
}
.footer-bottom-right { display: flex; gap: 24px; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
