/* ============ PRESTIGE — SHARED MARKETING ============ */
/* Shared by /about, /press, /careers, /contact (Tier 2 Trust pages) */

:root {
  --navy: #0F172A;
  --navy-deep: #080D1A;
  --navy-card: #0c1428;
  --navy-elev: #131e3d;
  --gold: #D4AF37;
  --gold-soft: #E5C75A;
  --gold-deep: #B8932A;
  --gold-glow: rgba(212,175,55,0.15);
  --ink: #F8FAFC;
  --ink-muted: #94A3B8;
  --ink-dim: #64748B;
  --divider: rgba(212,175,55,0.18);
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.12);
  --border-input: rgba(255,255,255,0.08);
  --red: #ef4444;
  --red-soft: #f87171;
  --emerald: #10b981;
  --emerald-soft: #34d399;
  --amber: #f59e0b;
  --blue: #60a5fa;
  --purple: #a78bfa;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max: 1200px;
  --max-narrow: 880px;
  --max-prose: 720px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ============ TYPE ============ */
.display { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; font-size: clamp(2.4rem, 4.8vw, 4.4rem); }
.display-1 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; font-size: clamp(2.8rem, 5.4vw, 4.8rem); }
.display-2 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; font-size: clamp(2rem, 3.6vw, 3.2rem); }
.display-3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.gold-text { color: var(--gold); font-style: italic; font-weight: 500; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow.gold { color: var(--gold); }
.tm, .reg { font-size: 0.55em; vertical-align: 0.55em; font-weight: 400; opacity: .85; }

/* ============ LAYOUT ============ */
.section { padding: 120px 24px; position: relative; }
.section.tight { padding: 80px 24px; }
.section.center { text-align: center; }
.container { max-width: var(--max); margin: 0 auto; position: relative; }
.container.narrow { max-width: var(--max-narrow); }
.container.prose { max-width: var(--max-prose); }
.section-header { margin-bottom: 64px; max-width: 820px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub {
  color: var(--ink-muted);
  font-size: 1.1rem;
  margin-top: 18px;
  max-width: 640px;
  line-height: 1.6;
}
.section-header.center .section-sub { margin-left: auto; margin-right: auto; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(8,13,26,0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 700;
}
.brand-mark { display: inline-flex; }
.brand-text {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.22em;
  color: var(--ink);
}
.brand-tm { font-size: 9px; vertical-align: 0.85em; color: var(--gold); letter-spacing: 0; margin-left: 1px; }
.nav-links { display: flex; gap: 28px; font-size: 13px; color: var(--ink-muted); }
.nav-links a { transition: color .2s; position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--gold); }
.nav-links a.is-active { color: var(--gold); }
.nav-links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--gold);
}
.muted-link { color: var(--ink-dim); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  border: none;
  white-space: nowrap;
  font-family: inherit;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.4), 0 8px 24px rgba(212,175,55,0.16);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.6), 0 0 36px rgba(212,175,55,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(212,175,55,0.4);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(212,175,55,0.05); }
.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
}
.btn-ghost:hover { color: var(--gold); }
.btn .spinner {
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  display: none;
}
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }
.arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ PAGE HERO ============ */
.page-hero {
  position: relative;
  padding: 180px 24px 80px;
  overflow: hidden;
}
.page-hero.tall { padding: 200px 24px 120px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.bg-glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 70vh; height: 70vh;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.bg-grid {
  position: absolute; inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(212,175,55,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; }
.page-hero .lede {
  color: var(--ink-muted);
  font-size: 1.2rem;
  max-width: 640px;
  margin-top: 22px;
  line-height: 1.6;
}
.page-hero .lede strong { color: var(--ink); font-weight: 600; }

/* ============ CARDS ============ */
.card {
  background: rgba(12,20,40,0.6);
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 32px;
  transition: all .3s ease;
}
.card:hover {
  border-color: rgba(212,175,55,0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.card.tight { padding: 24px; }
.card-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  opacity: 0.6;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 12px;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.card-body {
  color: var(--ink-muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ============ FORM ELEMENTS (compact set, reuses auth tokens) ============ */
.field-group { display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: flex; flex-direction: column; }
.field-label {
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  display: flex; align-items: center; justify-content: space-between;
}
.field-label .field-optional { color: var(--ink-dim); font-size: 10px; letter-spacing: 0.08em; text-transform: none; font-weight: 400; }
.field-input, .field-select, .field-textarea {
  width: 100%;
  background: rgba(8,13,26,0.6);
  border: 1px solid var(--border-input);
  border-radius: 9px;
  padding: 13px 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  outline: none;
}
.field-input::placeholder, .field-textarea::placeholder { color: var(--ink-dim); }
.field-input:hover, .field-select:hover, .field-textarea:hover { border-color: rgba(212,175,55,0.3); }
.field-input:focus, .field-select:focus, .field-textarea:focus {
  border-color: rgba(212,175,55,0.6);
  background: rgba(8,13,26,0.9);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.08);
}
.field-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field-textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field-help { font-size: 11px; color: var(--ink-dim); margin-top: 6px; }

.checkbox-field {
  display: flex; align-items: flex-start; gap: 11px;
  cursor: pointer; user-select: none;
  font-size: 13px; color: var(--ink-muted); line-height: 1.5;
}
.checkbox-field input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox-box {
  width: 18px; height: 18px; border-radius: 4px;
  border: 1px solid var(--border-input);
  background: rgba(8,13,26,0.6);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px; transition: all .2s;
}
.checkbox-field input:checked + .checkbox-box {
  background: var(--gold); border-color: var(--gold);
}
.checkbox-box svg { opacity: 0; transform: scale(0.6); transition: all .2s; color: var(--navy-deep); }
.checkbox-field input:checked + .checkbox-box svg { opacity: 1; transform: scale(1); }
.checkbox-field a { color: var(--gold); }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--delay, 0s);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-deep);
  padding: 60px 24px 36px;
  border-top: 1px solid var(--divider);
}
.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.fc-title {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-cols ul { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-cols a { color: var(--ink-muted); transition: color .2s; }
.footer-cols a:hover { color: var(--gold); }
.footer-bottom { max-width: var(--max); margin: 0 auto; }
.footer-bottom p { font-size: 11px; color: var(--ink-dim); line-height: 1.7; max-width: 1000px; }
.footer-bottom strong { color: var(--ink-muted); }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(8,13,26,0.95);
  border: 1px solid rgba(16,185,129,0.4);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: all .3s ease;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { color: var(--emerald); }

/* ============ DISCLAIMER BLOCK ============ */
.compliance-foot {
  margin-top: 56px;
  padding: 18px 22px;
  background: rgba(8,13,26,0.4);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 11.5px;
  color: var(--ink-dim);
  line-height: 1.65;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.compliance-foot strong { color: var(--ink-muted); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 80px 20px; }
  .page-hero { padding: 130px 20px 60px; }
}
@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
