/* ============================================================
   Eursino 欧芯能 — 全站公共样式
   来源：brand-spec.md
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --surface: #F5F7FB;
  --silver: #E8EBF2;
  --border: #D5DDE9;
  --border-strong: #B7C2D4;
  --fg: #101828;
  --muted: #5B6478;
  --muted-2: #8A93A6;

  --accent: #0C54D3;
  --accent-soft: #4D99EC;
  --accent-mid: #193B8C;
  --accent-deep: #0B2258;
  --navy: #011944;
  --navy-2: #031B48;

  --success: #10B981;
  --warn: #F59E0B;
  --danger: #EF4444;

  --grad-deep: linear-gradient(135deg, #011944 0%, #0B2258 45%, #193B8C 100%);
  --grad-action: linear-gradient(135deg, #0C54D3 0%, #3C65B1 100%);
  --grad-light: linear-gradient(180deg, #F5F7FB 0%, #E8EBF2 100%);
  --grad-hero: radial-gradient(ellipse 80% 60% at 70% 40%, #0B2258 0%, #011944 55%, #000A1F 100%);

  --font-cn: 'PingFang SC', 'Noto Sans SC', 'Source Han Sans SC', 'Microsoft YaHei', sans-serif;
  --font-en: 'Inter', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
  --shadow-hover: 0 6px 16px rgba(12, 84, 211, 0.16), 0 16px 40px rgba(12, 84, 211, 0.12);
  --shadow-deep: 0 30px 60px rgba(1, 25, 68, 0.45);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-btn: 10px;
  --radius-pill: 999px;

  --container: 1280px;
  --header-h: 72px;
}


/* ===== Skip link (accessibility) ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

::selection { background: rgba(12, 84, 211, 0.2); color: var(--fg); }

/* ===== Container ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ===== Typography ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.eyebrow.on-dark { color: var(--accent-soft); }
.eyebrow.on-dark::before { background: var(--accent-soft); }

.h-display {
  font-family: var(--font-cn);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.h-section {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.h-card {
  font-weight: 600;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.h-eyebrow-mini {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lead {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}
.lead.on-dark { color: rgba(255, 255, 255, 0.72); }
.muted { color: var(--muted); }
.gradient-text {
  background: var(--grad-action);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-btn);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-action);
  color: #fff;
  box-shadow: 0 6px 18px rgba(12, 84, 211, 0.28);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(12, 84, 211, 0.4);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(77, 153, 236, 0.55);
}
.btn-secondary:hover {
  background: rgba(77, 153, 236, 0.12);
  border-color: var(--accent-soft);
}
.btn-ghost {
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-arrow::after {
  content: "→";
  font-family: var(--font-en);
  transition: transform 0.18s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(213, 221, 233, 0.55);
}
.site-header.on-dark {
  background: rgba(1, 25, 68, 0.65);
  border-bottom-color: rgba(77, 153, 236, 0.18);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.site-header.on-dark .brand { color: #fff; }
.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--grad-action);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 4px 14px rgba(12,84,211,0.4);
}
.brand-logo {
  height: 28px;
  width: auto !important;
  max-width: 140px;
  display: block;
  object-fit: contain;
}
.brand .brand-logo-light { display: block; }
.brand .brand-logo-deep  { display: none; }
.site-header.on-dark .brand .brand-logo-light { display: none; }
.site-header.on-dark .brand .brand-logo-deep  { display: block; }
.site-footer .brand .brand-logo-light { display: block; }
.site-footer .brand .brand-logo-deep  { display: none; }
.site-footer.on-dark .brand .brand-logo-light { display: none; }
.site-footer.on-dark .brand .brand-logo-deep  { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-text { display: none; }
.brand-cn { font-family: var(--font-cn); font-size: 16px; font-weight: 600; letter-spacing: 0.02em; }
.brand-en { font-family: var(--font-en); font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; }
.site-header.on-dark .brand-en { color: rgba(255,255,255,0.6); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  position: relative;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}
.nav-link:hover { color: var(--accent); }
.nav-link.is-active { color: var(--accent); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.site-header.on-dark .nav-link { color: rgba(255, 255, 255, 0.78); }
.site-header.on-dark .nav-link:hover { color: #fff; }
.site-header.on-dark .nav-link.is-active { color: #fff; }
.site-header.on-dark .nav-link.is-active::after { background: var(--accent-soft); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--fg);
}
.site-header.on-dark .nav-toggle { color: #fff; }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.18s, opacity 0.18s, visibility 0.18s;
    box-shadow: 0 12px 24px rgba(16,24,40,0.08);
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-link { padding: 14px 16px; border-radius: 10px; }
  .nav-link.is-active { background: var(--surface); }
  .site-header.on-dark .nav-link { color: var(--fg); }
  .site-header.on-dark .nav-link:hover { color: var(--accent); }
  .site-header.on-dark .nav-link.is-active { color: var(--accent); }
  .site-header.on-dark .nav-link.is-active::after { background: var(--accent); }
  .nav-cta .btn:not(.btn-primary) { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 120px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77,153,236,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,153,236,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(77, 153, 236, 0.08);
  border: 1px solid rgba(77, 153, 236, 0.22);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.86);
  text-transform: uppercase;
}
.hero-eyebrow-row .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(12, 84, 211, 0.35);
  color: #fff;
}
.hero-eyebrow-row .pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4D99EC;
  box-shadow: 0 0 12px #4D99EC;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } }

.hero h1 {
  color: #fff;
  margin-top: 24px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #4D99EC 0%, #76B7F2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .light {
  color: rgba(255,255,255,0.94);
}
.hero-sub {
  margin-top: 24px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-en {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(187, 204, 226, 0.85);
}
.hero-en::before {
  content: "";
  width: 36px;
  height: 1px;
  background: rgba(187, 204, 226, 0.6);
}

.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 560px;
}
.hero-stat {
  border-top: 1px solid rgba(77,153,236,0.25);
  padding-top: 16px;
}
.hero-stat .num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 36px);
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero-stat .lbl {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(187, 204, 226, 0.78);
}

/* Hero visual: Agent Collaboration Network */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}
.av-frame {
  position: absolute; inset: 0;
}
.av-svg { width: 100%; height: 100%; overflow: visible; }
.av-core {
  fill: url(#coreGrad);
  filter: drop-shadow(0 0 24px rgba(77,153,236,0.55));
}
.av-ring {
  fill: none;
  stroke: rgba(77,153,236,0.18);
  stroke-width: 1;
}
.av-link {
  stroke: rgba(77,153,236,0.4);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  fill: none;
}
.av-node-hex {
  fill: rgba(11, 34, 88, 0.65);
  stroke: rgba(77, 153, 236, 0.45);
  stroke-width: 1.2;
  transition: transform 0.4s ease;
}
.av-node-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  fill: rgba(255,255,255,0.88);
}
.av-particle {
  fill: #4D99EC;
  opacity: 0.85;
  filter: drop-shadow(0 0 4px #4D99EC);
}

@media (max-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
}

/* ===== Section base ===== */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--grad-deep); color: #fff; }
.section-dark .h-section,
.section-dark .h-card,
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-surface { background: var(--surface); }

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }
.section-head .eyebrow { justify-content: center; }
.section-head.left .eyebrow { justify-content: flex-start; }
.section-head h2 { margin-top: 16px; }
.section-head .lead { margin: 16px auto 0; }
.section-head.left .lead { margin-left: 0; }

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
}

/* ===== Cards ===== */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(12,84,211,0.35);
}
.card .card-num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.hex-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}
.hex-icon svg { width: 100%; height: 100%; }
.hex-icon .hi-fill { fill: rgba(12, 84, 211, 0.06); }
.hex-icon .hi-stroke { fill: none; stroke: var(--accent); stroke-width: 1.2; }
.hex-icon .hi-glyph { stroke: var(--accent); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hex-icon.on-dark .hi-fill { fill: rgba(77, 153, 236, 0.14); }
.hex-icon.on-dark .hi-stroke { stroke: var(--accent-soft); }
.hex-icon.on-dark .hi-glyph { stroke: var(--accent-soft); }

/* ===== Service grid (5 modules) ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.service-grid > .card {
  grid-column: span 4;
}
@media (max-width: 960px) {
  .service-grid > .card { grid-column: span 12; }
}
.service-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-card .num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}
.service-card h3 { color: var(--fg); }
.service-card p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.service-card .service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.service-card .service-tags span {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 5px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}
@media (min-width: 960px) {
  .service-card.feature {
    grid-column: span 12;
    flex-direction: row;
    align-items: center;
    padding: 40px 48px;
    gap: 40px;
    background: var(--bg);
  }
  .service-card.feature .service-text { flex: 1; }
  .service-card.feature .hex-icon { width: 112px; height: 112px; flex-shrink: 0; }
  .service-card.feature h3 { font-size: 26px; line-height: 1.25; letter-spacing: -0.01em; }
  .service-card.feature p { font-size: 16px; line-height: 1.7; max-width: 64ch; margin-top: 12px; }
  .service-card.feature .service-tags { margin-top: 18px; gap: 10px; }
  .service-card.feature .service-tags span {
    padding: 6px 14px;
    font-size: 13px;
    letter-spacing: 0.04em;
  }
}
@media (max-width: 760px) {
  .service-card,
  .service-grid > .card { grid-column: span 12; }
}

/* ===== Capability trio ===== */
.cap-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cap-card {
  background: rgba(11, 34, 88, 0.4);
  border: 1px solid rgba(77, 153, 236, 0.22);
  border-radius: var(--radius);
  padding: 32px 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cap-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(160deg, rgba(77,153,236,0.16) 0%, transparent 50%);
  pointer-events: none;
}
.cap-card .cap-num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-soft);
}
.cap-card h3 {
  color: #fff;
  margin-top: 12px;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.cap-card p {
  margin-top: 14px;
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  line-height: 1.7;
}
@media (max-width: 760px) {
  .cap-row { grid-template-columns: 1fr; }
}

/* capability row variant: 4-col stat evidence (contact page) */
.cap-row.four { grid-template-columns: repeat(4, 1fr); }
.cap-row.four .cap-card { padding: 28px 24px; text-align: left; }
.cap-row.four .cap-card .cap-num {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-en);
  font-size: 56px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent-soft);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-transform: none;
  margin-bottom: 16px;
}
.cap-row.four .cap-card .cap-num .cap-suffix {
  font-size: 24px;
  font-weight: 500;
  margin-left: 2px;
  color: var(--accent-soft);
  letter-spacing: 0;
}
.cap-row.four .cap-card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 0;
}
.cap-row.four .cap-card p {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 10px;
}
@media (max-width: 880px) { .cap-row.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cap-row.four { grid-template-columns: 1fr; } }

/* ===== Workflow ===== */
.workflow {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}
.workflow-track {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  align-items: stretch;
  position: relative;
}
.workflow-track .wf-step {
  position: relative;
  padding: 8px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.workflow-track .wf-step .wf-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 2;
}
.workflow-track .wf-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
  opacity: 0.35;
}
.workflow-track .wf-step .wf-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.wf-step .wf-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 11ch;
}
.wf-scenarios {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.wf-scenarios span {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
}
@media (max-width: 760px) {
  .workflow-track { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .wf-step::after { display: none; }
}

/* Workflow variant: ol > wf-step with wf-num (eyebrow) + h3 + p (post-submit timeline) */
.workflow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: wf;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.workflow-list > .wf-step {
  position: relative;
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.workflow-list > .wf-step::before {
  content: "";
  position: absolute;
  left: 24px; top: -8px;
  width: 16px; height: 16px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg);
}
.workflow-list > .wf-step .wf-num {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.workflow-list > .wf-step .wf-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.workflow-list > .wf-step .wf-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
@media (max-width: 880px) {
  .workflow-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .workflow-list { grid-template-columns: 1fr; }
}

/* ===== Scenario cards 2x3 ===== */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.scenario-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.scenario-card:hover {
  transform: translateY(-3px);
  border-color: rgba(12,84,211,0.35);
  box-shadow: var(--shadow-card);
}
.scenario-card .scenario-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}
.scenario-card h3 { margin-top: 12px; }
.scenario-card p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.scenario-card .scenario-tags {
  margin-top: 18px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.scenario-card .scenario-tags span {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
}
@media (max-width: 960px) { .scenario-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .scenario-grid { grid-template-columns: 1fr; } }

/* ===== Local LLM section ===== */
.llm-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.llm-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
}
.llm-visual svg { width: 100%; height: 100%; }
.llm-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 24px;
}
.llm-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--fg);
}
.llm-feature-list li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 960px) {
  .llm-split { grid-template-columns: 1fr; gap: 40px; }
  .llm-feature-list { grid-template-columns: 1fr; }
}

/* ===== Future org three-stage ===== */
.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.future-card {
  background: rgba(11, 34, 88, 0.55);
  border: 1px solid rgba(77, 153, 236, 0.22);
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
  position: relative;
}
.future-card.peak {
  background: linear-gradient(160deg, rgba(12, 84, 211, 0.32) 0%, rgba(11, 34, 88, 0.55) 100%);
  border-color: rgba(77, 153, 236, 0.4);
}
.future-card .stage-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-soft);
}
.future-card h3 { margin-top: 14px; color: #fff; }
.future-card p { margin-top: 12px; color: rgba(255,255,255,0.72); font-size: 14px; line-height: 1.7; }
.future-card .stage-arrow {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-soft);
  font-family: var(--font-en);
  font-size: 18px;
  z-index: 2;
}
.future-card:last-child .stage-arrow { display: none; }
@media (max-width: 760px) {
  .future-grid { grid-template-columns: 1fr; }
  .future-card .stage-arrow { display: none; }
}

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  background: var(--grad-action);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12) 0, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0, transparent 40%);
  pointer-events: none;
}
.cta-section .inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-section h2 { color: #fff; }
.cta-section .lead { color: rgba(255,255,255,0.85); }
.cta-section .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-section .btn-primary { background: #fff; color: var(--accent); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.cta-section .btn-primary:hover { background: #fff; }
.cta-section .btn-secondary { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-section .btn-secondary:hover { background: rgba(255,255,255,0.12); }
@media (max-width: 760px) {
  .cta-section { padding: 48px 28px; border-radius: var(--radius); }
  .cta-section .inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Page hero (sub pages) ===== */
.page-hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  padding: 96px 0 80px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77,153,236,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,153,236,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
}
.page-hero .inner { position: relative; max-width: 760px; }
.page-hero .eyebrow { color: var(--accent-soft); }
.page-hero .eyebrow::before { background: var(--accent-soft); }
.page-hero h1 { color: #fff; margin-top: 18px; }
.page-hero .lead { color: rgba(255,255,255,0.78); margin-top: 20px; }
.page-hero .breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(187, 204, 226, 0.7);
}
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .sep { color: rgba(187, 204, 226, 0.5); }

/* ===== Footer ===== */
.site-footer {
  background: #000A1F;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.foot-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(77,153,236,0.16);
}
.foot-brand .foot-cn {
  font-family: var(--font-cn);
  color: #fff;
  font-weight: 600;
  font-size: 17px;
}
.foot-brand .foot-en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.foot-brand .foot-tag {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 36ch;
}
.foot-list li { margin-bottom: 12px; font-size: 14px; }
.foot-list a { color: rgba(255,255,255,0.7); transition: color 0.18s; }
.foot-list a:hover { color: #fff; }
.foot-info {
  margin-top: 32px;
  padding-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}
.foot-info .legal { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-info a:hover { color: #fff; }
.foot-info .icp {
  color: rgba(255,255,255,0.45);
  transition: color 0.18s;
}
.foot-info .icp:hover { color: rgba(255,255,255,0.8); }

@media (max-width: 760px) {
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 480px) {
  .foot-cols { grid-template-columns: 1fr; }
}

/* ===== Forms ===== */
.form { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.02em;
}
.field label .req { color: var(--accent); margin-left: 2px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--fg);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field textarea { height: auto; padding: 14px 16px; line-height: 1.6; resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(12, 84, 211, 0.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
/* ===== Solution page tabs ===== */
.sol-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.sol-tab {
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}
.sol-tab:hover { color: var(--accent); border-color: var(--accent); }
.sol-tab.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.sol-panel { display: none; }
.sol-panel.is-active { display: grid; gap: 32px; }
.sol-panel.is-init-hide { display: none !important; }

/* ===== About page ===== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.about-num {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.about-num .num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 36px);
  letter-spacing: -0.02em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.about-num .lbl {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.logo-elem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.logo-elem {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.logo-elem .le-glyph { width: 40px; height: 40px; }
.logo-elem h4 { margin-top: 18px; font-size: 16px; }
.logo-elem p { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.6; }
@media (max-width: 760px) {
  .about-story { grid-template-columns: 1fr; gap: 32px; }
  .about-numbers { grid-template-columns: 1fr; }
  .logo-elem-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Products page stack ===== */
.product-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.product-row:last-child { border-bottom: 1px solid var(--border); }
.product-row h3 { margin-top: 8px; }
.product-row p { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 60ch; }
.product-row .pr-points {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.product-row .pr-points li {
  font-size: 14px;
  color: var(--fg);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.product-row .pr-points li::before {
  content: "";
  width: 4px; height: 4px;
  margin-top: 9px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .product-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .product-row .pr-points { grid-template-columns: 1fr; }
}

/* ===== Tech chips ===== */
.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.tech-chip {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
}
.section-dark .tech-chip {
  background: rgba(77,153,236,0.06);
  border-color: rgba(77,153,236,0.2);
  color: rgba(255,255,255,0.7);
}

/* ===== Industry row ===== */
.industry-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.industry {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  transition: border-color 0.18s, color 0.18s;
}
.industry:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 760px) { .industry-list { grid-template-columns: 1fr 1fr; } }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ===== Helpers ===== */
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.18s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb span:last-child { color: rgba(255, 255, 255, 0.95); }

/* ===== About numbers (data block) ===== */
.an-item { padding: 16px 0; border-top: 1px solid var(--border); }
.an-item .an-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 36px);
  letter-spacing: -0.02em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.an-item .an-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== Solutions panel head ===== */
.sol-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
@media (max-width: 760px) { .sol-panel-head { flex-direction: column; align-items: flex-start; } }

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--fg);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-field textarea { height: auto; padding: 14px 16px; line-height: 1.6; resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(12, 84, 211, 0.12);
}
.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: #d14343;
  box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.12);
}
.form-field input.is-invalid:focus,
.form-field textarea.is-invalid:focus {
  border-color: #d14343;
  box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.18);
}
.form-error {
  display: none;
  font-size: 13px;
  line-height: 1.5;
  color: #d14343;
  letter-spacing: 0.01em;
}
.form-error:not(:empty) { display: block; margin-top: 2px; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-hint { font-size: 13px; color: var(--muted); }

.form-feedback {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #047857;
  font-size: 14px;
}
.form-feedback.is-show { display: block; }
.form-feedback.is-error {
  background: rgba(209, 67, 67, 0.08);
  border-color: rgba(209, 67, 67, 0.3);
  color: #b91c1c;
}

.contact-info { display: grid; gap: 28px; }
.ci-block { padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.ci-block:last-child { border-bottom: none; }
.ci-value {
  margin-top: 12px;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}

/* ===== Product row EN sub-title ===== */
.product-row .pr-num {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}
.product-row .pr-en {
  display: block;
  margin-top: 6px;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  text-transform: none;
}

/* ===== Hand-drawn (Excalidraw-style) tokens =====
   Used for: workflow track, scenario icons, llm visual.
   Mark: jittered stroke, slight rotation, scribble fills,
   hand-written label. Driven by --hd-stroke / --hd-jitter. */
:root {
  --hd-stroke: #193B8C;
  --hd-stroke-soft: #5B6478;
  --hd-accent: #0C54D3;
  --hd-paper: #FCFAF6;
  --hd-grid: rgba(27, 36, 56, 0.04);
}
.hd-svg {
  width: 100%;
  height: auto;
  display: block;
  font-family: 'Caveat', 'Comic Sans MS', 'Kalam', cursive;
}
.hd-svg .hd-line {
  fill: none;
  stroke: var(--hd-stroke);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hd-svg .hd-line-soft {
  fill: none;
  stroke: var(--hd-stroke-soft);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 4 4;
}
.hd-svg .hd-fill {
  fill: rgba(77, 153, 236, 0.10);
  stroke: var(--hd-accent);
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.hd-svg .hd-fill-warm {
  fill: rgba(245, 158, 11, 0.10);
  stroke: #B45309;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.hd-svg .hd-label {
  font-family: 'Caveat', 'Kalam', 'Comic Sans MS', cursive;
  font-size: 18px;
  font-weight: 600;
  fill: #101828;
  letter-spacing: 0;
}
.hd-svg .hd-label-sm {
  font-family: 'Caveat', 'Kalam', 'Comic Sans MS', cursive;
  font-size: 15px;
  font-weight: 500;
  fill: #5B6478;
  letter-spacing: 0;
}
.hd-svg .hd-label-accent {
  font-family: 'Caveat', 'Kalam', 'Comic Sans MS', cursive;
  font-size: 18px;
  font-weight: 700;
  fill: var(--hd-accent);
}
.hd-svg .hd-squiggle {
  fill: none;
  stroke: var(--hd-accent);
  stroke-width: 1.4;
  stroke-linecap: round;
}
.hd-svg .hd-arrow {
  fill: var(--hd-stroke);
}

/* ===== Workflow — hand-drawn node graph ===== */
.workflow.hd {
  background: var(--hd-paper);
  background-image:
    linear-gradient(var(--hd-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hd-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1.5px solid #1F2A44;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 3px 3px 0 #1F2A44;
}
.workflow.hd .hd-svg .hd-frame { stroke: #1F2A44; stroke-width: 1.5; fill: none; }
.workflow.hd .wf-scenarios span {
  font-family: 'Caveat', 'Kalam', 'Comic Sans MS', cursive;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1.2px solid #1F2A44;
  color: #1F2A44;
  text-transform: none;
}

/* ===== Scenario — hand-drawn card icon ===== */
.scenario-card.hd {
  background: var(--hd-paper);
  background-image:
    linear-gradient(var(--hd-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hd-grid) 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1.5px solid #1F2A44;
  box-shadow: 3px 3px 0 #1F2A44;
  border-radius: 8px;
  padding: 28px 24px;
}
.scenario-card.hd .scenario-num {
  color: var(--hd-accent);
  font-family: 'Caveat', 'Kalam', 'Comic Sans MS', cursive;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}
.scenario-card.hd h3 {
  font-family: 'Caveat', 'Kalam', 'Comic Sans MS', cursive;
  font-size: 24px;
  font-weight: 700;
  color: #101828;
  letter-spacing: 0;
  line-height: 1.2;
  margin-top: 10px;
}
.scenario-card.hd p {
  font-family: 'PingFang SC', 'Noto Sans SC', sans-serif;
  color: #1F2A44;
}
.scenario-card.hd .scenario-tags span {
  font-family: 'Caveat', 'Kalam', 'Comic Sans MS', cursive;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1.2px solid #1F2A44;
  color: #1F2A44;
  text-transform: none;
}

/* ===== LLM visual — hand-drawn private cloud sketch ===== */
.llm-visual.hd {
  background: var(--hd-paper);
  background-image:
    linear-gradient(var(--hd-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hd-grid) 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1.5px solid #1F2A44;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 3px 3px 0 #1F2A44;
  position: relative;
}
.llm-visual.hd::after {
  content: "sketch";
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-family: 'Caveat', 'Kalam', 'Comic Sans MS', cursive;
  font-size: 14px;
  color: rgba(91, 100, 120, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
