/* Theme Name: ZeroY Industrial Theme */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

.container {
  width: min(calc(100% - 96px), var(--max));
  margin: auto;
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

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

.eyebrow:before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -.025em;
}

h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.08;
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.18;
  font-weight: 650;
}

h3 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 650;
}

h4 {
  font-size: 16px;
  font-weight: 650;
}

p {
  margin: 0;
}

.lead {
  font-size: 18px;
  line-height: 1.65;
  color: #5C5C59;
}

.small {
  font-size: 14px;
  color: var(--muted);
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: -.02em;
}

/* Header */
.header {
  position: relative;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(232, 232, 228, .92);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--primary-dark);
  font-weight: 750;
  letter-spacing: .02em;
}

.brandmark {
  width: 32px;
  height: 32px;
  border: 2px solid var(--primary);
  position: relative;
}

.brandmark:before, .brandmark:after {
  content: "";
  position: absolute;
  background: var(--accent);
}

.brandmark:before {
  width: 16px;
  height: 2px;
  top: 9px;
  left: 6px;
}

.brandmark:after {
  height: 16px;
  width: 2px;
  left: 14px;
  top: 6px;
}

.navlinks {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: #555553;
  align-items: center;
}

.navlinks a:hover, .navlinks a.active {
  color: var(--primary);
}

.nav-cta {
  padding: 8px 18px !important;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--primary-light) !important;
}

/* Hero */
.hero {
  padding: 80px 0 64px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 650;
  border: 1.5px solid transparent;
  transition: .2s ease;
  cursor: pointer;
}

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

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

.btn-secondary {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

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

.engineering-panel {
  min-height: 440px;
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.engineering-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(26,58,92,.055) 1px, transparent 1px), linear-gradient(to bottom, rgba(26,58,92,.055) 1px, transparent 1px);
  background-size: 28px 28px;
}

.machine {
  position: absolute;
  inset: 72px 42px 46px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.module {
  background: #fff;
  border: 1px solid #BFC6CB;
  box-shadow: 0 2px 0 rgba(15,38,64,.05);
  position: relative;
}

.module:after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -9px;
  height: 9px;
  background: #AEB7BD;
}

.m1 { width: 16%; height: 50%; }
.m2 { width: 20%; height: 68%; }
.m3 { width: 28%; height: 84%; }
.m4 { width: 18%; height: 60%; }
.m5 { width: 12%; height: 42%; }

.module span {
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 10px;
  color: var(--primary);
  font-family: var(--font-mono);
}

.module b {
  position: absolute;
  left: 10px;
  bottom: 11px;
  font-size: 11px;
  color: #777;
  font-weight: 600;
}

.goldline {
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  height: 2px;
  background: var(--accent);
  opacity: .9;
}

.spec-tag {
  position: absolute;
  right: 24px;
  top: 24px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--primary-dark);
}

/* =========================================================
   COMPANY HERO BANNER (Under Company Name)
========================================================= */
.company-hero-banner {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.banner-inner {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.banner-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.banner-tag {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: .08em;
  display: inline-block;
  margin-bottom: 14px;
}

.banner-content h2 {
  color: #ffffff;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.banner-content p {
  color: #BAC8D4;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 640px;
}

.banner-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.b-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--accent-light);
}

.schematic-box {
  background: rgba(15, 38, 64, 0.85);
  border: 1px solid rgba(200, 169, 110, 0.4);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.sch-title {
  color: var(--accent);
  font-size: 12px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: .06em;
}

.sch-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.sch-row span {
  color: #8E9EA9;
}

.sch-row strong {
  color: #FFFFFF;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.stat {
  padding: 30px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 8px;
}

.stat span {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.4;
  display: block;
}

/* Section Heads */
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head p {
  max-width: 560px;
}

/* =========================================================
   TIMELINE SECTION (2008, 2014, 2020, 2026)
========================================================= */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.timeline-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.timeline-card.current-year {
  border: 1.5px solid var(--accent);
  background: #FFFEFA;
}

.timeline-visual {
  height: 160px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  padding: 16px;
}

.timeline-mesh {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, transparent 48%, rgba(26,58,92,.05) 49%, rgba(26,58,92,.05) 51%, transparent 52%);
  background-size: 16px 16px;
}

.t-schematic {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.t-schematic span {
  font-size: 11px;
  color: var(--primary-light);
  font-weight: 600;
}

.t-blueprint-line {
  height: 2px;
  background: #C4CCD1;
  width: 70%;
  position: relative;
}

.t-blueprint-line.active {
  background: var(--accent);
  width: 90%;
}

.t-gear-symbol {
  width: 36px;
  height: 36px;
  border: 3px dashed var(--primary-light);
  border-radius: 50%;
  align-self: flex-end;
}

.t-bar-symbol {
  width: 60px;
  height: 20px;
  border: 2px solid var(--primary);
  background: rgba(26,58,92,.08);
  align-self: flex-end;
}

.t-wave-symbol {
  width: 70px;
  height: 24px;
  border-top: 2px solid var(--primary-light);
  border-bottom: 2px solid var(--primary-light);
  align-self: flex-end;
}

.t-star-symbol {
  width: 38px;
  height: 38px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  align-self: flex-end;
}

.timeline-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.timeline-year {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1;
}

.timeline-year.highlight {
  color: var(--primary-dark);
}

.timeline-body h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.timeline-body p {
  color: #656562;
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

/* =========================================================
   GLOBAL RADAR FOOTPRINT (Radiating from Suzhou)
========================================================= */
.world-radar-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.radar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #FAFBFB;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.radar-title {
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: .04em;
}

.radar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4A5B68;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #2E7D5B;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(46, 125, 91, 0.4);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 125, 91, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(46, 125, 91, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 125, 91, 0); }
}

.map-stage {
  padding: 30px;
  background: #FCFCFA;
  border-bottom: 1px solid var(--line);
}

.world-svg {
  width: 100%;
  height: auto;
  max-height: 480px;
  display: block;
}

.map-label {
  font-size: 11px;
  fill: var(--primary);
  font-weight: 600;
  letter-spacing: .06em;
}

.origin-label {
  font-size: 12px;
  fill: #0F2640;
  font-weight: 750;
  letter-spacing: .08em;
}

/* Radar & Emission Animations */
.radar-ring {
  transform-origin: 740px 205px;
  animation: radarPulse 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  opacity: 0;
}

.radar-ring.r1 { animation-delay: 0s; }
.radar-ring.r2 { animation-delay: 0.75s; }
.radar-ring.r3 { animation-delay: 1.5s; }
.radar-ring.r4 { animation-delay: 2.25s; }

@keyframes radarPulse {
  0% { transform: scale(0.2); opacity: 1; }
  80% { opacity: 0.4; }
  100% { transform: scale(1.8); opacity: 0; }
}

.radiate-path {
  stroke-dashoffset: 100;
  animation: dashEmission 3.5s linear infinite;
}

.radiate-path.delay-1 { animation-delay: 0.5s; }
.radiate-path.delay-2 { animation-delay: 1s; }
.radiate-path.delay-3 { animation-delay: 1.5s; }
.radiate-path.delay-4 { animation-delay: 2s; }
.radiate-path.delay-5 { animation-delay: 2.5s; }

@keyframes dashEmission {
  0% { stroke-dashoffset: 100; opacity: 0.3; }
  50% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.3; }
}

.radar-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
}

.r-metric {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.r-metric:last-child {
  border-right: 0;
}

.r-metric span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
  display: block;
  margin-bottom: 6px;
}

.r-metric strong {
  display: block;
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.r-metric p {
  font-size: 13px;
  color: #6C6C68;
  line-height: 1.5;
}

/* Grid & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: .3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-visual {
  height: 200px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.card-visual .mesh {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, transparent 48%, rgba(26,58,92,.06) 49%, rgba(26,58,92,.06) 51%, transparent 52%);
  background-size: 24px 24px;
}

.card-visual .frame {
  position: absolute;
  inset: 32px;
  border: 1px solid #B8C0C5;
}

.card-visual .bar {
  position: absolute;
  height: 12px;
  background: #D6DADC;
  border: 1px solid #B7BFC4;
}

.bar.a { left: 13%; right: 16%; top: 34%; }
.bar.b { left: 20%; right: 8%; top: 52%; }
.bar.c { left: 10%; right: 28%; top: 69%; }

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  margin-bottom: 10px;
}

.card-body p {
  color: #686865;
  font-size: 15px;
  line-height: 1.6;
  flex-grow: 1;
}

.specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.chip {
  padding: 5px 9px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12px;
  color: #555;
  border-radius: var(--radius);
}

/* Narrative Two-Column Profile */
.profile-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px;
  border-radius: var(--radius);
}

.profile-box h3 {
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.profile-box p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.profile-box p:last-child {
  margin-bottom: 0;
}

/* Process Flow */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
}

.step {
  padding: 26px 22px;
  min-height: 180px;
  border-right: 1px solid var(--line);
  position: relative;
}

.step:last-child {
  border-right: 0;
}

.step-num {
  font: 700 13px/1 var(--font-mono);
  color: var(--accent);
}

.step h4 {
  margin-top: 36px;
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--primary-dark);
}

.step p {
  font-size: 13px;
  color: #6A6A67;
  line-height: 1.55;
}

/* Dark Tone Quote */
.dark {
  background: var(--primary-dark);
  color: #D9E0E5;
  border-top: 0;
}

.dark h2, .dark h3, .dark h4 {
  color: #fff;
}

.dark .eyebrow {
  color: var(--accent);
}

.dark .eyebrow:before {
  background: var(--accent);
}

.quote {
  border-left: 2px solid var(--accent);
  padding: 20px 0 20px 24px;
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.45;
  color: #fff;
  max-width: 880px;
}

.dark-meta {
  margin-top: 24px;
  font: 500 13px/1.6 var(--font-mono);
  color: #A9B7C1;
}

/* Footer */
footer {
  background: #0B1D30;
  color: #AEBBC5;
  padding: 64px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: start;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
  font-size: 20px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-sub {
  font-size: 14px;
  color: #8C9CA8;
  margin-top: 12px;
  line-height: 1.6;
  max-width: 580px;
}

.footer-meta {
  margin-top: 18px;
  font-size: 12px;
  color: var(--accent);
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-item strong {
  color: #ffffff;
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.footer-item p {
  font-size: 14px;
  color: #B4C1CC;
  line-height: 1.5;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6C7D8C;
}

/* Responsive */
@media (max-width: 980px) {
  .container { width: min(calc(100% - 64px), var(--max)); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .engineering-panel { min-height: 360px; }
  .banner-inner { grid-template-columns: 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .radar-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .r-metric:nth-child(2) { border-right: 0; }
  .r-metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .step:nth-child(even) { border-right: 0; }
  .step:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 767px) {
  .container { width: calc(100% - 36px); }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 40px; }
  .company-hero-banner { padding: 40px 0; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .timeline-grid { grid-template-columns: 1fr; }
  .radar-metrics-grid { grid-template-columns: 1fr; }
  .r-metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .r-metric:last-child { border-bottom: 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
  .grid-4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .nav { height: auto; padding: 14px 0; flex-direction: column; gap: 12px; }
}

/* SINOTOP test page */
.sinotop-showcase { color: #24364a; }
.sinotop-showcase .st-hero {
  position: relative;
  overflow: hidden;
  padding: 84px max(48px, calc((100vw - var(--max)) / 2));
  background: var(--primary-dark);
  color: #fff;
}
.sinotop-showcase .st-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -150px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(200, 169, 110, .32);
  transform: rotate(28deg);
}
.sinotop-showcase .st-kicker,
.sinotop-showcase .st-label {
  display: inline-block;
  color: #b58d48;
  font: 600 12px/1.5 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.sinotop-showcase .st-kicker { margin-bottom: 20px; color: #d8b870; }
.sinotop-showcase .st-hero h2 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.sinotop-showcase .st-hero p {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-bottom: 30px;
  color: #c3ced9;
  font-size: 18px;
  line-height: 1.7;
}
.sinotop-showcase .st-actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.sinotop-showcase .st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
}
.sinotop-showcase .st-btn.alt { border-color: #6c7d8e; background: transparent; color: #fff; }
.sinotop-showcase .st-btn:hover { background: #d7bd89; }
.sinotop-showcase .st-btn.alt:hover { border-color: #fff; background: transparent; }
.sinotop-showcase .st-section { padding: 76px max(48px, calc((100vw - var(--max)) / 2)); }
.sinotop-showcase .st-section.alt { background: var(--surface); }
.sinotop-showcase .st-head {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(280px, 1.3fr);
  gap: 40px;
  margin-bottom: 38px;
}
.sinotop-showcase .st-head h2,
.sinotop-showcase .st-note h2 {
  color: var(--primary);
  font-size: clamp(29px, 3vw, 42px);
}
.sinotop-showcase .st-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sinotop-showcase .st-card {
  min-height: 205px;
  padding: 27px 22px;
  background: #fff;
  border: 1px solid #e4e4df;
  border-top: 3px solid var(--primary);
}
.sinotop-showcase .st-card b { display: block; margin-bottom: 13px; color: #b58d48; font: 600 12px var(--font-mono); }
.sinotop-showcase .st-card h3 { margin-bottom: 10px; color: var(--primary-dark); font-size: 20px; }
.sinotop-showcase .st-card p { color: #68727d; font-size: 14px; line-height: 1.65; }
.sinotop-showcase .st-note { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.sinotop-showcase .st-note .st-label { margin-bottom: 12px; }
.sinotop-showcase .st-note p { margin-bottom: 16px; color: #596675; line-height: 1.75; }
.sinotop-showcase .st-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #dfe3e5; border: 1px solid #dfe3e5; }
.sinotop-showcase .st-step { padding: 27px 24px; background: #fff; }
.sinotop-showcase .st-step span { color: #b58d48; font: 700 13px var(--font-mono); }
.sinotop-showcase .st-step h3 { margin: 13px 0 8px; color: var(--primary-dark); font-size: 18px; }
.sinotop-showcase .st-step p { color: #697581; font-size: 14px; line-height: 1.6; }
.sinotop-showcase .st-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 56px max(48px, calc((100vw - var(--max)) / 2));
  background: var(--primary);
  color: #fff;
}
.sinotop-showcase .st-cta h2 { margin-bottom: 8px; color: #fff; font-size: clamp(27px, 3vw, 38px); }
.sinotop-showcase .st-cta p { color: #c5d0da; }
.sinotop-showcase .st-cta .st-btn { flex: 0 0 auto; }

@media (max-width: 900px) {
  .sinotop-showcase .st-head,
  .sinotop-showcase .st-note { grid-template-columns: 1fr; gap: 18px; }
  .sinotop-showcase .st-grid { grid-template-columns: repeat(2, 1fr); }
  .sinotop-showcase .st-list { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .sinotop-showcase .st-hero,
  .sinotop-showcase .st-section { padding: 52px 18px; }
  .sinotop-showcase .st-hero h2 { font-size: clamp(34px, 11vw, 48px); }
  .sinotop-showcase .st-hero p { font-size: 16px; }
  .sinotop-showcase .st-grid { grid-template-columns: 1fr; }
  .sinotop-showcase .st-card { min-height: 0; }
  .sinotop-showcase .st-cta { display: block; padding: 46px 18px; }
  .sinotop-showcase .st-cta .st-btn { margin-top: 22px; }
}

/* Contact & thank-you pages */
.sp-contact-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 48px;
  align-items: start;
}

.sp-form-panel {
  border: 1px solid var(--line);
  background: #fff;
  padding: 42px;
}

.sp-form-panel h2 {
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.sp-form-intro {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}

.sp-form-intro .req,
.sp-form .req {
  color: #A63D40;
}

.sp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sp-field {
  margin-bottom: 20px;
}

.sp-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.sp-field input,
.sp-field select,
.sp-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--body);
  font-size: 15px;
  line-height: 1.5;
}

.sp-field textarea {
  min-height: 148px;
  resize: vertical;
}

.sp-field input:focus,
.sp-field select:focus,
.sp-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, .12);
}

.sp-submit {
  width: 100%;
  margin-top: 6px;
}

.sp-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sp-aside-card {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--surface);
  padding: 26px 24px;
}

.sp-aside-card strong {
  display: block;
  margin-bottom: 9px;
  color: var(--primary-dark);
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.sp-aside-card p {
  font-size: 14px;
  line-height: 1.65;
  color: #5C5C59;
}

.sp-aside-meta {
  font-size: 12px;
  color: var(--muted);
  padding-left: 3px;
}

.sp-thanks-hero {
  padding-bottom: 72px;
}

.sp-thanks-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: relative;
}

.sp-thanks-mark::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  width: 14px;
  height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.sp-step {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .14em;
}

.sp-thanks-notes h2 {
  color: var(--primary-dark);
  margin-bottom: 22px;
}

.sp-ready-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
}

.sp-ready-list li {
  padding: 18px 20px;
  background: #fff;
  font-size: 13px;
  color: var(--body);
}

.sp-thanks-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.sp-text-link {
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
}

.sp-text-link:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .sp-contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sp-form-panel {
    padding: 32px;
  }
}

@media (max-width: 767px) {
  .sp-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .sp-form-panel {
    padding: 24px 20px;
  }

  .sp-ready-list {
    grid-template-columns: 1fr;
  }

  .sp-thanks-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sp-thanks-actions .btn {
    width: 100%;
  }

  .sp-text-link {
    text-align: center;
  }
}

/* Narrow-screen navigation: keep the added item and the CTA intact */
@media (max-width: 767px) {
  .navlinks {
    gap: 16px;
    row-gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-cta {
    white-space: nowrap;
  }
}
/* Books archive & single book */
.sp-books-hero {
  padding: 72px 0 24px;
}

.sp-books-count {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
}

.sp-books-archive {
  padding: 64px 0 96px;
}

.sp-books-grid {
  align-items: stretch;
}

.sp-book-card {
  height: 100%;
}

.sp-book-cover {
  display: block;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.sp-book-cover-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.sp-book-cover-empty {
  display: block;
  aspect-ratio: 2 / 3;
  background-color: var(--surface);
  background-image: linear-gradient(135deg, transparent 48%, rgba(26, 58, 92, .06) 49%, rgba(26, 58, 92, .06) 51%, transparent 52%);
  background-size: 24px 24px;
}

.sp-book-card .card-body {
  padding: 20px 20px 22px;
}

.sp-book-title {
  margin-bottom: 7px;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.sp-book-title a {
  color: var(--primary-dark);
}

.sp-book-title a:hover {
  color: var(--primary);
}

.sp-book-author {
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--muted);
}

.sp-book-specs {
  gap: 6px;
  margin-top: auto;
}

.sp-book-chip {
  padding: 4px 8px;
  font-size: 11px;
}

.sp-book-price {
  color: var(--primary);
  border-color: rgba(26, 58, 92, .25);
  background: #fff;
  font-weight: 600;
}

.sp-books-archive .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
  font: 500 13px var(--font-mono);
}

.sp-books-archive .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--body);
}

.sp-books-archive .page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.sp-books-archive a.page-numbers:hover {
  border-color: var(--primary);
  color: var(--primary);
}.sp-book-hero {
  padding: 64px 0 72px;
}

.sp-book-hero-grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.sp-book-cover-frame {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sp-book-cover-frame .sp-book-cover-img {
  aspect-ratio: auto;
  object-fit: contain;
  box-shadow: 0 12px 32px rgba(26, 58, 92, .14);
}

.sp-book-summary h1 {
  margin-bottom: 18px;
}

.sp-book-summary .lead {
  max-width: 620px;
  margin-bottom: 28px;
}

.sp-book-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 32px;
  padding: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.sp-book-field {
  padding: 15px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sp-book-field dt {
  margin-bottom: 6px;
  font: 600 11px var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.sp-book-field dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.sp-book-body {
  background: var(--surface);
}

.sp-book-body-inner {
  max-width: 860px;
}

.sp-book-text {
  margin-top: 20px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.75;
}

.sp-book-text p {
  margin-bottom: 18px;
}

.sp-book-text p:last-child {
  margin-bottom: 0;
}

.sp-books-more {
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .sp-book-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sp-book-cover-frame {
    max-width: 320px;
  }
}

@media (max-width: 767px) {
  .sp-books-hero {
    padding: 44px 0 16px;
  }

  .sp-book-hero {
    padding: 40px 0 56px;
  }

  .sp-book-fields {
    grid-template-columns: 1fr;
  }
}

/* Books mega menu */
.sp-nav-drop {
  position: static;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.sp-nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}

.sp-nav-parent:hover,
.sp-nav-drop.is-current .sp-nav-parent {
  color: var(--primary);
}

.sp-nav-caret {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.sp-nav-drop:hover .sp-nav-caret,
.sp-nav-drop:focus-within .sp-nav-caret {
  transform: rotate(-135deg);
}

.sp-mega {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  right: 0;
  z-index: 60;
  display: none;
  background: #fff;
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(26, 58, 92, .10);
}

.sp-nav-drop:hover .sp-mega,
.sp-nav-drop:focus-within .sp-mega,
.sp-mega:target {
  display: block;
}

.sp-mega-inner {
  width: min(calc(100% - 96px), var(--max));
  margin: auto;
  padding: 40px 0 36px;
}

.sp-mega-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

/* Two-group mega panel (e.g. the machines menu) */
.sp-mega-groups--two {
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  max-width: 720px;
}

/* Narrow panel for a short menu (e.g. support) */
.sp-mega--narrow {
  left: auto;
  right: 24px;
  width: 380px;
}

.sp-mega--narrow .sp-mega-inner {
  width: auto;
  max-width: none;
  padding: 26px 30px 22px;
}

.sp-mega--narrow .sp-mega-groups {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-width: none;
}

.sp-mega-title {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}

.sp-mega-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-mega-list a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
}

.sp-mega-list a:hover {
  color: var(--primary);
}
.sp-books-back {
  margin-top: 44px;
}

@media (max-width: 980px) {
  .navlinks {
    flex-wrap: wrap;
  }

  .sp-nav-drop {
    display: contents;
  }

  /* A page-style menu keeps its desktop dropdown only: the page itself carries the filters. */
  .sp-nav-drop--page .sp-mega {
    display: none;
  }

  .sp-nav-caret {
    display: none;
  }

  .sp-mega {
    position: static;
    flex: 1 0 100%;
    display: block;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .sp-mega-inner {
    width: 100%;
    padding: 0;
  }

  .sp-mega-groups {
    display: block;
  }

  .sp-mega-col {
    margin-top: 10px;
  }

  .sp-mega-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .sp-mega-list a {
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    font-size: 12px;
  }
}/* The Books trigger must reach the bottom edge of the header so the pointer can
   travel from the nav item into the mega menu without the hover state breaking. */
@media (min-width: 981px) {
  .nav {
    align-items: stretch;
  }

  .navlinks {
    align-items: center;
  }
}

/* Download centre */
.sp-docs-hero {
  padding: 72px 0 24px;
}

.sp-docs-featured {
  padding: 64px 0 96px;
}

.sp-docs-featured-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.sp-doc-cover {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.sp-doc-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.sp-doc-cover-lg {
  padding: 22px;
}

.sp-doc-detail h2 {
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.sp-doc-detail .lead {
  max-width: 620px;
  margin-bottom: 28px;
}

.sp-doc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.sp-doc-pending {
  color: var(--muted);
}

.sp-doc-card .card-body {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 22px;
}

.sp-doc-title {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.35;
}

.sp-doc-summary {
  flex-grow: 1;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #686865;
}

.sp-doc-btn {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.sp-docs-ask-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.sp-docs-ask-inner h2 {
  margin-bottom: 10px;
}

.sp-docs-ask-inner .lead {
  max-width: 620px;
}

@media (max-width: 980px) {
  .sp-docs-featured-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sp-doc-cover-lg {
    max-width: 420px;
  }
}

@media (max-width: 767px) {
  .sp-docs-hero {
    padding: 44px 0 16px;
  }

  .sp-docs-featured {
    padding: 40px 0 64px;
  }

  .sp-docs-ask-inner {
    display: block;
  }

  .sp-docs-ask-inner .btn {
    margin-top: 22px;
  }
}

/* Archive views: applications, machines */
.sp-apps-hero {
  padding: 72px 0 24px;
}

.sp-apps-filter {
  padding: 40px 0 56px;
}

.sp-apps-filter-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sp-apps-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px;
}

.sp-apps-filter-label {
  min-width: 150px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.sp-apps-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-apps-chip {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 13px;
  color: var(--body);
}

.sp-apps-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.sp-apps-chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.sp-apps-count {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.sp-apps-list {
  padding: 64px 0 96px;
}

.sp-app-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.sp-app-card .card-body {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
}

.sp-app-title {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
}

.sp-app-title a {
  color: var(--primary-dark);
}

.sp-app-title a:hover {
  color: var(--primary);
}

.sp-app-summary {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: #686865;
}

.sp-app-chips {
  margin: 0 0 14px;
}

.sp-app-chip {
  padding: 4px 8px;
  font-size: 11px;
}

.sp-app-specs {
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--primary);
}

.sp-app-line {
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--body);
}

.sp-app-line .mono {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.sp-app-action {
  margin-top: auto;
}

.sp-app-pending {
  color: var(--muted);
}

.sp-apps-solve {
  background: var(--surface);
}

.sp-apps-solve-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
}

.sp-apps-solve h2 {
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.sp-apps-plain {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-apps-plain li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
}

.sp-apps-plain li:last-child {
  border-bottom: 0;
}

.sp-apps-lines a {
  color: var(--primary);
}

.sp-apps-lines a:hover {
  text-decoration: underline;
}

.sp-apps-cases-list {
  max-width: 820px;
}

.sp-apps-more {
  margin-top: 22px;
}

.sp-apps-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.sp-apps-cta-inner h2 {
  margin-bottom: 10px;
}

.sp-apps-cta-inner .lead {
  max-width: 620px;
}

@media (max-width: 980px) {
  .sp-apps-solve-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 767px) {
  .sp-apps-hero {
    padding: 44px 0 16px;
  }

  .sp-apps-filter {
    padding: 32px 0 40px;
  }

  .sp-apps-filter-label {
    min-width: 0;
  }

  .sp-apps-cta-inner {
    display: block;
  }

  .sp-apps-cta-inner .btn {
    margin-top: 22px;
  }
}

/* FAQ view */
.sp-faq {
  padding: 56px 0 96px;
}

.sp-faq-inner {
  max-width: 900px;
}

.sp-faq-group {
  margin-bottom: 40px;
}

.sp-faq-group-title {
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.sp-faq-item {
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.sp-faq-item summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  list-style: none;
}

.sp-faq-item summary::-webkit-details-marker {
  display: none;
}

.sp-faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 26px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.sp-faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.sp-faq-item summary:hover {
  color: var(--primary);
}

.sp-faq-item p {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
}

.sp-faq-more {
  margin-top: 36px;
  font-size: 15px;
}

@media (max-width: 980px) {
  .sp-mega--narrow {
    width: auto;
    right: auto;
  }

  .sp-mega--narrow .sp-mega-inner {
    width: 100%;
    padding: 0;
  }
}

@media (max-width: 767px) {
  .sp-faq {
    padding: 40px 0 64px;
  }

  .sp-faq-item summary {
    padding: 16px 46px 16px 16px;
    font-size: 15px;
  }

  .sp-faq-item p {
    padding: 0 16px 18px;
  }
}

/* Real photo inside a card visual (homepage production lines) */
.card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}/* Homepage */
.hp-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  background: var(--primary-dark);
}

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

.hp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 38, 64, .88) 0%, rgba(15, 38, 64, .72) 46%, rgba(15, 38, 64, .34) 100%);
}

.hp-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 104px 0;
}

.hp-hero-eyebrow {
  color: #D9E0E5;
}

.hp-hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(36px, 4.6vw, 58px);
}

.hp-hero .lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: #C7D2DC;
  font-size: 18px;
}

.hp-btn-ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.hp-btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.hp-stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.hp-products {
  align-items: stretch;
}

.hp-product {
  height: 100%;
}

.hp-product-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hp-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-product-title {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
}

.hp-product-title a {
  color: var(--primary-dark);
}

.hp-product-title a:hover {
  color: var(--primary);
}

.hp-product-desc {
  color: #686865;
  font-size: 14px;
  line-height: 1.6;
}

.hp-product-media-all {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-bottom-color: var(--primary);
}

.hp-product-media-all span {
  color: #fff;
  font-size: 12px;
  letter-spacing: .18em;
}

.hp-gallery {
  align-items: start;
}

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

.hp-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.hp-figure figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.hp-doc img {
  aspect-ratio: 600 / 850;
  object-fit: cover;
}.hp-world-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

.hp-world-copy h2 {
  margin-bottom: 18px;
  color: var(--primary-dark);
}

.hp-world-copy .lead {
  margin-bottom: 24px;
}

.hp-map svg {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hp-map-grid ellipse {
  fill: none;
  stroke: #D6DADC;
  stroke-width: 1;
}

.hp-map-routes path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.2;
  stroke-dasharray: 5 9;
  animation: hp-dash 14s linear infinite;
}

.hp-map-nodes circle {
  fill: var(--accent);
  animation: hp-pulse 4.5s ease-in-out infinite;
}

.hp-map-origin circle {
  fill: var(--primary);
}

.hp-map-origin text {
  font: 700 11px var(--font-mono);
  letter-spacing: .12em;
  fill: var(--primary-dark);
  text-anchor: middle;
}

.hp-map-labels text {
  font: 600 10px var(--font-mono);
  letter-spacing: .1em;
  fill: var(--muted);
}

@keyframes hp-dash {
  to {
    stroke-dashoffset: -140;
  }
}

@keyframes hp-pulse {
  0%, 100% {
    opacity: .45;
  }

  50% {
    opacity: 1;
  }
}

.hp-cases {
  align-items: stretch;
}

.hp-case-media {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}

.hp-case-media img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hp-case .card-body h3 {
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 19px;
}

.hp-case .card-body p {
  color: #686865;
  font-size: 15px;
  line-height: 1.65;
}

.hp-faq-list {
  max-width: 900px;
}

.hp-faq-more {
  margin-top: 28px;
  font-size: 15px;
}

@media (max-width: 980px) {
  .hp-hero {
    min-height: 460px;
  }

  .hp-hero-inner {
    padding: 72px 0;
  }

  .hp-world-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 767px) {
  .hp-hero-inner {
    padding: 56px 0;
  }

  .hp-hero .lead {
    font-size: 16px;
  }

  .hp-doc img {
    aspect-ratio: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-map-routes path,
  .hp-map-nodes circle {
    animation: none;
  }
}