:root {
  --color-ink: #101820;
  --color-ink-soft: #24313d;
  --color-hero: #08131f;
  --color-paper: #f6f3ee;
  --color-surface: #ffffff;
  --color-muted: #5b6572;
  --color-border: rgba(16, 24, 32, 0.10);

  --color-brand: #f26b45;
  --color-brand-hover: #d95532;
  --color-brand-soft: #fff0e9;

  --color-ai: #0f8b8d;
  --color-ai-soft: #e7f5f4;

  --color-rcm: #0b7285;
  --color-rcm-dark: #075363;
  --color-rcm-soft: #e7f4f6;

  --color-movenya: #2f855a;
  --color-movenya-dark: #216441;
  --color-movenya-soft: #e8f5ee;

  --ink: var(--color-ink);
  --ink-soft: var(--color-ink-soft);
  --muted: var(--color-muted);
  --paper: var(--color-paper);
  --white: var(--color-surface);
  --line: var(--color-border);
  --line-strong: rgba(16, 24, 32, 0.16);
  --orange: var(--color-brand);
  --orange-dark: var(--color-brand-hover);
  --orange-soft: var(--color-brand-soft);
  --hero: var(--color-hero);
  --rcm: var(--color-rcm);
  --rcm-deep: var(--color-rcm-dark);
  --rcm-soft: var(--color-rcm-soft);
  --mov: var(--color-movenya);
  --mov-deep: var(--color-movenya-dark);
  --mov-soft: var(--color-movenya-soft);
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --header-h: 84px;
  --shadow: 0 18px 50px rgba(16, 24, 32, 0.07);
  --font: "Manrope", "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  font-weight: 450;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.nav-container {
  min-height: var(--header-h);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--color-brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
  max-width: 720px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .lede {
  margin-inline: auto;
}

h1 em,
.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #f3c2b0;
}

h1,
.display {
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.btn-primary {
  background: var(--color-brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(242, 107, 69, 0.28);
}

.btn-primary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.btn-primary:hover {
  background: var(--color-brand-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-dark {
  background: var(--color-ink);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
  transform: translateY(-1px);
}

.btn-line {
  background: var(--color-surface);
  border-color: var(--line-strong);
  color: var(--color-ink);
}

.btn-line:hover {
  border-color: var(--color-ink);
  background: var(--color-paper);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(246, 243, 238, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  overflow: visible;
}

html.is-scrolled .site-header {
  border-bottom-color: var(--color-border);
  background: rgba(255, 255, 255, 0.86);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.32rem;
  line-height: 1.1;
}

.brand b {
  font-weight: 800;
}

.brand span em {
  font-style: normal;
  color: var(--orange);
}

.logo-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.site-nav {
  margin-left: auto;
  height: 100%;
}

.site-nav > ul {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 6px;
}

.site-nav > ul > li {
  display: flex;
  align-items: center;
}

.site-nav > ul > li > a,
.mega-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  min-height: 44px;
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li:hover > a,
.mega-trigger:hover,
.has-mega.is-open > .mega-trigger {
  background: var(--white);
}

.site-nav a:focus-visible,
.mega-trigger:focus-visible,
.nav-toggle:focus-visible,
.btn:focus-visible,
.form input:focus-visible,
.form textarea:focus-visible,
.form select:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.has-mega {
  position: static;
}

.mega {
  display: grid;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: min(980px, calc(100% - 40px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px 28px;
  box-shadow: var(--shadow);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

.mega-solutions {
  width: min(1120px, calc(100% - 40px));
  grid-template-columns: 0.9fr 1fr 1fr 0.95fr;
}

.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}

.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.is-open .mega {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mega h4 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.mega a {
  display: block;
  padding: 8px 0;
  color: var(--ink-soft);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mega a:last-child {
  border-bottom: 0;
}

.mega a:hover {
  color: var(--orange);
}

.mega-intro {
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 22px;
  min-height: 100%;
  background-image: linear-gradient(180deg, rgba(12, 16, 24, 0.2), rgba(12, 16, 24, 0.72)),
    var(--mega-image);
  background-size: cover;
  background-position: center;
}

.mega-intro p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  margin-top: 8px;
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: var(--hero);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(18%) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 15, 22, 0.92) 0%, rgba(11, 15, 22, 0.55) 52%, rgba(11, 15, 22, 0.25) 100%),
    linear-gradient(180deg, rgba(11, 15, 22, 0.15), rgba(11, 15, 22, 0.55));
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 72px 0 80px;
  max-width: 760px;
}

.hero-copy h1 span {
  color: var(--orange);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-meta strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.hero-meta span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

/* Cards / grids */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-grid .card,
.values .card {
  height: 100%;
}

.card-body {
  padding: 24px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.card a.card-link,
.service-card .card-link,
.card-link {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.92rem;
}

.card:hover {
  border-color: rgba(245, 113, 61, 0.45);
}

.span-6 {
  grid-column: span 6;
}

.span-4 {
  grid-column: span 4;
}

.span-8 {
  grid-column: span 8;
}

.span-12 {
  grid-column: span 12;
}

.card-media {
  height: 210px;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-pill {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.split img,
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.frame {
  position: relative;
  min-height: 420px;
}

.frame img {
  height: 420px;
}

.caption-chip {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: #fff;
  padding: 14px 16px;
  border-radius: 14px;
  max-width: 240px;
}

.caption-chip strong {
  display: block;
}

.caption-chip span {
  color: var(--muted);
  font-size: 0.88rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.step em {
  font-style: normal;
  color: var(--orange);
  font-weight: 800;
  font-size: 0.85rem;
}

.industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry {
  position: relative;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.industry img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(11, 15, 22, 0.82));
}

.industry span,
.industry strong {
  position: relative;
  z-index: 1;
}

.industry strong {
  display: block;
  font-size: 1.15rem;
}

.industry:hover img {
  transform: scale(1.04);
}

.industry img {
  transition: transform 0.4s ease;
}

.cta-band {
  margin: 0 20px 40px;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  position: relative;
}

.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.cta-inner {
  position: relative;
  padding: 64px 20px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.cta-inner .wrap {
  width: min(var(--wrap), 100%);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 420px;
  color: #fff;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--hero);
}

.page-hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 15, 22, 0.88), rgba(11, 15, 22, 0.42));
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding: 72px 0 56px;
}

.page-hero-plain .hero-mesh {
  position: absolute;
  inset: 0;
}

.contact-map iframe {
  display: block;
  width: 100%;
}

.crumbs {
  display: flex;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.crumbs a:hover {
  color: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

#models,
#pods,
#roles,
#functional,
#non-functional,
#specialized,
#delivery {
  scroll-margin-top: 96px;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--ink-soft);
}

.check-list i {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--color-brand-soft);
  color: transparent;
  position: relative;
  font-size: 0;
}

.check-list i::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--color-brand);
  border-bottom: 2px solid var(--color-brand);
  transform: rotate(45deg);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.form input:not([type="hidden"]),
.form textarea,
.form select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid var(--orange);
  border-color: transparent;
}

.contact-form-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.contact-form-card .lede {
  max-width: none;
}

.form .btn {
  justify-self: start;
}

.info-card {
  padding: 22px;
  min-height: 0;
}

.info-card h3 {
  margin-bottom: 4px;
}

.info-card ul {
  display: grid;
  gap: 2px;
}

.info-card li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 10px 12px;
  margin: 10px 0;
  color: var(--ink-soft);
  align-items: start;
}

.info-card li > span:first-child {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.info-card a {
  color: var(--color-ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.info-card a:hover {
  color: var(--color-brand);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.9fr 0.85fr 0.85fr 1.15fr;
  gap: 28px 20px;
}

.site-footer h5 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer ul {
  display: grid;
  gap: 8px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.footer-brand .logo-mark {
  width: 42px;
  height: 42px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.legal a {
  margin-left: 16px;
}

.bg-white {
  background: #fff;
}

.bg-paper {
  background: var(--paper);
}

@media (max-width: 1024px) {
  .span-6,
  .span-4,
  .span-8 {
    grid-column: span 12;
  }

  .split,
  .contact-grid,
  .cta-inner .wrap {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps,
  .industries,
  .feature-grid,
  .feature-grid.cols-4,
  .values {
    grid-template-columns: 1fr 1fr;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: var(--header-h) 16px auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow);
    margin: 0;
    height: auto;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    height: auto;
  }

  .mega-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .has-mega {
    flex-direction: column;
    align-items: stretch;
  }

  .mega,
  .has-mega:hover .mega,
  .has-mega:focus-within .mega {
    position: static;
    transform: none;
    width: 100%;
    padding: 0 8px;
    border: 0;
    box-shadow: none;
    grid-template-columns: 1fr;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
  }

  .mega::before {
    display: none;
  }

  .has-mega.is-open .mega,
  .has-mega.is-open:hover .mega,
  .has-mega.is-open:focus-within .mega {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    height: auto;
    overflow: visible;
    padding: 8px 8px 12px;
  }

  .mega-intro {
    display: none;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 1.18rem;
    gap: 10px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .steps,
  .industries,
  .feature-grid,
  .feature-grid.cols-4,
  .values,
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .frame,
  .frame img {
    min-height: 280px;
    height: 280px;
  }

  .hero-visual {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Products */
:root {
  --rcm: #0f6c7a;
  --rcm-deep: #0b4f5a;
  --rcm-soft: #e7f4f6;
  --mov: #2f7a5a;
  --mov-deep: #215742;
  --mov-soft: #e8f5ee;
}

.mega-products {
  width: min(680px, calc(100% - 40px));
  grid-template-columns: 1fr 1fr;
  padding: 16px;
  gap: 12px;
}

.mega a.mega-product {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  font-weight: 500;
}

.mega a.mega-product:hover {
  color: inherit;
  border-color: rgba(15, 108, 122, 0.35);
}

.mega-product strong {
  display: block;
  font-size: 1rem;
}

.mega-product span span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 4px 0 8px;
  line-height: 1.4;
}

.mega-product em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--rcm);
}

.mega-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.mega-icon svg {
  width: 22px;
  height: 22px;
}

.mega-icon-rcm {
  background: var(--rcm-soft);
  color: var(--rcm);
}

.mega-icon-mov {
  background: var(--mov-soft);
  color: var(--mov);
}

.mega a.mega-all {
  grid-column: 1 / -1;
  border: 0;
  text-align: center;
  padding: 8px 0 4px;
  color: var(--orange);
  font-weight: 700;
}

.home-products {
  display: grid;
  gap: 22px;
}

.product-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-panel.is-featured {
  box-shadow: var(--shadow);
}

.product-panel.reverse {
  grid-template-columns: 1.12fr 0.88fr;
}

.product-panel.reverse .panel-body {
  order: 2;
}

.product-panel:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.theme-rcm.product-panel:hover {
  border-color: rgba(15, 108, 122, 0.45);
}

.theme-mov.product-panel:hover {
  border-color: rgba(47, 122, 90, 0.45);
}

.product-panel .panel-body {
  padding: 28px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.product-panel .panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.product-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theme-rcm .product-kicker,
.theme-rcm .eyebrow,
.theme-rcm .step em {
  color: var(--rcm);
}

.theme-mov .product-kicker,
.theme-mov .eyebrow,
.theme-mov .step em {
  color: var(--mov);
}

.theme-rcm .check-list i {
  background: var(--rcm-soft);
}
.theme-rcm .check-list i::before {
  border-color: var(--rcm);
}

.theme-mov .check-list i {
  background: var(--mov-soft);
}
.theme-mov .check-list i::before {
  border-color: var(--mov);
}

.theme-rcm .btn-product {
  background: var(--rcm);
  color: #fff;
}

.theme-mov .btn-product {
  background: var(--mov);
  color: #fff;
}

.theme-rcm .btn-product:hover {
  background: var(--rcm-deep);
}

.theme-mov .btn-product:hover {
  background: var(--mov-deep);
}

.theme-rcm .btn-product::after,
.theme-mov .btn-product::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.ui-preview {
  min-height: 220px;
  margin: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 16px;
  display: grid;
  gap: 8px;
}

.theme-rcm .ui-preview {
  background: linear-gradient(180deg, var(--rcm-soft), #fff);
}

.theme-mov .ui-preview {
  background: linear-gradient(180deg, var(--mov-soft), #fff);
}

.ui-bar,
.ui-row {
  display: flex;
  gap: 8px;
}

.ui-chip {
  height: 10px;
  border-radius: 999px;
  background: rgba(16, 20, 28, 0.12);
}

.ui-card {
  flex: 1;
  height: 64px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}

.theme-rcm .ui-chip.accent,
.theme-rcm .ui-card.accent {
  background: var(--rcm);
}

.theme-mov .ui-chip.accent,
.theme-mov .ui-card.accent {
  background: var(--mov);
}

.page-hero.hero-rcm::after {
  background: linear-gradient(90deg, rgba(11, 47, 54, 0.92), rgba(15, 108, 122, 0.45));
}

.page-hero.hero-mov::after {
  background: linear-gradient(90deg, rgba(18, 48, 36, 0.92), rgba(47, 122, 90, 0.45));
}

.bento-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.bento-features article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.bento-features article.wide {
  grid-column: span 2;
}

.note {
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 0.95rem;
}

.note-rcm {
  background: var(--rcm-soft);
  color: var(--rcm-deep);
}

.note-mov {
  background: var(--mov-soft);
  color: var(--mov-deep);
}

.workflow,
.review-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.workflow article,
.review-steps article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.workflow b,
.review-steps b {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

@media (max-width: 1120px) {
  .mega-solutions {
    width: min(980px, calc(100% - 40px));
    grid-template-columns: 1fr 1fr 1fr;
  }

  .mega-solutions .mega-intro {
    display: none;
  }
}

@media (max-width: 1024px) {
  .mega-products,
  .mega-solutions {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .home-products,
  .bento-features,
  .workflow,
  .review-steps {
    grid-template-columns: 1fr;
  }

  .bento-features article.wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .industry img {
    transform: none !important;
  }

  .product-panel:hover {
    transform: none;
  }

  .node.pulse {
    animation: none;
  }

  .hero-mesh,
  .cta-mesh {
    animation: none;
  }
}

/* Homepage — AI-themed layout */
.hero-ai {
  align-items: center;
  min-height: min(860px, calc(100vh - var(--header-h)));
}

.hero-ai .hero-copy {
  max-width: none;
  padding: 64px 0 48px;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 18px;
}

.hero-mesh,
.cta-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 42% 38% at 82% 22%, rgba(15, 139, 141, 0.22), transparent 68%),
    radial-gradient(ellipse 36% 42% at 12% 78%, rgba(56, 189, 248, 0.1), transparent 70%),
    radial-gradient(ellipse 24% 22% at 62% 64%, rgba(242, 107, 69, 0.08), transparent 70%),
    linear-gradient(180deg, #08131f 0%, #0b1826 100%);
  background-size: 120% 120%;
  animation: mesh-shift 22s ease-in-out infinite alternate;
}

.hero-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
}

.hero-ai-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.neural-svg {
  width: 100%;
  height: auto;
  max-height: 420px;
}

.neural-line {
  stroke: url(#flow);
  stroke-width: 1.4;
  opacity: 0.7;
}

.node {
  fill: #9ae6ff;
  opacity: 0.9;
}

.node.core {
  fill: #5eead4;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 2;
}

.node.pulse {
  animation: node-pulse 2.8s ease-in-out infinite;
}

.panel {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(148, 226, 255, 0.35);
}

@keyframes node-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes mesh-shift {
  from { background-position: 0% 40%, 100% 60%, 0 0; }
  to { background-position: 80% 60%, 10% 30%, 0 0; }
}

.value-strip {
  position: relative;
  z-index: 2;
  margin-top: -28px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
}

.value-item i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--orange-soft);
  color: var(--orange);
  flex-shrink: 0;
}

.service-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  display: grid;
  gap: 10px;
  align-content: start;
  grid-column: span 4;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card.span-7 {
  grid-column: span 7;
}

.service-card.span-5 {
  grid-column: span 5;
}

.service-card.span-8 {
  grid-column: span 8;
}

.service-card.span-6 {
  grid-column: span 6;
}

.service-card.emphasis {
  background: var(--color-paper);
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 113, 61, 0.4);
}

.service-card ul {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-card ul li::before {
  content: "· ";
  color: var(--orange);
  font-weight: 800;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  position: relative;
}

.why-index {
  display: block;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-size: 0.82rem;
}

.why-note {
  margin-top: 24px;
  color: var(--muted);
}

.why-note a {
  color: var(--orange);
  font-weight: 700;
}

.expertise-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.expertise-chips a {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.9rem;
}

.expertise-chips a:hover {
  border-color: var(--ink);
}

.industries-compact .industry {
  min-height: 150px;
}

.cta-ai {
  background: #070b12;
}

.cta-ai .cta-inner {
  align-items: center;
}

.cta-copy {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 12px;
}

.cta-actions {
  margin-top: 0;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .hero-ai-grid,
  .service-bento,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-ai {
    min-height: 0;
  }

  .value-strip {
    margin-top: 0;
    padding: 0 0 8px;
  }

  .cta-ai .cta-inner .wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .service-card,
  .service-card.span-7,
  .service-card.span-5,
  .service-card.span-8,
  .service-card.span-6 {
    grid-column: span 12;
  }

  .product-panel,
  .product-panel.reverse {
    grid-template-columns: 1fr;
  }

  .product-panel.reverse .panel-body {
    order: 0;
  }

  .mock-app {
    min-height: 280px;
  }
}

/* Product interface illustrations */
.mock-app {
  margin: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 360px;
  box-shadow: 0 22px 50px rgba(16, 24, 32, 0.12);
}

.mock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.mock-dots {
  display: flex;
  gap: 5px;
}

.mock-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(16, 24, 32, 0.16);
}

.mock-dots i.d-r { background: #ff6b6b; }
.mock-dots i.d-y { background: #f5c542; }
.mock-dots i.d-g { background: #3ccf91; }

.mock-url {
  flex: 1;
  background: rgba(16, 24, 32, 0.05);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.mock-shell {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 300px;
}

.mock-nav {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 14px 10px;
  background: rgba(11, 114, 133, 0.08);
  border-right: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.mock-nav b {
  color: var(--rcm-deep);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mock-nav span {
  padding: 7px 8px;
  border-radius: 8px;
}

.mock-nav span.on {
  background: #fff;
  color: var(--rcm-deep);
}

.theme-mov .mock-nav {
  background: rgba(47, 133, 90, 0.1);
}

.theme-mov .mock-nav b {
  color: var(--mov-deep);
}

.theme-mov .mock-nav span.on {
  color: var(--mov-deep);
}

.hep-list {
  display: grid;
  gap: 6px;
}

.hep-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 0.8rem;
}

.hep-item.on {
  border-color: rgba(47, 133, 90, 0.35);
  background: var(--mov-soft);
  font-weight: 700;
}

.mock-body {
  padding: 14px;
  display: grid;
  gap: 10px;
  background: linear-gradient(180deg, #fbfaf8, #fff);
}

.theme-rcm .mock-body {
  background: linear-gradient(180deg, var(--rcm-soft), #fff 42%);
}

.theme-mov .mock-body {
  background: linear-gradient(180deg, var(--mov-soft), #fff 46%);
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mock-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.mock-stat b {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.mock-stat span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.mock-stat.accent b {
  color: var(--rcm);
}

.theme-mov .mock-stat.accent b {
  color: var(--mov);
}

.mock-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8px;
}

.mock-table,
.mock-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.mock-table h4,
.mock-card h4 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mock-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.7fr;
  gap: 8px;
  font-size: 0.78rem;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}

.mock-row:first-of-type {
  border-top: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.7rem;
}

.pill-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
}

.pill-ready { background: var(--rcm-soft); color: var(--rcm-deep); }
.pill-denied { background: var(--color-brand-soft); color: var(--color-brand-hover); }
.pill-paid { background: var(--mov-soft); color: var(--mov-deep); }

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 72px;
  padding-top: 8px;
}

.mock-bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: var(--rcm);
  opacity: 0.35;
}

.mock-bars span.on {
  opacity: 1;
  background: var(--rcm);
}

.theme-mov .mock-bars span {
  background: var(--mov);
  opacity: 0.3;
}

.theme-mov .mock-bars span.on {
  opacity: 1;
}

.mock-player {
  display: grid;
  place-items: center;
  min-height: 158px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 30%, rgba(47, 133, 90, 0.18), transparent 50%),
    #163524;
  color: #fff;
  position: relative;
}

.mock-player .play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
}

.mock-player .play::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 12px solid var(--mov-deep);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}

.mock-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
}

.progress {
  height: 8px;
  border-radius: 99px;
  background: rgba(16, 24, 32, 0.08);
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  width: 62%;
  background: var(--mov);
  border-radius: inherit;
}

.icon-pill.ai {
  background: var(--color-ai-soft);
  color: var(--color-ai);
}

.icon-pill.rcm {
  background: var(--rcm-soft);
  color: var(--rcm);
}

.hero-flow {
  width: 100%;
  height: auto;
  max-height: 440px;
}

.hero-flow .lane {
  fill: rgba(255, 255, 255, 0.04);
  stroke: rgba(255, 255, 255, 0.12);
}

.hero-flow .wire {
  fill: none;
  stroke: rgba(15, 139, 141, 0.7);
  stroke-width: 1.4;
}

.hero-flow .wire-accent {
  stroke: rgba(242, 107, 69, 0.55);
}

.hero-flow .dot {
  fill: #7ee0d8;
}

.hero-flow .dot-coral {
  fill: #f26b45;
}

.hero-flow .flow-panel {
  fill: rgba(8, 19, 31, 0.55);
  stroke: rgba(255, 255, 255, 0.16);
}

.hero-flow text {
  font-family: var(--font);
  fill: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
}

.pulse-dot {
  animation: node-pulse 2.8s ease-in-out infinite;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tech-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.tech-grid h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.tech-grid p {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-prose h2 {
  font-size: 1.35rem;
  margin: 28px 0 10px;
}

.legal-prose p {
  color: var(--muted);
}

.legal-prose a {
  color: var(--color-brand);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .mock-stats,
  .mock-split,
  .tech-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mock-stats,
  .mock-split,
  .tech-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .mock-shell {
    grid-template-columns: 1fr;
  }

  .mock-nav {
    display: none;
  }

  .mock-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  h1,
  .display {
    font-size: 1.9rem;
  }

  .btn {
    width: 100%;
  }
}
