/* CloudFlowLab - Bento Grid Showcase
   Type: IBM Plex Sans / JetBrains Mono
   Themes: light + dark, system-aware with manual override */

/* ---------- Tokens: light is the base ---------- */

:root {
  --bg:          #F8FAFC;
  --card:        #FFFFFF;
  --muted:       #F1F5F9;
  --border:      #CBD5E1;
  --fg:          #0F172A;
  --muted-fg:    #475569;
  --accent:      #15803D;
  --on-accent:   #FFFFFF;
  --ring:        #0F172A;

  --border-soft:  rgba(100, 116, 139, .30);
  --accent-soft:  rgba(21, 128, 61, .08);
  --accent-hover: #166534;
  --header-bg:    rgba(248, 250, 252, .80);

  --glow-1: rgba(21, 128, 61, .10);
  --glow-2: rgba(148, 163, 184, .22);

  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --space-1: 4px;  --space-2: 8px;  --space-3: 16px; --space-4: 24px;
  --space-5: 32px; --space-6: 48px; --space-7: 64px;

  --radius: 14px;
  --radius-lg: 20px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Long-tail settle, close to a critically damped spring: fast departure,
     slow arrival, no overshoot. Used for scroll reveals. */
  --ease-settle: cubic-bezier(.16, 1, .3, 1);
}

/* The original OLED palette, unchanged */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #0F172A;
    --card:        #1B2336;
    --muted:       #272F42;
    --border:      #475569;
    --fg:          #F8FAFC;
    --muted-fg:    #94A3B8;
    --accent:      #22C55E;
    --on-accent:   #0F172A;
    --ring:        #FFFFFF;

    --border-soft:  rgba(71, 85, 105, .45);
    --accent-soft:  rgba(34, 197, 94, .12);
    --accent-hover: #4ADE80;
    --header-bg:    rgba(15, 23, 42, .78);

    --glow-1: rgba(34, 197, 94, .16);
    --glow-2: rgba(51, 65, 85, .55);
  }
}

:root[data-theme="dark"] {
  --bg:          #0F172A;
  --card:        #1B2336;
  --muted:       #272F42;
  --border:      #475569;
  --fg:          #F8FAFC;
  --muted-fg:    #94A3B8;
  --accent:      #22C55E;
  --on-accent:   #0F172A;
  --ring:        #FFFFFF;

  --border-soft:  rgba(71, 85, 105, .45);
  --accent-soft:  rgba(34, 197, 94, .12);
  --accent-hover: #4ADE80;
  --header-bg:    rgba(15, 23, 42, .78);

  --glow-1: rgba(34, 197, 94, .16);
  --glow-2: rgba(51, 65, 85, .55);
}

:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; } }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

/* Ambient glow - decorative, sits behind everything */
body::before {
  content: "";
  position: fixed;
  inset: -30% -10% auto -10%;
  height: 70vh;
  background:
    radial-gradient(58% 60% at 22% 0%, var(--glow-1), transparent 68%),
    radial-gradient(45% 55% at 82% 8%, var(--glow-2), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0; }

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

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--space-4);
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -80px;
  z-index: 50;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: var(--space-3); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  box-shadow: 0 0 0 0 transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease),
              box-shadow .3s var(--ease);
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--border-soft);
  box-shadow: 0 6px 24px -12px rgba(2, 6, 23, .45);
}

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  padding: 10px 4px;
  cursor: pointer;
}
.brand svg { color: var(--accent); flex: none; }
.brand b { font-weight: 600; }
.brand span { color: var(--muted-fg); font-weight: 400; }

.site-nav { display: flex; align-items: center; gap: var(--space-1); }

.site-nav a.nav-link {
  font-size: 14px;
  color: var(--muted-fg);
  padding: 12px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.site-nav a.nav-link:hover { color: var(--fg); background: var(--muted); }

.site-nav a.nav-cta {
  font-size: 14px;
  color: var(--fg);
  padding: 12px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--border-soft);
  margin-left: var(--space-2);
  transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.site-nav a.nav-cta:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.theme-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  margin-left: var(--space-1);
  background: none;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--fg);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
}

/* A media query adds no specificity - these must match the base rules above
   (`.site-nav a.nav-link` is 0,2,1) or the nav will never collapse. */
@media (max-width: 767px) { .site-nav a.nav-link { display: none; } }
@media (max-width: 479px) { .site-nav a.nav-cta { display: none; } }

/* ---------- Hero ---------- */

.hero { padding: clamp(56px, 11vw, 112px) 0 var(--space-6); }

.hero h1 {
  font-size: clamp(2.25rem, 6.2vw, 4rem);
  margin: var(--space-4) 0 0;
  max-width: 17ch;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }

.hero-lede {
  margin-top: var(--space-4);
  font-size: clamp(1.0625rem, 2.1vw, 1.1875rem);
  color: var(--muted-fg);
  max-width: 60ch;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), color .2s var(--ease);
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost { border-color: var(--border-soft); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.hero-meta {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted-fg);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- Sections ---------- */

.section { padding: var(--space-7) 0; scroll-margin-top: 80px; }

.section-head { margin-bottom: var(--space-5); max-width: 62ch; }
.section-head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  margin-top: var(--space-3);
}
.section-head p { margin-top: var(--space-3); color: var(--muted-fg); }

/* ---------- Bento grid ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
}

.card {
  grid-column: span 3;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: border-color .25s var(--ease), transform .25s var(--ease),
              background .25s var(--ease);
}

/* Closes the grid when the card count would otherwise strand one alone. */
.card--wide { grid-column: span 6; }

.card--featured {
  grid-column: span 3;
  grid-row: span 2;
  background:
    linear-gradient(160deg, var(--accent-soft), transparent 52%),
    var(--card);
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
  padding: var(--space-5);
}

a.card { cursor: pointer; }
a.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background:
    linear-gradient(160deg, var(--accent-soft), transparent 52%),
    var(--card);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.card-icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--muted);
  border: 1px solid var(--border-soft);
  color: var(--accent);
  flex: none;
}
.card--featured .card-icon {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}

.badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  color: var(--muted-fg);
  white-space: nowrap;
  flex: none;
}
.badge--live {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.badge--live .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.card h3 { font-size: 1.125rem; }
.card--featured h3 { font-size: clamp(1.375rem, 2.6vw, 1.75rem); }

.card p { color: var(--muted-fg); font-size: .9375rem; }
.card--featured p { font-size: 1rem; }

.card-points {
  margin: var(--space-1) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.card-points li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9375rem;
  color: var(--fg);
}
.card-points svg { color: var(--accent); flex: none; margin-top: 5px; }

.card-tags {
  margin: auto 0 0;
  padding: var(--space-2) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.card-tags li {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted-fg);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 4px 9px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}
a.card:hover .card-link svg { transform: translateX(4px); }
.card-link svg { transition: transform .2s var(--ease); }

@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card { grid-column: span 1; }
  .card--featured, .card--wide { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 639px) {
  .bento { grid-template-columns: 1fr; }
  .card, .card--featured, .card--wide { grid-column: span 1; }
}

/* ---------- Stack strip ---------- */

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 0;
  margin: 0;
}
.stack-list li {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted-fg);
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 9px 16px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.stack-list li:hover { color: var(--fg); border-color: var(--accent); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: var(--space-6) 0 var(--space-5);
  margin-top: var(--space-5);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: flex-start;
  justify-content: space-between;
}
.footer-grid h2 { font-size: 1.25rem; }
.footer-grid p { color: var(--muted-fg); margin-top: var(--space-2); max-width: 48ch; font-size: .9375rem; }

.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted-fg);
}

/* ---------- Reveal animation ---------- */

/* Scoped to .js so the page is fully readable if the script never runs.
   Travel and duration are tuned for a long, damped settle rather than a snap:
   opacity resolves early so text is readable while the slide is still easing in. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .55s var(--ease-settle), transform .95s var(--ease-settle);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, a.card:hover { transform: none; }
}

/* ============================================================
   Entrance choreography + demonstration components
   ============================================================ */

/* ---------- Load-in sequence ---------- */

/* Hero pieces hold until the page signals ready, then arrive in order.
   Space is reserved by the layout, so nothing shifts while they wait. */
.js .hero [data-enter] {
  opacity: 0;
  transform: translateY(22px);
}
.js.is-ready .hero [data-enter] {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease-settle), transform .9s var(--ease-settle);
  transition-delay: var(--enter-delay, 0ms);
}

/* ---------- Hero layout with demo panel ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: var(--space-6);
  align-items: center;
}
@media (max-width: 979px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ---------- Chat demo ---------- */

.demo {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -32px rgba(2, 6, 23, .55);
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px var(--space-3);
  border-bottom: 1px solid var(--border-soft);
  background: var(--muted);
}
.demo-bar .avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  flex: none;
}
.demo-bar .who { font-size: 13.5px; font-weight: 600; }
.demo-bar .live {
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--accent); margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
}
.demo-bar .live::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

.demo-thread {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 318px;
  justify-content: flex-end;
}

.msg {
  max-width: 88%;
  padding: 9px 13px;
  border-radius: 13px;
  font-size: 13.5px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px) scale(.97);
  transition: opacity .35s var(--ease-settle), transform .45s var(--ease-settle);
}
.msg.in { opacity: 1; transform: none; }

.msg--out {
  align-self: flex-end;
  background: var(--accent);
  color: var(--on-accent);
  border-bottom-right-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.msg--in {
  align-self: flex-start;
  background: var(--muted);
  color: var(--fg);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-soft);
}
.msg--in .hit { color: var(--accent); font-weight: 600; }
.msg--in .row {
  display: flex; gap: 10px;
  font-family: var(--font-mono); font-size: 12px;
  padding: 1px 0;
}
.msg--in .row span:first-child { color: var(--muted-fg); min-width: 76px; }

.msg--typing {
  align-self: flex-start;
  background: var(--muted);
  border: 1px solid var(--border-soft);
  border-bottom-left-radius: 4px;
  display: inline-flex; gap: 4px; align-items: center;
  padding: 12px 14px;
  max-width: max-content;
}
.msg--typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted-fg);
  display: block;
  animation: typing 1.3s ease-in-out infinite;
}
.msg--typing i:nth-child(2) { animation-delay: .18s; }
.msg--typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typing {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30%           { opacity: 1;  transform: translateY(-3px); }
}

.demo-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-fg);
  text-align: center;
  margin-top: var(--space-3);
}

/* ---------- Pipeline ---------- */

.pipeline {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  overflow-x: auto;
}
.pipeline svg { display: block; margin-inline: auto; min-width: 600px; }

.pipe-line {
  stroke: var(--border);
  stroke-width: 2;
  fill: none;
}
.pipe-flow {
  stroke: var(--accent);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 10 118;
  stroke-dashoffset: 128;
}
.is-running .pipe-flow { animation: flow 2.4s linear infinite; }
.is-running .pipe-flow--2 { animation-delay: .8s; }
.is-running .pipe-flow--3 { animation-delay: 1.6s; }
@keyframes flow { to { stroke-dashoffset: -10; } }

.pipe-node rect {
  fill: var(--muted);
  stroke: var(--border-soft);
  stroke-width: 1.5;
}
.pipe-node .label {
  fill: var(--fg);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  text-anchor: middle;
}
.pipe-node .sub {
  fill: var(--muted-fg);
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-anchor: middle;
}
.pipe-node .glyph { stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Terminal ---------- */

.terminal {
  background: #0B1120;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-mono);
}
.terminal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px var(--space-3);
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}
.terminal-bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(148, 163, 184, .35);
  display: block;
}
.terminal-bar .name {
  margin-left: 6px;
  font-size: 11.5px;
  color: #94A3B8;
  letter-spacing: .04em;
}
.terminal-body {
  padding: var(--space-3) var(--space-4) var(--space-4);
  font-size: 12.5px;
  line-height: 1.85;
  min-height: 218px;
  color: #CBD5E1;
  white-space: pre-wrap;
  word-break: break-word;
}
.terminal-body .p { color: #4ADE80; }
.terminal-body .dim { color: #7C8CA5; }
.terminal-body .hl { color: #F8FAFC; }
.terminal-body .cursor {
  display: inline-block;
  width: 7px; height: 13px;
  background: #4ADE80;
  vertical-align: -2px;
  animation: caret 1.05s steps(2, start) infinite;
}
@keyframes caret { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

/* ---------- How-it-works pair ---------- */

.proof-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  align-items: start;
}
@media (max-width: 979px) { .proof-pair { grid-template-columns: 1fr; } }

.proof-pair h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--space-2);
}
.proof-pair .blurb {
  color: var(--muted-fg);
  font-size: .9375rem;
  margin-bottom: var(--space-3);
}

/* ---------- Count-up figures ---------- */

.figure { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .js .hero [data-enter] { opacity: 1; transform: none; }
  .msg { opacity: 1; transform: none; }
  .msg--typing { display: none; }
  .is-running .pipe-flow { animation: none; }
  .pipe-flow { stroke-dasharray: none; stroke-dashoffset: 0; opacity: .5; }
  .terminal-body .cursor { animation: none; }
  .msg--typing i { animation: none; }
}
