:root {
  --navy: #0D233A;
  --navy-soft: #14314f;
  --orange: #F07820;
  --orange-dark: #c9601a;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --card: #ffffff;
  --text: #0D233A;
  --text-soft: #5b6673;
  --border: #e3e6ea;
  --grad: linear-gradient(90deg, rgb(128,37,184), rgb(226,36,133), rgb(238,65,92), rgb(252,182,4));
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1524; --bg-alt: #101d30; --card: #101d30; --text: #f1f3f6;
    --text-soft: #a9b3c1; --border: #223349;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1524; --bg-alt: #101d30; --card: #101d30; --text: #f1f3f6;
  --text-soft: #a9b3c1; --border: #223349;
}
:root[data-theme="light"] {
  --bg: #ffffff; --bg-alt: #f5f6f8; --card: #ffffff; --text: #0D233A;
  --text-soft: #5b6673; --border: #e3e6ea;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
nav.top .inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 20px;
}
nav.top .logo { display: flex; align-items: center; height: 40px; flex-shrink: 0; }
nav.top .logo svg { height: 40px; width: auto; display: block; }
nav.top .menu {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  font-size: 0.86rem;
}
nav.top .menu a {
  color: #cdd6e3; text-decoration: none; padding: 8px 12px; border-radius: 8px;
  white-space: nowrap;
}
nav.top .menu a:hover { color: #fff; background: rgba(255,255,255,0.06); }
nav.top .menu a.active { color: #fff; background: rgba(255,255,255,0.1); font-weight: 600; }
nav.top .cta {
  border: 1px solid var(--orange); color: var(--orange); text-decoration: none;
  padding: 8px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
}
nav.top .cta:hover { background: var(--orange); color: #0D233A; }
.mobile-note { display: none; }
@media (max-width: 860px) {
  nav.top .menu { display: none; }
  .mobile-note { display: inline-block; font-size: 0.8rem; color: #cdd6e3; }
}

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem;
  color: var(--orange-dark); font-weight: 700; margin-bottom: 14px;
}
.hero { padding: 56px 0 36px; }
h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 18px;
}
.hero-sub { font-size: 1.1rem; color: var(--text-soft); max-width: 640px; margin: 0 0 8px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill {
  border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px;
  font-size: 0.8rem; color: var(--text-soft); background: var(--bg-alt);
}

section { padding: 44px 0; border-top: 1px solid var(--border); }
section.tight { padding-top: 32px; }
section.hero { border-top: none; }
h2 {
  font-size: 1.45rem; letter-spacing: -0.01em; margin: 0 0 6px;
  display: flex; align-items: center; gap: 10px;
}
h3 { font-size: 1.1rem; margin: 22px 0 10px; }
.section-sub { color: var(--text-soft); margin: 0 0 24px; max-width: 660px; }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 24px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.stat-card { text-align: left; }
.stat-num { font-size: 1.75rem; font-weight: 800; color: var(--orange-dark); letter-spacing: -0.02em; }
.stat-label { color: var(--text-soft); font-size: 0.87rem; margin-top: 4px; }
.stat-src { color: var(--text-soft); font-size: 0.72rem; margin-top: 6px; opacity: 0.75; }

ul.checklist { list-style: none; padding: 0; margin: 0; }
ul.checklist li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--border); }
ul.checklist li:last-child { border-bottom: none; }
ul.checklist li .ico { flex-shrink: 0; }

table.pricing { width: 100%; border-collapse: collapse; margin-top: 8px; }
table.pricing th, table.pricing td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
table.pricing th { color: var(--text-soft); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
table.pricing td.num, table.pricing th.num { text-align: right; white-space: nowrap; }
table.pricing tr.subtotal td { font-weight: 700; border-top: 2px solid var(--text); border-bottom: none; }
table.pricing tr.grant td { color: var(--orange-dark); font-weight: 700; }
table.pricing tr.net td { font-weight: 800; font-size: 1.02rem; border-top: 2px solid var(--border); }
.row-note { color: var(--text-soft); font-size: 0.76rem; font-weight: 400; display: block; margin-top: 2px; }

.brandband { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.brandband span { border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; font-size: 0.8rem; color: var(--text-soft); background: var(--bg-alt); }

.callout { background: var(--bg-alt); border-left: 3px solid var(--orange); padding: 16px 20px; border-radius: 0 10px 10px 0; margin-top: 18px; }
.callout b { color: var(--text); }

.steps { counter-reset: step; }
.step { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.88rem; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 0.92rem; }
.btn-primary { background: var(--orange); color: #1c1305; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }

.moduletiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 720px) { .moduletiles { grid-template-columns: 1fr; } }
.tile {
  display: block; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px; transition: border-color .15s, transform .15s;
}
.tile:hover { border-color: var(--orange); transform: translateY(-2px); }
.tile .ic { font-size: 1.5rem; margin-bottom: 10px; }
.tile b { display: block; margin-bottom: 6px; }
.tile span.arrow { color: var(--orange-dark); font-size: 0.84rem; font-weight: 600; display: inline-block; margin-top: 10px; }

footer {
  padding: 40px 0 60px; border-top: 1px solid var(--border);
  color: var(--text-soft); font-size: 0.78rem;
}
footer .flogo { margin-bottom: 10px; height: 22px; }
footer .flogo svg { height: 22px; width: auto; }

.note { font-size: 0.78rem; color: var(--text-soft); margin-top: 10px; }
.scrollx { overflow-x: auto; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
