/* ============================================================
   RESILIO — layout & components. Mobile-first.
   Breakpoints: 375 base · 768 · 1024 · 1440.
   All colour/type/radius/shadow via tokens.css custom properties.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
a { color: var(--primary); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; border-radius: var(--radius-s); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1440px) { .container { max-width: 1280px; } }

section[data-section] { padding: 56px 0; }
@media (min-width: 768px) { section[data-section] { padding: 80px 0; } }
@media (min-width: 1024px) { section[data-section] { padding: 96px 0; } }

.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.h2 { font-size: clamp(26px, 4.6vw, 40px); font-weight: 700; letter-spacing: -.01em; }
.section-head { max-width: 720px; margin-bottom: 36px; }
@media (min-width: 1024px) { .section-head { margin-bottom: 48px; } }
.section-lede { font-size: 17px; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Buttons (touch targets ≥ 44px) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--radius); border: none; cursor: pointer;
  font-size: 16px; font-weight: 600; text-decoration: none; text-align: center;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--cta); color: var(--cta-ink);
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 6px 18px var(--cta-ring);
}
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: 16px 32px; font-size: 17px; }
.btn-ghost {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--border-strong); font-weight: 600;
}
.btn-ghost:hover { border-color: var(--primary); }
[data-theme="dark"] .btn-ghost { color: var(--ink); }
.link-secondary {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink-soft); font-size: 15px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px;
}
.link-secondary:hover { color: var(--ink); }
.micro { font-size: 13px; color: var(--ink-faint); }

/* ---------- S0 NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg-alt) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color .25s ease, box-shadow .25s ease;
}
/* Condensed state (toggled from JS once the hero scrolls away): more opaque,
   tighter, with a drop shadow — the "lifted off the page" reading cue. */
.nav.scrolled {
  background: color-mix(in srgb, var(--bg-alt) 97%, transparent);
  box-shadow: 0 6px 22px rgba(21, 53, 94, .10);
}
.nav-inner { display: flex; align-items: center; gap: 16px; min-height: 60px; transition: min-height .25s ease; }
.nav.scrolled .nav-inner { min-height: 52px; }
@media (prefers-reduced-motion: reduce) {
  .nav, .nav-inner { transition: none; }
}
.nav-logo { display: flex; align-items: baseline; gap: 8px; text-decoration: none; margin-right: auto; }
.nav-logo .mark { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.nav-logo .tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); display: none; }
@media (min-width: 768px) { .nav-logo .tag { display: inline; } }
.nav-links { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500;
  border-radius: var(--radius-s);
}
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
/* "For consultants" — a prominent, deliberate menu entry (partner channel).
   primary-tint pill + primary ink keeps it WCAG-safe (amber --cta as small
   nav text would fail contrast on the light bar). */
.nav-links a.nav-link-partner { color: var(--primary); font-weight: 600; background: var(--primary-tint); }
.nav-links a.nav-link-partner:hover { color: var(--primary-ink); background: var(--primary); }
[data-theme="dark"] .nav-links a.nav-link-partner { color: var(--ink); }
/* Scroll-spy: the link whose section is at the top gets an amber underline
   (inset bottom shadow) + primary ink — distinct from the grey hover state. */
.nav-links a.active { color: var(--primary); box-shadow: inset 0 -2px 0 var(--cta); border-radius: var(--radius-s) var(--radius-s) 0 0; }
[data-theme="dark"] .nav-links a.active { color: var(--ink); }
.nav .btn { min-height: 44px; padding: 8px 18px; font-size: 15px; }
/* Spec 2.1: on mobile the assessment CTA is ALWAYS visible outside the
   hamburger menu; the variant-driven demo CTA shows on desktop only. */
.nav-cta-desktop { display: none; }
.nav-cta-mobile { display: inline-flex; }
@media (min-width: 1024px) {
  .nav-cta-desktop { display: inline-flex; }
  .nav-cta-mobile { display: none; }
}
.nav-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-s); background: transparent; color: var(--ink); cursor: pointer;
}
@media (min-width: 1024px) { .nav-burger { display: none; } }
.nav-mobile {
  display: none; flex-direction: column; gap: 2px; padding: 12px 20px 20px;
  border-top: 1px solid var(--border); background: var(--bg-alt);
}
.nav-mobile.open { display: flex; }
@media (min-width: 1024px) { .nav-mobile.open { display: none; } }
.nav-mobile a {
  display: flex; align-items: center; min-height: 48px; padding: 0 8px;
  color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 500;
  border-radius: var(--radius-s);
}
.nav-mobile a:hover { background: var(--surface-2); }

/* ---------- S1 HERO ---------- */
[data-section="hero"] { padding-top: 48px; background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 11fr 10fr; gap: 56px; } }
.hero-h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 700; letter-spacing: -.02em; }
.hero-sub { font-size: 17px; color: var(--ink-soft); margin-top: 20px; max-width: 560px; }
.hero-sub em { font-style: italic; color: var(--ink); }
.hero-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
@media (min-width: 768px) { .hero-ctas { flex-direction: row; align-items: center; gap: 24px; } }
.hero-micro { margin-top: 12px; }
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--ink-faint);
}
.trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.trust-strip svg { flex: none; color: var(--ok); }

/* ---------- Product mock (realistic UI screenshot, CSS-built) ---------- */
.mock {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; font-size: 11px;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.mock-bar .mock-url { margin-left: 10px; font-size: 10px; color: var(--ink-faint); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 2px 12px; }
.mock-body { display: grid; grid-template-columns: 132px 1fr; min-height: 320px; }
@media (max-width: 479px) { .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; } }
.mock-side { border-right: 1px solid var(--border); padding: 12px 0; background: var(--bg); }
.mock-side .item { display: flex; align-items: center; gap: 8px; padding: 7px 14px; color: var(--ink-soft); }
.mock-side .item.active { color: var(--primary); font-weight: 700; background: var(--primary-tint); border-right: 2px solid var(--primary); }
[data-theme="dark"] .mock-side .item.active { color: var(--ink); }
.mock-side .dot { width: 6px; height: 6px; border-radius: 2px; background: currentColor; opacity: .5; }
.mock-main { padding: 14px 16px; }
.mock-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mock-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; }
.mock-chip { font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-pill); background: var(--ok-bg); color: var(--ok); white-space: nowrap; }
.mock-table { width: 100%; border-collapse: collapse; }
.mock-table th { text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); padding: 5px 8px; border-bottom: 1px solid var(--border); font-weight: 600; }
.mock-table td { padding: 7px 8px; border-bottom: 1px solid var(--border); color: var(--ink-soft); white-space: nowrap; }
.mock-table td:first-child { color: var(--ink); font-weight: 600; white-space: normal; }
.score { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; padding: 2px 7px; border-radius: var(--radius-pill); font-weight: 700; font-size: 10px; }
.score.high { background: var(--bad-bg); color: var(--bad); }
.score.med { background: var(--warn-bg); color: var(--warn); }
.score.low { background: var(--ok-bg); color: var(--ok); }
.mock-foot { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--ink-faint); font-size: 9.5px; }
.mock-foot .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* ---------- S2 PROBLEM ---------- */
[data-section="problem"] { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem-prose { max-width: 680px; display: grid; gap: 20px; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.problem-prose strong { color: var(--ink); }
.pain-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pain-grid { grid-template-columns: repeat(4, 1fr); } }
.pain-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.pain-card .icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); background: var(--bad-bg); color: var(--bad); margin-bottom: 14px; }
.pain-card h3 { font-size: 17px; margin-bottom: 6px; }
.pain-card p { font-size: 14.5px; color: var(--ink-soft); }
.pain-punchline { max-width: 680px; margin-top: 28px; font-size: 17px; color: var(--ink-soft); }
.checklist { max-width: 680px; display: grid; gap: 10px; }
.check-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 18px; font-size: 15.5px; font-weight: 500;
}
.check-row .yn { display: flex; gap: 8px; flex: none; }
.check-row .yn button {
  min-width: 52px; min-height: 44px; border-radius: var(--radius-s); cursor: pointer;
  border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--ink-soft); font-weight: 600; font-size: 13px;
}
.check-row .yn button[aria-pressed="true"].yes { background: var(--ok-bg); color: var(--ok); border-color: var(--ok); }
.check-row .yn button[aria-pressed="true"].no { background: var(--bad-bg); color: var(--bad); border-color: var(--bad); }
.check-verdict { margin-top: 20px; display: none; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 680px; background: var(--warn-bg); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); border-radius: var(--radius); padding: 16px 20px; font-size: 15px; color: var(--ink); }
.check-verdict.show { display: flex; }

/* ---------- S3 OUTCOME ---------- */
.outcome-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .outcome-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.outcome-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-s); }
.outcome-card .icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); background: var(--primary-tint); color: var(--primary); margin-bottom: 16px; }
[data-theme="dark"] .outcome-card .icon { color: var(--ink); }
.outcome-card h3 { font-size: 19px; margin-bottom: 8px; }
.outcome-card p { font-size: 15px; color: var(--ink-soft); }
.ba-table { width: 100%; max-width: 880px; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-s); }
.ba-table th { font-family: var(--font-head); font-size: 15px; text-align: left; padding: 16px 20px; border-bottom: 2px solid var(--border-strong); }
.ba-table th.before { color: var(--bad); }
.ba-table th.after { color: var(--ok); }
.ba-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--ink-soft); vertical-align: top; width: 50%; }
.ba-table tr:last-child td { border-bottom: none; }
.ba-table td.after-cell { color: var(--ink); font-weight: 500; }
@media (max-width: 767px) {
  .ba-table, .ba-table thead, .ba-table tbody, .ba-table tr, .ba-table th, .ba-table td { display: block; width: 100%; }
  .ba-table thead { display: none; }
  .ba-table td::before { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
  .ba-table td.before-cell::before { content: attr(data-label); color: var(--bad); }
  .ba-table td.after-cell::before { content: attr(data-label); color: var(--ok); }
}

/* ---------- S4 HOW IT WORKS ---------- */
[data-section="how"] { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: 1fr; gap: 0; position: relative; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps-4 { grid-template-columns: repeat(4, 1fr); gap: 48px 24px; }
}
.step { position: relative; min-width: 0; padding: 0 0 32px 56px; }
@media (min-width: 768px) { .step { padding: 56px 0 0 0; } }
.step .num {
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--primary); color: var(--primary-ink);
  border-radius: 50%; font-family: var(--font-head); font-weight: 700; font-size: 17px;
  z-index: 1;
}
.step::before {
  content: ""; position: absolute; left: 19px; top: 40px; bottom: -8px; width: 2px;
  background: var(--border-strong);
}
.step:last-child::before { display: none; }
@media (min-width: 768px) {
  .step::before { left: 48px; right: -32px; top: 19px; bottom: auto; width: auto; height: 2px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .step:nth-child(2n)::before { display: none; }
}
@media (min-width: 1024px) {
  .step:nth-child(3n)::before { display: none; }
  .steps-4 .step:nth-child(3n)::before { display: block; }
  .steps-4 .step:nth-child(4n)::before { display: none; }
}
.step .week { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); background: var(--primary-tint); border-radius: var(--radius-pill); padding: 3px 10px; margin-bottom: 10px; }
[data-theme="dark"] .step .week { color: var(--ink); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 340px; }
.how-task-list { display: grid; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; }
.how-task-list li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.how-task-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
}
.how-cta-row { margin-top: 40px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.tour-frame {
  margin-top: 40px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg);
  background: var(--bg); display: grid; place-items: center; min-height: 280px; padding: 32px; text-align: center;
}
.tour-frame .play {
  width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: var(--primary-ink);
  display: grid; place-items: center; margin: 0 auto 16px; cursor: pointer; border: none;
}
.tour-frame h3 { font-size: 18px; margin-bottom: 6px; }
.tour-frame p { font-size: 14px; color: var(--ink-faint); max-width: 380px; }

/* ---------- S5 FEATURES ---------- */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-s); }
.feature-card .icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); background: var(--primary-tint); color: var(--primary); margin-bottom: 14px; }
[data-theme="dark"] .feature-card .icon { color: var(--ink); }
.feature-card h3 { font-size: 17px; margin-bottom: 6px; }
.feature-card p { font-size: 14.5px; color: var(--ink-soft); }
.features-cta-row { margin-top: 36px; }
/* Variant B — tabs */
.feature-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.feature-tabs button {
  min-height: 44px; padding: 8px 16px; border-radius: var(--radius-pill); cursor: pointer;
  border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--ink-soft);
  font-size: 14px; font-weight: 600;
}
.feature-tabs button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.feature-panel { display: grid; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-s); }
@media (min-width: 1024px) { .feature-panel { grid-template-columns: 1fr 1fr; padding: 36px; } }
.feature-panel h3 { font-size: 21px; margin-bottom: 10px; }
.feature-panel p { font-size: 15.5px; color: var(--ink-soft); }
.mini-mock { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); padding: 16px; font-size: 11px; }
.mini-mock .row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 6px; border-bottom: 1px solid var(--border); color: var(--ink-soft); }
.mini-mock .row:last-child { border-bottom: none; }
.mini-mock .row b { color: var(--ink); font-weight: 600; }

/* ---------- S6 AI BAND ---------- */
[data-section="ai"] { background: var(--band); color: var(--band-ink); }
[data-section="ai"] .h2, [data-section="ai"] h3 { color: var(--band-ink); }
[data-section="ai"] .section-lede { color: var(--band-ink-soft); }
.ai-text { max-width: 680px; font-size: 17px; line-height: 1.7; color: var(--band-ink-soft); }
.ai-flow { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
@media (min-width: 768px) { .ai-flow { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.ai-node { position: relative; background: var(--band-surface); border: 1px solid var(--band-border); border-radius: var(--radius); padding: 20px; }
@media (min-width: 768px) {
  .ai-node { margin-right: 28px; }
  .ai-node:last-child { margin-right: 0; }
  .ai-node:not(:last-child)::after {
    content: "→"; position: absolute; right: -24px; top: 50%; transform: translateY(-50%);
    color: var(--band-ink-soft); font-size: 18px;
  }
}
.ai-node h3 { font-size: 15.5px; margin-bottom: 4px; }
.ai-node p { font-size: 13px; color: var(--band-ink-soft); }
.ai-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 28px; color: var(--band-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.ai-compare { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; max-width: 880px; }
@media (min-width: 768px) { .ai-compare { grid-template-columns: 1fr 1fr; gap: 24px; } }
.ai-col { border-radius: var(--radius-lg); padding: 26px; }
.ai-col.bad-col { background: transparent; border: 1px solid var(--band-border); }
.ai-col.good-col { background: var(--band-surface); border: 1px solid var(--band-border); }
.ai-col h3 { font-size: 17px; margin-bottom: 14px; }
.ai-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ai-col li { display: flex; gap: 10px; font-size: 14.5px; color: var(--band-ink-soft); }
.ai-col li .sym { flex: none; font-weight: 700; }
.ai-col.bad-col .sym { color: var(--bad); }
.ai-col.good-col .sym { color: var(--ok); }
[data-theme="dark"] .ai-col.bad-col .sym { color: #FF8C81; }
[data-theme="dark"] .ai-col.good-col .sym { color: #3DD68C; }

/* ---------- S7 CONSULTANTS (narrow band) ---------- */
[data-section="consultants"] { padding: 40px 0; background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.consultants-row { display: grid; gap: 20px; align-items: center; }
@media (min-width: 1024px) { .consultants-row { grid-template-columns: 1fr auto; gap: 48px; } }
.consultants-row .h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.consultants-row p { font-size: 15px; color: var(--ink-soft); max-width: 640px; }

/* Consultants variant "a" (live default) — promoted from the old compact
   two-column band to a full dark-band section: eyebrow, big heading, a
   fact strip and four value cards. Scoped to [data-variant="a"] so the
   variant-b form layout (.consultants-row above) is untouched. Colors use
   the --band family (same as the ai/finalCta bands) so it follows the theme.
   The CTA is .btn-primary, which is the amber --cta accent (not --primary,
   which equals --band in the trust theme and would be invisible here). */
[data-section="consultants"][data-variant="a"] { background: var(--band); color: var(--band-ink); }
.consultants-head { max-width: 780px; }
.consultants-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cta); margin: 0 0 12px; }
.consultants-h2 { color: var(--band-ink); }
.consultants-lede { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--band-ink-soft); max-width: 720px; }

.consultants-stats { display: grid; gap: 20px; margin-top: 44px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .consultants-stats { grid-template-columns: repeat(3, 1fr); } }
.consultants-stat { border-left: 2px solid var(--cta); padding-left: 16px; }
.consultants-stat .n { display: block; font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--band-ink); }
.consultants-stat .l { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--band-ink-soft); }

.consultants-cards { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .consultants-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .consultants-cards { grid-template-columns: repeat(4, 1fr); } }
.consultants-card { background: var(--band-surface); border: 1px solid var(--band-border); border-radius: var(--radius-lg); padding: 22px; }
.consultants-card .icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); background: var(--cta); color: var(--cta-ink); margin-bottom: 14px; }
.consultants-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--band-ink); }
.consultants-card p { font-size: 13.5px; line-height: 1.5; color: var(--band-ink-soft); }
.consultants-cta-row { margin-top: 36px; }
.partner-form { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 480px) { .partner-form { flex-direction: row; } }
.partner-form input { flex: 1; }

/* ---------- S8 TRUST ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 18px; font-size: 14.5px; font-weight: 500; box-shadow: var(--shadow-s);
}
.badge svg { color: var(--ok); flex: none; }
.trust-micro { margin-top: 28px; font-size: 16px; font-style: italic; color: var(--ink-soft); max-width: 560px; }
.qa-list { max-width: 760px; display: grid; gap: 10px; }

/* ---------- Accordion (trust B + FAQ) ---------- */
.acc-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.acc-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; min-height: 56px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-size: 16px; font-weight: 600;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: "+"; font-size: 22px; color: var(--ink-faint); flex: none; line-height: 1; }
.acc-item[open] summary::after { content: "–"; }
.acc-item .acc-body { padding: 0 20px 18px; font-size: 15px; color: var(--ink-soft); max-width: 640px; }

/* ---------- S9 SOCIAL PROOF ---------- */
[data-section="proof"] { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quote { max-width: 760px; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(22px, 3.6vw, 32px); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.quote figcaption { margin-top: 16px; font-size: 15px; color: var(--ink-soft); }
.placeholder-note { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--ink-faint); border: 1px dashed var(--border-strong); border-radius: var(--radius-pill); padding: 4px 12px; }
.metrics { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 44px; }
@media (min-width: 768px) { .metrics { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.metric .n { font-family: var(--font-head); font-size: clamp(36px, 5vw, 52px); font-weight: 700; color: var(--primary); letter-spacing: -.02em; }
[data-theme="dark"] .metric .n { color: var(--primary); }
.metric .label { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; max-width: 260px; }
.case-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .case-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.case-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-s); }
.case-card .sector { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.case-card .result { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.case-card .detail { font-size: 14px; color: var(--ink-soft); }
.built { max-width: 720px; }
.built p { font-size: 16.5px; color: var(--ink-soft); line-height: 1.7; }
.fw-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.fw-chip { font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: var(--radius-pill); background: var(--primary-tint); color: var(--primary); border: 1px solid var(--border); }
[data-theme="dark"] .fw-chip { color: var(--ink); }

/* ---------- S10 LEAD MAGNETS ---------- */
.magnet-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .magnet-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.magnet-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-s);
}
.magnet-card .tag { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
[data-theme="dark"] .magnet-card .tag { color: var(--primary); }
.magnet-card h3 { font-size: 19px; }
.magnet-card p { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.magnet-card .cta {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; font-size: 15px; color: var(--primary); text-decoration: none;
}
[data-theme="dark"] .magnet-card .cta { color: var(--primary); }
.magnet-card .cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.magnets-all { margin-top: 28px; }
/* Variant B — flagship */
.flagship { display: grid; gap: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
@media (min-width: 1024px) { .flagship { grid-template-columns: 3fr 2fr; padding: 48px; } }
.flagship h3 { font-size: 26px; margin: 10px 0; }
.flagship > div > p { font-size: 16px; color: var(--ink-soft); max-width: 480px; }
.flagship-form { display: grid; gap: 12px; align-content: start; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
input[type="email"], input[type="text"], select {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius);
  background: var(--bg-alt); color: var(--ink); font-size: 16px; font-family: inherit;
}
input:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.form-privacy { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-faint); }
.form-privacy svg { flex: none; color: var(--ok); }

/* ---------- S11 PRICING ---------- */
[data-section="pricing"] { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pricing-strip {
  display: grid; gap: 24px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-s);
}
@media (min-width: 1024px) { .pricing-strip { grid-template-columns: 1fr auto; gap: 48px; padding: 36px 44px; } }
.price-pair { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.price-item .name { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); }
.price-item .price { font-family: var(--font-head); font-size: 36px; font-weight: 700; letter-spacing: -.01em; }
.price-item .price small { font-size: 16px; font-weight: 500; color: var(--ink-faint); }
.price-item .band-label { font-size: 13px; color: var(--ink-soft); }
.pricing-note { font-size: 14px; color: var(--ink-soft); margin-top: 16px; max-width: 560px; }
.pricing-cards { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
@media (min-width: 768px) { .pricing-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.price-card { position: relative; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-s); display: grid; gap: 6px; align-content: start; }
.price-card.popular { border-color: var(--primary); box-shadow: var(--shadow); }
.popular-badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--primary); color: var(--primary-ink);
  font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--radius-pill);
}
.pricing-cta-row { margin-top: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- S12 FAQ ---------- */
.faq-categories { display: grid; gap: 40px; }
.faq-category { min-width: 0; }
.faq-category-title {
  margin-bottom: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--primary);
}
[data-section="faq"] .section-head p {
  margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--ink-soft);
}
.faq-list { max-width: 860px; display: grid; gap: 10px; }
.faq-list .acc-body { max-width: 780px; line-height: 1.7; }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .faq-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.faq-cell {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-s);
}
.faq-cell h4 { font-family: var(--font-head); font-size: 16.5px; margin-bottom: 10px; }
.faq-cell p { font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }
@media (min-width: 1024px) {
  .faq-categories { gap: 52px; }
  .faq-categories--grid { gap: 56px; }
}

/* ---------- S13 FINAL CTA ---------- */
[data-section="finalCta"] { background: var(--band); color: var(--band-ink); }
[data-section="finalCta"] .h2 { color: var(--band-ink); font-size: clamp(28px, 5vw, 44px); max-width: 720px; }
.final-text { margin-top: 18px; font-size: 17px; color: var(--band-ink-soft); max-width: 560px; }
.final-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 32px; }
@media (min-width: 768px) { .final-ctas { flex-direction: row; align-items: center; gap: 24px; } }
.final-ctas .link-secondary { color: var(--band-ink-soft); }
.final-ctas .link-secondary:hover { color: var(--band-ink); }
.final-country { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; max-width: 480px; }
@media (min-width: 768px) { .final-country { flex-direction: row; } }
.final-country select { background: var(--band-surface); border-color: var(--band-border); color: var(--band-ink); min-width: 220px; }

/* ---------- S14 FOOTER ---------- */
footer[data-section="footer"] { padding: 32px 0 96px; background: var(--bg); }
@media (min-width: 768px) { footer[data-section="footer"] { padding: 36px 0; } }
.footer-inner { display: flex; flex-direction: column; gap: 16px; font-size: 13.5px; color: var(--ink-faint); }
@media (min-width: 768px) { .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--ink-faint); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.lang-switch { display: inline-flex; gap: 4px; align-items: center; }
.lang-switch button {
  min-height: 44px; min-width: 44px; padding: 0 10px; cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius-s);
  color: var(--ink-faint); font-size: 13.5px; font-weight: 600;
}
.lang-switch button[aria-pressed="true"] { color: var(--ink); border-color: var(--border-strong); background: var(--surface); }

/* ---------- Sticky mobile bottom CTA (appears after hero) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg-alt) 92%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- Assessment modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(10, 18, 32, .55); backdrop-filter: blur(4px);
  padding: 16px; overflow-y: auto;
}
.modal-overlay.open { display: grid; place-items: start center; }
@media (min-width: 768px) { .modal-overlay.open { place-items: center; } }
.modal {
  width: 100%; max-width: 560px; margin: 24px 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 28px;
}
@media (min-width: 768px) { .modal { padding: 36px; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.modal-head h2 { font-size: 22px; }
.modal-close {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  background: transparent; border: 1.5px solid var(--border-strong); border-radius: var(--radius-s);
  color: var(--ink-soft); cursor: pointer; font-size: 18px;
}
.modal-intro { font-size: 14px; color: var(--ink-faint); margin-bottom: 20px; }
.progress { height: 6px; background: var(--surface-2); border-radius: var(--radius-pill); overflow: hidden; margin-bottom: 8px; }
.progress i { display: block; height: 100%; background: var(--cta); border-radius: var(--radius-pill); transition: width .25s ease; }
.step-label { font-size: 12.5px; font-weight: 600; color: var(--ink-faint); margin-bottom: 20px; }
.q-title { font-family: var(--font-head); font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.opt-list { display: grid; gap: 10px; }
.opt-list button {
  display: flex; align-items: center; text-align: left; gap: 12px;
  min-height: 52px; padding: 12px 16px; cursor: pointer;
  background: var(--bg); border: 1.5px solid var(--border-strong); border-radius: var(--radius);
  color: var(--ink); font-size: 15.5px; font-weight: 500;
}
.opt-list button:hover { border-color: var(--primary); }
.opt-list button[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-tint); }
.modal-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.modal-form { display: grid; gap: 14px; }
.result-score { font-family: var(--font-head); font-size: 40px; font-weight: 700; color: var(--primary); }
[data-theme="dark"] .result-score { color: var(--primary); }
.result-bar { height: 10px; border-radius: var(--radius-pill); background: var(--surface-2); overflow: hidden; margin: 12px 0 20px; }
.result-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--bad), var(--warn), var(--ok)); }
.result-text { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Hidden test-config panel (?config=1) ---------- */
.config-panel {
  position: fixed; right: 16px; bottom: 16px; z-index: 120;
  width: 360px; max-height: 70vh; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 18px; font-size: 13px;
}
/* display:flex powyżej bije UA [hidden]{display:none} — bez tego
   ✕ i Tweaks toggle nie potrafią schować panelu. */
.config-panel[hidden] { display: none; }
/* Nagłówek (tytuł + status zapisu) jest stały; przewija się tylko .cfg-body,
   więc pojawienie się banera statusu NIE przesuwa treści pod nim. */
.config-panel .cfg-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.config-panel h3 { font-size: 14px; margin-bottom: 12px; }
.config-panel .group { margin-bottom: 14px; }
.config-panel .group > span { display: block; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin-bottom: 6px; }
.config-panel .pills { display: flex; flex-wrap: wrap; gap: 6px; }
.config-panel .pills button {
  padding: 5px 10px; min-height: 32px; cursor: pointer; font-size: 12px; font-weight: 600;
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); color: var(--ink-soft);
}
.config-panel .pills button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }

/* ---------- Section name/number tags (design annotation; toggled
   from the Tweaks panel — hidden by default) ---------- */
section[data-screen-label], footer[data-screen-label] { position: relative; }
.section-tag {
  position: absolute; top: 8px; left: 10px; z-index: 50;
  display: none;
  font-family: var(--font-head, inherit);
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-faint); opacity: .7;
  pointer-events: none; user-select: none; white-space: nowrap;
}
@media (min-width: 768px) { .section-tag { top: 10px; left: 14px; } }
[data-section="ai"] .section-tag { color: var(--band-ink-soft); }
html.resilio-section-labels .section-tag { display: block; }

/* ---------- Mobile / Web preview frame ----------
   "Mobile" wraps the live page (re-loaded in an iframe at phone width)
   inside a device bezel on a neutral backdrop. */
.preview-stage {
  position: fixed; inset: 0; z-index: 80; display: none;
  align-items: center; justify-content: center;
  padding: 28px 16px;
  background:
    radial-gradient(120% 120% at 50% 0%, #20283A 0%, #11161F 70%);
}
html.resilio-mobile-preview .preview-stage { display: flex; }
html.resilio-mobile-preview body { overflow: hidden; }
.preview-device {
  position: relative;
  width: 390px; max-width: 100%;
  height: min(844px, calc(100vh - 56px));
  background: #05070B;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 0 0 2px #2A3243, 0 30px 70px rgba(0, 0, 0, .6);
}
.preview-device iframe {
  width: 100%; height: 100%;
  border: none; border-radius: 32px;
  background: #fff; display: block;
}
.preview-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 150px; height: 26px; z-index: 2;
  background: #05070B; border-radius: 0 0 16px 16px;
  pointer-events: none;
}
@media (max-width: 430px) {
  .preview-stage { padding: 0; }
  .preview-device { border-radius: 0; padding: 0; width: 100%; height: 100vh; box-shadow: none; }
  .preview-device iframe { border-radius: 0; }
  .preview-notch { display: none; }
}

/* ---------- Reveal animation (gated on reduced-motion) ----------
   .reveal      = fade + rise, for individual cards/list items.
   .reveal-fade = fade only, for large block containers where a translateY
                  could nudge layout — the flow diagram sits in an overflow-x
                  scroller (a 16px rise would flash a vertical scrollbar) and
                  the calc table is a <table> (transforms on table boxes are
                  quirky). Both share the .in "revealed" flag. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-fade { opacity: 0; transition: opacity .6s ease; }
  .reveal-fade.in { opacity: 1; }
}

/* --- Przełącznik języka w górnym pasku (S0 Nav) ---
   W pasku widoczny od 1024px (obok nawigacji); poniżej dostępny w menu mobilnym
   (kopia w .nav-mobile zachowuje domyślne .lang-switch). */
.nav-inner > .nav-lang { display: none; margin-left: 6px; }
@media (min-width: 1024px) { .nav-inner > .nav-lang { display: inline-flex; } }

/* --- Tweaks: pływający przełącznik (widoczny tylko gdy włączony localStorage flag) --- */
.tweaks-toggle {
  position: fixed; right: 16px; bottom: 16px; z-index: 121;
  padding: 8px 14px; min-height: 36px; cursor: pointer;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  background: var(--primary); color: var(--primary-ink);
  border: 1px solid var(--primary); border-radius: var(--radius-pill); box-shadow: var(--shadow);
}
.config-panel { bottom: 64px; }   /* nad przyciskiem Tweaks */
.config-panel .cfg-head { display: flex; align-items: center; justify-content: space-between; }
.config-panel .cfg-x { cursor: pointer; background: none; border: none; font-size: 15px; color: var(--ink-faint); line-height: 1; }
.config-panel .cfg-disable {
  margin-top: 6px; width: 100%; cursor: pointer; padding: 7px;
  font-size: 12px; font-weight: 600; color: var(--bad);
  background: var(--bad-bg); border: 1px solid var(--border); border-radius: var(--radius);
}
.cfg-save-status:empty { display: none; }
.cfg-save-status {
  margin: 10px 0; padding: 8px 10px; border-radius: var(--radius);
  font-size: 11.5px; line-height: 1.4;
}
.cfg-save-status--local { background: var(--warn-bg); color: var(--warn); }
.cfg-save-status--ok { background: var(--ok-bg); color: var(--ok); }
.cfg-save-status--error { background: var(--bad-bg); color: var(--bad); }
.config-panel .cfg-order { display: grid; gap: 4px; }
.config-panel .cfg-order-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: var(--radius); background: var(--bg);
  border: 1px solid var(--border); cursor: grab; user-select: none;
}
.config-panel .cfg-order-row:active { cursor: grabbing; }
.config-panel .cfg-order-handle { font-size: 13px; color: var(--ink-faint); line-height: 1; }
.config-panel .cfg-order-label { font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.config-panel .cfg-order-dragging { opacity: .45; }
.config-panel .cfg-order-over-top { box-shadow: inset 0 2px 0 0 var(--primary); }
.config-panel .cfg-order-over-bottom { box-shadow: inset 0 -2px 0 0 var(--primary); }
