/* ============================================================
   CareDex — shared marketing site styles · Index Ink Light
   Requires: caredex-tokens.css + caredex-ui.css + fonts
     (Space Grotesk, Instrument Sans, IBM Plex Mono)
   Every marketing page imports this so nav, hero, sections and
   footer stay identical and liftable into Eleventy partials.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--cd-paper); color: var(--cd-ink); font-family: var(--cd-font-body); font-size: 16px; line-height: 1.6; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.wrap--narrow { max-width: 840px; }
h1, h2, h3, h4 { font-family: var(--cd-font-head); letter-spacing: -0.02em; margin: 0; }
a { color: var(--cd-signal-600); }
img { max-width: 100%; }
.mono { font-family: var(--cd-font-data); }

/* ============ NAV (sticky light + Solutions dropdown) ============ */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(247, 245, 240, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--cd-border); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cd-ink); }
.nav-logo .word { font-family: var(--cd-font-head); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a, .nav-drop > .nav-trg {
  font-family: var(--cd-font-body); font-weight: 600; font-size: 14px; color: var(--cd-steel);
  text-decoration: none; padding: 8px 12px; border-radius: 8px; background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.nav-links > a:hover, .nav-drop:hover > .nav-trg { color: var(--cd-ink); background: rgba(11,18,32,0.05); }
.nav-links > a.active { color: var(--cd-ink); }
.nav-drop { position: relative; }
.nav-drop.active > .nav-trg { color: var(--cd-ink); }
.nav-trg .caret { width: 9px; height: 6px; transition: transform 0.15s; }
.nav-drop:hover .nav-trg .caret { transform: rotate(180deg); }
.nav-pop {
  position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 340px; background: var(--cd-card); border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg);
  box-shadow: 0 16px 44px rgba(11,18,32,0.15); padding: 8px;
  opacity: 0; pointer-events: none; transition: opacity 0.16s, transform 0.16s;
}
.nav-drop:hover .nav-pop, .nav-drop:focus-within .nav-pop { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-pop a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: var(--cd-radius); text-decoration: none; color: var(--cd-ink); }
.nav-pop a:hover { background: #F4F1EA; }
.nav-pop .pi { width: 32px; height: 32px; border-radius: 8px; background: var(--cd-paper); border: 1px solid var(--cd-border); display: flex; align-items: center; justify-content: center; flex: none; }
.nav-pop .pt { display: block; font-weight: 600; font-size: 14px; color: var(--cd-ink); }
.nav-pop .pd { display: block; font-size: 12px; color: var(--cd-steel); line-height: 1.4; margin-top: 1px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-signin { font-weight: 600; font-size: 14px; color: var(--cd-steel); text-decoration: none; padding: 8px 6px; }
.nav-signin:hover { color: var(--cd-ink); }

/* ============ Shared section system ============ */
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.sec-kicker { font-family: var(--cd-font-data); font-size: 12px; letter-spacing: 0.06em; color: var(--cd-signal-600); margin-bottom: 14px; font-weight: 500; text-transform: uppercase; }
.section-head { max-width: 660px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.section-head p { color: var(--cd-steel); margin: 16px 0 0; font-size: 17px; text-wrap: pretty; }
.eyebrow-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 44px; }
.eyebrow-row h2 { font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.eyebrow-row p { color: var(--cd-steel); margin: 0; max-width: 46ch; text-wrap: pretty; }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11, 18, 32, 0.13) 1.3px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 30%, black 0%, transparent 65%);
  mask-image: radial-gradient(ellipse 90% 80% at 70% 30%, black 0%, transparent 65%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 84px 0 96px; }
.hero-in--solo { grid-template-columns: 1fr; max-width: 780px; padding: 76px 0 64px; }
.hero-in--solo.center { margin: 0 auto; text-align: center; }
.hero-in--solo.center::after { content: none; }
.kicker { display: inline-flex; align-items: center; gap: 9px; font-family: var(--cd-font-data); font-size: 12px; letter-spacing: 0.06em; color: var(--cd-signal-600); margin-bottom: 22px; font-weight: 500; }
.kicker .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--cd-signal-600); box-shadow: 0 0 0 4px rgba(14,154,99,0.15); }
.center .kicker { justify-content: center; }
.hero h1 { font-size: 60px; font-weight: 700; line-height: 1.03; letter-spacing: -0.03em; margin-bottom: 22px; text-wrap: balance; }
.hero-in--solo h1 { font-size: 52px; }
.hero h1 .und { position: relative; white-space: nowrap; }
.hero h1 .und::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 10px; background: rgba(43, 217, 143, 0.4); z-index: -1; border-radius: 3px; }
.hero p.lede { font-size: 18px; color: var(--cd-steel); max-width: 46ch; margin: 0 0 30px; text-wrap: pretty; }
.center p.lede { margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 34px; }
.center .hero-ctas { justify-content: center; }
.cdx-btn--lg { padding: 15px 26px; font-size: 15.5px; border-radius: 12px; }
.nocard { font-family: var(--cd-font-data); font-size: 12px; color: var(--cd-steel); }
.hero-proof { display: flex; gap: 28px; flex-wrap: wrap; }
.center .hero-proof { justify-content: center; }
.proof { display: flex; flex-direction: column; gap: 1px; }
.proof .n { font-family: var(--cd-font-head); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.proof .l { font-family: var(--cd-font-data); font-size: 11px; color: var(--cd-steel); letter-spacing: 0.04em; }

/* ============ HERO COLLAGE fragments ============ */
.collage { position: relative; min-height: 460px; }
.hc-card { position: absolute; background: var(--cd-card); border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg); box-shadow: 0 18px 50px rgba(11, 18, 32, 0.13); }
.hc-table { top: 36px; left: 0; right: 36px; padding: 0; overflow: hidden; }
.hc-table .bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--cd-border); }
.hc-table .bar .t { font-family: var(--cd-font-data); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--cd-steel); }
.hc-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 11px 16px; border-bottom: 1px solid #F0EDE6; }
.hc-row:last-child { border-bottom: none; }
.hc-row .nm { font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.hc-row .id { font-family: var(--cd-font-data); font-size: 10.5px; color: var(--cd-steel); }
.hc-row .beds { font-family: var(--cd-font-data); font-size: 11.5px; color: var(--cd-steel); }
.hc-stat { top: 0; right: 0; width: 218px; padding: 18px 20px 16px; z-index: 2; }
.hc-stat .lbl { font-family: var(--cd-font-data); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--cd-steel); }
.hc-stat .val { font-family: var(--cd-font-head); font-weight: 700; font-size: 34px; letter-spacing: -0.02em; line-height: 1.15; }
.hc-stat .sub { font-size: 12px; color: var(--cd-steel); display: flex; gap: 7px; align-items: baseline; }
.hc-alert { bottom: 22px; right: 10px; width: 250px; padding: 15px 17px; z-index: 3; display: flex; gap: 11px; align-items: flex-start; }
.hc-alert .ic { width: 30px; height: 30px; border-radius: 8px; background: #E7F6EF; display: flex; align-items: center; justify-content: center; flex: none; }
.hc-alert .tt { font-weight: 600; font-size: 13px; line-height: 1.35; }
.hc-alert .ts { font-family: var(--cd-font-data); font-size: 10.5px; color: var(--cd-steel); margin-top: 3px; }
.hc-pulse { position: absolute; bottom: -8px; left: -14px; z-index: 4; filter: drop-shadow(0 10px 18px rgba(11,18,32,0.18)); }

/* ============ DATA STRIP ============ */
.strip { border-top: 1px solid var(--cd-border); border-bottom: 1px solid var(--cd-border); background: var(--cd-card); }
.strip-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; flex-wrap: wrap; }
.strip .s { font-family: var(--cd-font-data); font-size: 12.5px; color: var(--cd-steel); display: flex; align-items: center; gap: 9px; }
.strip .s b { color: var(--cd-ink); font-weight: 500; }
.strip .s .gd { color: var(--cd-signal-600); }

/* ============ FEATURE GRID ============ */
/* Homepage "What it does" — bare .features wrapper needs section padding. */
.features { padding: 92px 0; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feat { background: var(--cd-card); border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 16px; }
.feat .featic { width: 40px; height: 40px; border-radius: 10px; background: var(--cd-ink); display: flex; align-items: center; justify-content: center; flex: none; }
.feat .demo { background: var(--cd-paper); border: 1px solid var(--cd-border); border-radius: var(--cd-radius); padding: 16px; min-height: 128px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.feat h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.feat p { font-size: 14.5px; color: var(--cd-steel); margin: 6px 0 0; line-height: 1.55; }
.feat .chiprow { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--cd-card); border: 1px solid var(--cd-border); border-radius: 8px; padding: 8px 12px; }
.mini-row .mn { font-weight: 600; font-size: 12.5px; }
.mini-row .mi { font-family: var(--cd-font-data); font-size: 10px; color: var(--cd-steel); }
.arrowflow { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; }
.arrowflow .nd { background: var(--cd-card); border: 1px solid var(--cd-border); border-radius: 8px; padding: 9px 13px; font-weight: 600; font-size: 12.5px; }
.arrowflow .nd.ink { background: var(--cd-ink); color: var(--cd-paper-text); border-color: var(--cd-ink); }
.arrowflow .ar { color: var(--cd-signal-600); font-weight: 700; }

/* ============ STEPS (how it works) ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--cd-card); border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.step .sn { font-family: var(--cd-font-data); font-size: 12px; color: var(--cd-signal-600); font-weight: 500; }
.step h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.step p { font-size: 14.5px; color: var(--cd-steel); margin: 0; line-height: 1.55; }
.step .demo { margin-top: 4px; background: var(--cd-paper); border: 1px solid var(--cd-border); border-radius: var(--cd-radius); padding: 14px; }

/* ============ SPLIT (alternating copy/visual) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 72px; }
.split.flip .split-copy { order: 2; }
.split-copy h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; }
.split-copy p { color: var(--cd-steel); margin: 0 0 16px; text-wrap: pretty; }
.split-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 12px; }
.split-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; }
.split-list .tick { width: 20px; height: 20px; border-radius: 999px; background: #E7F6EF; display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.split-visual { background: var(--cd-card); border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg); box-shadow: var(--cd-shadow-card); padding: 22px; }

/* ============ PROBLEM cards ============ */
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prob { background: var(--cd-card); border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg); padding: 24px 24px 22px; }
.prob .pn { font-family: var(--cd-font-data); font-size: 12px; color: var(--cqc-inadequate); margin-bottom: 12px; }
.prob h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.prob p { font-size: 14px; color: var(--cd-steel); margin: 0; line-height: 1.55; }

/* ============ DARK BAND (segments / use cases) ============ */
.band { background: var(--cd-ink); color: var(--cd-paper-text); position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(244, 242, 236, 0.1) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 50%, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 90% at 85% 50%, black 0%, transparent 70%);
}
.band-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 88px 0; align-items: center; }
.band-in--solo { grid-template-columns: 1fr; max-width: 760px; }
.band .sec-kicker { color: var(--cd-signal); }
.band h2 { font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.band p.lede { color: var(--cd-steel-dark); margin: 18px 0 0; max-width: 46ch; text-wrap: pretty; }
.seg-list { display: flex; flex-direction: column; gap: 4px; }
.seg-row { display: flex; align-items: center; gap: 16px; padding: 15px 18px; border-radius: var(--cd-radius); transition: background 0.15s; }
.seg-row:hover { background: var(--cd-panel); }
.seg-row .pulse-ic { flex: none; }
.seg-row .st { font-family: var(--cd-font-head); font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.seg-row .sd { font-size: 13px; color: var(--cd-steel-dark); }
.seg-row .mono-n { margin-left: auto; font-family: var(--cd-font-data); font-size: 12px; color: var(--cd-signal); white-space: nowrap; }
/* narrative card on dark */
.note-card { background: var(--cd-panel); border: 1px solid rgba(244,242,236,0.1); border-radius: var(--cd-radius-lg); padding: 26px 28px; }
.note-card .nk { font-family: var(--cd-font-data); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--cd-signal); margin-bottom: 14px; }
.note-step { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(244,242,236,0.08); }
.note-step:last-child { border-bottom: none; }
.note-step .day { font-family: var(--cd-font-data); font-size: 11.5px; color: var(--cd-steel-dark); width: 64px; flex: none; padding-top: 2px; }
.note-step .ev { font-size: 14px; color: var(--cd-paper-text); }
.note-step .ev b { color: var(--cd-signal); font-weight: 600; }

/* ============ ROI / stat strip ============ */
.roi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--cd-border); border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg); overflow: hidden; }
.roi .r { background: var(--cd-card); padding: 26px 24px; }
.roi .rn { font-family: var(--cd-font-head); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.roi .rl { font-size: 13px; color: var(--cd-steel); margin-top: 6px; }

/* ============ PRICING ============ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.tier { background: var(--cd-card); border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg); padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; }
.tier.popular { border-color: var(--cd-ink); box-shadow: 0 18px 48px rgba(11,18,32,0.12); position: relative; }
.tier .ribbon { position: absolute; top: -12px; left: 28px; background: var(--cd-signal-600); color: #fff; font-family: var(--cd-font-data); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.tier .tname { font-family: var(--cd-font-head); font-weight: 700; font-size: 20px; letter-spacing: -0.015em; }
.tier .twait { font-family: var(--cd-font-data); font-size: 11px; color: var(--cd-steel); margin-left: 8px; }
.tier .tprice { display: flex; align-items: baseline; gap: 6px; }
.tier .tprice .amt { font-family: var(--cd-font-head); font-weight: 700; font-size: 44px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tier .tprice .per { font-size: 14px; color: var(--cd-steel); }
.tier .tdesc { font-size: 14px; color: var(--cd-steel); margin: 0; }
.tier ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 11px; }
.tier li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; }
.tier li .tick { width: 19px; height: 19px; border-radius: 999px; background: #E7F6EF; display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.tier li.off { color: #A8A296; }
.tier li.off .tick { background: #EFEbE2; }
.tier .cdx-btn { margin-top: 6px; }

/* ============ COMPARISON / feature table ============ */
.cmp-wrap { border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg); overflow: hidden; background: var(--cd-card); box-shadow: var(--cd-shadow-card); }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { text-align: left; padding: 15px 20px; border-bottom: 1px solid #F0EDE6; }
.cmp thead th { font-family: var(--cd-font-data); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cd-steel); font-weight: 500; background: #FBFAF7; }
.cmp thead th.hl { color: var(--cd-ink); }
.cmp tbody th { font-weight: 600; color: var(--cd-ink); }
.cmp td { color: var(--cd-steel); }
.cmp td.hl { color: var(--cd-ink); font-weight: 600; background: #FAFCFB; }
.cmp .yes { color: var(--cd-signal-600); font-weight: 700; }
.cmp .no { color: #C2BDB0; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: none; }
.cmp-3 thead th:not(:first-child) { text-align: center; }
.cmp-3 tbody td { text-align: center; }
.cmp-3 tbody th { text-align: left; }

/* ============ FAQ ============ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--cd-card); border: 1px solid var(--cd-border); border-radius: var(--cd-radius); padding: 4px 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-family: var(--cd-font-head); font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 18px; height: 18px; position: relative; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; background: var(--cd-signal-600); border-radius: 2px; }
.faq summary .pm::before { top: 8px; left: 0; right: 0; height: 2px; }
.faq summary .pm::after { left: 8px; top: 0; bottom: 0; width: 2px; transition: transform 0.18s; }
.faq details[open] summary .pm::after { transform: scaleY(0); }
.faq details p { margin: 0 0 18px; color: var(--cd-steel); font-size: 15px; max-width: 64ch; }

/* ============ CONTACT form ============ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.form-card { background: var(--cd-card); border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg); box-shadow: var(--cd-shadow-card); padding: 30px 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card .cdx-field { margin-bottom: 16px; }
.form-success { display: none; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 30px 20px; }
.form-success .sc-ic { width: 52px; height: 52px; border-radius: 999px; background: #E7F6EF; display: flex; align-items: center; justify-content: center; }
.contact-aside .ca-block { padding: 20px 0; border-bottom: 1px solid var(--cd-border); }
.contact-aside .ca-block:first-child { padding-top: 0; }
.contact-aside .cak { font-family: var(--cd-font-data); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cd-steel); margin-bottom: 8px; }
.contact-aside a { font-weight: 600; text-decoration: none; }
.contact-aside .cap { font-size: 14px; color: var(--cd-steel); margin: 0; }

/* ============ ABOUT / DATA fact box ============ */
.factbox { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--cd-border); border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg); overflow: hidden; }
.factbox .f { background: var(--cd-card); padding: 28px 26px; }
.factbox .fn { font-family: var(--cd-font-head); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; }
.factbox .fl { font-size: 13.5px; color: var(--cd-steel); margin-top: 6px; }
.prose { max-width: 680px; }
.prose p { color: var(--cd-steel); font-size: 16.5px; line-height: 1.7; margin: 0 0 18px; text-wrap: pretty; }
.prose p strong { color: var(--cd-ink); }

/* data ingest cards */
.ingest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ingest { background: var(--cd-card); border: 1px solid var(--cd-border); border-radius: var(--cd-radius-lg); padding: 24px 26px; }
.ingest .tagk { display: inline-flex; align-items: center; gap: 7px; font-family: var(--cd-font-data); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cd-steel); margin-bottom: 14px; }
.ingest .tagk .gd { width: 7px; height: 7px; border-radius: 999px; background: var(--cd-signal-600); }
.ingest h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.ingest p { font-size: 14px; color: var(--cd-steel); margin: 0 0 14px; line-height: 1.55; }
.ingest .meta { font-family: var(--cd-font-data); font-size: 11.5px; color: var(--cd-steel); border-top: 1px solid var(--cd-border); padding-top: 12px; }

/* ============ CTA band ============ */
.cta { padding: 104px 0 96px; text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11, 18, 32, 0.11) 1.3px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 100%, black 0%, transparent 70%);
}
.cta-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta h2 { font-size: 42px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
.cta p { color: var(--cd-steel); max-width: 52ch; margin: 0; text-wrap: pretty; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; }

/* ============ LEGAL ============ */
.legal { padding: 56px 0 88px; }
.legal-head { border-bottom: 1px solid var(--cd-border); padding-bottom: 24px; margin-bottom: 36px; }
.legal-head h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.025em; }
.legal-head .upd { font-family: var(--cd-font-data); font-size: 12.5px; color: var(--cd-steel); margin-top: 10px; }
.legal-body { font-size: 15.5px; line-height: 1.7; color: var(--cd-steel); }
.legal-body h2 { font-size: 21px; font-weight: 700; color: var(--cd-ink); letter-spacing: -0.015em; margin: 38px 0 12px; }
.legal-body h2 .ln { font-family: var(--cd-font-data); font-size: 13px; color: var(--cd-signal-600); margin-right: 10px; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; }
.legal-body li { margin-bottom: 7px; }
.legal-toc { background: var(--cd-card); border: 1px solid var(--cd-border); border-radius: var(--cd-radius); padding: 18px 22px; margin-bottom: 36px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; gap: 24px; }
.legal-toc li { margin-bottom: 6px; font-size: 14px; }
.callout { background: var(--cd-card); border: 1px solid var(--cd-border); border-left: 3px solid var(--cd-signal-600); border-radius: var(--cd-radius); padding: 16px 20px; margin: 0 0 18px; font-size: 14.5px; color: var(--cd-ink); }

/* ============ FOOTER (4-column) ============ */
.footer { background: var(--cd-card); border-top: 1px solid var(--cd-border); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 44px; }
.footer-brand .fl { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .word { font-family: var(--cd-font-head); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.footer-brand p { font-size: 14px; color: var(--cd-steel); margin: 0 0 18px; max-width: 32ch; }
.footer-brand .ogl { font-family: var(--cd-font-data); font-size: 11px; color: var(--cd-steel); line-height: 1.6; max-width: 38ch; }
.footer-col h4 { font-family: var(--cd-font-data); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--cd-steel); font-weight: 500; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--cd-ink); text-decoration: none; padding: 5px 0; font-weight: 500; }
.footer-col a:hover { color: var(--cd-signal-600); }
.footer-bottom { border-top: 1px solid var(--cd-border); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom a { font-size: 12.5px; color: var(--cd-steel); text-decoration: none; }
.footer-bottom a:hover { color: var(--cd-ink); }
.footer-bottom .copy { font-family: var(--cd-font-data); font-size: 11.5px; color: var(--cd-steel); }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .hero-in, .band-in, .eyebrow-row, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.flip .split-copy { order: 0; }
  .feat-grid, .feat-grid--2, .steps, .prob-grid, .price-grid, .ingest-grid { grid-template-columns: 1fr; }
  .roi, .factbox { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-links { display: none; }
  .legal-toc ol { columns: 1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 22px; }
  .hero h1 { font-size: 36px; }
  .section-head h2, .eyebrow-row h2, .band h2, .cta h2 { font-size: 30px; }
  .roi, .factbox { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
