/* FlowBatch website — design system
   Light-first, editorial, quiet. One indigo accent, hairline borders, soft shadows.
   Dark theme mirrors the extension's deep-navy panel. No neon, no decoration for its own sake. */

/* ------------------------------------------------------------------ tokens */
:root {
  --bg: #f6f7fb;
  --bg-soft: #eef1f8;
  --surface: #ffffff;
  --surface-2: #f8f9fd;
  --line: rgba(17, 22, 44, 0.09);
  --line-strong: rgba(17, 22, 44, 0.16);
  --text: #11162c;
  --text-soft: #414a68;
  --muted: #6b7490;
  --faint: #9aa1b8;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: rgba(79, 70, 229, 0.08);
  --accent-line: rgba(79, 70, 229, 0.22);
  --on-accent: #ffffff;
  --ok: #15803d;
  --ok-soft: rgba(21, 128, 61, 0.10);
  --warn: #b45309;
  --warn-soft: rgba(180, 83, 9, 0.10);
  --shadow-sm: 0 1px 2px rgba(17, 22, 44, 0.05);
  --shadow: 0 1px 2px rgba(17, 22, 44, 0.05), 0 6px 20px rgba(17, 22, 44, 0.06);
  --shadow-lg: 0 24px 60px rgba(17, 22, 44, 0.14);
  --frame-bg: #0b0f1d;
  --frame-bar: rgba(255, 255, 255, 0.05);
  --frame-line: rgba(255, 255, 255, 0.10);
  --frame-text: #7b849f;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --container: 1120px;
  --narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
html[data-theme="dark"] {
  --bg: #080b16;
  --bg-soft: #0c1020;
  --surface: #11162a;
  --surface-2: #151b32;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1fa;
  --text-soft: #b9c0d6;
  --muted: #8f98b4;
  --faint: #6b748f;
  --accent: #8aa9ff;
  --accent-hover: #a5bdff;
  --accent-soft: rgba(138, 169, 255, 0.12);
  --accent-line: rgba(138, 169, 255, 0.28);
  --on-accent: #0a1020;
  --ok: #4ade80;
  --ok-soft: rgba(74, 222, 128, 0.12);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);
  --frame-bg: #0b0f1d;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ------------------------------------------------------------------ type */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem); letter-spacing: -0.015em; }
h4 { font-size: 1.0625rem; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.3rem); line-height: 1.6; color: var(--text-soft); }
.muted { color: var(--muted); }
.small { font-size: 0.9375rem; }
.tiny { font-size: 0.8125rem; }
.mono { font-family: var(--mono); font-size: 0.875em; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 1.25rem; height: 1px; background: var(--accent-line); }
.eyebrow.plain::before { display: none; }

/* ------------------------------------------------------------------ layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--narrow); }
section { padding-block: clamp(3.5rem, 2rem + 7vw, 7rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.25rem); }
.section-head h2 { margin-top: 0.85rem; }
.section-head p { margin-top: 0.9rem; }
.band { background: var(--bg-soft); border-block: 1px solid var(--line); }
.stack > * + * { margin-top: 1rem; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 1rem; height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; font-weight: 800; letter-spacing: -0.02em; font-size: 1.0625rem; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav-links a {
  padding: 0.5rem 0.75rem; border-radius: var(--r-sm); font-size: 0.9375rem; font-weight: 500; color: var(--text-soft);
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.5rem; }
.nav-toggle { display: none; }

/* theme switch */
.theme-btn {
  width: 2.25rem; height: 2.25rem; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted);
  cursor: pointer; transition: color 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.theme-btn:hover { color: var(--text); border-color: var(--line-strong); }
.theme-btn svg { width: 17px; height: 17px; }
.theme-btn .i-sun { display: none; }
html[data-theme="dark"] .theme-btn .i-sun { display: block; }
html[data-theme="dark"] .theme-btn .i-moon { display: none; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.15rem; border-radius: 999px; border: 1px solid transparent;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-1px); }
.btn-quiet { background: transparent; color: var(--text-soft); padding-inline: 0.5rem; }
.btn-quiet:hover { color: var(--text); }
.btn-lg { padding: 0.95rem 1.5rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.875rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--accent); font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.15s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ chips / badges */
.chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: -0.005em;
}
.chip .dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }
.chip.neutral { background: var(--surface-2); border-color: var(--line); color: var(--muted); }
.chip.ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }

/* ------------------------------------------------------------------ hero */
.hero { padding-top: clamp(2.5rem, 1.5rem + 5vw, 5rem); padding-bottom: 0; }
.hero-inner { max-width: 46rem; }
.hero h1 { margin-top: 1.25rem; }
.hero .lead { margin-top: 1.25rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; align-items: center; }
.hero-note { margin-top: 1rem; font-size: 0.875rem; color: var(--muted); }
.hero-media { margin-top: clamp(2.5rem, 1.5rem + 4vw, 4rem); position: relative; }
.hero-media::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 45%;
  background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none;
}
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 1.75rem;
  font-size: 0.875rem; color: var(--muted);
}
.hero-facts span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-facts svg { width: 15px; height: 15px; color: var(--ok); flex: none; }

/* ------------------------------------------------------------------ screenshot frame */
.frame {
  border-radius: var(--r-lg); overflow: hidden; background: var(--frame-bg);
  border: 1px solid var(--frame-line); box-shadow: var(--shadow-lg);
}
.frame-bar {
  display: flex; align-items: center; gap: 0.4rem; height: 2.25rem; padding-inline: 0.9rem;
  background: var(--frame-bar); border-bottom: 1px solid var(--frame-line);
}
.frame-bar i { width: 10px; height: 10px; border-radius: 999px; background: #3a4258; }
.frame-bar i:nth-child(1) { background: #f05c54; } .frame-bar i:nth-child(2) { background: #f0b429; } .frame-bar i:nth-child(3) { background: #33c05d; }
.frame-bar span { margin-left: 0.6rem; font-size: 0.75rem; color: var(--frame-text); letter-spacing: -0.005em; }
.frame-body { position: relative; overflow: hidden; }
.frame-body img { width: 100%; }
.frame.crop-top .frame-body { max-height: 30rem; }
.frame.crop-sm .frame-body { max-height: 20rem; }
.frame.crop-top .frame-body img, .frame.crop-sm .frame-body img { object-fit: cover; object-position: top center; }

/* ------------------------------------------------------------------ compare */
.compare { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.compare-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1vw, 1.9rem); box-shadow: var(--shadow-sm); }
.compare-card.is-good { border-color: var(--accent-line); box-shadow: var(--shadow); }
.compare-card h3 { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.compare-list { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.compare-list li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--text-soft); font-size: 0.9375rem; }
.compare-list svg { width: 18px; height: 18px; flex: none; margin-top: 0.15rem; }
.compare-card.is-bad svg { color: var(--faint); }
.compare-card.is-good svg { color: var(--ok); }

/* ------------------------------------------------------------------ steps */
.steps { display: grid; gap: clamp(1rem, 0.5rem + 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.step-n {
  width: 2rem; height: 2rem; border-radius: 999px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: 0.875rem; font-weight: 700;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.0625rem; }
.step p { margin-top: 0.5rem; color: var(--text-soft); font-size: 0.9375rem; }

/* ------------------------------------------------------------------ feature rows */
.feature { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); align-items: center; }
.feature + .feature { margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1.15fr; }
  .feature.flip .feature-text { order: 2; }
  .feature.flip .feature-media { order: 1; }
}
.feature-text h3 { margin-top: 0.8rem; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); letter-spacing: -0.025em; }
.feature-text p { margin-top: 0.9rem; color: var(--text-soft); }
.feature-points { list-style: none; padding: 0; margin-top: 1.25rem; display: grid; gap: 0.6rem; }
.feature-points li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9375rem; color: var(--text-soft); }
.feature-points svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 0.18rem; }

/* ------------------------------------------------------------------ cards grid */
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-soft); font-size: 0.9375rem; }
.card-icon { width: 2.25rem; height: 2.25rem; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 1rem; }
.card-icon svg { width: 18px; height: 18px; }
a.card { transition: border-color 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease); }
a.card:hover { border-color: var(--accent-line); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ------------------------------------------------------------------ pricing */
.price-wrap { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); align-items: start; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); box-shadow: var(--shadow-sm); }
.price-card.featured { border-color: var(--accent-line); box-shadow: var(--shadow); position: relative; }
.price-amount { display: flex; align-items: baseline; gap: 0.4rem; margin-block: 1rem 0.25rem; }
.price-amount b { font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-amount span { color: var(--muted); font-size: 0.9375rem; }
.price-list { list-style: none; padding: 0; margin-top: 1.25rem; display: grid; gap: 0.65rem; }
.price-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9375rem; color: var(--text-soft); }
.price-list svg { width: 17px; height: 17px; color: var(--ok); flex: none; margin-top: 0.18rem; }
.price-foot { margin-top: 1.5rem; }

/* ------------------------------------------------------------------ accordion */
.faq { display: grid; gap: 0.6rem; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.25rem; cursor: pointer; font-weight: 600; letter-spacing: -0.012em; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s var(--ease);
}
.qa[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.qa summary:hover { background: var(--surface-2); }
.qa-body { padding: 0 1.25rem 1.25rem; color: var(--text-soft); font-size: 0.9375rem; }
.qa-body p + p { margin-top: 0.75rem; }

/* ------------------------------------------------------------------ callout */
.callout {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1rem 1.15rem; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--surface-2); font-size: 0.9375rem; color: var(--text-soft);
}
.callout svg { width: 18px; height: 18px; flex: none; margin-top: 0.15rem; color: var(--accent); }
.callout.warn { background: var(--warn-soft); border-color: transparent; }
.callout.warn svg { color: var(--warn); }
.callout b { color: var(--text); }

/* ------------------------------------------------------------------ prompt block */
.promptbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.promptbox header { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.promptbox header span { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.promptbox pre { margin: 0; padding: 0.9rem; font-family: var(--mono); font-size: 0.8125rem; line-height: 1.8; color: var(--text-soft); overflow-x: auto; }
.copy-btn { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.25rem 0.7rem; font-size: 0.75rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.copy-btn:hover { color: var(--text); border-color: var(--line-strong); }

/* ------------------------------------------------------------------ cta band */
.cta-band { text-align: center; }
.cta-band .container { display: grid; justify-items: center; gap: 1.25rem; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { max-width: 44ch; color: var(--text-soft); }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem 2.5rem; background: var(--bg-soft); }
.footer-top { display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: space-between; }
.footer-brand { max-width: 22rem; }
.footer-brand p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 2rem 3.5rem; }
.footer-col h4 { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.75rem; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.footer-col a { font-size: 0.9375rem; color: var(--text-soft); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; font-size: 0.8125rem; color: var(--muted); }

/* ------------------------------------------------------------------ guide page */
.guide-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.guide-layout { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; padding-bottom: clamp(3rem, 2rem + 5vw, 6rem); }
@media (min-width: 950px) { .guide-layout { grid-template-columns: 15rem 1fr; } }
.toc { position: sticky; top: 5.5rem; max-height: calc(100vh - 7rem); overflow-y: auto; }
.toc h4 { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.75rem; }
.toc ol { list-style: none; padding: 0; display: grid; gap: 0.1rem; counter-reset: toc; }
.toc a {
  display: block; padding: 0.4rem 0.7rem; border-radius: var(--r-sm); font-size: 0.875rem; color: var(--muted);
  border-left: 2px solid transparent; transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.toc a:hover { color: var(--text); background: var(--surface-2); }
.toc a.is-active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
@media (max-width: 949px) {
  .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 1rem; }
  .toc ol { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); display: grid; }
}
.guide-section { scroll-margin-top: 5.5rem; }
.guide-section + .guide-section { margin-top: clamp(3rem, 2rem + 4vw, 4.5rem); padding-top: clamp(2rem, 1rem + 3vw, 3rem); border-top: 1px solid var(--line); }
.guide-section > h2 { display: flex; align-items: baseline; gap: 0.75rem; }
.guide-section > h2 .num { font-family: var(--mono); font-size: 0.9rem; color: var(--accent); font-weight: 700; }
.guide-section > p.lead { margin-top: 0.75rem; font-size: 1.0625rem; }
.steplist { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 1.75rem; counter-reset: s; }
.steplist > li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.5rem 1rem; align-items: start; }
.steplist > li::before {
  counter-increment: s; content: counter(s);
  width: 2rem; height: 2rem; border-radius: 999px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-family: var(--mono); font-size: 0.8125rem; font-weight: 700;
}
.steplist h3 { font-size: 1.0625rem; align-self: center; }
.steplist .step-body { grid-column: 2; }
.steplist .step-body > * + * { margin-top: 0.75rem; }
.steplist p { color: var(--text-soft); font-size: 0.9375rem; }
.shot { margin-top: 1rem; }
.shot figcaption { margin-top: 0.6rem; font-size: 0.8125rem; color: var(--muted); }
.guide-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 0.9375rem; }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.guide-table th { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.guide-table td:first-child { font-weight: 600; color: var(--text); width: 30%; }
.guide-table td { color: var(--text-soft); }
@media (max-width: 720px) {
  .guide-table, .guide-table tbody, .guide-table tr, .guide-table td { display: block; width: 100%; }
  .guide-table thead { display: none; }
  .guide-table tr { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 0.75rem; padding: 0.5rem; background: var(--surface); }
  .guide-table td { border: none; padding: 0.35rem 0.6rem; }
  .guide-table td:first-child { width: auto; font-size: 1rem; }
}

/* ------------------------------------------------------------------ mobile nav */
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 4.25rem 0 auto 0; flex-direction: column; align-items: stretch; gap: 0.15rem;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.75rem var(--gutter) 1.25rem;
    transform: translateY(-120%); transition: transform 0.25s var(--ease); box-shadow: var(--shadow);
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a { padding: 0.7rem 0.5rem; font-size: 1rem; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn-primary { display: none; }
  .nav-links .btn-primary { display: inline-flex; margin-top: 0.5rem; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem;
    border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; color: var(--text);
  }
  .nav-toggle svg { width: 18px; height: 18px; }
  .nav-toggle .i-close { display: none; }
  .nav-toggle[aria-expanded="true"] .i-close { display: block; }
  .nav-toggle[aria-expanded="true"] .i-menu { display: none; }
}
@media (min-width: 861px) { .nav-links .btn-primary { display: none; } }

/* ------------------------------------------------------------------ misc */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 0.5rem; top: -3rem; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 0.6rem 1rem; border-radius: var(--r-sm); transition: top 0.15s var(--ease); }
.skip-link:focus { top: 0.5rem; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
