:root {
  --bg: #f7f4ee;
  --surface: #fffaf2;
  --surface-2: #ede6da;
  --ink: #102337;
  --ink-soft: #43576d;
  --muted: #6f7d8a;
  --line: rgba(16, 35, 55, 0.12);
  --brand: #0f2b46;
  --brand-2: #173e63;
  --brand-3: #0a2137;
  --accent: #df7a2d;
  --accent-2: #b95618;
  --success: #286a4f;
  --warning: #9a5b00;
  --shadow: 0 24px 80px rgba(13, 33, 52, 0.13);
  --shadow-soft: 0 14px 42px rgba(13, 33, 52, 0.07);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(223, 122, 45, 0.08), transparent 24rem),
    radial-gradient(circle at 96% 20%, rgba(15, 43, 70, 0.08), transparent 30rem),
    var(--bg);
  font-family: var(--font);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(13, 33, 52, 0.04);
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: var(--accent);
  font-weight: 900;
  letter-spacing: -0.06em;
  box-shadow: 0 12px 28px rgba(15, 43, 70, 0.22);
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.95;
}
.logo-text span:last-child {
  color: var(--muted);
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 720;
}
.nav a {
  white-space: nowrap;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { white-space: nowrap; min-width: max-content; }
.menu-toggle { display: none; }
.mobile-nav { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(223, 122, 45, 0.45);
  outline-offset: 3px;
}
.btn-primary {
  color: white;
  background: var(--brand);
  box-shadow: 0 16px 34px rgba(15, 43, 70, 0.24);
}
.btn-primary:hover { background: var(--brand-3); color: white; }
.btn-secondary {
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 16px 34px rgba(223, 122, 45, 0.2);
}
.btn-secondary:hover { background: #ef8d3e; color: var(--ink); }
.btn-outline {
  background: rgba(255, 250, 242, 0.64);
  border-color: rgba(17, 37, 58, 0.18);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--accent); background: rgba(223, 122, 45, 0.1); }
.btn-light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: white;
}
.btn-light:hover { background: white; color: var(--brand); }
.btn-small { min-height: 38px; padding: 10px 14px; font-size: 0.9rem; }

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 75% 20%, rgba(223,122,45,0.24), transparent 32%), linear-gradient(135deg, #102943 0%, #173f62 48%, #0f2b46 100%);
  color: white;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -14rem;
  bottom: -18rem;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.hero-inner {
  position: relative;
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 52px;
  align-items: center;
  padding: 92px 0;
  z-index: 1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.08);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow.dark {
  color: var(--accent-2);
  background: rgba(223, 122, 45, 0.12);
  border-color: rgba(223, 122, 45, 0.2);
}
h1, h2, h3, h4, p { margin-top: 0; }
h1 {
  margin-bottom: 20px;
  max-width: 1000px;
  font-size: clamp(2.45rem, 5vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}
.hero-copy p {
  max-width: 720px;
  color: rgba(255,255,255,0.8);
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 26px;
}
.micro-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.76);
  font-size: 0.95rem;
}
.micro-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.micro-trust span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--accent);
}
.hero-panel {
  position: relative;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 30px;
  padding: 24px;
  background: rgba(255,255,255,0.11);
  box-shadow: 0 30px 90px rgba(0,0,0,0.22);
  backdrop-filter: blur(18px);
}
.dashboard-card {
  border-radius: 24px;
  overflow: hidden;
  background: #fffaf2;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.dashboard-head p { color: var(--muted); margin: 3px 0 0; font-size: 0.92rem; }
.status-pill {
  align-self: start;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(40, 106, 79, 0.1);
  color: var(--success);
  font-weight: 900;
  font-size: 0.75rem;
  white-space: nowrap;
}
.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}
.signal {
  padding: 20px;
  background: var(--surface);
}
.signal strong {
  display: block;
  font-size: 1.44rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.signal span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.87rem;
}
.dashboard-note {
  padding: 18px 20px 20px;
  color: var(--ink-soft);
  background: linear-gradient(135deg, rgba(223, 122, 45, 0.12), rgba(15, 43, 70, 0.04));
}

.section { padding: 92px 0; }
.section.compact { padding: 64px 0; }
.section.alt { background: var(--surface); }
.section.dark {
  background: linear-gradient(135deg, var(--brand), #10253b);
  color: white;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}
.section-head.center { display: block; text-align: center; max-width: 850px; margin: 0 auto 38px; }
h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.7vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}
h3 { margin-bottom: 10px; font-size: 1.35rem; letter-spacing: -0.035em; }
.lede { color: var(--ink-soft); font-size: 1.08rem; max-width: 720px; }
.section.dark .lede, .section.dark p, .section.dark .muted { color: rgba(255,255,255,0.72); }

.path-grid, .card-grid, .service-grid, .feature-grid, .proof-grid {
  display: grid;
  gap: 18px;
}
.path-grid { grid-template-columns: repeat(5, 1fr); }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.service-grid { grid-template-columns: repeat(4, 1fr); }
.feature-grid { grid-template-columns: repeat(2, 1fr); }
.proof-grid { grid-template-columns: repeat(3, 1fr); }

.card, .path-card, .service-card, .feature-card, .form-card, .quote-card, .proof-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.card, .path-card, .service-card, .feature-card, .proof-card { padding: 24px; }
.path-card { min-height: 178px; display: flex; flex-direction: column; justify-content: space-between; }
.path-card:hover, .card:hover, .service-card:hover, .proof-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); transition: 180ms ease; color: inherit; }
.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: rgba(223, 122, 45, 0.14);
  color: var(--accent-2);
  font-weight: 900;
}
.path-card p, .card p, .service-card p, .feature-card p, .proof-card p { margin-bottom: 0; color: var(--muted); }
.arrow { margin-top: 18px; color: var(--accent-2); font-weight: 900; }

.proof-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.42rem;
  letter-spacing: -0.04em;
}
.proof-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,43,70,0.08);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
}

.visual-frame {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255,250,242,0.95), rgba(237,230,218,0.7));
  box-shadow: var(--shadow);
}
.report-preview {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.report-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 850;
}
.report-body { display: grid; gap: 12px; padding: 18px; }
.report-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.62);
}
.report-row strong { display: block; letter-spacing: -0.025em; }
.report-row span { color: var(--muted); font-size: 0.9rem; }
.score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 34px;
  border-radius: 999px;
  background: rgba(40,106,79,0.1);
  color: var(--success);
  font-weight: 900;
}
.score.warn { background: rgba(154,91,0,0.12); color: var(--warning); }

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: steps;
}
.step {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,250,242,0.7);
  counter-increment: steps;
}
.step::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-weight: 800;
}
.step p { margin: 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(40, 106, 79, 0.12);
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 900;
}
.section.dark .check-list li { color: rgba(255,255,255,0.76); }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.stat {
  padding: 24px;
  background: var(--surface);
}
.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}
.stat span { color: var(--muted); font-size: 0.9rem; }

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: rgba(223, 122, 45, 0.1);
  color: var(--ink-soft);
}

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pricing-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.pricing-card.highlight {
  border-color: rgba(223,122,45,0.45);
  box-shadow: var(--shadow);
}
.price-label { color: var(--accent-2); font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.pricing-card ul { padding-left: 18px; color: var(--ink-soft); }

.form-card { padding: 28px; }
.form-card.compact { padding: 24px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
label { color: var(--ink-soft); font-weight: 780; font-size: 0.9rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  padding: 12px 13px;
}
input:focus, select:focus, textarea:focus { border-color: rgba(223, 122, 45, 0.72); }
textarea { min-height: 126px; resize: vertical; }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--ink-soft); }
.honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 0.9rem; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 54px;
  background: radial-gradient(circle at 82% 10%, rgba(223,122,45,0.20), transparent 24%), linear-gradient(135deg, var(--brand), #143b61);
  color: white;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lede { color: rgba(255,255,255,0.76); }
.breadcrumb { margin-bottom: 18px; color: rgba(255,255,255,0.68); font-size: 0.92rem; }
.breadcrumb a { color: rgba(255,255,255,0.84); }

.listing-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(15,43,70,0.08);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 750;
}
.muted { color: var(--muted); }

.cta-band {
  border-radius: 30px;
  padding: 44px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  box-shadow: var(--shadow);
}
.cta-band p { color: rgba(255,255,255,0.72); }
.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.site-footer {
  padding: 56px 0 28px;
  background: #10253b;
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 28px;
}
.site-footer p, .site-footer a, .site-footer span { color: rgba(255,255,255,0.68); }
.site-footer a:hover { color: white; }
.footer-col h4 { margin-bottom: 12px; color: white; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.56);
  font-size: 0.9rem;
}
.footer-bottom span { max-width: 660px; }

@media (max-width: 1260px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .nav { gap: 11px; font-size: 0.86rem; }
  .logo-text span:last-child { font-size: 0.64rem; letter-spacing: 0.12em; }
}

@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,250,242,0.72);
    color: var(--ink);
  }
  .header-actions .btn-outline { display: none; }
  .mobile-nav {
    padding: 0 20px 20px;
    border-top: 1px solid var(--line);
  }
  .mobile-nav.is-open { display: grid; gap: 10px; }
  .mobile-nav a { padding: 10px 0; font-weight: 780; color: var(--ink-soft); }
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-inner { min-height: auto; }
  .path-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .card-grid, .pricing-grid, .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline, .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { height: 68px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-text span:last-child { display: none; }
  .hero-inner { padding: 58px 0; }
  .hero-actions, .cta-row, .section-head { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
  h1 { font-size: clamp(2.25rem, 11vw, 3.3rem); letter-spacing: -0.06em; }
  .path-grid, .service-grid, .card-grid, .feature-grid, .pricing-grid, .timeline, .stat-strip, .form-grid, .footer-grid, .proof-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .listing-card { grid-template-columns: 1fr; }
  .cta-band { padding: 28px; border-radius: 22px; }
  .signal-grid { grid-template-columns: 1fr; }
  .report-row { grid-template-columns: 1fr; }
}
