/* GI Digital — site styles (2026 redesign)
   Palette: ink / slate / mist / orange (brand) / teal (clinical) / peach (patient pages)
   Type: Sora (display) · Instrument Sans (body) · JetBrains Mono (labels, data) */

:root {
  color-scheme: light;
  --ink: #121a22;
  --ink-2: #1c2731;
  --ink-3: #2a3742;
  --slate: #52616d;
  --slate-2: #7a8792;
  --line: #dde4e9;
  --mist: #f1f4f6;
  --white: #ffffff;
  --orange: #ef8240;
  --orange-deep: #d9682a;
  --orange-soft: #ffe8d8;
  --teal: #03898f;
  --teal-deep: #026a6f;
  --teal-soft: #dcf0f0;
  --peach: #fff6ef;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18, 26, 34, .06), 0 12px 32px -12px rgba(18, 26, 34, .18);
  --f-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
h4 { font-size: 1.02rem; letter-spacing: 0; }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--slate); max-width: 60ch; }
.eyebrow {
  font: 500 .76rem/1 var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--orange-deep);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.muted { color: var(--slate); }
.small { font-size: .88rem; }
.mono { font-family: var(--f-mono); }
.hl { color: var(--orange); }
.teal { color: var(--teal); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--mist { background: var(--mist); }
.section--peach { background: var(--peach); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .lead, .section--dark .muted { color: #b8c3cc; }
.section--dark .eyebrow { color: var(--orange); }
.stack { display: grid; gap: 18px; }
.stack-lg { display: grid; gap: 28px; }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 920px) {
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 .98rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: #f59257; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--ink); }
.section--dark .btn--ghost, .hero--dark .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); }
.section--dark .btn--ghost:hover, .hero--dark .btn--ghost:hover { border-color: var(--white); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.arrow::after { content: "→"; transition: transform .18s; }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }
.textlink { font-weight: 600; color: var(--teal-deep); text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.textlink::after { content: "→"; transition: transform .18s; }
.textlink:hover::after { transform: translateX(3px); }
.section--dark .textlink { color: var(--orange); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav__links a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-3); }
.nav__links a:hover { background: var(--mist); color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); background: var(--mist); }
.nav__cta { display: flex; gap: 8px; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; transition: transform .2s, opacity .2s; }
.nav-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1020px) {
  .nav__toggle { display: block; }
  .nav__links, .nav__cta { display: none; }
  .nav-open .nav__links, .nav-open .nav__cta { display: flex; }
  .nav { flex-wrap: wrap; gap: 0; }
  .nav-open .nav__links { flex-direction: column; width: 100%; order: 3; margin: 8px 0 0; }
  .nav-open .nav__links a { padding: 14px 4px; border-radius: 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
  .nav-open .nav__cta { order: 4; width: 100%; padding: 16px 0 20px; flex-wrap: wrap; }
  .nav-open .nav__cta .btn { flex: 1 1 200px; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero--dark { background: radial-gradient(120% 90% at 85% 20%, #1f3a44 0%, var(--ink) 55%); color: var(--white); }
.hero--dark .lead { color: #c3ccd3; }
.hero--dark .eyebrow { color: var(--orange); }
.hero--peach { background: linear-gradient(180deg, var(--peach) 0%, var(--white) 100%); }
.hero--mist { background: var(--mist); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__copy { display: grid; gap: 22px; }
@media (max-width: 920px) { .hero__grid { grid-template-columns: 1fr; } }

/* home hero capsule (as on the original site) */
.hero-visual { position: relative; z-index: 2; min-height: 560px; display: grid; place-items: center; }
.hero-capsule { position: relative; z-index: 3; width: min(830px, 112%); max-width: none; height: auto; margin-right: -90px; filter: drop-shadow(0 36px 52px rgba(0,0,0,.42)); animation: capsuleFloat 7s ease-in-out infinite; }
@keyframes capsuleFloat { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
.path-orbit { position: absolute; inset: 72px -65px 72px 60px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; transform: rotate(-8deg); }
.path-orbit::before, .path-orbit::after { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 8px rgba(239,130,64,.14); }
.path-orbit::before { left: 8%; top: 28%; }
.path-orbit::after { right: 10%; bottom: 21%; background: var(--teal); box-shadow: 0 0 0 8px rgba(3,137,143,.16); }
.orbit-label { position: absolute; z-index: 4; padding: 7px 11px; color: rgba(255,255,255,.75); background: rgba(18,26,34,.72); border: 1px solid rgba(255,255,255,.13); border-radius: 999px; font: 500 .7rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(10px); }
.orbit-label.referral { left: 10%; top: 25%; }
.orbit-label.data { left: 27%; bottom: 10%; }
.orbit-label.clinician { right: 0; top: 22%; }
@media (max-width: 920px) { .hero-visual { min-height: 380px; margin-top: -10px; } .hero-capsule { width: min(760px, 105%); margin-right: -80px; } }
@media (max-width: 700px) { .hero-visual { min-height: 260px; } .hero-capsule { width: 100%; margin-right: 0; } .path-orbit { inset: 24px -10px 24px 0; } .orbit-label { display: none; } }

/* two doors */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.door {
  display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px; text-decoration: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: var(--white);
  transition: background .2s, border-color .2s, transform .2s;
}
.door:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.1); }
.door--primary { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.door--primary:hover { background: #f59257; border-color: #f59257; }
.door__who { font: 500 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; opacity: .8; }
.door__what { font: 600 1.12rem/1.25 var(--f-display); display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.door__what::after { content: "→"; }
@media (max-width: 520px) { .doors { grid-template-columns: 1fr; } }

/* ---------- proof strip ---------- */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.proof > div { padding: 28px 24px; display: grid; gap: 4px; }
.proof > div + div { border-left: 1px solid var(--line); }
.proof b { font: 600 clamp(1.8rem, 3vw, 2.5rem)/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.proof span { color: var(--slate); font-size: .92rem; }
@media (max-width: 820px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof > div:nth-child(3) { border-left: 0; } .proof > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 28px; }
.logos img { height: 30px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .72; transition: opacity .2s, filter .2s; }
.logos img:hover { filter: none; opacity: 1; }
.logos__label { width: 100%; font: 500 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--slate-2); }

/* ---------- roles diagram (who does what) ---------- */
.roles { display: grid; grid-template-columns: 1fr auto 1.25fr auto 1fr; align-items: stretch; gap: 0; }
.role { border-radius: var(--radius); padding: 26px 24px; display: grid; gap: 14px; align-content: start; background: var(--white); border: 1px solid var(--line); }
.role--provider { background: var(--ink); color: var(--white); border-color: var(--ink); }
.role--gid { background: var(--orange-soft); border-color: #f6cfb3; }
.role__tag { font: 500 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--slate); }
.role--provider .role__tag { color: var(--orange); }
.role h3 { font-size: 1.35rem; }
.role ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.role li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; line-height: 1.4; }
.role li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .5em; border-radius: 50%; background: var(--teal); }
.role--provider li::before { background: var(--orange); }
.role--gid li::before { background: var(--orange-deep); }
.role__link { width: 56px; display: grid; place-items: center; color: var(--slate-2); }
.role__link svg { width: 40px; height: 40px; }
@media (max-width: 920px) {
  .roles { grid-template-columns: 1fr; }
  .role__link { width: 100%; height: 44px; }
  .role__link svg { transform: rotate(90deg); }
}

/* ---------- pathway diagram ---------- */
.pathway { position: relative; }
.pathway__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); position: relative; }
.pathway__steps::before { content: ""; position: absolute; top: 27px; left: calc(50% / var(--n, 8)); right: calc(50% / var(--n, 8)); height: 2px; background: linear-gradient(90deg, var(--teal), var(--orange)); }
.pathway__steps li { display: grid; justify-items: center; text-align: center; gap: 10px; padding-inline: 4px; position: relative; }
.pathway__dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--line); position: relative; z-index: 1; color: var(--ink); }
.pathway__dot svg { width: 24px; height: 24px; }
.pathway__steps li.is-ai .pathway__dot { background: var(--ink); border-color: var(--ink); color: var(--orange); }
.pathway__steps b { font: 600 .92rem/1.2 var(--f-display); }
.pathway__steps small { font-size: .8rem; color: var(--slate); line-height: 1.35; }
.section--dark .pathway__dot { background: var(--ink-2); border-color: var(--ink-3); color: var(--white); }
.section--dark .pathway__steps li.is-ai .pathway__dot { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.section--dark .pathway__steps small { color: #9fabb5; }
.layers { display: grid; gap: 8px; margin-top: 26px; grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); }
.layer { border-radius: 12px; padding: 12px 16px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; font-size: .9rem; }
.layer b { font: 600 .95rem/1.2 var(--f-display); }
.layer span { color: inherit; opacity: .85; }
.layer--pearl { background: var(--teal-soft); color: var(--teal-deep); }
.layer--ai { background: var(--ink); color: var(--white); }
.layer--ai b { color: var(--orange); }
.layer--svc { background: var(--orange-soft); color: #8a3f12; }
.section--dark .layer--pearl { background: rgba(3,137,143,.22); color: #9fe0e0; }
.section--dark .layer--ai { background: var(--orange); color: var(--ink); }
.section--dark .layer--ai b { color: var(--ink); }
.section--dark .layer--svc { background: rgba(239,130,64,.16); color: #ffc9a6; }
.pathway-scroll { overflow-x: auto; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.pathway-scroll > * { min-width: 860px; }
.scroll-hint { display: none; font-size: .8rem; color: var(--slate-2); margin-top: 6px; }
@media (max-width: 900px) { .scroll-hint { display: block; } }

/* ---------- AI tiles / product tour ---------- */
.ai-points { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ai-point { padding: 20px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--ink-3); display: grid; gap: 10px; align-content: start; }
.ai-point__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(239,130,64,.14); color: var(--orange); }
.ai-point__icon svg { width: 22px; height: 22px; }
.ai-point h3 { font-size: 1.02rem; color: var(--white); }
.ai-point p { font-size: .9rem; color: #aab6bf; line-height: 1.45; }
@media (max-width: 1080px) { .ai-points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .ai-points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .ai-points { grid-template-columns: 1fr; } }

.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.metric { border-top: 2px solid var(--orange); padding-top: 16px; display: grid; gap: 6px; }
.metric b { font: 600 clamp(2rem, 4vw, 3rem)/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.metric span { font-size: .92rem; color: var(--slate); }
.section--dark .metric span { color: #aab6bf; }
.metric small { font: 400 .72rem/1.35 var(--f-mono); color: var(--slate-2); }
@media (max-width: 720px) { .metrics { grid-template-columns: 1fr; } }

.tour { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.tour__tabs { display: grid; gap: 8px; }
.tour__tab {
  text-align: left; cursor: pointer; border: 1px solid var(--line); background: var(--white); border-radius: 14px;
  padding: 16px 18px; display: grid; gap: 4px; font: inherit; color: inherit; transition: border-color .2s, background .2s, box-shadow .2s;
}
.tour__tab b { font: 600 1rem/1.25 var(--f-display); display: flex; gap: 10px; align-items: center; }
.tour__tab b i { font: 500 .72rem/1 var(--f-mono); font-style: normal; color: var(--slate-2); }
.tour__tab span { font-size: .9rem; color: var(--slate); line-height: 1.45; }
.tour__tab[aria-selected="true"] { border-color: var(--ink); box-shadow: var(--shadow); }
.tour__tab[aria-selected="true"] b i { color: var(--orange-deep); }
.tour__view { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); position: sticky; top: 96px; }
.tour__bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--mist); font: 500 .74rem/1 var(--f-mono); color: var(--slate); }
.tour__bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd8de; }
.tour__bar span { margin-left: 8px; }
.tour__view img { width: 100%; height: auto; }
.tour__caption { padding: 14px 18px; font-size: .88rem; color: var(--slate); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .tour { grid-template-columns: 1fr; } .tour__view { position: static; } }

/* ---------- media ---------- */
.frame { border-radius: var(--radius); overflow: hidden; background: var(--mist); position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--shadow { box-shadow: var(--shadow); }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-11 { aspect-ratio: 1 / 1; }
.video { border-radius: var(--radius); overflow: hidden; background: var(--ink); position: relative; aspect-ratio: 16 / 9; box-shadow: var(--shadow); max-width: 100%; }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; cursor: pointer; padding: 0;
  background: linear-gradient(180deg, rgba(18,26,34,0) 40%, rgba(18,26,34,.55) 100%);
}
.video__play img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.video__play .video__btn { position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .2s; }
.video__play:hover .video__btn { transform: scale(1.06); }
.video__btn svg { width: 28px; height: 28px; margin-left: 4px; fill: var(--ink); }
.video__meta { position: absolute; left: 18px; bottom: 16px; right: 18px; display: flex; justify-content: space-between; gap: 12px; color: var(--white); font: 500 .8rem/1.2 var(--f-mono); letter-spacing: .04em; text-shadow: 0 1px 8px rgba(0,0,0,.5); pointer-events: none; }
.caption { font-size: .85rem; color: var(--slate); margin-top: 10px; }

/* ---------- cards / tiles ---------- */
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; background: var(--white); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.tile:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.tile__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; }
.tile__icon svg { width: 24px; height: 24px; }
.tile--img { padding: 0; overflow: hidden; }
.tile--img .tile__body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.tile--img .frame { border-radius: 0; }
.tile p { color: var(--slate); font-size: .96rem; }
.tile .textlink { margin-top: 4px; }
.section--mist .tile { background: var(--white); }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23026a6f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.section--dark .checks li::before { background-color: rgba(3,137,143,.3); }

/* steps (consumer journey) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 30px; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 14px); }
.steps li { position: relative; display: grid; gap: 12px; align-content: start; counter-increment: step; }
.steps__num { width: 60px; height: 60px; border-radius: 50%; background: var(--white); border: 2px solid var(--orange); display: grid; place-items: center; position: relative; z-index: 1; color: var(--orange-deep); }
.steps__num svg { width: 26px; height: 26px; }
.steps li::after { content: "Step " counter(step); position: absolute; top: 20px; left: 72px; font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); background: var(--peach); padding: 2px 6px; }
.steps h3 { font-size: 1.12rem; }
.steps p { font-size: .95rem; color: var(--slate); }
.steps .who { font: 500 .74rem/1.3 var(--f-mono); color: var(--teal-deep); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { top: 30px; bottom: 30px; left: 29px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--orange) 0 8px, transparent 8px 14px); }
  .steps li { grid-template-columns: 60px 1fr; column-gap: 18px; }
  .steps li > :not(.steps__num) { grid-column: 2; }
  .steps__num { grid-row: 1 / span 4; }
  .steps li::after { position: static; grid-column: 2; grid-row: 1; justify-self: start; background: none; padding: 0; }
}

/* tabs (providers) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 10px 18px; font: 600 .95rem/1 var(--f-body); cursor: pointer; color: var(--ink-3); display: inline-flex; gap: 8px; align-items: center; }
.tab svg { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; } }

/* accordion */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 1.08rem/1.35 var(--f-display); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121a22' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc summary small { display: block; font: 400 .9rem/1.4 var(--f-body); color: var(--slate); margin-top: 4px; }
.acc__body { padding: 0 0 26px; display: grid; gap: 14px; color: var(--ink-3); max-width: 78ch; }
.acc__body ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.acc__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.acc__cols > div { background: var(--mist); border-radius: 12px; padding: 16px 18px; display: grid; gap: 6px; align-content: start; font-size: .94rem; }
.acc__cols b { font-family: var(--f-display); }
@media (max-width: 760px) { .acc__cols { grid-template-columns: 1fr; } }

/* callouts */
.callout { border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; }
.callout--teal { background: var(--teal-soft); color: #0d3f41; }
.callout--warn { background: #fff1ee; border: 1px solid #f7c9bd; color: #6b2413; }
.callout--ink { background: var(--ink); color: var(--white); }
.callout h3 { font-size: 1.12rem; }

.disclaimer { font-size: .84rem; color: var(--slate); border-left: 3px solid var(--line); padding-left: 14px; display: grid; gap: 6px; max-width: 90ch; }

/* ---------- forms ---------- */
.form-card { background: var(--white); border-radius: 22px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field > label, .field > legend, .q { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .83rem; color: var(--slate); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
  font: 400 1rem/1.4 var(--f-body); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(3,137,143,.14); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: .95rem; background: var(--white); transition: all .15s; }
.choice input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .9rem; color: var(--ink-3); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.progress { display: flex; gap: 8px; align-items: center; font: 500 .74rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--slate-2); }
.progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.progress i.on { background: var(--orange); }
.form-note { font-size: .82rem; color: var(--slate); }
.form-error { color: #b3261e; font-size: .88rem; font-weight: 500; }
.result { border-radius: 16px; padding: 22px; display: grid; gap: 10px; }
.result--ok { background: var(--teal-soft); color: #0d3f41; }
.result--stop { background: #fff1ee; color: #6b2413; border: 1px solid #f7c9bd; }
.result--wait { background: var(--orange-soft); color: #6a2f0c; }
.result h3 { font-size: 1.15rem; }

/* share */
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.share__url { font: 500 .85rem/1 var(--f-mono); background: var(--white); border: 1px dashed var(--line); border-radius: 999px; padding: 12px 16px; user-select: all; overflow-wrap: anywhere; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cta-card { border-radius: 22px; padding: clamp(26px, 4vw, 44px); display: grid; gap: 14px; align-content: space-between; min-height: 240px; text-decoration: none; }
.cta-card--patient { background: var(--orange); color: var(--ink); }
.cta-card--provider { background: var(--ink-2); color: var(--white); border: 1px solid var(--ink-3); }
.cta-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cta-card p { opacity: .85; max-width: 44ch; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; border-top: 2px solid var(--ink); }
.timeline li { padding-top: 18px; position: relative; display: grid; gap: 6px; align-content: start; }
.timeline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--orange); }
.timeline b { font: 600 1.4rem/1 var(--f-display); }
.timeline p { font-size: .92rem; color: var(--slate); }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .timeline { grid-template-columns: 1fr; } }

/* people */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.person { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 4px; }
.person b { font: 600 1.05rem/1.3 var(--f-display); }
.person span { font-size: .9rem; color: var(--slate); }
@media (max-width: 760px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .people { grid-template-columns: 1fr; } }

/* study cards */
.study { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; background: var(--white); }
.study__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 500 .72rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--mist); color: var(--slate); }
.chip--teal { background: var(--teal-soft); color: var(--teal-deep); }
.chip--orange { background: var(--orange-soft); color: #8a3f12; }
.study__nums { display: flex; gap: 22px; flex-wrap: wrap; }
.study__nums div { display: grid; gap: 2px; }
.study__nums b { font: 600 1.6rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.study__nums span { font-size: .78rem; color: var(--slate); }
.study p { font-size: .94rem; color: var(--slate); }
.study__links { display: flex; gap: 16px; flex-wrap: wrap; font-size: .9rem; }
.study__links a { color: var(--teal-deep); font-weight: 600; }

/* investor */
.thesis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.thesis > div { padding: 26px 22px; display: grid; gap: 10px; align-content: start; }
.thesis > div + div { border-left: 1px solid var(--line); }
.thesis .n { font: 500 .74rem/1 var(--f-mono); color: var(--orange-deep); letter-spacing: .1em; }
.thesis h3 { font-size: 1.08rem; }
.thesis p { font-size: .92rem; color: var(--slate); }
@media (max-width: 900px) { .thesis { grid-template-columns: 1fr 1fr; } .thesis > div:nth-child(3) { border-left: 0; } .thesis > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .thesis { grid-template-columns: 1fr; } .thesis > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.revenue { display: grid; gap: 8px; }
.revenue > div { display: grid; grid-template-columns: 180px 1fr auto; gap: 18px; align-items: center; padding: 16px 20px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--ink-3); }
.revenue b { font-family: var(--f-display); font-weight: 600; }
.revenue span { color: #aab6bf; font-size: .92rem; }
.revenue em { font: 500 .72rem/1 var(--f-mono); font-style: normal; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); white-space: nowrap; }
@media (max-width: 720px) { .revenue > div { grid-template-columns: 1fr; gap: 6px; } }

.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.roadmap > div { border-radius: var(--radius); padding: 24px; background: var(--mist); display: grid; gap: 10px; align-content: start; }
.roadmap .when { font: 500 .78rem/1 var(--f-mono); color: var(--teal-deep); letter-spacing: .08em; text-transform: uppercase; }
.roadmap p { font-size: .94rem; color: var(--slate); }
@media (max-width: 760px) { .roadmap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b8c3cc; padding-block: 64px 36px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__grid h4 { color: var(--white); font-size: .78rem; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .14em; font-weight: 500; margin-bottom: 14px; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__grid a { text-decoration: none; color: #d5dde3; }
.footer__grid a:hover { color: var(--orange); }
.footer__brand { display: grid; gap: 14px; align-content: start; max-width: 36ch; }
.footer__brand img { height: 26px; width: auto; }
.footer__legal { border-top: 1px solid var(--ink-3); margin-top: 44px; padding-top: 22px; display: grid; gap: 8px; font-size: .8rem; color: #8e9ba6; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* test-mode bar (remove before public launch) */
.user-test-bar { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; gap: 10px; align-items: center; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--ink); color: var(--white); font: 500 .78rem/1 var(--f-body); box-shadow: var(--shadow); }
.user-test-bar a { background: var(--orange); color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; }

/* utilities */
.center { text-align: center; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 24px; } .mt-l { margin-top: 44px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.anchor { scroll-margin-top: 90px; }
.section--mist .roadmap > div { background: var(--white); border: 1px solid var(--line); }

/* ---------- product mockups (AiSPEED / PEARL illustrations) ---------- */
.mk { --mk-line: #e3e9ed; background: var(--white); border: 1px solid var(--mk-line); border-radius: 16px; box-shadow: 0 30px 60px -28px rgba(18,26,34,.45), 0 2px 6px rgba(18,26,34,.06); overflow: hidden; font-size: 13px; line-height: 1.35; color: var(--ink); text-align: left; max-width: 100%; }
.mk__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ink); color: #c9d3da; font-size: 12px; flex-wrap: wrap; }
.mk__dots { display: flex; gap: 5px; } .mk__dots i { width: 8px; height: 8px; border-radius: 50%; background: #3a4854; }
.mk__app { color: var(--white); font-family: var(--f-display); font-weight: 600; font-size: 13px; }
.mk__ctx { opacity: .85; }
.mk__tag { margin-left: auto; font: 500 10px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.mk__body { padding: 16px; display: grid; gap: 12px; }
.mk__steps { display: flex; gap: 6px; flex-wrap: wrap; }
.mk__step { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 999px; background: var(--mist); color: var(--slate); font-weight: 600; font-size: 12px; }
.mk__step i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; background: var(--white); }
.mk__step.done { background: var(--teal-soft); color: var(--teal-deep); } .mk__step.done i { background: var(--teal); color: var(--white); }
.mk__step.on { background: var(--ink); color: var(--white); } .mk__step.on i { background: var(--orange); color: var(--ink); }
.mk__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.mk__h { font: 600 12px/1.3 var(--f-display); color: var(--ink-3); }
.mk__chip { font: 500 10.5px/1 var(--f-mono); padding: 5px 8px; border-radius: 999px; background: var(--mist); color: var(--slate); white-space: nowrap; }
.mk__chip--teal { background: var(--teal-soft); color: var(--teal-deep); }
.mk__chip--orange { background: var(--orange-soft); color: #8a3f12; }
.mk__tl { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; padding-top: 22px; }
.mk__tl-label { font-size: 11px; color: var(--slate); }
.mk__tl-track { position: relative; display: flex; height: 12px; border-radius: 6px; overflow: visible; }
.mk__tl-track .seg:first-child { border-radius: 6px 0 0 6px; } .mk__tl-track .seg:nth-child(3) { border-radius: 0 6px 6px 0; }
.seg--st { background: #cfd8de; } .seg--sb { background: #5fb8b5; } .seg--co { background: #f2a877; }
.mk__mark { position: absolute; top: -22px; transform: translateX(-50%); display: grid; justify-items: center; font-size: 10px; line-height: 1.1; }
.mk__mark:last-child { transform: translateX(-90%); }
.mk__mark b { font-weight: 600; white-space: nowrap; } .mk__mark small { color: var(--slate); }
.mk__mark::after { content: ""; width: 2px; height: 16px; background: var(--ink); margin-top: 1px; }
.mk__legend { display: flex; gap: 14px; font-size: 11px; color: var(--slate); flex-wrap: wrap; }
.mk__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.mk__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mk__kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mk__kpis > div { background: var(--mist); border-radius: 10px; padding: 8px 10px; display: grid; gap: 2px; }
.mk__kpis small { font-size: 10.5px; color: var(--slate); } .mk__kpis b { font: 600 16px/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.mk__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.mk__th { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ink); }
.mk__th img { width: 100%; height: 100%; object-fit: cover; }
.mk__th em { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); font: 600 10px/1 var(--f-mono); font-style: normal; background: rgba(18,26,34,.85); color: var(--white); padding: 3px 5px; border-radius: 999px; }
.mk__chart { width: 100%; height: 110px; display: block; border-radius: 8px; background: #fbfcfd; border: 1px solid var(--mk-line); }
.mk__axis { display: flex; justify-content: space-between; font: 500 10px/1 var(--f-mono); color: var(--slate-2); margin-top: -6px; }
.mk__heat { display: grid; grid-template-columns: repeat(90, 1fr); height: 18px; border-radius: 5px; overflow: hidden; }
.mk__heat i { display: block; }
.mk__find { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 14px; align-items: center; }
.mk__big { position: relative; border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: 0 0 0 3px var(--orange); max-width: 230px; }
.mk__big img { width: 100%; height: 100%; object-fit: cover; }
.mk__score { position: absolute; top: 10%; right: 10%; background: var(--orange); color: var(--ink); font: 600 12px/1 var(--f-mono); padding: 5px 7px; border-radius: 999px; }
.mk__side { display: grid; gap: 4px; align-content: center; }
.mk__side small { color: var(--slate); font-size: 11px; } .mk__side b { font: 600 20px/1.1 var(--f-display); }
.mk__btns { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.mk__btn { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--mk-line); font-weight: 600; font-size: 12px; background: var(--white); }
.mk__btn--ok { background: var(--teal); border-color: var(--teal); color: var(--white); }
.mk__btn--sign { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.mk__note { margin-top: 6px; }
.mk__doc { border: 1px solid var(--mk-line); border-radius: 12px; padding: 14px; display: grid; gap: 10px; }
.mk__doc-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; } .mk__doc-head b { font: 600 15px/1.2 var(--f-display); }
.mk__dl { display: grid; grid-template-columns: 90px 1fr; gap: 4px 10px; margin: 0; font-size: 12px; } .mk__dl dt { color: var(--slate); } .mk__dl dd { margin: 0; }
.mk__fl { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; }
.mk__fl img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.mk__fl b { display: block; font-size: 12.5px; } .mk__fl small { color: var(--slate); font-size: 11px; }
.mk__p { font-size: 12px; color: var(--ink-3); }
.mk--wide { width: 100%; }
.pboard { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.pcol { background: var(--mist); border-radius: 10px; padding: 8px; display: grid; gap: 6px; align-content: start; min-height: 150px; }
.pcol__h { display: flex; justify-content: space-between; font: 600 11.5px/1.2 var(--f-display); color: var(--ink-3); }
.pcol__h em { font: 500 10px/1 var(--f-mono); font-style: normal; color: var(--slate-2); }
.pc { background: var(--white); border: 1px solid var(--mk-line); border-radius: 8px; padding: 7px 8px; display: grid; gap: 3px; }
.pc b { font: 600 11.5px/1.2 var(--f-mono); } .pc small { font-size: 10.5px; color: var(--slate); }
.pc__s { justify-self: start; font-size: 10px; font-weight: 600; padding: 3px 6px; border-radius: 999px; background: var(--mist); color: var(--slate); }
.pc__s.warn { background: var(--orange-soft); color: #8a3f12; } .pc__s.ok { background: var(--teal-soft); color: var(--teal-deep); }
.pc__s.ai { background: var(--ink); color: var(--orange); } .pc__s.live { background: #e8f6ee; color: #1d7a45; }
.mk__case { gap: 14px; }
.mk__casehead { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mk__casehead > div { display: grid; gap: 2px; } .mk__casehead small { font-size: 10.5px; color: var(--slate); } .mk__casehead b { font: 600 13px/1.2 var(--f-display); }
.mk__next { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--orange-soft); }
.mk__next small { grid-column: 1; font: 500 10px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: #8a3f12; } .mk__next b { grid-column: 1; font-size: 13px; }
.mk__next .mk__btn { grid-column: 2; grid-row: 1 / span 2; }
.mk__track { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.mk__track li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; position: relative; font-size: 12.5px; color: var(--slate-2); }
.mk__track li + li::before { content: ""; position: absolute; left: 8px; top: -6px; height: 12px; width: 2px; background: var(--mk-line); }
.mk__track i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--mk-line); background: var(--white); }
.mk__track li.done { color: var(--ink); } .mk__track li.done i { background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: var(--teal); }
.mk__track li.on { color: var(--ink); font-weight: 600; } .mk__track li.on i { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(239,130,64,.2); }
.mk__track small { font: 500 10.5px/1 var(--f-mono); color: var(--slate-2); }
.mk-stack { position: relative; }
.mk-stack > .mk:nth-child(2) { position: absolute; right: -4%; bottom: -12%; width: 62%; }
@media (max-width: 720px) {
  .pboard { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mk__kpis--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk__casehead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-stack > .mk:nth-child(2) { position: static; width: 100%; margin-top: 14px; }
  .mk__find { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) { .mk__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mk__thumbs .mk__th:nth-child(5) { display: none; } .mk__tag { display: none; } }

/* pathway v2: one-word steps with hover/tap popups */
.pathway__steps li { padding-inline: 2px; }
.step { all: unset; cursor: pointer; display: grid; justify-items: center; gap: 10px; border-radius: 14px; padding: 2px 4px 6px; }
.step b { font: 600 .95rem/1.2 var(--f-display); }
.step:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.step:hover .pathway__dot, .is-open .pathway__dot { border-color: var(--orange); transform: translateY(-2px); }
.pathway__dot { transition: transform .18s, border-color .18s; }
.step__tip {
  position: absolute; z-index: 5; top: calc(100% + 4px); left: 50%; transform: translate(-50%, 6px); width: 210px;
  background: var(--ink); color: var(--white); border-radius: 12px; padding: 12px 14px; font-size: .86rem; line-height: 1.4; text-align: left;
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; pointer-events: none;
}
.step__tip::before { content: ""; position: absolute; top: -6px; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--ink); }
.pathway__steps li:first-child .step__tip { left: 0; transform: translate(0, 6px); } .pathway__steps li:first-child .step__tip::before { left: 28px; }
.pathway__steps li:last-child .step__tip { left: auto; right: 0; transform: translate(0, 6px); } .pathway__steps li:last-child .step__tip::before { left: auto; right: 22px; }
.pathway__steps li:hover .step__tip, .pathway__steps li.is-open .step__tip, .step:focus-visible + .step__tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.pathway__steps li:first-child:hover .step__tip, .pathway__steps li:first-child.is-open .step__tip, .pathway__steps li:last-child:hover .step__tip, .pathway__steps li:last-child.is-open .step__tip { transform: translate(0, 0); }
.section--dark .step__tip { background: var(--white); color: var(--ink); } .section--dark .step__tip::before { border-bottom-color: var(--white); }
.step-hint { font: 500 .74rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--slate-2); text-align: center; margin-top: 14px; }
.layer--gov { background: transparent; border: 1.5px dashed var(--line); color: var(--slate); }
.section--dark .layer--gov { border-color: var(--ink-3); color: #aab6bf; }
.section--dark .layer--gov b { color: var(--white); }
@media (max-width: 760px) {
  .pathway__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px; }
  .pathway__steps::before { display: none; }
  .layers { grid-template-columns: 1fr; }
  .layers .layer { grid-column: 1 / -1 !important; }
  .step__tip { width: 180px; }
  .pathway__steps li:nth-child(4n+1) .step__tip { left: 0; transform: translate(0, 6px); }
  .pathway__steps li:nth-child(4n) .step__tip { left: auto; right: 0; transform: translate(0, 6px); }
  .pathway__steps li:nth-child(4n+1).is-open .step__tip, .pathway__steps li:nth-child(4n).is-open .step__tip { transform: translate(0, 0); }
}

/* photo tiles */
.tile--photo { padding: 0; overflow: hidden; }
.tile--photo .frame { border-radius: 0; aspect-ratio: 4 / 3; }
.tile--photo .tile__body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.use-cases { display: flex; flex-wrap: wrap; gap: 8px; }
.use-cases span { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.use-cases svg { width: 18px; height: 18px; color: var(--teal-deep); }
.note-line { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--slate); }
.note-line svg { flex: none; width: 20px; height: 20px; color: var(--teal-deep); margin-top: 2px; }
.section--dark .note-line { color: #aab6bf; } .section--dark .note-line svg { color: var(--orange); }
.tour > div:last-child { position: sticky; top: 96px; }
@media (max-width: 900px) { .tour > div:last-child { position: static; } }
.hero__stack { display: grid; gap: clamp(32px, 5vw, 56px); }
.hero__mock { max-width: 1080px; }
.pc__s { white-space: nowrap; }
@media (max-width: 720px) { .hero__mock { margin-inline: -4px; } }

/* legal pages */
.legal { max-width: 78ch; display: grid; gap: 14px; color: var(--ink-3); }
.legal h2, .legal h3 { margin-top: 18px; font-size: 1.2rem; }
.legal ol, .legal ul { padding-left: 1.3em; display: grid; gap: 12px; margin: 0; }
.legal a { color: var(--teal-deep); }
.legal li { scroll-margin-top: 90px; }
