/* ============================================
   TreasuryOS — Institutional Landing Theme
   Bloomberg-meets-modern-SaaS design language
   ============================================ */

:root {
  --navy:       #0B1929;
  --navy-mid:   #0F2540;
  --navy-light: #152D4A;
  --gold:       #B8912A;
  --gold-light: #D4AC4A;
  --gold-pale:  #F0E4C8;
  --cream:      #F8F6F1;
  --cream-mid:  #F0EDE6;
  --charcoal:   #1C2C3E;
  --slate:      #5A6B7D;
  --mist:       #9AAAB8;
  --rule:       rgba(11, 25, 41, 0.08);
  --rule-dark:  rgba(255, 255, 255, 0.08);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── TYPOGRAPHY HELPERS ─────────────────────── */
.serif { font-family: 'Playfair Display', Georgia, serif; }
.gold  { color: var(--gold); }
.muted { color: var(--slate); }
.uppercase {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── NAVIGATION ──────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid var(--rule-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  height: 64px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--gold-light);
  font-weight: 400;
  margin-left: 6px;
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover { color: rgba(255,255,255,0.9); }

.nav-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy) !important;
  background: var(--gold);
  padding: 9px 20px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

/* ── HERO ───────────────────────────────────── */
.hero {
  min-height: calc(100vh - 64px);
  background-color: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Subtle left gold rule — institutional accent */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 0;
  width: 2px;
  height: 80%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.4;
  pointer-events: none;
}

/* Bottom fade to cream */
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to top, var(--cream), transparent);
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 64px 200px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(48px, 6.5vw, 80px);
  font-weight: 700;
  line-height: 1.06;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 72px;
}

/* ── HERO ACTIONS ───────────────────────────── */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 96px;
}

.btn-gold {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-gold:hover { background: var(--gold-light); color: var(--navy); }

.btn-outline {
  display: inline-block;
  padding: 13px 36px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}

.btn-outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

/* ── HERO STATS STRIP ───────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--rule-dark);
  padding-top: 48px;
  gap: 0;
}

.stat {
  padding-right: 56px;
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--gold-light);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,0.1);
  margin-right: 56px;
  flex-shrink: 0;
}

/* ── MANIFESTO ──────────────────────────────── */
.manifesto {
  background-color: var(--cream);
  padding: 96px 64px;
}

.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.manifesto-body {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.manifesto-body:last-child { margin-bottom: 0; }

.manifesto-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  line-height: 1.55;
  border-left: 2px solid var(--gold);
  padding-left: 28px;
}

.manifesto-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ── FEATURES ───────────────────────────────── */
.features {
  background-color: var(--cream-mid);
  padding: 96px 64px;
}

.features-header {
  max-width: 1100px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.section-sub {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 300;
  color: var(--slate);
  max-width: 520px;
  line-height: 1.65;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature-card {
  background-color: var(--cream);
  padding: 44px 40px;
  border: 1px solid var(--rule);
  border-right: none;
}

.feature-card:last-child { border-right: 1px solid var(--rule); }

.feature-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.7;
}

/* ── HOW IT WORKS ────────────────────────────── */
.process {
  background-color: var(--cream);
  padding: 96px 64px;
}

.process-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  align-items: stretch;
  margin-top: 72px;
}

.step {
  flex: 1;
  border: 1px solid var(--rule);
  padding: 40px 36px;
  background: var(--cream-mid);
  position: relative;
  border-right: none;
}

.step:last-child { border-right: 1px solid var(--rule); }

.step-number {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.65;
}

.step-arrow {
  color: var(--gold);
  display: flex;
  align-items: center;
  padding: 0 20px;
  flex-shrink: 0;
  font-size: 18px;
  border: 1px solid var(--rule);
  border-right: none;
  background: var(--cream);
}

.step-arrow:last-child { display: none; }

/* ── WHO IT'S FOR ────────────────────────────── */
.audience {
  background-color: var(--navy);
  color: #fff;
  padding: 96px 64px;
}

.audience-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.audience .section-title {
  color: #fff;
  margin-bottom: 56px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.audience-item {
  padding: 44px 44px;
  border: 1px solid var(--rule-dark);
  border-right: none;
  border-bottom: none;
}

.audience-item:nth-child(2n) { border-right: 1px solid var(--rule-dark); }
.audience-item:nth-child(n+3) { border-bottom: 1px solid var(--rule-dark); }

.audience-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.audience-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.audience-body {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ── TEAM ────────────────────────────────────── */
.team {
  background-color: var(--cream);
  padding: 96px 64px;
}

.team-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
}

.team-card {
  padding: 40px 36px;
  border: 1px solid var(--rule);
  border-right: none;
  text-align: center;
  background: var(--cream);
}

.team-card:last-child { border-right: 1px solid var(--rule); }

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 24px;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--gold-light);
  border: 2px solid var(--gold-pale);
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.team-bio {
  font-size: 13px;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.6;
}

/* ── CLOSING CTA ──────────────────────────────── */
.closing {
  background-color: var(--navy);
  padding: 112px 64px 128px;
}

.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.closing-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.closing-sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto 72px;
  line-height: 1.75;
}

.closing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.closing-divider {
  width: 1px;
  height: 48px;
  background: var(--gold);
  margin: 0 auto 56px;
}

.closing-note {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  font-style: italic;
}

/* ── FOOTER ──────────────────────────────────── */
.footer {
  background-color: var(--navy-mid);
  border-top: 1px solid var(--rule-dark);
  color: rgba(255,255,255,0.35);
  padding: 40px 64px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

.footer-tagline {
  font-size: 12px;
  margin-top: 2px;
  color: rgba(255,255,255,0.3);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 960px) {
  .nav { padding: 0 32px; }
  .nav-links { gap: 24px; }

  .hero-inner { padding: 80px 32px 160px; }

  .manifesto,
  .features,
  .process,
  .audience,
  .team,
  .closing,
  .footer { padding-left: 32px; padding-right: 32px; }

  .manifesto-inner { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { border-right: 1px solid var(--rule); border-bottom: none; }
  .feature-card:last-child { border-bottom: 1px solid var(--rule); }

  .process-steps { flex-direction: column; }
  .step { border-right: 1px solid var(--rule); border-bottom: none; }
  .step:last-child { border-bottom: 1px solid var(--rule); }
  .step-arrow { display: none; }

  .audience-grid { grid-template-columns: 1fr; }
  .audience-item { border-right: 1px solid var(--rule-dark); }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card:nth-child(2n) { border-right: 1px solid var(--rule); }
  .team-card:nth-child(n+3) { border-top: 1px solid var(--rule); border-bottom: none; }
  .team-card:nth-child(2n):nth-child(n+3) { border-right: none; }
  .team-card:last-child { border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }

  .hero-stats { flex-wrap: wrap; gap: 32px; }
  .stat-divider { display: none; }

  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
}