:root {
    --white: #F0F4F8;
    --navy: #0D1B2A;
    --blue: #1E6FD9;
    --blue-pale: #E8F0FE;
    --blue-mid: #3B82F6;
    --steel: #6B7A8D;
    --border: rgba(13,27,42,0.1);
    --border-light: rgba(13,27,42,0.06);
    --red: #E53E3E;
    --amber: #D97706;
    --green: #059669;
  }

  * { margin:0; padding:0; box-sizing:border-box; }
  html { scroll-behavior:smooth; }

  body {
    font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #FFFFFF;
    color: var(--navy);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  h1,h2,h3,h4 {
    font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }

  /* ---- NAV ---- */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  .logo {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.03em;
    white-space: nowrap;
  }
  .logo .accent { color: var(--blue); }

  .nav-links {
    display: flex;
    gap: 24px;
    font-size: 14px;
    font-weight: 500;
  }
  .nav-links a { text-decoration: none; color: var(--steel); transition: color 0.1s; }
  .nav-links a:hover { color: var(--navy); }

  .nav-cta {
    background: var(--blue);
    color: #fff;
    padding: 9px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s;
  }
  .nav-cta:hover { background: #1558b0; }

  @media (max-width: 760px) { .nav-links { display:none; } }

  /* ---- LAYOUT ---- */
  .wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
  }
  @media (max-width: 600px) { .wrap { padding: 0 20px; } }

  section { padding: 96px 0; }

  .label {
    font-family: 'Arial', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
    display: block;
  }

  .section-title {
    font-size: 36px;
    max-width: 600px;
    margin-bottom: 16px;
  }

  .section-sub {
    font-size: 17px;
    color: var(--steel);
    max-width: 560px;
    margin-bottom: 56px;
    line-height: 1.65;
  }

  /* ---- HERO ---- */
  .hero {
    padding: 80px 0 0;
    background: var(--navy);
    color: #fff;
    overflow: hidden;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: end;
  }

  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  }

  .hero-eyebrow {
    font-family: 'Arial', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .hero-eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--blue-mid);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%,100% { opacity:1; }
    50% { opacity:0.3; }
  }

  .hero h1 {
    font-size: 52px;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.05;
  }

  @media (max-width: 600px) { .hero h1 { font-size: 36px; } }

  .hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 36px;
    line-height: 1.65;
    max-width: 480px;
  }

  .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

  .btn-primary {
    background: var(--blue);
    color: #fff;
    padding: 14px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
    transition: background 0.15s;
  }
  .btn-primary:hover { background: #1558b0; }

  .btn-ghost {
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
    padding: 14px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
    transition: border-color 0.15s;
  }
  .btn-ghost:hover { border-color: rgba(255,255,255,0.5); }

  .hero-meta {
    margin-top: 24px;
    font-family: 'Arial', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.35);
  }

  .trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 26px;
    background: rgba(255,255,255,0.08);
    max-width: 560px;
  }

  .trust-strip div {
    background: rgba(255,255,255,0.04);
    padding: 16px 14px;
  }

  .trust-strip strong {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
  }

  .trust-strip span {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255,255,255,0.48);
  }

  @media (max-width: 640px) { .trust-strip { grid-template-columns: 1fr; } }

  /* Dashboard mockup */
  .dashboard {
    background: #0A1628;
    border-radius: 12px 12px 0 0;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
  }

  .dash-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
  }
  .dash-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
  }

  .dash-header {
    font-family: 'Arial', monospace;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex;
    justify-content: space-between;
  }

  .metric-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    gap: 16px;
  }
  .metric-item:last-child { border-bottom: none; }

  .metric-name-dash {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    flex-shrink: 0;
    width: 140px;
  }

  .metric-bar-wrap {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
  }

  .metric-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1.2s ease;
  }
  .fill-red { background: #E53E3E; }
  .fill-amber { background: #D97706; }
  .fill-green { background: #059669; }
  .w-82 { width: 82%; }
  .w-61 { width: 61%; }
  .w-58 { width: 58%; }
  .w-44 { width: 44%; }
  .w-28 { width: 28%; }
  .w-22 { width: 22%; }

  .metric-badge {
    font-family: 'Arial', monospace;
    font-size: 10px;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 3px;
    flex-shrink: 0;
  }
  .badge-priority { background: rgba(229,62,62,0.15); color: #FC8181; }
  .badge-monitor { background: rgba(217,119,6,0.15); color: #FBD38D; }
  .badge-ok { background: rgba(5,150,105,0.15); color: #6EE7B7; }

  /* ---- STATS ---- */
.stats-section {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stats-section .label { color: var(--blue-mid); }
.stats-section a { color: rgba(255,255,255,0.78); }

 
.stats-header {
  padding: 56px 0 0;
  text-align: center;
}
 
.stats-header h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 10px;
}
 
.stats-header p {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
 
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,0.08);
}
@media (max-width:760px) { .stats-grid { grid-template-columns:1fr; } }
 
.stat-cell {
  padding: 40px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-cell:last-child { border-right: none; }
 
.stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-num span { color: var(--blue-mid); }
 
.stat-desc { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.55; }

.source-note {
  max-width: 760px;
  margin: 26px auto 0;
  padding-bottom: 48px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.34);
}

  /* ---- HOW IT WORKS ---- */
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border-light);
  }
  @media (max-width:880px) { .steps-grid { grid-template-columns: repeat(2,1fr); } }
  @media (max-width:480px) { .steps-grid { grid-template-columns: 1fr; } }

  .step-cell {
    background: #fff;
    padding: 36px 32px;
  }

  .step-num {
    font-family: 'Arial', monospace;
    font-size: 11px;
    color: var(--blue);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
  }

  .step-cell h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
  }

  .step-cell p { font-size: 14px; color: var(--steel); line-height: 1.6; }

  /* ---- SAMPLE REPORT ---- */
  .report-section { background: var(--navy); color: #fff; }
  .report-section .label { color: var(--blue-mid); }
  .report-section .section-title { color: #fff; }
  .report-section .section-sub { color: rgba(255,255,255,0.5); }

  .report-block {
    background: #0A1628;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
  }

  .report-block-head {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .rbh-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
  }

  .rbh-meta {
    font-family: 'Arial', monospace;
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.06em;
  }

  .report-body-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
  }
  @media (max-width:760px) { .report-body-grid { grid-template-columns:1fr; } }

  .metrics-panel {
    padding: 28px 32px;
    border-right: 1px solid rgba(255,255,255,0.07);
  }
  @media (max-width:760px) { .metrics-panel { border-right:none; border-bottom:1px solid rgba(255,255,255,0.07); } }

  .finding-panel { padding: 28px 32px; }

  .panel-label {
    font-family: 'Arial', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 18px;
  }

  .priority-tag {
    display: inline-block;
    background: rgba(229,62,62,0.2);
    color: #FC8181;
    font-family: 'Arial', monospace;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 3px;
    margin-bottom: 14px;
  }

  .finding-panel h4 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 10px;
  }

  .finding-panel p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
    line-height: 1.65;
  }

  .drill-item {
    display: flex;
    gap: 14px;
    padding: 11px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
    color: rgba(255,255,255,0.7);
  }
  .drill-item:first-of-type { border-top: none; }
  .drill-n { font-family: 'Arial', monospace; color: var(--blue-mid); flex-shrink:0; }

  /* ---- CLINICAL BOUNDARIES ---- */
  .boundary-section { background: #fff; }

  .boundary-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2px;
    background: var(--border-light);
  }
  @media (max-width: 880px) { .boundary-grid { grid-template-columns: 1fr; } }

  .boundary-card {
    background: #fff;
    padding: 34px 30px;
    min-height: 230px;
  }

  .boundary-card.yes { border-top: 3px solid var(--green); }
  .boundary-card.no { border-top: 3px solid var(--amber); }

  .boundary-kicker {
    font-family: 'Arial', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
  }

  .boundary-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
  }

  .boundary-card p {
    font-size: 14px;
    color: var(--steel);
    line-height: 1.65;
  }

  /* ---- PRIVACY ---- */
  .privacy-flow {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2px;
    background: var(--border-light);
    margin-bottom: 48px;
  }
  @media (max-width:760px) { .privacy-flow { grid-template-columns:1fr; } }

  .pf-cell {
    background: #fff;
    padding: 28px 24px;
    position: relative;
  }

  .pf-step {
    font-family: 'Arial', monospace;
    font-size: 10px;
    color: var(--blue);
    letter-spacing: 0.08em;
    margin-bottom: 10px;
  }

  .pf-cell h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
  .pf-cell p { font-size: 13px; color: var(--steel); }

  .privacy-cards {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2px;
    background: var(--border-light);
  }
  @media (max-width:640px) { .privacy-cards { grid-template-columns:1fr; } }

  .privacy-card {
    background: #fff;
    padding: 28px 28px;
  }

  .privacy-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
  .privacy-card p { font-size: 14px; color: var(--steel); line-height: 1.6; }

  /* ---- COMPARE ---- */
  .compare-section { background: var(--white); }

  .compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  .compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }
  @media (max-width:760px) { .compare-table { min-width: 640px; } }

  .compare-table th, .compare-table td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
  }

  .compare-table thead tr {
    border-bottom: 2px solid var(--border);
  }

  .compare-table th {
    font-family: 'Arial', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--steel);
    font-weight: 500;
  }

  .col-ftm { background: rgba(30,111,217,0.04); }
  .col-ftm-head { color: var(--blue) !important; }

  td.col-ftm { font-weight: 600; }

  .check { color: var(--green); font-weight: 700; }
  .cross { color: var(--steel); }

  /* ---- FOUNDING PRACTICES ---- */
  .founding-section { background: #fff; }

  .founding-wrap {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 64px;
    align-items: start;
  }
  @media (max-width: 880px) { .founding-wrap { grid-template-columns: 1fr; gap: 28px; } }

  .founding-panel {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px 28px;
    background: var(--white);
  }

  .founding-panel h3 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .founding-panel ul { list-style: none; }

  .founding-panel li {
    font-size: 14px;
    color: var(--steel);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    gap: 9px;
  }
  .founding-panel li:last-child { border-bottom: none; }
  .founding-panel li::before { content: '✓'; color: var(--blue); font-weight: 700; }

  /* ---- PRICING ---- */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
  }
  @media (max-width:880px) { .pricing-grid { grid-template-columns: 1fr; } }

  .price-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px 28px;
    position: relative;
    background: #fff;
  }

  .price-card.featured {
    border-color: var(--blue);
    background: #fff;
  }

  .price-badge {
    position: absolute;
    top: -13px; left: 24px;
    background: var(--blue);
    color: #fff;
    font-family: 'Arial', monospace;
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
  }

  .price-tier {
    font-family: 'Arial', monospace;
    font-size: 11px;
    color: var(--steel);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }

  .price-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'DM Sans', sans-serif;
  }

  .price-amount {
    font-family: 'DM Sans', sans-serif;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 4px;
  }
  .price-amount sup { font-size: 20px; vertical-align: super; }
  .price-amount span { font-size: 15px; font-weight: 400; color: var(--steel); font-family: 'Inter', sans-serif; }

  .price-note {
    font-family: 'Arial', monospace;
    font-size: 10px;
    color: var(--blue);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
  }

  .price-divider {
    height: 1px;
    background: var(--border-light);
    margin-bottom: 20px;
  }

  .price-features { list-style: none; }
  .price-features li {
    font-size: 14px;
    color: var(--steel);
    padding: 7px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .price-features li:last-child { border-bottom: none; }
  .price-features li::before { content: '✓'; color: var(--blue); font-weight: 700; font-size: 12px; }

  /* ---- CTA ---- */
  .cta-section {
    background: var(--navy);
    color: #fff;
    padding: 96px 0;
    text-align: center;
  }

  .cta-section .label { color: var(--blue-mid); }
  .cta-section h2 { font-size: 40px; color: #fff; max-width: 600px; margin: 0 auto 16px; }
  .cta-section p { color: rgba(255,255,255,0.55); max-width: 460px; margin: 0 auto 36px; font-size: 17px; }

  .cta-steps {
    display: flex;
    justify-content: center;
    gap: 56px;
    margin-top: 56px;
    flex-wrap: wrap;
    text-align: left;
  }

  .cta-step .cs-n {
    font-family: 'Arial', monospace;
    font-size: 11px;
    color: var(--blue-mid);
    letter-spacing: 0.08em;
    margin-bottom: 6px;
  }

  .cta-step p { color: rgba(255,255,255,0.55); font-size: 14px; margin: 0; max-width: 160px; }

  /* ---- FOOTER ---- */
  .footer {
    background: #060F1A;
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    font-family: 'Arial', monospace;
  }
