  :root {
    --ink: #14201A;
    --ink-soft: #4E5C53;
    --paper: #FFFFFF;
    --surface: #F5F7F3;
    --surface-2: #EAEFE6;
    --line: #DCE4D6;
    --accent: #245423;
    --accent-deep: #16330F;
    --accent-soft: #E3ECE0;
    --gold: #A8863E;
    --gold-soft: #F6EFE0;
    --paper-inverse: transparent;
    --brand-blue: #2563EB;
    --brand-blue-deep: #1E40AF;
    --brand-blue-soft: #DBEAFE;
    --surface-deep-green: #16330F;
    --surface-deep-blue: #1E3A8A;
    --on-deep: #F3F6FB;
    --on-deep-soft: #C3D1EC;
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --ink: #EAF0E7;
      --ink-soft: #A5B6A9;
      --paper: #0C130E;
      --surface: #121B14;
      --surface-2: #182419;
      --line: #263424;
      --accent: #5FA25C;
      --accent-deep: #BEE0B8;
      --accent-soft: #17281A;
      --gold: #D6B676;
      --gold-soft: #241D10;
      --paper-inverse: #FFFFFF;
      --brand-blue: #5B8DEF;
      --brand-blue-deep: #BFD3FA;
      --brand-blue-soft: #17233F;
      --surface-deep-green: #0E2409;
      --surface-deep-blue: #142864;
    }
  }
  :root[data-theme="dark"] {
    --ink: #EAF0E7;
    --ink-soft: #A5B6A9;
    --paper: #0C130E;
    --surface: #121B14;
    --surface-2: #182419;
    --line: #263424;
    --accent: #5FA25C;
    --accent-deep: #BEE0B8;
    --paper-inverse: #FFFFFF;
    --accent-soft: #17281A;
    --gold: #D6B676;
    --gold-soft: #241D10;
    --brand-blue: #5B8DEF;
    --brand-blue-deep: #BFD3FA;
    --brand-blue-soft: #17233F;
    --surface-deep-green: #0E2409;
    --surface-deep-blue: #142864;
  }

  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
  }
  a { color: inherit; text-decoration: none; }
  img, svg { max-width: 100%; display: block; }
  .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }

  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

  h1, h2, h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    text-wrap: balance;
    color: var(--ink);
    margin: 0;
  }

  a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
  }

  @media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  }

  /* ---------- header ---------- */
  header.site {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0;
  }
  .brand {
    display: flex; align-items: center;
    padding: 6px 10px;
    border-radius: 8px;
    background: transparent;
  }
  .brand img { height: 34px; width: 99px; flex-shrink: 0; object-fit: contain; object-position: left center; }
  .brand, .footer-brand { background: var(--paper-inverse); }
  .nav-cta { display: flex; align-items: center; gap: 8px; }

  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 18px; border-radius: 8px;
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14.5px;
    cursor: pointer; border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
  }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--brand-blue); color: #fff; }
  .btn-primary:hover { background: color-mix(in srgb, var(--brand-blue) 82%, black); }
  .btn-line { border-color: var(--line); color: var(--ink-soft); }
  .btn-line:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
  .btn-ghost { color: var(--ink-soft); padding: 10px 12px; }
  .btn-ghost:hover { color: var(--ink); }
  .btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 10px; }

  /* ---------- hero ---------- */
  .hero { padding: 84px 0 72px; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 56px;
    align-items: start;
  }
  .hero-lead {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 24px;
  }
  .hero-mark {
    width: 46px; height: 46px;
    border-radius: 11px;
    background: var(--brand-blue-soft);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .hero-mark svg { width: 25px; height: 25px; color: var(--brand-blue); }
  .kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12.5px;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--accent);
    margin: 0;
  }
  .hero h1 {
    font-size: clamp(36px, 4.6vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.015em;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--brand-blue);
  }
  .hero .sub {
    font-size: 18px; color: var(--ink-soft);
    max-width: 46ch;
    margin: 22px 0 32px;
  }
  .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
  .fine-print { font-size: 13.5px; color: var(--ink-soft); }

  .case-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px 26px 22px;
  }
  .case-panel .label {
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 11.5px;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
    margin-bottom: 16px;
  }
  .case-row {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }
  .case-row:first-of-type { border-top: none; padding-top: 0; }
  .case-row svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
  .case-row .t { font-weight: 600; font-size: 14.5px; }
  .case-row .d { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }

  /* ---------- generic section rhythm ---------- */
  section { padding: 84px 0; }
  section.surface { background: var(--surface); }
  .section-head { max-width: 620px; margin: 0 0 48px; }
  .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
  .eyebrow {
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12.5px;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
    margin: 0 0 10px;
  }
  h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.01em; }
  .section-sub { font-size: 16.5px; color: var(--ink-soft); margin-top: 12px; }

  /* ---------- problem cards ---------- */
  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
  .grid-3 .card { background: var(--paper); padding: 34px 28px; }
  .card h3 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 17.5px; margin-bottom: 9px; letter-spacing: -0.005em; }
  .card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

  /* ---------- how it works: a real numbered sequence ---------- */
  .sequence { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
  .sequence::before {
    content: '';
    position: absolute; top: 19px; left: 6%; right: 6%; height: 1px;
    background: var(--line);
  }
  .seq-step { position: relative; padding: 0 18px; text-align: left; }
  .seq-step .idx {
    font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500;
    color: #fff; background: var(--brand-blue);
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; position: relative; z-index: 1;
  }
  .seq-step h3 { font-family: 'Inter', sans-serif; font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
  .seq-step p { font-size: 14px; color: var(--ink-soft); margin: 0; }

  /* ---------- pricing: ledger treatment ---------- */
  .ledger {
    max-width: 680px; margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--paper);
  }
  .ledger-head {
    padding: 30px 34px;
    background: var(--surface-deep-blue);
    color: var(--on-deep);
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  }
  .ledger-head .amt { font-family: 'Fraunces', serif; font-weight: 600; font-size: 40px; letter-spacing: -0.01em; }
  .ledger-head .amt sup { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; opacity: 0.75; }
  .ledger-head .note { font-size: 13.5px; opacity: 0.85; max-width: 220px; text-align: right; }
  .ledger-body { padding: 6px 34px 30px; }
  .ledger-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 13px 0; border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .ledger-row:last-of-type { border-bottom: none; }
  .ledger-row .tier { color: var(--ink); }
  .ledger-row .rate { font-family: 'JetBrains Mono', monospace; color: var(--ink-soft); font-size: 14px; }
  .ledger-incl { color: var(--brand-blue); font-weight: 600; }

  .ledger-example {
    font-size: 13.5px; color: var(--ink-soft);
    background: var(--surface); border-radius: 8px;
    padding: 10px 14px; margin-top: 16px;
  }
  .ledger-example strong { color: var(--ink); font-weight: 600; }
  .ledger-features { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 11px; }
  .ledger-features li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-soft); align-items: flex-start; }
  .ledger-features svg { width: 16px; height: 16px; color: var(--brand-blue); flex-shrink: 0; margin-top: 3px; }

  /* ---------- faq ---------- */
  .faq { max-width: 700px; margin: 0 auto; }
  details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
  }
  details:first-of-type { border-top: 1px solid var(--line); }
  summary {
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15.5px;
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
  }
  summary::-webkit-details-marker { display: none; }
  summary .plus {
    font-family: 'Fraunces', serif; font-size: 22px; color: var(--accent);
    flex-shrink: 0; transition: transform 0.15s ease;
    line-height: 1;
  }
  details[open] summary .plus { transform: rotate(45deg); }
  details p { font-size: 14.5px; color: var(--ink-soft); margin: 14px 0 0; max-width: 62ch; }

  /* ---------- also-from-compliancecare ---------- */
  .also-from { border-top: 1px solid var(--line); }
  .also-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin-bottom: 32px;
  }
  .also-head h2 { font-size: 22px; }
  .also-head .eyebrow { margin-bottom: 6px; }
  .also-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .also-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px 24px 22px;
    display: flex; flex-direction: column;
  }
  .also-card .icon-wrap {
    width: 38px; height: 38px; border-radius: 9px;
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
  }
  .also-card .icon-wrap svg { width: 19px; height: 19px; color: var(--accent); }
  .also-card h3 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15.5px; margin-bottom: 7px; }
  .also-card p { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; flex-grow: 1; }
  .also-card-cta {
    font-family: 'Inter', sans-serif; font-size: 13.5px; font-weight: 600; color: var(--accent);
    display: inline-flex; align-items: center; gap: 5px;
    background: none; border: none; padding: 0; cursor: pointer;
  }
  .also-card-cta:hover { color: var(--accent-deep); }
  .also-card-cta svg { width: 14px; height: 14px; }

  /* ---------- final cta ---------- */
  .cta-final {
    background: var(--surface-deep-blue);
    color: var(--on-deep);
    border-radius: 20px;
    padding: 64px 40px;
    text-align: center;
  }
  .cta-final .eyebrow { color: var(--gold); }
  .cta-final h2 { color: #fff; }
  .cta-final p { color: var(--on-deep-soft); font-size: 17px; margin: 16px auto 32px; max-width: 46ch; }
  .cta-final .btn-primary { background: #fff; color: var(--surface-deep-blue); }
  .cta-final .btn-primary:hover { background: var(--gold-soft); }

  /* ---------- footer ---------- */
  footer { padding: 56px 0 32px; border-top: 1px solid var(--line); }
  .footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; }
  .footer-brand { display: flex; align-items: center; padding: 6px 10px; border-radius: 8px; }
  .footer-brand img { height: 30px; width: 87px; flex-shrink: 0; object-fit: contain; object-position: left center; }
  .footer-desc { font-size: 13.5px; color: var(--ink-soft); max-width: 260px; margin-top: 12px; }
  .footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
  .footer-col h4 {
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px;
    letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-soft);
    margin: 0 0 12px;
  }
  .footer-col a { display: block; font-size: 14px; color: var(--ink); margin-bottom: 9px; }
  .footer-col a:hover { color: var(--accent); }
  .footer-bottom {
    padding-top: 24px; border-top: 1px solid var(--line);
    font-size: 12.5px; color: var(--ink-soft);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  }

  @media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .sequence { grid-template-columns: 1fr 1fr; row-gap: 32px; }
    .sequence::before { display: none; }
    .also-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .hero { padding: 56px 0 48px; }
    section { padding: 56px 0; }
    .sequence { grid-template-columns: 1fr; }
    .ledger-head { flex-direction: column; }
    .ledger-head .note { text-align: left; }
    .cta-final { padding: 44px 24px; }
  }

  /* ---------- inquiry modal ---------- */
  .modal-backdrop {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(15, 20, 15, 0.5);
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
  }
  .modal-backdrop.open { display: flex; }
  .modal {
    background: var(--paper);
    border-radius: 16px;
    max-width: 440px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    padding: 28px 28px 26px;
    position: relative;
  }
  .modal-close {
    position: absolute; top: 18px; right: 18px;
    background: none; border: none; cursor: pointer;
    color: var(--ink-soft); padding: 4px;
    display: flex;
  }
  .modal-close:hover { color: var(--ink); }
  .modal-close svg { width: 20px; height: 20px; }
  .modal h3 { font-size: 19px; margin-bottom: 6px; padding-right: 24px; }
  .modal .modal-sub { font-size: 14px; color: var(--ink-soft); margin: 0 0 20px; }
  .modal-field { margin-bottom: 14px; }
  .modal-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
  .modal-field input, .modal-field textarea {
    width: 100%; font-family: 'Inter', sans-serif; font-size: 14.5px;
    border: 1px solid var(--line); border-radius: 8px;
    padding: 10px 12px; background: var(--paper); color: var(--ink);
  }
  .modal-field input:focus, .modal-field textarea:focus {
    outline: 2px solid var(--brand-blue); outline-offset: 1px; border-color: transparent;
  }
  .modal-field textarea { resize: vertical; min-height: 70px; }
  .modal-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .modal-error { font-size: 13px; color: #b91c1c; margin: -8px 0 14px; display: none; }
  .modal-error.visible { display: block; }
  .modal-success { text-align: center; padding: 12px 0; }
  .modal-success svg { width: 40px; height: 40px; color: var(--accent); margin: 0 auto 14px; }
  .modal-success p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
