/* 辰运科技 — light blue UI (ink / navy / page) */
:root {
  --ink: #142f4a;
  --navy: #2a68a4;
  --navy-mid: #3878b5;
  --steel: #6787a5;
  --page: #e6f0f8;
  --muted: #567085;
  --white: #ffffff;
  --soft: #d0e2f1;
  --border: rgba(42, 104, 164, 0.14);
  --border-strong: rgba(42, 104, 164, 0.24);
  --shadow: 0 1px 2px rgba(20, 47, 74, 0.05), 0 12px 32px rgba(42, 104, 164, 0.10);
  --radius: 14px;
  --radius-sm: 10px;
  --pill: 999px;
  --container: 1400px;
  --header-h: 80px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-mid); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--ink); color: #fff; padding: .5rem .9rem;
}
.skip-link:focus { left: 0; }

.container { width: 90%; max-width: var(--container); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, 720px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(230, 240, 248, 0.78);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border-bottom: 1px solid rgba(42, 104, 164, 0.12);
  box-shadow: 0 1px 0 rgba(255,255,255,0.45) inset;
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease, backdrop-filter .4s ease, color .35s ease;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 90%; max-width: var(--container); margin-inline: auto;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); text-decoration: none; opacity: .92; }
.brand img {
  width: 42px; height: 42px; object-fit: cover;
  border-radius: 10px;
  background: transparent;
  box-shadow: 0 1px 2px rgba(20,47,74,0.08);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: .95rem; font-weight: 650; letter-spacing: -0.01em; }
.brand-text span { font-size: .7rem; color: var(--muted); letter-spacing: 0.02em; }

.nav {
  display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: .1rem .75rem;
}
.nav a {
  color: var(--ink);
  font-size: .84rem;
  font-weight: 500;
  text-decoration: none;
  padding: .35rem 0;
  white-space: nowrap;
}
.nav a:hover { color: var(--navy); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--navy); }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: .35rem;
  padding: .55rem 1.05rem !important;
  border-radius: var(--pill);
  background: var(--navy);
  color: #fff !important;
  font-weight: 560;
  font-size: .82rem !important;
  line-height: 1.2;
}
.nav-cta:hover {
  background: var(--navy-mid);
  color: #fff !important;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px;
  background: var(--ink); border-radius: 1px;
}

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--page);
    border-bottom: 1px solid var(--border);
    padding: .75rem 1.25rem 1.1rem;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .75rem .35rem; border-bottom: 1px solid var(--border); }
  .nav-cta {
    margin: .65rem 0 0 !important;
    text-align: center;
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem;
  padding: 1rem 1.65rem;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-mid); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--ink);
}
.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover { background: var(--soft); color: var(--ink); }

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

h1, h2, h3 {
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4.25rem); margin: 0 0 1.25rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1.12; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); margin: 0 0 1rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.18; }
h3 { font-size: 1.15rem; margin: 0 0 .55rem; font-weight: 650; }

.section { padding: 6.5rem 0; }
.section-compact { padding: 3.75rem 0; }
.section-compact .section-head { margin-bottom: 1.5rem; }
#scp-home .section-head { margin-bottom: 1.35rem; }
#scp-home .section-head p { font-size: 1rem; line-height: 1.6; }
#categories.section { padding-top: 4.25rem; padding-bottom: 4.25rem; }
#categories .section-head { margin-bottom: 1.5rem; }
#categories .section-head p { font-size: 1rem; line-height: 1.6; }


.section-muted { background: var(--white); }
.section-ink {
  background: linear-gradient(160deg, #1a4a76 0%, #2a68a4 100%);
  color: rgba(255,255,255,0.86);
}
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .eyebrow { color: rgba(255,255,255,0.7); }
.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}
.section-head.center {
  margin-left: auto; margin-right: auto;
  text-align: center;
}

/* Hero */
.hero {
  padding: 5.5rem 0 5.75rem;
  overflow: hidden;
  min-height: calc(88vh - var(--header-h));
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
}
.hero-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.75;
  max-width: 36rem;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: .9rem;
  margin-bottom: 0;
}
.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 5 / 4.2;
  min-height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(20, 47, 74, 0.12);
}
.proof-card {
  position: absolute;
  left: 1.25rem; bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  max-width: 240px;
}
.proof-card strong {
  display: block;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: .25rem;
}
.proof-card span {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero { padding: 2.5rem 0 3.25rem; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual img { min-height: 280px; }
  .proof-card { left: .85rem; bottom: .85rem; max-width: 210px; }
}


/* Hero full-bleed */
.hero-bleed {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #142f4a center / cover no-repeat;
}
.hero-bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,47,74,0.55) 0%, rgba(20,47,74,0.32) 45%, rgba(20,47,74,0.12) 78%, rgba(20,47,74,0.06) 100%),
    linear-gradient(180deg, rgba(20,47,74,0.18) 0%, transparent 35%, rgba(20,47,74,0.22) 100%);
  pointer-events: none;
}
.hero-bleed-inner {
  position: relative;
  z-index: 1;
  padding: 7rem 0 5.5rem;
  max-width: 46rem;
}
.hero-bleed .eyebrow {
  color: rgba(255,255,255,0.72);
}
.hero-bleed h1 {
  color: #fff;
  max-width: 14ch;
}
.hero-bleed .hero-lead {
  color: rgba(255,255,255,0.82);
  max-width: 34rem;
  font-size: 1.15rem;
}
.hero-bleed .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.hero-bleed .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: #fff;
}
.hero-bleed .btn-primary {
  background: #fff;
  color: var(--ink);
}
.hero-bleed .btn-primary:hover {
  background: var(--soft);
  color: var(--ink);
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 2rem;
}
.hero-pills span {
  display: inline-flex;
  align-items: center;
  padding: .45rem .9rem;
  border-radius: var(--pill);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  font-size: .82rem;
  font-weight: 560;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .hero-bleed { min-height: 72vh; }
  .hero-bleed-inner { padding: 4.5rem 0 3.5rem; }
  .hero-bleed h1 { max-width: none; }
}

/* Header over bleed pages — fixed glass, no absolute→sticky jump */
body.has-bleed-hero .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.16);
  box-shadow: none;
  color: #fff;
}
body.has-bleed-hero .site-header .brand,
body.has-bleed-hero .site-header .brand:hover { color: #fff; }
body.has-bleed-hero .site-header .brand-text span { color: rgba(255,255,255,0.7); }
body.has-bleed-hero .site-header .nav a { color: rgba(255,255,255,0.92); transition: color .3s ease; }
body.has-bleed-hero .site-header .nav a:hover,
body.has-bleed-hero .site-header .nav a[aria-current="page"] { color: #fff; }
body.has-bleed-hero .site-header .nav-cta {
  background: rgba(255,255,255,0.92);
  color: var(--ink) !important;
  transition: background .3s ease, color .3s ease;
}
body.has-bleed-hero .site-header .nav-cta:hover {
  background: #fff;
  color: var(--ink) !important;
}
body.has-bleed-hero .site-header .nav-toggle {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
}
body.has-bleed-hero .site-header .nav-toggle span { background: #fff; }

body.has-bleed-hero .site-header.is-solid {
  background: rgba(230, 240, 248, 0.90);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-bottom-color: rgba(42, 104, 164, 0.14);
  box-shadow: 0 10px 40px rgba(42, 104, 164, 0.10);
  color: var(--ink);
}
body.has-bleed-hero .site-header.is-solid .brand,
body.has-bleed-hero .site-header.is-solid .brand:hover { color: var(--ink); }
body.has-bleed-hero .site-header.is-solid .brand-text span { color: var(--muted); }
body.has-bleed-hero .site-header.is-solid .nav a { color: var(--ink); }
body.has-bleed-hero .site-header.is-solid .nav a:hover,
body.has-bleed-hero .site-header.is-solid .nav a[aria-current="page"] { color: var(--navy); }
body.has-bleed-hero .site-header.is-solid .nav-cta {
  background: var(--navy);
  color: #fff !important;
}
body.has-bleed-hero .site-header.is-solid .nav-cta:hover {
  background: var(--navy-mid);
  color: #fff !important;
}
body.has-bleed-hero .site-header.is-solid .nav-toggle {
  background: var(--white);
  border-color: var(--border-strong);
}
body.has-bleed-hero .site-header.is-solid .nav-toggle span { background: var(--ink); }
@media (max-width: 1100px) {
  body.has-bleed-hero .site-header .nav {
    background: rgba(20,47,74,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  body.has-bleed-hero .site-header .nav a {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.08);
  }
  body.has-bleed-hero .site-header.is-solid .nav {
    background: rgba(255,255,255,0.96);
  }
  body.has-bleed-hero .site-header.is-solid .nav a {
    color: var(--ink);
    border-bottom-color: var(--border);
  }
}

/* Feature gallery — bottom tabs swap image set */
.feat-gallery {
  max-width: 1100px;
  margin: 0 auto;
}
.feat-gallery-stage {
  display: block;
}
.feat-shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #e8eef5;
  border: 1px solid var(--border);
}
.feat-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #dfe7f0;
}
.feat-gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem 1.75rem;
  margin-top: 1.75rem;
  padding-top: .15rem;
  border-bottom: 1px solid var(--border);
}
.feat-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .98rem;
  font-weight: 550;
  padding: .7rem .15rem .85rem;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.feat-tab:hover { color: var(--ink); }
.feat-tab.is-active {
  color: var(--navy);
  border-bottom-color: var(--navy);
  font-weight: 650;
}
.feat-gallery-desc {
  margin: 1rem auto 0;
  max-width: 42rem;
  text-align: center;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.65;
  min-height: 3em;
}

@media (max-width: 720px) {
  .feat-gallery-tabs {
    gap: .2rem 1rem;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .feat-tab { white-space: nowrap; font-size: .9rem; }
}

/* legacy */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 1.5rem 1.35rem; }
.feature-card h3 { margin: 0 0 .55rem; font-size: 1.15rem; }
.feature-card p { margin: 0; color: var(--muted); }

/* Solutions — HyperOS-like chapter modules (calm B2B) */
#categories.section {
  padding-top: 5rem;
  padding-bottom: 5.5rem;
}
#categories .section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 720px;
}

.mod-chapter {
  margin-bottom: 5.5rem;
}
.mod-chapter:last-child {
  margin-bottom: 0;
}
.mod-chapter-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}
.mod-chapter-head .eyebrow {
  margin-bottom: .45rem;
}
.mod-chapter-head h3 {
  margin: 0 0 .7rem;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}
.mod-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.mod-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "prev viewport next"
    "dots dots dots";
  gap: .85rem .55rem;
  align-items: center;
}
.mod-carousel .mod-prev { grid-area: prev; }
.mod-carousel .mod-viewport { grid-area: viewport; min-width: 0; }
.mod-carousel .mod-next { grid-area: next; }
.mod-carousel .mod-dots { grid-area: dots; }

.mod-nav {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(42,104,164,0.18);
  background: var(--white);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, border-color .15s ease;
}
.mod-nav:hover {
  background: #eef5fc;
  border-color: rgba(42,104,164,0.35);
}
.mod-nav:disabled {
  opacity: .35;
  cursor: default;
}

.mod-viewport {
  overflow: hidden;
  border-radius: 20px;
}
.mod-track {
  display: flex;
  gap: 1rem;
  transition: transform .35s ease;
  will-change: transform;
}
.mod-card {
  flex: 0 0 min(78%, 820px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mod-media {
  background: #e8eef5;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.mod-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.mod-copy {
  padding: 1.2rem 1.3rem 1.35rem;
  background: #ffffff;
  border-top: 1px solid rgba(42,104,164,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,1);
}
.mod-copy h4 {
  margin: 0 0 .4rem;
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mod-copy p {
  margin: 0;
  color: #4a6178;
  font-size: .95rem;
  line-height: 1.55;
}

.mod-dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  padding-top: .15rem;
}
.mod-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(42,104,164,0.22);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, width .15s ease;
}
.mod-dot.is-active,
.mod-dot[aria-current="true"] {
  background: var(--navy);
  width: 1.1rem;
  border-radius: 999px;
}

/* neutralize leftover sol/fs */
.sol-panel, .sol-tabs, .sol-body, .sol-chrome, .fs-fallback { display: none !important; }

@media (max-width: 900px) {
  .mod-chapter { margin-bottom: 4rem; }
  .mod-chapter-head h3 { font-size: 1.55rem; }
  .mod-card { flex-basis: 88%; }
  .mod-carousel {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "viewport viewport"
      "prev next"
      "dots dots";
  }
  .mod-nav { width: 100%; height: 2.6rem; border-radius: 10px; }
}

.section-head.wide { max-width: 860px; }







/* About split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split-tight {
  gap: 1.5rem;
  align-items: stretch;
}
.split-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(20, 47, 74, 0.1);
  background: var(--white);
}
.split-tight .split-media {
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(20, 47, 74, 0.08);
}
.split-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.split-tight .split-media img {
  aspect-ratio: 16 / 11;
  height: 100%;
  min-height: 100%;
}
.split p { color: var(--muted); margin: 0 0 1rem; }
.card-tight {
  padding: 1.15rem 1.2rem 1.2rem !important;
  border-radius: 16px !important;
}
.card-tight h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.card-tight .tag { margin-bottom: .4rem; }
.card-tight .feature-list { margin-top: .65rem; }
.card-tight .feature-list li {
  padding: .35rem 0 .35rem 1.05rem;
  font-size: .9rem;
}
.contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 1.75rem; }
  .split-tight { gap: 1.1rem; }
  .split-media { order: -1; }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.85rem 1.5rem;
}
.stat strong {
  display: block;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  letter-spacing: -0.03em;
  margin-bottom: .45rem;
  color: var(--ink);
  font-weight: 700;
}
.stat span {
  display: block;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.45;
}
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
}

/* Cards / grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem 1.6rem 1.85rem;
  box-shadow: 0 1px 0 rgba(20,47,74,0.02);
}
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .tag, .tag {
  display: inline-block;
  margin-bottom: .65rem;
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.card-media {
  margin: -1.4rem -1.35rem 1.1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding: .45rem 0 .45rem 1.15rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: .95rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--navy);
}

/* Values */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.value-card {
  background: var(--page);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
}
.value-card p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) {
  .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
}

/* Cases centered */
#cases .section-head { margin-left: auto; margin-right: auto; text-align: center; }
#cases .hospital-cloud { justify-content: center; text-align: center; }

/* Hospital word cloud */
.hospital-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .85rem 1.1rem;
  padding: .35rem 0 .15rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.cloud-tag {
  display: inline-block;
  color: var(--navy);
  line-height: 1.35;
  letter-spacing: -0.01em;
  padding: .35rem .7rem;
  border-radius: var(--pill);
  background: rgba(31,42,68,0.04);
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  max-width: 100%;
}
.cloud-tag:hover {
  background: rgba(31,42,68,0.09);
  border-color: rgba(31,42,68,0.12);
  transform: scale(1.06);
}
.cloud-sm {
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
  opacity: .92;
}
.cloud-md {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-mid);
}
.cloud-lg {
  font-size: 1.18rem;
  font-weight: 650;
  color: var(--navy);
}
.cloud-xl {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
@media (max-width: 720px) {
  .hospital-cloud { gap: .65rem .75rem; padding: .2rem 0; }
  .cloud-xl { font-size: 1.08rem; }
  .cloud-lg { font-size: 1rem; }
  .cloud-md { font-size: .92rem; }
  .cloud-sm { font-size: .84rem; }
}

/* Legacy cases */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.case-card-body { padding: 1.1rem 1.15rem 1.25rem; }
.case-card-body p { margin: 0; color: var(--muted); font-size: .9rem; }
.case-thumb {
  background: var(--page);
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
  color: var(--steel);
  font-size: .85rem;
}
.case-thumb.placeholder {
  background: linear-gradient(135deg, #e8eaec, #f5f5f4);
  font-weight: 560;
}
@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem 1rem;
  max-width: none;
}
@media (max-width: 720px) {
  .faq-list { grid-template-columns: 1fr; }
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}
.faq-item h3 {
  font-size: 1rem;
  margin: 0 0 .4rem;
}
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  position: relative;
}
.process-step p { margin: 0; color: var(--muted); font-size: .92rem; }
.process-step .num {
  display: block;
  font-size: .72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 650;
  margin-bottom: .55rem;
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* Page hero */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  margin-bottom: 1rem;
  font-size: .85rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }

/* CTA band — light, no dark box */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: var(--ink); margin-bottom: .4rem; }
.cta-band p { margin: 0; max-width: 34rem; color: var(--muted); }
@media (max-width: 720px) {
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.35rem;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: start;
}
.contact-detail {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: .75rem;
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.contact-row dt {
  margin: 0;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.contact-row dd { margin: 0; color: var(--ink); }
.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  margin-bottom: .35rem;
  font-size: .88rem;
  font-weight: 560;
}
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: .75rem .85rem;
  font: inherit;
  background: var(--page);
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note {
  margin: .85rem 0 0;
  font-size: .85rem;
  color: var(--muted);
}
.form-success {
  display: none;
  margin-bottom: 1rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  background: #eef2f0;
  color: var(--navy);
  font-size: .92rem;
}
.form-success.is-visible { display: block; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Insights */
.insight-list { display: grid; gap: .75rem; }
.insight-item {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  gap: 1rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  color: inherit;
  text-decoration: none;
}
.insight-item:hover {
  text-decoration: none;
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.insight-item h2 {
  font-size: 1.05rem;
  margin: 0 0 .35rem;
}
.insight-item p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight-cat {
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  padding-top: .25rem;
}
.insight-arrow { color: var(--steel); padding-top: .2rem; }
@media (max-width: 720px) {
  .insight-item { grid-template-columns: 1fr; gap: .5rem; }
  .insight-arrow { display: none; }
}

.article {
  padding: 2.5rem 0 4rem;
}
.article .container-narrow h1 { margin-bottom: .75rem; }
.article-meta {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1.75rem;
}
.prose p { color: var(--muted); }
.prose h2, .prose h3 { margin-top: 1.75rem; }
.note {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .92rem;
}

.not-found {
  padding: 5rem 0;
  text-align: center;
}
.not-found h1 {
  font-size: 4rem;
  margin-bottom: .5rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #dceaf5 0%, #d0e2f1 100%);
  color: var(--muted);
  padding: 3.25rem 0 1.5rem;
  margin-top: 0;
  border-top: 1px solid var(--border);
}
.site-footer a { color: var(--navy); }
.site-footer a:hover { color: var(--navy-mid); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}
.footer-brand .brand {
  color: var(--ink);
  margin-bottom: .85rem;
}
.footer-brand .brand-text span { color: var(--muted); }
.footer-brand p {
  margin: 0;
  font-size: .9rem;
  max-width: 22rem;
  line-height: 1.65;
}
.footer-col h3 {
  color: var(--ink);
  font-size: .78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin-bottom: .55rem; font-size: .92rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}


/* Hospital cards (cases page) */
.hospital-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.hospital-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
}
.hospital-card h3 {
  font-size: 1.08rem;
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .hospital-grid { grid-template-columns: 1fr; }
}



/* SCP capability grid */
.scp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.scp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.scp-card-media {
  background: #e8eef5;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.scp-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.scp-card-body {
  padding: 1.1rem 1.2rem 1.25rem;
  background: #fff;
  border-top: 1px solid rgba(42,104,164,0.12);
}
.scp-card-body h3 {
  margin: 0 0 .4rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}
.scp-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}
@media (max-width: 800px) {
  .scp-grid { grid-template-columns: 1fr; }
}

/* Device lifecycle flow — directional */
.flow-title {
  font-size: 1.05rem;
  margin: 0 0 1.1rem;
  color: var(--ink);
  font-weight: 650;
}
.flow-diagram {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.35rem 1.25rem 1.4rem;
  box-shadow: 0 8px 28px rgba(20,47,74,0.04);
}
.flow-rows {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  align-items: stretch;
}
.flow-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
}
.flow-row .flow-node { flex: 1 1 0; min-width: 0; }
.flow-wrap {
  display: flex;
  justify-content: flex-end;
  padding: 0 .35rem 0 0;
  min-height: 1.75rem;
}
.flow-wrap > span {
  position: relative;
  display: block;
  width: 2px;
  height: 1.85rem;
  border-radius: 2px;
  overflow: visible;
  background: var(--navy);
  opacity: .85;
}
.flow-wrap > span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 10px;
  margin-left: -4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #8fbee8 35%, var(--navy) 100%);
  box-shadow: 0 0 6px rgba(42,104,164,0.35);
  animation: flow-travel-v 1.35s linear infinite;
  animation-delay: .9s;
  pointer-events: none;
}
.flow-wrap > span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  z-index: 1;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 7px 5px 0 5px;
  border-color: var(--navy) transparent transparent transparent;
}
.flow-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: .55rem .7rem;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  box-shadow: none;
}
.flow-arrow {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 2px;
  border-radius: 2px;
  align-self: center;
  overflow: visible;
  background: var(--navy);
  opacity: .85;
}
.flow-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 6px;
  margin-top: -3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, #8fbee8 40%, var(--navy) 100%);
  box-shadow: 0 0 6px rgba(42,104,164,0.35);
  animation: flow-travel-h 1.35s linear infinite;
  pointer-events: none;
}
.flow-arrow::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent var(--navy);
}
.flow-row .flow-arrow:nth-child(2)::before { animation-delay: 0s; }
.flow-row .flow-arrow:nth-child(4)::before { animation-delay: .18s; }
.flow-row .flow-arrow:nth-child(6)::before { animation-delay: .36s; }
.flow-row .flow-arrow:nth-child(8)::before { animation-delay: .54s; }
.flow-row .flow-arrow:nth-child(10)::before { animation-delay: .72s; }

@keyframes flow-travel-h {
  from { transform: translateX(-140%); }
  to { transform: translateX(280%); }
}
@keyframes flow-travel-v {
  from { transform: translateY(-140%); }
  to { transform: translateY(280%); }
}

@media (prefers-reduced-motion: reduce) {
  .flow-arrow::before,
  .flow-wrap > span::before,
  .flow-loop-harrow span::before,
  .flow-loop-varrow span::before {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* Maintenance closed-loop grid */
.flow-loop-grid {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) 3rem minmax(7rem, 1fr);
  grid-template-rows: auto 2.75rem auto;
  align-items: center;
  justify-items: center;
  max-width: 420px;
  margin-inline: auto;
  gap: .35rem .15rem;
}
.flow-loop-grid .flow-node {
  width: 100%;
  max-width: 10rem;
  text-align: center;
  white-space: normal;
}
.flow-loop-harrow,
.flow-loop-varrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--navy);
  opacity: .75;
}
.flow-loop-harrow span {
  position: relative;
  display: block;
  width: 100%;
  max-width: 2.5rem;
  height: 2px;
  border-radius: 2px;
  overflow: visible;
  background: var(--navy);
  opacity: .85;
}
.flow-loop-harrow span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 10px; height: 6px;
  margin-top: -3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #8fbee8, var(--navy));
  animation: flow-travel-h 1.35s linear infinite;
  pointer-events: none;
}
.flow-loop-harrow span::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent var(--navy);
}
.flow-loop-harrow-left span::after {
  right: auto;
  left: -1px;
  border-width: 5px 7px 5px 0;
  border-color: transparent var(--navy) transparent transparent;
}
.flow-loop-varrow span {
  position: relative;
  display: block;
  width: 2px;
  height: 100%;
  min-height: 2rem;
  border-radius: 2px;
  overflow: visible;
  background: var(--navy);
  opacity: .85;
}
.flow-loop-varrow span::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 8px; height: 10px;
  margin-left: -4px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, #8fbee8, var(--navy));
  animation: flow-travel-v 1.35s linear infinite;
  pointer-events: none;
}
.flow-loop-varrow-right span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 7px 5px 0 5px;
  border-color: var(--navy) transparent transparent transparent;
}
.flow-loop-varrow-left span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 0 5px 7px 5px;
  border-color: transparent transparent var(--navy) transparent;
}
.flow-loop-spacer { display: block; width: 100%; height: 100%; }
@media (max-width: 480px) {
  .flow-loop-grid {
    grid-template-columns: minmax(5.5rem, 1fr) 2.25rem minmax(5.5rem, 1fr);
    max-width: 100%;
  }
}

.flow-loop-note {
  margin: 1rem 0 0;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}
@media (max-width: 900px) {
  .flow-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: .45rem .3rem;
  }
  .flow-row .flow-node {
    flex: 0 1 auto;
  }
  .flow-wrap { justify-content: center; }
}
@media (max-width: 640px) {
  .flow-node {
    font-size: .88rem;
    padding: .5rem .8rem;
    min-height: 2.3rem;
  }
  .flow-arrow { flex-basis: 18px; width: 18px; }
}

/* Hide visual sequence numbers site-wide */
.feature-card .num,
.process-step .num,
.flow-num {
  display: none !important;
}


/* Minimal contact */
.contact-simple .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.contact-simple .contact-actions {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin: 0;
}
