/* ==========================================================================
   ShowBridge — Design System
   ========================================================================== */

:root {
  --violet: #6d0ad9;
  --blue: #2e6ee8;
  --cyan: #11d7f9;
  --gradient: linear-gradient(90deg, var(--violet) 0%, var(--blue) 55%, var(--cyan) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(109,10,217,0.10), rgba(46,110,232,0.08) 55%, rgba(17,215,249,0.10));
  --gradient-text: linear-gradient(90deg, #7c17e0, var(--blue) 55%, #05c7ea);

  /* Accent theme: defaults to brand violet/blue/cyan everywhere. Individual
     module pages override these on <body> to give each product its own
     colour personality without touching the shared design system. */
  --accent-rgb: 109, 10, 217;
  --accent-gradient: var(--gradient);
  --accent-soft: var(--gradient-soft);
  --accent-glow: var(--shadow-glow);
  --accent-bright: var(--cyan);

  --bg: #fbfbfd;
  --bg-alt: #f2f2f8;
  --surface: #ffffff;
  --surface-2: #f6f6fb;
  --border: #e7e7f0;
  --border-strong: #d9d9e6;

  --text: #17171d;
  --text-soft: #52525f;
  --text-faint: #8a8a97;
  --text-on-dark: #f4f4fb;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(23, 23, 40, 0.05), 0 1px 1px rgba(23, 23, 40, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(30, 20, 70, 0.14);
  --shadow-lg: 0 30px 60px -20px rgba(30, 20, 70, 0.22);
  --shadow-glow: 0 0 0 1px rgba(109, 10, 217, 0.08), 0 20px 40px -18px rgba(46, 110, 232, 0.35);

  --container: 1200px;
  --nav-h: 76px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
svg { display: block; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 800px;
}

section { position: relative; }

/* ---- Text gradient ---- */
.grad-text {
  background: var(--accent-gradient, var(--gradient-text));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Eyebrow / kicker ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(var(--accent-rgb));
  background: rgba(var(--accent-rgb), 0.07);
  border: 1px solid rgba(var(--accent-rgb), 0.14);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-gradient);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn--primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: var(--accent-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 24px 46px -18px rgba(var(--accent-rgb), 0.5); }

.btn--dark {
  background: var(--text);
  color: #fff;
}
.btn--dark:hover { background: #000; transform: translateY(-2px); }

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--violet); color: var(--violet); }

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.1); }

.btn--sm { padding: 7px 15px; font-size: 12.5px; }
.btn--block { width: 100%; }
.btn--icon { padding: 9px; border-radius: var(--radius-pill); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__brand img.nav__icon { height: 34px; width: auto; }
.nav__brand img.nav__word { height: 34px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav__links a {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav__links a:hover { color: var(--text); background: var(--bg-alt); }
.nav__links a.is-active { color: var(--violet); }

.nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: border-color .2s, transform .2s;
}
.nav__cart:hover { border-color: var(--violet); transform: translateY(-1px); }
.nav__cart svg { width: 19px; height: 19px; }
.nav__cart-badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 19px; height: 19px;
  border-radius: var(--radius-pill);
  background: var(--gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  box-shadow: 0 0 0 2px var(--surface);
}
.nav__cart-badge[hidden] { display: none; }

.nav__account {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color .2s, transform .2s;
}
.nav__account:hover { border-color: var(--violet); transform: translateY(-1px); }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  align-items: center;
  justify-content: center;
}
.nav__burger svg { width: 18px; height: 18px; }

.nav__mobile-panel {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--surface);
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
}
.nav__mobile-panel.is-open { display: block; }
.nav__mobile-panel a {
  display: block;
  padding: 14px 4px;
  font-size: 19px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
}
@media (max-width: 560px) {
  .nav__actions .btn--dark { display: none; }
}
@media (max-width: 640px) {
  .nav__account { display: none; }
}
@media (max-width: 420px) {
  .nav__brand img.nav__icon { height: 26px; }
  .nav__brand img.nav__word { height: 26px; }
  .nav__actions { gap: 8px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 92px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px; left: 50%;
  transform: translateX(-50%);
  width: 1100px; height: 620px;
  background: radial-gradient(closest-side, rgba(109,10,217,0.14), rgba(46,110,232,0.10) 45%, rgba(17,215,249,0.0) 72%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  margin: 22px auto 0;
  max-width: 920px;
}
.hero p.lead {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: 19px;
  color: var(--text-soft);
}
.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}
/* ---- Fullscreen background-video hero (home) ----
   The video isn't produced yet, so .hero__bg shows a brand-gradient
   stand-in until a <video> is dropped inside it (see comment in
   build.mjs). The scrim keeps hero text readable no matter what the
   footage looks like once it's in place. */
.hero--video {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 120px 0;
}
.hero--video::before { display: none; }
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--gradient);
}
.hero__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 8, 24, 0.5) 0%, rgba(12, 8, 24, 0.72) 100%);
}
.hero--video .hero__inner { z-index: 2; }
.hero--video h1 { color: #fff; }
.hero--video p.lead { color: rgba(244, 244, 251, 0.82); }
.hero--video .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

/* ==========================================================================
   Sections / headings
   ========================================================================== */
.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: #100b1e;
  color: var(--text-on-dark);
}
.section--dark .text-soft { color: rgba(244,244,251,0.65); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-top: 16px;
}
.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-soft);
}
.section--dark .section-head p { color: rgba(244,244,251,0.68); }
.section-head--left { text-align: left; margin: 0 0 44px; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(109,10,217,0.18);
}
.feature-card__icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-glow);
}
.feature-card__icon svg { width: 22px; height: 22px; color: #fff; }
.feature-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature-card p { color: var(--text-soft); font-size: 14.5px; }

/* ---- Perk list: lighter, chrome-free alternative to feature-card, used
   where a section of "why us" points shouldn't compete visually with the
   bordered product cards elsewhere on the same page. ---- */
.perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 36px;
  row-gap: 34px;
}
@media (max-width: 900px) { .perk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .perk-grid { grid-template-columns: 1fr; } }
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk__icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: rgb(var(--accent-rgb));
}
.perk__icon svg { width: 19px; height: 19px; }
.perk h3 { font-size: 15.5px; margin-bottom: 4px; }
.perk p { color: var(--text-soft); font-size: 13.5px; }

/* ==========================================================================
   Module grid (home + shop)
   ========================================================================== */
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .module-grid { grid-template-columns: 1fr; } }

.module-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  height: 100%;
}
.module-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(109,10,217,0.2); }

.module-mark-img { display: block; object-fit: contain; }
.module-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.module-card__mark {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--gradient-soft);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--violet);
  border: 1px solid rgba(109,10,217,0.12);
}
.module-card__mark svg, .module-card__mark img { width: 32px; height: 32px; }
.tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  background: var(--bg-alt);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}
.module-card h3 { font-size: 19px; margin-bottom: 6px; }
.module-card p.tagline { color: var(--text-soft); font-size: 14.5px; flex-grow: 1; margin-bottom: 18px; }
.module-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
}
.module-card__foot .from { color: var(--text-faint); }
.module-card__foot .price { font-weight: 800; color: var(--text); }
.module-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--violet);
  font-size: 13.5px;
}
.module-card__link svg { width: 13px; height: 13px; transition: transform .2s; }
.module-card:hover .module-card__link svg { transform: translateX(3px); }

/* ==========================================================================
   Category filter chips
   ========================================================================== */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.chip {
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .2s;
}
.chip:hover { border-color: var(--violet); color: var(--violet); }
.chip.is-active { background: var(--gradient); border-color: transparent; color: #fff; box-shadow: var(--shadow-glow); }

.category-select-row { display: flex; justify-content: center; margin-bottom: 40px; }
.category-select {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
}
.category-select__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
  white-space: nowrap;
}
.category-select select {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  padding: 8px 30px 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23767083' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 15px;
}
.category-select select:focus { outline: none; }
.category-select:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(109,10,217,0.12); }

/* ==========================================================================
   Marquee / trust strip
   ========================================================================== */
.trust-strip {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ==========================================================================
   Steps / how it works
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step__num {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--gradient);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 14.5px; }

/* ==========================================================================
   Diagram: connected modules (home)
   ========================================================================== */
.web-diagram {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

/* ==========================================================================
   Quote / testimonial
   ========================================================================== */
.quote-card {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 48px;
}
.quote-card p.text {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.5;
}
.quote-card .attribution {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-soft);
  font-size: 14px;
}
.quote-card .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient);
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  border-radius: 32px;
  background: #100b1e;
  background-image: radial-gradient(circle at 15% 20%, rgba(109,10,217,0.55), transparent 45%), radial-gradient(circle at 85% 80%, rgba(17,215,249,0.4), transparent 45%);
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.cta-band p { color: rgba(244,244,251,0.72); max-width: 560px; margin: 16px auto 0; font-size: 16.5px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #100b1e;
  color: rgba(244,244,251,0.75);
  padding: 64px 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand img { height: 26px; margin-bottom: 14px; }
.footer__brand p { font-size: 14px; max-width: 260px; color: rgba(244,244,251,0.55); }
.footer h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(244,244,251,0.45);
  margin-bottom: 16px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 14.5px; color: rgba(244,244,251,0.8); transition: color .2s; }
.footer ul li a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(244,244,251,0.45);
}
.footer__bottom a { color: rgba(244,244,251,0.6); }
.footer__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__badge {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(244,244,251,0.7);
}

/* ==========================================================================
   Breadcrumb / module page header
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--violet); }
.breadcrumb svg { width: 11px; height: 11px; }

.module-hero {
  padding: 56px 0 70px;
  position: relative;
  overflow: hidden;
}
.module-hero::before {
  content: "";
  position: absolute;
  top: -160px; right: -160px;
  width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.16), transparent 70%);
  z-index: 0;
}
.module-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 900px) { .module-hero__grid { grid-template-columns: 1fr; } }

.module-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); margin: 16px 0 0; }
.module-hero p.lead { margin-top: 18px; font-size: 18px; color: var(--text-soft); max-width: 560px; }
.module-hero__cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.module-hero__forwhom {
  margin-top: 26px;
  font-size: 14px;
  color: var(--text-faint);
  display: flex;
  gap: 8px;
}
.module-hero__forwhom svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: rgb(var(--accent-rgb)); }

.module-hero__panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.14);
}
.module-hero__panel-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.module-hero__panel .mark {
  width: 64px; height: 64px;
  flex-shrink: 0;
  border-radius: 17px;
  background: var(--surface);
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  font-weight: 800;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.module-hero__panel .mark svg, .module-hero__panel .mark img { width: 42px; height: 42px; }
.module-hero__panel-kicker { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: rgb(var(--accent-rgb)); margin-bottom: 3px; }
.module-hero__panel-head h3 { font-size: 17px; }

/* ==========================================================================
   Module showcases — the interactive "try it" widget in the hero panel.
   Shared base + one block per mechanic/skin.
   ========================================================================== */
.showcase { display: flex; flex-direction: column; }
.showcase__caption {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text);
  font-weight: 600;
  min-height: 42px;
  display: flex;
  align-items: center;
}
.showcase__hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 600;
}
.showcase__hint svg { width: 12px; height: 12px; flex-shrink: 0; }
.showcase__progress { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--text-soft); }
.showcase__progress span { color: rgb(var(--accent-rgb)); font-size: 15px; }

/* ---- reveal: shared clickable-item look ---- */
.showcase [data-reveal-item] {
  font-family: inherit;
  cursor: pointer;
  transition: transform .15s var(--ease), border-color .15s, background .15s, color .15s;
}
.showcase [data-reveal-item]:hover { transform: translateY(-1px); }

/* nodes (hub + spokes) */
.node-hub {
  align-self: center;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  box-shadow: var(--accent-glow);
  position: relative;
}
.node-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
  position: relative;
}
.node-item {
  position: relative;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-soft);
}
.node-item::before {
  content: "";
  position: absolute;
  top: -17px; left: 50%;
  width: 1px; height: 8px;
  background: var(--border-strong);
}
.node-item.is-active, .node-item:hover {
  border-color: transparent;
  background: var(--accent-gradient);
  color: #fff;
}

/* tiles (storage / bricks / stageflow) */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile-item {
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-soft);
  text-align: center;
}
.tile-item.is-active, .tile-item:hover {
  border-color: transparent;
  background: var(--accent-gradient);
  color: #fff;
}

/* chips (trigger rules) */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-item {
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-soft);
}
.chip-item.is-active, .chip-item:hover {
  border-color: transparent;
  background: var(--accent-gradient);
  color: #fff;
}

/* bars (scope) */
.bar-row { display: flex; align-items: flex-end; gap: 10px; height: 130px; padding-top: 10px; }
.bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  border: none;
  background: none;
  height: 100%;
}
.bar-item__fill {
  width: 100%;
  max-width: 30px;
  border-radius: 7px 7px 3px 3px;
  background: var(--border-strong);
  transition: background .2s;
}
.bar-item.is-active .bar-item__fill, .bar-item:hover .bar-item__fill { background: var(--accent-gradient); }
.bar-item__label { font-size: 11.5px; font-weight: 700; color: var(--text-faint); }
.bar-item.is-active .bar-item__label { color: rgb(var(--accent-rgb)); }

/* calendar (calendar / days) */
.cal-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.cal-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-soft);
  display: flex; align-items: center; justify-content: center;
}
.cal-dot { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: rgb(var(--accent-rgb)); }
.cal-item.is-active .cal-dot, .cal-item:hover .cal-dot { background: #fff; }
.cal-item.has-event { border-color: rgba(var(--accent-rgb), 0.35); }
.cal-item.is-active, .cal-item:hover {
  border-color: transparent;
  background: var(--accent-gradient);
  color: #fff;
}

/* phototiles (stagesnap) */
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.photo-item {
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.35), rgba(var(--accent-rgb),0.12));
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 10px;
  position: relative;
  overflow: hidden;
}
.photo-item:nth-child(2n) { background: linear-gradient(225deg, rgba(var(--accent-rgb),0.3), rgba(var(--accent-rgb),0.1)); }
.photo-item span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  background: rgba(255,255,255,0.82);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}
.photo-item.is-active, .photo-item:hover { outline: 2px solid rgb(var(--accent-rgb)); outline-offset: 2px; }

/* filmstrip (flowcut) */
.film-row {
  display: flex;
  gap: 4px;
  padding: 10px 0;
  border-top: 3px dotted var(--border-strong);
  border-bottom: 3px dotted var(--border-strong);
}
.film-item {
  flex: 1;
  aspect-ratio: 4/3;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-soft);
}
.film-item.is-active, .film-item:hover {
  border-color: transparent;
  background: var(--accent-gradient);
  color: #fff;
}

/* ---- modes (signage) ---- */
.mode-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.mode-tab {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-soft);
  cursor: pointer;
}
.mode-tab.is-active { border-color: transparent; background: var(--accent-gradient); color: #fff; }
.mode-screen {
  margin-top: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  min-height: 100px;
}
.mode-panel strong { font-size: 13.5px; color: rgb(var(--accent-rgb)); }
.mode-panel p { font-size: 13.5px; color: var(--text-soft); margin-top: 6px; }

/* ---- checklist (nextup / crew / flowagent) ---- */
.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.check-box {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--border-strong);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  transition: all .15s;
}
.check-box svg { width: 12px; height: 12px; }
.check-item span:last-child { font-size: 13.5px; font-weight: 600; color: var(--text-soft); transition: color .15s; }
.check-item.is-checked .check-box { background: var(--accent-gradient); border-color: transparent; color: #fff; }
.check-item.is-checked span:last-child { color: var(--text); text-decoration: line-through; text-decoration-color: var(--border-strong); }

/* ---- flip (coupongo / lineup) ---- */
.flip-card { perspective: 1000px; width: 100%; border: none; background: none; padding: 0; cursor: pointer; font-family: inherit; }
.flip-card__inner {
  position: relative;
  display: block;
  width: 100%;
  min-height: 150px;
  transition: transform .6s var(--ease);
  transform-style: preserve-3d;
}
.flip-card.is-flipped .flip-card__inner,
[data-flip-card].is-flipped .flip-card__inner { transform: rotateY(180deg); }
.flip-card__face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 6px;
}
.flip-card__back { transform: rotateY(180deg); background: var(--accent-gradient); border-color: transparent; }
.flip-card__title { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-faint); }
.flip-card__back .flip-card__title { color: rgba(255,255,255,0.75); }
.flip-card__value { font-size: 30px; font-weight: 800; color: rgb(var(--accent-rgb)); }
.flip-card__body { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.4; }
.flip-card__back .flip-card__body { color: #fff; }
.flip-card__sub { font-size: 12.5px; color: var(--text-faint); }
.flip-card__back .flip-card__sub { color: rgba(255,255,255,0.75); }

/* ---- chat (relay) ---- */
.chat-thread { display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  animation: sbFadeIn .3s var(--ease) both;
}
.chat-bubble--kunde { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.chat-bubble--team { align-self: flex-end; background: var(--accent-gradient); color: #fff; border-bottom-right-radius: 4px; }
[data-chat-next] { margin-top: 14px; align-self: flex-start; }

/* ---- receipt (souffleur) ---- */
.receipt-products { display: flex; flex-wrap: wrap; gap: 8px; }
.receipt-chip {
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
  cursor: pointer;
}
.receipt-chip:hover { border-color: rgb(var(--accent-rgb)); color: rgb(var(--accent-rgb)); }
.receipt-ticket {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
}
.receipt-ticket__lines { display: flex; flex-direction: column; gap: 6px; min-height: 24px; }
.receipt-ticket__line { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-soft); animation: sbFadeIn .3s var(--ease) both; }
.receipt-ticket__empty { font-size: 12.5px; color: var(--text-faint); }
.receipt-ticket__total {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-weight: 800;
}

/* ---- tags (fableflow) ---- */
.tag-text { font-size: 14.5px; line-height: 2; color: var(--text-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.tag-word {
  font-family: inherit;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.1);
  color: rgb(var(--accent-rgb));
  cursor: pointer;
  margin: 0 1px;
}
.tag-word.is-active, .tag-word:hover { background: var(--accent-gradient); color: #fff; border-color: transparent; }

@media (max-width: 460px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .cal-grid { grid-template-columns: repeat(4, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Feature list (module page - detailed)
   ========================================================================== */
.detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 700px) { .detail-list { grid-template-columns: 1fr; } }
.detail-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.detail-item__check {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: rgb(var(--accent-rgb));
}
.detail-item__check svg { width: 17px; height: 17px; }
.detail-item h3 { font-size: 16px; margin-bottom: 6px; }
.detail-item p { font-size: 14px; color: var(--text-soft); }
.detail-item[href] { text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.detail-item[href]:hover { border-color: rgba(var(--accent-rgb), 0.4); transform: translateY(-2px); }

/* ==========================================================================
   Integrations list
   ========================================================================== */
.integration-list { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.integration-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.integration-item svg { width: 20px; height: 20px; color: rgb(var(--accent-rgb)); flex-shrink: 0; margin-top: 2px; }
.integration-item p { font-size: 14.5px; color: var(--text-soft); }

/* ==========================================================================
   Use cases — one card per module, so a use case reads as a kit of
   optional, self-contained building blocks rather than a single fixed
   pipeline. Each card links straight to that module's page.
   ========================================================================== */
.usecase-flex {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 36px;
  padding: 16px 24px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.16);
}
.usecase-flex svg { width: 21px; height: 21px; color: rgb(var(--accent-rgb)); flex-shrink: 0; }
.usecase-flex p { font-size: 14px; color: var(--text-soft); text-align: left; }
.usecase-flex strong { color: var(--text); }

.usecase-list { display: flex; flex-direction: column; gap: 22px; max-width: 980px; margin: 0 auto; }
.usecase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  box-shadow: var(--shadow-sm);
}
.usecase-card__head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.usecase-card__num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}
.usecase-card__kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--violet);
  margin-bottom: 5px;
}
.usecase-card__head h2 { font-size: 21px; margin-top: 0; }
.usecase-card__trigger {
  font-size: 14px;
  color: var(--text-faint);
  margin: 0 0 22px;
}

/* ---- module card: colored per module (moduleTheme), bullets describe
   only what it does in *this* use case, click opens the module's page.
   Stacked as a vertical flow — each card is still fully self-contained,
   the connector just shows the order they fire in. ---- */
.usecase-mod-row {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
}
.usecase-mod {
  position: relative;
  display: block;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px 18px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.usecase-mod:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--tag-rgb), 0.4);
}
.usecase-flow-connector {
  display: flex;
  justify-content: center;
  padding: 4px 0;
  color: var(--text-faint);
}
.usecase-flow-connector svg { width: 15px; height: 15px; transform: rotate(90deg); }
.usecase-mod__head { display: flex; align-items: center; gap: 9px; }
.usecase-mod__mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(var(--tag-rgb), 0.12);
  color: rgb(var(--tag-rgb));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.usecase-mod__mark svg, .usecase-mod__mark img { width: 24px; height: 24px; }
.usecase-mod__name { font-weight: 800; font-size: 14.5px; color: var(--text); }
.usecase-mod__arrow { margin-left: auto; color: var(--text-faint); flex-shrink: 0; transition: transform .2s, color .2s; }
.usecase-mod__arrow svg { width: 12px; height: 12px; }
.usecase-mod:hover .usecase-mod__arrow { transform: translateX(3px); color: rgb(var(--tag-rgb)); }
.usecase-mod__points { list-style: none; margin: 12px 0 0; display: flex; flex-direction: column; gap: 7px; }
.usecase-mod__points li {
  position: relative;
  padding-left: 15px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-soft);
}
.usecase-mod__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgb(var(--tag-rgb));
}
@media (max-width: 700px) {
  .usecase-card { padding: 26px 22px; }
}

/* ==========================================================================
   Pricing tables (module page + shop)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.pricing-grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); max-width: 740px; margin: 0 auto; }
@media (max-width: 860px) { .pricing-grid, .pricing-grid[data-count="2"] { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}
.price-card.is-featured {
  border-color: transparent;
  background: #100b1e;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.price-card.is-featured .price-card__items li { color: rgba(244,244,251,0.82); }
.price-card.is-featured .price-card__desc { color: rgba(244,244,251,0.6); }
.price-card__badge {
  position: absolute;
  top: -13px; left: 30px;
  background: var(--accent-gradient);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-card__edition { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); }
.price-card.is-featured .price-card__edition { color: rgba(244,244,251,0.55); }
.price-card__price { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; }
.price-card__price .amount { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.price-card__price .period { font-size: 13.5px; color: var(--text-faint); font-weight: 600; }
.price-card.is-featured .price-card__price .period { color: rgba(244,244,251,0.55); }
.price-card__altprice { font-size: 12.5px; color: var(--text-faint); margin-top: 6px; min-height: 16px; }
.price-card.is-featured .price-card__altprice { color: rgba(244,244,251,0.5); }
.price-card__items { margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; flex-grow: 1; }
.price-card__items li { display: flex; gap: 10px; font-size: 14px; color: var(--text-soft); align-items: flex-start; }
.price-card__items li svg { width: 16px; height: 16px; color: rgb(var(--accent-rgb)); flex-shrink: 0; margin-top: 3px; }
.price-card.is-featured .price-card__items li svg { color: var(--accent-bright); }

/* ==========================================================================
   Shop
   ========================================================================== */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.edition-switch {
  display: inline-flex;
  padding: 5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  gap: 4px;
}
.edition-switch button {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .2s;
}
.edition-switch button.is-active { background: var(--gradient); color: #fff; box-shadow: var(--shadow-sm); }

.shop-group + .shop-group { margin-top: 64px; }
.shop-group__head { margin-bottom: 32px; }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .shop-grid { grid-template-columns: 1fr; } }

.shop-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.shop-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(109,10,217,0.18); }
.shop-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.shop-card__mark {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--gradient-soft);
  color: var(--violet);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(109,10,217,0.12);
}
.shop-card__mark svg, .shop-card__mark img { width: 34px; height: 34px; }
.shop-card h3 { font-size: 18px; margin: 14px 0 4px; }
.shop-card p.tagline { font-size: 13.5px; color: var(--text-soft); margin-bottom: 18px; flex-grow: 1; }
.shop-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-bottom: 14px;
}
.shop-card__price-row .amount { font-size: 21px; font-weight: 800; }
.shop-card__price-row .period { font-size: 12px; color: var(--text-faint); font-weight: 600; margin-left: 4px; }
.shop-card__price-row .unavailable { font-size: 13px; color: var(--text-faint); font-weight: 600; }
.shop-card__actions { display: flex; gap: 8px; }
.shop-card__actions .btn { flex: 1; }

.badge-included {
  font-size: 11px;
  font-weight: 700;
  color: var(--violet);
  background: rgba(109,10,217,0.08);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}

/* Bundles teaser */
.bundle-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: #100b1e;
  background-image: radial-gradient(circle at 10% 10%, rgba(109,10,217,0.5), transparent 40%), radial-gradient(circle at 90% 90%, rgba(17,215,249,0.35), transparent 45%);
  color: #fff;
  text-align: center;
}
.bundle-card h3 { font-size: 26px; margin-bottom: 12px; }
.bundle-card p { color: rgba(244,244,251,0.72); max-width: 520px; margin: 0 auto; font-size: 15.5px; }
.bundle-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
  text-align: left;
}
@media (max-width: 780px) { .bundle-examples { grid-template-columns: 1fr; } }
.bundle-example {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 18px;
}
.bundle-example .name { font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.bundle-example .desc { font-size: 13px; color: rgba(244,244,251,0.62); }

/* ==========================================================================
   Cart drawer
   ========================================================================== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(15, 10, 30, 0.45);
  backdrop-filter: blur(2px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--surface);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  box-shadow: -20px 0 60px rgba(20,10,50,0.15);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer__head h3 { font-size: 18px; }
.cart-drawer__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.cart-drawer__close svg { width: 15px; height: 15px; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-drawer__empty { text-align: center; padding: 60px 20px; color: var(--text-faint); }
.cart-drawer__empty svg { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--border-strong); }
.cart-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item__mark {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--gradient-soft);
  color: var(--violet);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__info .name { font-weight: 700; font-size: 14.5px; }
.cart-item__info .edition { font-size: 12.5px; color: var(--text-faint); }
.cart-item__bundle-tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--violet); background: rgba(109,10,217,0.08); padding: 2px 6px; border-radius: var(--radius-pill); vertical-align: middle; }
.cart-item__price { font-weight: 800; font-size: 14px; white-space: nowrap; text-align: right; }
.cart-item__price-original { display: block; font-weight: 600; font-size: 11.5px; color: var(--text-faint); text-decoration: line-through; }
.cart-item__remove {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  color: var(--text-faint);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.cart-item__remove svg { width: 11px; height: 11px; }
.cart-drawer__foot { padding: 20px 24px 26px; border-top: 1px solid var(--border); }
.cart-drawer__total { display: flex; justify-content: space-between; font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.cart-drawer__hint { font-size: 12.5px; color: var(--text-faint); margin-bottom: 16px; }
.cart-drawer__foot .btn { margin-bottom: 8px; }
.cart-drawer__foot .btn[disabled] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--text);
  color: #fff;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: all .3s var(--ease);
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: var(--cyan); }

/* ==========================================================================
   Generic content pages (about, legal)
   ========================================================================== */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 24px; margin-top: 44px; margin-bottom: 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-soft); margin-bottom: 16px; font-size: 15.5px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; color: var(--text-soft); font-size: 15.5px; }
.prose ul li { margin-bottom: 8px; }
.prose strong { color: var(--text); }

.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 700px) { .value-grid { grid-template-columns: 1fr; } }

.timeline { display: flex; flex-direction: column; gap: 0; max-width: 720px; margin: 0 auto; }
.timeline-item { display: flex; gap: 22px; padding-bottom: 36px; position: relative; }
.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px; top: 40px; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item__dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  box-shadow: var(--shadow-glow);
}
.timeline-item h3 { font-size: 16.5px; margin-bottom: 6px; }
.timeline-item p { color: var(--text-soft); font-size: 14.5px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { padding: 26px; }
.contact-card + .contact-card { margin-top: 16px; }
.contact-card__icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--gradient-soft);
  color: var(--violet);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.contact-card__icon svg { width: 19px; height: 19px; }
.contact-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: var(--text-soft); }
.contact-card a.value { font-weight: 700; color: var(--violet); font-size: 14.5px; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(109,10,217,0.12);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.text-soft { color: var(--text-soft); }
.text-faint { color: var(--text-faint); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Pure-CSS entrance for above-the-fold content: never depends on JS/scroll
   detection, so it can never get stuck invisible. */
.fade-in { animation: sbFadeIn .7s var(--ease) both; }
.fade-in--delay-1 { animation-delay: .08s; }
.fade-in--delay-2 { animation-delay: .16s; }
@keyframes sbFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 56px; }
}

/* ==========================================================================
   Bundle Finder — quiz + result
   ========================================================================== */
.quiz { max-width: 640px; margin: 0 auto; }

.quiz__progress { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.quiz__progress-bar { flex: 1; height: 6px; background: var(--bg-alt); border-radius: var(--radius-pill); overflow: hidden; }
.quiz__progress-bar span { display: block; height: 100%; background: var(--gradient); border-radius: inherit; transition: width .4s var(--ease); }
.quiz__progress-label { font-size: 12.5px; font-weight: 700; color: var(--text-faint); white-space: nowrap; }

.quiz-step__question { font-size: clamp(1.3rem, 2.8vw, 1.7rem); margin-bottom: 26px; letter-spacing: -0.01em; }

.quiz-tile-grid { display: flex; flex-direction: column; gap: 12px; }
.quiz-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all .18s var(--ease);
}
.quiz-tile:hover { border-color: var(--violet); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.quiz-tile__check {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  transition: all .18s;
}
.quiz-tile__check svg { width: 13px; height: 13px; }
.quiz-tile.is-selected { border-color: transparent; background: var(--gradient-soft); }
.quiz-tile.is-selected .quiz-tile__check { background: var(--gradient); border-color: transparent; color: #fff; }

.quiz__nav { margin-top: 28px; }

/* result cards */
.bundle-result-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.result-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: opacity .2s;
}
.result-card.is-excluded { opacity: .4; }
.result-card__mark {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.result-card__mark svg, .result-card__mark img { width: 34px; height: 34px; }
.result-card__body { flex: 1; min-width: 0; }
.result-card__name { font-weight: 700; font-size: 14.5px; }
.result-card__tag { font-size: 12.5px; color: var(--text-faint); margin-top: 2px; }
.result-card__price { text-align: right; white-space: nowrap; }
.result-card__price .original { font-size: 11.5px; color: var(--text-faint); text-decoration: line-through; }
.result-card__price .final { font-weight: 800; font-size: 14px; }
.result-card__toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.result-card__toggle svg { width: 13px; height: 13px; }
.result-card:not(.is-excluded) .result-card__toggle { background: var(--gradient); border-color: transparent; color: #fff; }

.bundle-summary {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.bundle-summary__row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 5px 0; color: var(--text-soft); }
.bundle-summary__row--discount { color: var(--violet); font-weight: 700; }
.bundle-summary__row--total {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 14px;
}

.quiz-result__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }

@media (max-width: 560px) {
  .result-card { flex-wrap: wrap; }
  .result-card__price { margin-left: 56px; text-align: left; }
}

/* ==========================================================================
   Story — scroll-pinned narrative sequence ("Core verändert alles")
   ========================================================================== */
.story { position: relative; background: var(--bg); }
.story__track { position: relative; height: 2800vh; }
.story__sticky {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden;
}
.story__inner {
  position: relative;
  width: 100%; height: 100%; max-width: 900px; margin: 0 auto; padding: 0 24px;
}

.story__stage {
  position: absolute; left: 50%; top: 44%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: min(460px, 76vw);
  height: min(460px, 42vh);
  perspective: 1400px;
}
.story__stage > [data-layer] { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; will-change: transform, opacity; }

/* ---- Layer: tile (Signage, 3D flip) ---- */
.story-tile { width: 100%; height: 100%; perspective: 1400px; }
.story-tile__inner {
  position: relative; width: 190px; height: 250px;
  transform-style: preserve-3d;
}
.story-tile__face {
  position: absolute; inset: 0;
  border-radius: 22px;
  backface-visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  box-shadow: var(--shadow-lg);
}
.story-tile__face--front { background: linear-gradient(150deg, #fff, var(--bg-alt)); border: 1px solid var(--border); }
.story-tile__face--front .story-tile__icon {
  width: 72px; height: 72px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-soft); color: var(--violet);
}
.story-tile__face--front .story-tile__icon svg, .story-tile__face--front .story-tile__icon img { width: 46px; height: 46px; }
.story-tile__label { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.story-tile__face--back {
  background: linear-gradient(150deg, #17141f, #241f33);
  color: #fff;
  transform: rotateY(180deg);
}
.story-tile__video {
  width: 100%; height: 100%; border-radius: 22px;
  background: radial-gradient(circle at 30% 20%, rgba(109,10,217,0.55), transparent 60%), radial-gradient(circle at 75% 80%, rgba(17,215,249,0.45), transparent 55%), #17141f;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.story-tile__play {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.story-tile__play svg { width: 22px; height: 22px; margin-left: 3px; }

/* ---- Layer: module grids (intro slideshow + outro grid) ---- */
.story-grid__track { display: grid; grid-template-columns: repeat(6, 78px); gap: 13px; }
.story-tile-mini {
  width: 78px; height: 78px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  box-shadow: var(--shadow-sm);
  transition: opacity .5s var(--ease), transform .5s var(--ease), filter .6s var(--ease), box-shadow .5s var(--ease);
}
.story-tile-mini__icon {
  width: 36px; height: 36px; color: rgb(var(--tile-rgb));
}
.story-tile-mini__icon svg, .story-tile-mini__icon img { width: 100%; height: 100%; }
.story-tile-mini__label { font-size: 10.5px; font-weight: 700; color: var(--text-soft); }
.story-tile-mini.is-pulled { transform: translateY(-44px) scale(1.24); box-shadow: var(--shadow-lg); z-index: 3; }
.story-tile-mini.is-faded { opacity: .14; filter: blur(1px); }
.story-tile-mini.is-gray { filter: grayscale(1); }
.story-tile-mini.is-gray .story-tile-mini__icon { color: var(--text-faint); }

/* ---- Layer: node / core hub ---- */
.story-node__stage { position: relative; width: 380px; height: 380px; }
.story-node__core {
  position: absolute; top: 50%; left: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-glow);
  display: flex; align-items: center; justify-content: center;
}
.story-node__core svg, .story-node__core img { width: 40px; height: 40px; }
.story-node__line {
  position: absolute; top: 50%; left: 50%; height: 2px;
  background: linear-gradient(90deg, rgba(23,23,29,0.16), rgba(23,23,29,0));
  transform-origin: 0 50%;
}
.story-node__packet {
  position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gradient);
  opacity: 0;
  animation: sbStoryPacket 2.6s ease-in-out infinite;
  animation-play-state: paused;
}
.story-node.is-communicating .story-node__packet { animation-play-state: running; }
.story-node:not(.is-communicating) .story-node__packet { opacity: 0 !important; }
@keyframes sbStoryPacket {
  0% { transform: translateX(0); opacity: 0; }
  14% { opacity: 1; }
  50% { transform: translateX(var(--len, 150px)); opacity: 1; }
  86% { opacity: 1; }
  100% { transform: translateX(0); opacity: 0; }
}
.story-node__spoke {
  position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-radius: 50%; background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
  color: rgb(var(--tile-rgb));
}
.story-node__spoke svg, .story-node__spoke img { width: 34px; height: 34px; }
.story-node__ring {
  position: absolute; inset: -34px; border-radius: 50%;
  border: 2px dashed rgba(var(--accent-rgb), 0.5);
  opacity: 0; will-change: transform, opacity;
}
.story-node__house { position: absolute; inset: -44px; opacity: 0; pointer-events: none; }
.story-node__house path {
  fill: none; stroke: var(--text); stroke-width: 5.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 600; stroke-dashoffset: 600;
}
.story-node__popups { position: absolute; inset: -10px; pointer-events: none; }
.story-node__popup {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md);
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
  opacity: 0; animation: sbStoryPopup 4.2s ease infinite; animation-play-state: paused;
}
.story-node__popup svg, .story-node__popup img { width: 20px; height: 20px; color: rgb(var(--tile-rgb)); }
.story-node__popups.is-active .story-node__popup { animation-play-state: running; }
.story-node__popups:not(.is-active) .story-node__popup { opacity: 0 !important; }
@keyframes sbStoryPopup {
  0% { opacity: 0; transform: scale(.65) translateY(8px); }
  14% { opacity: 1; transform: scale(1) translateY(0); }
  55% { opacity: 1; transform: scale(1) translateY(0); }
  75% { opacity: 0; transform: scale(.92) translateY(-6px); }
  100% { opacity: 0; }
}

/* ---- Layer: big text + logo ---- */
.story-bigtext {
  text-align: center; font-size: clamp(26px, 4.6vw, 50px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15; opacity: 0;
}
.story-logo { flex-direction: column; gap: 22px; text-align: center; opacity: 0; }
.story-logo img { width: 190px; margin: 0 auto; }
.story-logo p { max-width: 480px; color: var(--text-soft); font-size: 15px; }

/* ---- Caption / progress ---- */
.story__caption {
  position: absolute; left: 50%; bottom: 72px; transform: translateX(-50%);
  z-index: 5;
  width: 100%; max-width: 560px; padding: 0 24px;
  text-align: center; transition: opacity .22s ease;
}
.story__caption.is-fading { opacity: 0; }
.story__arrow { display: inline-flex; transform: rotate(-90deg); margin-bottom: 12px; color: var(--violet); }
.story__arrow svg { width: 34px; height: 34px; }
.story__arrow[hidden] { display: none; }
.story__caption p { font-size: clamp(18px, 2.6vw, 25px); font-weight: 700; letter-spacing: -0.01em; }
.story__cta { margin-top: 18px; }
.story__cta[hidden] { display: none; }
.story__progress { position: absolute; left: 0; right: 0; bottom: 22px; height: 3px; margin: 0 auto; width: min(320px, 70%); background: var(--border); border-radius: var(--radius-pill); overflow: hidden; z-index: 5; }
.story__progress span { display: block; height: 100%; width: 0%; background: var(--gradient); border-radius: inherit; }

/* ---- Fallback for narrow viewports / reduced motion: simple stacked list ---- */
.story-fallback { display: none; }
.story-fallback__step {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.story-fallback__step:last-child { border-bottom: none; }
.story-fallback__num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gradient-soft); color: var(--violet);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px;
}
.story-fallback__step p { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.story-fallback__step .btn { margin-top: 12px; }

@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .story__track { display: none; }
  .story-fallback { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .story-node__packet, .story-node__popup { animation: none !important; }
}
