:root {
  --navy: #0f2350;
  --navy-2: #1b3a7c;
  --gold: #d4a12a;
  --gold-dark: #b8860f;
  /* gold is too light for text on white (2.4:1) — use gold-ink for type and rules */
  --gold-ink: #8a6410;
  --blue-gray: #e8eef4;
  --surface: #f7f9fb;
  --white: #ffffff;
  --text: #152638;
  --muted: #607080;
  --line: #d9e2eb;
  --amber: #b8860f;
  --shadow: 0 24px 70px rgba(15, 35, 80, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 249, 251, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 226, 235, 0.8);
}

.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.brand-mark { display: block; flex: none; width: 38px; height: 38px; background: url("assets/logo-mark.svg") center / contain no-repeat; }
.nav-menu { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 650; color: #31465a; }
.nav-menu a:hover { color: var(--navy-2); }
.nav-cta { padding: 10px 16px; border-radius: 999px; background: var(--navy); color: white !important; box-shadow: 0 12px 30px rgba(11, 31, 51, 0.18); }
.nav-toggle { display: none; border: 1px solid var(--line); background: white; border-radius: 999px; padding: 10px 14px; font-weight: 700; color: var(--navy); }

.hero { overflow: hidden; background: radial-gradient(circle at 82% 18%, rgba(212, 161, 42, 0.16), transparent 34%), linear-gradient(180deg, #ffffff, #f5f8fb); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 58px; align-items: center; }
.eyebrow { display: inline-flex; color: var(--gold-ink); font-weight: 800; font-size: 12px; letter-spacing: 0.11em; text-transform: uppercase; margin-bottom: 14px; }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.08; letter-spacing: -0.045em; }
h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 20px; }
p { margin: 0; color: var(--muted); }
.lead { margin-top: 24px; font-size: clamp(18px, 2vw, 21px); color: #42576b; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; white-space: nowrap; border: 1px solid transparent; }
/* navy type on gold, not white — white on gold is 2.4:1 and fails AA */
.button.primary { background: var(--gold); color: var(--navy); box-shadow: 0 18px 38px rgba(212, 161, 42, 0.30); }
.button.primary:hover { background: #e3b445; }
.button.secondary { background: white; color: var(--navy); border-color: var(--line); }
.button.secondary.dark { background: rgba(255,255,255,0.08); color: white; border-color: rgba(255,255,255,0.22); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.trust-row span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.72); color: #40566a; font-size: 13px; font-weight: 700; }

.dashboard-card { background: rgba(255,255,255,0.82); border: 1px solid rgba(217, 226, 235, 0.94); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
.mock-header { display: flex; gap: 7px; margin-bottom: 20px; }
.mock-header span { width: 10px; height: 10px; border-radius: 50%; background: #cbd7e2; }
.score-panel { display: flex; justify-content: space-between; gap: 18px; padding: 22px; border-radius: 20px; color: white; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.score-panel strong { display: block; font-size: 18px; }
.score-panel span { color: #b9c9d8; font-size: 14px; }
.score { font-size: 42px; font-weight: 800; letter-spacing: -0.06em; }
.maturity-bars { display: grid; gap: 16px; margin: 24px 0; }
.maturity-bars div { display: grid; gap: 7px; font-size: 13px; font-weight: 800; color: #344b60; }
.maturity-bars div::after { content: ""; grid-row: 2; height: 9px; border-radius: 999px; background: #e5edf4; }
.maturity-bars b { position: relative; z-index: 1; grid-row: 2; height: 9px; border-radius: 999px; background: linear-gradient(90deg, var(--navy-2), var(--gold)); }
.deadline-card { padding: 15px; border: 1px solid #f0d8b8; border-radius: 16px; color: #6a4817; background: #fff7eb; font-weight: 750; }
.amber-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); margin-right: 8px; }

.split { display: grid; grid-template-columns: 0.9fr 1fr; gap: 56px; align-items: start; }
.problem { background: var(--white); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading p { margin-top: 14px; font-size: 18px; }
.section-heading.compact { max-width: 860px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .panel, .mini-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 0 12px 34px rgba(11,31,51,0.05); }
.card p, .mini-card p { margin-top: 12px; }
.workflow-section { background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.workflow-section h2, .workflow-section .eyebrow { color: white; }
.workflow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.workflow div { min-height: 160px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: white; }
.workflow strong { display: block; font-size: 18px; margin-bottom: 10px; }
.workflow span { color: #c8d7e3; font-size: 14px; }
.three-column { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.panel { min-height: 300px; }
.panel p { margin-top: 16px; }
.panel.accent { background: linear-gradient(160deg, #ffffff, #f7eed9); }
.final-cta { padding-top: 30px; }
.cta-box { display: flex; justify-content: space-between; gap: 32px; align-items: center; padding: 42px; border-radius: 30px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); box-shadow: var(--shadow); }
.cta-box h2, .cta-box p, .cta-box .eyebrow { color: white; }
.cta-box p { color: #c9d8e2; margin-top: 12px; }

.page-hero { padding: 76px 0 48px; background: linear-gradient(180deg, #ffffff, #f7f9fb); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 820px; }
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price { font-size: 38px; font-weight: 800; color: var(--navy); letter-spacing: -0.05em; margin: 20px 0; }
.list { padding: 0; margin: 20px 0 0; list-style: none; display: grid; gap: 10px; color: #43596d; }
.list li::before { content: "+"; color: var(--gold-ink); font-weight: 900; margin-right: 8px; }
.form-box { max-width: 760px; background: white; border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
label { display: grid; gap: 7px; font-weight: 750; color: var(--navy); font-size: 14px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; font: inherit; background: white; color: var(--text); }
textarea { min-height: 120px; resize: vertical; }
.full { grid-column: 1 / -1; }
.login-shell { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 60px 20px; background: radial-gradient(circle at 70% 10%, rgba(212,161,42,0.16), transparent 35%), var(--surface); }
.login-card { width: min(460px, 100%); background: white; border: 1px solid var(--line); border-radius: 28px; padding: 34px; box-shadow: var(--shadow); }

.footer { padding: 54px 0; background: #08132e; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr; gap: 30px; }
/* .footer a { display: block } below would otherwise stack the mark above the wordmark */
.footer .brand { display: inline-flex; color: white; }
.footer strong { color: white; }
.footer .brand-mark { background-image: url("assets/logo-mark-light.svg"); }
.footer p, .footer a { display: block; color: #aebfce; margin-top: 10px; font-size: 14px; }
/* beats `.footer a { display: block }` on specificity so icon and label sit on one line */
.footer .social-link { display: inline-flex; align-items: center; gap: 8px; color: #d8e5f0; font-weight: 700; }
.footer .social-link:hover { color: var(--gold); }
.footer .social-link svg { flex: none; }
.tagline { margin-top: 12px !important; color: var(--gold) !important; font-size: 11px !important; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: absolute; inset: 76px 20px auto; display: none; flex-direction: column; align-items: stretch; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
  .nav-menu.open { display: flex; }
  .hero-grid, .split, .content-grid { grid-template-columns: 1fr; }
  .feature-grid, .three-column, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow { grid-template-columns: repeat(3, 1fr); }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 62px 0; }
  .feature-grid, .three-column, .pricing-grid, .workflow, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .dashboard-card, .cta-box, .login-card { border-radius: 22px; padding: 22px; }
  h1 { font-size: 40px; }
}
