@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #10141c;
  --ink-soft: #1c2433;
  --muted: #5e6775;
  --paper: #f4f1ec;
  --white: #ffffff;
  --line: rgba(16, 20, 28, 0.1);
  --line-strong: rgba(16, 20, 28, 0.16);
  --orange: #f5713d;
  --orange-dark: #d85c2b;
  --orange-soft: #fff0e8;
  --hero: #0b0f16;
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --header-h: 76px;
  --shadow: 0 18px 50px rgba(16, 20, 28, 0.08);
  --font: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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,
.display {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  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: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-dark);
}

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

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

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

.btn-dark:hover {
  background: #000;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(244, 241, 236, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  overflow: visible;
}

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.brand b {
  font-weight: 800;
}

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

.logo-mark {
  width: 34px;
  height: 34px;
  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: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}

.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::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;
  min-height: 100%;
}

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

.card a.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);
}

.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;
}

.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;
}

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

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

.check-list i {
  color: var(--orange);
  margin-top: 4px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

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

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

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
}

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

.info-card {
  padding: 22px;
}

.info-card + .info-card {
  margin-top: 16px;
}

.info-card li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  margin: 10px 0;
  color: var(--ink-soft);
}

.info-card i {
  color: var(--orange);
  margin-top: 4px;
}

/* 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.3fr 1fr 1fr 1.1fr;
  gap: 32px;
}

.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: 10px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

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

.socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  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: 980px) {
  .span-6,
  .span-4,
  .span-8 {
    grid-column: span 12;
  }

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

  .steps,
  .industries,
  .feature-grid,
  .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) {
  .steps,
  .industries,
  .feature-grid,
  .values,
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

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

  .home-products,
  .bento-features,
  .workflow,
  .review-steps,
  .value-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;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.product-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-panel:hover {
  transform: translateY(-4px);
}

.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 .check-list i,
.theme-rcm .step em {
  color: var(--rcm);
}

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

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

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

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

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

.ui-preview {
  min-height: 220px;
  margin: 0 20px 20px;
  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: 980px) {
  .mega-products {
    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 50% 40% at 78% 30%, rgba(56, 189, 248, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(94, 234, 212, 0.1), transparent 70%),
    linear-gradient(180deg, #070b12 0%, #0b1522 100%);
  background-size: 120% 120%;
  animation: mesh-shift 18s 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(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.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;
  position: relative;
}

.why-grid::before {
  content: "";
  position: absolute;
  inset: 18% 18%;
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: 24px;
  pointer-events: none;
}

.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: 999px;
  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: 980px) {
  .hero-ai-grid,
  .service-bento,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    display: none;
  }

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

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

  .why-grid::before {
    display: none;
  }

  .home .hero-actions .btn {
    width: 100%;
  }

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