/*
Theme Name: Kangwosi Modern
Theme URI: https://www.kangwosi.com.cn/
Author: Kangwosi
Description: Modern corporate WordPress theme for Kangwosi smart building and IoT solutions.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: kangwosi-modern
*/

:root {
  --cw-blue-950: #061527;
  --cw-blue-900: #082044;
  --cw-blue-800: #0a3270;
  --cw-blue-700: #0048c8;
  --cw-blue-600: #0052d9;
  --cw-blue-500: #176cff;
  --cw-blue-100: #eaf3ff;
  --cw-cyan: #11c7e8;
  --cw-accent: #ff6b4a;
  --cw-ink: #121a26;
  --cw-muted: #657289;
  --cw-line: #dce7f6;
  --cw-bg: #f6f9fd;
  --cw-card: #ffffff;
  --cw-radius: 8px;
  --cw-shadow: 0 18px 48px rgba(6, 27, 60, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--cw-ink);
  background: var(--cw-bg);
  font-family: "PingFang SC", "Inter", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  border-bottom: 1px solid rgba(0, 82, 217, 0.14);
  background:
    linear-gradient(180deg, rgba(246, 250, 255, 0.98), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 18% 0, rgba(17, 199, 232, 0.18), transparent 30%);
  box-shadow: 0 14px 34px rgba(6, 27, 60, 0.08);
  backdrop-filter: blur(18px);
}

.site-header::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--cw-blue-600), var(--cw-cyan), var(--cw-accent));
  content: "";
  pointer-events: none;
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner,
.cw-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  width: min(1480px, calc(100% - 48px));
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  flex: 0 0 auto;
  min-width: 238px;
  align-items: center;
}

.brand-logo {
  width: 238px;
  height: auto;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  color: var(--cw-blue-950);
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.2;
}

.brand-text span {
  display: block;
  color: var(--cw-muted);
  font-size: 12px;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  align-self: center;
  justify-content: center;
  gap: 4px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav > .nav-item > .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  gap: 5px;
  padding: 0 10px;
  border-radius: 8px;
  color: #213249;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.main-nav > .nav-item > .nav-link::after {
  position: absolute;
  right: 11px;
  bottom: 4px;
  left: 11px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cw-blue-600), var(--cw-cyan));
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-caret {
  width: 12px;
  height: 12px;
  color: #6f7f96;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease, color 0.18s ease;
}

.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret {
  color: var(--cw-blue-600);
  transform: rotate(180deg);
}

.main-nav li {
  display: contents;
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--cw-blue-600);
  background: var(--cw-blue-100);
}

.nav-item.active > a,
.main-nav > .nav-item > .nav-link:hover,
.main-nav > .nav-item > .nav-link.active {
  color: var(--cw-blue-600);
  background: rgba(0, 82, 217, 0.07);
}

.nav-item.active > .nav-link,
.main-nav > .nav-item > .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--cw-blue-600), var(--cw-blue-800));
  box-shadow: 0 8px 18px rgba(0, 82, 217, 0.2);
}

.nav-item.active .nav-caret,
.main-nav > .nav-item > .nav-link.active .nav-caret {
  color: rgba(255, 255, 255, 0.82);
}

.nav-item.active > .nav-link::after,
.main-nav > .nav-item > .nav-link:hover::after,
.main-nav > .nav-item > .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 120;
  display: grid;
  width: min(520px, calc(100vw - 48px));
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(245, 250, 255, 0.98)),
    radial-gradient(circle at 100% 0, rgba(17, 199, 232, 0.16), transparent 32%);
  box-shadow: 0 24px 58px rgba(7, 31, 67, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav-dropdown::before {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(0, 82, 217, 0.14);
  border-left: 1px solid rgba(0, 82, 217, 0.14);
  background: #fff;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-head {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 134px;
  padding: 18px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 82, 217, 0.95), rgba(8, 32, 68, 0.94)),
    radial-gradient(circle at 100% 0, rgba(17, 199, 232, 0.45), transparent 45%);
}

.nav-dropdown-head strong {
  font-size: 18px;
  line-height: 1.2;
}

.nav-dropdown-head span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.6;
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.nav-products .nav-dropdown {
  width: min(780px, calc(100vw - 48px));
  grid-template-columns: 180px minmax(0, 1fr);
}

.nav-products .nav-dropdown-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nav-dropdown a {
  position: relative;
  display: flex;
  justify-content: flex-start;
  min-height: 38px;
  align-items: center;
  padding: 0 12px 0 18px;
  border-radius: 8px;
  color: #33445d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.nav-dropdown a::before {
  position: absolute;
  left: 8px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--cw-cyan);
  content: "";
  opacity: 0.64;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  color: var(--cw-blue-600);
  background: rgba(0, 82, 217, 0.08);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.header-phone {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 4px;
  border: 0;
  color: var(--cw-blue-800);
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.header-phone svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.header-phone:hover {
  color: var(--cw-blue-600);
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: var(--cw-blue-900);
  background: rgba(234, 243, 255, 0.72);
  cursor: pointer;
}

.icon-button svg {
  width: 21px;
  height: 21px;
}

.icon-button:hover {
  color: var(--cw-blue-600);
  background: rgba(218, 235, 255, 0.94);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 82, 217, 0.16);
  border-radius: 8px;
  color: var(--cw-blue-900);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.search-panel {
  border-top: 1px solid var(--cw-line);
  background: rgba(255,255,255,0.98);
  box-shadow: 0 20px 42px rgba(7,31,67,0.12);
}

.search-panel[hidden] {
  display: none;
}

.search-panel-inner {
  display: grid;
  gap: 16px;
  padding: 18px 0 22px;
}

.search-panel-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
}

.search-panel-form input {
  min-height: 44px;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--cw-ink);
  background: #fff;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.hot-products {
  display: grid;
  gap: 8px;
}

.hot-products strong {
  color: var(--cw-blue-950);
}

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.cw-button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--cw-blue-600);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cw-button:hover {
  transform: translateY(-1px);
  background: var(--cw-blue-700);
  box-shadow: 0 12px 26px rgba(0, 82, 217, 0.24);
}

.cw-button.secondary {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.cw-button.light {
  border-color: var(--cw-line);
  background: #fff;
  color: var(--cw-blue-700);
}

.cw-button svg {
  width: 17px;
  height: 17px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 21, 39, 0.96) 0%, rgba(7, 32, 68, 0.9) 44%, rgba(0, 82, 217, 0.56) 100%),
    url("assets/official/static/upload/image/20240223/1708672079156350.jpg") center/cover;
}

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

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.8), rgba(0,0,0,0.15));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 124px 0 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #d9f7ff;
  font-size: 13px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cw-accent);
  box-shadow: 0 0 16px var(--cw-accent);
}

.hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.06;
  letter-spacing: 0;
  word-break: keep-all;
}

.hero-title-line {
  display: block;
}

.hero .lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255,255,255,0.84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-stats {
  display: grid;
  max-width: 840px;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 76px;
}

.stat {
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
}

.stat strong {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,0.76);
  font-size: 13px;
}

.section {
  padding: 66px 0;
}

.section.compact {
  padding: 46px 0;
}

.section.white {
  background: #fff;
}

.page-hero + .section {
  padding-top: 42px;
}

.section.dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6,21,39,0.96), rgba(0,82,217,0.88)),
    url("assets/official/static/upload/image/20240311/1710145356929494.jpg") center/cover;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 26px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--cw-blue-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dark .section-kicker {
  color: #75ebff;
}

.section-title {
  margin: 0;
  color: var(--cw-blue-950);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.22;
}

.dark .section-title {
  color: #fff;
}

.section-desc {
  max-width: 660px;
  margin: 12px 0 0;
  color: var(--cw-muted);
}

.dark .section-desc {
  color: rgba(255,255,255,0.78);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.grid.cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cw-line);
  border-radius: var(--cw-radius);
  background: var(--cw-card);
  box-shadow: 0 10px 26px rgba(7, 31, 67, 0.06);
}

.card.pad {
  padding: 22px;
}

.card:hover {
  border-color: rgba(0, 82, 217, 0.32);
  box-shadow: var(--cw-shadow);
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: var(--cw-blue-600);
  background: var(--cw-blue-100);
}

.icon-box svg {
  width: 25px;
  height: 25px;
}

.card h3,
.feature h3 {
  margin: 18px 0 8px;
  color: var(--cw-blue-950);
  font-size: 21px;
  line-height: 1.3;
}

.card p,
.feature p {
  margin: 0;
  color: var(--cw-muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--cw-blue-100);
  color: var(--cw-blue-700);
  font-size: 12px;
  font-weight: 700;
}

.product-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.product-visual {
  display: flex;
  aspect-ratio: 460 / 320;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--cw-line);
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
}

.device {
  position: relative;
  width: 128px;
  height: 78px;
  border: 1px solid rgba(0,82,217,0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #eaf3ff);
  box-shadow: 0 18px 32px rgba(4, 47, 120, 0.16);
}

.device::before,
.device::after {
  content: "";
  position: absolute;
  background: var(--cw-blue-600);
}

.device::before {
  top: 18px;
  left: 18px;
  width: 38px;
  height: 8px;
  border-radius: 6px;
}

.device::after {
  right: 18px;
  bottom: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: -20px 0 0 var(--cw-cyan), -40px 0 0 var(--cw-accent);
}

.product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.product-content > .tag {
  align-self: flex-start;
  margin-bottom: 12px;
}

.product-content h3 {
  margin-top: 0;
}

.product-content .tag-row {
  margin-top: auto;
  padding-top: 18px;
}

.product-track-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
  margin: 28px 0 30px;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(234,243,255,0.72)),
    radial-gradient(circle at 100% 0, rgba(17,199,232,0.14), transparent 36%);
  box-shadow: 0 16px 34px rgba(7, 31, 67, 0.06);
}

.product-track-head {
  display: grid;
  align-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6,21,39,0.96), rgba(0,82,217,0.82)),
    linear-gradient(90deg, rgba(117,235,255,0.12), transparent);
}

.product-track-head .section-kicker {
  color: rgba(117,235,255,0.92);
}

.product-track-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.22;
}

.product-track-head p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
}

.product-track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-track-item {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 208px;
  border: 1px solid rgba(0, 82, 217, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,0.88);
}

.product-track-item:hover {
  border-color: rgba(0, 82, 217, 0.28);
  box-shadow: 0 14px 28px rgba(7, 31, 67, 0.08);
  transform: translateY(-2px);
}

.product-track-item .icon-box {
  width: 42px;
  height: 42px;
}

.product-track-item strong {
  color: var(--cw-blue-950);
  font-size: 19px;
  line-height: 1.28;
}

.product-track-item p {
  margin: 0;
  color: var(--cw-muted);
  font-size: 14px;
  line-height: 1.65;
}

.product-track-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.product-track-tags em {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 8px;
  padding: 0 8px;
  background: var(--cw-blue-100);
  color: var(--cw-blue-700);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.product-list-head {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  margin: 8px 0 22px;
}

.product-list-head .section-title {
  margin-bottom: 0;
}

.product-platform-section {
  margin: 32px 0 34px;
}

.product-platform-head {
  display: flex;
  gap: 22px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.product-platform-head .section-title {
  margin-bottom: 0;
}

.product-platform-head .cw-button {
  flex: 0 0 auto;
}

.product-platform-grid {
  align-items: stretch;
}

.product-platform-grid .platform-card {
  display: grid;
  min-height: 0;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border-color: rgba(0, 82, 217, 0.13);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,255,0.98)),
    linear-gradient(135deg, rgba(234,243,255,0.74), rgba(255,255,255,0.2));
}

.product-platform-grid .platform-card-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, 0.48fr);
  gap: 12px;
  aspect-ratio: 460 / 320;
  min-height: 0;
  margin: -22px -22px 4px;
  border-bottom: 1px solid var(--cw-line);
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(4, 18, 42, 0.96), rgba(0, 82, 217, 0.72)),
    radial-gradient(circle at 74% 20%, rgba(117,235,255,0.24), transparent 34%),
    linear-gradient(135deg, #071f43, #0f66d8);
}

.product-platform-grid .platform-card-visual.has-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.product-platform-grid .platform-card-visual.has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0;
}

.product-platform-grid .platform-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, rgba(0,0,0,0.7), transparent 70%);
  pointer-events: none;
}

.product-platform-grid .platform-card-visual.has-image::before {
  display: none;
}

.product-platform-grid .platform-card .icon-box {
  margin-top: -56px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 10px 22px rgba(7,31,67,0.13);
}

.product-platform-grid .platform-card .tag {
  width: fit-content;
  margin-top: 0;
}

.product-platform-grid .platform-card h3 {
  margin-top: 6px;
}

.product-combo-panel {
  margin-top: 32px;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(234,243,255,0.8)),
    radial-gradient(circle at 88% 0, rgba(17,199,232,0.16), transparent 34%);
  box-shadow: 0 18px 44px rgba(7, 31, 67, 0.07);
}

.product-combo-head {
  display: flex;
  gap: 22px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-combo-head .section-title {
  margin-bottom: 0;
}

.product-combo-head .cw-button {
  flex: 0 0 auto;
}

.product-combo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-combo-card {
  display: flex;
  min-height: 292px;
  flex-direction: column;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255,255,255,0.9);
}

.product-combo-card .icon-box {
  margin-bottom: 16px;
}

.product-combo-card h3 {
  margin: 0 0 10px;
  color: var(--cw-blue-950);
  font-size: 21px;
  line-height: 1.3;
}

.product-combo-card p {
  margin: 0;
  color: var(--cw-muted);
  font-size: 14px;
  line-height: 1.75;
}

.product-combo-card .tag-row {
  margin-top: auto;
  padding-top: 18px;
}

.product-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  background: rgba(0, 82, 217, 0.14);
}

.product-path article {
  display: grid;
  gap: 8px;
  min-height: 148px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(6,21,39,0.96), rgba(10,50,112,0.9)),
    linear-gradient(90deg, rgba(117,235,255,0.12), transparent);
  color: #fff;
}

.product-path span {
  width: fit-content;
  border-radius: 8px;
  padding: 4px 9px;
  background: rgba(117,235,255,0.14);
  color: #75ebff;
  font-size: 13px;
  font-weight: 900;
}

.product-path strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
}

.product-path p {
  margin: 0;
  color: rgba(255,255,255,0.76);
  font-size: 14px;
  line-height: 1.72;
}

.platform-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

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

.platform-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  padding: 0 18px;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  background: #fff;
  color: var(--cw-blue-950);
  cursor: pointer;
  text-align: left;
}

.platform-button.active {
  border-color: var(--cw-blue-600);
  background: var(--cw-blue-600);
  color: #fff;
  box-shadow: 0 14px 26px rgba(0,82,217,0.2);
}

.platform-panel {
  display: none;
  height: 100%;
  min-height: 420px;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6,21,39,0.9), rgba(0,82,217,0.7)),
    url("assets/official/static/upload/image/20260420/1776670910980064.jpg") center/cover;
}

.platform-panel.active {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.platform-panel h3 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.2;
}

.platform-panel p {
  max-width: 590px;
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 17px;
}

.metric-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.metric {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255,255,255,0.08);
}

.metric strong {
  display: block;
  font-size: 25px;
}

.metric span {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
}

.platform-link {
  width: fit-content;
}

.platform-card {
  min-height: 255px;
}

.platform-card-visual {
  display: none;
}

.platform-card .tag {
  margin-top: 16px;
}

.solution-index {
  position: sticky;
  top: 76px;
  z-index: 30;
  border-bottom: 1px solid rgba(0, 82, 217, 0.12);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 10px 28px rgba(6, 27, 60, 0.06);
  backdrop-filter: blur(16px);
}

.admin-bar .solution-index {
  top: 108px;
}

.solution-index-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 68px;
}

.solution-anchor-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.solution-anchor-strip a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  padding: 0 13px;
  background: linear-gradient(180deg, #fff, rgba(234,243,255,0.72));
  color: var(--cw-blue-800);
  font-size: 13px;
  font-weight: 800;
}

.solution-anchor-strip a:hover,
.solution-anchor-strip a.active {
  border-color: rgba(0, 82, 217, 0.32);
  background: var(--cw-blue-600);
  color: #fff;
}

.solution-anchor-strip a:focus-visible {
  outline: 2px solid rgba(17, 199, 232, 0.78);
  outline-offset: 2px;
}

.solution-index-metrics {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 10px;
}

.solution-index-metric {
  min-width: 86px;
  border-left: 1px solid rgba(0, 82, 217, 0.14);
  padding-left: 12px;
}

.solution-index-metric strong,
.solution-index-metric span {
  display: block;
  line-height: 1.15;
}

.solution-index-metric strong {
  color: var(--cw-blue-950);
  font-size: 17px;
  font-weight: 900;
}

.solution-index-metric span {
  margin-top: 4px;
  color: var(--cw-muted);
  font-size: 12px;
}

#solution-catalog,
#solution-matrix,
#solution-framework,
#solution-deliverables,
#solution-foundation,
#solution-fit,
#solution-cases,
#solution-faq {
  scroll-margin-top: 156px;
}

.solution-catalog-grid {
  grid-auto-flow: dense;
}

.solution-catalog-grid .solution-card:nth-last-child(1):nth-child(3n + 1) {
  min-height: 300px;
  grid-column: 1 / -1;
  padding: 30px;
  background:
    linear-gradient(90deg, rgba(6,21,39,0.96) 0%, rgba(6,21,39,0.78) 34%, rgba(6,21,39,0.22) 60%, rgba(6,21,39,0.86) 100%),
    var(--image) center/cover no-repeat,
    linear-gradient(135deg, #071f43, #0f66d8);
}

.solution-card {
  display: flex;
  min-height: 278px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(6,21,39,0.04) 0%, rgba(6,21,39,0.16) 46%, rgba(6,21,39,0.9) 100%),
    var(--image) center/cover no-repeat,
    linear-gradient(135deg, #071f43, #0f66d8);
}

.solution-card h3 {
  color: #fff;
}

.solution-card p {
  color: rgba(255,255,255,0.82);
}

.solution-catalog-grid .solution-card:nth-last-child(1):nth-child(3n + 1) p {
  max-width: 760px;
}

.solution-catalog-grid .solution-card:nth-last-child(1):nth-child(3n + 1) .tag-row {
  max-width: 760px;
}

.solution-matrix {
  background: #f6f9fd;
}

.solution-selection-panel {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 82, 217, 0.16);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(234,243,255,0.86)),
    radial-gradient(circle at 100% 0, rgba(17,199,232,0.16), transparent 34%);
  box-shadow: 0 14px 32px rgba(7, 31, 67, 0.07);
}

.solution-selection-title {
  display: grid;
  align-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6,21,39,0.96), rgba(0,82,217,0.9)),
    radial-gradient(circle at 92% 12%, rgba(17,199,232,0.42), transparent 38%);
}

.solution-selection-title span {
  color: #75ebff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-selection-title strong {
  font-size: 24px;
  line-height: 1.25;
}

.solution-selection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.solution-selection-item {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 220px;
  border: 1px solid rgba(0, 82, 217, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,0.9);
}

.solution-selection-step {
  position: absolute;
  top: 16px;
  right: 16px;
  color: rgba(0,82,217,0.16);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.solution-selection-item .icon-box {
  width: 42px;
  height: 42px;
}

.solution-selection-item h3 {
  margin: 0;
  color: var(--cw-blue-950);
  font-size: 19px;
  line-height: 1.3;
}

.solution-selection-item p {
  margin: 0;
  color: var(--cw-muted);
  font-size: 14px;
  line-height: 1.75;
}

.solution-selection-item .tag-row {
  margin-top: 2px;
}

.solution-matrix-grid {
  align-items: stretch;
}

.solution-matrix-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
}

.solution-matrix-card > div:first-child > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--cw-blue-100);
  color: var(--cw-blue-600);
}

.solution-matrix-card > div:first-child > span svg {
  width: 18px;
  height: 18px;
}

.solution-matrix-card .tag-row {
  margin-top: 16px;
}

.solution-matrix-card em {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  background: var(--cw-blue-100);
  color: var(--cw-blue-700);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.solution-framework {
  background:
    linear-gradient(180deg, #f6f9fd 0%, #eef5ff 100%),
    radial-gradient(circle at 20% 0, rgba(17,199,232,0.12), transparent 30%);
}

.solution-step-grid {
  counter-reset: solution-step;
}

.solution-step-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
}

.solution-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.solution-step-number {
  width: fit-content;
  border-radius: 8px;
  padding: 5px 10px;
  background: var(--cw-blue-950);
  color: #75ebff;
  font-size: 13px;
  font-weight: 900;
}

.solution-step-card .icon-box {
  margin-top: 0;
}

.solution-deliverables {
  background:
    linear-gradient(135deg, #061527, #0a3270),
    radial-gradient(circle at 92% 8%, rgba(17,199,232,0.25), transparent 36%);
  color: #fff;
}

.solution-deliverables-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: stretch;
}

.solution-deliverables-head {
  display: grid;
  align-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    radial-gradient(circle at 90% 10%, rgba(17,199,232,0.18), transparent 34%);
}

.solution-deliverables .section-title {
  color: #fff;
}

.solution-deliverables .section-desc {
  color: rgba(255,255,255,0.76);
}

.solution-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.solution-deliverable-item {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 250px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.solution-deliverable-item span {
  width: fit-content;
  border-radius: 8px;
  padding: 4px 9px;
  background: rgba(117,235,255,0.13);
  color: #75ebff;
  font-size: 13px;
  font-weight: 900;
}

.solution-deliverable-item h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
}

.solution-deliverable-item p {
  margin: 0;
  color: rgba(255,255,255,0.76);
  font-size: 14px;
  line-height: 1.78;
}

.solution-deliverable-item .tag-row {
  margin-top: 2px;
}

.solution-deliverable-item em {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(117,235,255,0.18);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(255,255,255,0.08);
  color: #eafcff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.solution-foundation-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.solution-foundation-item {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 248px;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(234,243,255,0.78)),
    radial-gradient(circle at 90% 10%, rgba(17,199,232,0.12), transparent 32%);
  box-shadow: 0 10px 24px rgba(7, 31, 67, 0.05);
}

.solution-foundation-item:nth-child(1) {
  border-top: 4px solid var(--cw-blue-600);
}

.solution-foundation-item:nth-child(2) {
  border-top: 4px solid var(--cw-cyan);
}

.solution-foundation-item:nth-child(3) {
  border-top: 4px solid var(--cw-accent);
}

.solution-foundation-item:nth-child(4) {
  border-top: 4px solid var(--cw-blue-800);
}

.solution-foundation-item .icon-box {
  width: 44px;
  height: 44px;
}

.solution-foundation-item h3 {
  margin: 0;
  color: var(--cw-blue-950);
  font-size: 20px;
  line-height: 1.3;
}

.solution-foundation-item p {
  margin: 0;
  color: var(--cw-muted);
  font-size: 14px;
  line-height: 1.75;
}

.solution-foundation-item .tag-row {
  margin-top: 2px;
}

.solution-foundation-products {
  align-items: stretch;
}

.solution-foundation-products .platform-card,
.solution-foundation-products .product-card {
  min-height: 0;
  border-color: rgba(0, 82, 217, 0.13);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,255,0.98)),
    linear-gradient(135deg, rgba(234,243,255,0.74), rgba(255,255,255,0.2));
}

.solution-foundation-products .platform-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}

.solution-foundation-products .platform-card-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, 0.48fr);
  gap: 12px;
  aspect-ratio: 460 / 320;
  min-height: 0;
  margin: -22px -22px 4px;
  border-bottom: 1px solid var(--cw-line);
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(4, 18, 42, 0.96), rgba(0, 82, 217, 0.72)),
    radial-gradient(circle at 74% 20%, rgba(117,235,255,0.24), transparent 34%),
    linear-gradient(135deg, #071f43, #0f66d8);
}

.solution-foundation-products .platform-card-visual.has-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.solution-foundation-products .platform-card-visual.has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px 14px;
}

.solution-foundation-products .platform-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, rgba(0,0,0,0.7), transparent 70%);
  pointer-events: none;
}

.solution-foundation-products .platform-card-visual.has-image::before {
  display: none;
}

.platform-visual-main,
.platform-visual-side,
.platform-visual-flow {
  position: relative;
  z-index: 1;
}

.platform-visual-main {
  display: grid;
  align-content: end;
  gap: 9px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  padding: 15px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06)),
    linear-gradient(135deg, rgba(117,235,255,0.12), transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.platform-visual-label {
  width: fit-content;
  border: 1px solid rgba(117,235,255,0.38);
  border-radius: 999px;
  padding: 4px 8px;
  color: rgba(222,249,255,0.92);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.platform-visual-chart {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  overflow: hidden;
}

.platform-visual-chart::before {
  display: block;
  width: var(--bar-width, 64%);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(117,235,255,0.92), rgba(255,255,255,0.24));
  box-shadow: 0 0 24px rgba(117,235,255,0.42);
  content: "";
}

.platform-visual-chart:nth-child(3)::before {
  --bar-width: 48%;
}

.platform-visual-chart:nth-child(4)::before {
  --bar-width: 78%;
}

.platform-visual-side {
  display: grid;
  gap: 8px;
  align-content: center;
}

.platform-visual-side span {
  position: relative;
  display: block;
  min-height: 28px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(255,255,255,0.10);
}

.platform-visual-side span::before {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(117,235,255,0.9);
  box-shadow: 0 0 16px rgba(117,235,255,0.54);
  content: "";
}

.platform-visual-side span::after {
  position: absolute;
  top: 12px;
  right: 10px;
  left: 28px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.24);
  content: "";
}

.platform-visual-flow {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.platform-visual-flow span {
  height: 4px;
  border-radius: 999px;
  background: rgba(117,235,255,0.34);
}

.platform-visual-flow span:nth-child(2) {
  background: rgba(255,255,255,0.34);
}

.platform-visual-flow span:nth-child(3) {
  background: rgba(58,213,154,0.44);
}

.solution-foundation-products .platform-card .icon-box {
  margin-top: -56px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 10px 22px rgba(7,31,67,0.13);
}

.solution-foundation-products .platform-card .tag {
  width: fit-content;
  margin-top: 0;
}

.solution-foundation-products .platform-card h3 {
  margin-top: 6px;
}

.solution-foundation-products .product-content {
  padding: 20px 22px 22px;
}

.solution-value {
  background:
    linear-gradient(180deg, #eef5ff 0%, #f6f9fd 100%),
    radial-gradient(circle at 14% 12%, rgba(17,199,232,0.12), transparent 32%);
}

.solution-value-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(234,243,255,0.76)),
    radial-gradient(circle at 100% 0, rgba(17,199,232,0.16), transparent 34%);
  box-shadow: 0 14px 32px rgba(7, 31, 67, 0.07);
}

.solution-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.solution-value-item {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 180px;
  border: 1px solid rgba(0, 82, 217, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,0.86);
}

.solution-value-item strong {
  color: var(--cw-blue-700);
  font-size: 24px;
  line-height: 1.15;
}

.solution-value-item span {
  color: var(--cw-blue-950);
  font-size: 15px;
  font-weight: 900;
}

.solution-value-item p {
  margin: 0;
  color: var(--cw-muted);
  font-size: 14px;
  line-height: 1.72;
}

.solution-fit {
  background: #fff;
}

.solution-fit-band {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid rgba(0, 82, 217, 0.13);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(234,243,255,0.92), rgba(255,255,255,0.98)),
    radial-gradient(circle at 96% 12%, rgba(17,199,232,0.12), transparent 32%);
}

.solution-fit-head {
  display: grid;
  align-content: center;
  gap: 12px;
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,0.78);
}

.solution-fit-head .section-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.solution-fit-head .section-title {
  font-size: 25px;
}

.solution-fit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.solution-fit-actions .cw-button {
  min-height: 40px;
  padding: 0 15px;
  font-size: 13px;
}

.solution-fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.solution-fit-item {
  display: grid;
  align-content: start;
  border: 1px solid rgba(0, 82, 217, 0.12);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.solution-fit-item strong {
  display: block;
  color: var(--cw-blue-800);
  font-size: 16px;
  line-height: 1.3;
}

.solution-fit-item p {
  margin: 8px 0 0;
  color: var(--cw-muted);
  font-size: 14px;
  line-height: 1.65;
}

.solution-fit-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.solution-fit-list li {
  position: relative;
  min-height: 28px;
  border-radius: 8px;
  padding: 5px 10px 5px 28px;
  background: rgba(234,243,255,0.82);
  color: var(--cw-blue-800);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.solution-fit-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cw-cyan);
  box-shadow: 0 0 0 4px rgba(17,199,232,0.14);
}

.solution-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(0, 82, 217, 0.18);
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(234,243,255,0.96), rgba(255,255,255,0.98)),
    radial-gradient(circle at 90% 12%, rgba(17,199,232,0.16), transparent 32%);
  box-shadow: 0 14px 34px rgba(7, 31, 67, 0.08);
}

.solution-topic-strip {
  display: grid;
  gap: 10px;
}

.solution-topic-strip a {
  display: grid;
  gap: 4px;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.solution-topic-strip a:hover {
  border-color: rgba(0, 82, 217, 0.34);
  box-shadow: 0 10px 24px rgba(7, 31, 67, 0.06);
}

.solution-topic-strip span {
  color: var(--cw-blue-600);
  font-size: 12px;
  font-weight: 800;
}

.solution-topic-strip strong {
  color: var(--cw-blue-950);
  font-size: 15px;
  line-height: 1.35;
}

.solution-cta-actions {
  display: grid;
  gap: 10px;
  min-width: 150px;
}

.solution-consult-checklist {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255,255,255,0.74);
}

.solution-consult-checklist strong {
  color: var(--cw-blue-950);
  font-size: 14px;
  line-height: 1.25;
}

.solution-consult-checklist span {
  position: relative;
  display: block;
  padding-left: 16px;
  color: var(--cw-muted);
  font-size: 13px;
  line-height: 1.45;
}

.solution-consult-checklist span::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cw-cyan);
  content: "";
}

.solution-faq-grid {
  align-items: stretch;
}

.solution-faq-item {
  background:
    linear-gradient(135deg, #fff, rgba(234,243,255,0.72)),
    radial-gradient(circle at 96% 10%, rgba(17,199,232,0.1), transparent 28%);
}

.solution-faq-item h3 {
  margin-top: 0;
}

.case-card {
  display: grid;
  min-height: 0;
  grid-template-rows: auto 1fr;
}

.case-image {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid rgba(220, 231, 246, 0.9);
  background-color: #eef5ff;
  background-image:
    linear-gradient(180deg, rgba(6,21,39,0.02), rgba(6,21,39,0.08)),
    var(--image);
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
}

.case-body {
  padding: 18px;
}

.case-body h3 {
  margin-top: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.35;
}

.case-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.case-directory-section {
  padding-top: 42px;
}

.case-directory-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.case-directory-side {
  position: sticky;
  top: 92px;
  z-index: 15;
  overflow: hidden;
  border: 1px solid rgba(0, 82, 217, 0.13);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(6, 27, 60, 0.08);
}

.admin-bar .case-directory-side {
  top: 124px;
}

.case-directory-title {
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(0,82,217,0.95), rgba(19,168,230,0.88)),
    linear-gradient(180deg, var(--cw-blue-800), var(--cw-blue-700));
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.case-category-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background:
    linear-gradient(180deg, rgba(247,251,255,0.94), #fff 42%);
}

.case-category-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--cw-blue-800);
  font-size: 15px;
  font-weight: 800;
}

.case-category-nav a:hover,
.case-category-nav a.active {
  background: linear-gradient(135deg, rgba(0,82,217,0.1), rgba(17,199,232,0.1));
  color: var(--cw-blue-700);
}

.case-category-nav em {
  min-width: 28px;
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(0, 82, 217, 0.08);
  color: var(--cw-blue-700);
  font-style: normal;
  font-size: 12px;
  text-align: center;
}

.case-directory-main .section-head {
  margin-bottom: 20px;
}

.case-category-sections {
  display: grid;
  gap: 28px;
}

.case-category-section {
  scroll-margin-top: 140px;
  padding: 0;
  background: transparent;
}

.case-category-head {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.case-category-head h2 {
  margin: 0;
  color: var(--cw-blue-950);
  font-size: 28px;
  line-height: 1.25;
}

.case-category-head span {
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 7px 10px;
  background: var(--cw-blue-100);
  color: var(--cw-blue-700);
  font-size: 13px;
  font-weight: 800;
}

.case-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-pagination {
  margin-top: 22px;
}

.case-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.news-date {
  display: none;
  min-height: 86px;
  place-items: center;
  border-radius: 8px;
  background: var(--cw-blue-100);
  color: var(--cw-blue-700);
  font-weight: 800;
}

.news-date span {
  display: block;
  text-align: center;
}

.news-date .day {
  font-size: 30px;
  line-height: 1.1;
}

.news-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.home-demo-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%),
    radial-gradient(circle at 16% 10%, rgba(17, 199, 232, 0.18), transparent 34%);
}

.home-demo-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 82, 217, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 82, 217, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  pointer-events: none;
}

.home-demo-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.home-demo-copy {
  display: grid;
  align-content: center;
  border: 1px solid rgba(0, 82, 217, 0.16);
  border-radius: 8px;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 21, 39, 0.96), rgba(0, 82, 217, 0.82)),
    radial-gradient(circle at 88% 12%, rgba(117, 235, 255, 0.24), transparent 34%);
  box-shadow: 0 20px 44px rgba(6, 27, 60, 0.14);
}

.home-demo-copy .section-kicker {
  color: #75ebff;
}

.home-demo-copy .section-title {
  color: #fff;
}

.home-demo-copy .section-desc {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
}

.home-demo-focus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.home-demo-focus span {
  display: flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(117, 235, 255, 0.22);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.08);
  color: #eafcff;
  font-size: 13px;
  font-weight: 800;
}

.home-demo-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.home-demo-steps article {
  display: grid;
  gap: 7px;
  min-height: 126px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.07);
}

.home-demo-steps strong {
  width: fit-content;
  border-radius: 8px;
  padding: 3px 8px;
  background: rgba(117, 235, 255, 0.14);
  color: #75ebff;
  font-size: 13px;
  line-height: 1.35;
}

.home-demo-steps span {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.home-demo-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.62;
}

.home-demo-contact {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  border-radius: 8px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.1);
}

.home-demo-contact span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.home-demo-contact a {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.home-demo-form {
  display: grid;
  align-items: center;
}

.home-demo-form .form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  height: auto;
  padding: 26px;
  border-color: rgba(0, 82, 217, 0.16);
  box-shadow: 0 18px 42px rgba(6, 27, 60, 0.1);
}

.home-demo-form .form-notice,
.home-demo-form .form-hp,
.home-demo-form .form label:nth-last-of-type(1),
.home-demo-form .form .cw-button {
  grid-column: 1 / -1;
}

.home-demo-form .form textarea {
  min-height: 94px;
}

.secondary-overview {
  padding-top: 42px;
  padding-bottom: 26px;
}

.secondary-overview .split {
  align-items: start;
}

.secondary-overview + .section {
  padding-top: 42px;
}

.secondary-highlight {
  border: 1px solid rgba(0, 82, 217, 0.18);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(234,243,255,0.94), rgba(255,255,255,0.98)),
    radial-gradient(circle at 80% 20%, rgba(17,199,232,0.18), transparent 34%);
  box-shadow: var(--cw-shadow);
}

.secondary-highlight h3 {
  margin: 16px 0 8px;
  color: var(--cw-blue-950);
  font-size: 25px;
  line-height: 1.25;
}

.secondary-highlight p {
  margin: 0;
  color: var(--cw-muted);
}

.secondary-process {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.secondary-process span {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  background: #fff;
  color: var(--cw-blue-800);
  font-size: 13px;
  font-weight: 800;
}

.secondary-item-grid {
  align-items: stretch;
}

.secondary-item-card {
  min-height: 0;
}

.secondary-index {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--cw-blue-950);
  color: #75ebff;
  font-size: 13px;
  font-weight: 900;
}

.secondary-item-card h3 {
  margin-top: 18px;
}

.image-panel {
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0,82,217,0.22), rgba(17,199,232,0.08)),
    url("assets/official/static/upload/image/20240311/1710145356929494.jpg") center/cover;
  box-shadow: var(--cw-shadow);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 36px;
  align-items: start;
}

.page-hero + .about-intro-section {
  padding-top: 42px;
}

.about-copy p:not(.section-kicker) {
  margin: 0 0 14px;
  color: var(--cw-muted);
  line-height: 1.85;
}

.about-copy .section-title {
  margin-bottom: 18px;
}

.about-visual {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  padding: 0;
  background: #eef5ff;
  box-shadow: var(--cw-shadow);
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  object-fit: cover;
}

.about-visual-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(6,21,39,0.96), rgba(0,82,217,0.84));
  color: #fff;
  box-shadow: 0 18px 40px rgba(7, 31, 67, 0.18);
}

.about-visual-card strong {
  font-size: 15px;
  line-height: 1.35;
}

.about-visual-card span {
  color: rgba(117,235,255,0.86);
  font-size: 12px;
  font-weight: 800;
}

.about-foundation {
  background:
    linear-gradient(180deg, #f6f9fd 0%, #eef5ff 100%),
    radial-gradient(circle at 20% 0, rgba(17,199,232,0.12), transparent 30%);
}

.about-focus-grid {
  align-items: stretch;
}

.about-focus-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 238px;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 10px 24px rgba(7, 31, 67, 0.05);
}

.about-focus-card h3 {
  margin: 0;
  color: var(--cw-blue-950);
  font-size: 21px;
  line-height: 1.3;
}

.about-focus-card p {
  margin: 0;
  color: var(--cw-muted);
  font-size: 14px;
  line-height: 1.78;
}

.about-value-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  background: rgba(0, 82, 217, 0.14);
}

.about-value-band article {
  display: grid;
  gap: 8px;
  min-height: 138px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(6,21,39,0.96), rgba(10,50,112,0.9)),
    linear-gradient(90deg, rgba(117,235,255,0.12), transparent);
  color: #fff;
}

.about-value-band strong {
  color: #75ebff;
  font-size: 24px;
  line-height: 1.2;
}

.about-value-band span {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.72;
}

.about-research {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.about-research p {
  margin: 0;
  border: 1px solid rgba(0, 82, 217, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(135deg, #fff, var(--cw-blue-100));
  color: var(--cw-blue-900);
  line-height: 1.78;
}

.about-stat-card h3 {
  color: var(--cw-blue-700);
  font-size: 30px;
}

.experience-overview {
  padding-bottom: 52px;
  background:
    linear-gradient(180deg, #fff 0%, #f8fbff 64%, #eef5ff 100%),
    radial-gradient(circle at 88% 12%, rgba(17,199,232,0.12), transparent 30%);
}

.experience-card-grid {
  align-items: stretch;
}

.experience-card {
  display: flex;
  min-height: 206px;
  flex-direction: column;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.96)),
    radial-gradient(circle at 100% 0, rgba(17,199,232,0.1), transparent 34%);
  box-shadow: 0 10px 24px rgba(7, 31, 67, 0.05);
}

.experience-card .icon-box {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.experience-card h3 {
  margin: 0 0 10px;
  color: var(--cw-blue-950);
  font-size: 20px;
  line-height: 1.3;
}

.experience-card p {
  margin: 0;
  color: var(--cw-muted);
  font-size: 14px;
  line-height: 1.72;
}

.experience-request {
  padding: 56px 0;
  background:
    linear-gradient(135deg, #061527, #0a3270),
    radial-gradient(circle at 88% 10%, rgba(17,199,232,0.25), transparent 34%);
  color: #fff;
}

.experience-request-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid rgba(117,235,255,0.16);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035)),
    radial-gradient(circle at 36% 0, rgba(17,199,232,0.16), transparent 38%);
  box-shadow: 0 24px 60px rgba(0, 17, 44, 0.24);
}

.experience-request-copy {
  display: grid;
  align-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(6,21,39,0.72), rgba(0,82,217,0.18)),
    radial-gradient(circle at 90% 10%, rgba(17,199,232,0.16), transparent 34%);
}

.experience-request .section-title {
  color: #fff;
}

.experience-request .section-desc {
  color: rgba(255,255,255,0.78);
}

.experience-output-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.experience-output-list span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(117,235,255,0.2);
  border-radius: 8px;
  padding: 0 11px;
  background: rgba(255,255,255,0.08);
  color: #eafcff;
  font-size: 12px;
  font-weight: 800;
}

.experience-demo-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.experience-demo-flow article {
  display: grid;
  gap: 8px;
  min-height: 142px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255,255,255,0.07);
}

.experience-demo-flow span {
  width: fit-content;
  border-radius: 8px;
  padding: 4px 9px;
  background: rgba(117,235,255,0.13);
  color: #75ebff;
  font-size: 13px;
  font-weight: 900;
}

.experience-demo-flow strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.3;
}

.experience-demo-flow p {
  margin: 0;
  color: rgba(255,255,255,0.74);
  font-size: 13px;
  line-height: 1.68;
}

.experience-form-card {
  display: grid;
  border: 1px solid rgba(117,235,255,0.18);
  border-radius: 8px;
  padding: 0;
  background: rgba(255,255,255,0.12);
}

.experience-form-card .form {
  height: 100%;
  border-color: rgba(0, 82, 217, 0.16);
  padding: 26px;
  box-shadow: none;
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  background: #fff;
}

.contact-row strong {
  display: block;
  color: var(--cw-blue-950);
}

.contact-row span {
  color: var(--cw-muted);
}

.legal-card .check-list {
  margin-top: 18px;
}

.report-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.report-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
}

.report-row strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--cw-blue-100);
  color: var(--cw-blue-700);
}

.report-row span {
  color: var(--cw-blue-900);
  font-weight: 700;
}

.friend-link-card h3 {
  font-size: 18px;
}

.page-hero {
  display: grid;
  min-height: 200px;
  align-items: center;
  padding: 28px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6,21,39,0.94), rgba(0,82,217,0.72)),
    url("assets/official/static/upload/image/20240223/1708678165152348.jpg") center/cover;
}

.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.15;
}

.page-hero p {
  max-width: 720px;
  margin: 10px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  line-height: 1.65;
}

.breadcrumb {
  margin-bottom: 8px;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
}

.footer {
  color: rgba(255,255,255,0.78);
  background: var(--cw-blue-950);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.82fr 0.82fr 1fr;
  gap: 28px;
  padding: 30px 0 24px;
}

.footer h2,
.footer h3 {
  margin: 0 0 12px;
  color: #fff;
  line-height: 1.28;
}

.footer p {
  margin: 0;
}

.footer-brand p {
  max-width: 560px;
  line-height: 1.7;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.footer-contact-grid a {
  display: grid;
  grid-template-columns: 21px 1fr;
  gap: 8px;
  align-items: start;
  min-height: 54px;
  margin: 0;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255,255,255,0.05);
}

.footer-contact-grid svg {
  width: 19px;
  height: 19px;
  color: #75ebff;
}

.footer-contact-grid strong {
  color: #fff;
  font-size: 14px;
}

.footer a {
  display: block;
  margin: 7px 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
}

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

.footer-qr {
  width: 96px;
  height: 96px;
  margin: 0 0 10px;
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
}

.footer-links {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: start;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 13px 0;
}

.footer-links strong {
  color: #fff;
}

.footer-links span {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-links a {
  display: inline;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 0;
  color: rgba(255,255,255,0.52);
  font-size: 13px;
}

.form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  background: #fff;
}

.form label {
  display: grid;
  gap: 6px;
  color: var(--cw-blue-950);
  font-size: 14px;
  font-weight: 700;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--cw-ink);
  background: #fff;
}

.form select {
  min-height: 48px;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-notice {
  margin-bottom: 14px;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
}

.form-notice.success {
  border: 1px solid rgba(51, 214, 159, 0.35);
  color: #0b6b4b;
  background: #eafaf4;
}

.form-notice.error {
  border: 1px solid rgba(218, 67, 67, 0.28);
  color: #9d2828;
  background: #fff0f0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.article-main {
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(7, 31, 67, 0.06);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--cw-muted);
  font-size: 14px;
}

.article-content {
  color: #26384f;
  font-size: 17px;
  line-height: 1.9;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--cw-blue-950);
  line-height: 1.35;
}

.article-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 18px auto;
}

.article-content blockquote {
  margin: 24px 0;
  border-left: 4px solid var(--cw-blue-600);
  padding: 10px 18px;
  background: var(--cw-blue-100);
  color: var(--cw-blue-900);
}

.article-content table {
  display: block;
  width: 100%;
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  border-collapse: collapse;
  background: #fff;
}

.article-content th,
.article-content td {
  border-bottom: 1px solid rgba(0, 82, 217, 0.1);
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
  min-width: 160px;
}

.article-content th {
  color: var(--cw-blue-900);
  background: var(--cw-blue-100);
  font-size: 14px;
}

.seo-link-list a {
  color: var(--cw-blue-700);
  font-weight: 800;
}

.seo-faq {
  display: grid;
  gap: 10px;
  margin: 18px 0 8px;
}

.seo-faq details {
  border: 1px solid rgba(0, 82, 217, 0.13);
  border-radius: 8px;
  padding: 12px 14px;
  background: #f8fbff;
}

.seo-faq summary {
  cursor: pointer;
  color: var(--cw-blue-950);
  font-weight: 800;
}

.seo-faq p {
  margin: 10px 0 0;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  border-top: 1px solid var(--cw-line);
  padding-top: 20px;
  color: var(--cw-blue-700);
  font-weight: 700;
}

.article-related {
  margin-top: 30px;
  border-top: 1px solid var(--cw-line);
  padding-top: 24px;
}

.article-related-head {
  margin-bottom: 16px;
}

.article-related-head h2 {
  margin: 0;
  color: var(--cw-blue-950);
  font-size: 24px;
  line-height: 1.25;
}

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

.article-related-list a {
  display: grid;
  gap: 5px;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(234,243,255,0.72)),
    radial-gradient(circle at 96% 8%, rgba(17,199,232,0.12), transparent 30%);
}

.article-related-list a:hover,
.article-topic-card:hover {
  border-color: rgba(0, 82, 217, 0.34);
  box-shadow: 0 14px 30px rgba(7, 31, 67, 0.08);
}

.article-related-list span {
  color: var(--cw-blue-600);
  font-size: 13px;
  font-weight: 800;
}

.article-related-list strong,
.article-topic-card strong {
  color: var(--cw-blue-950);
  font-size: 18px;
  line-height: 1.35;
}

.article-related-list em,
.article-topic-card em {
  color: var(--cw-muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
}

.article-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.article-topic-card {
  display: grid;
  gap: 8px;
  min-height: 176px;
  border: 1px solid rgba(0, 82, 217, 0.16);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(234,243,255,0.95), rgba(255,255,255,0.96)),
    radial-gradient(circle at 82% 12%, rgba(0,82,217,0.13), transparent 34%);
}

.article-topic-card span {
  width: fit-content;
  border-radius: 8px;
  padding: 4px 9px;
  background: #fff;
  color: var(--cw-blue-700);
  font-size: 12px;
  font-weight: 800;
}

.news-topic-grid {
  margin-bottom: 24px;
}

body.page-template-template-topic .topic-overview {
  padding: 56px 0 32px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%),
    radial-gradient(circle at 90% 12%, rgba(84,213,255,0.16), transparent 28%);
}

body.page-template-template-topic .topic-overview .split {
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 0.72fr);
  gap: 54px;
  align-items: center;
}

body.page-template-template-topic .topic-overview .section-title {
  font-size: clamp(34px, 4vw, 52px);
}

body.page-template-template-topic .secondary-highlight {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  align-content: center;
  border-color: rgba(38, 100, 240, 0.16);
  padding: 32px;
  background:
    linear-gradient(135deg, #ffffff, #edf6ff),
    radial-gradient(circle at 94% 8%, rgba(84,213,255,0.16), transparent 34%);
}

body.page-template-template-topic .secondary-highlight::after {
  position: absolute;
  right: -22px;
  bottom: -34px;
  color: rgba(38, 100, 240, 0.07);
  font-size: 110px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  content: "TOPIC";
}

body.page-template-template-topic .secondary-highlight h3,
body.page-template-template-topic .secondary-highlight p,
body.page-template-template-topic .secondary-highlight .secondary-process,
body.page-template-template-topic .secondary-highlight .icon-box {
  position: relative;
  z-index: 2;
}

.business-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.business-related-grid .solution-card {
  min-height: 238px;
}

.business-related-grid .product-visual {
  aspect-ratio: 460 / 320;
}

.business-related-grid .product-content,
.business-related-grid .case-body {
  padding: 16px;
}

.business-related-grid .card h3 {
  font-size: 18px;
}

.article-side {
  display: grid;
  gap: 18px;
}

.article-side ul {
  margin: 0;
  padding-left: 18px;
}

.article-side li {
  margin: 8px 0;
}

.article-side .news-category-card h3 {
  margin-bottom: 14px;
}

.article-side .news-category-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-side .news-category-list li {
  position: relative;
  margin: 0;
  padding: 0 0 0 18px;
  list-style: none;
  color: #52657f;
  font-size: 15px;
  line-height: 1.55;
}

.article-side .news-category-list li::before {
  position: absolute;
  top: 0.78em;
  left: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0b5bd3;
  content: "";
  transform: translateY(-50%);
}

.article-side .news-category-list a {
  color: #0d2240;
  font-weight: 600;
}

.article-side .news-category-list a:hover {
  color: var(--cw-blue-700);
}

.article-side .business-category-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-side .business-category-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-radius: 8px;
  margin: 0;
  padding: 7px 12px 7px 22px;
  list-style: none;
  color: var(--cw-muted);
  font-size: 13px;
  line-height: 1.4;
  background: rgba(234, 243, 255, 0.58);
}

.business-category-list a {
  flex: 1;
  color: #213249;
  font-size: 15px;
  font-weight: 700;
}

.article-side .business-category-list li::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cw-blue-600);
  content: "";
  transform: translateY(-50%);
}

.article-side .business-category-list li:hover {
  color: var(--cw-blue-700);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 82, 217, 0.18);
}

.article-side .business-category-list li:hover a {
  color: var(--cw-blue-700);
}

.side-topic-card {
  background:
    linear-gradient(135deg, rgba(234,243,255,0.96), #fff),
    radial-gradient(circle at 82% 12%, rgba(17,199,232,0.16), transparent 34%);
}

.side-topic-card .cw-button {
  margin-top: 16px;
  width: 100%;
}

.business-detail {
  overflow: hidden;
}

.business-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 16 / 8.2;
  margin: 0 0 20px;
  border-radius: 8px;
  border: 1px solid rgba(0, 82, 217, 0.1);
  background: #f2f7ff;
}

.business-cover img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.business-cover.is-product-cover {
  aspect-ratio: 460 / 320;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.business-cover.is-product-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.business-cover.is-compact {
  min-height: 0;
  border: 1px solid rgba(0, 82, 217, 0.12);
  background: #f2f7ff;
}

.business-cover.is-compact img {
  width: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  filter: none;
}

.business-cover.is-product-cover.is-compact img {
  width: 100%;
  object-fit: contain;
}

.product-detail-overview {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 82, 217, 0.12);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, #fff, rgba(234,243,255,0.72)),
    radial-gradient(circle at 100% 0, rgba(17,199,232,0.1), transparent 32%);
}

.product-detail-overview .business-cover {
  min-height: 0;
  margin: 0;
}

.product-detail-overview .business-cover.is-product-cover img {
  padding: 0;
}

.product-detail-summary {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
}

.product-detail-summary .article-meta {
  margin: 0;
}

.product-detail-summary h2 {
  margin: 0;
  color: var(--cw-blue-950);
  font-size: 26px;
  line-height: 1.25;
}

.product-detail-summary p {
  margin: 0;
  color: #344761;
  line-height: 1.85;
}

.product-detail-summary .business-tags {
  margin: 2px 0 0;
}

.business-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.business-tags span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(0, 82, 217, 0.18);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--cw-blue-100);
  color: var(--cw-blue-700);
  font-size: 13px;
  font-weight: 700;
}

.product-official-content {
  display: grid;
  gap: 18px;
}

.product-official-content h2 {
  margin: 28px 0 2px;
  border-left: 4px solid var(--cw-blue-600);
  padding-left: 12px;
  color: var(--cw-blue-950);
  font-size: 24px;
  line-height: 1.28;
}

.product-official-content h3 {
  margin: 14px 0 6px;
  color: var(--cw-blue-900);
  font-size: 18px;
}

.product-official-content section {
  min-width: 0;
}

.product-official-content p {
  color: #344761;
  line-height: 1.9;
}

.product-official-content > section:has(> img),
.product-official-content section:has(> img + img) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-official-content img {
  width: 100%;
  aspect-ratio: 460 / 320;
  height: auto;
  border: 1px solid rgba(0, 82, 217, 0.12);
  border-radius: 8px;
  padding: 0;
  background: #f2f7ff;
  object-fit: contain;
  object-position: center;
}

.product-official-content section > img:only-child {
  grid-column: 1 / -1;
}

.product-official-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  border: 1px solid rgba(0, 82, 217, 0.14);
  border-radius: 8px;
  background: #fff;
}

.product-official-content tbody {
  display: table;
  width: 100%;
  border-collapse: collapse;
}

.product-official-content th,
.product-official-content td {
  border: 1px solid rgba(0, 82, 217, 0.12);
  padding: 10px 12px;
  color: #2f4056;
  font-size: 14px;
  line-height: 1.55;
  vertical-align: middle;
}

.product-official-content th,
.product-official-content tr:first-child td {
  background: #eef5ff;
  color: var(--cw-blue-900);
  font-weight: 700;
}

.business-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.business-process div {
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(135deg, #fff, var(--cw-blue-100));
}

.business-process span {
  display: block;
  color: var(--cw-blue-700);
  font-size: 14px;
  font-weight: 800;
}

.business-process p {
  margin: 8px 0 0;
  color: var(--cw-muted);
  font-size: 14px;
  line-height: 1.7;
}

.business-cta {
  background:
    linear-gradient(135deg, rgba(6,21,39,0.96), rgba(0,82,217,0.86)),
    url("assets/official/static/upload/image/20240223/1708672079156350.jpg") center/cover;
  color: #fff;
}

.business-cta h3 {
  color: #fff;
  text-shadow: 0 1px 2px rgba(7, 31, 67, 0.28);
}

.business-cta p {
  color: rgba(255,255,255,0.78);
}

.business-cta .business-cta-kicker {
  margin: 0 0 8px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.related-business {
  display: grid;
  gap: 14px;
}

.related-business a {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--cw-line);
  padding-top: 14px;
}

.related-business a:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.related-business strong {
  color: var(--cw-blue-950);
  line-height: 1.35;
}

.related-business span {
  color: var(--cw-muted);
  font-size: 13px;
  line-height: 1.55;
}

.search-form-wide {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 24px;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.search-form-wide input {
  min-height: 44px;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  padding: 0 14px;
}

.search-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
}

.search-summary strong {
  color: var(--cw-blue-700);
}

.search-summary span {
  color: var(--cw-muted);
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

.pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  list-style: none;
}

.pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
  list-style: none;
}

a.page-numbers,
span.page-numbers {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cw-line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--cw-blue-700);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.page-numbers.current {
  border-color: var(--cw-blue-600);
  background: var(--cw-blue-600);
  color: #fff;
}

.page-numbers.dots {
  min-width: 22px;
  border-color: transparent;
  padding: 0 2px;
  background: transparent;
  color: var(--cw-blue-700);
}

.float-actions {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  gap: 8px;
}

.float-actions a {
  display: grid;
  width: 58px;
  min-height: 58px;
  place-items: center;
  border: 1px solid rgba(220, 231, 246, 0.95);
  border-radius: 8px;
  background: rgba(255,255,255,0.96);
  color: var(--cw-blue-700);
  box-shadow: 0 12px 28px rgba(7, 31, 67, 0.12);
  font-size: 12px;
  font-weight: 700;
}

.float-actions svg {
  width: 20px;
  height: 20px;
}

.float-actions a:hover {
  background: var(--cw-blue-600);
  color: #fff;
}

@media (max-width: 1540px) {
  .header-inner {
    width: min(100% - 32px, 1440px);
    gap: 12px;
  }

  .brand {
    min-width: 270px;
  }

  .brand-logo {
    width: 270px;
    height: 39px;
  }

  .main-nav > .nav-item > .nav-link {
    padding: 0 7px;
    font-size: 18px;
  }

  .header-phone {
    min-height: 44px;
    justify-content: center;
    padding: 0 4px;
  }

}

@media (max-width: 1180px) {
  .home-demo-panel {
    grid-template-columns: 1fr;
  }

  .home-demo-copy {
    align-content: start;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 18px 24px 24px;
    border-radius: 0;
    border-top: 1px solid rgba(0, 82, 217, 0.1);
    border-bottom: 1px solid rgba(0, 82, 217, 0.14);
    background:
      linear-gradient(180deg, rgba(255,255,255,0.99), rgba(246,250,255,0.98)),
      radial-gradient(circle at 18% 0, rgba(17,199,232,0.15), transparent 34%);
    box-shadow: 0 22px 42px rgba(6, 27, 60, 0.14);
  }

  body.menu-open .main-nav {
    display: flex;
  }

  .main-nav > .nav-item > .nav-link {
    justify-content: center;
    min-height: 48px;
    border: 1px solid rgba(0, 82, 217, 0.09);
    background: rgba(255, 255, 255, 0.82);
  }

  .nav-item {
    display: grid;
    align-items: stretch;
  }

  .main-nav > .nav-item > .nav-link::after {
    bottom: 0;
  }

  .nav-dropdown {
    position: static;
    display: none;
    width: auto;
    min-width: 0;
    grid-template-columns: 1fr;
    margin: 0 0 10px;
    padding: 12px;
    border: 1px solid rgba(0, 82, 217, 0.1);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: rgba(234, 243, 255, 0.74);
  }

  .nav-dropdown::before,
  .nav-dropdown-head {
    display: none;
  }

  .nav-dropdown-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-item.active .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    display: grid;
  }

  .nav-item:hover .nav-dropdown {
    transform: none;
  }

  .nav-dropdown a {
    justify-content: center;
    min-height: 42px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.74);
    text-align: center;
  }

  .nav-dropdown a::before {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .search-panel-form {
    grid-template-columns: 1fr auto;
  }

  .search-panel-form .icon-button {
    grid-column: 2;
  }

  .grid.cols-4,
  .grid.cols-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-layout,
  .article-layout,
  .case-directory-layout,
  .split,
  .solution-cta-band {
    grid-template-columns: 1fr;
  }

  .case-directory-side {
    position: static;
  }

  .case-directory-title {
    display: none;
  }

  .case-category-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
  }

  .case-category-nav a {
    min-height: 36px;
    border: 1px solid rgba(0, 82, 217, 0.12);
    background: #fff;
  }

  .case-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

}

@media (max-width: 760px) {
  html,
  body,
  #main,
  .site-header,
  .page-hero,
  .section,
  .footer {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .header-inner,
  .cw-container,
  .hero-content {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .header-inner {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    min-height: 66px;
    gap: 8px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: auto;
    gap: 8px;
  }

  .brand-logo {
    width: clamp(184px, 58vw, 270px);
    height: auto;
    max-height: 39px;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 16px;
    white-space: nowrap;
  }

  .brand-text span {
    display: none;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 8px;
  }

  .header-phone,
  .header-actions .icon-button {
    display: none;
  }

  .icon-button,
  .menu-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .main-nav {
    inset: 66px 0 auto;
    max-height: calc(100vh - 66px);
    padding: 14px;
  }

  .home-demo-copy {
    padding: 22px;
  }

  .home-demo-focus,
  .home-demo-steps,
  .home-demo-form .form {
    grid-template-columns: 1fr;
  }

  .home-demo-contact {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

  .hero-video {
    display: none;
  }

  .hero::after {
    display: none;
  }

  .hero-content {
    padding: 78px 0 56px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.16;
    line-break: anywhere;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-title-line {
    display: inline;
  }

  .hero .lead,
  .page-hero p {
    max-width: 100%;
    font-size: 16px;
    line-break: anywhere;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .solution-index {
    position: static;
  }

  .solution-index-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0;
    overflow: hidden;
  }

  .solution-anchor-strip {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .solution-anchor-strip a {
    justify-content: center;
    min-width: 0;
    min-height: 36px;
    padding: 0 6px;
    font-size: 12px;
    text-align: center;
  }

  .solution-index-metrics {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-index-metric {
    min-width: 0;
    border-left: 0;
    border-radius: 8px;
    padding: 10px;
    background: var(--cw-blue-100);
  }

  .solution-index-metric:nth-child(3) {
    grid-column: 1 / -1;
  }

  .solution-index-metric strong {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .solution-index-metric span {
    overflow-wrap: anywhere;
  }

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

  .product-track-panel {
    margin: 22px 0 26px;
    padding: 12px;
  }

  .product-track-head,
  .product-track-item {
    padding: 16px;
  }

  .product-track-head h2 {
    font-size: 22px;
  }

  .product-track-item {
    min-height: 0;
  }

  .product-list-head {
    display: block;
    margin-bottom: 18px;
  }

  .product-list-head .cw-button {
    width: 100%;
    margin-top: 14px;
  }

  .product-platform-section {
    margin: 26px 0 28px;
  }

  .product-platform-head {
    display: grid;
    gap: 16px;
  }

  .product-platform-head .cw-button {
    width: 100%;
  }

  .product-platform-grid .platform-card {
    padding: 18px;
  }

  .product-platform-grid .platform-card-visual {
    aspect-ratio: 460 / 320;
    margin: -18px -18px 4px;
    padding: 16px;
  }

  .product-combo-panel {
    margin-top: 24px;
    padding: 16px;
  }

  .product-combo-head,
  .product-combo-grid,
  .product-path {
    grid-template-columns: 1fr;
  }

  .product-combo-head {
    display: grid;
    gap: 16px;
  }

  .product-combo-head .cw-button {
    width: 100%;
  }

  .product-combo-card,
  .product-path article {
    min-height: 0;
  }

  .product-combo-card {
    padding: 18px;
  }

  #solution-catalog,
  #solution-matrix,
  #solution-framework,
  #solution-deliverables,
  #solution-foundation,
  #solution-fit,
  #solution-cases,
  #solution-faq {
    scroll-margin-top: 84px;
  }

  .solution-catalog .section-title {
    font-size: 26px;
    line-break: anywhere;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .solution-catalog-grid .solution-card:nth-last-child(1):nth-child(3n + 1) {
    grid-column: auto;
    padding: 24px;
    background:
      linear-gradient(180deg, rgba(6,21,39,0.04) 0%, rgba(6,21,39,0.16) 46%, rgba(6,21,39,0.9) 100%),
      var(--image) center/cover no-repeat,
      linear-gradient(135deg, #071f43, #0f66d8);
  }

  .solution-selection-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .solution-selection-title {
    padding: 18px;
  }

  .solution-selection-title strong {
    font-size: 21px;
  }

  .solution-selection-grid {
    grid-template-columns: 1fr;
  }

  .solution-selection-item {
    min-height: 0;
    padding: 16px;
  }

  .solution-deliverables-panel,
  .solution-deliverables-grid {
    grid-template-columns: 1fr;
  }

  .solution-deliverables-head,
  .solution-deliverable-item {
    padding: 18px;
  }

  .solution-deliverable-item {
    min-height: 0;
  }

  .solution-foundation-map {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
  }

  .solution-foundation-item {
    min-height: 0;
    padding: 18px;
  }

  .solution-foundation-products .platform-card {
    padding: 18px;
  }

  .solution-foundation-products .platform-card-visual {
    aspect-ratio: 460 / 320;
    margin: -18px -18px 4px;
    padding: 16px;
  }

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

  .solution-value-band {
    padding: 18px;
  }

  .solution-value-item {
    min-height: 0;
    padding: 16px;
  }

  .solution-fit-band,
  .solution-fit-grid {
    grid-template-columns: 1fr;
  }

  .solution-fit-band {
    padding: 14px;
  }

  .solution-fit-head,
  .solution-fit-item {
    padding: 16px;
  }

  .solution-fit-head .section-title {
    font-size: 22px;
  }

  .solution-fit-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title,
  .section-desc,
  .page-hero h1,
  .page-hero p,
  .experience-card h3,
  .experience-card p,
  .about-copy p,
  .about-focus-card p,
  .card,
  .experience-card,
  .experience-request-copy,
  .experience-form-card,
  .form {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .section-title,
  .section-desc,
  .about-copy p,
  .about-focus-card h3,
  .about-focus-card p,
  .experience-card h3,
  .experience-card p,
  .experience-request-copy p,
  .experience-demo-flow p {
    max-width: 100%;
    line-break: anywhere;
    overflow-wrap: anywhere;
  }

  .section-head {
    display: block;
    margin-bottom: 20px;
  }

  .grid {
    gap: 16px;
  }

  .card.pad {
    padding: 20px;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .grid.cols-5,
  .case-card-grid,
  .about-intro,
  .about-value-band,
  .about-research,
  .experience-request-panel,
  .experience-demo-flow,
  .metric-board,
  .footer-main,
  .footer-contact-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    gap: 24px;
  }

  .about-visual {
    aspect-ratio: 16 / 10;
    min-height: 0;
    padding: 0;
  }

  .about-visual img {
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
  }

  .about-visual-card {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: calc(100% - 24px);
    margin-top: 0;
  }

  .about-focus-card,
  .about-value-band article,
  .experience-card,
  .experience-demo-flow article {
    min-height: 0;
  }

  .about-focus-card,
  .experience-card {
    padding: 18px;
  }

  .about-research {
    margin-bottom: 18px;
  }

  .experience-request-panel {
    gap: 16px;
    padding: 10px;
  }

  .experience-request-copy {
    padding: 20px;
  }

  .experience-form-card {
    padding: 8px;
  }

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

  .news-item {
    grid-template-columns: 1fr;
  }

  .search-panel-form {
    grid-template-columns: 1fr;
  }

  .search-panel-form .cw-button,
  .search-panel-form .icon-button {
    width: 100%;
  }

  .news-date {
    min-height: 58px;
    justify-items: start;
    padding: 0 16px;
  }

  .platform-panel {
    min-height: 360px;
    padding: 24px;
  }

  .page-hero {
    min-height: 200px;
    padding: 26px 0;
  }

  .page-hero + .section {
    padding-top: 30px;
  }

  .article-main {
    padding: 18px;
  }

  .article-topic-grid {
    grid-template-columns: 1fr;
  }

  .business-related-grid {
    grid-template-columns: 1fr;
  }

  .article-topic-card {
    min-height: 0;
  }

  .product-visual {
    aspect-ratio: 460 / 320;
  }

  .solution-card {
    min-height: 220px;
  }

  .solution-step-card {
    min-height: 0;
  }

  .solution-cta-band {
    padding: 22px;
  }

  .solution-cta-actions {
    width: 100%;
  }

  .product-official-content > section:has(> img),
  .product-official-content section:has(> img + img) {
    grid-template-columns: 1fr;
  }

  .product-detail-overview {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }

  .business-cover {
    aspect-ratio: 16 / 9;
  }

  .secondary-overview {
    padding-top: 34px;
    padding-bottom: 18px;
  }

  .secondary-overview + .section {
    padding-top: 34px;
  }

  .secondary-highlight {
    padding: 20px;
  }

  .article-nav,
  .search-form-wide,
  .business-process {
    grid-template-columns: 1fr;
  }

.float-actions {
    display: none;
  }
}

/*
 * Kangwosi visual layer.
 * Bright ceramic-white, indigo, azure, and coral palette with a distinct homepage layout.
 */
:root {
  --cw-blue-950: #10245c;
  --cw-blue-900: #18377d;
  --cw-blue-800: #2450ad;
  --cw-blue-700: #2563eb;
  --cw-blue-600: #2f7df6;
  --cw-blue-500: #35a7ff;
  --cw-blue-100: #eaf5ff;
  --cw-cyan: #4fd1ff;
  --cw-accent: #ff744f;
  --cw-ink: #14213d;
  --cw-muted: #63718a;
  --cw-line: #dce8f7;
  --cw-bg: #f7fbff;
  --cw-card: #ffffff;
  --cw-shadow: 0 20px 50px rgba(20, 77, 146, 0.12);
}

body {
  background:
    linear-gradient(180deg, #f7fbff 0, #ffffff 42%, #eef8ff 100%);
}

.site-header {
  border-bottom-color: rgba(47, 125, 246, 0.16);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(20, 77, 146, 0.08);
}

.site-header::before {
  background: linear-gradient(90deg, #2f7df6, #4fd1ff, #ff744f);
}

.brand {
  min-width: 240px;
}

.brand-wordmark {
  align-items: center;
}

.brand-wordmark .brand-logo {
  width: 238px;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, #2f7df6, #10245c),
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.28), transparent 40%);
  box-shadow: 0 12px 24px rgba(47, 125, 246, 0.22);
  font-size: 15px;
  font-weight: 900;
}

.brand-wordmark .brand-text strong {
  color: #10245c;
  font-size: 19px;
}

.brand-wordmark .brand-text span {
  color: #6a7d96;
  font-size: 11px;
  font-weight: 800;
}

.main-nav > .nav-item > .nav-link {
  color: #233c72;
  font-size: 17px;
}

.nav-item.active > .nav-link,
.main-nav > .nav-item > .nav-link.active {
  background: linear-gradient(135deg, #2f7df6, #10245c);
  box-shadow: 0 8px 18px rgba(47, 125, 246, 0.2);
}

.hero {
  min-height: auto;
  color: #10245c;
  background:
    radial-gradient(circle at 78% 20%, rgba(79, 209, 255, 0.22), transparent 28%),
    radial-gradient(circle at 76% 78%, rgba(255, 116, 79, 0.16), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f1f8ff 46%, #dcebff 100%);
}

.hero-video {
  display: none;
}

.hero::before {
  background-image:
    linear-gradient(rgba(37,99,235,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.62), rgba(0,0,0,0.18));
}

.hero::after {
  display: none;
}

.hero-content {
  padding: 96px 0 72px;
}

.kw-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
  gap: 48px;
  align-items: center;
}

.kw-hero-copy {
  min-width: 0;
}

.kw-hero-copy h1 {
  max-width: 780px;
}

.kw-hero-copy .lead {
  max-width: 660px;
}

.eyebrow {
  border-color: rgba(47, 125, 246, 0.18);
  background: rgba(255,255,255,0.72);
  color: #2563eb;
}

.cw-button,
.wp-block-button__link {
  background: #2f7df6;
}

.cw-button:hover {
  background: #2563eb;
  box-shadow: 0 12px 26px rgba(47, 125, 246, 0.24);
}

.cw-button.light {
  color: #2563eb;
}

.card {
  border-color: rgba(47, 125, 246, 0.12);
  box-shadow: 0 10px 26px rgba(20, 77, 146, 0.06);
}

.card:hover {
  border-color: rgba(47, 125, 246, 0.28);
}

.icon-box,
.tag,
.business-tags span,
.product-track-tags em {
  background: #eaf5ff;
  color: #2563eb;
}

.section.dark,
.business-cta {
  background:
    radial-gradient(circle at 18% 20%, rgba(79, 209, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #10245c, #18377d 54%, #2f7df6);
}

.product-visual,
.product-platform-grid .platform-card-visual.has-image,
.business-cover.is-product-cover {
  background:
    linear-gradient(180deg, #ffffff 0%, #eaf5ff 100%);
}

.device {
  border-color: rgba(47, 125, 246, 0.22);
  background:
    linear-gradient(135deg, #fff, #eaf5ff);
  box-shadow: 0 18px 32px rgba(47, 125, 246, 0.14);
}

.device::before,
.device::after {
  background: #2f7df6;
}

.case-image.is-abstract,
.solution-card.is-abstract {
  background:
    radial-gradient(circle at 20% 18%, rgba(79, 209, 255, 0.34), transparent 28%),
    radial-gradient(circle at 78% 76%, rgba(255, 116, 79, 0.28), transparent 26%),
    linear-gradient(135deg, #18377d, #2f7df6);
}

.solution-card.is-abstract::before,
.case-image.is-abstract::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.12), transparent),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(255,255,255,0.08) 19px 20px);
  content: "";
}

.footer {
  background:
    radial-gradient(circle at 18% 0, rgba(79, 209, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #10245c, #18377d);
}

.footer-bottom {
  border-top-color: rgba(255,255,255,0.09);
}

.kw-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,251,255,0.92));
  box-shadow: 0 28px 70px rgba(47,125,246,0.16);
  backdrop-filter: blur(18px);
}

.kw-console-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(47,125,246,0.14);
}

.kw-console-head span {
  color: #6a7d96;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.kw-console-head strong {
  color: #10245c;
  font-size: 20px;
}

.kw-console-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: center;
  padding: 28px 0;
}

.kw-console-core {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(47,125,246,0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 116, 79, 0.32), transparent 36%),
    linear-gradient(135deg, rgba(47,125,246,0.92), rgba(16,36,92,0.96));
}

.kw-console-core span {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.kw-console-core small {
  color: rgba(255,255,255,0.7);
  font-weight: 800;
}

.kw-console-lines {
  display: grid;
  gap: 13px;
}

.kw-console-lines span {
  position: relative;
  display: grid;
  min-height: 34px;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  padding: 0 12px;
  color: #10245c;
  background: rgba(47,125,246,0.08);
  font-size: 13px;
  font-weight: 800;
}

.kw-console-lines span::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: linear-gradient(90deg, rgba(47,125,246,0.28), rgba(79,209,255,0.18));
  content: "";
}

.kw-console-lines span {
  isolation: isolate;
}

.kw-console-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kw-console-metrics div {
  border: 1px solid rgba(47,125,246,0.14);
  border-radius: 8px;
  padding: 14px;
  background: #f5faff;
}

.kw-console-metrics strong {
  display: block;
  color: #10245c;
  font-size: 26px;
  line-height: 1.1;
}

.kw-console-metrics span {
  display: block;
  margin-top: 4px;
  color: #6a7d96;
  font-size: 12px;
}

.kw-capability-strip {
  position: relative;
  z-index: 4;
  margin-top: -34px;
  padding-bottom: 34px;
}

.kw-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.kw-capability-item {
  display: grid;
  min-height: 186px;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(47, 125, 246, 0.12);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 16px 36px rgba(20,77,146,0.08);
}

.kw-capability-item strong {
  color: #10245c;
  font-size: 19px;
}

.kw-capability-item p {
  margin: 0;
  color: var(--cw-muted);
}

.kw-split-layout,
.kw-proof-layout,
.kw-news-demo-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.kw-section-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  border-left: 4px solid #ff744f;
  padding: 8px 0 8px 22px;
}

.kw-product-mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.kw-product-mosaic > .card {
  grid-column: span 3;
}

.kw-product-mosaic > .card:nth-child(3n + 1) {
  grid-column: span 2;
}

.kw-product-mosaic > .card:nth-child(3n + 2) {
  grid-column: span 4;
}

.compact-head {
  margin-bottom: 22px;
}

.kw-platform-section {
  background:
    linear-gradient(180deg, rgba(234,245,255,0.82), rgba(255,255,255,0));
}

.kw-board-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.kw-board-head p:last-child {
  margin: 0;
  color: var(--cw-muted);
}

.kw-solution-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.kw-solution-board .solution-card:nth-child(2),
.kw-solution-board .solution-card:nth-child(5) {
  transform: translateY(24px);
}

.kw-proof-section {
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,116,79,0.2), transparent 24%),
    linear-gradient(135deg, #10245c, #18377d 56%, #2f7df6);
}

.kw-proof-section .section-title,
.kw-proof-section .section-desc,
.kw-proof-section .section-kicker {
  color: #fff;
}

.kw-proof-steps {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.kw-proof-steps span {
  display: flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.86);
  font-weight: 800;
}

.kw-case-panel {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,0.08);
}

.kw-case-panel .card {
  background: #fff;
}

.kw-case-list {
  display: grid;
  gap: 14px;
}

.kw-case-list .case-card {
  display: grid;
  grid-template-columns: 168px 1fr;
}

.kw-case-list .case-image {
  min-height: 100%;
}

.kw-news-demo-layout {
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
}

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

.kw-demo-card {
  border: 1px solid rgba(47, 125, 246, 0.14);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(180deg, #fff, #f4faff);
  box-shadow: 0 16px 36px rgba(20,77,146,0.08);
}

.kw-demo-card h2 {
  margin: 0 0 10px;
  color: #10245c;
  font-size: 28px;
}

.kw-demo-card p {
  color: var(--cw-muted);
}

@media (max-width: 760px) {
  .hero::after {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .brand-wordmark .brand-text strong {
    font-size: 17px;
  }

  .kw-hero-grid,
  .kw-split-layout,
  .kw-proof-layout,
  .kw-news-demo-layout,
  .kw-board-head {
    grid-template-columns: 1fr;
  }

  .kw-console-body,
  .kw-case-list .case-card {
    grid-template-columns: 1fr;
  }

  .kw-capability-grid,
  .kw-solution-board {
    grid-template-columns: 1fr;
  }

  .kw-product-mosaic {
    grid-template-columns: 1fr;
  }

  .kw-product-mosaic > .card,
  .kw-product-mosaic > .card:nth-child(3n + 1),
  .kw-product-mosaic > .card:nth-child(3n + 2) {
    grid-column: auto;
  }

  .kw-section-aside {
    position: static;
  }

  .kw-solution-board .solution-card:nth-child(2),
  .kw-solution-board .solution-card:nth-child(5) {
    transform: none;
  }
}

/*
 * Kangwosi homepage v2.
 * Brighter indigo / azure / coral direction with larger layout changes from wordpress2.
 */
:root {
  --cw-blue-950: #17206f;
  --cw-blue-900: #1d2d90;
  --cw-blue-800: #2546c7;
  --cw-blue-700: #2864f0;
  --cw-blue-600: #168cff;
  --cw-blue-500: #42c7ff;
  --cw-blue-100: #eef7ff;
  --cw-cyan: #54d5ff;
  --cw-accent: #ff6b4a;
  --cw-ink: #1c2b58;
  --cw-muted: #68769c;
  --cw-line: #dae8ff;
  --cw-bg: #f8fbff;
  --cw-card: #ffffff;
  --cw-shadow: 0 22px 58px rgba(38, 100, 240, 0.14);
}

body {
  color: var(--cw-ink);
  background:
    linear-gradient(180deg, #ffffff 0, #f8fbff 38%, #eef7ff 100%);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-header {
  border-bottom-color: rgba(40, 100, 240, 0.14);
  background: rgba(255,255,255,0.97);
  box-shadow: 0 10px 28px rgba(38, 100, 240, 0.08);
}

.site-header::before {
  background: linear-gradient(90deg, #168cff, #54d5ff, #ff6b4a);
}

.brand-mark {
  background:
    radial-gradient(circle at 72% 22%, rgba(255,255,255,0.32), transparent 30%),
    linear-gradient(135deg, #168cff, #2546c7 58%, #ff6b4a);
}

.brand-wordmark .brand-text strong,
.section-title,
.card h3,
.feature h3 {
  color: var(--cw-blue-950);
}

.main-nav > .nav-item > .nav-link {
  color: #243978;
}

.main-nav > .nav-item > .nav-link.active,
.nav-item.active > .nav-link {
  background: linear-gradient(135deg, #168cff, #2546c7);
}

.cw-button,
.wp-block-button__link {
  background: #168cff;
  box-shadow: 0 12px 24px rgba(22, 140, 255, 0.18);
}

.cw-button:hover {
  background: #2864f0;
  box-shadow: 0 16px 30px rgba(40, 100, 240, 0.24);
}

.cw-button.secondary,
.cw-button.light {
  border-color: rgba(40, 100, 240, 0.18);
  color: #2546c7;
  background: #fff;
  box-shadow: none;
}

.section-kicker {
  color: #2864f0;
}

.card {
  border-color: rgba(40, 100, 240, 0.12);
  box-shadow: 0 10px 28px rgba(38, 100, 240, 0.06);
}

.card:hover {
  border-color: rgba(40, 100, 240, 0.3);
  box-shadow: var(--cw-shadow);
}

.icon-box,
.tag,
.business-tags span,
.product-track-tags em {
  color: #2546c7;
  background: #eef7ff;
}

.kw-hero-v2 {
  min-height: auto;
  color: var(--cw-blue-950);
  background:
    radial-gradient(circle at 14% 18%, rgba(84, 213, 255, 0.24), transparent 24%),
    radial-gradient(circle at 88% 24%, rgba(255, 107, 74, 0.18), transparent 22%),
    linear-gradient(135deg, #ffffff 0%, #f6fbff 50%, #eaf5ff 100%);
}

.kw-hero-v2::before {
  background-image:
    linear-gradient(rgba(40, 100, 240, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 100, 240, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.68), rgba(0,0,0,0.18));
}

.kw-hero-v2::after,
.kw-hero-v2 .hero-video {
  display: none;
}

.kw-hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  grid-template-areas:
    "copy stage"
    "rail rail";
  gap: 34px 58px;
  align-items: center;
  padding: 104px 0 62px;
}

.kw-hero-copy {
  grid-area: copy;
  min-width: 0;
}

.kw-hero-copy h1 {
  max-width: 740px;
  color: var(--cw-blue-950);
  font-size: clamp(40px, 5.2vw, 72px);
}

.kw-hero-copy .lead {
  max-width: 680px;
  color: #415283;
}

.kw-hero-copy .eyebrow {
  border-color: rgba(40, 100, 240, 0.14);
  color: #2546c7;
  background: rgba(255,255,255,0.86);
}

.kw-hero-copy .eyebrow::before {
  background: #ff6b4a;
  box-shadow: 0 0 16px rgba(255, 107, 74, 0.58);
}

.kw-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.kw-hero-tags span {
  border: 1px solid rgba(40, 100, 240, 0.13);
  border-radius: 8px;
  padding: 9px 12px;
  color: #2546c7;
  background: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 800;
}

.kw-command-stage {
  position: relative;
  grid-area: stage;
  overflow: hidden;
  min-height: 500px;
  border: 1px solid rgba(40, 100, 240, 0.13);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239,247,255,0.9));
  box-shadow: 0 30px 80px rgba(38, 100, 240, 0.14);
}

.kw-command-stage::before {
  position: absolute;
  inset: 72px -80px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 107, 74, 0.16);
  content: "";
}

.kw-stage-topline,
.kw-stage-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.kw-stage-topline {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(40, 100, 240, 0.12);
}

.kw-stage-topline span {
  color: #68769c;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.kw-stage-topline strong {
  color: var(--cw-blue-950);
  font-size: 20px;
}

.kw-stage-canvas {
  position: relative;
  min-height: 338px;
  margin: 18px 0;
}

.kw-stage-canvas::before,
.kw-stage-canvas::after {
  position: absolute;
  inset: 50%;
  width: 72%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(40,100,240,0.22), transparent);
  content: "";
  transform: translate(-50%, -50%) rotate(23deg);
}

.kw-stage-canvas::after {
  transform: translate(-50%, -50%) rotate(-28deg);
}

.kw-stage-node {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 126px;
  min-height: 66px;
  place-items: center;
  border: 1px solid rgba(40, 100, 240, 0.14);
  border-radius: 8px;
  padding: 12px;
  color: #2546c7;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 14px 30px rgba(38, 100, 240, 0.1);
  font-weight: 900;
}

.kw-stage-node small {
  color: rgba(255,255,255,0.78);
  font-size: 12px;
}

.kw-stage-node.is-main {
  left: 50%;
  top: 50%;
  width: 176px;
  min-height: 176px;
  color: #fff;
  background:
    radial-gradient(circle at 66% 24%, rgba(255,255,255,0.22), transparent 28%),
    linear-gradient(135deg, #168cff, #2546c7 62%, #17206f);
  transform: translate(-50%, -50%);
}

.kw-stage-node.is-main span {
  font-size: 34px;
  line-height: 1;
}

.kw-stage-node.is-a {
  left: 4%;
  top: 16%;
}

.kw-stage-node.is-b {
  right: 5%;
  top: 12%;
}

.kw-stage-node.is-c {
  left: 10%;
  bottom: 9%;
}

.kw-stage-node.is-d {
  right: 0;
  bottom: 18%;
}

.kw-stage-ribbon {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(84,213,255,0.34), rgba(255,107,74,0.24));
}

.kw-stage-ribbon.is-one {
  left: 9%;
  top: 48%;
  width: 82%;
  height: 14px;
  transform: rotate(-8deg);
}

.kw-stage-ribbon.is-two {
  left: 18%;
  top: 58%;
  width: 62%;
  height: 10px;
  transform: rotate(16deg);
}

.kw-stage-footer {
  border-top: 1px solid rgba(40, 100, 240, 0.12);
  padding-top: 16px;
}

.kw-stage-footer span {
  flex: 1;
  border-radius: 8px;
  padding: 10px;
  color: #2546c7;
  background: #eef7ff;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.kw-hero-rail {
  grid-area: rail;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid rgba(40, 100, 240, 0.12);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.84);
  box-shadow: 0 18px 46px rgba(38, 100, 240, 0.1);
}

.kw-hero-rail div {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  background: #f6fbff;
}

.kw-hero-rail strong {
  color: #ff6b4a;
  font-size: 30px;
  line-height: 1;
}

.kw-hero-rail span {
  color: #2546c7;
  font-size: 13px;
  font-weight: 900;
}

.kw-capability-flow {
  margin-top: 0;
  padding: 34px 0 28px;
  background: #fff;
}

.kw-flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(40, 100, 240, 0.12);
  padding-bottom: 16px;
}

.kw-flow-head span {
  color: #ff6b4a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.kw-flow-head strong {
  color: var(--cw-blue-950);
  font-size: 22px;
}

.kw-capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(40, 100, 240, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.kw-capability-item {
  min-height: 220px;
  border: 0;
  border-right: 1px solid rgba(40, 100, 240, 0.12);
  border-radius: 0;
  padding: 24px;
  background: #fff;
  box-shadow: none;
}

.kw-capability-item:last-child {
  border-right: 0;
}

.kw-capability-item:nth-child(even) {
  background: #f6fbff;
}

.kw-capability-item:hover {
  background: #eef7ff;
}

.kw-product-lab {
  overflow: hidden;
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 72%);
}

.kw-lab-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.kw-product-frame {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.kw-product-axis {
  display: grid;
  align-content: stretch;
  gap: 12px;
}

.kw-product-axis span {
  display: flex;
  align-items: center;
  border-left: 5px solid #ff6b4a;
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--cw-blue-950);
  background: #fff;
  box-shadow: 0 12px 28px rgba(38, 100, 240, 0.08);
  font-weight: 900;
}

.kw-product-axis span:nth-child(2) {
  border-left-color: #168cff;
}

.kw-product-axis span:nth-child(3) {
  border-left-color: #54d5ff;
}

.kw-product-axis span:nth-child(4) {
  border-left-color: #2546c7;
}

.kw-product-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.kw-product-mosaic > .card {
  grid-column: span 4;
  min-height: 100%;
}

.kw-product-mosaic > .card:nth-child(1) {
  grid-column: span 5;
}

.kw-product-mosaic > .card:nth-child(2) {
  grid-column: span 7;
}

.kw-product-mosaic > .card:nth-child(5) {
  grid-column: span 5;
}

.kw-product-mosaic > .card:nth-child(6) {
  grid-column: span 3;
}

.kw-product-mosaic > .card:nth-child(7) {
  grid-column: span 4;
}

.kw-product-mosaic .product-card {
  display: grid;
  grid-template-columns: minmax(132px, 0.42fr) minmax(0, 0.58fr);
}

.kw-product-mosaic .product-visual {
  min-height: 100%;
  border-right: 1px solid rgba(40, 100, 240, 0.12);
  border-bottom: 0;
  background:
    radial-gradient(circle at 68% 22%, rgba(255,107,74,0.16), transparent 26%),
    linear-gradient(180deg, #fff, #eef7ff);
}

.kw-product-mosaic .product-content {
  padding: 20px;
}

.kw-platform-section {
  background: #fff;
}

.kw-platform-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.32fr) minmax(0, 0.68fr);
  gap: 30px;
  align-items: stretch;
}

.kw-platform-intro {
  display: grid;
  align-content: start;
  gap: 18px;
  border: 1px solid rgba(40, 100, 240, 0.12);
  border-radius: 8px;
  padding: 26px;
  background:
    linear-gradient(180deg, #f6fbff, #fff);
}

.kw-platform-points {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.kw-platform-points span {
  border-radius: 8px;
  padding: 12px 14px;
  color: #2546c7;
  background: #eef7ff;
  font-weight: 900;
}

.kw-platform-workbench {
  min-width: 0;
}

.kw-platform-workbench .platform-layout {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
}

.kw-platform-workbench .platform-list {
  gap: 8px;
}

.kw-platform-workbench .platform-button {
  min-height: 54px;
  border-color: rgba(40, 100, 240, 0.12);
  background: #f8fbff;
}

.kw-platform-workbench .platform-button.active {
  border-color: #168cff;
  background: #168cff;
}

.kw-platform-workbench .platform-panel {
  min-height: 456px;
  background:
    radial-gradient(circle at 82% 20%, rgba(84,213,255,0.28), transparent 28%),
    radial-gradient(circle at 20% 76%, rgba(255,107,74,0.2), transparent 24%),
    linear-gradient(135deg, #2546c7, #17206f);
}

.kw-route-section {
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
}

.kw-route-head {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(320px, 0.42fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}

.kw-route-head p:last-child {
  margin: 0;
  color: var(--cw-muted);
}

.kw-solution-route {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.kw-solution-route .solution-card {
  grid-column: span 4;
  min-height: 254px;
  padding: 24px;
}

.kw-solution-route .solution-card:nth-child(1),
.kw-solution-route .solution-card:nth-child(4) {
  grid-column: span 5;
}

.kw-solution-route .solution-card:nth-child(2),
.kw-solution-route .solution-card:nth-child(5) {
  grid-column: span 3;
  transform: translateY(32px);
}

.kw-solution-route .solution-card:nth-child(3),
.kw-solution-route .solution-card:nth-child(6) {
  grid-column: span 4;
}

.kw-solution-route .solution-card.is-abstract {
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(84,213,255,0.38), transparent 26%),
    radial-gradient(circle at 18% 86%, rgba(255,107,74,0.26), transparent 26%),
    linear-gradient(135deg, #2864f0, #17206f);
}

.kw-solution-route .solution-card.is-abstract h3,
.kw-solution-route .solution-card.is-abstract p {
  color: #fff;
}

.kw-delivery-section {
  background: #fff;
}

.kw-delivery-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(360px, 0.46fr);
  gap: 30px;
  align-items: start;
}

.kw-delivery-copy {
  position: sticky;
  top: 104px;
}

.kw-delivery-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.kw-delivery-map article {
  border: 1px solid rgba(40, 100, 240, 0.12);
  border-radius: 8px;
  padding: 20px;
  background: #f8fbff;
}

.kw-delivery-map span {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 8px;
  padding: 7px 10px;
  color: #fff;
  background: #ff6b4a;
  font-weight: 900;
}

.kw-delivery-map strong {
  display: block;
  color: var(--cw-blue-950);
  font-size: 20px;
}

.kw-delivery-map p {
  margin: 8px 0 0;
  color: var(--cw-muted);
}

.kw-case-panel {
  border: 1px solid rgba(40, 100, 240, 0.12);
  padding: 22px;
  background:
    linear-gradient(180deg, #f6fbff, #fff);
  box-shadow: 0 18px 42px rgba(38, 100, 240, 0.08);
}

.kw-case-panel .section-title,
.kw-case-panel .section-kicker {
  color: var(--cw-blue-950);
}

.kw-case-list .case-card {
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 150px;
}

.case-image.is-abstract,
.solution-card.is-abstract,
.product-visual,
.business-cover.is-product-cover,
.product-platform-grid .platform-card-visual.has-image {
  background:
    radial-gradient(circle at 24% 18%, rgba(84, 213, 255, 0.26), transparent 28%),
    radial-gradient(circle at 78% 78%, rgba(255, 107, 74, 0.18), transparent 26%),
    linear-gradient(135deg, #eef7ff, #ffffff);
}

.kw-insight-action {
  background:
    radial-gradient(circle at 82% 10%, rgba(84, 213, 255, 0.22), transparent 24%),
    linear-gradient(180deg, #eef7ff 0%, #ffffff 100%);
}

.kw-insight-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.34fr) minmax(0, 0.66fr);
  gap: 28px;
  align-items: start;
}

.kw-demo-card {
  border: 1px solid rgba(40, 100, 240, 0.12);
  padding: 26px;
  background:
    linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 20px 46px rgba(38, 100, 240, 0.1);
}

.kw-demo-card h2 {
  color: var(--cw-blue-950);
  font-size: 32px;
}

.kw-demo-card .form {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.kw-news-wrap {
  border: 1px solid rgba(40, 100, 240, 0.12);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.kw-news-list .news-item {
  grid-template-columns: minmax(0, 1fr);
  min-height: 180px;
  padding: 18px;
  overflow: hidden;
}

.kw-news-list .news-item::before {
  display: none;
}

.kw-news-list .news-item > div {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 0;
}

.kw-news-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kw-news-list .news-item h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.42;
}

.kw-news-list .news-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.footer,
.section.dark,
.business-cta {
  background:
    radial-gradient(circle at 18% 0, rgba(84, 213, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #2546c7, #17206f);
}

@media (max-width: 980px) {
  .kw-hero-stage,
  .kw-platform-shell,
  .kw-delivery-grid,
  .kw-insight-grid,
  .kw-route-head,
  .kw-lab-head,
  .kw-product-frame {
    grid-template-columns: 1fr;
  }

  .kw-hero-stage {
    grid-template-areas:
      "copy"
      "stage"
      "rail";
  }

  .kw-command-stage {
    min-height: 430px;
  }

  .kw-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kw-capability-item:nth-child(2n) {
    border-right: 0;
  }

  .kw-product-mosaic > .card,
  .kw-product-mosaic > .card:nth-child(1),
  .kw-product-mosaic > .card:nth-child(2),
  .kw-product-mosaic > .card:nth-child(5),
  .kw-product-mosaic > .card:nth-child(6),
  .kw-product-mosaic > .card:nth-child(7),
  .kw-solution-route .solution-card,
  .kw-solution-route .solution-card:nth-child(1),
  .kw-solution-route .solution-card:nth-child(2),
  .kw-solution-route .solution-card:nth-child(3),
  .kw-solution-route .solution-card:nth-child(4),
  .kw-solution-route .solution-card:nth-child(5),
  .kw-solution-route .solution-card:nth-child(6) {
    grid-column: span 6;
    transform: none;
  }

  .kw-platform-workbench .platform-layout {
    grid-template-columns: 1fr;
  }

  .kw-delivery-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .hero-content,
  .cw-container {
    width: min(100% - 28px, 1200px);
  }

  .kw-hero-stage {
    padding: 72px 0 42px;
  }

  .kw-hero-stage,
  .kw-hero-copy,
  .kw-command-stage,
  .kw-hero-tags,
  .kw-hero-rail,
  .kw-platform-shell,
  .kw-product-frame,
  .kw-insight-grid {
    min-width: 0;
  }

  .kw-hero-copy h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.12;
    word-break: break-all;
    overflow-wrap: break-word;
  }

  .kw-hero-copy .hero-title-line {
    display: block;
  }

  .kw-hero-copy .lead {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.72;
    overflow-wrap: anywhere;
  }

  .kw-hero-tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .kw-hero-tags span {
    text-align: center;
  }

  .kw-command-stage {
    width: 100%;
    min-height: auto;
    padding: 16px;
  }

  .kw-stage-canvas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    min-height: auto;
    overflow: visible;
  }

  .kw-stage-canvas::before,
  .kw-stage-canvas::after,
  .kw-stage-ribbon {
    display: none;
  }

  .kw-stage-node {
    position: relative;
    min-width: 94px;
    min-height: 58px;
    padding: 10px;
    font-size: 12px;
  }

  .kw-stage-node.is-main,
  .kw-stage-node.is-a,
  .kw-stage-node.is-b,
  .kw-stage-node.is-c,
  .kw-stage-node.is-d {
    inset: auto;
  }

  .kw-stage-node.is-main {
    grid-column: 1 / -1;
    width: auto;
    min-height: 118px;
    transform: none;
  }

  .kw-stage-node.is-main span {
    font-size: 25px;
  }

  .kw-hero-rail,
  .kw-capability-grid,
  .kw-delivery-map {
    grid-template-columns: 1fr;
  }

  .kw-flow-head,
  .kw-stage-topline,
  .kw-stage-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .kw-capability-item {
    border-right: 0;
    border-bottom: 1px solid rgba(40, 100, 240, 0.12);
  }

  .kw-capability-item:last-child {
    border-bottom: 0;
  }

  .kw-product-axis {
    grid-template-columns: 1fr 1fr;
  }

  .kw-product-axis span {
    min-height: 58px;
    padding: 12px;
    font-size: 14px;
  }

  .kw-product-mosaic,
  .kw-solution-route {
    grid-template-columns: 1fr;
  }

  .kw-product-mosaic > .card,
  .kw-product-mosaic > .card:nth-child(1),
  .kw-product-mosaic > .card:nth-child(2),
  .kw-product-mosaic > .card:nth-child(5),
  .kw-product-mosaic > .card:nth-child(6),
  .kw-product-mosaic > .card:nth-child(7),
  .kw-solution-route .solution-card,
  .kw-solution-route .solution-card:nth-child(1),
  .kw-solution-route .solution-card:nth-child(2),
  .kw-solution-route .solution-card:nth-child(3),
  .kw-solution-route .solution-card:nth-child(4),
  .kw-solution-route .solution-card:nth-child(5),
  .kw-solution-route .solution-card:nth-child(6) {
    grid-column: auto;
  }

  .kw-product-mosaic .product-card,
  .kw-case-list .case-card,
  .kw-news-list .news-item {
    grid-template-columns: 1fr;
  }

  .kw-product-mosaic .product-visual {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid rgba(40, 100, 240, 0.12);
  }

  .kw-news-list .news-item::before {
    min-height: 44px;
  }

  .kw-news-list .news-item > div {
    padding: 18px;
  }
}

/*
 * Kangwosi homepage stable pass.
 * Keep the brighter palette, remove fragile mosaic and absolute layouts.
 */
.kw-hero-stage {
  grid-template-columns: minmax(0, 0.54fr) minmax(420px, 0.46fr);
  gap: 44px;
  align-items: center;
}

.kw-hero-copy h1 {
  max-width: 650px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.12;
  overflow-wrap: break-word;
}

.kw-hero-copy .lead {
  max-width: 610px;
  font-size: 19px;
}

.kw-command-stage {
  min-height: auto;
  padding: 24px;
}

.kw-command-stage::before,
.kw-stage-canvas::before,
.kw-stage-canvas::after,
.kw-stage-ribbon {
  display: none;
}

.kw-stage-canvas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: auto;
  margin: 20px 0;
}

.kw-stage-node,
.kw-stage-node.is-main,
.kw-stage-node.is-a,
.kw-stage-node.is-b,
.kw-stage-node.is-c,
.kw-stage-node.is-d {
  position: relative;
  inset: auto;
  width: auto;
  min-width: 0;
  min-height: 82px;
  transform: none;
}

.kw-stage-node.is-main {
  grid-column: 1 / -1;
  min-height: 126px;
}

.kw-stage-node.is-main span {
  font-size: 32px;
}

.kw-stage-footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kw-hero-rail {
  margin-top: 8px;
}

.kw-capability-grid {
  gap: 16px;
  border: 0;
  overflow: visible;
  background: transparent;
}

.kw-capability-item,
.kw-capability-item:nth-child(even),
.kw-capability-item:last-child {
  min-height: 190px;
  border: 1px solid rgba(40, 100, 240, 0.12);
  border-radius: 8px;
  background: #fff;
}

.kw-product-frame {
  display: block;
}

.kw-product-axis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.kw-product-axis span {
  min-height: 58px;
  border-left-width: 4px;
}

.kw-product-mosaic,
.kw-solution-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.kw-product-mosaic > .card,
.kw-product-mosaic > .card:nth-child(3n + 1),
.kw-product-mosaic > .card:nth-child(3n + 2),
.kw-product-mosaic > .card:nth-child(1),
.kw-product-mosaic > .card:nth-child(2),
.kw-product-mosaic > .card:nth-child(5),
.kw-product-mosaic > .card:nth-child(6),
.kw-product-mosaic > .card:nth-child(7),
.kw-solution-route .solution-card,
.kw-solution-route .solution-card:nth-child(1),
.kw-solution-route .solution-card:nth-child(2),
.kw-solution-route .solution-card:nth-child(3),
.kw-solution-route .solution-card:nth-child(4),
.kw-solution-route .solution-card:nth-child(5),
.kw-solution-route .solution-card:nth-child(6) {
  grid-column: auto;
  transform: none;
}

.kw-product-mosaic .product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.kw-product-mosaic .product-visual {
  min-height: 220px;
  border-right: 0;
  border-bottom: 1px solid rgba(40, 100, 240, 0.12);
}

.kw-product-mosaic .product-visual img {
  object-fit: contain;
  padding: 14px;
}

.kw-solution-route .solution-card {
  min-height: 260px;
}

.kw-platform-shell,
.kw-delivery-grid,
.kw-insight-grid {
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
}

.kw-delivery-copy {
  position: static;
}

.kw-case-list .case-card {
  grid-template-columns: 170px minmax(0, 1fr);
}

@media (max-width: 1100px) {
  .kw-hero-stage,
  .kw-platform-shell,
  .kw-delivery-grid,
  .kw-insight-grid,
  .kw-route-head,
  .kw-lab-head {
    grid-template-columns: 1fr;
  }

  .kw-product-mosaic,
  .kw-solution-route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section-title,
  .kw-lab-head,
  .kw-lab-head *,
  .product-content,
  .product-content *,
  .section-desc {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .section-title {
    font-size: 30px;
    line-height: 1.18;
  }

  .kw-hero-v2,
  .kw-hero-stage {
    overflow: hidden;
  }

  .kw-hero-v2 *,
  .kw-capability-flow *,
  .kw-product-lab * {
    max-width: 100%;
  }

  .kw-hero-copy h1 {
    font-size: 32px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .kw-hero-copy .lead {
    font-size: 16px;
  }

  .kw-hero-tags {
    grid-template-columns: 1fr;
  }

  .kw-command-stage,
  .kw-stage-canvas,
  .kw-stage-node,
  .kw-stage-node.is-main,
  .kw-stage-node.is-a,
  .kw-stage-node.is-b,
  .kw-stage-node.is-c,
  .kw-stage-node.is-d {
    width: 100%;
    max-width: 100%;
  }

  .kw-stage-node.is-main span {
    font-size: 28px;
  }

  .kw-stage-canvas {
    grid-template-columns: 1fr;
  }

  .kw-stage-footer,
  .kw-hero-rail,
  .kw-product-axis,
  .kw-product-mosaic,
  .kw-solution-route,
  .kw-capability-grid,
  .kw-delivery-map {
    grid-template-columns: 1fr;
  }

  .kw-capability-item {
    min-height: 0;
  }

  .kw-product-mosaic .product-visual {
    min-height: 180px;
  }

  .kw-product-mosaic .product-visual img,
  .product-visual img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .kw-case-list .case-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.home .kw-hero-v2,
  body.home .kw-capability-flow,
  body.home .kw-product-lab,
  body.home .kw-platform-section,
  body.home .kw-route-section,
  body.home .kw-delivery-section,
  body.home .kw-insight-action {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  body.home .kw-hero-v2 .hero-content,
  body.home .kw-capability-flow .cw-container,
  body.home .kw-product-lab .cw-container,
  body.home .kw-platform-section .cw-container,
  body.home .kw-route-section .cw-container,
  body.home .kw-delivery-section .cw-container,
  body.home .kw-insight-action .cw-container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    margin-inline: auto;
    overflow-x: hidden;
  }

  body.home .kw-hero-v2 .section-title,
  body.home .kw-hero-v2 h1,
  body.home .kw-product-lab .section-title,
  body.home .kw-route-section .section-title,
  body.home .kw-delivery-section .section-title,
  body.home .kw-insight-action .section-title,
  body.home .product-content h3,
  body.home .card h3,
  body.home .section-desc,
  body.home .product-content p,
  body.home .card p {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  body.home .kw-product-mosaic .product-card,
  body.home .kw-product-mosaic .product-visual,
  body.home .kw-product-mosaic .product-content,
  body.home .kw-product-axis span,
  body.home .kw-command-stage,
  body.home .kw-stage-node,
  body.home .kw-hero-tags span {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.home .kw-product-mosaic .product-visual {
    aspect-ratio: 460 / 320;
    min-height: 0;
  }

  body.home .kw-product-mosaic .product-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
  }
}

@media (max-width: 760px) {
  body.home,
  body.home #main {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  body.home #main > section {
    width: 100vw;
    max-width: 100vw;
    overflow-x: clip;
  }

  body.home #main > section > .cw-container,
  body.home #main > .hero > .hero-content {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.home #main * {
    box-sizing: border-box;
  }

  body.home .kw-hero-stage,
  body.home .kw-flow-head,
  body.home .kw-lab-head,
  body.home .kw-platform-shell,
  body.home .kw-route-head,
  body.home .kw-delivery-grid,
  body.home .kw-insight-grid,
  body.home .kw-product-frame,
  body.home .platform-layout,
  body.home .kw-product-mosaic,
  body.home .kw-solution-route,
  body.home .kw-capability-grid,
  body.home .kw-product-axis,
  body.home .kw-stage-canvas,
  body.home .kw-stage-footer,
  body.home .kw-hero-rail {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.home .kw-hero-copy,
  body.home .kw-command-stage,
  body.home .kw-demo-card,
  body.home .kw-news-wrap,
  body.home .kw-case-panel,
  body.home .kw-platform-intro,
  body.home .kw-platform-workbench,
  body.home .platform-panel,
  body.home .product-card,
  body.home .solution-card,
  body.home .case-card,
  body.home .kw-capability-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-column: auto !important;
    transform: none !important;
  }

  body.home .kw-hero-copy h1,
  body.home .section-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 24px !important;
    line-height: 1.22 !important;
    white-space: normal !important;
    line-break: anywhere;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  body.home .kw-hero-copy h1 {
    font-size: 28px !important;
  }

  body.home .kw-hero-copy .lead,
  body.home .section-desc,
  body.home .card p,
  body.home .product-content p {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    line-break: anywhere;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  body.home .kw-hero-tags,
  body.home .hero-actions,
  body.home .tag-row {
    max-width: 100% !important;
    overflow: hidden;
  }

  body.home .kw-hero-tags span,
  body.home .kw-product-axis span,
  body.home .tag {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  body.home .product-visual {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 460 / 320;
    overflow: hidden;
  }

  body.home .product-card,
  body.home .card {
    overflow: hidden !important;
  }

  body.home .product-visual img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .header-inner,
  .cw-container,
  .hero-content,
  .page-hero-content {
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #main,
  #main > section,
  .section,
  .page-hero {
    max-width: 100%;
    overflow-x: hidden;
  }

  .section-title,
  .page-hero h1,
  .hero h1,
  .card h3,
  .feature h3,
  .product-content h3,
  .case-body h3,
  .contact-card h3,
  .contact-card strong,
  .form label,
  .form input,
  .form select,
  .form textarea,
  .section-desc,
  .page-hero p,
  .card p,
  .feature p,
  .product-content p,
  .case-body p,
  .contact-card p,
  .contact-card span,
  .contact-card a {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  .card,
  .feature,
  .product-card,
  .solution-card,
  .case-card,
  .platform-card,
  .contact-card,
  .form,
  .business-card,
  .platform-panel,
  .product-track-item,
  .solution-selection-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .grid,
  .product-track-grid,
  .product-platform-grid,
  .solution-catalog-grid,
  .case-card-grid,
  .contact-grid,
  .contact-channels,
  .platform-layout,
  .platform-list,
  .metric-board,
  .form,
  .split {
    grid-template-columns: 1fr !important;
  }

  img,
  video,
  iframe {
    max-width: 100%;
  }
}

/*
 * Homepage bottom polish: keep cases and news readable in the stable layout.
 */
.kw-case-list .case-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: stretch;
  min-height: 150px;
}

.kw-case-list .case-image {
  width: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  border-right: 1px solid rgba(40, 100, 240, 0.12);
  border-bottom: 0;
}

.kw-case-list .case-body {
  min-width: 0;
  padding: 18px 20px;
  background: #fff;
}

.kw-case-list .case-body h3,
.kw-case-list .case-body p {
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.kw-news-list .news-item::before {
  background: linear-gradient(135deg, #168cff, #2f6cf2);
  font-size: 14px;
}

.kw-news-list .news-item {
  border-color: rgba(40, 100, 240, 0.14);
}

@media (max-width: 760px) {
  .kw-case-list .case-card,
  .kw-news-list .news-item {
    grid-template-columns: 1fr !important;
  }

  .kw-case-list .case-image {
    min-height: 180px;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid rgba(40, 100, 240, 0.12);
  }

  .kw-news-list .news-item::before {
    min-height: 42px;
  }
}

/*
 * Mobile page polish: keep long Chinese titles and cards inside the viewport.
 */
@media (max-width: 760px) {
  .page-hero {
    min-height: 170px !important;
    padding: 24px 0 !important;
  }

  .page-hero-content {
    min-width: 0 !important;
  }

  .page-hero h1 {
    max-width: 100% !important;
    font-size: 28px !important;
    line-height: 1.18 !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  .page-hero p {
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.72 !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  .section-head,
  .product-list-head,
  .product-platform-head,
  .product-combo-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    min-width: 0 !important;
  }

  .section-title,
  .product-track-head h2,
  .product-combo-head .section-title {
    font-size: 25px !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  .section-desc,
  .product-track-head p,
  .product-combo-head .section-desc {
    font-size: 15px !important;
    line-height: 1.75 !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  .news-list {
    gap: 14px !important;
  }

  .news-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 16px !important;
    overflow: hidden !important;
  }

  .news-item > div,
  .news-item h3,
  .news-item h3 a,
  .news-item p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  .news-item h3 {
    margin: 10px 0 8px !important;
    font-size: 19px !important;
    line-height: 1.42 !important;
    letter-spacing: 0 !important;
  }

  .news-item p {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.76 !important;
    color: #24406f !important;
  }

  .tag,
  .tag-row,
  .product-track-tags,
  .product-track-tags em {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  .product-card,
  .solution-card,
  .case-card,
  .platform-card,
  .business-card,
  .product-track-item,
  .product-combo-card,
  .contact-row,
  .card.pad {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .product-content h3,
  .solution-card h3,
  .platform-card h3,
  .case-body h3,
  .product-track-item strong,
  .product-combo-card h3,
  .contact-row strong,
  .contact-row span {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  .contact-row {
    align-items: flex-start !important;
  }

  .contact-row > div:last-child {
    min-width: 0 !important;
  }
}

/*
 * News and contact refinement pass: create clearer desktop rhythm without
 * changing WordPress content or mobile flow.
 */
@media (min-width: 901px) {
  body.page-template-template-news .news-list {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    gap: 18px;
    align-items: stretch;
  }

  body.page-template-template-news .news-item {
    position: relative;
    min-height: 166px;
    align-items: start;
    border-color: rgba(38, 108, 242, 0.16);
    padding: 22px 24px;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.98), rgba(244,248,255,0.92)),
      radial-gradient(circle at 100% 0, rgba(22, 140, 255, 0.12), transparent 34%);
    box-shadow: 0 16px 42px rgba(13, 45, 100, 0.06);
  }

  body.page-template-template-news .news-item:first-child {
    grid-row: span 2;
    min-height: 350px;
    padding: 30px;
    color: #fff;
    background:
      linear-gradient(135deg, rgba(12, 31, 68, 0.96), rgba(34, 107, 236, 0.9)),
      radial-gradient(circle at 92% 10%, rgba(84, 213, 255, 0.28), transparent 34%);
    box-shadow: 0 24px 60px rgba(22, 82, 190, 0.18);
  }

  body.page-template-template-news .news-item:first-child::after {
    position: absolute;
    right: 30px;
    bottom: 28px;
    width: 148px;
    height: 148px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50%;
    background:
      radial-gradient(circle, rgba(255,255,255,0.2) 0 12%, transparent 13%),
      linear-gradient(135deg, rgba(255,255,255,0.16), transparent 58%);
    content: "";
    pointer-events: none;
  }

  body.page-template-template-news .news-item:first-child .tag {
    border-color: rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.14);
    color: #fff;
  }

  body.page-template-template-news .news-item:first-child h3 {
    max-width: 640px;
    margin-top: 34px;
    font-size: 30px;
    line-height: 1.32;
  }

  body.page-template-template-news .news-item:first-child p {
    max-width: 590px;
    color: rgba(255,255,255,0.84);
    font-size: 17px;
    line-height: 1.78;
  }

  body.page-template-template-news .news-item:nth-child(n + 4) {
    min-height: 190px;
  }

  body.page-template-template-news .news-item h3 {
    max-width: 960px;
    font-size: 21px;
    line-height: 1.38;
  }

  body.page-template-template-news .news-item p {
    color: #35507f;
    line-height: 1.72;
  }

  body.page-template-template-news .pagination {
    grid-column: 1 / -1;
  }

  body.page-template-template-contact .split {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
    align-items: start;
    gap: 44px;
  }

  body.page-template-template-contact .contact-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  body.page-template-template-contact .contact-row {
    min-height: 118px;
    align-items: flex-start;
    border-color: rgba(38, 108, 242, 0.15);
    background:
      linear-gradient(135deg, #ffffff, #f6faff),
      radial-gradient(circle at 100% 0, rgba(84, 213, 255, 0.14), transparent 34%);
    box-shadow: 0 14px 34px rgba(13, 45, 100, 0.05);
  }

  body.page-template-template-contact .contact-row:nth-child(1),
  body.page-template-template-contact .contact-row:nth-child(3),
  body.page-template-template-contact .contact-row:nth-child(6) {
    grid-column: 1 / -1;
    min-height: 104px;
  }

  body.page-template-template-contact .contact-row:nth-child(1) span {
    font-size: 17px;
    letter-spacing: 0.01em;
  }

  body.page-template-template-contact .form {
    position: sticky;
    top: 104px;
    border-color: rgba(38, 108, 242, 0.18);
    background:
      linear-gradient(180deg, #ffffff, #f8fbff),
      radial-gradient(circle at 92% 0, rgba(22, 140, 255, 0.12), transparent 30%);
    box-shadow: 0 24px 60px rgba(13, 45, 100, 0.09);
  }
}

@media (max-width: 900px) {
  body.page-template-template-news .news-list,
  body.page-template-template-contact .contact-panel {
    grid-template-columns: 1fr !important;
  }

  body.page-template-template-news .news-item:first-child {
    min-height: 0;
  }

  body.page-template-template-news .news-item:first-child::after {
    display: none;
  }
}

/*
 * Case archive refinement: make the archive read less like a stock card grid.
 */
@media (min-width: 1021px) {
  body.page-template-template-cases .case-directory-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 34px;
  }

  body.page-template-template-cases .case-category-section {
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  body.page-template-template-cases .case-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  body.page-template-template-cases .case-card-grid .case-card {
    grid-column: auto;
    border-color: rgba(38, 108, 242, 0.14);
    background: #fff;
    box-shadow: 0 14px 34px rgba(13, 45, 100, 0.055);
  }

  body.page-template-template-cases .case-card-grid .case-card:first-child {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    background: #fff;
  }

  body.page-template-template-cases .case-card-grid .case-card:first-child .case-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid rgba(38, 108, 242, 0.14);
  }

  body.page-template-template-cases .case-card-grid .case-card:first-child .case-body {
    display: block;
    min-width: 0;
    padding: 18px;
  }

  body.page-template-template-cases .case-card-grid .case-card:first-child .case-body h3 {
    display: -webkit-box;
    overflow: hidden;
    max-width: none;
    margin-top: 0;
    font-size: inherit;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  body.page-template-template-cases .case-card-grid .case-card:first-child .case-body p {
    display: -webkit-box;
    overflow: hidden;
    max-width: none;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    -webkit-line-clamp: 3;
  }

  body.page-template-template-cases .case-card-grid .case-card:nth-child(2),
  body.page-template-template-cases .case-card-grid .case-card:nth-child(3) {
    grid-column: auto;
  }

  body.page-template-template-cases .case-card-grid .case-card:nth-child(2) {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  body.page-template-template-cases .case-card-grid .case-card:nth-child(2) .case-image {
    height: auto;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid rgba(38, 108, 242, 0.14);
  }

  body.page-template-template-cases .case-card-grid .case-card:nth-child(2) .case-body {
    min-width: 0;
  }

  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 .case-card {
    grid-column: auto;
    border-color: rgba(38, 108, 242, 0.14);
    background: #fff;
    box-shadow: 0 14px 34px rgba(13, 45, 100, 0.055);
  }

  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 .case-card:first-child {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    background: #fff;
  }

  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 .case-card:first-child .case-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid rgba(38, 108, 242, 0.14);
  }

  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 .case-card:first-child .case-body {
    display: block;
    min-width: 0;
    padding: 18px;
  }

  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 .case-card:first-child .case-body h3 {
    display: -webkit-box;
    overflow: hidden;
    max-width: none;
    margin-top: 0;
    font-size: inherit;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 .case-card:first-child .case-body p {
    display: -webkit-box;
    overflow: hidden;
    max-width: none;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    -webkit-line-clamp: 3;
  }

  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 .case-card:nth-child(2),
  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 .case-card:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 1020px) {
  body.page-template-template-cases .case-card-grid,
  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.page-template-template-cases .case-card-grid,
  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 {
    grid-template-columns: 1fr !important;
  }

  body.page-template-template-cases .case-card-grid .case-card,
  body.page-template-template-cases .case-card-grid .case-card:first-child,
  body.page-template-template-cases .case-card-grid .case-card:nth-child(2),
  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 .case-card,
  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 .case-card:first-child,
  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 .case-card:nth-child(2) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-column: auto !important;
    min-height: 0 !important;
  }

  body.page-template-template-cases .case-card-grid .case-card:first-child .case-image,
  body.page-template-template-cases .case-card-grid .case-card:nth-child(2) .case-image,
  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 .case-card:first-child .case-image,
  body.page-template-template-cases .case-directory-section > .cw-container > .grid.cols-4 .case-card:nth-child(2) .case-image {
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(38, 108, 242, 0.14) !important;
  }
}

/*
 * Product archive refinement: emphasize platform and product discovery areas.
 */
@media (min-width: 1021px) {
  body.page-template-template-products .product-platform-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
  }

  body.page-template-template-products .product-platform-grid .platform-card {
    grid-column: span 2;
  }

  body.page-template-template-products .product-platform-grid .platform-card:first-child {
    grid-column: span 6;
    display: grid;
    min-height: 320px;
    grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
    grid-template-rows: auto auto auto 1fr;
    align-content: center;
    overflow: hidden;
    padding: 0;
    background:
      linear-gradient(135deg, #ffffff, #f4f9ff),
      radial-gradient(circle at 100% 0, rgba(84,213,255,0.16), transparent 34%);
  }

  body.page-template-template-products .product-platform-grid .platform-card:first-child .platform-card-visual {
    grid-row: 1 / -1;
    height: 100%;
    min-height: 320px;
    margin: 0;
    border-right: 1px solid rgba(38, 108, 242, 0.14);
    border-bottom: 0;
  }

  body.page-template-template-products .product-platform-grid .platform-card:first-child .icon-box,
  body.page-template-template-products .product-platform-grid .platform-card:first-child > .tag,
  body.page-template-template-products .product-platform-grid .platform-card:first-child h3,
  body.page-template-template-products .product-platform-grid .platform-card:first-child p,
  body.page-template-template-products .product-platform-grid .platform-card:first-child .tag-row {
    grid-column: 2;
    margin-left: 34px;
    margin-right: 34px;
  }

  body.page-template-template-products .product-platform-grid .platform-card:first-child .icon-box {
    margin-top: 0;
  }

  body.page-template-template-products .product-platform-grid .platform-card:first-child h3 {
    max-width: 560px;
    font-size: 31px;
    line-height: 1.22;
  }

  body.page-template-template-products .product-platform-grid .platform-card:first-child p {
    max-width: 540px;
    color: #35507f;
    font-size: 17px;
    line-height: 1.8;
  }

  body.page-template-template-products .product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
  }

  body.page-template-template-products .product-grid .product-card {
    grid-column: span 2;
    border-color: rgba(38, 108, 242, 0.14);
    box-shadow: 0 14px 34px rgba(13, 45, 100, 0.055);
  }

  body.page-template-template-products .product-grid .product-card:first-child {
    grid-column: span 6;
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    grid-template-rows: 1fr;
    overflow: hidden;
    background:
      linear-gradient(135deg, #ffffff, #f5f9ff),
      radial-gradient(circle at 100% 8%, rgba(22,140,255,0.11), transparent 34%);
  }

  body.page-template-template-products .product-grid .product-card:first-child .product-visual {
    align-self: center;
    width: min(100%, 460px);
    height: auto;
    min-height: 0;
    aspect-ratio: 460 / 320;
    margin: 28px auto;
    border-right: 1px solid rgba(38, 108, 242, 0.14);
    border-bottom: 1px solid rgba(38, 108, 242, 0.14);
    border-radius: 8px;
  }

  body.page-template-template-products .product-grid .product-card:first-child .product-visual img {
    padding: 0;
  }

  body.page-template-template-products .product-grid .product-card:first-child .product-content {
    justify-content: center;
    min-width: 0;
    padding: 34px;
  }

  body.page-template-template-products .product-grid .product-card:first-child .product-content h3 {
    max-width: 560px;
    font-size: 31px;
    line-height: 1.24;
  }

  body.page-template-template-products .product-grid .product-card:first-child .product-content p {
    max-width: 540px;
    color: #35507f;
    font-size: 17px;
    line-height: 1.8;
  }

  body.page-template-template-products .product-grid .product-card:nth-child(2),
  body.page-template-template-products .product-grid .product-card:nth-child(3) {
    grid-column: span 3;
  }

  body.page-template-template-products .product-grid .product-card:nth-child(2),
  body.page-template-template-products .product-grid .product-card:nth-child(3) {
    display: grid;
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
    grid-template-rows: 1fr;
  }

  body.page-template-template-products .product-grid .product-card:nth-child(2) .product-visual,
  body.page-template-template-products .product-grid .product-card:nth-child(3) .product-visual {
    align-self: center;
    width: min(100%, 230px);
    height: auto;
    aspect-ratio: 460 / 320;
    margin: 18px 0 18px 18px;
    border-right: 1px solid rgba(38, 108, 242, 0.14);
    border-bottom: 1px solid rgba(38, 108, 242, 0.14);
    border-radius: 8px;
  }

  body.page-template-template-products .product-grid .product-card:nth-child(2) .product-content,
  body.page-template-template-products .product-grid .product-card:nth-child(3) .product-content {
    min-width: 0;
  }
}

@media (max-width: 1020px) {
  body.page-template-template-products .product-platform-grid,
  body.page-template-template-products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.page-template-template-products .product-platform-grid,
  body.page-template-template-products .product-grid {
    grid-template-columns: 1fr !important;
  }

  body.page-template-template-products .product-platform-grid .platform-card,
  body.page-template-template-products .product-platform-grid .platform-card:first-child,
  body.page-template-template-products .product-grid .product-card,
  body.page-template-template-products .product-grid .product-card:first-child,
  body.page-template-template-products .product-grid .product-card:nth-child(2),
  body.page-template-template-products .product-grid .product-card:nth-child(3) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-column: auto !important;
    min-height: 0 !important;
  }

  body.page-template-template-products .product-platform-grid .platform-card:first-child .platform-card-visual,
  body.page-template-template-products .product-grid .product-card:first-child .product-visual,
  body.page-template-template-products .product-grid .product-card:nth-child(2) .product-visual,
  body.page-template-template-products .product-grid .product-card:nth-child(3) .product-visual {
    min-height: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    aspect-ratio: 460 / 320 !important;
    border-radius: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(38, 108, 242, 0.14) !important;
  }

  body.page-template-template-products .product-platform-grid .platform-card:first-child .icon-box,
  body.page-template-template-products .product-platform-grid .platform-card:first-child > .tag,
  body.page-template-template-products .product-platform-grid .platform-card:first-child h3,
  body.page-template-template-products .product-platform-grid .platform-card:first-child p,
  body.page-template-template-products .product-platform-grid .platform-card:first-child .tag-row {
    grid-column: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/*
 * Solution archive refinement: make the industry entry grid less uniform.
 */
@media (min-width: 1021px) {
  body.page-template-template-solutions .solution-catalog-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  body.page-template-template-solutions .solution-catalog-grid .solution-card {
    grid-column: span 2;
    min-height: 292px;
    border: 1px solid rgba(38, 108, 242, 0.14);
    box-shadow: 0 16px 38px rgba(13, 45, 100, 0.08);
  }

  body.page-template-template-solutions .solution-catalog-grid .solution-card h3 {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(6, 21, 39, 0.34);
  }

  body.page-template-template-solutions .solution-catalog-grid .solution-card:first-child {
    grid-column: span 6;
    min-height: 380px;
    padding: 34px;
    background:
      linear-gradient(90deg, rgba(6,21,39,0.97) 0%, rgba(6,21,39,0.84) 42%, rgba(6,21,39,0.2) 70%, rgba(6,21,39,0.7) 100%),
      var(--image) center/cover no-repeat,
      linear-gradient(135deg, #071f43, #0f66d8);
  }

  body.page-template-template-solutions .solution-catalog-grid .solution-card:first-child h3 {
    max-width: 620px;
    font-size: 34px;
    line-height: 1.18;
  }

  body.page-template-template-solutions .solution-catalog-grid .solution-card:first-child p {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.78;
  }

  body.page-template-template-solutions .solution-catalog-grid .solution-card:first-child .tag-row {
    max-width: 640px;
  }

  body.page-template-template-solutions .solution-catalog-grid .solution-card:nth-child(2),
  body.page-template-template-solutions .solution-catalog-grid .solution-card:nth-child(3) {
    grid-column: span 3;
    min-height: 320px;
  }

  body.page-template-template-solutions .solution-catalog-grid .solution-card:nth-child(4) {
    grid-column: span 4;
    min-height: 300px;
  }

  body.page-template-template-solutions .solution-catalog-grid .solution-card:nth-child(5) {
    grid-column: span 2;
    min-height: 300px;
  }

  body.page-template-template-solutions .solution-catalog-grid .solution-card:nth-child(6),
  body.page-template-template-solutions .solution-catalog-grid .solution-card:nth-child(7),
  body.page-template-template-solutions .solution-catalog-grid .solution-card:nth-child(8) {
    min-height: 276px;
  }

  body.page-template-template-solutions .solution-selection-panel {
    grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  }

  body.page-template-template-solutions .solution-matrix-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }

  body.page-template-template-solutions .solution-matrix-card {
    grid-column: span 2;
  }

  body.page-template-template-solutions .solution-matrix-card:first-child,
  body.page-template-template-solutions .solution-matrix-card:nth-child(4) {
    grid-column: span 3;
  }
}

@media (max-width: 1020px) {
  body.page-template-template-solutions .solution-catalog-grid,
  body.page-template-template-solutions .solution-matrix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.page-template-template-solutions .solution-catalog-grid,
  body.page-template-template-solutions .solution-matrix-grid {
    grid-template-columns: 1fr !important;
  }

  body.page-template-template-solutions .solution-catalog-grid .solution-card,
  body.page-template-template-solutions .solution-catalog-grid .solution-card:first-child,
  body.page-template-template-solutions .solution-catalog-grid .solution-card:nth-child(2),
  body.page-template-template-solutions .solution-catalog-grid .solution-card:nth-child(3),
  body.page-template-template-solutions .solution-catalog-grid .solution-card:nth-child(4),
  body.page-template-template-solutions .solution-catalog-grid .solution-card:nth-child(5),
  body.page-template-template-solutions .solution-matrix-card,
  body.page-template-template-solutions .solution-matrix-card:first-child,
  body.page-template-template-solutions .solution-matrix-card:nth-child(4) {
    grid-column: auto !important;
    min-height: 260px !important;
  }

  body.page-template-template-solutions .solution-catalog-grid .solution-card:first-child h3 {
    font-size: 27px !important;
  }
}

/*
 * About page refinement: make company capability blocks less uniform.
 */
@media (min-width: 1021px) {
  body.page-template-template-about .about-intro {
    grid-template-columns: minmax(0, 0.92fr) minmax(460px, 0.82fr);
    gap: 52px;
    align-items: center;
  }

  body.page-template-template-about .about-visual {
    aspect-ratio: 15 / 9;
    transform: translateY(10px);
  }

  body.page-template-template-about .about-focus-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 18px;
  }

  body.page-template-template-about .about-focus-card {
    min-height: 210px;
    border-color: rgba(38, 108, 242, 0.15);
    background:
      linear-gradient(135deg, #ffffff, #f6faff),
      radial-gradient(circle at 100% 0, rgba(84,213,255,0.14), transparent 34%);
    box-shadow: 0 14px 34px rgba(13, 45, 100, 0.055);
  }

  body.page-template-template-about .about-focus-card:first-child {
    grid-row: span 2;
    min-height: 438px;
    align-content: center;
    padding: 34px;
    color: #fff;
    background:
      linear-gradient(135deg, rgba(12,31,68,0.96), rgba(34,107,236,0.9)),
      radial-gradient(circle at 92% 8%, rgba(84,213,255,0.25), transparent 34%);
  }

  body.page-template-template-about .about-focus-card:first-child .icon-box {
    background: rgba(255,255,255,0.12);
    color: #fff;
  }

  body.page-template-template-about .about-focus-card:first-child h3 {
    max-width: 560px;
    color: #fff;
    font-size: 31px;
    line-height: 1.24;
  }

  body.page-template-template-about .about-focus-card:first-child p {
    max-width: 560px;
    color: rgba(255,255,255,0.82);
    font-size: 16px;
    line-height: 1.85;
  }

  body.page-template-template-about .about-value-band {
    grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 0.72fr));
    margin-top: 20px;
  }

  body.page-template-template-about .about-value-band article:first-child {
    min-height: 166px;
    align-content: center;
    padding: 26px;
    background:
      linear-gradient(135deg, rgba(22,140,255,0.95), rgba(37,70,199,0.95)),
      radial-gradient(circle at 90% 10%, rgba(255,255,255,0.22), transparent 32%);
  }

  body.page-template-template-about .about-value-band article:first-child strong {
    color: #fff;
    font-size: 32px;
  }

  body.page-template-template-about .about-research {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  body.page-template-template-about .about-research p:first-child {
    background:
      linear-gradient(135deg, #10245c, #226bec),
      radial-gradient(circle at 100% 0, rgba(84,213,255,0.2), transparent 34%);
    color: #fff;
  }

  body.page-template-template-about .about-research p:first-child::first-line {
    font-weight: 900;
  }
}

@media (max-width: 1020px) {
  body.page-template-template-about .about-focus-grid,
  body.page-template-template-about .about-value-band,
  body.page-template-template-about .about-research {
    grid-template-columns: 1fr !important;
  }

  body.page-template-template-about .about-focus-card:first-child {
    grid-row: auto !important;
    min-height: 0 !important;
  }
}

/*
 * Experience, secondary, and detail page refresh.
 * Keep the corrected blue / coral direction while moving away from uniform card grids.
 */
body.page-template-template-experience .experience-overview {
  padding: 58px 0 72px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 54%, #edf6ff 100%),
    radial-gradient(circle at 16% 14%, rgba(84,213,255,0.18), transparent 26%),
    radial-gradient(circle at 88% 24%, rgba(255,107,74,0.12), transparent 24%);
}

body.page-template-template-experience .experience-overview .section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

body.page-template-template-experience .experience-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

body.page-template-template-experience .experience-card {
  position: relative;
  grid-column: span 3;
  min-height: 220px;
  overflow: hidden;
  border-color: rgba(38, 100, 240, 0.14);
  padding: 24px;
  background:
    linear-gradient(135deg, #ffffff, #f4f9ff),
    radial-gradient(circle at 100% 0, rgba(84,213,255,0.16), transparent 36%);
  box-shadow: 0 16px 38px rgba(38, 100, 240, 0.08);
}

body.page-template-template-experience .experience-card::after {
  position: absolute;
  right: 18px;
  bottom: -20px;
  color: rgba(38, 100, 240, 0.075);
  font-size: 86px;
  font-weight: 900;
  line-height: 1;
  content: "DEMO";
}

body.page-template-template-experience .experience-card:nth-child(1) {
  grid-column: span 4;
  min-height: 272px;
  padding: 30px;
  background:
    linear-gradient(135deg, #1d2d90, #168cff),
    radial-gradient(circle at 92% 8%, rgba(255,255,255,0.2), transparent 32%);
  color: #fff;
}

body.page-template-template-experience .experience-card:nth-child(2) {
  grid-column: span 2;
  min-height: 272px;
}

body.page-template-template-experience .experience-card:nth-child(3) {
  transform: translateY(18px);
}

body.page-template-template-experience .experience-card:nth-child(4) {
  border-color: rgba(255, 107, 74, 0.18);
  background:
    linear-gradient(135deg, #ffffff, #fff7f4),
    radial-gradient(circle at 100% 0, rgba(255,107,74,0.16), transparent 36%);
  transform: translateY(-10px);
}

body.page-template-template-experience .experience-card:nth-child(1) .icon-box {
  color: #fff;
  background: rgba(255,255,255,0.14);
}

body.page-template-template-experience .experience-card:nth-child(1) h3,
body.page-template-template-experience .experience-card:nth-child(1) p {
  color: #fff;
}

body.page-template-template-experience .experience-card h3 {
  position: relative;
  z-index: 2;
  font-size: 22px;
}

body.page-template-template-experience .experience-card p,
body.page-template-template-experience .experience-card .icon-box {
  position: relative;
  z-index: 2;
}

body.page-template-template-experience .experience-request {
  padding: 66px 0;
  color: var(--cw-ink);
  background:
    linear-gradient(180deg, #f1f7ff 0%, #ffffff 100%),
    radial-gradient(circle at 86% 8%, rgba(84,213,255,0.18), transparent 26%);
}

body.page-template-template-experience .experience-request-panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.82fr);
  gap: 22px;
  border-color: rgba(38, 100, 240, 0.14);
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(238,247,255,0.92));
  box-shadow: 0 24px 62px rgba(38, 100, 240, 0.12);
}

body.page-template-template-experience .experience-request-copy {
  border-color: rgba(38, 100, 240, 0.12);
  padding: 32px;
  background:
    linear-gradient(135deg, #ffffff, #f5fbff),
    radial-gradient(circle at 96% 8%, rgba(84,213,255,0.16), transparent 34%);
}

body.page-template-template-experience .experience-request .section-title {
  color: var(--cw-blue-950);
}

body.page-template-template-experience .experience-request .section-desc {
  color: #415283;
}

body.page-template-template-experience .experience-output-list span {
  border-color: rgba(38, 100, 240, 0.16);
  color: #2546c7;
  background: #eef7ff;
}

body.page-template-template-experience .experience-demo-flow {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

body.page-template-template-experience .experience-demo-flow article {
  grid-template-columns: 48px minmax(120px, 0.28fr) minmax(0, 1fr);
  min-height: 0;
  align-items: center;
  border-color: rgba(38, 100, 240, 0.12);
  background: #fff;
}

body.page-template-template-experience .experience-demo-flow span {
  color: #fff;
  background: #168cff;
}

body.page-template-template-experience .experience-demo-flow strong {
  color: var(--cw-blue-950);
}

body.page-template-template-experience .experience-demo-flow p {
  color: #5c6d93;
}

body.page-template-template-experience .experience-form-card {
  border-color: rgba(38, 100, 240, 0.14);
  padding: 0;
  background: #fff;
  box-shadow: 0 20px 46px rgba(38, 100, 240, 0.09);
}

body.page-template-template-category .secondary-overview {
  padding: 56px 0 32px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%),
    radial-gradient(circle at 90% 12%, rgba(84,213,255,0.16), transparent 28%);
}

body.page-template-template-category .secondary-overview .split {
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 0.72fr);
  gap: 54px;
  align-items: center;
}

body.page-template-template-category .secondary-overview .section-title {
  font-size: clamp(36px, 4.4vw, 56px);
}

body.page-template-template-category .secondary-highlight {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  align-content: center;
  border-color: rgba(38, 100, 240, 0.16);
  padding: 32px;
  background:
    linear-gradient(135deg, #ffffff, #edf6ff),
    radial-gradient(circle at 94% 8%, rgba(84,213,255,0.16), transparent 34%);
}

body.page-template-template-category .secondary-highlight::after {
  position: absolute;
  right: -22px;
  bottom: -34px;
  color: rgba(38, 100, 240, 0.07);
  font-size: 110px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  content: "VALUE";
}

body.page-template-template-category .secondary-highlight h3,
body.page-template-template-category .secondary-highlight p,
body.page-template-template-category .secondary-highlight .secondary-process,
body.page-template-template-category .secondary-highlight .icon-box {
  position: relative;
  z-index: 2;
}

body.page-template-template-category .secondary-process span {
  min-height: 42px;
  border-color: rgba(38, 100, 240, 0.14);
  color: #2546c7;
}

body.page-template-template-category .secondary-overview + .section {
  padding-top: 48px;
}

body.page-template-template-category .secondary-item-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

body.page-template-template-category .secondary-item-card {
  grid-column: span 2;
  min-height: 230px;
  border-color: rgba(38, 100, 240, 0.13);
  background:
    linear-gradient(135deg, #ffffff, #f6fbff);
}

body.page-template-template-category .secondary-item-card:nth-child(1) {
  grid-column: span 3;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, #1d2d90, #168cff),
    radial-gradient(circle at 92% 10%, rgba(255,255,255,0.2), transparent 34%);
}

body.page-template-template-category .secondary-item-card:nth-child(2) {
  grid-column: span 3;
  border-color: rgba(255, 107, 74, 0.2);
  background:
    linear-gradient(135deg, #ffffff, #fff6f2);
}

body.page-template-template-category .secondary-item-card:nth-child(5n) {
  transform: translateY(18px);
}

body.page-template-template-category .secondary-item-card:nth-child(1) .secondary-index {
  color: #fff;
  background: rgba(255,255,255,0.14);
}

body.page-template-template-category .secondary-item-card:nth-child(1) h3,
body.page-template-template-category .secondary-item-card:nth-child(1) p {
  color: #fff;
}

body.page-template-template-category .secondary-index {
  background: #2546c7;
  color: #fff;
}

body.single-ctrlworks_product .article-layout,
body.single-ctrlworks_solution .article-layout,
body.single-ctrlworks_case .article-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

body.single-ctrlworks_product .article-main,
body.single-ctrlworks_solution .article-main,
body.single-ctrlworks_case .article-main {
  border-color: rgba(38, 100, 240, 0.13);
  padding: 30px;
  box-shadow: 0 18px 48px rgba(38, 100, 240, 0.08);
}

body.single-ctrlworks_solution .article-main > .article-meta,
body.single-ctrlworks_case .article-main > .article-meta {
  margin-bottom: 14px;
}

body.single-ctrlworks_solution .business-cover,
body.single-ctrlworks_case .business-cover {
  aspect-ratio: auto;
  margin-bottom: 22px;
}

body.single-ctrlworks_product .product-detail-overview {
  grid-template-columns: minmax(360px, 460px) minmax(0, 1fr);
  gap: 26px;
  padding: 22px;
  background:
    linear-gradient(135deg, #ffffff, #eef7ff),
    radial-gradient(circle at 100% 0, rgba(84,213,255,0.16), transparent 34%);
}

body.single-ctrlworks_product .product-detail-summary h2 {
  font-size: 30px;
}

body.single-ctrlworks_product .product-official-content > section {
  border-top: 1px solid rgba(38, 100, 240, 0.1);
  padding-top: 16px;
}

body.single-ctrlworks_product .product-official-content > section:first-child {
  border-top: 0;
  padding-top: 0;
}

body.single-ctrlworks_product .product-official-content h2,
body.single-ctrlworks_product .product-official-content h3,
body.single-ctrlworks_solution .article-content h2,
body.single-ctrlworks_solution .article-content h3,
body.single-ctrlworks_case .article-content h2,
body.single-ctrlworks_case .article-content h3 {
  border-left-color: #ff6b4a;
}

body.single-ctrlworks_solution .business-tags,
body.single-ctrlworks_case .business-tags {
  margin: -4px 0 22px;
}

body.single-ctrlworks_product .business-process,
body.single-ctrlworks_solution .business-process,
body.single-ctrlworks_case .business-process {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.single-ctrlworks_product .business-process div,
body.single-ctrlworks_solution .business-process div,
body.single-ctrlworks_case .business-process div {
  min-height: 142px;
  border-color: rgba(38, 100, 240, 0.12);
  background:
    linear-gradient(135deg, #ffffff, #f3f9ff),
    radial-gradient(circle at 92% 10%, rgba(84,213,255,0.1), transparent 32%);
}

body.single-ctrlworks_product .business-process div:nth-child(2),
body.single-ctrlworks_solution .business-process div:nth-child(2),
body.single-ctrlworks_case .business-process div:nth-child(2) {
  background:
    linear-gradient(135deg, #fff, #fff6f2),
    radial-gradient(circle at 92% 10%, rgba(255,107,74,0.12), transparent 32%);
}

body.single-ctrlworks_product .article-side,
body.single-ctrlworks_solution .article-side,
body.single-ctrlworks_case .article-side {
  position: sticky;
  top: 104px;
}

body.single-ctrlworks_product .article-side .card,
body.single-ctrlworks_solution .article-side .card,
body.single-ctrlworks_case .article-side .card {
  border-color: rgba(38, 100, 240, 0.13);
}

body.single-ctrlworks_product .article-side .business-cta,
body.single-ctrlworks_solution .article-side .business-cta,
body.single-ctrlworks_case .article-side .business-cta {
  background:
    linear-gradient(135deg, #1d2d90, #168cff),
    radial-gradient(circle at 92% 8%, rgba(255,255,255,0.2), transparent 32%);
}

body.single-post .article-layout {
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.32fr);
  gap: 30px;
}

body.single-post .article-main {
  border-color: rgba(38, 100, 240, 0.12);
  padding: 34px;
  box-shadow: 0 18px 48px rgba(38, 100, 240, 0.08);
}

body.single-post .article-content > p:first-of-type {
  border-left: 4px solid #ff6b4a;
  padding: 14px 18px;
  background: #fff8f5;
  color: #263b72;
  font-size: 18px;
  line-height: 1.86;
}

body.single-post .article-side {
  position: sticky;
  top: 104px;
}

@media (max-width: 1020px) {
  body.page-template-template-experience .experience-card-grid,
  body.page-template-template-category .secondary-item-grid {
    grid-template-columns: 1fr !important;
  }

  body.page-template-template-experience .experience-card,
  body.page-template-template-experience .experience-card:nth-child(1),
  body.page-template-template-experience .experience-card:nth-child(2),
  body.page-template-template-category .secondary-item-card,
  body.page-template-template-category .secondary-item-card:nth-child(1),
  body.page-template-template-category .secondary-item-card:nth-child(2) {
    grid-column: auto !important;
    min-height: 0;
    transform: none !important;
  }

  body.page-template-template-experience .experience-request-panel,
  body.page-template-template-category .secondary-overview .split,
  body.page-template-template-topic .topic-overview .split,
  body.single-ctrlworks_product .article-layout,
  body.single-ctrlworks_solution .article-layout,
  body.single-ctrlworks_case .article-layout,
  body.single-post .article-layout {
    grid-template-columns: 1fr !important;
  }

  body.page-template-template-experience .experience-request-panel,
  body.page-template-template-experience .experience-request-copy,
  body.page-template-template-category .secondary-highlight,
  body.page-template-template-topic .secondary-highlight,
  body.single-ctrlworks_product .article-main,
  body.single-ctrlworks_solution .article-main,
  body.single-ctrlworks_case .article-main,
  body.single-post .article-main {
    padding: 20px;
  }

  body.page-template-template-experience .experience-demo-flow article {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body.page-template-template-experience .experience-request-panel {
    padding: 10px;
  }

  body.single-ctrlworks_product .product-detail-overview,
  body.single-ctrlworks_product .business-process,
  body.single-ctrlworks_solution .business-process,
  body.single-ctrlworks_case .business-process {
    grid-template-columns: 1fr !important;
  }

  body.single-ctrlworks_product .article-side,
  body.single-ctrlworks_solution .article-side,
  body.single-ctrlworks_case .article-side,
  body.single-post .article-side {
    position: static;
  }
}

/*
 * Business detail page polish: stronger top story and less article-like rhythm.
 */
body.single-ctrlworks_product .article-main.business-detail,
body.single-ctrlworks_solution .article-main.business-detail,
body.single-ctrlworks_case .article-main.business-detail {
  position: relative;
  overflow: hidden;
}

body.single-ctrlworks_product .article-main.business-detail::before,
body.single-ctrlworks_solution .article-main.business-detail::before,
body.single-ctrlworks_case .article-main.business-detail::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #168cff, #54d5ff, #ff6b4a);
  content: "";
}

body.single-ctrlworks_solution .article-main > .article-meta,
body.single-ctrlworks_case .article-main > .article-meta {
  position: relative;
  z-index: 2;
  margin: 0 0 16px;
}

body.single-ctrlworks_solution .article-main > .business-cover,
body.single-ctrlworks_case .article-main > .business-cover {
  position: relative;
  z-index: 1;
  min-height: 0;
  overflow: visible;
  border-color: rgba(38, 100, 240, 0.12);
  background: #fff;
  box-shadow: 0 18px 42px rgba(38, 100, 240, 0.1);
}

body.single-ctrlworks_solution .article-main > .business-cover img,
body.single-ctrlworks_case .article-main > .business-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

body.single-ctrlworks_solution .article-main > .business-cover::after,
body.single-ctrlworks_case .article-main > .business-cover::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(16, 36, 92, 0.36));
  content: "";
  pointer-events: none;
}

body.single-ctrlworks_solution .article-main > .business-tags,
body.single-ctrlworks_case .article-main > .business-tags {
  position: relative;
  z-index: 3;
  margin: -54px 18px 30px;
}

body.single-ctrlworks_solution .article-main > .business-tags span,
body.single-ctrlworks_case .article-main > .business-tags span {
  border-color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 10px 22px rgba(16, 36, 92, 0.1);
}

body.single-ctrlworks_solution .article-content,
body.single-ctrlworks_case .article-content {
  display: grid;
  gap: 18px;
}

body.single-ctrlworks_solution .article-content h2,
body.single-ctrlworks_solution .article-content h3,
body.single-ctrlworks_case .article-content h2,
body.single-ctrlworks_case .article-content h3 {
  margin: 18px 0 0;
  border-left: 4px solid #ff6b4a;
  padding-left: 14px;
}

body.single-ctrlworks_solution .article-content p,
body.single-ctrlworks_case .article-content p {
  margin: 0;
}

body.single-ctrlworks_product .product-detail-overview {
  position: relative;
  overflow: hidden;
}

body.single-ctrlworks_product .product-detail-overview::after {
  position: absolute;
  right: -12px;
  bottom: -28px;
  color: rgba(38, 100, 240, 0.065);
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  content: "PRODUCT";
}

body.single-ctrlworks_product .product-detail-overview > * {
  position: relative;
  z-index: 2;
}

body.single-ctrlworks_product .business-cover.is-product-cover {
  width: min(100%, 460px);
  max-width: 460px;
  min-height: 0;
  aspect-ratio: 460 / 320;
  justify-self: center;
  border-color: rgba(38, 100, 240, 0.14);
  background:
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%),
    radial-gradient(circle at 96% 8%, rgba(84,213,255,0.14), transparent 34%);
}

body.single-ctrlworks_product .product-official-content {
  margin-top: 8px;
}

body.single-ctrlworks_product .product-official-content > section {
  border: 1px solid rgba(38, 100, 240, 0.1);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}

body.single-ctrlworks_product .product-official-content > section:first-child {
  border: 1px solid rgba(38, 100, 240, 0.1);
  padding-top: 20px;
}

body.single-ctrlworks_product .product-official-content h2 {
  margin-top: 0;
}

body.single-ctrlworks_product .business-process div:first-child,
body.single-ctrlworks_solution .business-process div:first-child,
body.single-ctrlworks_case .business-process div:first-child {
  background:
    linear-gradient(135deg, #1d2d90, #168cff),
    radial-gradient(circle at 92% 10%, rgba(255,255,255,0.2), transparent 34%);
}

body.single-ctrlworks_product .business-process div:first-child span,
body.single-ctrlworks_product .business-process div:first-child p,
body.single-ctrlworks_solution .business-process div:first-child span,
body.single-ctrlworks_solution .business-process div:first-child p,
body.single-ctrlworks_case .business-process div:first-child span,
body.single-ctrlworks_case .business-process div:first-child p {
  color: #fff;
}

@media (max-width: 1020px) {
  body.single-ctrlworks_solution .article-main > .business-tags,
  body.single-ctrlworks_case .article-main > .business-tags {
    margin: 0 0 22px;
  }

  body.single-ctrlworks_solution .article-main > .business-cover::after,
  body.single-ctrlworks_case .article-main > .business-cover::after {
    display: none;
  }

  body.single-ctrlworks_product .product-official-content > section {
    padding: 16px;
  }
}

/*
 * Utility and support page refresh.
 * These lower-level pages get their own rhythm so they do not read as copied card grids.
 */
body.page-template-template-support .page-hero + .section,
body.page-template-template-report .page-hero + .section,
body.page-template-template-links .page-hero + .section,
body.page-template-template-sitemap .page-hero + .section,
body.page-template-template-legal .page-hero + .section,
body.page-template-template-platforms .page-hero + .section,
body.search-results .page-hero + .section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%),
    radial-gradient(circle at 88% 8%, rgba(84,213,255,0.16), transparent 28%);
}

body.page-template-template-support .page-hero + .section .grid.cols-3,
body.page-template-template-report .page-hero + .section .grid.cols-3,
body.page-template-template-legal .page-hero + .section .grid.cols-2 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

body.page-template-template-support .page-hero + .section .grid > .card,
body.page-template-template-report .page-hero + .section .grid > .card,
body.page-template-template-legal .page-hero + .section .grid > .card {
  position: relative;
  grid-column: span 2;
  min-height: 230px;
  overflow: hidden;
  border-color: rgba(38, 100, 240, 0.13);
  background:
    linear-gradient(135deg, #ffffff, #f5fbff),
    radial-gradient(circle at 96% 8%, rgba(84,213,255,0.12), transparent 34%);
}

body.page-template-template-support .page-hero + .section .grid > .card::after,
body.page-template-template-report .page-hero + .section .grid > .card::after,
body.page-template-template-legal .page-hero + .section .grid > .card::after {
  position: absolute;
  right: -10px;
  bottom: -24px;
  color: rgba(38, 100, 240, 0.06);
  font-size: 78px;
  font-weight: 900;
  line-height: 1;
  content: "INFO";
}

body.page-template-template-support .page-hero + .section .grid > .card:nth-child(1),
body.page-template-template-report .page-hero + .section .grid > .card:nth-child(1),
body.page-template-template-legal .page-hero + .section .grid > .card:nth-child(1) {
  grid-column: span 3;
  min-height: 270px;
  color: #fff;
  background:
    linear-gradient(135deg, #1d2d90, #168cff),
    radial-gradient(circle at 92% 8%, rgba(255,255,255,0.2), transparent 34%);
}

body.page-template-template-support .page-hero + .section .grid > .card:nth-child(2),
body.page-template-template-report .page-hero + .section .grid > .card:nth-child(2),
body.page-template-template-legal .page-hero + .section .grid > .card:nth-child(2) {
  grid-column: span 3;
  border-color: rgba(255, 107, 74, 0.18);
  background:
    linear-gradient(135deg, #ffffff, #fff7f4),
    radial-gradient(circle at 94% 8%, rgba(255,107,74,0.13), transparent 34%);
}

body.page-template-template-support .page-hero + .section .grid > .card:nth-child(1) h3,
body.page-template-template-support .page-hero + .section .grid > .card:nth-child(1) p,
body.page-template-template-report .page-hero + .section .grid > .card:nth-child(1) h3,
body.page-template-template-report .page-hero + .section .grid > .card:nth-child(1) p,
body.page-template-template-legal .page-hero + .section .grid > .card:nth-child(1) h3,
body.page-template-template-legal .page-hero + .section .grid > .card:nth-child(1) p,
body.page-template-template-legal .page-hero + .section .grid > .card:nth-child(1) li {
  color: #fff;
}

body.page-template-template-support .page-hero + .section .grid > .card:nth-child(1) .icon-box,
body.page-template-template-report .page-hero + .section .grid > .card:nth-child(1) .icon-box,
body.page-template-template-legal .page-hero + .section .grid > .card:nth-child(1) .icon-box {
  color: #fff;
  background: rgba(255,255,255,0.14);
}

body.page-template-template-support .section:not(.white) .split,
body.page-template-template-report .section:not(.white) .split,
body.page-template-template-legal .section:not(.white) .split {
  grid-template-columns: minmax(0, 0.74fr) minmax(420px, 0.72fr);
  gap: 28px;
  align-items: stretch;
  border: 1px solid rgba(38, 100, 240, 0.12);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, #ffffff, #edf6ff),
    radial-gradient(circle at 100% 0, rgba(84,213,255,0.12), transparent 34%);
  box-shadow: 0 20px 52px rgba(38, 100, 240, 0.1);
}

body.page-template-template-support .section:not(.white) .split > div:first-child,
body.page-template-template-report .section:not(.white) .split > div:first-child,
body.page-template-template-legal .section:not(.white) .split > div:first-child {
  display: grid;
  align-content: center;
  border-radius: 8px;
  padding: 28px;
  background: #fff;
}

body.page-template-template-support .section:not(.white) .form,
body.page-template-template-report .section:not(.white) .card.pad,
body.page-template-template-legal .section:not(.white) .card.pad {
  height: 100%;
  border-color: rgba(38, 100, 240, 0.12);
  box-shadow: none;
}

body.page-template-template-report .report-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.page-template-template-report .report-row {
  min-height: 74px;
  border-color: rgba(38, 100, 240, 0.12);
  background: #f7fbff;
}

body.page-template-template-report .report-row:nth-child(2n) {
  background: #fff8f5;
}

body.page-template-template-report .report-row strong {
  border-radius: 8px;
  color: #fff;
  background: #2864f0;
}

body.page-template-template-legal .page-hero + .section {
  padding: 50px 0;
}

body.page-template-template-legal .page-hero + .section .section-head {
  margin-bottom: 22px;
}

body.page-template-template-legal .page-hero + .section .grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body.page-template-template-legal .page-hero + .section .grid > .card,
body.page-template-template-legal .page-hero + .section .grid > .card:nth-child(1),
body.page-template-template-legal .page-hero + .section .grid > .card:nth-child(2) {
  grid-column: auto;
  min-height: 0;
  padding: 22px;
  color: var(--cw-ink);
  background: #fff;
}

body.page-template-template-legal .page-hero + .section .grid > .card::after {
  display: none;
}

body.page-template-template-legal .page-hero + .section .grid > .card h3,
body.page-template-template-legal .page-hero + .section .grid > .card p,
body.page-template-template-legal .page-hero + .section .grid > .card li,
body.page-template-template-legal .page-hero + .section .grid > .card:nth-child(1) h3,
body.page-template-template-legal .page-hero + .section .grid > .card:nth-child(1) p,
body.page-template-template-legal .page-hero + .section .grid > .card:nth-child(1) li {
  color: var(--cw-ink);
}

body.page-template-template-legal .page-hero + .section .grid > .card .icon-box,
body.page-template-template-legal .page-hero + .section .grid > .card:nth-child(1) .icon-box {
  color: var(--cw-blue-700);
  background: var(--cw-blue-100);
}

body.page-template-template-legal .section:not(.white) {
  padding: 42px 0 58px;
}

body.page-template-template-legal .section:not(.white) .split {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.5fr);
  gap: 18px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

body.page-template-template-links .page-hero + .section .grid.cols-5 {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.42fr);
  gap: 18px;
  align-items: stretch;
}

body.page-template-template-links .friend-link-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-color: rgba(38, 100, 240, 0.14);
  padding: 30px;
  background:
    linear-gradient(135deg, #ffffff, #f3f9ff),
    radial-gradient(circle at 96% 8%, rgba(84,213,255,0.16), transparent 34%);
}

body.page-template-template-links .friend-link-card:first-child {
  color: #fff;
  background:
    linear-gradient(135deg, #1d2d90, #168cff),
    radial-gradient(circle at 92% 8%, rgba(255,255,255,0.2), transparent 34%);
}

body.page-template-template-links .friend-link-card:first-child h3,
body.page-template-template-links .friend-link-card:first-child p {
  color: #fff;
}

body.page-template-template-links .friend-link-card:first-child .icon-box {
  color: #fff;
  background: rgba(255,255,255,0.14);
}

body.page-template-template-links .friend-link-card::after {
  position: absolute;
  right: 22px;
  bottom: -18px;
  color: rgba(255,255,255,0.16);
  font-size: 74px;
  font-weight: 900;
  line-height: 1;
  content: "LINK";
}

body.page-template-template-sitemap .section {
  background: #fff;
}

body.page-template-template-sitemap .section:nth-of-type(even) {
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

body.page-template-template-sitemap .page-hero + .section .grid.cols-4,
body.page-template-template-sitemap .section .grid.cols-3 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

body.page-template-template-sitemap .page-hero + .section .grid > .card,
body.page-template-template-sitemap .section .grid.cols-3 > .card {
  grid-column: span 2;
  min-height: 190px;
  border-color: rgba(38, 100, 240, 0.12);
  background:
    linear-gradient(135deg, #ffffff, #f6fbff);
}

body.page-template-template-sitemap .page-hero + .section .grid > .card:nth-child(1),
body.page-template-template-sitemap .page-hero + .section .grid > .card:nth-child(2) {
  grid-column: span 3;
}

body.page-template-template-sitemap .page-hero + .section .grid > .card:nth-child(1) {
  color: #fff;
  background:
    linear-gradient(135deg, #1d2d90, #168cff),
    radial-gradient(circle at 92% 8%, rgba(255,255,255,0.18), transparent 34%);
}

body.page-template-template-sitemap .page-hero + .section .grid > .card:nth-child(1) h3,
body.page-template-template-sitemap .page-hero + .section .grid > .card:nth-child(1) p {
  color: #fff;
}

body.page-template-template-platforms .platform-layout {
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: 20px;
  border: 1px solid rgba(38, 100, 240, 0.12);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, #ffffff, #edf6ff),
    radial-gradient(circle at 100% 0, rgba(84,213,255,0.14), transparent 34%);
  box-shadow: 0 20px 52px rgba(38, 100, 240, 0.1);
}

body.page-template-template-platforms .platform-list {
  align-content: start;
}

body.page-template-template-platforms .platform-button {
  min-height: 58px;
  border-color: rgba(38, 100, 240, 0.12);
  background: rgba(255,255,255,0.88);
  box-shadow: none;
}

body.page-template-template-platforms .platform-button.active {
  background: linear-gradient(135deg, #2864f0, #168cff);
  color: #fff;
}

body.page-template-template-platforms .platform-panel {
  min-height: 350px;
  color: var(--cw-blue-950);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244,249,255,0.92)),
    radial-gradient(circle at 92% 12%, rgba(84,213,255,0.18), transparent 34%);
  box-shadow: inset 0 0 0 1px rgba(38, 100, 240, 0.1);
}

body.page-template-template-platforms .platform-panel.active {
  justify-content: start;
  gap: 28px;
}

body.page-template-template-platforms .platform-panel h3 {
  color: var(--cw-blue-950);
}

body.page-template-template-platforms .platform-panel p {
  color: #4a5d8a;
}

body.page-template-template-platforms .metric {
  border-color: rgba(38, 100, 240, 0.12);
  background: #fff;
}

body.page-template-template-platforms .metric-board {
  margin-top: 0;
}

body.page-template-template-platforms .metric strong {
  color: #2546c7;
}

body.page-template-template-platforms .metric span {
  color: #68769c;
}

body.page-template-template-platforms .page-hero + .section + .section .grid.cols-3 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

body.page-template-template-platforms .page-hero + .section + .section .grid.cols-3 > .card {
  grid-column: span 2;
}

body.page-template-template-platforms .page-hero + .section + .section .grid.cols-3 > .card:nth-child(1) {
  grid-column: span 3;
}

body.search-results .search-form-wide {
  grid-template-columns: minmax(0, 1fr) auto;
  border-color: rgba(38, 100, 240, 0.12);
  padding: 18px;
  background:
    linear-gradient(135deg, #ffffff, #f3f9ff);
  box-shadow: 0 18px 42px rgba(38, 100, 240, 0.08);
}

body.search-results .search-summary {
  border-color: rgba(255, 107, 74, 0.18);
  background: #fff8f5;
}

body.search-results .news-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

body.search-results .news-item {
  grid-column: span 3;
  border-color: rgba(38, 100, 240, 0.12);
  background: #fff;
}

body.search-results .news-item:first-child {
  grid-column: span 6;
  background:
    linear-gradient(135deg, #ffffff, #edf6ff),
    radial-gradient(circle at 94% 8%, rgba(84,213,255,0.14), transparent 34%);
}

@media (max-width: 1020px) {
  body.page-template-template-support .page-hero + .section .grid.cols-3,
  body.page-template-template-report .page-hero + .section .grid.cols-3,
  body.page-template-template-legal .page-hero + .section .grid.cols-2,
  body.page-template-template-links .page-hero + .section .grid.cols-5,
  body.page-template-template-sitemap .page-hero + .section .grid.cols-4,
  body.page-template-template-sitemap .section .grid.cols-3,
  body.page-template-template-platforms .platform-layout,
  body.page-template-template-platforms .page-hero + .section + .section .grid.cols-3,
  body.search-results .news-list {
    grid-template-columns: 1fr !important;
  }

  body.page-template-template-support .page-hero + .section .grid > .card,
  body.page-template-template-support .page-hero + .section .grid > .card:nth-child(1),
  body.page-template-template-support .page-hero + .section .grid > .card:nth-child(2),
  body.page-template-template-report .page-hero + .section .grid > .card,
  body.page-template-template-report .page-hero + .section .grid > .card:nth-child(1),
  body.page-template-template-report .page-hero + .section .grid > .card:nth-child(2),
  body.page-template-template-legal .page-hero + .section .grid > .card,
  body.page-template-template-legal .page-hero + .section .grid > .card:nth-child(1),
  body.page-template-template-legal .page-hero + .section .grid > .card:nth-child(2),
  body.page-template-template-sitemap .page-hero + .section .grid > .card,
  body.page-template-template-sitemap .page-hero + .section .grid > .card:nth-child(1),
  body.page-template-template-sitemap .page-hero + .section .grid > .card:nth-child(2),
  body.page-template-template-sitemap .section .grid.cols-3 > .card,
  body.page-template-template-platforms .page-hero + .section + .section .grid.cols-3 > .card,
  body.page-template-template-platforms .page-hero + .section + .section .grid.cols-3 > .card:nth-child(1),
  body.search-results .news-item,
  body.search-results .news-item:first-child {
    grid-column: auto !important;
    min-height: 0;
  }

  body.page-template-template-support .section:not(.white) .split,
  body.page-template-template-report .section:not(.white) .split,
  body.page-template-template-legal .section:not(.white) .split,
  body.search-results .search-form-wide {
    grid-template-columns: 1fr !important;
  }

  body.page-template-template-report .report-list {
    grid-template-columns: 1fr;
  }

  body.page-template-template-platforms .platform-panel {
    min-height: 0;
    padding: 22px;
  }

  body.page-template-template-platforms .platform-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 6px;
    scroll-snap-type: x proximity;
  }

  body.page-template-template-platforms .platform-button {
    flex: 0 0 min(220px, 72vw);
    min-height: 56px;
    scroll-snap-align: start;
  }

  body.page-template-template-platforms .metric-board {
    grid-template-columns: 1fr;
  }
}

/*
 * Edge-route polish: 404, standard news archives, and empty search states.
 */
body.error404 .page-hero + .section,
body.archive.category .page-hero + .section,
body.search-no-results .page-hero + .section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%),
    radial-gradient(circle at 92% 10%, rgba(84,213,255,0.16), transparent 28%);
}

body.error404 .page-hero + .section .split {
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.48fr);
  gap: 22px;
  align-items: stretch;
  border: 1px solid rgba(38, 100, 240, 0.12);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, #ffffff, #eef7ff),
    radial-gradient(circle at 100% 0, rgba(84,213,255,0.14), transparent 34%);
  box-shadow: 0 20px 52px rgba(38, 100, 240, 0.1);
}

body.error404 .page-hero + .section .split > div:first-child {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, #1d2d90, #168cff),
    radial-gradient(circle at 92% 8%, rgba(255,255,255,0.2), transparent 34%);
}

body.error404 .page-hero + .section .split > div:first-child::after {
  position: absolute;
  right: -10px;
  bottom: -34px;
  color: rgba(255,255,255,0.14);
  font-size: 128px;
  font-weight: 900;
  line-height: 1;
  content: "404";
}

body.error404 .page-hero + .section .section-kicker,
body.error404 .page-hero + .section .section-title,
body.error404 .page-hero + .section .section-desc {
  position: relative;
  z-index: 2;
  color: #fff;
}

body.error404 .not-found-links,
body.error404 .hero-actions {
  position: relative;
  z-index: 2;
}

body.error404 .not-found-links .tag {
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  background: rgba(255,255,255,0.12);
}

body.error404 .form {
  height: 100%;
  align-content: center;
  border-color: rgba(38, 100, 240, 0.12);
  box-shadow: none;
}

body.archive.category .news-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

body.archive.category .news-item {
  position: relative;
  grid-column: span 3;
  min-height: 186px;
  overflow: hidden;
  border-color: rgba(38, 100, 240, 0.12);
  background: #fff;
}

body.archive.category .news-item:first-child {
  grid-column: span 6;
  min-height: 214px;
  align-items: center;
  background:
    linear-gradient(135deg, #ffffff, #edf6ff),
    radial-gradient(circle at 94% 8%, rgba(84,213,255,0.14), transparent 34%);
}

body.archive.category .news-item:first-child::after {
  position: absolute;
  right: 18px;
  bottom: -24px;
  color: rgba(38, 100, 240, 0.06);
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
  content: "NEWS";
}

body.archive.category .news-item:nth-child(4n + 2) {
  border-color: rgba(255, 107, 74, 0.16);
  background:
    linear-gradient(135deg, #fff, #fff8f5);
}

body.archive.category .news-item h3 {
  font-size: 24px;
}

body.search .search-form-wide {
  border-color: rgba(38, 100, 240, 0.12);
  padding: 18px;
  background:
    linear-gradient(135deg, #ffffff, #f3f9ff);
  box-shadow: 0 18px 42px rgba(38, 100, 240, 0.08);
}

body.search-no-results .card.pad {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-color: rgba(255, 107, 74, 0.18);
  padding: 30px;
  background:
    linear-gradient(135deg, #fff, #fff8f5),
    radial-gradient(circle at 94% 8%, rgba(255,107,74,0.12), transparent 34%);
}

body.search-no-results .card.pad::after {
  position: absolute;
  right: 18px;
  bottom: -26px;
  color: rgba(255, 107, 74, 0.08);
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
  content: "EMPTY";
}

body.single-post .article-related-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.single-post .article-related-list a:first-child {
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, #ffffff, #edf6ff),
    radial-gradient(circle at 94% 8%, rgba(84,213,255,0.14), transparent 34%);
}

@media (max-width: 1020px) {
  body.error404 .page-hero + .section .split,
  body.archive.category .news-list,
  body.single-post .article-related-list,
  body.search .search-form-wide {
    grid-template-columns: 1fr !important;
  }

  body.error404 .page-hero + .section .split,
  body.error404 .page-hero + .section .split > div:first-child,
  body.search-no-results .card.pad {
    padding: 20px;
  }

  body.archive.category .news-item,
  body.archive.category .news-item:first-child,
  body.single-post .article-related-list a:first-child {
    grid-column: auto !important;
    min-height: 0;
  }

  body.archive.category .news-item h3 {
    font-size: 20px;
  }
}

/*
 * Global chrome refresh: navigation overlays, search panel, footer, and quick actions.
 */
.site-header {
  isolation: isolate;
}

.search-panel {
  border-top-color: rgba(38, 100, 240, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,250,255,0.98)),
    radial-gradient(circle at 88% 0, rgba(84,213,255,0.16), transparent 28%);
  box-shadow: 0 24px 58px rgba(38, 100, 240, 0.12);
}

.search-panel-inner {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 18px;
  align-items: center;
  padding: 20px 0;
}

.search-panel-form {
  border: 1px solid rgba(38, 100, 240, 0.12);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(38, 100, 240, 0.08);
}

.search-panel-form input {
  border-color: rgba(38, 100, 240, 0.14);
  background: #f8fbff;
}

.hot-products {
  border-left: 4px solid #ff6b4a;
  padding-left: 16px;
}

.hot-products .tag-row {
  margin-top: 10px;
}

.hot-products .tag {
  min-height: 30px;
  border: 1px solid rgba(38, 100, 240, 0.12);
  background: #fff;
}

.footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #1d2d90 0%, #244bd1 52%, #168cff 100%),
    radial-gradient(circle at 16% 12%, rgba(84,213,255,0.16), transparent 28%);
}

.footer::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  pointer-events: none;
}

.footer > * {
  position: relative;
  z-index: 2;
}

.footer-main {
  grid-template-columns: minmax(0, 1.25fr) minmax(160px, 0.55fr) minmax(160px, 0.55fr) minmax(240px, 0.7fr);
  gap: 34px;
}

.footer-contact-grid a {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
}

.footer-contact-grid a:hover,
.footer-links a:hover,
.footer-main a:hover {
  color: #fff;
}

.footer-qr {
  border: 8px solid rgba(255,255,255,0.9);
  box-shadow: 0 16px 34px rgba(16,36,92,0.22);
}

.float-actions {
  right: 18px;
  gap: 7px;
}

.float-actions a {
  position: relative;
  width: 58px;
  min-height: 58px;
  overflow: hidden;
  border-color: rgba(38, 100, 240, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,249,255,0.96));
  color: #2546c7;
}

.float-actions a:first-child {
  color: #fff;
  background: linear-gradient(135deg, #2864f0, #168cff);
}

.float-actions a:hover {
  background: linear-gradient(135deg, #1d2d90, #168cff);
}

@media (min-width: 1181px) {
  .nav-dropdown {
    backdrop-filter: blur(18px);
  }

  .nav-dropdown-grid a:nth-child(3n + 1) {
    background: rgba(238,247,255,0.72);
  }
}

/*
 * Kangwosi reference header alignment.
 * Matches the official white navigation bar, compact KW wordmark, and blue active menu pill.
 */
@media (min-width: 1181px) {
  .site-header {
    border-bottom: 1px solid rgba(12, 49, 115, 0.06);
    background: #fff;
    box-shadow: 0 1px 0 rgba(16, 36, 92, 0.04);
    backdrop-filter: none;
  }

  .site-header::before {
    display: none;
  }

  .header-inner {
    width: min(1202px, calc(100% - 88px));
    min-height: 72px;
    gap: 18px;
  }

  .brand {
    min-width: 290px;
  }

  .brand-wordmark .brand-logo {
    width: 270px;
  }

  .main-nav {
    flex: 1 1 auto;
    justify-content: flex-start;
    gap: 24px;
    min-height: 48px;
  }

  .main-nav > .nav-item > .nav-link {
    min-height: 40px;
    padding: 0 0;
    border-radius: 8px;
    color: #102b74;
    background: transparent;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    box-shadow: none;
  }

  .main-nav > .nav-item.has-dropdown > .nav-link {
    padding-right: 0;
  }

  .main-nav > .nav-item > .nav-link::after {
    display: none;
  }

  .nav-caret {
    width: 12px;
    height: 12px;
    margin-left: 2px;
    color: #395486;
  }

  .main-nav > .nav-item > .nav-link:hover {
    color: #1764e8;
    background: transparent;
  }

  .nav-item.active > .nav-link,
  .main-nav > .nav-item > .nav-link.active {
    min-height: 40px;
    padding: 0 12px;
    color: #102b74;
    background: #1f7af2;
    box-shadow: inset 0 -4px 0 rgba(16, 43, 116, 0.32);
  }

  .nav-item.active .nav-caret,
  .main-nav > .nav-item > .nav-link.active .nav-caret {
    color: #102b74;
  }

  .nav-item.active > .nav-link:hover,
  .main-nav > .nav-item > .nav-link.active:hover {
    color: #102b74;
    background: #1f7af2;
  }

  .header-actions {
    display: none;
  }

  .nav-dropdown {
    top: calc(100% + 16px);
    border-color: rgba(16, 43, 116, 0.1);
    background: #fff;
    box-shadow: 0 22px 50px rgba(16, 43, 116, 0.14);
  }

  .nav-dropdown-head {
    background: linear-gradient(135deg, #102b74, #1764e8);
  }
}

@media (max-width: 1180px) {
  body.menu-open::before {
    position: fixed;
    inset: 76px 0 0;
    z-index: 89;
    background: rgba(16, 36, 92, 0.18);
    content: "";
  }

  .main-nav {
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 16px 20px 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  body.menu-open .main-nav {
    display: grid;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-item {
    min-width: 0;
  }

  .main-nav > .nav-item > .nav-link {
    justify-content: flex-start;
    padding: 0 14px;
    text-align: left;
  }

  .nav-dropdown {
    grid-column: 1 / -1;
    margin: -2px 0 4px;
    background:
      linear-gradient(135deg, #ffffff, #eef7ff);
  }

  .nav-item.active .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    display: grid;
  }

  .nav-dropdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-dropdown a {
    justify-content: flex-start;
    text-align: left;
  }

  .search-panel {
    position: fixed;
    inset: 76px 0 auto;
    z-index: 95;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .search-panel-inner {
    grid-template-columns: 1fr;
  }

  .hot-products {
    border-left: 0;
    border-top: 4px solid #ff6b4a;
    padding: 14px 0 0;
  }
}

@media (max-width: 760px) {
  .main-nav {
    grid-template-columns: 1fr;
    padding: 12px 20px 18px;
  }

  .nav-dropdown-grid {
    grid-template-columns: 1fr;
  }

  .search-panel-form {
    grid-template-columns: 1fr;
  }

  .search-panel-form .cw-button,
  .search-panel-form .icon-button {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

/*
 * Mobile navigation state hardening.
 * Keep this late so it wins over the older responsive navigation blocks.
 */
@media (max-width: 1180px) {
  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .site-header {
    z-index: 240;
    overflow: visible !important;
  }

  body.menu-open .header-inner {
    overflow: visible !important;
  }

  body.menu-open::before {
    position: fixed;
    top: 66px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 180;
    background: rgba(22, 49, 115, 0.2);
    content: "";
  }

  body.menu-open .main-nav,
  .site-header:has([data-menu-toggle][aria-expanded="true"]) .main-nav {
    position: fixed !important;
    top: 66px;
    right: 0;
    left: 0;
    z-index: 242;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    padding: 16px 20px 22px;
    border-top: 1px solid rgba(38, 100, 240, 0.14);
    border-bottom: 1px solid rgba(38, 100, 240, 0.16);
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.99), rgba(241,247,255,0.98)),
      radial-gradient(circle at 14% 0, rgba(22,140,255,0.16), transparent 36%);
    box-shadow: 0 24px 54px rgba(20, 45, 112, 0.18);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body.menu-open .main-nav > .nav-item,
  .site-header:has([data-menu-toggle][aria-expanded="true"]) .main-nav > .nav-item {
    display: grid;
    min-width: 0;
  }

  body.menu-open .main-nav > .nav-item > .nav-link,
  .site-header:has([data-menu-toggle][aria-expanded="true"]) .main-nav > .nav-item > .nav-link {
    min-height: 48px;
    justify-content: flex-start;
    padding: 0 14px;
    border: 1px solid rgba(38, 100, 240, 0.12);
    background: rgba(255, 255, 255, 0.9);
    color: #12327a;
    text-align: left;
    white-space: normal;
  }

  body.menu-open .main-nav > .nav-item.active > .nav-link,
  body.menu-open .main-nav > .nav-item > .nav-link.active,
  .site-header:has([data-menu-toggle][aria-expanded="true"]) .main-nav > .nav-item.active > .nav-link,
  .site-header:has([data-menu-toggle][aria-expanded="true"]) .main-nav > .nav-item > .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #2864f0, #1f38b8);
  }

  body.menu-open .nav-dropdown,
  .site-header:has([data-menu-toggle][aria-expanded="true"]) .nav-dropdown {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    width: auto;
    margin: 0 0 6px;
    border-color: rgba(38, 100, 240, 0.12);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

@media (max-width: 760px) {
  body.menu-open .main-nav,
  .site-header:has([data-menu-toggle][aria-expanded="true"]) .main-nav {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 20px 18px;
  }
}

/*
 * Mobile overlay finish: menu and search behave as full panels instead of
 * short floating blocks over page content.
 */
@media (max-width: 760px) {
  body.menu-open .main-nav,
  .site-header:has([data-menu-toggle][aria-expanded="true"]) .main-nav {
    top: 74px !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    height: calc(100vh - 66px) !important;
    min-height: calc(100vh - 66px);
    max-height: calc(100vh - 66px);
    align-content: start;
    overflow-y: auto;
    transform: none !important;
    background:
      linear-gradient(180deg, #ffffff 0%, #f4f8ff 56%, #eef5ff 100%),
      radial-gradient(circle at 100% 0, rgba(40,100,240,0.12), transparent 36%);
  }

  body.menu-open .main-nav::after,
  .site-header:has([data-menu-toggle][aria-expanded="true"]) .main-nav::after {
    display: block;
    min-height: 24px;
    content: "";
  }

  .site-header:has(.search-panel:not([hidden])) {
    z-index: 240;
    overflow: visible !important;
  }

  .site-header:has(.search-panel:not([hidden])) .header-inner {
    overflow: visible !important;
  }

  .search-panel:not([hidden]) {
    position: fixed;
    inset: 66px 0 0 0 !important;
    z-index: 242;
    display: block;
    width: 100vw;
    height: calc(100vh - 66px) !important;
    min-height: calc(100vh - 66px);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    border-top: 1px solid rgba(38, 100, 240, 0.14);
    background:
      linear-gradient(180deg, #ffffff 0%, #f5f9ff 58%, #eef5ff 100%);
    box-shadow: 0 26px 58px rgba(20, 45, 112, 0.2);
  }

  .search-panel:not([hidden]) .search-panel-inner {
    width: calc(100% - 40px);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 14px 0 28px;
  }

  .search-panel:not([hidden]) .search-panel-form {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(38, 100, 240, 0.12);
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
  }

  .search-panel:not([hidden]) .search-panel-form input,
  .search-panel:not([hidden]) .search-panel-form .cw-button,
  .search-panel:not([hidden]) .search-panel-form .icon-button {
    width: 100%;
  }

  .search-panel:not([hidden]) .hot-products {
    padding: 14px;
    border: 1px solid rgba(38, 100, 240, 0.12);
    border-radius: 8px;
    background: rgba(255,255,255,0.86);
  }
}

/*
 * Mobile detail page tightening.
 */
@media (max-width: 760px) {
  body.single-ctrlworks_product .article-main,
  body.single-ctrlworks_solution .article-main,
  body.single-ctrlworks_case .article-main,
  body.single-post .article-main {
    padding: 16px;
  }

  body.single-ctrlworks_product .product-detail-overview {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  body.single-ctrlworks_product .business-cover.is-product-cover {
    width: 100%;
    max-width: 460px;
    aspect-ratio: 460 / 320;
    padding: 0;
  }

  body.single-ctrlworks_product .business-cover.is-product-cover img {
    max-height: none;
    object-fit: contain;
  }

  body.single-ctrlworks_product .product-detail-summary h2,
  body.single-ctrlworks_solution .article-content h2,
  body.single-ctrlworks_case .article-content h2,
  body.single-post .article-content h2 {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.22;
  }

  body.single-ctrlworks_product .product-detail-summary p,
  body.single-ctrlworks_solution .article-content p,
  body.single-ctrlworks_case .article-content p,
  body.single-post .article-content p {
    line-height: 1.78;
  }

  body.single-ctrlworks_product .business-tags,
  body.single-ctrlworks_solution .business-tags,
  body.single-ctrlworks_case .business-tags {
    gap: 8px;
  }

  body.single-ctrlworks_product .business-tags span,
  body.single-ctrlworks_solution .business-tags span,
  body.single-ctrlworks_case .business-tags span {
    min-height: 34px;
  }
}

/*
 * Footer console layout.
 */
.footer {
  background:
    radial-gradient(circle at 8% 0, rgba(79, 209, 255, 0.18), transparent 30%),
    radial-gradient(circle at 100% 24%, rgba(255, 116, 79, 0.13), transparent 28%),
    linear-gradient(135deg, #10245c 0%, #18377d 54%, #2546c7 100%);
}

.footer-main {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.36fr) minmax(180px, 0.36fr) minmax(220px, 0.46fr);
  gap: 22px;
  align-items: start;
  padding: 36px 0 28px;
}

.footer-brand {
  display: grid;
  grid-template-columns: minmax(260px, 0.56fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.footer-brand-logo {
  display: flex;
  width: min(260px, 100%);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 8px;
  padding: 6px 10px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.footer-brand-logo img {
  width: 238px;
  height: auto;
}

.footer-brand p {
  max-width: 460px;
}

.footer-contact-grid {
  margin-top: 0;
}

.footer-contact-grid a {
  min-height: 66px;
  border-color: rgba(255,255,255,0.18);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0.05));
}

.footer-contact-grid a:nth-child(1) {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.2), rgba(47,125,246,0.22));
}

.footer-main > div:not(.footer-brand) {
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 18px;
}

.footer-main > div:not(.footer-brand) h3 {
  color: #d9f7ff;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-main > div:not(.footer-brand) a {
  width: fit-content;
  border-radius: 8px;
  padding: 2px 0;
}

.footer-links {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border-top-color: rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links a {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.footer-bottom {
  border-top: 0;
}

/*
 * Official kangwosi.cn flat header navigation.
 * Top navigation intentionally uses first-level links only.
 */
.site-header {
  z-index: 150;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.site-header::before {
  display: none;
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  gap: 22px;
}

.brand {
  min-width: 270px;
}

.brand-wordmark .brand-logo,
.brand-logo {
  width: 270px;
  height: 39px;
  object-fit: contain;
}

.main-nav {
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 28px;
  min-height: 74px;
}

.nav-item {
  display: flex;
}

.main-nav > .nav-item > .nav-link {
  display: inline-flex;
  min-height: 72px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #1f2a3d;
  background: transparent;
  box-shadow: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.main-nav > .nav-item > .nav-link::after {
  position: static;
  display: none;
  width: 18px;
  height: 3px;
  margin-left: 8px;
  border-radius: 0;
  background: #18b7ff;
  opacity: 1;
  transform: none;
}

.main-nav > .nav-item > .nav-link:hover,
.main-nav > .nav-item > .nav-link.active,
.nav-item.active > .nav-link {
  color: #0b5cff;
  background: transparent;
  box-shadow: none;
}

.main-nav > .nav-item > .nav-link:hover::after,
.main-nav > .nav-item > .nav-link.active::after,
.nav-item.active > .nav-link::after {
  display: block;
}

.nav-caret,
.nav-dropdown {
  display: none !important;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.header-phone {
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #0b5cff;
  font-size: 15px;
  font-weight: 800;
}

.header-phone svg {
  display: none;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  color: #063179;
  background: transparent;
  box-shadow: none;
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1180px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .footer-main,
  .footer-brand {
    grid-template-columns: 1fr;
  }

  .footer-main > div:not(.footer-brand) {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 16px 0 0;
  }

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

/*
 * Product image sizing: product media uses the source artwork frame instead of
 * oversized decorative containers. The requested working ratio is 460:320.
 */
.product-card .product-visual,
.business-related-grid .product-visual,
.product-platform-grid .platform-card-visual.has-image,
.solution-foundation-products .platform-card-visual.has-image,
.business-cover.is-product-cover,
.product-official-content img {
  aspect-ratio: 460 / 320 !important;
  border: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(38, 100, 240, 0.14);
}

.product-card .product-visual img,
.business-related-grid .product-visual img,
.product-platform-grid .platform-card-visual.has-image img,
.solution-foundation-products .platform-card-visual.has-image img,
.business-cover.is-product-cover img,
.product-official-content img {
  width: 100%;
  height: 100%;
  padding: 0 !important;
  object-fit: contain;
  object-position: center;
}

body.page-template-template-products .product-grid .product-card:first-child .product-visual,
body.single-ctrlworks_product .business-cover.is-product-cover {
  width: min(100%, 460px) !important;
  max-width: 460px !important;
  min-height: 0 !important;
  height: auto !important;
  margin-right: auto;
  margin-left: auto;
}

body.page-template-template-products .product-platform-grid .platform-card-visual.has-image,
.solution-foundation-products .platform-card-visual.has-image,
.product-official-content img {
  width: min(100%, 460px) !important;
  max-width: 460px !important;
  min-height: 0 !important;
  height: auto !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.page-template-template-products .product-grid .product-card:nth-child(2) .product-visual,
body.page-template-template-products .product-grid .product-card:nth-child(3) .product-visual {
  min-height: 0 !important;
  height: auto !important;
}

body.page-template-template-products .product-platform-grid .platform-card:first-child .platform-card-visual.has-image,
body.page-template-template-products .product-grid .product-card:first-child .product-visual,
body.page-template-template-products .product-grid .product-card:nth-child(2) .product-visual,
body.page-template-template-products .product-grid .product-card:nth-child(3) .product-visual,
body.page-template-template-products .product-grid .product-card .product-visual {
  border-right: 0 !important;
  border-bottom: 0 !important;
}

/*
 * Product archive layout refinement: keep the discovery block compact enough
 * that product sections enter the first viewport while retaining readable cards.
 */
@media (min-width: 1021px) {
  body.page-template-template-products .page-hero + .section {
    padding-top: 38px;
  }

  body.page-template-template-products .section-head {
    max-width: 760px;
    margin-bottom: 22px;
  }

  body.page-template-template-products .product-track-panel {
    grid-template-columns: minmax(340px, 0.66fr) minmax(0, 1.34fr);
    gap: 14px;
    margin: 24px 0 28px;
    padding: 12px;
  }

  body.page-template-template-products .product-track-head {
    gap: 8px;
    padding: 22px;
  }

  body.page-template-template-products .product-track-head h2 {
    font-size: 25px;
    line-height: 1.2;
    text-wrap: balance;
  }

  body.page-template-template-products .product-track-head p {
    font-size: 15px;
    line-height: 1.66;
  }

  body.page-template-template-products .product-track-grid {
    gap: 10px;
  }

  body.page-template-template-products .product-track-item {
    gap: 8px;
    min-height: 190px;
    padding: 16px;
  }

  body.page-template-template-products .product-track-item .icon-box {
    width: 40px;
    height: 40px;
  }

  body.page-template-template-products .product-track-item strong {
    font-size: 18px;
  }

  body.page-template-template-products .product-track-item p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.58;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body.page-template-template-products .product-track-tags {
    gap: 6px;
    margin-top: 0;
  }

  body.page-template-template-products .product-track-tags em {
    min-height: 23px;
    padding: 0 7px;
  }
}

@media (min-width: 761px) and (max-width: 1020px) {
  body.page-template-template-products .product-track-panel {
    grid-template-columns: 1fr;
  }

  body.page-template-template-products .product-track-head {
    min-height: 180px;
  }

  body.page-template-template-products .product-track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.page-template-template-products .product-track-panel {
    margin: 22px 0 28px;
    padding: 12px;
  }

  body.page-template-template-products .product-track-head {
    padding: 18px 16px;
  }

  body.page-template-template-products .product-track-head h2 {
    font-size: 24px;
  }

  body.page-template-template-products .product-track-head p {
    line-height: 1.72;
  }

  body.page-template-template-products .product-track-item {
    min-height: 0;
    padding: 16px;
  }

  body.home .product-visual,
  body.home .kw-product-mosaic .product-visual,
  body.page-template-template-products .product-grid .product-card:first-child .product-visual,
  body.page-template-template-products .product-grid .product-card:nth-child(2) .product-visual,
  body.page-template-template-products .product-grid .product-card:nth-child(3) .product-visual,
  body.single-ctrlworks_product .business-cover.is-product-cover {
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 460 / 320 !important;
  }
}

/*
 * Final header override: mirror kangwosi.cn flat first-level navigation.
 */
.site-header {
  z-index: 150 !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: none !important;
  backdrop-filter: blur(16px);
}

.site-header::before {
  display: none !important;
}

.header-inner {
  width: min(1180px, calc(100% - 40px)) !important;
  min-height: 74px !important;
  gap: 22px !important;
}

.brand {
  min-width: 270px !important;
}

.brand-wordmark .brand-logo,
.brand-logo {
  width: 270px !important;
  height: 39px !important;
  object-fit: contain;
}

.main-nav {
  flex: 1 1 auto !important;
  min-height: 74px !important;
  justify-content: flex-start !important;
  gap: 28px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.main-nav > .nav-item {
  display: flex !important;
}

.main-nav > .nav-item > .nav-link {
  display: inline-flex !important;
  min-height: 72px !important;
  align-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #1f2a3d !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.main-nav > .nav-item > .nav-link::after {
  position: static !important;
  display: none !important;
  width: 18px !important;
  height: 3px !important;
  margin-left: 8px !important;
  border-radius: 0 !important;
  background: #18b7ff !important;
  content: "" !important;
  opacity: 1 !important;
  transform: none !important;
}

.main-nav > .nav-item > .nav-link:hover,
.main-nav > .nav-item > .nav-link.active,
.main-nav > .nav-item.active > .nav-link {
  color: #0b5cff !important;
  background: transparent !important;
  box-shadow: none !important;
}

.main-nav > .nav-item > .nav-link:hover::after,
.main-nav > .nav-item > .nav-link.active::after,
.main-nav > .nav-item.active > .nav-link::after {
  display: block !important;
}

.nav-caret,
.nav-dropdown {
  display: none !important;
}

.header-actions {
  display: flex !important;
  gap: 12px !important;
}

.header-phone {
  min-height: 42px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 4px !important;
  color: #fff !important;
  background: #0b5cff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.header-phone svg {
  display: none !important;
}

.icon-button {
  width: 42px !important;
  height: 42px !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #063179 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.icon-button svg {
  width: 20px !important;
  height: 20px !important;
}

@media (max-width: 1180px) {
  .brand {
    min-width: 220px !important;
  }

  .brand-wordmark .brand-logo,
  .brand-logo {
    width: 220px !important;
    height: auto !important;
  }

  .main-nav {
    position: fixed !important;
    top: 74px !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 242 !important;
    display: none !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    min-height: 0 !important;
    max-height: calc(100vh - 74px) !important;
    overflow-y: auto !important;
    padding: 8px 20px 18px !important;
    border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 24px 54px rgba(20, 45, 112, 0.14) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body.menu-open .main-nav,
  .site-header:has([data-menu-toggle][aria-expanded="true"]) .main-nav {
    display: grid !important;
  }

  .main-nav > .nav-item {
    border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  }

  .main-nav > .nav-item > .nav-link {
    min-height: 54px !important;
    width: 100% !important;
    justify-content: flex-start !important;
    font-size: 17px !important;
  }

  .main-nav > .nav-item > .nav-link::after {
    margin-left: 10px !important;
  }
}

@media (max-width: 760px) {
  .header-inner {
    width: min(100% - 32px, 1180px) !important;
    min-height: 66px !important;
  }

  .brand {
    min-width: 178px !important;
  }

  .brand-wordmark .brand-logo,
  .brand-logo {
    width: 178px !important;
  }

  .header-phone {
    display: none !important;
  }

  .main-nav {
    top: 66px !important;
    max-height: calc(100vh - 66px) !important;
  }
}

/*
 * Platform detail media flow: keep the source image intact and let body copy
 * wrap around it on desktop.
 */
body.single-ctrlworks_platform .article-main.business-detail {
  display: flow-root;
}

body.single-ctrlworks_platform .article-main > .business-cover {
  float: left;
  width: min(48%, 520px);
  max-width: 520px;
  min-width: 320px;
  height: auto !important;
  margin: 0 24px 18px 0;
  aspect-ratio: auto !important;
  overflow: hidden;
  border-color: rgba(38, 100, 240, 0.14);
  background: #f7fbff;
  box-shadow: inset 0 0 0 1px rgba(38, 100, 240, 0.08);
}

body.single-ctrlworks_platform .article-main > .business-cover img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  padding: 0;
  object-fit: contain !important;
  object-position: center;
}

body.single-ctrlworks_platform .article-main > .business-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

body.single-ctrlworks_platform .article-content {
  display: block;
}

body.single-ctrlworks_platform .article-content p {
  margin: 0 0 14px;
}

body.single-ctrlworks_platform .article-content h2,
body.single-ctrlworks_platform .article-content h3 {
  margin: 18px 0 10px;
  border-left: 4px solid #ff6b4a;
  padding-left: 14px;
}

body.single-ctrlworks_platform .business-process,
body.single-ctrlworks_platform .article-nav {
  clear: both;
}

@media (max-width: 900px) {
  body.single-ctrlworks_platform .article-main > .business-cover {
    float: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0 0 18px;
  }
}

/*
 * Home solution image cards need white titles over the dark overlay.
 */
body.home .kw-solution-route .solution-card h3 {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(6, 21, 39, 0.42);
}

/*
 * Final fixed header behavior.
 * Keep the main navigation locked to the top while the page scrolls.
 */
body {
  padding-top: 74px;
}

.site-header {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 300 !important;
}

.admin-bar .site-header {
  top: 32px !important;
}

.footer-icp {
  color: inherit;
  text-decoration: none;
}

.footer-icp:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  body {
    padding-top: 66px;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px !important;
  }
}
