/* ==========================================================================
   Node Buster — marketing site
   Tokens lifted from the Node Buster Marketing design file.
   ========================================================================== */

:root {
  /* Ink */
  --ink-900: #0e121b;
  --ink-800: #191b25;
  --ink-700: #2b303b;
  --ink-600: #525866;
  --ink-500: #717784;

  /* Lines & surfaces */
  --line-300: #cacfd8;
  --line-200: #eaecf0;
  --dot: #d2d7e0;
  --surface-100: #f5f7fa;
  --surface-50: #fafbfc;
  --white: #ffffff;

  /* Accents */
  --blue-700: #1d3cbc;
  --blue-600: #2c57ff;
  --blue-200: #c0d5ff;
  --blue-100: #ebf1ff;
  --green-900: #073b20;
  --green-800: #0c6f3b;
  --green-700: #0b8f48;
  --green-600: #16b761;
  --green-400: #3de089;
  --green-100: #e3f7ec;
  --amber-700: #ae5011;
  --amber-600: #fa731a;
  --amber-100: #fff3eb;
  --purple: #7d52f4;
  --teal: #24cad3;

  /* Layout */
  --page: 1280px;
  --gutter: 48px;
  --radius-card: 16px;
  --radius-band: 24px;

  --dots: radial-gradient(circle at 1px 1px, var(--dot) 1px, rgba(0,0,0,0) 1.5px);
  --dots-light: radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, rgba(0,0,0,0) 1.5px);
  --shadow-sm: 0 2px 4px 0 rgba(14,18,27,.06);
  --shadow-md: 0 6px 12px -2px rgba(14,18,27,.08);
  --shadow-lg: 0 16px 32px -4px rgba(14,18,27,.1);
}

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

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

body {
  margin: 0;
  font-family: Jost, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.45;
  font-size: 16px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------------- Announce */

.announce {
  background: var(--ink-900);
  color: var(--white);
  font-size: 13px;
  text-align: center;
  padding: 9px var(--gutter);
}
.announce a { color: var(--green-400); font-weight: 600; margin-left: 6px; }

/* ------------------------------------------------------------------- Nav */

.nav {
  border-bottom: 1px solid var(--line-200);
  background: var(--white);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 75px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink-900);
}
.brand svg, .brand img { width: 28px; height: 25px; color: var(--ink-900); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto 0 76px;
  padding: 0;
  list-style: none;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  padding-bottom: 2px;
}
.nav__links a:hover { color: var(--ink-900); }
.nav__links a[aria-current="page"] {
  color: var(--ink-900);
  border-bottom: 2px solid var(--ink-900);
}

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__signin { font-size: 14px; font-weight: 500; color: var(--ink-700); padding: 9px 14px; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  border: 0; background: none; padding: 9px 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block; height: 2px; background: var(--ink-900);
  border-radius: 1px;
}
.nav__toggle span + span { margin-top: 5px; }

/* --------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--sm { font-size: 14px; padding: 10px 20px; }
.btn--blue { background: var(--blue-600); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--blue:hover { background: var(--blue-700); }
.btn--dark { background: var(--ink-900); color: var(--white); }
.btn--dark:hover { background: var(--ink-800); }
.btn--green { background: var(--green-400); color: var(--ink-900); }
.btn--green:hover { background: var(--green-600); }
.btn--white { background: var(--white); color: var(--ink-900); }
.btn--ghost { background: var(--white); color: var(--ink-900); border-color: var(--line-300); font-weight: 500; }
.btn--ghost:hover { border-color: var(--ink-500); }
.btn--onDark { background: transparent; color: var(--white); border-color: var(--ink-600); font-weight: 500; }
.btn--onDark:hover { border-color: var(--line-300); }
.btn--onBlue { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); font-weight: 500; }
.btn--onBlue:hover { border-color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------ Typography */

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin: 0 0 18px;
}
.h1 { font-size: 68px; line-height: 1.04; letter-spacing: -.025em; font-weight: 600; margin: 0; }
.h2 { font-size: 56px; line-height: 1.05; letter-spacing: -.025em; font-weight: 600; margin: 0; }
.h3 { font-size: 44px; line-height: 1.09; letter-spacing: -.02em; font-weight: 600; margin: 0; }
.h4 { font-size: 36px; line-height: 1.11; letter-spacing: -.02em; font-weight: 600; margin: 0; }
.h5 { font-size: 24px; line-height: 1.3; font-weight: 600; margin: 0; }
.lede { font-size: 20px; line-height: 1.5; color: var(--ink-600); margin: 18px 0 0; }
.sub { font-size: 18px; line-height: 1.55; color: var(--ink-600); margin: 18px 0 0; }
.note { font-size: 13px; line-height: 1.55; color: var(--ink-500); }

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--ink-900); color: var(--white); }
.section--surface { background: var(--surface-100); }

/* ----------------------------------------------------------------- Badges */

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  background: var(--blue-100);
  border: 1px solid var(--blue-200);
  color: var(--blue-700);
}
.state {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
}
.state--wait { background: var(--amber-100); color: var(--amber-700); }
.state--review { background: var(--blue-100); color: var(--blue-700); }
.state--ready { background: var(--green-100); color: var(--green-800); }

/* ----------------------------------------------------------------- Canvas */

.canvas {
  position: relative;
  background-color: var(--surface-50);
  background-image: var(--dots);
  background-size: 24px 24px;
}
.canvas__svg { position: absolute; inset: 0; overflow: visible; }
.canvas__svg path { fill: none; stroke: var(--blue-600); stroke-width: 1.5; }
.canvas__svg path.is-done { stroke: var(--green-600); }
.canvas__svg path.is-draft { stroke-dasharray: 4 4; }

/* Workflow node */
.node {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.node--done { border-color: var(--green-600); box-shadow: var(--shadow-md); }
.node--active { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(44,87,255,.15); }
.node__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-200);
  font-size: 12px;
  font-weight: 600;
}
.node__head .state { margin-left: auto; font-size: 10px; padding: 2px 9px; }
.node__body { padding: 10px 12px; }
.dot { width: 8px; height: 8px; border-radius: 2px; background: var(--ink-900); flex: none; }
.dot--blue { background: var(--blue-600); }
.dot--purple { background: var(--purple); }
.dot--amber { background: var(--amber-600); }
.dot--green { background: var(--green-600); }
.dot--teal { background: var(--teal); }

.port {
  position: absolute;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-600);
  top: 50%; margin-top: -6.5px;
}
.port--in { left: -7px; }
.port--out { right: -7px; }
.port--done { border-color: var(--green-600); }

.thumb {
  background: linear-gradient(135deg, var(--line-200), var(--line-300));
  border-radius: 6px;
}
.thumb--tall { background: linear-gradient(160deg, var(--dot), var(--line-200)); }

.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; }
.kv + .kv { margin-top: 6px; }
.kv b { font-weight: 600; color: var(--green-700); }
.kv .is-wait { color: var(--amber-700); }

/* Browser chrome frame */
.window {
  border: 1px solid var(--line-300);
  border-bottom: 0;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--white);
  box-shadow: var(--shadow-lg), 0 4px 8px -2px rgba(14,18,27,.06);
  overflow: hidden;
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  background: var(--surface-100);
  border-bottom: 1px solid var(--line-200);
  font-size: 12px;
  color: var(--ink-600);
}
.window__dots { display: flex; gap: 6px; }
.window__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.window__title { margin: 0 auto; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.window__title .free {
  background: var(--green-400); color: var(--green-900);
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  border-radius: 4px; padding: 2px 7px;
}
.window__zoom { color: var(--ink-500); }

.scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; }

/* ------------------------------------------------------------------ Cards */

.card {
  background: var(--white);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-card);
  padding: 32px;
}
.card__media {
  border: 1px solid var(--line-200);
  border-radius: 10px;
  background: var(--surface-100);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.card h3 { margin: 0 0 12px; font-size: 24px; font-weight: 600; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-600); }
.card .more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
}
.card .more:hover { color: var(--blue-700); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* Feature mosaic (1px gaps over a line-coloured bed) */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-200);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.mosaic > div { background: var(--white); padding: 28px; }
.mosaic h3 { margin: 16px 0 10px; font-size: 19px; font-weight: 600; }
.mosaic p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-600); }
.mosaic i.swatch { display: block; width: 10px; height: 10px; border-radius: 3px; }

/* Audience cards on dark */
.tile {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: 12px;
  padding: 24px;
}
.tile h3 { margin: 0 0 12px; font-size: 20px; font-weight: 600; color: var(--white); }
.tile p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--line-300); }

/* Step cards */
.step { background: var(--white); border: 1px solid var(--line-200); border-radius: 12px; padding: 20px; }
.step__media {
  background: var(--surface-100);
  border: 1px solid var(--line-200);
  border-radius: 8px;
  height: 122px;
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.step__num { font-size: 12px; font-weight: 600; color: var(--blue-600); }
.step h3 { margin: 6px 0 8px; font-size: 20px; font-weight: 600; }
.step p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-600); }

.chip {
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  padding: 8px 12px;
  display: inline-flex; align-items: center; gap: 8px;
}

/* ---------------------------------------------------------- Contrast strip */

.contrast {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line-200);
  padding: 40px 0;
}
.contrast div { font-size: 16px; }
.contrast .from { color: var(--ink-500); }
.contrast .arrow { color: var(--blue-600); margin: 0 8px; }
.contrast .to { font-weight: 600; }

/* ------------------------------------------------------------ Numbered list */

.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.steps-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.steps-list .n {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink-900); color: var(--white);
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.steps-list h3 { margin: 3px 0 4px; font-size: 16px; font-weight: 600; }
.steps-list p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-600); }

/* ------------------------------------------------------------------- Ticks */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; align-items: center; gap: 14px; font-size: 17px; }
.ticks i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); flex: none; }

/* --------------------------------------------------------------- Spec list */

.spec { border-top: 1px solid var(--line-200); }
.spec > div {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-200);
}
.spec dt { font-size: 13px; font-weight: 600; color: var(--ink-500); }
.spec dd { margin: 0; font-size: 15px; line-height: 1.53; color: var(--ink-700); display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------------------------------------------------------- Accordion */

.faq { border-top: 1px solid var(--line-200); }
.faq details { border-bottom: 1px solid var(--line-200); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-500); font-size: 17px; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 0 0 21px; max-width: 640px; font-size: 15px; line-height: 1.53; color: var(--ink-600); }

/* -------------------------------------------------------------------- CTA */

.cta {
  border-radius: var(--radius-band);
  padding: 72px var(--gutter);
  text-align: center;
  background-color: var(--blue-600);
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.25) 1px, rgba(0,0,0,0) 1.5px);
  background-size: 24px 24px;
  color: var(--white);
}
.cta h2 { font-size: 48px; line-height: 1.05; letter-spacing: -.025em; font-weight: 600; margin: 0 auto; max-width: 640px; }
.cta .btn-row { justify-content: center; margin-top: 36px; }

.cta--dark { background-color: var(--ink-900); background-image: none; text-align: left; padding: 44px; }
.cta--dark h2 { font-size: 36px; margin: 0; max-width: 520px; }
.cta--split { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta--split .btn-row { margin: 0; }

.cta-strip {
  border-top: 1px solid var(--line-200);
  padding: 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h2 { font-size: 32px; letter-spacing: -.02em; font-weight: 600; margin: 0; }

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

.footer { border-top: 1px solid var(--line-200); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 0;
  font-size: 13px;
  color: var(--ink-600);
}
.footer__brand { display: flex; align-items: center; gap: 8px; }
.footer__brand svg { width: 20px; height: 18px; color: var(--ink-600); }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer__links a:hover { color: var(--ink-900); }

/* ================================================================ Responsive
   Breakpoints follow the 390px mobile artboard in the design file.
   ========================================================================== */

@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .h1 { font-size: 54px; }
  .h2 { font-size: 44px; }
  .h3 { font-size: 36px; }
  .cta h2 { font-size: 38px; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; }

  .nav__links,
  .nav__signin { display: none; }
  .nav__toggle { display: block; }
  .nav__inner { height: 93px; gap: 12px; }
  .nav__actions { margin-left: auto; }

  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line-200);
    z-index: 20;
  }
  .nav.is-open .nav__links a { display: block; width: 100%; padding: 12px 0; font-size: 16px; }
  .nav { position: relative; }

  .h1 { font-size: 38px; line-height: 1.08; letter-spacing: -.02em; }
  .h2 { font-size: 34px; line-height: 1.09; }
  .h3 { font-size: 30px; line-height: 1.1; }
  .h4 { font-size: 26px; }
  .h5 { font-size: 20px; }
  .lede, .sub { font-size: 16px; line-height: 1.5; }

  .section { padding: 56px 0; }
  .section--tight { padding: 40px 0; }

  .btn { width: 100%; padding: 20px 24px; }
  .btn-row { flex-direction: column; }
  .nav .btn { width: auto; padding: 12px 22px; }

  .grid-2, .grid-4, .mosaic { grid-template-columns: minmax(0, 1fr); }
  .mosaic { gap: 1px; }

  .contrast { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .contrast div { display: flex; flex-direction: column; }
  .contrast .arrow { display: none; }
  .contrast .to::before { content: "\2192\00a0"; }

  .spec > div { grid-template-columns: 1fr; gap: 6px; }

  .cta { padding: 40px 24px; }
  .cta h2 { font-size: 30px; }
  .cta--dark { padding: 32px 24px; }
  .cta--dark h2 { font-size: 26px; }
  .cta-strip h2 { font-size: 30px; }
  .cta-strip, .cta--split { flex-direction: column; align-items: stretch; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__links { gap: 16px; font-size: 12px; }

  .card { padding: 20px; }
  .card h3 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------- Diagram desktop/mobile */

.diagram { min-width: 1184px; height: 360px; }
.diagram--story { min-width: 844px; height: 420px; }
.diagram--sm { min-width: 552px; height: 300px; }

.stackview { display: none; }

@media (max-width: 860px) {
  .wideview { display: none; }
  .stackview { display: grid; gap: 14px; }
  .stackview .node { position: static; width: auto; }
  .stackview .port { display: none; }
}

/* ------------------------------------------------------- Product: anatomy */

.panel-anatomy {
  display: grid;
  grid-template-columns: 624px 1fr;
  gap: 0;
  background: var(--surface-100);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-band);
  padding: 0;
  overflow: hidden;
}
.anatomy__stage { position: relative; height: 380px; }
.anatomy__copy { padding: 64px 48px 64px 0; align-self: center; }
.anno { position: absolute; font-size: 12px; color: var(--ink-600); }
.lead { position: absolute; height: 1px; background: var(--line-300); display: block; }

/* --------------------------------------------------- Product: zoom panels */

.group-label {
  position: absolute;
  display: inline-flex; align-items: center;
  padding: 0 10px; height: 24px;
  font-size: 11px; color: var(--ink-500);
  background: rgba(255,255,255,.7);
  border: 1px dashed var(--line-300);
  border-radius: 8px;
}
.group-box {
  position: absolute;
  border: 1px dashed var(--line-300);
  border-radius: 8px;
  padding: 16px;
  display: flex; flex-wrap: wrap; gap: 10px;
  align-content: flex-start;
}
.mini {
  width: 52px; height: 24px;
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: 5px;
}
.mini.is-done { border-color: var(--green-600); }
.mini.is-wait { border-color: var(--amber-600); }
.mini.is-active { border-color: var(--blue-600); }

@media (max-width: 1100px) {
  .panel-anatomy { grid-template-columns: 1fr; }
  .anatomy__stage { height: 300px; }
  .anatomy__copy { padding: 0 32px 40px; }
  .anatomy__stage .node { left: 50% !important; transform: translateX(-50%); top: 60px !important; }
  .anno, .lead { display: none; }
}

@media (max-width: 1000px) {
  .story { grid-template-columns: 1fr !important; gap: 32px !important; }
}

@media (max-width: 860px) {
  .prod-hero, .wrap[style*="560px 1fr"], .story { grid-template-columns: 1fr !important; gap: 32px !important; }
  .wrap[style*="1fr 1fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  .anatomy__stage { height: 280px; }
  .anatomy__stage .node { width: 302px !important; }
  .anatomy__copy h2 { font-size: 30px !important; }
}

/* ------------------------------------------------------ How it works page */

.step-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  padding-bottom: 96px;
}
.step-num {
  display: block;
  font-size: 64px;
  line-height: 1;
  font-weight: 600;
  color: var(--line-300);
  margin-bottom: 16px;
}
.stage {
  position: relative;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-card);
}
.tpl {
  position: absolute;
  width: 162px; height: 125px;
  background: var(--white);
  border: 1px solid var(--line-300);
  border-radius: 10px;
  padding: 13px;
  display: flex; flex-direction: column;
}
.tpl b { margin-top: 10px; font-size: 12px; font-weight: 600; }
.tpl span { font-size: 10px; font-weight: 600; color: var(--ink-600); margin-top: 4px; }
.tpl--empty { border-style: dashed; align-items: center; justify-content: center; }
.tpl--empty .plus { font-size: 22px; color: var(--ink-600); margin: 0; }
.node--active.tpl { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(44,87,255,.15); }

.walkthrough {
  position: relative;
  border-radius: var(--radius-band);
  background-color: var(--ink-900);
  background-image: var(--dots-light);
  background-size: 24px 24px;
  color: var(--white);
  text-align: center;
  padding: 120px 40px;
}
.walkthrough__play {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--white);
  margin-bottom: 20px;
}
.walkthrough h2 { margin: 0; font-size: 22px; font-weight: 600; }
.walkthrough p { margin: 6px 0 0; font-size: 14px; color: var(--line-300); }
.walkthrough__ph {
  position: absolute; left: 24px; bottom: 24px;
  border: 1px dashed var(--ink-600);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  color: var(--ink-500);
}

@media (max-width: 1000px) {
  .step-row { grid-template-columns: 1fr; gap: 32px; }
  .step-row--flip > .scroller { order: 2; }
}

@media (max-width: 860px) {
  .step-row { padding-bottom: 56px; }
  .step-num { font-size: 48px; }
  .walkthrough { padding: 72px 24px 88px; }
  .walkthrough__ph { left: 20px; right: 20px; bottom: 20px; }
}

/* --------------------------------------------------------- Mock scaling
   Wide diagram mocks keep their intrinsic geometry (the design is drawn at
   a fixed size). Below the width where they fit, scale them down in steps
   rather than making the reader scroll sideways. Browsers without `zoom`
   fall back to the horizontal scroll on .scroller.
   ---------------------------------------------------------------------- */

@media (max-width: 596px) { .scroller > * { zoom: .85; } }
@media (max-width: 520px) { .scroller > * { zoom: .77; } }
@media (max-width: 477px) { .scroller > * { zoom: .67; } }
@media (max-width: 426px) { .scroller > * { zoom: .57; } }
@media (max-width: 374px) { .scroller > * { zoom: .46; } }

