/* Cheetah Solutions — website kit styles
   Anchors: Cheetah Orange + Deep Charcoal
   Type: Inter (Latin) · Noto Sans TC (CJK) */
@import url("/colors_and_type.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--background); color: var(--foreground); font-family: var(--font-bilingual); }
img { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.cs-container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

.cs-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--cheetah-orange); margin-bottom: 18px; }
.cs-eyebrow--on-dark { color: #FDBA74; }
.cs-eyebrow__dot { width: 7px; height: 7px; border-radius: 999px; background: var(--cheetah-orange); box-shadow: 0 0 0 4px rgba(249,115,22,.18); }
.cs-grad-text { background: var(--grad-cheetah); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons — full state matrix (default / hover / active / focus / disabled) */
.cs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-snap),
              background-color var(--dur-fast),
              box-shadow var(--dur-fast),
              border-color var(--dur-fast),
              color var(--dur-fast);
}
.cs-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.cs-btn[disabled], .cs-btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }
.cs-btn--sm { padding: 9px 14px; font-size: 13.5px; border-radius: 10px; }
.cs-btn--lg { padding: 15px 24px; font-size: 16px; border-radius: 14px; }
.cs-btn--block { width: 100%; }

.cs-btn--primary { background: var(--cheetah-orange); color: #fff; box-shadow: var(--shadow-orange-sm); }
.cs-btn--primary:hover { background: var(--ember); box-shadow: var(--shadow-orange); }
.cs-btn--primary:active { transform: scale(.98); background: #C2410C; }
.cs-btn--primary:focus-visible { box-shadow: var(--shadow-orange-sm), var(--focus-ring); }

.cs-btn--secondary { background: transparent; color: var(--deep-charcoal); border-color: var(--ink-300); }
.cs-btn--secondary:hover { background: rgba(17,24,39,.04); border-color: var(--ink-400); }
.cs-btn--secondary:active { background: rgba(17,24,39,.08); transform: scale(.98); }

.cs-btn--ghost { background: transparent; color: var(--deep-charcoal); }
.cs-btn--ghost:hover { background: rgba(17,24,39,.04); }

/* Pills */
.cs-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.cs-pill__dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.cs-pill--orange { background: #FFEDD5; color: #9A3412; }
.cs-pill--orange-solid { background: var(--cheetah-orange); color: #fff; }
.cs-pill--warm { background: var(--warm-white); color: #7C2D12; box-shadow: inset 0 0 0 1px #FED7AA; }

/* Card */
.cs-card { background: var(--clean-white); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease-out), box-shadow .22s; }
.cs-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.cs-mono { font-family: var(--font-mono); font-size: 12px; color: var(--foreground-subtle); }

/* Header */
.cs-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .2s, box-shadow .2s; border-bottom: 1px solid transparent; }
.cs-header.is-scrolled { border-bottom: 1px solid var(--border); }
.cs-header__row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.cs-brand { display: inline-flex; align-items: center; gap: 12px; }
.cs-brand img { width: 40px; height: auto; }
.cs-brand__text { display: flex; flex-direction: column; line-height: 1; }
.cs-brand__tc { font-family: var(--font-tc); font-weight: 900; font-size: 16px; color: var(--deep-charcoal); letter-spacing: 0; }
.cs-brand__en { font-family: var(--font-sans); font-size: 11.5px; font-weight: 700; color: var(--cheetah-orange); margin-top: 3px; letter-spacing: .02em; }
.cs-nav { display: flex; gap: 26px; }
.cs-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-700); transition: color .15s; white-space: nowrap; }
.cs-nav a:hover { color: var(--deep-charcoal); }
.cs-header__cta { display: flex; align-items: center; gap: 14px; }
.cs-lang { font-size: 13px; font-weight: 600; color: var(--foreground-muted); padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border); }

/* Hero */
.cs-hero { position: relative; padding: 90px 0 110px; overflow: hidden; }
.cs-hero__bg { position: absolute; inset: 0; background:
  radial-gradient(60% 40% at 80% 20%, rgba(251,146,60,.18), transparent 60%),
  radial-gradient(40% 30% at 0% 100%, rgba(245,158,11,.10), transparent 60%),
  linear-gradient(180deg, var(--warm-white) 0%, var(--clean-white) 70%); pointer-events: none; }
.cs-hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.cs-hero__title { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; letter-spacing: var(--tracking-display); line-height: var(--lh-tight); margin: 0 0 18px; text-wrap: balance; }
.cs-hero__tc { font-family: var(--font-tc); font-weight: 500; font-size: 19px; color: var(--ink-700); margin: 0 0 10px; line-height: var(--lh-tc-base); letter-spacing: 0; }
.cs-hero__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--foreground-muted); margin: 0 0 28px; max-width: 560px; }
.cs-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.cs-hero__signals { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--foreground-muted); }
.cs-hero__signals li { display: inline-flex; align-items: center; gap: 6px; }
.cs-check { width: 18px; height: 18px; border-radius: 999px; background: var(--success-bg); color: var(--success); font-size: 11px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }

.cs-hero__art { position: relative; min-height: 480px; }
.cs-hero__streaks { position: absolute; inset: 16px 10px auto auto; width: 360px; height: 240px; pointer-events: none; opacity: .62; transform: rotate(-10deg); }
.cs-hero__streaks span { position: absolute; right: 0; height: 2px; border-radius: 999px; background: linear-gradient(90deg, transparent, rgba(249,115,22,.56), transparent); animation: cs-streak-drift 6.8s var(--ease-out) infinite; }
.cs-hero__streaks span:nth-child(1) { top: 44px; width: 270px; animation-delay: -.4s; }
.cs-hero__streaks span:nth-child(2) { top: 96px; width: 180px; right: 52px; animation-delay: -2.1s; }
.cs-hero__streaks span:nth-child(3) { top: 152px; width: 230px; right: 18px; animation-delay: -4s; }
.cs-hero__badge { position: absolute; top: 0; right: 0; width: 220px; height: 220px; border-radius: 32px; background: var(--grad-flame-radial); box-shadow: var(--shadow-orange); display: flex; align-items: center; justify-content: center; animation: cs-badge-drift 7.5s var(--ease-out) infinite; }
.cs-hero__badge img { width: 170px; filter: brightness(0) invert(1); }
.cs-hero__badge--small { width: 168px; height: 168px; border-radius: 28px; opacity: .72; }
.cs-hero__badge--small img { width: 126px; }
.cs-hero__card { position: absolute; background: var(--clean-white); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 18px 20px; }
.cs-hero__card--audit { left: 0; top: 90px; width: 320px; }
.cs-hero__card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cs-hero__metric { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.cs-hero__metric-lbl { font-size: 13px; color: var(--foreground-muted); line-height: 1.45; }
.cs-hero__metric-lbl--lead { font-size: 16px; font-weight: 700; color: var(--deep-charcoal); letter-spacing: -.01em; }
.cs-hero__bars { display: flex; flex-direction: column; gap: 6px; }
.cs-hero__bar { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 10px; font-size: 11px; color: var(--foreground-muted); }
.cs-hero__bar b { font-weight: 600; color: var(--ink-700); }
.cs-hero__bar span { display: block; height: 8px; background: var(--grad-cheetah); border-radius: 999px; }
.cs-hero__card--note { right: 10px; bottom: 0; width: 280px; font-size: 13px; color: var(--ink-700); display: flex; flex-direction: column; gap: 6px; }
.cs-hero__note-meta { color: var(--foreground-subtle); }

.cs-audit-console {
  position: absolute;
  left: 0;
  right: 0;
  top: 62px;
  max-width: 520px;
  margin-left: auto;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,247,237,.92));
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cs-audit-console::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(249,115,22,.22), transparent 64%);
  pointer-events: none;
}

.cs-audit-console__top,
.cs-audit-console__score,
.cs-audit-layer,
.cs-audit-console__output {
  position: relative;
  z-index: 1;
}

.cs-audit-console__top,
.cs-audit-console__score,
.cs-audit-layer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cs-audit-console__score {
  margin: 22px 0 16px;
  padding: 16px;
  border-radius: 18px;
  background: var(--deep-charcoal);
  color: #fff;
}

.cs-audit-console__score span {
  color: rgba(255,247,237,.68);
  font-size: 13px;
}

.cs-audit-console__score strong {
  color: #FDBA74;
  font-size: 18px;
  white-space: nowrap;
}

.cs-audit-console__layers {
  display: grid;
  gap: 10px;
}

.cs-audit-layer {
  padding: 13px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: var(--shadow-xs);
  animation: cs-console-layer-in 520ms var(--ease-out) both;
  animation-delay: calc(var(--i) * 80ms);
}

.cs-audit-layer b {
  display: block;
  color: var(--deep-charcoal);
  font-size: 15px;
}

.cs-audit-layer span {
  display: block;
  margin-top: 2px;
  color: var(--foreground-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.cs-audit-layer em {
  flex: none;
  color: #9A3412;
  background: #FFEDD5;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.cs-audit-console__output {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--warm-white);
  border: 1px solid #FED7AA;
}

.cs-audit-console__output b {
  display: block;
  margin: 4px 0;
  color: var(--deep-charcoal);
}

.cs-audit-console__output p {
  margin: 0;
  font-size: 13px;
  color: var(--foreground-muted);
}

@keyframes cs-streak-drift {
  0%, 100% { opacity: .22; transform: translate3d(-10px, 0, 0) scaleX(.92); }
  42% { opacity: .78; transform: translate3d(18px, 0, 0) scaleX(1); }
}

@keyframes cs-badge-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, -8px, 0); }
}

@keyframes cs-console-layer-in {
  from { opacity: .72; transform: translate3d(18px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Trust strip — credibility badges (no fake client logos) */
.cs-trust { padding: 36px 0 16px; border-top: 1px solid var(--border); }
.cs-trust__row--badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cs-trust__badge { display: flex; gap: 12px; align-items: flex-start; padding: 4px 0; }
.cs-trust__check { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--grad-cheetah); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; box-shadow: var(--shadow-orange-sm); }
.cs-trust__badge-title { font-size: 14px; font-weight: 700; color: var(--deep-charcoal); letter-spacing: -.005em; }
.cs-trust__badge-desc { font-size: 12.5px; color: var(--foreground-muted); margin-top: 2px; line-height: 1.45; }

/* Workflow disclaimer + scenario blurb */
.cs-workflow__disclaimer { font-size: 14px; color: var(--foreground-subtle); font-style: italic; max-width: 560px; }
.cs-workflow__scenario { font-size: 14.5px; color: var(--ink-700); line-height: 1.6; margin: 0 0 16px; padding: 14px 16px; background: var(--warm-white); border-radius: 12px; border-left: 3px solid var(--cheetah-orange); }

/* Sections — premium calm rhythm */
.cs-section { padding: var(--section-pad-y-desktop) 0; position: relative; }
.cs-section--warm { background: var(--warm-white); }
.cs-section--dark { background: var(--deep-charcoal); color: var(--foreground-on-dark); }
.cs-section--dark h2, .cs-section--dark h3 { color: #FFF; }
.cs-section--dark p { color: rgba(255,247,237,.74); }
.cs-section__title { font-size: var(--fs-h2); font-weight: 700; letter-spacing: var(--tracking-tight); line-height: 1.1; margin: 0 0 14px; max-width: 760px; text-wrap: balance; }
.cs-section__lead { font-size: 18px; color: var(--foreground-muted); max-width: 620px; margin: 0 0 48px; line-height: 1.55; }
.cs-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.cs-section__head .cs-section__title { margin-bottom: 0; }

/* Pain points */
.cs-pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cs-pain { background: var(--clean-white); border-radius: 18px; padding: 24px 26px; border: 1px solid var(--border); }
.cs-pain__num { font-family: var(--font-mono); font-size: 12px; color: var(--cheetah-orange); font-weight: 700; }
.cs-pain h3 { font-size: 20px; font-weight: 700; margin: 6px 0 6px; letter-spacing: -.01em; }
.cs-pain p { font-size: 15px; color: var(--foreground-muted); line-height: 1.6; }

.cs-breakflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.cs-breakflow__stage {
  position: relative;
  min-height: 210px;
  padding: 20px;
  border-radius: 20px;
  background: var(--clean-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.cs-breakflow__stage::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -18px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, rgba(249,115,22,.72), transparent);
}

.cs-breakflow__stage:last-child::after {
  display: none;
}

.cs-breakflow__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--cheetah-orange);
}

.cs-breakflow__stage h3 {
  margin: 10px 0 8px;
  font-size: 20px;
}

.cs-breakflow__stage p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--foreground-muted);
}

/* Solution / dark */
.cs-solution { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.cs-solution__title { font-size: var(--fs-h2); font-weight: 700; letter-spacing: var(--tracking-tight); line-height: 1.1; color: #fff; margin: 0 0 18px; text-wrap: balance; }
.cs-solution__lead { font-size: 18px; line-height: 1.6; max-width: 540px; margin: 0 0 24px; }
.cs-solution__list { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: rgba(255,247,237,.85); }
.cs-solution__list b { color: var(--cheetah-orange); margin-right: 8px; font-weight: 700; }
.cs-solution__diagram { position: relative; width: 100%; min-width: 380px; aspect-ratio: 1/1; max-width: 460px; margin-left: auto; isolation: isolate; overflow: visible; }
.cs-system-map { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--cheetah-orange); overflow: visible; }
.cs-system-map__glow { animation: cs-map-glow 5.8s var(--ease-out) infinite; transform-origin: center; }
.cs-system-map__ring { fill: none; stroke: rgba(255,247,237,.13); stroke-width: 1; stroke-dasharray: 7 10; transform-origin: center; }
.cs-system-map__ring--outer { animation: cs-ring-spin 34s linear infinite; }
.cs-system-map__ring--inner { animation: cs-ring-spin 24s linear infinite reverse; opacity: .82; }
.cs-system-map__path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-dasharray: .18 .82; stroke-dashoffset: 1; opacity: .42; filter: drop-shadow(0 0 8px rgba(249,115,22,.28)); animation: cs-flow-pulse 4.8s var(--ease-out) infinite; }
.cs-system-map__path--2 { animation-delay: -.55s; }
.cs-system-map__path--3 { animation-delay: -1.1s; }
.cs-system-map__path--4 { animation-delay: -1.65s; }
.cs-system-map__path--5 { animation-delay: -2.2s; }
.cs-system-map__path--6 { animation-delay: -2.75s; }
.cs-node { position: absolute; z-index: 2; background: rgba(31,41,55,.9); border: 1px solid rgba(255,247,237,.16); color: var(--foreground-on-dark); padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: 0 14px 34px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.04); transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base), background-color var(--dur-base), box-shadow var(--dur-base); }
.cs-node > span { display: block; animation: cs-node-float 6.2s var(--ease-out) infinite; }
.cs-node:hover { background: rgba(31,41,55,1); border-color: rgba(249,115,22,.52); box-shadow: 0 18px 42px rgba(0,0,0,.24), 0 0 0 4px rgba(249,115,22,.10); }
.cs-node--center { z-index: 3; left: 50%; top: 50%; transform: translate(-50%,-50%); padding: 18px 22px; border-radius: 24px; background: linear-gradient(180deg, #1F2937, #111827); display: flex; flex-direction: column; align-items: center; gap: 8px; box-shadow: var(--shadow-orange-sm), 0 0 0 12px rgba(249,115,22,.05); animation: cs-center-breathe 6.4s var(--ease-out) infinite; }
.cs-node--center img { width: 56px; }
.cs-node--center b { font-size: 14px; }
.cs-node--n1 { top: 4%; left: 12%; }
.cs-node--n2 { top: 4%; right: 6%; }
.cs-node--n3 { top: 50%; left: -2%; transform: translateY(-50%); }
.cs-node--n4 { top: 50%; right: -4%; transform: translateY(-50%); }
.cs-node--n5 { bottom: 6%; left: 14%; }
.cs-node--n6 { bottom: 6%; right: 10%; }
.cs-node--n2 > span { animation-delay: -.8s; }
.cs-node--n3 > span { animation-delay: -1.5s; }
.cs-node--n4 > span { animation-delay: -2.3s; }
.cs-node--n5 > span { animation-delay: -3.1s; }
.cs-node--n6 > span { animation-delay: -3.8s; }

.cs-system-explain {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.cs-system-explain article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,247,237,.06);
  border: 1px solid var(--border-on-dark);
}

.cs-system-explain span {
  display: inline-flex;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #FDBA74;
}

.cs-system-explain h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.cs-system-explain p {
  font-size: 14px;
  line-height: 1.65;
}

@keyframes cs-flow-pulse {
  0%, 100% { stroke-dashoffset: 1; opacity: .24; }
  44% { stroke-dashoffset: 0; opacity: .72; }
}

@keyframes cs-ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes cs-map-glow {
  0%, 100% { opacity: .66; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.03); }
}

@keyframes cs-node-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 0); }
}

@keyframes cs-center-breathe {
  0%, 100% { transform: translate(-50%,-50%) scale(1); }
  50% { transform: translate(-50%,-50%) scale(1.025); }
}

/* Services — icon, title, desc, 3 outcomes, link */
.cs-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cs-service { padding: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--deep-charcoal); }
.cs-service__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-cheetah); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-orange-sm); margin-bottom: 4px; }
.cs-service h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.cs-service p { font-size: 14.5px; color: var(--foreground-muted); line-height: 1.55; }
.cs-service__outcomes { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 6px; padding: 0; list-style: none; }
.cs-service__outcomes li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--ink-700); line-height: 1.45; }
.cs-service__outcomes li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 2px; border-radius: 2px; background: var(--cheetah-orange); }
.cs-service__more { margin-top: auto; padding-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--ember); display: inline-flex; align-items: center; gap: 6px; }

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

.cs-deliverable {
  position: relative;
  min-height: 250px;
  padding: 24px;
  border-radius: 22px;
  background: var(--clean-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.cs-deliverable::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad-cheetah);
}

.cs-deliverable__file {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--foreground-subtle);
}

.cs-deliverable h3 {
  margin: 34px 0 10px;
  font-size: 21px;
}

.cs-deliverable p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--foreground-muted);
}

/* How it works steps */
.cs-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cs-step { background: var(--clean-white); border-radius: 18px; padding: 22px 24px; border: 1px solid var(--border); }
.cs-step.is-active { background: var(--deep-charcoal); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.cs-step.is-active h3 { color: #fff; }
.cs-step.is-active p { color: rgba(255,247,237,.82); }
.cs-step__num { font-family: var(--font-mono); font-size: 12px; color: var(--cheetah-orange); font-weight: 700; }
.cs-step h3 { font-size: 20px; margin: 8px 0; letter-spacing: -.01em; }
.cs-step p { font-size: 14px; color: var(--foreground-muted); line-height: 1.55; }

/* Workflows */
.cs-workflows { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cs-workflow { padding: 26px 28px; }
.cs-workflow__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cs-workflow h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 16px; }
.cs-workflow__steps { display: flex; flex-direction: column; gap: 10px; counter-reset: w; list-style: none; padding: 0; margin: 0; }
.cs-workflow__steps li { position: relative; padding-left: 36px; font-size: 14.5px; color: var(--ink-700); line-height: 1.5; counter-increment: w; }
.cs-workflow__steps li::before { content: counter(w, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--cheetah-orange); width: 26px; }

/* Why us */
.cs-why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: flex-start; }
.cs-why .cs-section__title { margin: 0; }
.cs-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cs-why__item { background: var(--clean-white); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.cs-why__check { width: 32px; height: 32px; border-radius: 10px; background: var(--grad-cheetah); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px; }
.cs-why__item h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; letter-spacing: -.01em; }
.cs-why__item p { font-size: 14px; color: var(--foreground-muted); line-height: 1.55; }

/* Insights */
.cs-insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cs-insight { overflow: hidden; }
.cs-insight__cover { aspect-ratio: 16/9; }
.cs-insight__cover[data-i="0"] { background: linear-gradient(135deg, #F59E0B, #F97316 60%, #EA580C); }
.cs-insight__cover[data-i="1"] { background: linear-gradient(135deg, #111827, #334155); }
.cs-insight__cover[data-i="2"] { background: linear-gradient(135deg, #FED7AA, #FB923C); }
.cs-insight__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.cs-insight h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; color: var(--deep-charcoal); margin: 0; }
.cs-insight__meta { color: var(--foreground-subtle); }

/* FAQ */
.cs-faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: flex-start; }
.cs-faq__list { display: flex; flex-direction: column; gap: 10px; }
.cs-faq__item { background: var(--clean-white); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; transition: box-shadow .15s; }
.cs-faq__item[open] { box-shadow: var(--shadow-sm); }
.cs-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 600; color: var(--deep-charcoal); }
.cs-faq__item summary::-webkit-details-marker { display: none; }
.cs-faq__plus { font-size: 22px; color: var(--cheetah-orange); font-weight: 400; transition: transform .2s; }
.cs-faq__item[open] .cs-faq__plus { transform: rotate(45deg); }
.cs-faq__item p { margin: 12px 0 0; font-size: 15px; color: var(--foreground-muted); line-height: 1.65; }

/* Final CTA */
.cs-final { background: var(--deep-charcoal); color: var(--foreground-on-dark); padding: var(--section-pad-y-desktop) 0; }
.cs-final__inner { position: relative; text-align: center; max-width: 720px; margin: 0 auto; padding: 70px 40px; border-radius: 32px; background: linear-gradient(180deg, #1F2937, #111827); border: 1px solid var(--border-on-dark); overflow: hidden; }
.cs-final__bg { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 100% 0%, rgba(249,115,22,.30), transparent 60%),
  radial-gradient(50% 40% at 0% 100%, rgba(245,158,11,.18), transparent 60%); pointer-events: none; }
.cs-final__title { position: relative; font-size: var(--fs-h2); font-weight: 700; letter-spacing: var(--tracking-tight); color: #fff; margin: 0 0 14px; }
.cs-final__tc { position: relative; font-family: var(--font-tc); font-weight: 500; font-size: 18px; color: #FED7AA; margin: 0 0 8px; line-height: var(--lh-tc-base); }
.cs-final__lead { position: relative; font-size: 17px; color: rgba(255,247,237,.78); margin: 0 0 32px; }
.cs-final__form { position: relative; display: flex; gap: 10px; max-width: 560px; margin: 0 auto 18px; flex-wrap: wrap; }
.cs-input { flex: 1; min-width: 180px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,247,237,.18); background: rgba(255,247,237,.06); color: #fff; font-family: inherit; font-size: 15px; outline: none; }
.cs-input::placeholder { color: rgba(255,247,237,.45); }
.cs-input:focus { border-color: var(--cheetah-orange); box-shadow: var(--focus-ring); }
.cs-final__signals { position: relative; display: flex; gap: 22px; justify-content: center; font-size: 13px; color: rgba(255,247,237,.6); flex-wrap: wrap; }

/* Footer */
.cs-footer { background: #0B1220; color: rgba(255,247,237,.7); padding: 64px 0 28px; }
.cs-footer__grid { display: grid; grid-template-columns: 1.25fr .9fr .8fr 1.35fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--border-on-dark); }
.cs-footer .footer-brand { display: inline-flex; align-items: center; }
.cs-footer .footer-brand img { display: block; width: min(220px, 100%); max-width: 220px; height: auto; }
.cs-footer .footer-brand strong { display: none; color: rgba(255,247,237,.96); font-size: 18px; line-height: 1.08; }
.cs-footer .footer-brand small { display: none; color: var(--cheetah-orange); font-size: 13px; font-weight: 800; line-height: 1.1; }
.cs-footer__brand p { color: rgba(255,247,237,.6); font-size: 14px; line-height: 1.6; max-width: 320px; margin: 14px 0 0; }
.cs-footer h4 { font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; color: #FED7AA; margin: 0 0 14px; }
.cs-footer ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.cs-footer .footer-address { line-height: 1.5; }
.cs-footer a:hover { color: #FB923C; }
.cs-footer__legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; font-size: 12.5px; color: rgba(255,247,237,.4); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* zh-Hant-HK overrides — looser line-height for CJK, no character break */
.cs-hero__title--tc { font-family: var(--font-tc); font-weight: 900; line-height: 1.22; letter-spacing: 0; word-break: keep-all; overflow-wrap: anywhere; }
.cs-hero__lead--tc { font-family: var(--font-tc); line-height: 1.75; letter-spacing: 0; word-break: keep-all; overflow-wrap: anywhere; }
.cs-section__title { word-break: keep-all; overflow-wrap: anywhere; }
:lang(zh-Hant-HK) .cs-section__title, html[lang^="zh"] .cs-section__title { font-family: var(--font-tc); font-weight: 900; line-height: 1.28; letter-spacing: 0; }
:lang(zh-Hant-HK) .cs-section__lead, html[lang^="zh"] .cs-section__lead { line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
:lang(zh-Hant-HK) .cs-pain h3, html[lang^="zh"] .cs-pain h3,
:lang(zh-Hant-HK) .cs-service h3, html[lang^="zh"] .cs-service h3,
:lang(zh-Hant-HK) .cs-step h3, html[lang^="zh"] .cs-step h3,
:lang(zh-Hant-HK) .cs-workflow h3, html[lang^="zh"] .cs-workflow h3,
:lang(zh-Hant-HK) .cs-why__item h3, html[lang^="zh"] .cs-why__item h3,
:lang(zh-Hant-HK) .cs-insight h3, html[lang^="zh"] .cs-insight h3 { line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
:lang(zh-Hant-HK) .cs-pain p, html[lang^="zh"] .cs-pain p,
:lang(zh-Hant-HK) .cs-service p, html[lang^="zh"] .cs-service p,
:lang(zh-Hant-HK) .cs-step p, html[lang^="zh"] .cs-step p,
:lang(zh-Hant-HK) .cs-breakflow__stage p, html[lang^="zh"] .cs-breakflow__stage p,
:lang(zh-Hant-HK) .cs-system-explain p, html[lang^="zh"] .cs-system-explain p,
:lang(zh-Hant-HK) .cs-deliverable p, html[lang^="zh"] .cs-deliverable p,
:lang(zh-Hant-HK) .cs-why__item p, html[lang^="zh"] .cs-why__item p,
:lang(zh-Hant-HK) .cs-faq__item p, html[lang^="zh"] .cs-faq__item p { line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
:lang(zh-Hant-HK) .cs-final__title, html[lang^="zh"] .cs-final__title { font-family: var(--font-tc); font-weight: 900; line-height: 1.28; }
:lang(zh-Hant-HK) .cs-solution__title, html[lang^="zh"] .cs-solution__title { font-family: var(--font-tc); font-weight: 900; line-height: 1.3; }

/* 3-step layout for HK version */
.cs-steps--three { grid-template-columns: repeat(3, 1fr); }

/* Buttons + pills don't shrink-clip Chinese */
.cs-btn { white-space: nowrap; }
@media (max-width: 720px) {
  .cs-btn { white-space: normal; }
  .cs-steps--three { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .cs-steps--three { grid-template-columns: 1fr; }
}

/* Tablet */
@media (max-width: 1024px) {
  .cs-services { grid-template-columns: repeat(2, 1fr); }
  .cs-breakflow { grid-template-columns: 1fr; }
  .cs-breakflow__stage { min-height: auto; }
  .cs-breakflow__stage::after {
    top: auto;
    right: auto;
    left: 28px;
    bottom: -14px;
    width: 2px;
    height: 22px;
    background: linear-gradient(180deg, rgba(249,115,22,.72), transparent);
  }
  .cs-system-explain { grid-template-columns: repeat(2, 1fr); }
  .cs-deliverables { grid-template-columns: repeat(2, 1fr); }
  .cs-steps { grid-template-columns: repeat(2, 1fr); }
  .cs-steps.cs-steps--three { grid-template-columns: 1fr; }
  .cs-trust__row--badges { grid-template-columns: repeat(2, 1fr); }
  .cs-solution__diagram {
    min-width: 0;
    width: min(100%, 460px);
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .cs-container { padding: 0 20px; }
  .cs-section { padding: var(--section-pad-y-mobile) 0; }
  .cs-final { padding: var(--section-pad-y-mobile) 0; }
  .cs-nav { display: none; }
  .cs-hero { padding: 56px 0 64px; }
  .cs-hero__inner, .cs-solution, .cs-why, .cs-faq { grid-template-columns: 1fr; gap: 40px; }
  .cs-hero__art { min-height: 380px; }
  .cs-hero__streaks { display: none; }
  .cs-hero__title { font-size: clamp(34px, 9vw, 44px); }
  .cs-hero__ctas { flex-direction: column; align-items: stretch; }
  .cs-hero__ctas .cs-btn { width: 100%; }
  .cs-hero__card--audit {
    left: 0;
    right: 0;
    width: auto;
  }
  .cs-hero__card-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .cs-audit-console {
    position: relative;
    top: auto;
    max-width: none;
    margin: 0;
    padding: 18px;
  }
  .cs-hero__badge--small {
    top: 24px;
    right: 18px;
    width: 150px;
    height: 150px;
    opacity: .28;
  }
  .cs-hero__badge--small img {
    width: 112px;
  }
  .cs-audit-layer {
    align-items: flex-start;
    flex-direction: column;
  }
  .cs-section__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 34px;
  }
  .cs-section__head .cs-section__title { margin-bottom: 0; }
  .cs-section__head > .cs-btn {
    flex: none;
    white-space: nowrap;
    width: auto;
  }
  .cs-solution__diagram {
    aspect-ratio: 1 / 1;
    max-width: 360px;
    min-width: 0;
    width: 100%;
  }
  .cs-node { padding: 9px 13px; }
  .cs-node--n2 { right: 10%; }
  .cs-node--n3 { left: 0; }
  .cs-node--n4 { right: 0; }
  .cs-node--n5 { left: 10%; }
  .cs-node--n6 { right: 12%; }
  .cs-system-explain {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
  .cs-deliverables {
    grid-template-columns: 1fr;
  }
  .cs-deliverable {
    min-height: auto;
  }
  .cs-pains, .cs-services, .cs-steps, .cs-workflows, .cs-insights, .cs-why__grid, .cs-footer__grid, .cs-trust__row--badges { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .cs-header__row { gap: 12px; }
  .cs-brand { gap: 10px; }
  .cs-brand img { width: 34px; }
  .cs-brand__tc { font-size: 15px; }
  .cs-brand__en { font-size: 10.5px; }
  .cs-header__cta .cs-btn {
    padding: 8px 11px;
    font-size: 12.5px;
    white-space: normal;
  }
  .cs-hero__card { padding: 16px; }
  .cs-pill { white-space: normal; }
}
