:root {
  --accent: #0e9488;
  --accent-dark: #0b7a70;
  --accent-light: #3db8ac;
  --accent-soft: #e7f6f4;
  --bg: #f7faf9;
  --surface: #ffffff;
  --text: #142220;
  --muted: #5c6d69;
  --border: #e2ece9;
  --radius: 14px;
  --l1: #4f86c6;
  --l1-soft: #eaf1fa;
  --l2: #b8863e;
  --l2-soft: #f8f1e6;
  --l3: #a1548f;
  --l3-soft: #f6ecf4;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 1.5rem; }
.prose-wrap { max-width: 740px; margin: 0 auto; padding: 0 1.5rem; }

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
}

.brand img { width: 30px; height: 30px; }

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-left: 1px solid var(--border);
  padding-left: 0.6rem;
  margin-left: 0.1rem;
}

.nav-right { display: flex; align-items: center; gap: 0.7rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a.plain { text-decoration: none; color: var(--muted); }
.nav-links a.plain:hover { color: var(--accent-dark); }

.nav-search { position: relative; }
.nav-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}
.nav-search-trigger:hover { color: var(--accent-dark); border-color: var(--accent); }
.nav-search-trigger svg { width: 16px; height: 16px; }

.nav-search-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 360px;
  max-width: 90vw;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  padding: 0.9rem;
  z-index: 60;
}
.nav-search-panel.nav-search-open { display: block; }

.nav-search-input-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.nav-search-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.55rem 0.7rem;
  font-size: 0.92rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
}
.nav-search-input:focus { outline: none; border-color: var(--accent); }
.nav-search-close { border: none; background: none; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0.3rem; }

.nav-search-results { max-height: 360px; overflow-y: auto; display: flex; flex-direction: column; gap: 0.3rem; }
.nav-search-hint { color: var(--muted); font-size: 0.85rem; padding: 0.4rem 0.2rem; }
.nav-search-result {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem 0.6rem;
  border-radius: 7px;
  text-decoration: none !important;
  color: var(--text) !important;
}
.nav-search-result:hover { background: var(--accent-soft); }
.nav-search-result-tag { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-dark); font-weight: 700; }
.nav-search-result-title { font-weight: 700; font-size: 0.92rem; }
.nav-search-result-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }

@media (max-width: 640px) {
  .nav-search-panel { position: fixed; top: 62px; left: 0.8rem; right: 0.8rem; width: auto; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); }

.theme-toggle, .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--accent); color: var(--accent-dark); }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: inline-flex; }
[data-theme="dark"] .theme-toggle .icon-moon { display: inline-flex; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }

.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: inline-flex; }

/* Hero */

.hero { text-align: center; padding: 4.5rem 1.5rem 1rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid var(--accent-border-soft);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero h1 { font-size: 3.1rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.9rem; }
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 600px; margin: 0 auto; }
.hero .meta-line { margin-top: 1.6rem; font-size: 0.9rem; color: var(--muted); font-weight: 600; }

/* Hero diagram */

.hero-diagram {
  max-width: 620px;
  margin: 2.6rem auto 0.5rem;
}

/* Level / guide sections */

.level-section { padding: 2.6rem 1.5rem; max-width: 1040px; margin: 0 auto; }

.level-head { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 0.3rem; flex-wrap: wrap; }
.level-num { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; }
.level-head h2 { font-size: 1.6rem; margin: 0; }
.level-desc { color: var(--muted); margin: 0.3rem 0 1.4rem; font-size: 0.98rem; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }

.guide-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  text-decoration: none !important;
  color: var(--text) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.guide-card:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(14, 148, 136, 0.12); transform: translateY(-2px); }
.guide-card .arrow { color: var(--accent); font-weight: 700; }
.guide-card h3 { font-size: 1.08rem; margin: 0.3rem 0 0.4rem; }
.guide-card p { margin: 0 0 0.8rem; font-size: 0.92rem; color: var(--muted); line-height: 1.5; }

.featured-guide {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.2rem;
  text-decoration: none !important;
  color: var(--text) !important;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.featured-guide:hover { box-shadow: 0 8px 24px rgba(14, 148, 136, 0.14); transform: translateY(-2px); }
.featured-guide-tag {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}
.featured-guide-body { flex: 1; }
.featured-guide-body h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.featured-guide-body p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.featured-guide .arrow { color: var(--accent-dark); font-weight: 700; flex-shrink: 0; }

@media (max-width: 560px) {
  .featured-guide { flex-wrap: wrap; }
  .featured-guide .arrow { display: none; }
}

.card-meta { display: flex; gap: 0.5rem; align-items: center; font-size: 0.78rem; font-weight: 700; }
.pill { padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.01em; }
.pill-l1 { background: var(--l1-soft); color: var(--l1); }
.pill-l2 { background: var(--l2-soft); color: var(--l2); }
.pill-l3 { background: var(--l3-soft); color: var(--l3); }
.time-tag { color: var(--muted); font-weight: 600; }

/* Mid-page CTA */

.mid-cta { max-width: 1040px; margin: 1rem auto 2.6rem; padding: 0 1.5rem; }
.mid-cta-inner {
  background: linear-gradient(120deg, #0e1f1c, #123028);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  text-align: center;
  color: #eaf5f2;
}
.mid-cta-inner h3 { font-size: 1.5rem; margin: 0 0 0.5rem; }
.mid-cta-inner p { color: #b7cdc7; margin: 0 0 1.3rem; font-size: 1rem; }

/* Footer */

.site-footer { border-top: 1px solid var(--border); margin-top: 2rem; padding: 2.5rem 1.5rem 2rem; }
.footer-inner { max-width: 1040px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-links { display: flex; gap: 1.4rem; font-size: 0.88rem; font-weight: 600; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--accent-dark); }
.footer-disclaimer { max-width: 1040px; margin: 1.2rem auto 0; padding: 0 1.5rem; font-size: 0.78rem; color: var(--muted); opacity: 0.85; }

/* Article / guide pages */

.breadcrumb { max-width: 740px; margin: 2rem auto 0; padding: 0 1.5rem; font-size: 0.86rem; color: var(--muted); }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-dark); }

.article-header { max-width: 740px; margin: 0.8rem auto 0; padding: 0 1.5rem; }
.article-header h1 { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.01em; margin: 0.4rem 0 0.8rem; }
.article-meta { display: flex; gap: 0.6rem; align-items: center; margin-bottom: 1.6rem; flex-wrap: wrap; }

article.prose { max-width: 740px; margin: 0 auto; padding: 0 1.5rem 2rem; font-size: 1.05rem; }
article.prose h2 { font-size: 1.45rem; margin: 2.2rem 0 0.8rem; letter-spacing: -0.01em; }
article.prose h3 { font-size: 1.18rem; margin: 1.6rem 0 0.6rem; }
article.prose p { margin: 0 0 1.1rem; color: var(--text); opacity: 0.92; }
article.prose ul, article.prose ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
article.prose li { margin-bottom: 0.5rem; color: var(--text); opacity: 0.92; }
article.prose strong { color: var(--text); }
article.prose code {
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.88em;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}
article.prose pre {
  background: #0e1f1c;
  color: #d8f3ee;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 0 0 1.3rem;
  font-size: 0.86rem;
  line-height: 1.55;
}
article.prose pre code { background: none; color: inherit; padding: 0; font-size: 1em; }

.callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.3rem;
  margin: 1.4rem 0;
  font-size: 0.98rem;
}
.callout strong { color: var(--accent-dark); }

.callout-warn {
  background: rgba(184, 134, 62, 0.1);
  border-left-color: var(--l2);
}
.callout-warn strong { color: var(--l2); }

.dek { font-size: 1.1rem; line-height: 1.55; color: var(--muted); margin: 0.4rem 0 0; }

.end-cta { max-width: 740px; margin: 2.4rem auto 0; padding: 0 1.5rem; }
.end-cta-inner {
  background: linear-gradient(120deg, #0e1f1c, #123028);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
  color: #eaf5f2;
}
.end-cta-inner h3 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.end-cta-inner p { color: #b7cdc7; margin: 0 0 1.2rem; }

.guide-nav {
  max-width: 740px;
  margin: 2.4rem auto 0;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.6rem;
}
.guide-nav a { text-decoration: none; color: var(--text); font-weight: 700; font-size: 0.95rem; max-width: 45%; }
.guide-nav .dir { display: block; font-size: 0.76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.2rem; }
.guide-nav .next { text-align: right; margin-left: auto; }

@media (max-width: 640px) {
  .hero h1 { font-size: 2.1rem; }
  .article-header h1 { font-size: 1.75rem; }
  .nav-links { gap: 0.8rem; }
  .brand-sub { display: none; }
}

@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
  .guide-nav { flex-direction: column; gap: 1.2rem; }
  .guide-nav a, .guide-nav .next { max-width: 100%; text-align: left; margin-left: 0; }
}

/* ---------- Share buttons ---------- */

.share-row { display: flex; align-items: center; justify-content: center; gap: 0.6rem; flex-wrap: wrap; margin: 1.8rem 0; text-align: center; }
.share-label { font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-right: 0.2rem; }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  text-decoration: none !important;
  position: relative;
}
.share-btn:hover { color: var(--accent-dark); border-color: var(--accent); }
.share-btn svg { width: 16px; height: 16px; }
.share-btn.share-copied::after {
  content: "Copied!";
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  white-space: nowrap;
}

/* ---------- Feedback widget ---------- */

.feedback-widget {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.feedback-widget p { margin: 0 0 0.7rem; font-size: 0.92rem; font-weight: 600; color: var(--text); }
.feedback-buttons { display: flex; gap: 0.6rem; justify-content: center; }
.feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.feedback-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.feedback-btn svg { width: 15px; height: 15px; }
.feedback-widget.feedback-answered .feedback-buttons { display: none; }
.feedback-thanks { display: none; font-size: 0.9rem; color: var(--muted); }
.feedback-widget.feedback-answered .feedback-thanks { display: block; }

/* ---------- Dark mode ---------- */

:root {
  --nav-bg: rgba(247, 250, 249, 0.9);
  --accent-border-soft: #cdece7;
}

[data-theme="dark"] {
  --accent: #3db8ac;
  --accent-dark: #0e9488;
  --accent-light: #6fd0c5;
  --accent-soft: rgba(61, 184, 172, 0.14);
  --accent-border-soft: rgba(61, 184, 172, 0.35);
  --bg: #0f1715;
  --surface: #16201d;
  --text: #eaf3f1;
  --muted: #92a29e;
  --border: #263230;
  --nav-bg: rgba(15, 23, 21, 0.88);
  --l1: #7fb0e8; --l1-soft: rgba(127, 176, 232, 0.14);
  --l2: #d9ab5f; --l2-soft: rgba(217, 171, 95, 0.14);
  --l3: #d488c0; --l3-soft: rgba(212, 136, 192, 0.14);
}

body { transition: background-color 0.2s ease, color 0.2s ease; }
.nav, .guide-card, .site-footer, .callout, .hero-badge { transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.nav { background: var(--nav-bg); }
.hero-badge { border-color: var(--accent-border-soft); }

/* ---------- Mobile nav dropdown ---------- */

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    overflow-y: auto;
    transition: max-height 0.25s ease;
  }
  .nav-links.nav-open { max-height: min(80vh, 560px); }
  .nav-links a.plain, .nav-links a.btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    margin: 0;
    padding: 0.95rem 1.5rem;
  }
  .nav-links a.plain { border-bottom: 1px solid var(--border); }
  .nav-links a.btn { justify-content: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .footer-links { flex-wrap: wrap; gap: 0.9rem 1.3rem; }
}

/* ---------- Email capture ---------- */

.email-capture { max-width: 640px; margin: 2.4rem auto; padding: 0 1.5rem; }
.email-capture-inner {
  text-align: center;
  background: linear-gradient(120deg, var(--accent-soft), transparent 70%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}
.email-capture-title { font-size: 1.2rem; font-weight: 800; margin: 0 0 0.5rem; }
.email-capture-text { color: var(--muted); font-size: 0.92rem; line-height: 1.55; margin: 0 0 1.3rem; }
.email-capture-form { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.email-capture-input {
  flex: 1;
  min-width: 220px;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}
.email-capture-input:focus { outline: none; border-color: var(--accent); }
.email-capture-button {
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  white-space: nowrap;
  font-family: inherit;
}
.email-capture-button:hover { background: var(--accent-dark); }
.email-capture-button:disabled { opacity: 0.6; cursor: not-allowed; }
.email-capture-note { margin-top: 0.9rem; font-size: 0.78rem; color: var(--muted); }
.email-capture-status { margin-top: 0.9rem; font-size: 0.85rem; font-weight: 600; }
.email-capture-status a { color: inherit; text-decoration: underline; }
.email-capture-status-success { color: #22c55e; }
.email-capture-status-error { color: #ef4444; }

@media (max-width: 420px) {
  .email-capture-form { flex-direction: column; }
  .email-capture-input { min-width: 0; width: 100%; }
  .email-capture-button { width: 100%; justify-content: center; }
}

/* ================================================================
   Animated flow diagrams — hand-built SVG components used across the
   homepage hero and each guide's explainer diagram. No JS, no canvas:
   nodes pulse with CSS keyframes, edges "flow" via a dashed stroke
   animation, and a small packet dot travels each edge using SMIL
   animateMotion + mpath (works regardless of exact path geometry).
   ================================================================ */

.lg-diagram-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.2rem;
  margin: 1.8rem 0;
}

.lg-diagram-caption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

.lg-diagram { width: 100%; height: auto; display: block; }

.lg-edge {
  fill: none;
  stroke: var(--border);
  stroke-width: 2;
}

.lg-edge-flow {
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 2;
  stroke-dasharray: 7 6;
  animation: lg-flow 1.1s linear infinite;
}

.lg-edge-dashed {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.6;
  stroke-dasharray: 4 5;
  opacity: 0.7;
}

@keyframes lg-flow {
  to { stroke-dashoffset: -26; }
}

.lg-node-shell {
  fill: var(--surface);
  stroke: var(--accent);
  stroke-width: 2;
}

.lg-node-shell-muted {
  fill: var(--surface);
  stroke: var(--border);
  stroke-width: 2;
}

.lg-node-fill { fill: var(--accent-soft); }

.lg-node-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  fill: var(--text);
  text-anchor: middle;
}

.lg-node-sublabel {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  fill: var(--muted);
  text-anchor: middle;
}

.lg-edge-label {
  font-family: 'Inter', sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  fill: var(--muted);
  text-anchor: middle;
}

.lg-pulse {
  animation: lg-pulse-anim 2.6s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes lg-pulse-anim {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.lg-dot { fill: var(--accent); }
.lg-dot-alt { fill: var(--l2); }

/* Static fallback for browsers/contexts without SMIL support - the dot
   still reads fine sitting at its start position. */
.lg-diagram circle.lg-dot,
.lg-diagram circle.lg-dot-alt { opacity: 0.9; }

@media (prefers-reduced-motion: reduce) {
  .lg-edge-flow { animation: none; stroke-dasharray: none; }
  .lg-pulse { animation: none; }
  .lg-diagram animateMotion { display: none; }
}
