/* ============================================================
   TinySourcing — Global Stylesheet
   Procurement Service Platform · "Your Procurement Team in China"
   ------------------------------------------------------------
   Design: modern B2B SaaS / fintech — navy + brand blue + green,
   flat light shadows, generous whitespace, data-forward layout.
   TABLE OF CONTENTS
   01  Tokens & reset
   02  Typography & base
   03  Utilities (wrap, bands, buttons, tags, helpers)
   04  Header & navigation
   05  Hero & page hero
   06  Trust metrics (stats)
   07  Pricing staircase
   08  Fee calculator
   09  Service cards & blocks
   10  Transparency band
   11  How-it-works steps & timeline
   12  Platform dashboard mockup
   13  Case studies
   14  Comparison table
   15  Industries
   16  Testimonials
   17  FAQ
   18  CTA band & sticky mobile CTA
   19  Forms & contact chips
   20  Footer
   21  Reveal & motion
   22  Responsive
   ============================================================ */

/* ---------- 01 Tokens & reset ---------- */

:root {
  /* Warm palette per jingsourcing.com direction.
     Legacy names kept (--blue/--navy) to avoid a site-wide rename:
     --blue is now the brand ORANGE, --navy a warm near-black. */
  --navy: #211d1a;
  --navy-2: #2b2622;
  --blue: #ff9933;
  --blue-deep: #e67e22;
  --blue-bright: #ffb765;
  --blue-soft: #fff4e5;
  --blue-line: #ffd9ae;
  --green: #16a34a;
  --green-soft: #f0fdf4;
  --green-line: #bbf7d0;
  --warn: #f59e0b;
  --bg: #ffffff;
  --bg-soft: #faf6ef;
  --ink: #1d1d1f;
  --muted: #6e675f;
  --line: #eae2d6;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 4px 20px rgba(62, 45, 20, 0.07);
  --shadow-lg: 0 16px 40px rgba(62, 45, 20, 0.13);
  --font: "Manrope", "Segoe UI", Verdana, sans-serif;
  --pad: 88px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 10px 18px;
  font-weight: 700;
  border-radius: 8px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- 02 Typography ---------- */

h1,
h2,
h3,
h4 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}

h3 {
  font-size: 1.28rem;
}

.kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.kicker--light {
  color: var(--blue-bright);
}

.lede {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 62ch;
}

.lede--light {
  color: #cbd5e1;
}

p + p {
  margin-top: 14px;
}

.small {
  font-size: 0.86rem;
  color: var(--muted);
}

.accent {
  color: var(--blue);
}

/* ---------- 03 Utilities ---------- */

.wrap {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

.wrap-narrow {
  width: min(840px, 100% - 48px);
  margin-inline: auto;
}

.band {
  padding-block: var(--pad);
}

.band-dark {
  background: var(--navy);
  color: #cbd5e1;
}

.band-soft {
  background: var(--bg-soft);
}

.band-blue {
  background: var(--blue-soft);
  border-block: 1px solid var(--blue-line);
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.split-copy h2 {
  margin-bottom: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 42px;
}

.sec-head h2 {
  max-width: 24ch;
}

.sec-head .lede {
  margin-top: 2px;
}

.sec-head--row {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.sec-head--row h2 {
  max-width: 30ch;
}

.transparency-note {
  margin-top: 28px;
  text-align: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}

.link {
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.band-dark .sec-head h2 {
  color: #fff;
}

/* Buttons — 48–52px height, 8–10px radius (no pills) */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.btn-outline {
  background: var(--bg);
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue-soft);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-light:hover {
  background: var(--bg-soft);
}

.btn-green {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Tags & icons */

.tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--blue-soft);
  color: var(--blue-deep);
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  padding: 5px 12px;
}

.tag--green {
  background: var(--green-soft);
  color: var(--green);
  border-color: var(--green-line);
}

.tag--navy {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.2);
}

.item-ico {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  border: 1px solid var(--blue-line);
  color: var(--blue);
}

.item-ico svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

/* Cards */

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card .item-ico {
  margin-bottom: 16px;
}

.card h3 {
  margin-bottom: 8px;
}

.card > p {
  font-size: 0.95rem;
  color: var(--muted);
}

.card--blue {
  background: var(--blue-soft);
  border-color: var(--blue-line);
}

/* Lists */

.tick-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}

.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--green);
  font-weight: 700;
}

.tick-list li.dim {
  color: var(--muted);
}

.tick-list li.dim::before {
  color: var(--muted);
}

.x-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

.x-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: -1px;
  color: #dc2626;
  font-weight: 700;
}

/* ---------- 04 Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 13px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
}

.brand-name {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.brand-name .accent {
  color: var(--blue-bright);
}

.brand-tag {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  color: #cbd5e1;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link.active {
  color: #fff;
  border-bottom-color: var(--blue-bright);
}

.nav-cta {
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s ease;
}

.nav-cta:hover {
  background: var(--blue-deep);
}

.nav-cta-mobile {
  display: none;
}

.burger {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
}

.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px auto;
}

/* ---------- 05 Hero ---------- */

.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  right: -180px;
  top: -240px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-block: 88px 84px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #fff;
  margin: 16px 0 18px;
}

.hero h1 .accent {
  color: var(--blue-bright);
}

.hero .lede {
  color: #cbd5e1;
  font-size: 1.09rem;
  margin-bottom: 26px;
}

.page-hero {
  background: var(--navy);
  color: #fff;
}

.page-hero-inner {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
  padding-block: 68px 60px;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  margin: 14px 0 16px;
}

.crumb {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94a3b8;
}

.crumb a {
  text-decoration: none;
  color: #94a3b8;
}

.crumb a:hover {
  color: #fff;
}

.crumb span {
  color: var(--blue-bright);
}

/* ---------- 06 Trust metrics ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 22px;
  text-align: center;
}

.stat-num {
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  color: var(--blue);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}

/* ---------- 07 Pricing staircase ---------- */

.tier-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  margin-bottom: 34px;
  font-weight: 700;
  color: var(--muted);
}

.tier-strip .rate {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue);
}

.tier-strip .arrow {
  color: var(--green);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: stretch;
}

.tier {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tier:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.tier-name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.tier-range {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.tier-rate {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
  line-height: 1;
  margin: 8px 0 4px;
}

.tier-rate .pct {
  font-size: 1.3rem;
}

.tier-includes {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.tier-includes span::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 700;
}

.tier-includes span::before {
  content: "✓ ";
  color: var(--green);
  font-weight: 700;
}

.tier--featured {
  border-color: var(--blue);
  border-width: 2px;
  background: var(--blue-soft);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.14);
}

.tier--featured .tier-name {
  color: var(--blue-deep);
}

/* ---------- 08 Fee calculator ---------- */

.calculator {
  --fill: 50%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
  overflow: hidden;
}

.calculator--plain {
  box-shadow: var(--shadow-lg);
}

.calc-head {
  background: var(--ink);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calc-head .live-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-weight: 600;
}

.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.calc-body {
  padding: 24px;
  display: grid;
  gap: 22px;
}

.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.calc-field label output {
  color: var(--blue);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 800;
}

.calc-number {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.calc-number:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
  background: #fff;
}

.calc-slider {
  width: 100%;
  height: 8px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  margin-top: 22px;
  background: linear-gradient(
    to right,
    var(--blue) 0 var(--fill),
    var(--line) var(--fill) 100%
  );
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
}

.calc-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
}

.calc-range {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 8px;
}

.calc-tip summary {
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--blue);
}

.calc-tip[open] summary {
  margin-bottom: 8px;
}

.calc-tip .tip-body {
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.calc-outputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.calc-out {
  background: var(--bg-soft);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.calc-out-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.calc-out-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.calc-out--fee .calc-out-value {
  color: var(--blue);
}

.calc-out--big {
  order: -1;
}

.calc-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

.calc-checks span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.calc-checks span::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
}

/* Savings panel */

.calc-savings {
  border: 1px dashed var(--green-line);
  border-radius: var(--radius-sm);
  background: var(--green-soft);
  padding: 16px 18px;
  display: grid;
  gap: 10px;
}

.calc-savings-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.saving-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink);
}

.saving-line .val {
  font-weight: 700;
}

.saving-line .val.pos {
  color: var(--green);
}

.saving-line .val.neg {
  color: var(--muted);
}

.saving-net {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--green-line);
  padding-top: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}

.saving-net .val {
  color: var(--green);
}

/* ---------- 09 Service cards & blocks ---------- */

.svc-card {
  position: relative;
}

.svc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.svc-nav a {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  padding: 7px 14px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.svc-nav a:hover {
  background: var(--bg);
  border-color: var(--blue);
}

.svc-block {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 28px;
  align-items: start;
  padding-block: 30px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.svc-block:first-of-type {
  border-top: 0;
}

.svc-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.svc-num {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--blue);
  line-height: 1;
}

.svc-main h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.svc-main > p {
  color: var(--muted);
  max-width: 78ch;
}

.svc-glance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 18px;
}

.svc-glance > div {
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.svc-glance span,
.svc-glance strong {
  display: block;
}

.svc-glance span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.svc-glance strong {
  margin-top: 4px;
  font-size: 0.9rem;
}

.svc-expand {
  margin-top: 16px;
}

.svc-expand > summary {
  width: fit-content;
  color: var(--blue-deep);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.svc-expand > summary:hover {
  text-decoration: underline;
}

.svc-expand > summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.svc-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.svc-detail {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.svc-detail h4 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 12px;
}

.svc-detail p {
  font-size: 0.9rem;
  color: var(--muted);
}

.svc-detail ul.tick-list li {
  font-size: 0.88rem;
}

.svc-process {
  list-style: none;
  counter-reset: svc;
}

.svc-process li {
  counter-increment: svc;
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.svc-process li::before {
  content: counter(svc);
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 0.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.svc-dur {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 6px 8px 0;
}

.svc-faq {
  margin-top: 20px;
  max-width: 860px;
}

/* ---------- 10 Transparency band ---------- */

.transparency {
  background: var(--navy);
  color: #cbd5e1;
}

.transparency h2 {
  color: #fff;
}

/* ---------- 11 Steps & timeline ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 800;
  font-size: 1.05rem;
  border: 1px solid var(--blue-line);
}

.step h3 {
  font-size: 1.02rem;
  line-height: 1.3;
}

.step p {
  font-size: 0.87rem;
  color: var(--muted);
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -17px;
  top: 40px;
  width: 18px;
  border-top: 2px dashed var(--blue-line);
}

/* Timeline (how-it-works page) */

.tl-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 34px;
  padding-bottom: 46px;
  position: relative;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 63px;
  top: 66px;
  bottom: 0;
  width: 2px;
  background: var(--blue-line);
}

.tl-item:last-child::before {
  display: none;
}

.tl-node {
  text-align: center;
}

.tl-num {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

.tl-dur {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}

.tl-body {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
}

.tl-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.tl-body > p {
  font-size: 0.95rem;
  color: var(--muted);
}

.tl-role {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tl-role span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
}

.tl-role span.we {
  background: var(--blue-soft);
  border-color: var(--blue-line);
  color: var(--blue-deep);
}

/* ---------- 12 Dashboard mockup ---------- */

.dash {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 420px;
}

.dash-side {
  background: var(--ink);
  color: #cbd5e1;
  padding: 22px 14px;
}

.dash-side-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0 12px 12px;
}

.dash-side li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #94a3b8;
}

.dash-side li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #475569;
}

.dash-side li.active {
  background: rgba(37, 99, 235, 0.18);
  color: #fff;
}

.dash-side li.active::before {
  background: var(--blue-bright);
}

.dash-main {
  padding: 26px 28px;
  display: grid;
  gap: 20px;
  align-content: start;
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.dash-head h4 {
  font-size: 1.15rem;
}

.dash-po {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
}

.prog {
  display: grid;
  grid-template-columns: 170px 1fr 90px;
  gap: 16px;
  align-items: center;
}

.prog-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.prog-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.prog-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--blue);
  width: 0;
}

.prog-fill.w-100 {
  width: 100%;
  background: var(--green);
}

.prog-fill.w-80 {
  width: 80%;
}

.prog-status {
  font-size: 0.8rem;
  font-weight: 700;
  text-align: right;
  color: var(--muted);
}

.prog-status.done {
  color: var(--green);
}

.prog-status.wip {
  color: var(--blue);
}

/* ---------- 13 Case studies ---------- */

/* ---------- 13 Case studies ---------- */

.manifest-wrap {
  overflow-x: auto;
}

.manifest {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.96rem;
}

.manifest th,
.manifest td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.manifest th {
  background: var(--bg-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.manifest td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.manifest tbody tr:nth-child(even) {
  background: var(--bg-soft);
}

.manifest tr:last-child td {
  border-bottom: 0;
}

.calc-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 26px;
  border-bottom: 1px dashed var(--line);
}

.calc-line .calc-label {
  color: var(--muted);
}

.calc-line .calc-val {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.calc-total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 26px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
}

/* Timeline container (how-it-works page) */

.timeline {
  position: relative;
}

.cs-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cs-head {
  background: var(--ink);
  color: #fff;
  padding: 20px 24px;
}

.cs-head h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-body {
  padding: 24px;
  display: grid;
  gap: 14px;
  flex: 1;
}

.cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.cs-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cs-cell-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.cs-cell-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.cs-cell-value.green {
  color: var(--green);
}

.cs-footer {
  border-top: 1px solid var(--line);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--muted);
}

.cs-footer a {
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.cs-footer a:hover {
  text-decoration: underline;
}

.case-disclosure {
  padding: 20px 24px;
  border-left: 3px solid var(--blue-deep);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.9rem;
}
.case-disclosure strong { color: var(--ink); }
.case-disclosure p { margin-top: 8px; }
.case-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.case-cost-list { margin-top: 20px; }
.case-cost-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.case-cost-list dt { color: var(--muted); font-size: 0.9rem; }
.case-cost-list dd { margin: 0; font-weight: 800; white-space: nowrap; }
.case-cost-result { border-top: 2px solid var(--blue-line); }
.case-cost-result dt { color: var(--ink); font-weight: 700; }
.case-costs > .link { display: inline-block; margin-top: 16px; }
.case-summary-grid { align-items: start; }
.case-summary-grid > article { min-width: 0; }
.case-summary-grid .faq summary { padding: 14px; font-size: 0.9rem; }
.case-summary-grid .faq-body { padding: 14px; }
@media (max-width: 900px) {
  .case-story-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- 14 Comparison table ---------- */

.compare-wrap {
  overflow-x: auto;
}

.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare th,
.compare td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.compare th {
  background: var(--bg-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare th:first-child {
  background: var(--bg);
}

.compare td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.compare th.highlight,
.compare td.highlight {
  background: var(--blue-soft);
  border-left: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  font-weight: 600;
}

.compare td.highlight {
  color: var(--blue-deep);
}

.compare td.bad {
  color: #94a3b8;
}

.compare tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- 15 Industries ---------- */

.industries-hero {
  background: linear-gradient(90deg, #101b2b 0%, #101b2b 44%, rgba(16, 27, 43, .88) 63%, rgba(16, 27, 43, .22) 100%), url('assets/img/market-aisle.webp') center right / cover;
}

.industries-hero .page-hero-inner {
  padding-block: 86px 94px;
}

.industries-hero .lede { max-width: 48ch; }

.industries-catalog { background: #f7f8f7; }

.industries-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 38px;
}

.industries-intro h2 { margin-top: 12px; }
.industries-intro p { max-width: 45ch; color: var(--muted); }

.industries-grid { counter-reset: category; gap: 12px; }

.industries-grid .cat-card {
  counter-increment: category;
  position: relative;
  min-height: 176px;
  padding: 24px;
  text-align: left;
  box-shadow: none;
  border-radius: 8px;
  overflow: hidden;
}

.industries-grid .cat-card::after {
  content: counter(category, decimal-leading-zero);
  position: absolute;
  top: 25px;
  right: 24px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #9aa4ae;
}

.industries-grid .cat-card:hover { border-color: var(--blue); }

.industries-grid .cat-card .item-ico {
  width: 42px;
  height: 42px;
  margin: 0 0 24px;
  background: transparent;
  border: 0;
  color: var(--blue);
}

.industries-grid .cat-card .item-ico svg { width: 28px; height: 28px; }
.industries-grid .cat-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.industries-grid .cat-samples { font-size: .72rem; line-height: 1.5; letter-spacing: .045em; }
.industries-grid .cat-card .mt-16 { margin-top: 10px; font-size: .85rem; }

@media (max-width: 700px) {
  .industries-hero { background: linear-gradient(90deg, rgba(16, 27, 43, .95), rgba(16, 27, 43, .78)), url('assets/img/market-aisle.webp') center / cover; }
  .industries-hero .page-hero-inner { padding-block: 58px 64px; }
  .industries-intro { grid-template-columns: 1fr; gap: 14px; }
  .industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industries-grid .cat-card { min-height: 174px; padding: 18px; }
  .industries-grid .cat-card::after { top: 18px; right: 18px; }
}

@media (max-width: 460px) {
  .industries-grid { grid-template-columns: 1fr; }
  .industries-grid .cat-card { min-height: 0; }
}

@media (min-width: 461px) and (max-width: 700px) {
  .grid-3.industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.cat-card {
  text-align: center;
}

.cat-card .item-ico {
  margin-inline: auto;
  margin-bottom: 16px;
}

.cat-card h3 {
  font-size: 1.06rem;
}

.cat-samples {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- 16 Testimonials ---------- */

.quote-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.q-text {
  flex: 1;
  font-size: 0.98rem;
  color: var(--ink);
}

.q-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.q-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--blue-bright);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.q-name {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.96rem;
}

.q-role {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- 17 FAQ ---------- */

.faq-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--line);
}

.faq-group-title span {
  color: var(--blue);
}

details.faq {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}

details.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq summary::after {
  content: "+";
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
  line-height: 1;
}

details.faq[open] summary {
  border-bottom: 1px solid var(--line);
}

details.faq[open] summary::after {
  content: "–";
}

.faq-body {
  padding: 16px 22px 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

details.faq {
  box-shadow: none;
}

/* Homepage FAQ: video introduction alongside expandable answers. */
.home-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.home-faq-intro .sec-head {
  margin-bottom: 28px;
}

.home-faq-video {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.home-faq-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-faq-video-screen {
  aspect-ratio: 16 / 9;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: #fff;
  background: radial-gradient(ellipse at top right, #65462c, var(--navy) 75%);
}

.home-faq-video-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--blue-bright);
  border: 1px solid #88603c;
}

.home-faq-video-title {
  font-weight: 700;
  font-size: 1.08rem;
}

.home-faq-video-status {
  color: #e0cbb8;
  font-size: 0.85rem;
}

.home-faq-video figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

.home-faq-list details:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .home-faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .home-faq-video {
    max-width: 560px;
  }
}

/* ---------- 18 CTA band & sticky mobile CTA ---------- */

.cta-inner {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
  padding-block: 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
}

.cta h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 10px;
}

.cta p {
  color: #cbd5e1;
  max-width: 56ch;
}

.cta .cta-note {
  font-size: 0.84rem;
  color: #94a3b8;
  margin-top: 14px;
}

.sticky-cta {
  display: none;
}

/* ---------- 19 Forms & contact chips ---------- */

.form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.field label .req {
  color: var(--blue);
}

.field input,
.field textarea,
.field select {
  font-family: var(--font);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  height: 50px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  height: auto;
  min-height: 130px;
  padding: 12px 14px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-ok {
  display: none;
  margin-top: 16px;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-weight: 700;
  color: var(--green);
}

.form-ok.show {
  display: block;
}

.chip-list {
  display: grid;
  gap: 14px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.chip:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
}

.chip .item-ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.chip .item-ico svg {
  width: 22px;
  height: 22px;
}

.chip h4 {
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.chip p {
  font-size: 0.88rem;
  color: var(--muted);
}

.chip .chip-val {
  margin-left: auto;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--blue-deep);
  white-space: nowrap;
}

/* ---------- 20 Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #94a3b8;
}

.f-grid {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.1fr 0.8fr;
  gap: 36px;
  padding-block: 58px 44px;
}

.f-col h4 {
  color: #e2e8f0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.f-col p {
  font-size: 0.93rem;
}

.f-links li {
  margin-bottom: 9px;
}

.f-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.93rem;
}

.f-links a:hover {
  color: #fff;
}

.f-contact {
  font-size: 0.93rem;
  line-height: 2.1;
}

.f-contact a {
  color: #cbd5e1;
  text-decoration: none;
}

.f-contact a:hover {
  color: #fff;
}

.f-contact strong {
  color: #e2e8f0;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.f-bottom {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #64748b;
}

.f-bottom a {
  color: #94a3b8;
  text-decoration: none;
}

.f-bottom a:hover {
  color: #fff;
}

.f-legal {
  font-size: 0.82rem;
  line-height: 1.9;
  color: #64748b;
}

/* ---------- 21 Reveal & motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.revealed {
  opacity: 1;
  transform: none;
}

html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: 0.07s; }
.d2 { transition-delay: 0.14s; }
.d3 { transition-delay: 0.21s; }
.d4 { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 22 Responsive ---------- */

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 64px 60px;
  }
  .hero .calculator {
    max-width: 640px;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px;
  }
  .step:nth-child(3)::after {
    display: none;
  }
  .tiers {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
  .svc-block {
    grid-template-columns: 64px 1fr;
  }
  .svc-details {
    grid-template-columns: 1fr 1fr;
  }
  .f-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash {
    grid-template-columns: 1fr;
  }
  .dash-side {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --pad: 64px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: var(--navy-2);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 92px 30px 30px;
    transform: translateX(105%);
    transition: transform 0.28s ease;
    z-index: 120;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-link {
    display: block;
    padding: 15px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.02rem;
    width: 100%;
    color: #e2e8f0;
  }
  .nav-link.active {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--blue-bright);
  }
  .burger {
    display: block;
    z-index: 130;
  }
  .nav-cta {
    display: none;
  }
  .nav-cta-mobile {
    display: inline-flex;
    margin-top: 24px;
  }
  .grid-3,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --pad: 52px;
  }
  body {
    padding-bottom: 84px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .steps,
  .tiers {
    grid-template-columns: 1fr;
  }
  .step:not(:last-child)::after {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .tl-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .tl-item::before {
    display: none;
  }
  .tl-node {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .tl-num {
    width: 54px;
    height: 54px;
    font-size: 1.15rem;
    margin: 0;
  }
  .tl-dur {
    margin-top: 0;
  }
  .svc-block {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .svc-head {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .svc-details {
    grid-template-columns: 1fr;
  }
  .svc-glance {
    grid-template-columns: 1fr;
  }
  .calc-outputs {
    grid-template-columns: 1fr;
  }
  .calc-out--big {
    order: 0;
  }
  .prog {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-block: 10px;
    border-bottom: 1px solid var(--line);
  }
  .prog-status {
    text-align: left;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field--full {
    grid-column: 1;
  }
  .f-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .chip {
    flex-wrap: wrap;
  }
  .chip .chip-val {
    margin-left: 0;
    width: 100%;
    overflow-wrap: anywhere;
  }
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 16px;
  }
  .sticky-cta .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   23  Additions — 2026-09 gap optimization (jingsourcing.com bench)
   ============================================================ */

/* Anchor offset below the sticky header for any in-page target */
[id] {
  scroll-margin-top: 96px;
}

/* Hero promise line (check-styled) */
.hero-promise {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
  max-width: 56ch;
}

.hero-promise::before {
  content: "✓";
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 3px;
}

/* Comparison table — three-way comparison needs a wider floor */
.compare {
  min-width: 780px;
}

/* Testimonial stars */
.q-stars {
  color: var(--warn);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

/* Long-form guide bodies (resources + legal) */
.guide-body h3 {
  margin-top: 34px;
  margin-bottom: 10px;
}

.guide-body h3:first-child {
  margin-top: 0;
}

.guide-body p {
  margin-top: 10px;
  color: var(--navy-2);
}

.guide-body p strong {
  color: var(--ink);
}

.guide-body .tick-list li {
  color: var(--navy-2);
}

.guide-body .manifest-wrap {
  margin-top: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Lead-magnet form (Starter Checklist) */
.form--lead .field + .field {
  margin-top: 16px;
}

.form--lead textarea {
  min-height: 90px;
}

.form--lead .form-ok {
  margin-bottom: 4px;
}

@media (max-width: 700px) {
  .guide-body h3 {
    margin-top: 26px;
  }

  .hero-promise {
    font-size: 0.95rem;
  }
}

.guide-body .manifest {
  min-width: 640px;
}

/* ============================================================
   24  Warm restyle — jingsourcing.com direction
   White header · warm orange gradient hero · cream tints ·
   pill buttons · warm near-black dark bands & footer.
   Token names (--blue/--navy) are legacy but re-valued warm.
   ============================================================ */

/* --- header: white, dark text (was navy) --- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header .brand-name {
  color: var(--ink);
}

.site-header .brand-name .accent {
  color: var(--blue-deep);
}

.site-header .brand-tag {
  color: var(--muted);
}

.site-header .nav-link {
  color: #57534e;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--ink);
}

.site-header .nav-link.active {
  border-bottom-color: var(--blue-deep);
}

.site-header .burger {
  border-color: var(--line);
  color: var(--ink);
}

/* --- hero: warm light gradient (was navy) --- */
.hero {
  background:
    radial-gradient(760px 380px at 88% 118%, rgba(255, 153, 51, 0.32), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #fff3e2 62%, #ffe7c7 100%);
  color: var(--ink);
}

.hero::after {
  content: none;
}

.hero h1 {
  color: var(--ink);
}

.hero h1 .accent {
  color: var(--blue-deep);
}

.hero .kicker--light {
  color: var(--blue-deep);
}

.hero .lede {
  color: var(--muted);
}

.hero-promise {
  color: #57534e;
}

.hero .btn-ghost {
  color: var(--ink);
  border-color: rgba(29, 29, 31, 0.35);
}

.hero .btn-ghost:hover {
  background: rgba(29, 29, 31, 0.05);
  border-color: var(--ink);
}

.calculator {
  box-shadow: 0 24px 60px rgba(41, 32, 20, 0.16);
}

/* --- pill buttons (jingsourcing signature) --- */
.btn {
  border-radius: 999px;
}

.nav-cta {
  border-radius: 999px;
}

.btn-primary {
  box-shadow: 0 8px 22px rgba(230, 126, 34, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 10px 26px rgba(230, 126, 34, 0.36);
}

/* --- warm accents --- */
.tick-list li::before {
  color: var(--blue-deep);
}

.stat {
  background: var(--blue-soft);
  border-color: var(--blue-line);
  box-shadow: none;
}

.stat-num {
  color: var(--ink);
}

.tier--featured {
  box-shadow: 0 8px 28px rgba(230, 126, 34, 0.18);
}

.tl-num {
  box-shadow: 0 6px 18px rgba(230, 126, 34, 0.35);
}

.tl-dur {
  background: #57534e;
}

.dash-side li.active {
  background: rgba(255, 153, 51, 0.22);
}

.compare td.bad {
  color: #8a8279;
}

/* tag--navy sits on white case-study cards — needs a solid chip */
.tag--navy {
  background: var(--navy-2);
  color: #f3ede4;
  border-color: var(--navy-2);
}

/* focus rings: warm orange */
.field input:focus,
.field textarea:focus,
.field select:focus,
.calc-number:focus {
  box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.2);
}

/* --- final CTA band: dark with warm glow (bg rule was missing) --- */
.cta {
  background:
    radial-gradient(820px 320px at 50% -30%, rgba(255, 153, 51, 0.22), transparent 60%),
    var(--navy);
}

/* --- footer: warm grays on warm black --- */
.f-contact a {
  color: #d6cec4;
}

.f-contact strong {
  color: #efe7db;
}

.f-bottom {
  color: #948b80;
}

.f-bottom a {
  color: #b3aa9e;
}

.f-legal {
  color: #948b80;
}

/* --- mobile slide-in menu on warm dark --- */
@media (max-width: 900px) {
  .nav-links {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-link {
    color: #e8e1d7;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-link.active {
    color: var(--blue-bright);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.hero-promise::before {
  background: var(--blue-deep);
}

/* ---------- Photo frames & image layout ---------- */

.photo-frame {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--navy);
}

.photo-frame--3-2 img { aspect-ratio: 3 / 2; }
.photo-frame--4-3 img { aspect-ratio: 4 / 3; }
.photo-frame--4-5 img { aspect-ratio: 4 / 5; }
.photo-frame--16-9 img { aspect-ratio: 16 / 9; }
.photo-frame--global img { aspect-ratio: 8 / 5; object-fit: contain; }

.photo-caption {
  padding: 14px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.photo-grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1080px) {
  .photo-grid,
  .photo-grid--3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .photo-grid,
  .photo-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* Homepage image: keep the inquiry action ahead of imagery on small screens. */
.hero--photo .hero-inner {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-block: 64px;
}

.hero--photo h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.5rem);
}

.hero-visual {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--blue-line);
  border-radius: 24px;
  background: #fffaf3;
  box-shadow: 0 20px 48px rgba(62, 45, 20, 0.14);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-visual figcaption {
  padding: 18px 22px;
}

.hero-visual-title,
.hero-visual-note {
  display: block;
}

.hero-visual-title {
  color: var(--ink);
  font-weight: 700;
}

.hero-visual-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

@media (max-width: 900px) {
  .hero--photo .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 44px;
  }
  .hero-visual {
    width: 100%;
    max-width: 640px;
  }
}

/* Founder photo with floating name chip */
.founder-photo {
  position: relative;
}

.photo-chip {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 640px) {
  .photo-chip {
    position: static;
    margin-top: -6px;
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

/* ---------- Full-bleed photo band (background image + overlay note) ---------- */

.band-photo {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.band-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(33, 29, 26, 0.88) 0%,
    rgba(33, 29, 26, 0.35) 45%,
    rgba(33, 29, 26, 0.05) 100%
  );
}

.band-photo .wrap {
  position: relative;
  z-index: 1;
  padding-bottom: 30px;
}

.band-photo-note {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  max-width: 62ch;
}

@media (max-width: 640px) {
  .band-photo {
    min-height: 300px;
  }
}
