/* Layout for the secondary pages (privacy, terms, thank-you, 404). Matches the home page tokens. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream: #F9F5EF; --warm-white: #FDFAF6; --navy: #1C2B3A; --navy-light: #2D4357;
  --gold: #C4973A; --gold-light: #E8C47A; --gold-pale: #F5EDD8;
  --gold-text: #876419;   /* gold that passes WCAG AA as small text on light backgrounds */
  --text: #1C2B3A; --text-mid: #4A5F72; --text-light: #566878; --border: #E2D9CC;
  --shadow: rgba(28, 43, 58, .10);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif; background: var(--warm-white); color: var(--text);
  line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: inherit; }

/* Header */
.page-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 48px; background: rgba(253, 250, 246, .94);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 500;
  color: var(--navy); letter-spacing: .01em; text-decoration: none;
}
.nav-logo span { color: var(--gold-text); }
.nav-cta {
  background: var(--navy); color: #fff; padding: 10px 22px; border-radius: 6px;
  font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--navy-light); transform: translateY(-1px); }
.page-nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-link {
  font-size: 14px; color: var(--text-mid); text-decoration: none; letter-spacing: .02em;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.nav-link:hover, .nav-link[aria-current] { color: var(--navy); border-color: var(--gold); }

/* Breadcrumbs */
.breadcrumbs { font-size: 13px; color: var(--text-light); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li + li::before { content: '›'; margin-right: 8px; color: var(--text-light); }
.breadcrumbs a { color: var(--text-mid); text-decoration: none; border-bottom: 1px solid var(--border); }
.breadcrumbs a:hover { color: var(--navy); border-color: var(--gold); }
.breadcrumbs [aria-current] { color: var(--text-mid); }

/* Legal / prose pages */
.page-hero { background: var(--cream); border-bottom: 1px solid var(--border); padding: 48px 48px 40px; }
.page-hero-inner, .prose { max-width: 760px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 10px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif; font-weight: 500; color: var(--navy);
  font-size: clamp(32px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 12px;
}
.page-hero p { color: var(--text-mid); font-size: 15px; }
.prose { padding: 44px 48px 72px; }
.prose h2 {
  font-family: 'Playfair Display', serif; font-weight: 500; color: var(--navy);
  font-size: 24px; line-height: 1.25; margin: 40px 0 12px; scroll-margin-top: 90px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16px; font-weight: 500; color: var(--navy); margin: 22px 0 8px; }
.prose p, .prose li { font-size: 15px; color: var(--text-mid); line-height: 1.75; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--navy); font-weight: 500; }
.prose a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose .note {
  background: var(--gold-pale); border-left: 3px solid var(--gold); border-radius: 8px;
  padding: 14px 18px; margin: 18px 0;
}

/* Centered message pages (thank-you, 404) */
.message {
  max-width: 640px; margin: 0 auto; padding: 88px 28px 96px; text-align: center;
}
.message .big {
  font-family: 'Playfair Display', serif; font-size: 88px; line-height: 1;
  color: var(--gold-text); font-style: italic; margin-bottom: 12px;
}
.message h1 {
  font-family: 'Playfair Display', serif; font-weight: 500; color: var(--navy);
  font-size: clamp(30px, 4.4vw, 44px); line-height: 1.15; margin-bottom: 16px;
}
.message h1 em { color: var(--gold-text); }
.message p { color: var(--text-mid); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }
.message-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--navy); color: #fff; padding: 15px 30px; border-radius: 8px;
  font-size: 15px; font-weight: 500; text-decoration: none; display: inline-block;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(28, 43, 58, .22); }
.btn-outline {
  color: var(--navy); padding: 14px 28px; border-radius: 8px; border: 1.5px solid var(--border);
  font-size: 15px; font-weight: 500; text-decoration: none; display: inline-block; transition: border-color .2s;
}
.btn-outline:hover { border-color: var(--gold); }
.link-list { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; }
.link-list a { color: var(--text-mid); font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--border); }
.link-list a:hover { color: var(--navy); border-color: var(--gold); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 4px; }

/* Footer (same as home) */
footer {
  background: #111C26; padding: 44px 36px 30px;
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.footer-top { width: 100%; max-width: 920px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 18px; color: rgba(255, 255, 255, .9); text-decoration: none; }
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; }
.footer-links a, .footer-links button { font-size: 13px; color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-links button:hover { color: var(--gold-light); }
.footer-divider { width: min(100%, 920px); height: 1px; background: rgba(255, 255, 255, .08); }
.footer-copy { font-size: 13px; color: rgba(255, 255, 255, .62); }

@media (max-width: 640px) {
  .page-nav { padding: 14px 20px; }
  .nav-logo { font-size: 17px; }
  .nav-cta { padding: 9px 16px; }
  .page-hero { padding: 36px 20px 30px; }
  .prose { padding: 32px 20px 56px; }
  .message { padding: 64px 20px 72px; }
  .message .big { font-size: 68px; }
  .message-actions a { width: 100%; text-align: center; }
  footer { padding: 32px 20px 24px; }
  .footer-links { gap: 12px 18px; }
}
