@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Barlow:wght@300;400;500;600&display=swap');

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

:root {
  --navy:       #001f3d;
  --navy-mid:   #0a2e52;
  --blue:       #1a56a0;
  --blue-vivid: #1a6abf;
  --blue-light: #e6eff9;
  --ink:        #001428;
  --ink-mid:    #2e4a63;
  --ink-soft:   #5c7a96;
  --paper:      #f4f6f9;
  --white:      #ffffff;
  --border:     rgba(0,30,60,0.09);
  --border-mid: rgba(0,30,60,0.16);
  --radius:     2px;
  --radius-lg:  4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.1; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0 6%;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.brand { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: white; text-decoration: none; }
.brand span { color: #5fa3e0; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; flex-wrap: wrap; }
.nav-links a { font-size: 12px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: white; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 11px 26px; border-radius: var(--radius); text-decoration: none; transition: all 0.18s; cursor: pointer; border: none; }
.btn-primary { background: var(--blue-vivid); color: white; }
.btn-primary:hover { background: #0f4d8f; }
.btn-ghost { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.08); }
.btn-white { background: white; color: var(--blue-vivid); }
.btn-white:hover { background: #f0f4ff; }
.btn-ghost-white { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.45); }
.btn-ghost-white:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-lg { padding: 14px 34px; font-size: 12px; }

/* SECTION PRIMITIVES */
.section { padding: 88px 6%; max-width: 1240px; margin: 0 auto; }
.section-wide { padding: 88px 6%; }

.s-tag { font-family: 'Barlow', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.s-tag::before { content: ''; width: 24px; height: 1px; background: var(--blue); flex-shrink: 0; }
.s-tag-light { color: #5fa3e0; }
.s-tag-light::before { background: #5fa3e0; }

.s-title { font-size: clamp(26px, 3.5vw, 42px); font-weight: 700; color: var(--navy); margin-bottom: 14px; letter-spacing: -0.01em; }
.s-title em { font-style: italic; color: var(--blue); }
.s-title-light { color: white; }
.s-title-light em { color: #5fa3e0; }

.s-sub { font-size: 17px; color: var(--ink-mid); font-weight: 300; max-width: 560px; line-height: 1.8; }
.s-sub-light { color: rgba(255,255,255,0.45); }

/* GRID PRIMITIVES */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border-mid); }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--border-mid); }
.grid-halves { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* CARD PRIMITIVES */
.card-white { background: white; padding: 36px 30px; transition: background 0.2s; }
.card-white:hover { background: var(--paper); }
.card-navy { background: var(--navy); padding: 36px 30px; transition: background 0.2s; }
.card-navy:hover { background: var(--navy-mid); }

.card-top-bar { position: relative; }
.card-top-bar::after { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--blue-vivid); transition: width 0.3s; }
.card-top-bar:hover::after { width: 100%; }

/* STEP NUMBER */
.step-num { font-family: 'Playfair Display', serif; font-size: 88px; font-weight: 700; color: var(--blue-light); line-height: 1; position: absolute; top: 12px; right: 18px; letter-spacing: -0.03em; pointer-events: none; }
.step-bar { width: 32px; height: 3px; background: var(--blue-vivid); margin-bottom: 20px; }

/* STAT BOX */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.07); margin-top: 32px; }
.stat-box { background: var(--navy); padding: 22px 20px; transition: background 0.2s; }
.stat-box:hover { background: var(--navy-mid); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 700; color: #5fa3e0; line-height: 1; margin-bottom: 5px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.35); font-weight: 300; line-height: 1.5; }

/* FEATURE LIST */
.f-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.f-list li { font-size: 13px; color: var(--ink-mid); display: flex; align-items: flex-start; gap: 10px; }
.f-list li::before { content: '—'; color: var(--blue-vivid); font-weight: 600; flex-shrink: 0; }

/* CTA BAND */
.cta-band { background: var(--blue-vivid); }
.cta-band-inner { max-width: 860px; margin: 0 auto; padding: 96px 6%; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 3.5vw, 44px); font-weight: 700; color: white; margin-bottom: 16px; line-height: 1.1; }
.cta-band h2 em { font-style: italic; opacity: 0.72; }
.cta-band p { font-size: 17px; color: rgba(255,255,255,0.6); margin-bottom: 36px; font-weight: 300; line-height: 1.8; }
.cta-band-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-sub { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.4); }
.cta-sub a { color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 500; }
.cta-sub a:hover { color: white; }

/* FOOTER */
footer { background: var(--ink); padding: 64px 6% 36px; }
.footer-inner { max-width: 1240px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: white; margin-bottom: 10px; }
.footer-brand span { color: #5fa3e0; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.26); line-height: 1.7; font-weight: 300; max-width: 240px; }
.footer-col h4 { font-family: 'Barlow', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 10px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.2s; font-weight: 300; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 22px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.18); }

/* PAGE HERO (inner pages) */
.page-hero { background: var(--navy); padding: 80px 6% 72px; }
.page-hero-inner { max-width: 1240px; margin: 0 auto; }
.page-hero .eyebrow { font-family: 'Barlow', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #5fa3e0; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.page-hero .eyebrow::before { content: ''; width: 28px; height: 1px; background: #5fa3e0; flex-shrink: 0; }
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; color: white; line-height: 1.05; margin-bottom: 18px; }
.page-hero h1 em { font-style: italic; color: #5fa3e0; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.55); font-weight: 300; line-height: 1.8; max-width: 600px; margin-bottom: 32px; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .grid-3, .grid-2, .grid-halves { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

@keyframes fadeUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
.fu { animation: fadeUp 0.65s ease-out both; }
.fu1 { animation-delay: 0.08s; } .fu2 { animation-delay: 0.18s; } .fu3 { animation-delay: 0.3s; }
