/* Nuvory marketing site, v2.
   Concept: calm navy brand with one warm signal (amber) for "found" moments. Product screenshots carry the story,
   framed as devices on soft gradient fields. Breakpoints: 1200 desktop, 1024 tablet landscape, 768 tablet, 480 phone. */
:root {
  --bg: #F7F8FC;
  --surface: #FFFFFF;
  --raised: #EFF1F8;
  --ink: #121833;
  --muted: #4A5170;
  --faint: #6B7290;
  --line: #E1E4EE;
  --brand: #1E2A6E;
  --brand-2: #3B4FC4;
  --brand-ink: #1E2A6E;
  --on-brand: #FFFFFF;
  --brand-soft: #E8EBF8;
  --signal: #F5A524;
  --signal-ink: #8A4B00;
  --signal-soft: #FFF2DC;
  --go: #1D6B45;
  --go-soft: #E3F3EA;
  --band: #0F1430;
  --on-band: #F1F3FA;
  --on-band-muted: #AEB5D2;
  --glow-a: rgba(59, 79, 196, 0.16);
  --glow-b: rgba(245, 165, 36, 0.14);
  --shadow: 0 40px 80px -40px rgba(18, 24, 51, 0.45), 0 12px 24px -12px rgba(18, 24, 51, 0.18);
  --font-display: "Bricolage Grotesque", "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --radius: 14px;
  --wrap: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0F22; --surface: #121834; --raised: #19203F; --ink: #EEF0F8; --muted: #B3B9D4; --faint: #8D94B3; --line: #262E52;
    --brand: #3B4FC4; --brand-2: #6A7CF0; --brand-ink: #A9B6FF; --brand-soft: #1B2250; --signal: #F5B544; --signal-ink: #F7C677;
    --signal-soft: #3A2A0E; --go: #6FCF97; --go-soft: #12301F; --band: #070A18; --glow-a: rgba(106, 124, 240, 0.22); --glow-b: rgba(245, 181, 68, 0.12);
    --shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), 0 12px 24px -12px rgba(0, 0, 0, 0.5); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0F22; --surface: #121834; --raised: #19203F; --ink: #EEF0F8; --muted: #B3B9D4; --faint: #8D94B3; --line: #262E52;
  --brand: #3B4FC4; --brand-2: #6A7CF0; --brand-ink: #A9B6FF; --brand-soft: #1B2250; --signal: #F5B544; --signal-ink: #F7C677;
  --signal-soft: #3A2A0E; --go: #6FCF97; --go-soft: #12301F; --band: #070A18; --glow-a: rgba(106, 124, 240, 0.22); --glow-b: rgba(245, 181, 68, 0.12);
  --shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), 0 12px 24px -12px rgba(0, 0, 0, 0.5); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
[hidden] { display: none !important; }
figure { margin: 0; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; font-weight: 650; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 1.25rem + 2.2vw, 2.8rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section.alt { background: var(--surface); }
.lede { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem); color: var(--muted); max-width: 58ch; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--brand-ink); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; }
.kicker .ico { width: 16px; height: 16px; }
.center { text-align: center; margin-inline: auto; }
.head { display: grid; gap: 16px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); justify-items: start; }
.head.center { justify-items: center; }
.ico { width: 22px; height: 22px; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--font-body); line-height: 1.2; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 24px -12px rgba(30, 42, 110, .7); }
.btn-primary:hover { transform: translateY(-1px); background: var(--brand-2); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-signal { background: var(--signal); color: #241600; }
.btn-signal:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 0.93rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--brand-ink); }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.02em; color: var(--faint); margin-top: -3px; }
/* header lockup ~9% larger than the shared .logo (footer keeps the base size) */
.site-header .logo { gap: 11px; font-size: 1.525rem; flex: none; }
.site-header .logo svg { width: 35px; height: 35px; }
.site-header .logo small { font-size: 0.74rem; }
.site-header .header-cta { flex: none; }
@media (min-width: 1025px) and (max-width: 1199px) { .nav > a, .nav summary { padding-inline: 10px; } }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav summary { list-style: none; cursor: pointer; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem; white-space: nowrap; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav > a:hover, .nav summary:hover, .nav details[open] summary { background: var(--raised); }
.nav details { position: relative; }
.menu { position: absolute; top: calc(100% + 10px); left: -8px; min-width: 320px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.menu.wide { min-width: 720px; grid-template-columns: 1fr 1fr; }
/* desktop Platform menu: sized to its content, icons top-aligned like the Specialties menu */
@media (min-width: 1025px) { .menu.wide { min-width: 0; width: 680px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .menu.wide a { align-items: start; } }
.menu a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.menu a .ibox { grid-row: span 2; }
.menu a span.d { font-weight: 400; font-size: 0.83rem; color: var(--muted); grid-column: 2; }
.menu a:hover { background: var(--raised); }
.menu a.plain { grid-template-columns: 1fr; }
.ibox { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.ibox .ico { width: 19px; height: 19px; }
.header-cta { display: flex; gap: 8px; align-items: center; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; transition: transform .2s; }
.menu-toggle span::before { position: absolute; top: -6px; } .menu-toggle span::after { position: absolute; top: 6px; }
.site-header.open .menu-toggle span { background: transparent; }
.site-header.open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.site-header.open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav, .header-cta { display: none; width: 100%; }
  .site-header.open { max-height: 100dvh; overflow-y: auto; }
  .site-header.open .nav { display: grid; gap: 2px; margin: 4px 0 8px; }
  .site-header.open .header-cta { display: grid; grid-template-columns: 1fr; padding-bottom: 20px; }
  .nav > a, .nav summary { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu, .menu.wide { position: static; min-width: 0; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 4px 0 10px; }
  .site-header.open .header-cta .btn { width: 100%; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 96px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background: radial-gradient(40% 50% at 78% 30%, var(--glow-a), transparent 70%), radial-gradient(30% 40% at 95% 85%, var(--glow-b), transparent 70%), radial-gradient(30% 35% at 10% 10%, var(--glow-a), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero .lede { margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--muted); font-size: 0.92rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note .ico { width: 18px; height: 18px; color: var(--go); }
.rings { position: absolute; z-index: -1; right: -140px; top: -120px; width: 620px; opacity: .55; pointer-events: none; color: var(--brand-ink); }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; } .hero-copy { max-width: 680px; } .rings { width: 420px; right: -160px; } }

/* device frames */
.stage { position: relative; }
.browser { background: var(--surface); border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.browser .bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: var(--raised); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #FF6159; } .browser .bar i:nth-child(2) { background: #FFBD2E; } .browser .bar i:nth-child(3) { background: #28C941; }
.browser .bar span { margin-left: 12px; flex: 1; max-width: 300px; height: 20px; border-radius: 6px; background: var(--surface); font-size: 0.72rem; color: var(--faint); display: flex; align-items: center; padding-left: 10px; font-family: var(--font-data); overflow: hidden; white-space: nowrap; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.tablet { background: #11162E; border-radius: 26px; padding: 14px; box-shadow: var(--shadow); }
.tablet img { border-radius: 14px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 4px; min-width: 190px; animation: rise .9s ease both; }
.float b { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.float small { color: var(--muted); font-size: 0.8rem; }
.float.up { left: -28px; bottom: -28px; }
.float.up b { color: var(--go); }
.float.call { right: -20px; top: 18%; animation-delay: .25s; min-width: 220px; }
.float.call .row { display: flex; align-items: center; gap: 10px; }
.float.call .av { width: 34px; height: 34px; border-radius: 50%; background: var(--signal-soft); color: var(--signal-ink); display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; }
.float.call .tagx { font-size: 0.72rem; font-weight: 600; color: var(--go); background: var(--go-soft); border-radius: 999px; padding: 2px 8px; justify-self: start; }
@keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
@media (max-width: 768px) {
  .float.call { right: 8px; top: auto; bottom: -24px; min-width: 0; }
  .float.up { left: 8px; bottom: auto; top: -24px; }
  .float b { font-size: 1.25rem; }
}
@media (max-width: 480px) { .float.call { display: none; } }

/* logos */
.logos { padding-block: 34px; border-block: 1px solid var(--line); background: var(--surface); }
.logos p { text-align: center; color: var(--faint); font-size: 0.9rem; margin-bottom: 18px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; }
.logo-row a { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); color: var(--faint); text-decoration: none; letter-spacing: -0.01em; transition: color .15s; }
.logo-row a:hover { color: var(--ink); }

/* proof numbers */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.proof div { display: grid; gap: 4px; padding: 8px 0; }
.proof b { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1; color: var(--ink); }
.proof span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 768px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }

/* feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 128px); }
.feature.flip .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 18px; justify-items: start; }
.feature-copy ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 14px; }
.feature-copy li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.feature-copy li .ico { width: 20px; height: 20px; color: var(--go); margin-top: 3px; }
.feature-copy li b { display: block; }
.feature-copy li span { color: var(--muted); font-size: 0.97rem; }
.feature-art { position: relative; padding: clamp(18px, 3vw, 36px); border-radius: 24px; background: linear-gradient(135deg, var(--brand-soft), var(--signal-soft)); }
.feature-art.cool { background: linear-gradient(135deg, var(--brand-soft), var(--raised)); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature.flip .feature-copy { order: 0; } }

/* chips row */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.chip:hover { border-color: var(--brand-ink); }
.chip .ibox { width: 30px; height: 30px; border-radius: 50%; }
.chip .ibox .ico { width: 16px; height: 16px; }

/* steps */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; display: grid; gap: 12px; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); counter-increment: s; }
.step .ibox { background: rgba(245, 165, 36, 0.16); color: var(--signal); width: 48px; height: 48px; border-radius: 14px; }
.step .ibox .ico { width: 24px; height: 24px; }
.step::after { content: counter(s); position: absolute; top: 24px; right: 26px; font-family: var(--font-display); font-size: 2.4rem; color: rgba(255, 255, 255, 0.12); font-weight: 700; }
.section.alt .step, .light .step { background: var(--surface); border-color: var(--line); }
.light .step::after { color: var(--line); }
.light .step .ibox { background: var(--signal-soft); color: var(--signal-ink); }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }

/* band */
.band { background: var(--band); color: var(--on-band); position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 85% 0%, rgba(59, 79, 196, .35), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(245, 165, 36, .12), transparent 70%); }
.band h2, .band h3 { color: var(--on-band); }
.band .lede, .band p { color: var(--on-band-muted); }
.band .kicker { background: rgba(255, 255, 255, .08); color: var(--on-band); }
.band .btn-ghost { background: transparent; color: var(--on-band); border-color: rgba(255, 255, 255, .3); }
.band .link-arrow { color: var(--on-band); }

/* cards */
.grid { display: grid; gap: 18px; }
.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)); }
@media (max-width: 1024px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .ibox { width: 46px; height: 46px; border-radius: 13px; }
.card .ibox .ico { width: 23px; height: 23px; }
.band .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); color: var(--on-band); }
.band .card .ibox { background: rgba(255, 255, 255, .08); color: var(--signal); }

.spec { position: relative; overflow: hidden; }
.spec .ibox { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--brand-soft), var(--signal-soft)); }
.spec .ibox .ico { width: 28px; height: 28px; }

/* cover cards */
.post { display: grid; gap: 0; overflow: hidden; padding: 0; }
.post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post .in { padding: 22px 24px 26px; display: grid; gap: 10px; }
.post .cat { font-size: 0.8rem; font-weight: 600; color: var(--signal-ink); text-transform: uppercase; letter-spacing: .06em; }
.post h3 { font-size: 1.2rem; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--faint); font-size: 0.88rem; }

/* page head */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 8vw, 100px) clamp(48px, 6vw, 80px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 70% at 90% 10%, var(--glow-a), transparent 70%), radial-gradient(30% 50% at 0% 100%, var(--glow-b), transparent 70%); }
.page-hero .hero-grid { align-items: center; }
.crumbs, .page-hero .kicker { max-width: 100%; }
.hero-copy { min-width: 0; }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem); }
.page-hero.simple .wrap > div { max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--faint); margin: 0 0 22px; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }

/* EHR tiles */
.ehr-tile { display: grid; gap: 8px; justify-items: start; }
.ehr-tile .name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.01em; }
.pill { font-size: 0.75rem; font-weight: 600; border-radius: 999px; padding: 3px 10px; background: var(--brand-soft); color: var(--brand-ink); }
.pill.live { background: var(--go-soft); color: var(--go); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-ink); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 10px; color: var(--muted); max-width: 66ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: var(--brand); color: var(--on-brand); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 32px; align-items: center; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 100% 0%, rgba(106, 124, 240, .55), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(245, 165, 36, .25), transparent 70%); }
.cta h2 { color: var(--on-brand); }
.cta p { color: var(--on-brand); opacity: .85; margin-top: 14px; max-width: 46ch; }
.cta .hero-cta { margin-top: 26px; }
.cta .btn-ghost { background: transparent; color: var(--on-brand); border-color: rgba(255, 255, 255, .4); }
.cta .shot { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); transform: rotate(2deg) translateY(8px); }
.cta .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .shot { transform: none; } }

/* article */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.cover { border-radius: 20px; overflow: hidden; margin-top: 36px; box-shadow: var(--shadow); }
.cover img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.prose { max-width: 70ch; min-width: 0; font-size: 1.08rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem); }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose em { color: var(--muted); }
.takeaways { background: var(--signal-soft); border-radius: var(--radius); padding: 22px 24px; }
.takeaways h2 { font-size: 1rem; margin: 0 0 10px; color: var(--signal-ink); font-family: var(--font-body); letter-spacing: .04em; text-transform: uppercase; }
.takeaways ul { margin: 0; }
.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.legal-date { font-size: .92rem; color: var(--muted); }
.legal h2 { scroll-margin-top: 100px; }
.legal ul ul { margin-top: .45em; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 1024px) { .article { grid-template-columns: 1fr; } .aside { position: static; } .legal ~ .aside .toc { display: none; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--raised); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

/* forms */
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; min-height: 48px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand-ink); outline-offset: 0; border-color: transparent; }
.err { color: #C0362C; font-size: .82rem; }
.consent { font-size: .82rem; color: var(--faint); }
.form-done { display: grid; gap: 10px; background: var(--go-soft); border-radius: 20px; padding: 28px; }
.form-done h3, .form-done h2 { color: var(--go); }
.form-done h2.h3 { font-size: 1.3rem; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 200px; min-width: 0; font: inherit; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: inherit; min-height: 46px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.checks .ico { color: var(--go); width: 20px; height: 20px; margin-top: 3px; }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.calc .out { background: var(--band); color: var(--on-band); border-radius: 20px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: start; position: relative; overflow: hidden; isolation: isolate; }
.calc .out::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 100% 0%, rgba(59, 79, 196, .4), transparent 70%); }
.calc .big { font-family: var(--font-display); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); color: var(--signal); font-variant-numeric: tabular-nums; line-height: 1; }
.calc dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0; font-variant-numeric: tabular-nums; }
.calc dt { color: var(--on-band-muted); } .calc dd { margin: 0; text-align: right; font-weight: 600; }
.calc .fine { font-size: .82rem; color: var(--on-band-muted); }
.range-val { color: var(--brand-ink); font-weight: 700; margin-left: 6px; }
input[type="range"] { accent-color: var(--brand-2); padding: 0; border: 0; background: none; min-height: 32px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

/* pricing */
.plan { gap: 16px; padding: 30px; }
.plans { align-items: stretch; }
.plan .price { font-family: var(--font-display); font-size: 2.4rem; line-height: 1.1; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.plan .price small { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan .price span { font-family: var(--font-body); font-size: .85rem; font-weight: 400; color: var(--faint); }
.plan-lead { font-weight: 600; font-size: .92rem; }
.plan.featured { border: 2px solid var(--brand-2); box-shadow: var(--shadow); position: relative; }
.plan.featured::before { content: "Most popular"; position: absolute; top: -13px; left: 24px; background: var(--brand-2); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan-cta { margin-top: auto; display: grid; gap: 12px; justify-items: start; padding-top: 8px; }
.plan-cta .btn { width: 100%; justify-content: center; }
.assure { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--muted); font-size: .92rem; }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure .ico { width: 18px; height: 18px; color: var(--go); flex: none; }
.compare th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--ink); background: none; font-weight: 500; }
.compare th[scope="row"] a { color: inherit; }
.compare td { text-align: center; vertical-align: middle; }
.compare thead th:not(:first-child) { text-align: center; }
.th-price { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--faint); margin-top: 2px; }
.compare .yes .ico { width: 20px; height: 20px; color: var(--go); }
.compare .no { color: var(--faint); }

/* book a demo */
.demo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.demo-main { display: grid; gap: 16px; min-width: 0; }
.demo-side { display: grid; gap: 16px; position: sticky; top: 100px; min-width: 0; }
.demo-steps { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; font-size: .9rem; font-weight: 600; color: var(--faint); }
.demo-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--raised); }
.demo-steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--ink); font-size: .8rem; }
.demo-steps li.on { color: var(--brand-ink); background: var(--brand-soft); }
.demo-steps li.on span { background: var(--brand); color: var(--on-brand); }
.demo-steps li.done span { background: var(--go); color: #fff; }
.btn-block { width: 100%; }
.form-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.form-meta .ico { width: 15px; height: 15px; }
.side-h { font-size: 1.15rem; }
.checks.rich li b { display: block; font-weight: 600; }
.checks.rich li span { color: var(--muted); font-size: .92rem; }
.plan-ctx { border: 2px solid var(--brand-2); }
.card .plan-ctx-price { color: var(--ink); font-family: var(--font-display); font-size: 1.8rem; line-height: 1.1; }
.card .plan-ctx-price small { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--muted); }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: .93rem; color: var(--muted); }
.trust-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.trust-list .ico { width: 20px; height: 20px; color: var(--brand-2); }
.trust-list b { color: var(--ink); }
.side-alt { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
#meetings .meetings-iframe-container { min-height: 640px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
#meetings .meetings-iframe-container:empty { display: none; }
@media (max-width: 960px) { .demo { grid-template-columns: 1fr; } .demo-side { position: static; } }

/* self sign-up */
.signup { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.signup .form-done { grid-column: 1 / -1; }
.plan-picks { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; }
.plan-picks legend { font-size: .88rem; font-weight: 600; margin-bottom: 6px; padding: 0; }
.plan-pick { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; background: var(--bg); }
.plan-pick:has(input:checked) { border-color: var(--brand-2); box-shadow: 0 0 0 1px var(--brand-2); }
.plan-pick input { margin-top: 4px; accent-color: var(--brand-2); }
.plan-pick span { display: grid; gap: 2px; }
.plan-pick small { color: var(--muted); }
.qty { display: grid; grid-template-columns: 48px minmax(0, 120px) 48px; gap: 8px; align-items: center; }
.qty .btn { min-height: 48px; padding: 0; justify-content: center; font-size: 1.2rem; }
.qty input { text-align: center; font-variant-numeric: tabular-nums; }
.hint { font-size: .82rem; color: var(--faint); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.agree input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand-2); flex: none; }
.summary { position: sticky; top: 100px; background: var(--band); color: var(--on-band); border-radius: 20px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; }
.summary h2 { font-size: 1.25rem; color: inherit; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0; font-variant-numeric: tabular-nums; }
.summary dt { color: var(--on-band-muted); } .summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 14px; }
.summary .total b { font-family: var(--font-display); font-size: 2.2rem; color: var(--signal); font-variant-numeric: tabular-nums; }
.summary .fine { font-size: .82rem; color: var(--on-band-muted); }
.summary .link-note { font-size: .9rem; background: rgba(245, 165, 36, .14); border: 1px solid rgba(245, 165, 36, .45); border-radius: 12px; padding: 10px 14px; }
.summary .link-note b { color: var(--signal); }
.summary a { color: inherit; }
.summary .checks { gap: 10px; font-size: .92rem; }
@media (max-width: 860px) { .signup { grid-template-columns: 1fr; } .summary { position: static; } .summary .summary-feat { display: none; } }
@media (max-width: 480px) { .plan-picks { grid-template-columns: 1fr; } }

/* glossary */
.glossary dt { font-family: var(--font-display); font-weight: 650; font-size: 1.2rem; margin-top: 28px; scroll-margin-top: 100px; }
.glossary dd { margin: 6px 0 0; color: var(--muted); max-width: 70ch; }
.az { display: flex; flex-wrap: wrap; gap: 8px; }
.az a { font-size: .85rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--surface); }

/* footer */
.site-footer { background: var(--band); color: var(--on-band-muted); padding-block: 72px 32px; }
.site-footer a { color: var(--on-band); text-decoration: none; font-size: .94rem; opacity: .9; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 64px; align-items: start; padding-bottom: 40px; margin-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand .logo { color: var(--on-band); }
.foot-brand p { font-size: .95rem; max-width: 42ch; margin: 0; }
.foot-news { display: grid; gap: 10px; justify-self: end; width: 100%; max-width: 520px; }
.foot-news .fh2 { font-family: var(--font-display); font-size: 1.15rem; color: var(--on-band); margin: 0; letter-spacing: 0; text-transform: none; }
.foot-news p { margin: 0; font-size: .92rem; }
.foot-news .inline-form { flex-wrap: nowrap; margin-top: 6px; }
.foot-news .inline-form .btn { flex: none; }
.foot-news .err:empty { display: none; }
.nl-done { color: var(--on-band); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(5, minmax(0, 1fr)); gap: 32px 24px; }   /* Platform names match the top menu, so that column is wider */
.foot-grid .fh { font-family: var(--font-body); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-band-muted); font-weight: 600; margin: 0 0 16px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.foot-grid a { font-size: .9rem; line-height: 1.35; display: inline-block; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }
.powered { display: inline-flex; align-items: center; gap: 10px; }
.powered img { height: 22px; width: auto; background: #fff; border-radius: 5px; padding: 3px 7px; }
@media (max-width: 1080px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; } }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr; } .foot-news { justify-self: start; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; } .foot-news .inline-form { flex-wrap: wrap; } .foot-news .inline-form .btn { width: 100%; } }

/* concept illustrations (v3): abstract SVG drawings, no product screens */
.illus svg { width: 100%; height: auto; display: block; overflow: visible; }
.stage .illus { max-width: 640px; margin-inline: auto; }
.feature-art .illus { max-width: 560px; margin-inline: auto; }
.cta .shot { transform: none; box-shadow: none; border-radius: 0; overflow: visible; }
.cta .shot .illus { max-width: 420px; margin-inline: auto; }
.cta .shot svg { animation: spin-slow 60s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .cta .shot .illus { max-width: 260px; } }

/* scene motion */
.illus .flow { animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.illus .pulse { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.illus .orbit { animation: orbit 50s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.cta .shot svg { animation: none; }
@media (prefers-reduced-motion: reduce) { .illus .mover { display: none; } .illus .flow, .illus .pulse, .illus .orbit { animation: none; } }
.card-cta { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.card-cta p, .card-cta .link-arrow { color: var(--on-brand); opacity: .9; }
.card-cta .ibox { background: rgba(255, 255, 255, .14); color: var(--signal); }
@media (max-width: 560px) {
  .feature-art { padding: 6px; border-radius: 18px; margin-inline: -8px; }
  .stage .illus { margin-inline: -12px; }
}

/* ---------- SEO landing pages: answer box, text blocks, flows, journey */
.answer-sec { padding-block: clamp(32px, 4vw, 48px) 0; }
.answer { max-width: 860px; border-left: 4px solid var(--signal); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; box-shadow: 0 1px 0 var(--line); }
.answer h2 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); margin-bottom: 8px; }
.answer p { color: var(--muted); }
.textblock { max-width: 760px; display: grid; gap: 16px; }
.textblock h2 { margin-bottom: 4px; }
.textblock p { color: var(--muted); font-size: 1.05rem; }
.textblock a, .answer a, .flow a, .subgrid a, .faq a, .table-wrap a, .lede a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.ticks li .ico { width: 20px; height: 20px; color: var(--go); margin-top: 3px; }
.ticks li b { display: block; }
.ticks li span { color: var(--muted); }
.subgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; margin-top: clamp(28px, 4vw, 44px); }
.subgrid > div { border-top: 2px solid var(--line); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.subgrid h3 { font-size: 1.12rem; }
.subgrid p { color: var(--muted); }
ol.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; counter-reset: f; }
ol.flow li { counter-increment: f; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px; display: grid; gap: 8px; align-content: start; }
.section.alt ol.flow li { background: var(--bg); }
ol.flow li::before { content: counter(f, decimal-leading-zero); font-family: var(--font-data); font-size: .8rem; color: var(--signal-ink); background: var(--signal-soft); border-radius: 999px; padding: 2px 10px; justify-self: start; }
ol.flow li b { font-family: var(--font-display); font-size: 1.08rem; }
ol.flow li span { color: var(--muted); font-size: .97rem; }
ol.flow.wide { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
ol.flow.wide li b { font-size: 1.2rem; }
ol.flow.wide li span strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
ol.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
ol.journey li a { display: grid; gap: 6px; height: 100%; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); position: relative; transition: border-color .18s, transform .18s; }
ol.journey li a:hover { border-color: var(--brand-2); transform: translateY(-2px); }
ol.journey li a b { font-family: var(--font-display); }
ol.journey li a span { color: var(--muted); font-size: .92rem; }
ol.journey li:not(:last-child) a::after { content: "→"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); color: var(--signal); font-weight: 700; z-index: 1; }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cta.solo { grid-template-columns: 1fr; }
.cta.solo p { max-width: 60ch; }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.side-links a { color: var(--brand-ink); }
.fine.center { text-align: center; color: var(--faint); font-size: .85rem; max-width: 70ch; margin-inline: auto; }
.menu.wide a:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 1024px) { .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } ol.journey { grid-template-columns: repeat(3, minmax(0, 1fr)); } ol.journey li a::after { display: none; } }
@media (max-width: 640px) { .g5, ol.journey, .subgrid { grid-template-columns: 1fr; } }
/* desktop dropdowns: centered under their button; site.js sets --nudge to keep a menu inside the viewport */
@media (min-width: 1025px) { .nav .menu { left: 50%; transform: translateX(calc(-50% + var(--nudge, 0px))); max-width: calc(100vw - 32px); } }

/* ---------- landing polish: split text sections, grouped columns, menu footer, 8-step band */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.split-head { display: grid; gap: 14px; position: sticky; top: 100px; }
.split-head .lede { font-size: 1.05rem; }
.split-body { display: grid; gap: 16px; }
.split-body > p { color: var(--muted); font-size: 1.05rem; }
.split-body a, .col a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.split + .ticks { margin-top: clamp(32px, 4vw, 48px); }
.ticks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.ticks.two li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.section.alt .ticks.two li { background: var(--bg); }
.cols { display: grid; gap: clamp(28px, 4vw, 56px); }
.cols.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col { display: grid; gap: 12px; align-content: start; border-top: 3px solid var(--signal); padding-top: 22px; }
.col h2 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); }
.col p { color: var(--muted); }
.col .col-intro { color: var(--ink); }
.menu-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 20px; border-top: 1px solid var(--line); margin-top: 6px; padding: 12px 12px 4px; }
.menu .menu-foot a { display: inline-flex; grid-template-columns: none; padding: 0; gap: 6px; font-size: .9rem; color: var(--brand-ink); }
.menu .menu-foot a:hover { background: none; text-decoration: underline; }
.menu-foot .ico { width: 15px; height: 15px; }
.steps4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps4 .step h3 { font-size: 1.15rem; }
@media (max-width: 1024px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols.n3 { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-head { position: static; } .ticks.two, .cols.n2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr; } }

/* ---------- Insights (blog): featured card, article cards, topic filter, topic tiles */
.featured-a { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; text-decoration: none; color: var(--ink); border-top: 4px solid var(--cat, var(--brand-ink)); }
.featured-a .fa-copy { padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: center; }
.featured-a h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); }
.featured-a p { color: var(--muted); max-width: 60ch; }
.featured-a img { width: 100%; height: 100%; max-height: 300px; object-fit: cover; }
@media (max-width: 860px) { .featured-a { grid-template-columns: 1fr; } .featured-a img { order: -1; max-height: 160px; } }
.acat { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--signal-ink); }
.acat .ico { width: 16px; height: 16px; color: var(--cat, var(--brand-ink)); }
.acard { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); border-top: 4px solid var(--cat, var(--brand-ink)); padding: 22px 22px 20px; }
.acard h3 { font-size: 1.12rem; line-height: 1.3; }
.acard p { color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard .meta { margin-top: auto; padding-top: 6px; }
.acard:hover h3, .featured-a:hover h2 { text-decoration: underline; text-underline-offset: 3px; }
.acard[hidden] { display: none; }
.list-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.list-head .muted { color: var(--muted); font-size: .95rem; }
.tbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tchip { font: inherit; font-size: .92rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tchip span { font-family: var(--font-data); font-size: .78rem; font-weight: 500; color: var(--muted); }
.tchip:hover { border-color: var(--brand-ink); }
.tchip[aria-pressed="true"] { background: var(--brand-ink); border-color: var(--brand-ink); color: #fff; }
.tchip[aria-pressed="true"] span { color: rgba(255, 255, 255, .75); }
@media (max-width: 640px) { .tbar { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 2px 16px 6px; scrollbar-width: none; } .tchip { flex: none; } }
[data-topic-filter] { scroll-margin-top: 96px; }
.more-wrap { text-align: center; margin-top: 28px; }
.more-wrap:has([hidden]) { display: none; }
.ttile { display: flex; align-items: center; gap: 14px; padding: 18px; text-decoration: none; color: var(--ink); }
.ttile b { display: block; font-size: 1rem; }
.ttile .n { display: block; color: var(--muted); font-size: .88rem; }
.ttile:hover b { text-decoration: underline; }
.chips.start { justify-content: flex-start; }
.sol-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.sol-strip p { color: var(--muted); margin-top: 4px; }
.sol-links { display: grid; gap: 8px; justify-items: start; }
@media (max-width: 760px) { .sol-strip { grid-template-columns: 1fr; } }
.other-topics { margin-top: 40px; }
.other-topics .grid { margin-top: 14px; }
.card.empty { text-align: center; padding: 48px 24px; }
.card.empty a { color: var(--brand-ink); }
.pager { display: flex; gap: 8px; margin-top: 32px; justify-content: center; }
.pager a { min-width: 40px; text-align: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--surface); }
.pager a[aria-current="page"] { background: var(--brand-ink); color: #fff; border-color: var(--brand-ink); }
/* grouped Resources menu */
.menu.groups { grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 4px 8px; min-width: 700px; }
.mgroup { display: grid; gap: 2px; align-content: start; }
.mlabel { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 8px 12px 2px; }
@media (max-width: 1024px) { .menu.groups { grid-template-columns: 1fr; min-width: 0; } }
.page-hero a.kicker { text-decoration: none; }
.page-hero a.kicker:hover { background: var(--brand-soft); text-decoration: underline; }
.meta .role { color: var(--faint); }
figure.cover { margin-left: 0; margin-right: 0; }
figure.cover img { object-position: 50% 0; }
.cover.slim { margin-top: 28px; }
.cover.slim img { aspect-ratio: 5 / 1; }
@media (max-width: 640px) { .cover.slim img { aspect-ratio: 3 / 1; } }
.prose a { color: var(--brand-ink); text-underline-offset: 3px; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--signal); color: var(--muted); font-style: italic; }
.prose .table-wrap { font-size: .95rem; }
.diagram { margin: 2em 0; padding: 22px; border-radius: var(--radius); background: var(--bg-alt, var(--brand-soft)); border: 1px solid var(--line); }
.diagram figcaption { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 14px; }
.diagram ol.flow { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .diagram ol.flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.diagram ol.flow li { padding: 14px; font-size: .95rem; min-width: 0; overflow-wrap: anywhere; }
.diagram ol.flow li b { font-size: 1rem; }
.diagram ol.flow li span { font-size: .9rem; }
.diagram .fine { margin-top: 12px; font-size: .85rem; color: var(--muted); }
.checklist { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: var(--surface); margin-top: 2em; }
.checklist h2 { margin-top: 0; font-size: 1.25rem; }
.checklist .ticks { margin-top: 14px; }
.checklist .ticks li div { color: var(--ink); }
.refs { font-size: .95rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 2.4em; font-size: .95rem; }
.share span { font-weight: 600; }
.toc-m { display: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; background: var(--surface); }
.toc-m summary { cursor: pointer; font-weight: 600; }
.toc-m ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: .95rem; }
.toc-m a { color: var(--muted); }
.aside .toc { max-height: calc(100vh - 140px); overflow: auto; }
@media (max-width: 1024px) { .toc-m { display: block; } .aside .toc { display: none; } }
.h3 { font-size: 1.25rem; line-height: 1.25; }
/* Integrations menu and EHR logos (logo image if present, else a neutral monogram) */
.menu.ehrs { grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 680px; gap: 2px 4px; }
.menu a.ehr-m { grid-template-columns: 40px 1fr; gap: 12px; }
.menu a.ehr-m .t { display: grid; gap: 1px; }
.menu a.ehr-m .d { grid-column: auto; }
.elogo, .slogo, .clogo { display: inline-grid; place-items: center; flex: none; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.elogo { width: 40px; height: 40px; }
.elogo img, .slogo img, .clogo img { width: 82%; height: 82%; object-fit: contain; }
.elogo.mono, .slogo.mono, .clogo.mono { background: var(--brand-soft); border-color: transparent; color: var(--brand-ink); font-family: var(--font-display); font-weight: 700; font-size: .9rem; letter-spacing: -.01em; }
.slogo { width: 30px; height: 30px; border-radius: 8px; font-size: .75rem !important; }
.logo-row a { display: inline-flex; align-items: center; gap: 10px; }
.clogo { width: 30px; height: 30px; border-radius: 50%; font-size: .72rem !important; }
.ehr-tile .top { display: flex; width: 100%; align-items: center; justify-content: space-between; }
.ehr-tile .elogo { width: 48px; height: 48px; border-radius: 12px; }
@media (max-width: 1024px) { .menu.ehrs { grid-template-columns: 1fr; min-width: 0; } }

/* pillar pages: specialties where the gap is common */
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.spec-list li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); min-width: 0; }
.spec-list a { text-decoration: none; } .spec-list a:hover b { text-decoration: underline; }
.spec-list span { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .spec-list { grid-template-columns: 1fr; } }

/* homepage H1 states the category, so it is longer than a slogan: a step smaller than other H1s */
.home-h1 { margin-top: 20px; font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); }

/* Specialties menu: a 3 x 3 grid, each specialty with one line on where its leakage sits */
.menu.specs { min-width: 0; width: 760px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.menu.specs a { align-items: start; }
@media (min-width: 1025px) and (max-width: 1240px) { .menu.specs { width: 660px; } }
@media (max-width: 1024px) { .menu.specs { width: auto; grid-template-columns: 1fr; } }

/* 30-day pilot: reassurance line under the hero buttons */
.cta-note { margin-top: 12px; font-size: .92rem; font-weight: 600; color: var(--brand-ink); }

.pilot-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px 48px; align-items: center; padding: clamp(24px, 4vw, 40px); }
.pilot-card h2 { margin: 12px 0 10px; }
.pilot-card p { margin: 0 0 18px; color: var(--muted); }
@media (max-width: 860px) { .pilot-card { grid-template-columns: 1fr; } }
