@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy-950: #060a16;
  --navy-900: #0c142c;
  --navy-800: #111b38;
  --navy-700: #172448;
  --navy-600: #1e2e58;
  --ivory: #f4efe4;
  --ivory-2: #ece4d2;
  --ink: #0c142c;
  --ink-muted: rgba(12, 20, 44, 0.62);
  --ink-line: rgba(12, 20, 44, 0.14);
  --gold-500: #d4af37;
  --gold-400: #e2c463;
  --gold-600: #a9822b;
  --white: #f4f6fb;
  --muted: #93a0bd;
  --gold-dim: rgba(212, 175, 55, 0.08);
  --gold-border: rgba(212, 175, 55, 0.28);
  --green: #6fcf97;
  --red: #ff8a80;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .nav-logo, .logo-mark, .statement-headline, .index-num { font-family: var(--font-display); }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 10, 22, 0.94);
  border-bottom: 1px solid var(--ink-line);
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1.5px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--gold-500);
  transition: right var(--transition);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active::after { right: 0; }

.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--gold-500) !important;
  color: var(--navy-950) !important;
  padding: 0.6rem 1.4rem;
  font-weight: 700 !important;
  border-radius: 2px;
  transition: background var(--transition) !important;
}

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

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; background: none; border: 0; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--gold-500); }

main { padding-top: 76px; position: relative; z-index: 1; }

/* SECTION THEMES */
section { padding: 6rem 2rem; position: relative; }
.container { max-width: 1200px; margin: 0 auto; }

.section-light { background: var(--ivory); color: var(--ink); }
.section-light .section-desc,
.section-light p { color: var(--ink-muted); }
.section-light .section-label { color: var(--gold-600); }
.section-light .section-label::before { background: var(--gold-600); }
.section-light h2.section-title em,
.section-light .statement-headline em { color: var(--gold-600); }
.section-light .index-row { border-color: var(--ink-line); }
.section-light .index-num { color: var(--gold-600); }
.section-light .index-title { color: var(--ink); }
.section-light .btn-primary { background: var(--ink); color: var(--white); }
.section-light .btn-primary:hover { background: #000; }
.section-light .btn-secondary { border-color: var(--ink-line); color: var(--ink); }
.section-light .btn-secondary:hover { border-color: var(--gold-600); color: var(--gold-600); background: rgba(169, 130, 43, 0.06); }
.section-light .card { background: #fff; border-color: var(--ink-line); }
.section-light .card h3 { color: var(--ink); }
.section-light .card p, .section-light .card li { color: var(--ink-muted); }
.section-light .divider { background: var(--ink-line); }
.section-light .stat-num { color: var(--ink); }
.section-light .framework-ticker { border-color: var(--ink-line); color: var(--ink-muted); }
.section-light .framework-ticker .dot { background: var(--gold-600); }

.section-gold { background: var(--gold-500); color: var(--navy-950); }
.section-gold .section-desc { color: rgba(6, 10, 22, 0.72); }
.section-gold .btn-primary { background: var(--navy-950); color: var(--white); }
.section-gold .btn-primary:hover { background: #000; }

/* SECTION LABEL */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-500);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before { content: ''; width: 28px; height: 1px; background: var(--gold-500); }

h2.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 1rem;
}
h2.section-title em { font-style: normal; color: var(--gold-500); }

.section-desc { color: var(--muted); font-size: 1rem; max-width: 620px; line-height: 1.75; margin-bottom: 3rem; }

/* HERO — full-width statement, no side panel */
.hero-statement { padding: 9rem 2rem 4rem; position: relative; overflow: hidden; }

.hero-statement::before {
  content: attr(data-mark);
  position: absolute;
  top: -4rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: min(22rem, 24vw);
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.hero-statement .container { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-500);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold-500); }

.statement-headline {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
  max-width: 900px;
}
.statement-headline em { font-style: normal; color: var(--gold-500); }

.hero-desc-lg {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

/* FRAMEWORK TICKER */
.framework-ticker {
  border-top: 1px solid var(--ink-line, rgba(244,246,251,0.14));
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.framework-ticker span { display: flex; align-items: center; gap: 1.4rem; }
.framework-ticker .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-500); flex-shrink: 0; }

/* BUTTONS — square-ish, flat, no glow */
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 0.9rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover { background: var(--gold-400); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(244, 246, 251, 0.24);
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-secondary:hover { border-color: var(--gold-500); color: var(--gold-500); }

/* INDEX ROWS — replaces glow-card grids for lists of items */
.index-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(244, 246, 251, 0.12);
  transition: padding-left var(--transition);
}
.index-row:last-child { border-bottom: 1px solid rgba(244, 246, 251, 0.12); }
.index-row:hover { padding-left: 0.5rem; }

.index-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-500);
  letter-spacing: -0.02em;
}

.index-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  display: inline-block;
  position: relative;
}

.index-row p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; max-width: 640px; }

/* STEPPER — connected horizontal steps */
.stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}
.stepper::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 0; right: 0;
  height: 1px;
  background: rgba(244, 246, 251, 0.15);
}
.step-item { position: relative; padding-right: 1.5rem; }
.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 1.5px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold-500);
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
}
.step-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-item p { color: var(--muted); font-size: 0.85rem; line-height: 1.55; }

/* CARDS (used on inner pages) — flat, thin border, underline on hover instead of lift+glow */
.card {
  background: var(--navy-800);
  border: 1px solid rgba(244, 246, 251, 0.1);
  border-radius: 3px;
  padding: 2rem;
  transition: border-color var(--transition);
}
.card:hover { border-color: var(--gold-500); }

.card-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold-500);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }

.card ul.outcomes { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.card ul.outcomes li { font-size: 0.82rem; color: var(--muted); padding-left: 1rem; position: relative; }
.card ul.outcomes li::before { content: '—'; position: absolute; left: 0; color: var(--gold-500); }

/* GRID LAYOUTS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.split-2-asym { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }

.divider { height: 1px; background: rgba(244, 246, 251, 0.1); margin: 0; }

/* BIG NUMERAL BLOCKS (Echelon Advantage style) */
.numeral-block { display: flex; gap: 1.75rem; align-items: flex-start; }
.numeral-block .big-num {
  font-size: 2.75rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-500);
  line-height: 1;
  flex-shrink: 0;
  width: 70px;
}
.numeral-block h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.numeral-block p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

/* STAT ROW */
.stat-row { display: flex; gap: 3rem; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; gap: 0.35rem; }
.stat-num { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; color: var(--white); }
.stat-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

/* TAG LIST */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tag-list span {
  border: 1px solid rgba(244, 246, 251, 0.18);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-radius: 2px;
}
.section-light .tag-list span { border-color: var(--ink-line); color: var(--ink-muted); }

/* STEP (used on secure-by-design / services detail pages) */
.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-500);
  flex-shrink: 0;
}
.step-title { font-weight: 700; margin-bottom: 0.35rem; }
.step-desc { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

/* FOOTER */
footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(244, 246, 251, 0.1);
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 1;
}
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--muted); font-size: 0.875rem; line-height: 1.7; margin-top: 1rem; max-width: 280px; }
.footer-col h4 { font-size: 0.75rem; font-weight: 700; color: var(--gold-500); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.875rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-500); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 2rem;
  border-top: 1px solid rgba(244, 246, 251, 0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--muted); flex-wrap: wrap; gap: 1rem;
}

/* FORMS */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
label { font-size: 0.75rem; font-weight: 600; color: var(--gold-500); letter-spacing: 0.06em; text-transform: uppercase; }
input, textarea, select {
  background: var(--navy-700);
  border: 1px solid rgba(244, 246, 251, 0.16);
  border-radius: 2px;
  padding: 0.875rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  width: 100%;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold-500); }
input::placeholder, textarea::placeholder { color: rgba(147, 160, 189, 0.6); }
textarea { resize: vertical; min-height: 120px; }
select option { background: var(--navy-800); }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* NAV — switch to hamburger before the full link row has a chance to wrap */
@media (max-width: 1010px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 76px; left: 0; right: 0;
    background: var(--navy-950);
    padding: 2rem;
    border-bottom: 1px solid rgba(244, 246, 251, 0.1);
    gap: 1.5rem;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split-2, .split-2-asym { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stepper { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stepper::before { display: none; }
  .index-row { grid-template-columns: 60px 1fr; gap: 1rem; }
  .hero-statement::before { display: none; }
  .stat-row { gap: 2rem; }
}

/* ACCESSIBILITY + UTILITIES (site review, Oct 2026) */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}
input:focus-visible, textarea:focus-visible, select:focus-visible { box-shadow: 0 0 0 2px var(--gold-dim); }
section[id] { scroll-margin-top: 96px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold-500); color: var(--navy-950); padding: 0.75rem 1.25rem; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.info-card { background: var(--navy-800); border: 1px solid var(--gold-border); border-radius: 10px; padding: 1.75rem; margin-bottom: 1.5rem; }
.info-label { font-size: 0.7rem; font-weight: 700; color: var(--gold-500); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.expect-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.expect-list li { display: flex; gap: 0.75rem; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.expect-list li span { color: var(--gold-500); flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 768px) {
  .cols-2 { grid-template-columns: 1fr; }
  section { padding: 4rem 1.25rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: 1fr; }
  nav { padding: 0 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-in { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
