/* Shared visual refinement. Existing page structure and integration hooks are retained. */
:root {
  --secondary: #62d9d1;
  --radius-l: 0.85rem;
  --shadow-soft: 0 0.5rem 1.5rem rgb(17 33 64 / 6%);
  --motion-duration-section: 380ms;
  --motion-duration-item: 280ms;
}

body.site-body { line-height: 1.6; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; }
.heading-term { white-space: nowrap; }
h1 { font-size: clamp(2.25rem, 1.45rem + 2.4vw, 3.75rem); line-height: 1.12; }
h2 { line-height: 1.18; }
p { line-height: 1.65; }
.eyebrow { letter-spacing: 0.09em; font-size: 0.72rem; }
.button { text-transform: none; letter-spacing: 0; font-weight: 600; border-radius: 0.4rem; }
.section { padding-block: clamp(3.5rem, 2rem + 4vw, 6rem); }
.site-header { border-block-end: 1px solid rgb(31 38 71 / 8%); }
.brand-mark { max-inline-size: 11.5rem; }
.nav-summary { text-transform: none; letter-spacing: 0; font-size: 0.9375rem; }
.header-cta { font-size: 0.9375rem; }
.media-frame { border-radius: var(--radius-l); box-shadow: none; }
.lead { line-height: 1.65; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #3858e9; outline-offset: 5px;
}
.section-dark :is(a, button):focus-visible { outline-color: #62d9d1; }

/* One entrance per section. Copy stays readable while media settles. */
body.motion-ready [data-animate-section] > .shell {
  opacity: 1; filter: none; transform: translateY(0.5rem); will-change: auto;
}
body.motion-ready [data-animate-section].is-visible > .shell { transform: none; }
body.motion-ready [data-animate-section] :is(.eyebrow, h1, h2, .lead, .panel-text, .button, .media-frame, .feature-pillars > li, .lifecycle-check > li, .lifecycle-step, .service-grid > .card, .persona-intro, .persona-tile, .why-lucenne-visual, .why-point, .why-lucenne-flags > span, .band-highlights > li, .post-card) {
  opacity: 1; transform: none; clip-path: none; transition-delay: 0ms; will-change: auto;
}

/* Homepage: a balanced opening with one visual, followed by a quieter rhythm. */
.home-hero {
  --hero-bleed: max(4vw, calc((100vw - 78rem) / 2));
  min-block-size: auto;
  padding-block: clamp(3rem, 4.5vw, 5rem);
  background:
    radial-gradient(ellipse at 86% 25%, rgb(69 173 197 / 24%), transparent 53%),
    linear-gradient(115deg, #0c1734, #173766);
}
.home-hero::before { opacity: 0.1; }
.home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); min-block-size: clamp(25rem, 36vw, 33rem); }
.home-hero-copy { position: relative; z-index: 2; max-inline-size: none; gap: 1.5rem; }
.home-hero-copy h1 {
  max-inline-size: none; font-size: clamp(2.65rem, 1.2rem + 3.2vw, 4.5rem);
  line-height: 1.08; letter-spacing: -0.025em;
}
.home-hero-copy h1 span { white-space: nowrap; }
.home-hero-copy .lead { font-size: clamp(1.05rem, 0.95rem + 0.25vw, 1.2rem); max-inline-size: 34rem; }
.home-hero-actions { gap: 1rem 1.5rem; }
.home-hero .button-solid { background: #fff; color: #173d68; }
.home-hero .button-solid:hover { background: #e5f3ff; }
.home-text-link { font-weight: 600; }
.home-hero-signals { margin-block-start: 0.25rem; padding-block-start: 1.25rem; gap: 0.8rem 1rem; }
.home-hero-visual {
  position: absolute; z-index: 0; inset-block: -2rem; inset-inline-start: 42%;
  min-block-size: 0; inline-size: calc(58% + var(--hero-bleed));
}
.home-hero-photo {
  position: relative; inset: auto; margin: 0; block-size: 100%; aspect-ratio: auto;
  border-radius: 0; box-shadow: none;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 88%, transparent),
    linear-gradient(180deg, transparent, #000 12%, #000 84%, transparent);
  mask-composite: intersect;
}
.home-hero-photo::after { content: none; }
.home-hero-photo img { object-position: 52% center; filter: none; }
.home-assurance { background: #f4f7fb; }
.home-assurance-grid p { padding-inline: 1.25rem; color: #596579; }
.home-platform, .home-insights { background: #fff; }
.home-platform, .home-process, .home-capabilities, .home-audiences, .home-insights { padding-block: clamp(4rem, 3rem + 3vw, 7rem); }
.home-section-head h2, .home-process-intro h2, .home-capabilities-copy > h2, .home-insights-head h2, .home-final-cta h2 {
  font-size: clamp(2rem, 1.45rem + 1.4vw, 3.25rem); line-height: 1.15;
  letter-spacing: -0.025em; max-inline-size: 24ch;
}
.home-section-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.home-platform-stage { border-radius: var(--radius-l); background: #142b52; box-shadow: none; }
.workflow-canvas, .workflow-panel { box-shadow: none; }
.home-process-layout { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 4rem; }
.home-process-intro h2 { max-inline-size: 20ch; }
.home-process-intro .lead { text-wrap: pretty; }
.home-process-list li { min-block-size: auto; padding-block: 2rem; }
.home-process-list svg { inline-size: 2.75rem; }
.home-process-list h3 { font-size: clamp(1.35rem, 1.05rem + 0.7vw, 1.8rem); }
.home-capabilities { background: #f4f7fb; }
.home-capabilities-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
.home-capabilities-media { filter: none; }
.home-capabilities-media figure { border-radius: var(--radius-l) var(--radius-l) 0 0; aspect-ratio: 4 / 3; }
.home-capabilities-media img { object-position: center; }
.home-capabilities-caption { background: #193462; border-radius: 0 0 var(--radius-l) var(--radius-l); box-shadow: none; }
.home-audiences { background: #101b38; }
.home-audience-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 18rem); gap: 1.25rem; }
.home-audience-primary { grid-row: auto; }
.home-audience-wide { grid-column: auto; }
.home-audience-primary .home-audience-overlay strong, .home-audience-overlay strong { font-size: clamp(1.35rem, 1rem + 1vw, 2rem); line-height: 1.25; }
.home-audience-overlay em { color: #e4ebf7; }
.home-insights-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-insight { min-block-size: 22rem; padding: 1.75rem; }
.home-insight h3, .home-insight-featured h3 { font-size: clamp(1.3rem, 1.05rem + 0.6vw, 1.7rem); line-height: 1.3; }
.home-insight-featured { background: #f4f7fb; }
.home-final-cta { background: #193462; }

/* Shared compact image-led Solutions heroes. */
.solution-banner { padding-block: 1.5rem 2.5rem; background: #f4f7fb; }
.solution-banner-layout {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-l);
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-block-size: clamp(22rem, 30vw, 26rem); align-items: center; background: #12375b;
}
.solution-banner-media { position: absolute; inset: 0; margin: 0; z-index: -1; }
.solution-banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.solution-banner-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 24%, rgb(13 38 65 / 18%) 42%, rgb(13 38 65 / 84%) 65%, rgb(13 38 65 / 95%) 100%);
}
.solution-banner-copy { grid-column: 2; gap: 1.25rem; padding: clamp(2rem, 3.5vw, 3rem); color: #fff; }
.solution-banner-copy .eyebrow { color: #bce5f2; }
.solution-banner-copy h1 { max-inline-size: 21ch; font-size: clamp(2rem, 1.2rem + 2vw, 3rem); line-height: 1.15; }
.solution-banner-copy .lead { max-inline-size: 42ch; font-size: 1.08rem; line-height: 1.65; color: #edf5fc; }
.solution-banner-copy .button { justify-self: start; background: #fff; color: #173d68; }
.solution-banner-copy .button:hover { background: #e5f3ff; }
.solution-banner-copy .button:focus-visible { outline-color: #62d9d1; }
/* Narrow source images blend into the same canvas instead of stretching across it. */
.solution-banner--integrators .solution-banner-media img,
.solution-banner--coders .solution-banner-media img {
  width: 72%; object-position: left center;
  mask-image: linear-gradient(90deg, #000 68%, transparent 100%);
}
.solution-banner--integrators .solution-banner-media img { object-position: center 55%; }
.solution-banner--coders .solution-banner-media::after {
  background: linear-gradient(90deg, transparent 18%, rgb(13 38 65 / 48%) 42%, rgb(13 38 65 / 92%) 57%, #0d2641 78%);
}

.workflow-figure { margin: 0; background: #fff; border: 1px solid #dce4ee; border-radius: var(--radius-l); padding: clamp(1.4rem, 2.5vw, 2.5rem); color: #1f2647; }
.workflow-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding-block-end: 1.25rem; border-bottom: 1px solid #dce4ee; font-size: 0.72rem; color: #657186; }
.workflow-figure figcaption span:first-child { font-weight: 600; color: #1f2647; }
.evidence-flow { list-style: none; padding: 0; margin: 0; }
.evidence-flow li { position: relative; display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding-block: 1.4rem; }
.evidence-flow li + li { border-top: 1px solid #e7edf4; }
.evidence-flow-index { color: #3858e9; font-size: 0.75rem; padding-block-start: 0.25rem; }
.evidence-flow h3 { font-size: 1.15rem; line-height: 1.3; margin-block-end: 0.4rem; }
.evidence-flow p { color: #596579; font-size: 0.9rem; line-height: 1.6; }
.evidence-flow-arrow { position: absolute; right: 0; bottom: -0.65rem; z-index: 1; background: #fff; padding-inline: 0.4rem; color: #3858e9; }
.workflow-figure-foot { border-top: 1px solid #dce4ee; padding-block-start: 1rem; color: #526478; font-size: 0.8rem; }
.market-intel-zone, .payer-intel-zone { background: #132747; }
.market-intel-head h2, .payer-intel-head h2, .payer-section-title, .coders-feature-head h2 { font-size: clamp(1.9rem, 1.45rem + 1.2vw, 2.8rem); line-height: 1.2; letter-spacing: -0.025em; max-inline-size: none; }
.market-intel-head, .payer-intel-head { gap: 1rem; }
.market-intel-head, .coders-intel .market-intel-head, .payer-intel-head { max-inline-size: none; }
.market-intel-head > p:last-child, .payer-intel-head > p:last-child { max-inline-size: 55rem; }
.market-intel-grid, .payer-intel-grid { gap: 3rem; margin-block-start: 1rem; }
.market-intel-card, .payer-intel-card { background: none; box-shadow: none; border: 0; border-top: 1px solid #52617b; border-radius: 0; padding: 1.5rem 0 0; }
.market-intel-card::before, .payer-intel-card::before { content: none; }
.market-intel-card h3, .payer-intel-card h3 { margin-block-start: 0; }
.market-scale-photo, .payer-scale-photo { box-shadow: none; border-radius: var(--radius-l); }
.band-market-content h2, .band-payers-content h2 { max-inline-size: 100%; }
.coders-feature-visual-body h3, .coders-feature-card h3,
.coders-feature-card-primary h3, .coders-feature-card-wide h3 { max-inline-size: none; }
.band-providers-cta, .band-payers-cta, .band-coders-cta, .band-integrators-cta { background: #193462; }
.coders-feature-visual { box-shadow: none; }

/* Education: full-width storytelling image with open copy over its left side. */
.education-showcase-hero { background: #f4f7fb; padding-block: 1.5rem 2.5rem; }
.education-showcase-shell { width: min(94rem, 94vw); }
.education-showcase-stage {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr;
  min-block-size: clamp(37rem, 47vw, 46rem); overflow: hidden;
  background: #f4f7fb; border: 0; border-radius: var(--radius-l); box-shadow: none; padding: 0;
}
.education-showcase-media { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; border-radius: 0; overflow: hidden; }
.education-showcase-media img { object-fit: cover; object-position: right center; width: 100%; height: 100%; min-block-size: 0; }
.education-showcase-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #f4f7fb 0%, rgb(244 247 251 / 98%) 30%, rgb(244 247 251 / 93%) 39%, rgb(244 247 251 / 40%) 48%, transparent 58%);
}
.education-showcase-card {
  position: relative; inset: auto; z-index: 1; inline-size: 42%; max-inline-size: none;
  grid-column: 1; grid-row: 1; align-self: center; margin: 0; padding: clamp(1.5rem, 2.8vw, 2.75rem);
  background: none; border: 0; border-radius: 0; box-shadow: none; gap: 1.25rem;
  min-inline-size: 0; grid-template-columns: minmax(0, 1fr);
}
.education-showcase-copy h1 { font-size: clamp(2.2rem, 1.35rem + 1.55vw, 3rem); line-height: 1.12; letter-spacing: -0.025em; max-inline-size: none; }
.education-showcase-copy p { font-size: 1.12rem; line-height: 1.6; }
.education-showcase-points { gap: 1.1rem; margin-block: 0.25rem; }
.education-showcase-points strong { font-size: 0.9rem; }
.education-showcase-points small { font-size: 0.8rem; line-height: 1.5; }
.education-showcase-icon { box-shadow: none; background: #f4f7fb; border: 1px solid #d9e2ee; }
.education-showcase-button { width: auto; justify-self: start; }
.education-system-summary, .education-system-pillar, .education-outcome-card, .education-outcome-feature { box-shadow: none; }

/* Company and editorial pages use open surfaces and a comfortable reading measure. */
.about-hero { isolation: isolate; background: #f4f7fb; padding-block: 3.5rem; }
.about-hero::before { content: none; }
.about-hero-grid { min-block-size: 26rem; }
.about-hero-copy { inline-size: 47%; background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; backdrop-filter: none; gap: 1.5rem; }
.about-hero-copy h1 { font-size: clamp(2.5rem, 1.4rem + 2.4vw, 3.75rem); line-height: 1.12; max-inline-size: 19ch; }
.about-hero-copy .lead { font-size: clamp(1.05rem, 0.95rem + 0.2vw, 1.18rem); line-height: 1.7; max-inline-size: 42ch; }
.about-hero-media { position: absolute; z-index: -1; inset: 0 0 0 42%; margin: 0; }
.about-hero-media img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: right center; }
.about-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f4f7fb, rgb(244 247 251 / 75%) 12%, transparent 38%), linear-gradient(0deg, #f4f7fb, transparent 16%); }
.about-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.75rem; }
.about-purpose-link { display: inline-flex; align-items: center; gap: 0.75rem; color: #243f70; font-weight: 600; font-size: 0.95rem; }
.about-purpose-link:hover { color: var(--primary); }
.about-belief { background: #fff; padding-block: 2.75rem; }
.about-belief-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.about-belief-grid > p { color: #596579; line-height: 1.8; }
.about-hero-points { margin: 0; gap: 1rem; }
.about-hero-points li { padding-inline-start: 1.25rem; }
.about-hero-points li::before { inline-size: 0.35rem; block-size: 0.35rem; inset-block-start: 0.65rem; background: #3baeb6; box-shadow: none; }
.about-purpose { scroll-margin-top: 6rem; }
.about-purpose-card, .about-story-cards .card, .about-values-grid .card { box-shadow: none; border-radius: 0; border: 0; border-top: 1px solid #c5cfdd; background: none; padding-inline: 0; }
.about-purpose-card h3 { font-size: 1.35rem; line-height: 1.35; }
.blog-hero-grid { align-items: center; gap: 4rem; }
.blog-hero-copy { gap: 1.5rem; }
.blog-feature { border-top: 2px solid #3858e9; border-bottom: 1px solid #d9e2ee; padding-block: 1.75rem; }
.blog-feature h2 { font-size: 1.65rem; margin-block: 0.8rem; }
.blog-feature > a { display: inline-flex; margin-block-start: 1.25rem; color: #3858e9; font-weight: 600; }
.blog-index-intro h2 { max-inline-size: 38ch; }
.post-card { box-shadow: none; }
.article-hero-panel { background: none; border: 0; padding: 0; box-shadow: none; }
.article-head h1 { max-inline-size: 32ch; }
.article-main { border: 0; border-radius: 0; box-shadow: none; padding-inline: 0; }
.article-content { max-inline-size: 68ch; font-size: 1.05rem; line-height: 1.8; }
.article-content p { line-height: 1.8; }
.article-content h2 { font-size: 1.75rem; line-height: 1.3; }
.article-rail-panel { box-shadow: none; }
.site-footer { background: #101b38; }

/* Open editorial layouts: group supporting information with space and rules,
   reserving enclosed surfaces for images, forms, and the product workflow. */
.market-scale-zone, .payer-scale-zone, .coders-feature-band { background: #f4f7fb; }
.market-scale-grid, .payer-scale-grid { column-gap: clamp(2rem, 4vw, 4rem); row-gap: 2rem; }
.market-scale-card, .payer-scale-card {
  padding: 1.5rem 0 0; border: 0; border-top: 1px solid #c8d3e1;
  border-radius: 0; background: none; box-shadow: none; align-content: start;
}
.market-scale-card h2, .payer-scale-card h2 { text-wrap: pretty; }
.market-list li::before, .payer-list li::before { box-shadow: none; background: #3858e9; }

.coders-feature-head { max-inline-size: none; gap: 2.5rem; }
.coders-feature-layout { gap: clamp(2rem, 4vw, 4rem); }
.coders-feature-visual { background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.coders-feature-visual-media { border-radius: var(--radius-l); overflow: hidden; }
.coders-feature-visual-body { padding: 1.5rem 0 0; }
.coders-feature-grid { gap: 1.75rem 2rem; }
.coders-feature-card {
  padding: 1.25rem 0 0; border: 0; border-top: 1px solid #c8d3e1;
  border-radius: 0; background: none; box-shadow: none; min-block-size: 0; overflow: visible;
}
.coders-feature-card::before, .coders-feature-card::after { content: none; }
.coders-feature-card-kicker { font-weight: 600; letter-spacing: 0.08em; }

.education-system { background: #f4f7fb; }
.education-system-shell { gap: 3rem; }
.education-system-head, .education-system-main { gap: clamp(2rem, 4vw, 4rem); }
.education-system-summary {
  border: 0; border-inline-start: 2px solid #62d9d1; border-radius: 0;
  padding: 0 0 0 1.5rem; background: none; box-shadow: none;
}
.education-system-summary strong { line-height: 1.35; }
.education-system-photo { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; gap: 1rem; }
.education-system-photo img { border-radius: var(--radius-l); }
.education-system-photo-notes { gap: 0.65rem 1.25rem; }
.education-system-photo-notes span { min-block-size: 0; padding: 0; border-radius: 0; background: none; font-weight: 400; font-size: 0.8rem; }
.education-system-pillars { grid-template-columns: 1fr; gap: 0; }
.education-system-pillar {
  grid-template-columns: 2rem minmax(0, 1fr); gap: 0.4rem 1rem;
  padding: 1.25rem 0; border: 0; border-top: 1px solid #c8d3e1;
  border-radius: 0; background: none; box-shadow: none; min-block-size: 0;
}
.education-system-pillar .education-card-index { grid-column: 1; grid-row: 1 / 3; align-self: start; padding: 0.25rem 0 0; border-radius: 0; background: none; }
.education-system-pillar h3, .education-system-pillar p { grid-column: 2; }
.education-system-cta { padding: 1.75rem 0 0; border: 0; border-top: 1px solid #c8d3e1; border-radius: 0; background: none; box-shadow: none; }
.education-outcome-grid { gap: 1.75rem 2rem; }
.education-outcome-card, .education-outcome-feature {
  padding: 1.25rem 0 0; border: 0; border-top: 1px solid rgb(255 255 255 / 25%);
  border-radius: 0; background: none; box-shadow: none; backdrop-filter: none;
}
.education-outcome-card p, .education-outcome-feature p { color: #dbe6f6; }
.education-outcome-metric { color: #62d9d1; }

.about-story-cards .card { border-top-color: rgb(255 255 255 / 25%); }
.about-purpose, .about-values { background: #f4f7fb; }
.about-values-grid { gap: 2rem; }
.blog-index-section { background: #fff; }
.blog-grid { gap: 3rem 2rem; }
.post-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; gap: 1.25rem; }
.post-card.with-media img { border-radius: var(--radius-l); }
.article-content { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.article-rail-panel { padding: 1.5rem 0 0; border: 0; border-top: 1px solid #c8d3e1; border-radius: 0; background: none; box-shadow: none; }

/* Match embedded forms without changing Kit's submission or attribution. */
.contact-grid, .schedule-demo-grid { gap: 4rem; align-items: start; }
.contact-badge-frame { margin-inline: 0; max-inline-size: 11rem; box-shadow: none; border: 0; padding: 0; background: none; }
.form-next-step { font-size: 0.9rem; color: #596579; margin-block-start: 1rem; }
.formkit-form[data-uid] { font-family: inherit; }
.contact-form-embed, .schedule-demo-embed { padding: 1.75rem; border: 1px solid #dce4ee; border-radius: var(--radius-l); background: #fff; }
.contact-form-embed .formkit-form[data-uid] [data-style="clean"], .schedule-demo-embed .formkit-form[data-uid] [data-style="clean"] { padding: 0 !important; }
.formkit-form[data-uid] .formkit-fields { gap: 1rem; }
.formkit-form[data-uid] .formkit-field { margin: 0 !important; }
.formkit-form[data-uid] .formkit-input, .formkit-form[data-uid] .formkit-select {
  font-family: inherit; font-size: 1rem; color: #1f2647 !important; background-color: #fff !important;
  border: 1px solid #aebcd0 !important; border-radius: 0.35rem !important; padding: 0.8rem 0.9rem !important;
}
.formkit-form[data-uid] .formkit-input:focus, .formkit-form[data-uid] .formkit-select:focus { outline: 2px solid #3858e9; outline-offset: 2px; }
/* Kit centers its arrow on the field wrapper, which now also includes a label.
   Anchor the chevron to the select itself so it stays centered in the control. */
.schedule-demo-embed .formkit-form[data-uid] [data-group="dropdown"]::before { content: none !important; }
.schedule-demo-embed .formkit-form[data-uid] select.formkit-select {
  appearance: none;
  padding-inline-end: 2.75rem !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23596579' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: 1rem 1rem !important;
  background-position: right 0.9rem center !important;
}
@media (forced-colors: active) {
  .schedule-demo-embed .formkit-form[data-uid] select.formkit-select { appearance: auto; background-image: none !important; }
}
/* Kit's fixed 40px column padding squeezes its title on small phones. */
@media (max-width: 25rem) {
  :is(.blog-subscribe-embed, .article-subscribe-embed) .formkit-form[data-uid="449109ff0a"] .formkit-column {
    padding: 1.5rem !important;
  }
}
.formkit-form[data-uid] .formkit-submit { font-family: inherit; font-size: 0.95rem; font-weight: 600; background: #3858e9 !important; color: #fff !important; border-radius: 0.4rem !important; margin: 0 !important; }
.formkit-form[data-uid] .formkit-submit > span { padding: 0.9rem 1.25rem; }
.formkit-form[data-uid] .formkit-powered-by-convertkit-container { margin-block-start: 1.25rem !important; }
.formkit-form[data-uid] .formkit-field-label { display: block; font-size: 0.8rem; font-weight: 600; color: #1f2647; margin-block-end: 0.4rem; text-transform: none; letter-spacing: 0; }

/* Preserve the original newsletter composition; separate the stacked controls. */
:is(.blog-subscribe-embed, .article-subscribe-embed) .formkit-form[data-uid="449109ff0a"] .formkit-fields {
  display: grid !important;
  gap: 0.75rem !important;
}
:is(.blog-subscribe-embed, .article-subscribe-embed) .formkit-form[data-uid="449109ff0a"] .formkit-guarantee {
  margin-block-start: 0.75rem !important;
}
/* Keep Kit's original two-panel design on desktop, even just below its 600px embed breakpoint. */
@media (min-width: 56rem) {
  .blog-subscribe-embed .formkit-form[data-uid="449109ff0a"] [data-style="full"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-subscribe-embed .formkit-form[data-uid="449109ff0a"] .formkit-column {
    width: 100% !important;
    min-width: 0;
    padding: clamp(1.25rem, 2.5vw, 2.5rem) !important;
  }
}

@media (max-width: 70rem) {
  .home-hero-grid { gap: 2rem; }
  .home-hero-copy h1 { font-size: clamp(2.5rem, 4.8vw, 3.5rem); }
  .home-process-layout, .home-capabilities-layout { gap: 2.5rem; }
  .home-capabilities-media { inline-size: 100%; }
}
@media (max-width: 48rem) {
  .market-scale-grid, .payer-scale-grid, .coders-feature-layout { gap: 2rem; }
  .coders-feature-head { gap: 1.5rem; }
  .education-system-shell { gap: 2rem; }
  .education-system-pillar { grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.5rem 0.75rem; }
  .education-system-cta { grid-template-columns: 1fr; gap: 1.25rem; }
  .solution-banner-layout { grid-template-columns: 1fr; min-block-size: 0; }
  .solution-banner-media img { object-position: 23% top; }
  .solution-banner--payers .solution-banner-media img { object-position: left top; }
  .solution-banner--integrators .solution-banner-media img, .solution-banner--coders .solution-banner-media img { width: 100%; mask-image: none; object-position: center top; }
  .solution-banner-media::after, .solution-banner--coders .solution-banner-media::after { background: linear-gradient(180deg, rgb(13 38 65 / 5%) 0%, rgb(13 38 65 / 40%) 25%, #0d2641 48%); }
  .solution-banner-copy { grid-column: 1; padding: 12rem 1.5rem 2rem; gap: 1.15rem; }
  .shell { width: min(78rem, calc(100% - 2.5rem)); }
  .section, .home-platform, .home-process, .home-capabilities, .home-audiences, .home-insights { padding-block: 3.5rem; }
  .home-hero { padding-block: 2.75rem; }
  .home-hero-grid, .home-section-head, .home-process-layout, .home-capabilities-layout, .home-final-cta-shell,
  .education-showcase-stage, .blog-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .home-hero-copy h1 { font-size: clamp(2.3rem, 9vw, 3.5rem); }
  .home-hero-copy .lead { font-size: 1rem; }
  .home-hero-actions { align-items: center; }
  .home-hero-signals { gap: 0.75rem 1rem; padding-block-start: 1rem; margin: 0; }
  .home-hero-signals li { font-size: 0.7rem; }
  .home-hero-grid { min-block-size: auto; }
  .home-hero-visual { position: relative; inset: auto; margin: 0; min-block-size: 0; inline-size: 100%; }
  .home-hero-photo { inset: auto; block-size: auto; aspect-ratio: 4 / 3; border-radius: var(--radius-l); mask-image: none; }
  .home-assurance-grid { grid-template-columns: 1fr; }
  .home-assurance-grid p { padding: 1rem 0; }
  .home-assurance-grid p + p { border-inline-start: 0; border-block-start: 1px solid #d9e2ee; }
  .home-audience-mosaic { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 16rem; }
  .home-insights-grid { grid-template-columns: 1fr; }
  .home-insight { min-block-size: 0; padding: 1.5rem 0; gap: 1rem; }
  .home-insight-featured { padding-inline: 1rem; }
  .home-insight + .home-insight { border-inline-start: 0; border-block-start: 1px solid #d9e2ee; }
  .home-process-intro { position: static; }
  .home-process-list li { gap: 1rem; padding-block: 1.5rem; }
  .home-process-list svg { inline-size: 2rem; }
  .solution-hero-copy h1 { font-size: 2.5rem; }
  .market-intel-grid, .payer-intel-grid { gap: 2rem; }
  .education-showcase-shell { width: calc(100% - 2.5rem); }
  .education-showcase-stage { display: flex; flex-direction: column; gap: 0; min-block-size: 0; }
  .education-showcase-card { inline-size: 100%; padding: 1.5rem; order: 2; }
  .education-showcase-copy h1 { font-size: clamp(1.75rem, 7.5vw, 2.5rem); max-inline-size: none; }
  .education-showcase-media { position: relative; inset: auto; min-block-size: 0; height: auto; aspect-ratio: 16 / 9; }
  .education-showcase-media::after { background: linear-gradient(180deg, transparent 72%, #f4f7fb); }
  .education-showcase-media img { min-block-size: 0; height: 100%; }
  .education-showcase-points { grid-template-columns: 1fr; }
  .about-hero { padding-block: 0 2.75rem; display: flex; flex-direction: column; }
  .about-hero-media { position: relative; z-index: 0; inset: auto; aspect-ratio: 3 / 2; order: 0; }
  .about-hero-media img { object-position: right center; }
  .about-hero-media::after { background: linear-gradient(0deg, #f4f7fb, transparent 25%); }
  .about-hero-grid { min-block-size: 0; margin-block-start: -0.5rem; order: 1; }
  .about-hero-copy { inline-size: 100%; gap: 1.25rem; }
  .about-hero-copy h1 { font-size: clamp(2rem, 7.8vw, 2.75rem); max-inline-size: 21ch; }
  .about-hero-copy .lead { max-inline-size: 45ch; }
  .about-belief { padding-block: 2rem; }
  .about-belief-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .contact-grid, .schedule-demo-grid { gap: 2rem; }
  .contact-form-embed, .schedule-demo-embed { padding: 1.25rem; }
  .article-head h1 { font-size: 2.1rem; }
  .article-content { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  body.motion-ready [data-animate-section] > .shell { transform: none; transition: none; }
}
