@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500&display=swap");

:root {
  --bg: #070b14;
  --bg-elevated: #0f172a;
  --surface: #ffffff;
  --surface-muted: #f6f8fc;
  --surface-subtle: #eef2f8;
  --text: #0f172a;
  --text-muted: #5c6b82;
  --text-on-dark: #f1f5f9;
  --text-on-dark-muted: #8b9cb3;
  --accent: #3b5bdb;
  --accent-hover: #2f4ac0;
  --accent-soft: #edf2ff;
  --accent-glow: rgba(59, 91, 219, 0.22);
  --accent-line: #748ffc;
  --flow-blue: #3b5bdb;
  --flow-gray: #64748b;
  --flow-red: #e03131;
  --success: #12b886;
  --border: #dde4ee;
  --border-strong: #c5d0e0;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-flow: 8px;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 56px rgba(15, 23, 42, 0.1);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max-width: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.88em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(8, 13, 25, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text small {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  color: white;
  text-decoration: none;
}

.nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-hover);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 50% at 75% -5%, var(--accent-glow), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #0a1020 100%);
  color: white;
  padding: 4.5rem 0 5.5rem;
}

.hero-flowchart-bg {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-48%);
  width: min(42vw, 420px);
  opacity: 0.07;
  color: #748ffc;
  pointer-events: none;
}

.hero-flowchart-bg svg {
  width: 100%;
  height: auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, black 15%, transparent 85%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(76, 110, 245, 0.15);
  border: 1px solid rgba(116, 143, 252, 0.35);
  color: #bac8ff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #748ffc;
  box-shadow: 0 0 8px #748ffc;
}

.hero h1 {
  font-size: clamp(2.35rem, 4.8vw, 3.55rem);
  line-height: 1.08;
  margin: 0 0 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #fff 30%, #bac8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-on-dark-muted);
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.hero-lead strong {
  color: #e2e8f0;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 28px rgba(59, 91, 219, 0.4);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.proof-item strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.proof-item span {
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}

/* Pipeline visual — flowchart nodes */
.pipeline-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.pipeline-card::before {
  content: "FLOWCHART WORKFLOW";
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #748ffc;
  margin-bottom: 0.85rem;
}

.pipeline-card h2 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}

.pipeline-card > p {
  margin: 0 0 1.5rem;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

.pipeline {
  display: grid;
  gap: 0.65rem;
}

.pipeline-node {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-flow);
  background: rgba(15, 23, 42, 0.6);
  border: 1.5px solid rgba(148, 163, 184, 0.18);
  position: relative;
}

.pipeline-node.is-active {
  border-color: rgba(116, 143, 252, 0.55);
  background: rgba(59, 91, 219, 0.1);
  box-shadow: 0 0 0 1px rgba(116, 143, 252, 0.15);
}

.pipeline-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: white;
  background: rgba(148, 163, 184, 0.2);
}

.pipeline-node.is-active .pipeline-icon {
  background: var(--accent);
}

.pipeline-node strong {
  display: block;
  font-size: 0.88rem;
  color: white;
  margin-bottom: 0.1rem;
}

.pipeline-node span {
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
}

.pipeline-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.1rem 0;
  color: var(--accent-line);
  opacity: 0.65;
}

.pipeline-arrow::before {
  content: "";
  width: 1.5px;
  height: 14px;
  background: currentColor;
  display: block;
}

.pipeline-arrow::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: -1px;
}

/* Definition band */
.definition-band {
  background: var(--surface-subtle);
  border-block: 1px solid var(--border);
  padding: 2.75rem 0;
  position: relative;
}

.definition-band::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--flow-blue), var(--flow-gray), var(--flow-red));
}

.definition-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}

.definition-inner h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.definition-inner p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 72ch;
}

.definition-inner p strong {
  color: var(--text);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-muted {
  background: var(--surface-muted);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(59, 91, 219, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
}

.section-header {
  max-width: 700px;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 0.75rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--flow-blue), var(--accent-line));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Process — connected flowchart steps */
.process-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
}

@media (min-width: 961px) {
  .process-flow::before {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(16.66% + 1rem);
    right: calc(16.66% + 1rem);
    height: 2px;
    background: linear-gradient(90deg, var(--flow-blue), var(--accent-line), var(--flow-blue));
    opacity: 0.25;
    z-index: 0;
  }
}

.process-step {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-flow);
  padding: 1.85rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow);
  z-index: 1;
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  top: -13px;
  left: 1.35rem;
  background: var(--accent);
  color: white;
  min-width: 28px;
  height: 28px;
  padding: 0 0.35rem;
  border-radius: var(--radius-flow);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(59, 91, 219, 0.3);
}

.process-step h3 {
  margin: 0.35rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.process-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.process-step .step-output {
  margin-top: 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-flow);
  background: var(--surface-subtle);
  border: 1.5px dashed var(--border-strong);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--accent);
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.benefit-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-flow);
  padding: 1.65rem;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--flow-blue);
}

.benefit-card:nth-child(3n + 2) {
  border-left-color: var(--flow-gray);
}

.benefit-card:nth-child(3n) {
  border-left-color: var(--accent-line);
}

.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  font-weight: 700;
}

.benefit-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* AI spotlight */
.ai-spotlight {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.ai-spotlight h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ai-spotlight-content > p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.ai-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.ai-list li {
  padding-left: 1.15rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.ai-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.ai-list strong {
  color: var(--text);
  font-weight: 600;
}

.ai-note {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  font-size: 0.92rem;
  color: var(--text);
  font-style: italic;
}

.ai-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.ai-flow-step {
  width: 100%;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-flow);
  background: var(--surface-subtle);
  border: 1.5px solid var(--border);
  text-align: center;
  position: relative;
}

.ai-flow-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: var(--flow-gray);
  opacity: 0.4;
}

.ai-flow-step-accent {
  background: var(--accent-soft);
  border-color: #bac8ff;
}

.ai-flow-step span {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.ai-flow-step small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.ai-flow-arrow {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}

/* Lessons learned */
.lessons-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: lesson;
}

.lesson-item {
  counter-increment: lesson;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.5rem 1.35rem 4rem;
  position: relative;
  box-shadow: var(--shadow);
}

.lesson-item::before {
  content: counter(lesson, decimal-leading-zero);
  position: absolute;
  left: 1.35rem;
  top: 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

.lesson-item strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.lesson-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.lessons-callout {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #edf2ff, #f8fafc);
  border: 1px solid #bac8ff;
}

.lessons-callout p {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}

/* When to use */
.use-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.use-panel {
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
}

.use-panel.good {
  background: linear-gradient(180deg, #f0fdf4, white);
  border-color: #bbf7d0;
}

.use-panel.avoid {
  background: linear-gradient(180deg, #fff7ed, white);
  border-color: #fed7aa;
}

.use-panel h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.use-panel ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.use-panel li + li {
  margin-top: 0.45rem;
}

/* Legend — flowchart shapes */
.legend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-flow);
}

.legend-item-blue { border-top: 3px solid var(--flow-blue); }
.legend-item-gray { border-top: 3px solid var(--flow-gray); }
.legend-item-red { border-top: 3px solid var(--flow-red); }

.legend-shape {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.legend-shape-process {
  width: 28px;
  height: 20px;
  border-radius: 5px;
}

.legend-shape-diamond {
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
  border-radius: 3px;
  margin-top: 0.35rem;
  margin-left: 0.25rem;
  margin-right: 0.5rem;
}

.color-blue { background: var(--flow-blue); }
.color-gray { background: var(--flow-gray); }
.color-red { background: var(--flow-red); }

.legend-item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
}

.legend-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Comparison */
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}

.compare-table th {
  background: var(--surface-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .highlight {
  background: #edf2ff;
  font-weight: 600;
  color: var(--accent);
}

.compare-table th.highlight {
  background: var(--accent);
  color: white;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.45rem;
  box-shadow: var(--shadow);
}

.stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.stat-source {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Publication */
.publication-card {
  background: linear-gradient(135deg, #1c2f7a, #364fc7);
  color: white;
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 28px 64px rgba(54, 79, 199, 0.28);
}

.publication-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.publication-title {
  font-size: 1rem;
  color: #dbe4ff;
  margin: 0 0 0.75rem;
  line-height: 1.5;
  max-width: 58ch;
}

.publication-meta {
  color: #bac8ff;
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
}

.publication-authors {
  color: #dbe4ff;
  margin: 0;
  font-size: 0.88rem;
}

.publication-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  font-weight: 500;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fcc419;
}

.status-dot.published {
  background: #51cf66;
}

.publication-actions .btn {
  justify-content: center;
  white-space: nowrap;
}

.publication-actions .btn-primary {
  background: white;
  color: var(--accent);
  box-shadow: none;
}

.publication-actions .btn-primary:hover {
  background: #edf2ff;
  color: var(--accent-hover);
}

.publication-actions .btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 820px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
}

.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* Footer */
.site-footer {
  background: var(--bg);
  color: var(--text-on-dark-muted);
  padding: 2.25rem 0;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner a {
  color: #91a7ff;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-flowchart-bg {
    display: none;
  }

  .hero-grid,
  .cards-grid,
  .process-flow,
  .stats-grid,
  .legend-grid,
  .publication-card,
  .use-grid,
  .definition-inner,
  .benefits-grid,
  .ai-spotlight {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 3.25rem 0 4rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    gap: 1rem;
  }
}
