/* ─── Al-ina Case Study (Editorial Light) ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

[data-kit="editorial"] {
  --bg: #faf8f5;
  --bg-alt: #f0ebe3;
  --surface: #ffffff;
  --surface-hover: #fdfcfa;
  --border: #e4dcd0;
  --text: #1a1612;
  --muted: #6b6358;
  --accent: #c45c3e;
  --accent-dim: rgba(196,92,62,0.1);
  --accent-2: #1e3a5f;
  --accent-2-dim: rgba(30,58,95,0.08);
  --success: #2d6a4f;
  --gradient: linear-gradient(135deg, #c45c3e 0%, #1e3a5f 100%);
  --hero-glow: radial-gradient(ellipse 70% 50% at 20% 0%, rgba(196,92,62,0.08), transparent);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 4px;
  --radius-sm: 2px;
  --shadow: 0 20px 60px rgba(26,22,18,0.08);
  --nav-bg: rgba(250,248,245,0.92);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-dim);
  padding: 6px 14px; border-radius: 0; margin-bottom: 20px;
}

.h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 600; line-height: 1.1;
  letter-spacing: -0.02em;
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.02em;
}

.h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.3; }
.subtitle { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); line-height: 1.75; margin-top: 18px; max-width: 640px; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1140px; margin: 0 auto; gap: 16px;
}

@media (min-width: 960px) {
  .nav-inner { flex-wrap: nowrap; }
  .nav-links { flex-wrap: nowrap; }
}

.nav-brand { font-family: var(--font-display); font-weight: 700; font-size: 15px; text-decoration: none; color: var(--text); white-space: nowrap; }
.nav-links { display: flex; gap: 20px; flex-wrap: wrap; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 0; font-weight: 700; font-size: 12px;
  letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; border: none; transition: all 0.22s;
}

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.btn--outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn--ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: border-color 0.25s, transform 0.25s;
}

.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.stat {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.stat-label { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.4; }

.hero {
  padding: 100px 0 80px;
  background: var(--hero-glow);
  position: relative; overflow: hidden;
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}

@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-visual {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-flow-wrap {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 4px;
  overflow: hidden;
  line-height: 0;
}

.hero-flow-img { width: 100%; height: auto; display: block; border-radius: calc(var(--radius-sm) - 2px); }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.hero-stat-cell {
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.hero-footnote {
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge {
  font-size: 12px; font-weight: 600; padding: 6px 14px;
  border-radius: 0; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted);
}

.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}

.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -32px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent-dim);
}

.timeline-num { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 6px; }
.timeline-duration {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--muted); background: var(--bg-alt);
  border: 1px solid var(--border); padding: 3px 10px;
  border-radius: 100px; margin-left: 8px; vertical-align: middle;
}

.metrics-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); margin-top: 28px; }
table.metrics { width: 100%; border-collapse: collapse; font-size: 14px; }
table.metrics th, table.metrics td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
table.metrics th {
  background: var(--bg-alt); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
}
table.metrics tr:last-child td { border-bottom: none; }
table.metrics td:first-child { font-weight: 600; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12px; font-weight: 600; padding: 6px 12px;
  border-radius: var(--radius-sm); background: var(--accent-dim);
  color: var(--accent); border: 1px solid var(--border);
}

.cta {
  text-align: center; padding: 72px 24px;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); position: relative; overflow: hidden;
}

.cta::before { content: ''; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.cta > * { position: relative; }

.footer { padding: 32px 0; border-top: 1px solid var(--border); text-align: center; font-size: 13px; color: var(--muted); }
.footer a { color: var(--accent); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.pain-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.pain-row {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 16px; align-items: center;
  padding: 20px 24px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
}

@media (max-width: 768px) {
  .pain-row { grid-template-columns: 1fr; text-align: left; }
  .pain-arrow { transform: rotate(90deg); justify-self: center; }
}

.pain-row__q { display: flex; align-items: center; gap: 16px; font-weight: 600; font-size: 15px; }
.pain-row__icon { width: 56px; height: 56px; flex-shrink: 0; object-fit: contain; }
.pain-row__q em { font-style: normal; color: var(--accent-2); display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.pain-arrow { color: var(--accent); font-size: 22px; font-weight: 700; }
.pain-row__a { font-size: 14px; color: var(--muted); }
.pain-row__a strong { color: var(--text); }

.funnel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
@media (max-width: 768px) { .funnel-grid { grid-template-columns: 1fr; } }

.funnel-card { padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.funnel-card--t2 { border-top: 4px solid var(--accent); }
.funnel-card--ps { border-top: 4px solid var(--accent-2); }
.funnel-card__tag { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.funnel-card--t2 .funnel-card__tag { color: var(--accent); }
.funnel-card--ps .funnel-card__tag { color: var(--accent-2); }
.funnel-steps { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; }
.funnel-step {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--bg-alt); border: 1px solid var(--border);
  font-size: 13px; font-weight: 500;
}

.funnel-step__n {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-dim); color: var(--accent);
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

.funnel-card--ps .funnel-step__n { background: var(--accent-2-dim); color: var(--accent-2); }
.funnel-metric { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.funnel-metric div { flex: 1; min-width: 100px; }
.funnel-metric .stat { font-size: 26px; }
.funnel-note { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.5; }

.screenshot-grid { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.screens-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding-top: 8px;
}

.shot {
  border-radius: var(--radius); border: 1px solid var(--border);
  overflow: visible; background: var(--surface); box-shadow: var(--shadow);
}

.shot__cap { padding: 14px 18px; font-size: 13px; font-weight: 600; border-top: 1px solid var(--border); }
.shot__cap span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.shot__frame { padding: 16px; background: var(--bg-alt); }
.shot__frame--chat { background: var(--bg); padding: 12px; }
.shot__frame--img { padding: 0; background: var(--surface); line-height: 0; border-radius: var(--radius) var(--radius) 0 0; }
.shot__link { display: block; line-height: 0; }
.shot__link:hover { opacity: 0.98; }
.shot__img { display: block; width: 100%; height: auto; vertical-align: top; }

.infographic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; align-items: start; }
@media (max-width: 900px) { .infographic-grid { grid-template-columns: 1fr; } }
.infographic-grid img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }

.shot__frame--showcase { background: var(--bg); padding: 20px; }
.shot--showcase-first { border: 2px solid color-mix(in srgb, var(--accent) 35%, var(--border)); }

.showcase-visit { display: flex; flex-direction: column; gap: 16px; }
.showcase-visit__badge {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 8px;
}
.showcase-visit__title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 0; line-height: 1.25; }
.showcase-visit__meta { font-size: 13px; color: var(--muted); margin: 6px 0 0; line-height: 1.5; }

.showcase-visit__kpi { display: flex; flex-wrap: wrap; gap: 8px; }
.showcase-kpi {
  font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
}
.showcase-kpi--score { background: var(--accent-2-dim); border-color: color-mix(in srgb, var(--accent-2) 25%, var(--border)); color: var(--accent-2); }
.showcase-kpi--sale { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); color: var(--accent); }

.showcase-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.showcase-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 10px 16px; cursor: pointer; }
.showcase-btn__icon { font-size: 12px; opacity: 0.85; }

.showcase-audio { padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.showcase-audio--open { border-color: color-mix(in srgb, var(--accent) 30%, var(--border)); background: color-mix(in srgb, var(--accent) 4%, var(--surface)); }
.showcase-audio__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.showcase-audio__player { width: 100%; height: 44px; display: block; }
.showcase-audio-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }

.showcase-stt {
  max-height: 280px; overflow-y: auto; padding: 12px;
  border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
}
.showcase-stt__head {
  font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--border);
}
.showcase-stt__list { display: flex; flex-direction: column; gap: 6px; }
.showcase-stt__line {
  display: flex; gap: 8px; align-items: flex-start; padding: 8px 10px;
  border-radius: 8px; font-size: 12px; line-height: 1.5; border: 1px solid var(--border);
}
.showcase-stt__time { flex-shrink: 0; font-size: 9px; font-weight: 600; color: var(--muted); min-width: 32px; padding-top: 2px; }
.showcase-stt__text { flex: 1; }
.showcase-stt__line--client { background: var(--bg-alt); align-self: flex-start; max-width: 92%; }
.showcase-stt__line--consultant {
  background: color-mix(in srgb, var(--accent) 6%, var(--bg-alt));
  align-self: flex-end; max-width: 92%; margin-left: auto;
}
.showcase-stt__line--system {
  background: var(--accent-2-dim); border-color: color-mix(in srgb, var(--accent-2) 20%, var(--border));
  font-size: 11px; text-align: center; justify-content: center;
}
.showcase-stt__err { font-size: 13px; color: var(--muted); margin: 0; }

.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
@media (max-width: 768px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-box { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.trust-box__icon { font-size: 28px; margin-bottom: 12px; }
.trust-box ul { margin-top: 14px; padding-left: 18px; }
.trust-box li { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.trust-box li strong { color: var(--text); }

.econ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
@media (max-width: 768px) { .econ-grid { grid-template-columns: 1fr; } }
.econ-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.econ-card--goal { border: 2px dashed var(--accent-2); background: var(--accent-2-dim); }
.stage-badge {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
  background: var(--accent-2-dim); color: var(--accent-2); margin-bottom: 12px;
}

.econ-list { list-style: none; margin-top: 16px; }
.econ-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.econ-list li:last-child { border-bottom: none; }
.econ-list li span:last-child { font-weight: 700; color: var(--accent); text-align: right; }

.usage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
@media (max-width: 768px) { .usage-grid { grid-template-columns: 1fr; } }
.usage-quote {
  margin: 0; padding: 24px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow);
  border-left: 3px solid var(--accent);
}
.usage-quote p { font-size: 15px; line-height: 1.7; color: var(--text); margin: 0; }
.usage-quote footer { margin-top: 14px; font-size: 12px; color: var(--muted); font-style: italic; }

.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 20px; }
.compare-table th, .compare-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--bg-alt); }
.econ-compare td:nth-child(3) { font-size: 16px; white-space: nowrap; }
.compare-table td:first-child { font-weight: 600; }

.results-hero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 768px) { .results-hero { grid-template-columns: 1fr; } }
.results-stat { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); text-align: center; box-shadow: var(--shadow); }
.results-stat .stat { font-size: clamp(28px, 4vw, 40px); }
.results-stat__note { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.45; }

.results-verdict {
  margin-top: 24px; padding: 22px 24px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  background: var(--accent-dim); max-width: 820px;
}

.results-verdict p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.results-verdict strong { color: var(--text); }

.case-details { margin-top: 28px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.case-details summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 14px; list-style: none; user-select: none; }
.case-details summary::-webkit-details-marker { display: none; }
.case-details summary::after { content: '↓'; float: right; color: var(--muted); font-size: 12px; }
.case-details[open] summary::after { transform: rotate(180deg); }
.case-details__body { padding: 0 20px 24px; border-top: 1px solid var(--border); }

.roadmap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 36px; }
@media (max-width: 900px) { .roadmap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .roadmap { grid-template-columns: 1fr; } }

.roadmap-phase { padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.roadmap-phase__time { font-size: 11px; font-weight: 800; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.roadmap-phase__title { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.roadmap-phase__items { font-size: 13px; color: var(--muted); line-height: 1.5; }

.story-text { max-width: 720px; margin-top: 28px; }
.story-text p { color: var(--muted); font-size: 16px; line-height: 1.65; margin-bottom: 18px; }
.story-text p:last-child { margin-bottom: 0; }
.story-text strong { color: var(--text); }

.honesty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
@media (max-width: 768px) { .honesty-grid { grid-template-columns: 1fr; } }
.honesty-col { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.honesty-col--no { border-left: 3px solid var(--muted); }
.honesty-col--yes { border-left: 3px solid var(--success); }
.honesty-col .h3 { margin-bottom: 16px; font-size: 18px; }
.honesty-list { list-style: none; }
.honesty-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.honesty-list li:last-child { margin-bottom: 0; }
.honesty-mark { flex-shrink: 0; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border-radius: 50%; }
.honesty-col--no .honesty-mark { background: rgba(255,100,100,0.12); color: #c45c3e; }
.honesty-col--yes .honesty-mark { background: var(--accent-dim); color: var(--accent); }

.micro-cta { margin-top: 32px; }

.tech-hero { padding: 80px 0 48px; }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
@media (max-width: 768px) { .tech-grid { grid-template-columns: 1fr; } }
.tech-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); height: 100%; box-shadow: var(--shadow); }
.tech-card h3 { margin-bottom: 12px; }
.tech-card p, .tech-card li { font-size: 14px; color: var(--muted); line-height: 1.65; }
.tech-card ul { margin-top: 12px; padding-left: 18px; }
.tech-card li { margin-bottom: 6px; }

.status-badge { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; margin-bottom: 12px; }
.status-badge--prod { background: rgba(45,106,79,0.12); color: var(--success); border: 1px solid rgba(45,106,79,0.25); }
.status-badge--proto { background: var(--accent-2-dim); color: var(--accent-2); border: 1px solid var(--border); }
.status-badge--no { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--border); }

code, .code-inline { font-family: ui-monospace, monospace; font-size: 12px; padding: 2px 6px; border-radius: 4px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--accent); }
pre.code-block { margin-top: 16px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--border); font-family: ui-monospace, monospace; font-size: 12px; line-height: 1.55; overflow-x: auto; color: var(--text); }

.arch-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 13px; }
.arch-node { padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); font-weight: 600; }
.arch-arrow { color: var(--muted); }
.tech-cta-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; padding: 20px 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }

.pipeline-figure { margin: 36px 0 0; }
.pipeline-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.pipeline-figure figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 720px; }

.pipeline-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
@media (max-width: 900px) { .pipeline-stages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pipeline-stages { grid-template-columns: 1fr; } }

.pipeline-stage { padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.pipeline-stage__num { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 6px; }
.pipeline-stage__title { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.pipeline-stage__in, .pipeline-stage__out { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 4px; }
.pipeline-stage__mod { font-family: ui-monospace, monospace; font-size: 11px; color: var(--accent-2); margin-top: 8px; }

.pipeline-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 28px; }
.pipeline-table th, .pipeline-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.pipeline-table th { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--bg-alt); }
.pipeline-table td:first-child { font-weight: 700; color: var(--accent); width: 48px; }
.pipeline-table code { font-size: 11px; }

.kpi-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.kpi-pill { font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 4px; background: var(--accent-dim); color: var(--accent); border: 1px solid var(--border); }

.proof-live {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(45,106,79,0.12);
  color: var(--success);
  border: 1px solid rgba(45,106,79,0.25);
  margin-bottom: 12px;
}

