/* ============================================
   sinoaware · brand tokens
   ============================================ */

/* A compact preflight keeps native browser margins and SVG sizing from
   changing the page when it is opened directly from disk. */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body, h1, h2, h3, p, ul {
  margin: 0;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

ul {
  padding: 0;
  list-style: none;
}

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

button, input, textarea {
  margin: 0;
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

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

img {
  height: auto;
}

:root {
  --paper: #FAFAF7;
  --paper-soft: #F4F2EC;
  --ink: #0F1B2A;
  --ink-2: #1A2A3F;
  --ink-3: #475569;
  --line: #E5E1D7;
  --teal: #0E7490;
  --teal-soft: #E0F2FE;
  --cyan: #22D3EE;
  --coral: #F97316;
  --green: #10B981;
}

/* ============================================
   base typography
   ============================================ */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans SC', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
}

.font-sans { font-family: 'Inter', 'Noto Sans SC', ui-sans-serif, system-ui, sans-serif; }
.font-mono { font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }

/* color utilities */
.bg-paper { background-color: var(--paper); }
.bg-paper-soft { background-color: var(--paper-soft); }
.text-ink { color: var(--ink); }
.text-ink\/65 { color: rgba(15,27,42,0.65); }
.text-ink\/70 { color: rgba(15,27,42,0.70); }
.text-ink\/75 { color: rgba(15,27,42,0.75); }
.text-ink\/60 { color: rgba(15,27,42,0.60); }
.text-ink\/55 { color: rgba(15,27,42,0.55); }
.text-ink\/50 { color: rgba(15,27,42,0.50); }
.text-ink\/45 { color: rgba(15,27,42,0.45); }
.text-ink\/30 { color: rgba(15,27,42,0.30); }
.bg-ink { background-color: var(--ink); color: var(--paper); }
.bg-ink\/\[0\.02\] { background-color: rgba(15,27,42,0.02); }
.bg-ink\/5 { background-color: rgba(250,250,247,0.05); }
.bg-paper\/5 { background-color: rgba(250,250,247,0.05); }
.bg-paper\/10 { background-color: rgba(250,250,247,0.10); }
.bg-paper\/80 { background-color: rgba(250,250,247,0.80); }
.text-paper { color: var(--paper); }
.text-paper\/50 { color: rgba(250,250,247,0.50); }
.text-paper\/55 { color: rgba(250,250,247,0.55); }
.text-paper\/60 { color: rgba(250,250,247,0.60); }
.text-paper\/65 { color: rgba(250,250,247,0.65); }
.text-paper\/85 { color: rgba(250,250,247,0.85); }
.text-paper\/30 { color: rgba(250,250,247,0.30); }
.border-paper\/10 { border-color: rgba(250,250,247,0.10); }
.border-paper\/20 { border-color: rgba(250,250,247,0.20); }
.border-line { border-color: var(--line); }
.bg-line { background-color: var(--line); }

.text-teal { color: var(--teal); }
.bg-teal { background-color: var(--teal); }
.bg-teal\/5 { background-color: rgba(14,116,144,0.05); }
.bg-teal\/10 { background-color: rgba(14,116,144,0.10); }
.bg-teal\/40 { border-color: rgba(14,116,144,0.40); }
.border-teal\/40 { border-color: rgba(14,116,144,0.40); }
.shadow-teal\/5 { box-shadow: 0 10px 30px -10px rgba(14,116,144,0.05); }

.text-cyan { color: var(--cyan); }
.bg-cyan { background-color: var(--cyan); }

.text-coral { color: var(--coral); }
.bg-coral { background-color: var(--coral); }
.bg-coral\/5 { background-color: rgba(249,115,22,0.05); }
.bg-coral\/10 { background-color: rgba(249,115,22,0.10); }
.border-coral\/40 { border-color: rgba(249,115,22,0.40); }
.shadow-coral\/5 { box-shadow: 0 10px 30px -10px rgba(249,115,22,0.05); }

.text-green { color: var(--green); }
.bg-green { background-color: var(--green); }
.bg-green\/10 { background-color: rgba(16,185,129,0.10); }
.border-green\/40 { border-color: rgba(16,185,129,0.40); }
.shadow-green\/5 { box-shadow: 0 10px 30px -10px rgba(16,185,129,0.05); }

/* ============================================
   background grid pattern
   ============================================ */
.bg-grid {
  background-image:
    linear-gradient(rgba(15,27,42,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,27,42,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

/* ============================================
   hero animations
   ============================================ */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(0.95); opacity: 0.5; }
}
.center-mark { animation: pulse-ring 4s ease-in-out infinite; transform-origin: 260px 260px; }

@keyframes scan-h {
  0%, 100% { transform: translateY(-60px); opacity: 0.3; }
  50% { transform: translateY(60px); opacity: 0.7; }
}

@keyframes box-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.box { animation: box-blink 3s ease-in-out infinite; }
.box-1 { animation-delay: 0s; }
.box-2 { animation-delay: 0.8s; }
.box-3 { animation-delay: 1.6s; }
.box-4 { animation-delay: 2.4s; }

@keyframes flow-dash {
  to { stroke-dashoffset: -36; }
}
.flow-lines path { animation: flow-dash 3s linear infinite; }

/* ============================================
   service card hover refinement
   ============================================ */
.service-card {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
}
.service-card:hover {
  transform: translateY(-4px);
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.service-card:hover::before { opacity: 0.4; }

/* ============================================
   partner card hover
   ============================================ */
.partner-card {
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), border-color 0.3s ease, background-color 0.3s ease;
}
.partner-card:hover {
  transform: translateY(-2px);
  background-color: var(--paper-soft);
}

/* Keep the compact metrics and coverage artwork stable on narrow screens. */
.partner-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  width: 100%;
}
.partner-stat {
  min-width: 0;
}
.coverage-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  contain: paint;
}
.coverage-map > svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}
.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
}
.contact-icon > svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

/* Hero is single-column after removing the perception-field visual. Center
   the copy in a wide but capped column so the headline breathes without
   stretching across ultra-wide screens. */
.hero-layout {
  display: block;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
.hero-copy {
  min-width: 0;
  max-width: 48rem;
}
.hero-actions {
  flex-wrap: nowrap;
}
.hero-actions > a,
.hero-trust > div {
  white-space: nowrap;
}
.hero-trust {
  flex-wrap: nowrap;
}

/* Browser zoom often pushes a desktop viewport into this middle range.
   Scale the hero copy down so the headline, CTAs and trust row all stay
   comfortably inside one screen height. */
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-copy h1 {
    font-size: 2.25rem;
    line-height: 1.08;
  }
  .hero-copy p {
    margin-top: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.7;
  }
  .hero-actions {
    margin-top: 1.5rem;
    gap: 0.5rem;
  }
  .hero-actions > a {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  .hero-trust {
    margin-top: 1.5rem;
    gap: clamp(0.5rem, 1.5vw, 1rem);
    font-size: 0.6875rem;
  }
  .hero-trust svg {
    width: 0.75rem;
    height: 0.75rem;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    gap: 0.5rem;
  }
  .hero-actions > a {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.875rem;
  }
  .hero-trust {
    gap: 1rem;
  }
}

@media (max-width: 360px) {
  .hero-actions > a {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 0.8125rem;
  }
  .hero-trust {
    gap: 0.75rem;
    font-size: 0.6875rem;
  }
}

/* ============================================
   focus ring
   ============================================ */
input:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: none;
}
a:focus-visible { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--teal); border-radius: 4px; }
button:focus-visible { box-shadow: 0 0 0 3px var(--teal); border-radius: 9999px; }
input:focus, textarea:focus { border-bottom-color: var(--cyan) !important; }

/* ============================================
   selection
   ============================================ */
::selection { background: var(--cyan); color: var(--ink); }

/* ============================================
   reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================
   small responsive polish
   ============================================ */
@media (max-width: 640px) {
  h1 { font-size: 2.25rem !important; }
}

/* ============================================
   sinoaware · Tailwind utility subset
   Hand-rolled subset of Tailwind v3 utilities covering
   exactly the classes used in index.html. No build step,
   no network. Brand tokens live in styles.css.
   ============================================ */

/* ---- display ---- */
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }

/* ---- position ---- */
.absolute { position: absolute; }
.relative { position: relative; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.top-7 { top: 1.75rem; }
.top-32 { top: 8rem; }
.top-40 { top: 10rem; }
.right-0 { right: 0; }
.right-40 { right: 10rem; }
.left-0 { left: 0; }
.left-32 { left: 8rem; }
.-top-32 { top: -8rem; }
.-right-40 { right: -10rem; }
.-left-32 { left: -8rem; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ---- overflow ---- */
.overflow-hidden { overflow: hidden; }
.pointer-events-none { pointer-events: none; }

/* ---- flex / grid ---- */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

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

/* gap uses CSS variables defined per-utility below */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-10 { row-gap: 2.5rem; }

/* ---- aspect ratio ---- */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }

/* ---- width / height ---- */
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-14 { width: 3.5rem; }
.w-\[500px\] { width: 500px; }
.w-\[600px\] { width: 600px; }
.w-auto { width: auto; }
.w-full { width: 100%; }

.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-\[500px\] { height: 500px; }
.h-\[600px\] { height: 600px; }
.h-full { height: 100%; }
.h-px { height: 1px; }

/* ---- max-width ---- */
.max-w-xs { max-width: 20rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-\[520px\] { max-width: 520px; }
.max-w-\[640px\] { max-width: 640px; }

/* ---- margin ---- */
.mt-0 { margin-top: 0; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-9 { margin-top: 2.25rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-14 { margin-bottom: 3.5rem; }
.ml-1 { margin-left: 0.25rem; }
.-mr-2 { margin-right: -0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---- padding ---- */
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-5 { padding: 1.25rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-32 { padding-top: 8rem; }
.pb-20 { padding-bottom: 5rem; }

/* ---- space-y ---- */
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* ---- typography ---- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-\[11px\] { font-size: 11px; line-height: 1.25rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.05\] { line-height: 1.05; }

.text-center { text-align: center; }
.align-top { vertical-align: top; }

.whitespace-nowrap { white-space: nowrap; }

/* ---- antialiased ---- */
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ---- backgrounds ---- */
.bg-paper { background-color: var(--paper); }
.bg-paper-soft { background-color: var(--paper-soft); }
.bg-paper\/80 { background-color: rgba(250,250,247,0.80); }
.bg-paper\/10 { background-color: rgba(250,250,247,0.10); }
.bg-paper\/5 { background-color: rgba(250,250,247,0.05); }
.bg-paper\/30 { background-color: rgba(250,250,247,0.30); }
.bg-ink { background-color: var(--ink); }
.bg-ink\/5 { background-color: rgba(15,27,42,0.05); }
.bg-ink\/\[0\.02\] { background-color: rgba(15,27,42,0.02); }
.bg-teal { background-color: var(--teal); }
.bg-teal\/5 { background-color: rgba(14,116,144,0.05); }
.bg-teal\/10 { background-color: rgba(14,116,144,0.10); }
.bg-teal\/40 { background-color: rgba(14,116,144,0.40); }
.bg-cyan { background-color: var(--cyan); }
.bg-coral { background-color: var(--coral); }
.bg-coral\/5 { background-color: rgba(249,115,22,0.05); }
.bg-coral\/10 { background-color: rgba(249,115,22,0.10); }
.bg-green { background-color: var(--green); }
.bg-green\/10 { background-color: rgba(16,185,129,0.10); }
.bg-line { background-color: var(--line); }
.bg-transparent { background-color: transparent; }

/* ---- text colors ---- */
.text-ink { color: var(--ink); }
.text-ink\/30 { color: rgba(15,27,42,0.30); }
.text-ink\/45 { color: rgba(15,27,42,0.45); }
.text-ink\/50 { color: rgba(15,27,42,0.50); }
.text-ink\/55 { color: rgba(15,27,42,0.55); }
.text-ink\/60 { color: rgba(15,27,42,0.60); }
.text-ink\/65 { color: rgba(15,27,42,0.65); }
.text-ink\/70 { color: rgba(15,27,42,0.70); }
.text-ink\/75 { color: rgba(15,27,42,0.75); }
.text-paper { color: var(--paper); }
.text-paper\/30 { color: rgba(250,250,247,0.30); }
.text-paper\/50 { color: rgba(250,250,247,0.50); }
.text-paper\/55 { color: rgba(250,250,247,0.55); }
.text-paper\/60 { color: rgba(250,250,247,0.60); }
.text-paper\/65 { color: rgba(250,250,247,0.65); }
.text-paper\/85 { color: rgba(250,250,247,0.85); }
.text-teal { color: var(--teal); }
.text-cyan { color: var(--cyan); }
.text-coral { color: var(--coral); }
.text-green { color: var(--green); }

/* ---- borders ---- */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-style: solid; }
.border-dashed { border-style: dashed; }

.border-line { border-color: var(--line); }
.border-teal { border-color: var(--teal); }
.border-coral { border-color: var(--coral); }
.border-green { border-color: var(--green); }
.border-paper\/10 { border-color: rgba(250,250,247,0.10); }
.border-paper\/20 { border-color: rgba(250,250,247,0.20); }
.border-teal { border-color: var(--teal); }
.border-teal\/40 { border-color: rgba(14,116,144,0.40); }
.border-coral { border-color: var(--coral); }
.border-coral\/40 { border-color: rgba(249,115,22,0.40); }
.border-green { border-color: var(--green); }
.border-green\/40 { border-color: rgba(16,185,129,0.40); }
.border-ink\/30 { border-color: rgba(15,27,42,0.30); }

/* divide helpers (border between children) */
.divide-x > * + * { border-left-width: 1px; border-style: solid; }
.divide-line > * + * { border-color: var(--line); }

/* ---- rounded ---- */
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

/* ---- effects ---- */
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.blur-3xl { filter: blur(64px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }

/* ---- animation ---- */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ---- placeholder ---- */
input::placeholder, textarea::placeholder { color: rgba(250,250,247,0.30); }

/* ---- resize ---- */
.resize-none { resize: none; }

/* ---- hover / focus states (default base) ---- */
.transition { transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.hover\:text-ink:hover { color: var(--ink); }
.hover\:bg-cyan:hover { background-color: var(--cyan); }
.hover\:bg-teal:hover { background-color: var(--teal); }
.hover\:bg-ink\/\[0\.02\]:hover { background-color: rgba(15,27,42,0.02); }
.hover\:border-teal\/40:hover { border-color: rgba(14,116,144,0.40); }
.hover\:border-coral\/40:hover { border-color: rgba(249,115,22,0.40); }
.hover\:border-green\/40:hover { border-color: rgba(16,185,129,0.40); }
.hover\:border-ink\/30:hover { border-color: rgba(15,27,42,0.30); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.hover\:shadow-teal\/5:hover { box-shadow: 0 10px 30px -10px rgba(14,116,144,0.05); }
.hover\:shadow-coral\/5:hover { box-shadow: 0 10px 30px -10px rgba(249,115,22,0.05); }
.hover\:shadow-green\/5:hover { box-shadow: 0 10px 30px -10px rgba(16,185,129,0.05); }
.focus\:border-cyan:focus { border-color: var(--cyan); }

/* ============================================
   RESPONSIVE — sm (≥640px)
   ============================================ */
@media all and (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
.sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:hidden { display: none; }
  .sm\:gap-6 { gap: 1.5rem; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:mt-2 { margin-top: 0.5rem; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
}

/* ============================================
   RESPONSIVE — md (≥768px)
   ============================================ */
@media all and (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:inline-flex { display: inline-flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
}

/* ============================================
   RESPONSIVE — lg (≥1024px)
   ============================================ */
@media all and (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-end { align-items: flex-end; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:mt-8 { margin-top: 2rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:gap-20 { gap: 5rem; }
  .lg\:p-8 { padding: 2rem; }
  .lg\:p-10 { padding: 2.5rem; }
  .lg\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .lg\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:pb-28 { padding-bottom: 7rem; }
  .lg\:pt-40 { padding-top: 10rem; }
  .lg\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* ============================================
   capabilities section: scene cards + pipeline
   ============================================ */
.scene-card {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  transition: border-color 0.2s, transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease;
}
.scene-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -8px rgba(15,27,42,0.08);
  border-color: rgba(14,116,144,0.25);
}
.scene-card-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}
.scene-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}
.scene-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.scene-card-desc {
  font-size: 0.8125rem;
  color: rgba(15, 27, 42, 0.55);
  line-height: 1.5;
}

/* scene stats bar */
.scene-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-soft);
}
.scene-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}
.scene-stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.scene-stat-label {
  font-size: 0.75rem;
  color: rgba(15, 27, 42, 0.55);
  text-align: center;
  white-space: nowrap;
}
.scene-stat-sep {
  width: 1px;
  height: 2.5rem;
  background: var(--line);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .scene-stats-bar {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
  }
  .scene-stat-sep { display: none; }
  .scene-stat-num { font-size: 1.5rem; }
  .scene-stat-label { font-size: 0.6875rem; }
}

.pipeline {
  position: relative;
}
.pipeline .step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.pipeline .step-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
}
.pipeline .step-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.pipeline .step-ai .step-icon {
  background: rgba(14, 116, 144, 0.1);
  color: var(--teal);
}
.pipeline .step-human .step-icon {
  background: rgba(249, 115, 22, 0.1);
  color: var(--coral);
}
.pipeline .step-qa .step-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}
.pipeline .step-final .step-icon {
  background: var(--ink);
  color: var(--paper);
}
.pipeline .step-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
.pipeline .step-desc {
  font-size: 0.75rem;
  color: rgba(15, 27, 42, 0.55);
  line-height: 1.4;
}

.pipeline .step-arrow {
  display: none;
}

@media (min-width: 1024px) {
  .pipeline {
    align-items: stretch;
  }
  .pipeline .step {
    flex: 1 1 0;
    min-width: 0;
    min-height: 100%;
  }
  .pipeline .step-arrow {
    display: flex;
    align-self: center;
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    color: rgba(15, 27, 42, 0.3);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14'/><path d='M13 5l7 7-7 7'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
}
