:root {
  --navy: #0d2b4e;
  --blue: #0b4da2;
  --blue-dark: #083b7d;
  --ink: #16202e;
  --muted: #5c6b7d;
  --line: #dfe5ec;
  --line-2: #eef2f6;
  --bg: #ffffff;
  --soft: #f4f7fa;
  --soft-blue: #edf4fc;
  --accent: #1f7a6b;
  --warn: #8a6a22;
  --warn-bg: #fff8e8;
  --warn-line: #d9bd7a;
  --radius: 10px;
  --wrap: 1180px;
  --shadow: 0 18px 45px rgba(13, 43, 78, 0.10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }

img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 0 0 6px 6px;
  z-index: 100;
}
.skip-link:focus { top: 0; color: #fff; }

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

.narrow { max-width: 820px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; color: var(--navy); }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-family: Georgia, "Times New Roman", serif;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 700;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: 6px;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue);
  background: var(--soft-blue);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--blue); border-color: #b9cbe2; }
.btn-ghost:hover { background: var(--soft-blue); color: var(--blue-dark); }
.btn-small { min-height: 36px; padding: 7px 13px; font-size: 12.5px; }

.header-cta { margin-left: 8px; }

.hero {
  padding: 74px 0 58px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(11, 77, 162, 0.10), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.22;
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.02em; }
h2 { font-size: clamp(25px, 3.2vw, 36px); }
h3 { font-size: 21px; }
h4 { font-size: 17px; }

.hero h1 { max-width: 720px; }
.hero-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 22px;
}

.answer {
  background: var(--soft-blue);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 14px 17px;
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 14px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.hero-card .card-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 12px;
}
.hero-card ul { list-style: none; padding: 0; margin: 0; }
.hero-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line-2);
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.hero-card li:first-child { border-top: 0; }
.hero-card li b { color: var(--navy); }

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 12.5px;
  color: var(--muted);
}
.trust-strip b { color: var(--navy); }

section.page-section { padding: 62px 0; }
section.page-section.soft { background: var(--soft); }
section.page-section.tight { padding: 40px 0; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.section-head p { margin: 0; color: var(--muted); max-width: 520px; font-size: 14px; }

.grid {
  display: grid;
  gap: 16px;
}
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3, .card h4 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 13.5px; margin: 0 0 12px; }
.card p:last-child { margin-bottom: 0; }
.card .k {
  display: block;
  color: var(--blue);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card a.more { font-size: 13px; font-weight: 700; }

.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; border-color: #a9c3e3; transform: translateY(-1px); }
.card-link h3 { color: var(--navy); }

.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 20px 20px 20px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
}
th {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 700;
}
tr:last-child td { border-bottom: 0; }

.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 16px;
}
.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}
.faq details p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.5px;
}

.placeholder {
  display: block;
  background: var(--warn-bg);
  border: 1px dashed var(--warn-line);
  color: var(--warn);
  border-radius: 6px;
  padding: 10px 13px;
  font-size: 12.5px;
  line-height: 1.6;
}

.note {
  border-left: 3px solid var(--blue);
  background: var(--soft-blue);
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  color: var(--navy);
  font-size: 13.5px;
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  padding: 22px 0 0;
}
.breadcrumb a { color: var(--muted); }

.page-hero { padding: 42px 0 34px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.page-hero h1 { font-size: clamp(30px, 4.2vw, 46px); }
.page-hero .lead { font-size: 16px; color: var(--muted); max-width: 760px; margin: 0; }

.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: 26px; }
.cta-band p { margin: 0; color: #cbd9ea; font-size: 14px; }

.blog-card time, .meta-line {
  color: var(--muted);
  font-size: 12px;
}
.tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.article-body { max-width: 760px; }
.article-body h2 { font-size: 26px; margin-top: 34px; }
.article-body h3 { font-size: 19px; margin-top: 26px; }
.article-body p, .article-body li { color: #35435a; font-size: 14.5px; }
.article-body ul, .article-body ol { padding-left: 22px; }

.rfq-form { display: grid; gap: 18px; max-width: 760px; }
.rfq-step { display: grid; gap: 12px; }
.rfq-step[hidden] { display: none; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  min-height: 44px;
  color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-error { color: #9b2c2c; font-size: 12.5px; min-height: 18px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  background: #fbfcfd;
  padding: 42px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}
.footer-grid h4 { font-family: inherit; font-size: 13px; letter-spacing: 0.04em; }
.footer-grid p, .footer-grid li { color: var(--muted); font-size: 13px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.assistant-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  border: 0;
  border-radius: 999px;
  padding: 12px 17px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(11, 77, 162, 0.30);
  cursor: pointer;
}
.assistant-panel {
  position: fixed;
  right: 20px;
  bottom: 76px;
  z-index: 60;
  width: min(370px, calc(100vw - 40px));
  max-height: min(560px, calc(100vh - 100px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.assistant-panel[hidden] { display: none; }
.assistant-head {
  background: var(--navy);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.assistant-head strong { font-size: 13px; }
.assistant-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.assistant-msgs {
  padding: 13px;
  overflow-y: auto;
  display: grid;
  gap: 9px;
  font-size: 13px;
}
.msg {
  max-width: 88%;
  padding: 9px 11px;
  border-radius: 9px;
  line-height: 1.55;
}
.msg.bot { background: var(--soft); color: var(--ink); justify-self: start; }
.msg.user { background: var(--blue); color: #fff; justify-self: end; }
.quick-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 13px 10px; }
.quick {
  border: 1px solid #b9cbe2;
  background: #fff;
  color: var(--blue);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11.5px;
  cursor: pointer;
}
.assistant-form {
  border-top: 1px solid var(--line);
  padding: 10px 13px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 6px;
}
.assistant-form input {
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px;
  font-size: 12px;
}
.assistant-form button {
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  padding: 0 11px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    margin: 0;
    padding: 10px 14px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 12px; }
  .header-cta { display: none; }
  .hero { padding: 52px 0 40px; }
  section.page-section { padding: 44px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 10px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr !important; }
  .cta-band { display: block; }
  .cta-band .btn { margin-top: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .assistant-form { grid-template-columns: 1fr; }
  .assistant-form button { min-height: 38px; }
  .hero-card { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header, .assistant-launcher, .assistant-panel, .cta-row, .demo-ribbon { display: none !important; }
  body { font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
}

/* ========== Editorial UI refresh (v1.8) ========== */

.demo-ribbon {
  background: #7a5a17;
  color: #fff;
  text-align: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 7px 12px;
}

.demo-tag {
  display: inline-block;
  background: #fff4dc;
  border: 1px solid #d9bd7a;
  color: #8a6a22;
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.kicker {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.lede {
  font-size: 17px;
  line-height: 1.7;
  color: #35435a;
  max-width: 720px;
}

.micro-note {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 0;
}

.hero-editorial {
  padding: 66px 0 56px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}
.hero-editorial .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 56px;
  align-items: center;
}
.hero-editorial h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 760px;
}
.hero-editorial .lede { margin-bottom: 22px; }
.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 12px 0 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--muted);
}
.proof-line b { color: var(--navy); font-size: 14px; }

.hero-media {
  position: relative;
  margin: 0;
}
.hero-media img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.hero-media figcaption {
  margin-top: 9px;
  font-size: 11px;
  color: var(--muted);
}
.hero-stat {
  position: absolute;
  left: -28px;
  bottom: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  min-width: 210px;
}
.hero-stat span { display: block; font-size: 10.5px; color: var(--muted); }
.hero-stat strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 38px;
  color: var(--navy);
  line-height: 1.1;
}
.hero-stat small { display: block; font-size: 10px; color: var(--muted); }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.metric strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 30px;
  color: var(--navy);
  line-height: 1.1;
}
.metric span { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; }

.market-grid .card { border-top: 3px solid var(--blue); padding-top: 22px; }
.market-grid .num {
  display: block;
  font-family: Georgia, serif;
  font-size: 26px;
  color: #b9cbe2;
  line-height: 1;
  margin-bottom: 14px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.media-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.media-card:hover { text-decoration: none; border-color: #a9c3e3; transform: translateY(-2px); }
.media-card img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  background: var(--soft);
}
.media-body { padding: 18px 18px 20px; }
.media-body h3 { margin-bottom: 7px; font-size: 18px; }
.media-body p { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; }
.media-body .arrow { color: var(--blue); font-size: 12px; font-weight: 800; }

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: t;
}
.timeline li {
  position: relative;
  padding: 40px 20px 0 0;
  border-top: 2px solid var(--navy);
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #fff;
}
.step-num {
  font-family: Georgia, serif;
  font-size: 24px;
  color: #b9cbe2;
}
.timeline h3 { font-size: 17px; margin: 8px 0 6px; }
.timeline p { font-size: 12.5px; color: var(--muted); margin: 0; }

.case-grid { align-items: stretch; }
.case-media-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.case-media-card img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.case-body { padding: 18px; }
.case-body h3 { font-size: 18px; margin-bottom: 8px; }
.case-copy { font-size: 12.5px; color: #35435a; margin: 0; }
.demo-quote {
  margin: 26px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
  background: var(--soft-blue);
  border-radius: 0 8px 8px 0;
  font-family: Georgia, serif;
  font-size: 18px;
  color: var(--navy);
}
.demo-quote cite {
  display: block;
  margin-top: 8px;
  font-family: inherit;
  font-size: 11px;
  color: var(--muted);
  font-style: normal;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 56px;
  align-items: center;
}
.check-list { list-style: none; padding: 0; margin: 18px 0 24px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font-size: 13.5px;
  color: #35435a;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.evidence-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.evidence-figure { margin: 0; }
.evidence-figure img {
  display: block;
  width: 100%;
  border-radius: 6px;
  background: var(--soft);
}
.evidence-figure figcaption {
  margin-top: 9px;
  font-size: 11px;
  color: var(--muted);
}

.article-grid { gap: 22px; }
.article-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  color: inherit;
}
.article-card:hover { text-decoration: none; border-color: #a9c3e3; }
.article-card img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.article-card > div { padding: 17px 18px 19px; }
.article-card h3 { font-size: 17px; margin: 4px 0 9px; }

@media (max-width: 960px) {
  .hero-editorial .hero-grid,
  .split { grid-template-columns: 1fr; gap: 34px; }
  .hero-media img { height: 360px; }
  .hero-stat { left: 14px; bottom: 24px; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
}

@media (max-width: 640px) {
  .hero-editorial { padding: 44px 0 36px; }
  .hero-editorial h1 { font-size: 36px; }
  .hero-media img { height: 280px; }
  .hero-stat { position: static; margin-top: 12px; width: 100%; }
  .media-grid, .case-grid, .article-grid { grid-template-columns: 1fr; }
  .metric-grid { gap: 12px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding-top: 30px; }
  .demo-ribbon { font-size: 9px; letter-spacing: 0.06em; }
}


/* =========================================================
   Corporate skin v2.0 - inspired by Applus+ Laboratories
   Geometric sans, charcoal text, orange accent, structured bands
   ========================================================= */
:root {
  --orange: #ff6900;
  --orange-dark: #e35e00;
  --charcoal: #323234;
  --rule: #e3e3e3;
  --radius: 4px;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Bai Jamjuree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.62;
}
h1, h2, h3, h4, .brand, .metric strong, .hero-stat strong, .market-grid .num,
.hero-media figcaption, .page-hero h1, .section-head h2 {
  font-family: "Bai Jamjuree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3, h4 { color: var(--charcoal); font-weight: 300; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.1; }
h2 { font-size: clamp(27px, 3.2vw, 38px); line-height: 1.16; }
h3 { font-size: 20px; font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }
a { color: var(--orange); }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 2px solid var(--orange); }

/* Utility bar */
.utility-bar {
  background: #2c2c31;
  color: #e7e7e9;
  font-size: 11.5px;
  letter-spacing: 0.01em;
}
.utility-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 32px;
}
.utility-bar a { color: #fff; }
.utility-bar a:hover { color: var(--orange); text-decoration: none; }
.utility-bar i { display: inline-block; width: 1px; height: 11px; background: #6a6a70; margin: 0 10px; vertical-align: -1px; }

/* Header */
.site-header { position: sticky; top: 0; background: #fff; backdrop-filter: none; border-bottom: 3px solid var(--orange); }
.header-inner { min-height: 66px; }
.brand { color: var(--charcoal); font-weight: 700; font-size: 18px; }
.brand-mark { background: var(--orange); border-radius: 2px; font-family: inherit; font-weight: 700; }
.brand small { color: #7a7a80; }
.site-nav a { color: var(--charcoal); font-size: 13px; font-weight: 600; padding: 22px 12px; border-radius: 0; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a.is-active { color: var(--orange); background: transparent; border-bottom-color: var(--orange); }
.header-cta { align-self: center; margin-left: 10px; }
.site-nav a.header-cta { padding: 7px 14px; align-self: center; }

.btn { border-radius: 2px; font-weight: 700; letter-spacing: 0.01em; }
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); color: #fff; border-color: var(--orange-dark); }
.btn-ghost { background: #fff; color: var(--orange); border-color: var(--orange); }
.btn-ghost:hover { background: #fff6f0; color: var(--orange-dark); }
.btn-small { min-height: 34px; padding: 7px 14px; }

/* Solutions band - Applus division selector */
.solutions-band { background: #fff; border-bottom: 1px solid var(--rule); }
.solutions-band-inner { display: flex; align-items: stretch; gap: 0; overflow-x: auto; }
.solutions-label {
  display: inline-flex; align-items: center; padding: 13px 20px 13px 0;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--charcoal); white-space: nowrap;
}
.solutions-band-inner > a {
  display: inline-flex; align-items: center; padding: 13px 16px;
  color: #55555a; font-size: 13px; font-weight: 600; white-space: nowrap;
  border-bottom: 3px solid transparent; text-decoration: none;
}
.solutions-band-inner > a:hover, .solutions-band-inner > a.is-active { color: var(--orange); border-bottom-color: var(--orange); text-decoration: none; }
.solutions-band-inner > .solutions-quote { margin-left: auto; color: var(--orange); font-weight: 700; }

/* Hero - full-bleed image with dark overlay */
.hero-editorial { position: relative; padding: 96px 0 88px; background: #2c2c31; overflow: hidden; }
.hero-applus-media {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-image: url('../img/workbench.jpg');
}
.hero-applus-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,22,26,0.93) 0%, rgba(20,22,26,0.78) 48%, rgba(20,22,26,0.42) 100%); }
.hero-applus-inner { position: relative; z-index: 1; }
.hero-editorial h1 { color: #fff; font-size: clamp(36px, 4.8vw, 58px); font-weight: 300; max-width: 780px; }
.hero-tag {
  display: inline-block; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; border-left: 4px solid var(--orange); padding-left: 12px; margin-bottom: 20px;
}
.hero-editorial .lede { color: #e2e2e5; max-width: 700px; font-size: 16px; }
.hero-editorial .proof-line { border-color: rgba(255,255,255,0.22); color: #cfcfd4; max-width: 720px; }
.hero-editorial .proof-line b { color: #fff; }
.hero-editorial .micro-note { color: #bfbfc5; }
.hero-editorial .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.hero-editorial .btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Sections and rules */
section.page-section { padding: 58px 0; }
.section-head { border-bottom: 1px solid var(--rule); padding-bottom: 16px; margin-bottom: 28px; }
.kicker, .card .k, .eyebrow { color: var(--orange); }
.kicker::after { content: ""; display: block; width: 28px; height: 3px; background: var(--orange); margin-top: 8px; }
.lede { color: #55555a; }
.answer { background: #fff6f0; border-left: 4px solid var(--orange); color: var(--charcoal); }
.tag { color: var(--orange); background: #fff2e8; border-radius: 2px; }
.meta-line, .blog-card time { color: #7a7a80; }

/* Cards, grids, tables */
.card { border-radius: 3px; border-color: var(--rule); }
.card h3, .card h4 { color: var(--charcoal); }
.card p { color: #66666c; }
.card a.more { color: var(--orange); }
.card-link:hover { border-color: var(--orange); }
.market-grid .card { border-top: 3px solid var(--orange); }
.market-grid .num { color: #ffd2b0; }
.media-card { border-radius: 3px; border-color: var(--rule); }
.media-card:hover { border-color: var(--orange); }
.media-body h3 { color: var(--charcoal); font-weight: 600; }
.media-body p { color: #66666c; }
.media-body .arrow { color: var(--orange); }
.article-card { border-radius: 3px; border-color: var(--rule); }
.article-card:hover { border-color: var(--orange); }
.article-card h3 { color: var(--charcoal); font-weight: 600; }
.case-media-card { border-radius: 3px; border-color: var(--rule); }
.evidence-card { border-radius: 3px; border-color: var(--rule); }
.table-wrap { border-radius: 3px; border-color: var(--rule); }
th { background: #2c2c31; }
.metric strong { color: var(--charcoal); font-weight: 400; }
.hero-stat { border-radius: 3px; }
.hero-stat strong { color: var(--charcoal); }

/* Highlights - image promotion tiles */
.promo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.promo-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 210px; padding: 20px; overflow: hidden; color: #fff; background: #2c2c31;
  background-size: cover; background-position: center; border-radius: 3px;
}
.promo-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,20,24,0.12) 0%, rgba(18,20,24,0.86) 100%); }
.promo-tile:hover { color: #fff; text-decoration: none; }
.promo-tile:hover::before { background: linear-gradient(180deg, rgba(255,105,0,0.18) 0%, rgba(18,20,24,0.90) 100%); }
.promo-title { position: relative; z-index: 1; font-size: 19px; font-weight: 600; line-height: 1.25; margin-bottom: 16px; }
.promo-link { position: relative; z-index: 1; color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; }

/* News list - dated rows */
.news-list { border-top: 1px solid var(--rule); }
.news-item {
  display: grid; grid-template-columns: 108px 1fr 24px; align-items: center; gap: 18px;
  padding: 16px 4px; border-bottom: 1px solid var(--rule); color: var(--charcoal);
  transition: background 0.12s ease;
}
.news-item:hover { background: #fff8f3; text-decoration: none; }
.news-date { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.news-title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.news-arrow { color: var(--orange); font-size: 17px; text-align: right; }
.section-head .see-all { color: var(--orange); font-size: 13px; font-weight: 700; white-space: nowrap; }

/* Accent bands and footer */
.cta-band { background: #2c2c31; border-radius: 3px; border-left: 5px solid var(--orange); }
.cta-band h2 { color: #fff; font-weight: 300; }
.cta-band p { color: #cfcfd4; }
.site-footer { background: #242428; color: #cfcfd4; border-top: 4px solid var(--orange); margin-top: 60px; }
.site-footer .brand { color: #fff; }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; }
.footer-grid p, .footer-grid li { color: #b7b7bd; font-size: 12.5px; }
.footer-grid a { color: #e7e7e9; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { border-top-color: #3c3c42; color: #9a9aa1; }
.footer-bottom a { color: var(--orange); }

/* FAQ and forms */
.faq details { border-color: var(--rule); border-radius: 3px; }
.faq summary { color: var(--charcoal); font-weight: 600; }
.faq details[open] summary { color: var(--orange); }
.field label { color: var(--charcoal); }
.field input, .field select, .field textarea { border-radius: 2px; border-color: var(--rule); }
.field-row { grid-template-columns: repeat(2, minmax(0,1fr)); }

/* Assistant */
.assistant-launcher { background: var(--orange); border-radius: 2px; box-shadow: 0 10px 26px rgba(255,105,0,0.30); font-weight: 700; }
.assistant-head { background: #2c2c31; border-bottom: 3px solid var(--orange); }
.assistant-panel { border-radius: 4px; }
.assistant-form button { background: var(--orange); color: #fff; border-radius: 2px; }
.quick-row button { border-color: var(--orange); color: var(--orange); border-radius: 2px; }

.solutions-band-inner::-webkit-scrollbar { height: 3px; }
.solutions-band-inner::-webkit-scrollbar-thumb { background: var(--orange); }

@media (max-width: 1100px) {
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .utility-bar .wrap { justify-content: center; }
  .utility-bar .wrap > span:first-child { display: none; }
  .solutions-quote { display: none; }
  .hero-editorial { padding: 72px 0 64px; }
  .hero-applus-media { background-position: 65% center; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-nav a { padding: 11px 12px; border-bottom: 0; }
  .site-nav a.is-active { border-bottom: 0; }
}
@media (max-width: 640px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo-tile { min-height: 170px; }
  .news-item { grid-template-columns: 84px 1fr 18px; gap: 10px; }
  .news-title { font-size: 14px; }
  .solutions-label { display: none; }
  .hero-editorial h1 { font-size: 34px; }
}
@media print {
  .utility-bar, .solutions-band { display: none !important; }
}
