/* SpareDesk — v3 exploration: full dark tech theme.
   Brand colors unchanged from docs/brand.md (Main #3d92d8, Accent #ffa348, Text #212528
   is kept as the light-mode ink equivalent isn't used here since this variant is dark-first).
   Everything else — neutrals, type, layout, interaction patterns — is this variant's own take,
   built to compare against website-v2-backup/ (light theme) and website-original-backup/ (v1). */
:root {
  --bg: #0a1420;
  --bg-alt: #0e1b2b;
  --panel: #11213380;
  --panel-solid: #132639;
  --panel-hi: #17324f;
  --border: #22405f;
  --border-soft: #1b3350;

  --text: #edf2f7;
  --text-soft: #a9bbd0;
  --text-faint: #7690ab;

  --brand: #3d92d8;
  --brand-light: #7cc0f5;
  --brand-dark: #2569a6;
  --brand-glow: rgba(61, 146, 216, 0.35);

  --accent: #ffa348;
  --accent-light: #ffc182;
  --accent-dark: #c97a1f;
  --accent-glow: rgba(255, 163, 72, 0.32);

  --success: #34d399;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --max-width: 1140px;
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.5);

  --font-head: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;
  --font-wordmark: "Poppins", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: #fff;
}

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #0a1420;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 200;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.icon {
  width: 18px; height: 18px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; }

section { padding: 108px 0; position: relative; }

.section-kicker {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
}

.section-sub { color: var(--text-soft); max-width: 560px; margin-top: 0; font-size: 1.05rem; }

h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
noscript ~ * .reveal { opacity: 1; }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 14px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(10, 20, 32, 0.7);
  backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 10px 12px 10px 18px;
}

.brand-lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }

.logo-mark {
  display: inline-block; height: 30px; width: auto; flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(61, 146, 216, 0.35));
}
.logo-mark-lg { height: 38px; }

.wordmark { font-family: var(--font-wordmark); font-weight: 700; font-size: 1.25rem; color: var(--brand-light); letter-spacing: -0.01em; }
.wordmark span { color: #fff; font-weight: 700; }

.site-nav-pill {
  display: flex;
  align-items: center;
  gap: 26px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-nav-pill a { color: var(--text-soft); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.site-nav-pill a:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--panel-solid);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 16px; height: 2px; margin: 0 auto; background: #fff; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin: 10px 12px 0;
  padding: 14px 18px 18px;
  background: var(--panel-solid);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { color: var(--text-soft); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 0.98rem; }
.mobile-nav .btn { margin-top: 10px; justify-content: center; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 0.98rem; border: 2px solid transparent; cursor: pointer;
  font-family: var(--font-body);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn[hidden] { display: none; }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

.btn-accent { background: var(--accent); color: #21150a; box-shadow: 0 6px 20px var(--accent-glow); }
.btn-accent:hover { background: var(--accent-light); transform: translateY(-1px); }

.btn-outline { background: transparent; border-color: var(--border); color: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-light); }

.btn-ghost { background: transparent; color: var(--text-soft); border-color: transparent; }
.btn-ghost:hover { color: #fff; }

.btn-email { background: #fff; color: var(--bg); box-shadow: var(--shadow-md); }
.btn-email:hover { background: var(--text); transform: translateY(-1px); }

/* ---------------------------------------------------------------- Hero */
.hero { padding-top: 64px; padding-bottom: 0; overflow: hidden; }

.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 75%);
}

.hero-glow { position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.hero-glow-a { width: 480px; height: 480px; top: -180px; right: -120px; background: var(--brand-glow); }
.hero-glow-b { width: 380px; height: 380px; top: 120px; left: -160px; background: var(--accent-glow); }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px; align-items: center; padding: 56px 0 80px;
}

.hero h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); margin-bottom: 22px; }

.hero-sub { max-width: 560px; margin: 0 0 34px; color: var(--text-soft); font-size: 1.12rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-microcopy { color: var(--text-faint); font-size: 0.88rem; margin: 18px 0 0; }

/* Desk card (hero visual): "what can we take off your desk?" checklist */
.desk-card {
  background: var(--panel-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}

.desk-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.desk-card-heading {
  margin: 0; text-align: right; color: var(--text-soft); font-weight: 700;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.4;
}

.desk-list { list-style: none; margin: 0; padding: 0; }
.desk-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--border-soft); color: var(--text);
  font-size: 0.95rem; font-weight: 500;
}
.desk-list li:last-child { border-bottom: none; }
.desk-list .icon { color: var(--accent); }

.desk-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px; padding-top: 4px; color: var(--text-faint); font-size: 0.9rem;
}
.desk-card-price { font-family: var(--font-head); color: var(--brand-light); font-size: 1.8rem; font-weight: 700; }

/* Pain-point bar */
.pain-bar { position: relative; z-index: 1; background: var(--brand); }
.pain-bar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 28px; padding: 22px 24px; color: rgba(255,255,255,0.85); font-size: 0.98rem; text-align: center;
}
.pain-bar-inner strong { color: #fff; }

/* ---------------------------------------------------------------- Niches marquee */
.niches { padding: 56px 0; background: var(--bg-alt); overflow: hidden; }
.niches-label {
  text-align: center; color: var(--text-faint); font-family: var(--font-mono);
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 28px;
}
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 48px, black calc(100% - 48px), transparent); }
.marquee-track {
  display: flex; gap: 14px; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  border: 1px solid var(--border); border-radius: 999px; padding: 10px 20px;
  font-size: 0.92rem; font-weight: 600; color: var(--text-soft); white-space: nowrap;
  background: var(--panel-solid);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------------------------------------------------------------- Problem */
.problem { text-align: center; }
.problem-mark {
  font-family: var(--font-head); font-size: 4rem; color: var(--brand-dark);
  margin: 0; line-height: 1; opacity: 0.6;
}
.problem-text { font-size: 1.3rem; color: #fff; font-family: var(--font-head); font-weight: 500; line-height: 1.5; margin: 0; }

/* ---------------------------------------------------------------- Services / tabs */
.services { text-align: center; background: var(--bg-alt); }
.services .section-sub { margin-left: auto; margin-right: auto; }

.tab-shell {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: var(--panel-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  min-height: 300px;
}

.tab-list { display: flex; flex-direction: column; border-right: 1px solid var(--border-soft); padding: 10px; }

.tab-btn {
  display: flex; align-items: center; gap: 12px;
  background: transparent; border: none; border-radius: var(--radius-sm);
  padding: 14px 14px; color: var(--text-soft); font-family: var(--font-body);
  font-size: 0.92rem; font-weight: 600; text-align: left; cursor: pointer;
}
.tab-btn:hover { background: rgba(255,255,255,0.04); color: #fff; }
.tab-btn.is-active { background: rgba(61, 146, 216, 0.14); color: #fff; }

.tab-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: rgba(61, 146, 216, 0.16); color: var(--brand-light);
}
.tab-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab-btn.is-active .tab-icon { background: var(--accent); color: #21150a; }

.tab-panels { padding: 40px; display: flex; align-items: center; }
.tab-panel { display: none; }
.tab-panel.is-active {
  display: grid; grid-template-columns: minmax(200px, 1fr) minmax(240px, 1.15fr);
  gap: 36px; align-items: center; width: 100%;
  animation: fade-in 0.25s ease;
}
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.panel-eyebrow { font-family: var(--font-mono); color: var(--accent); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 10px; }
.tab-panel h3 { font-size: 1.4rem; margin-bottom: 12px; }
.tab-panel p { color: var(--text-soft); font-size: 1rem; max-width: 480px; margin: 0; }

.sample-note {
  color: var(--text-faint); font-size: 0.88rem; margin: 24px 0 0;
  display: flex; align-items: center; gap: 8px;
}
.sample-note .icon { color: var(--text-faint); width: 15px; height: 15px; }

.tab-footnote { color: var(--text-faint); font-size: 0.9rem; margin-top: 24px; }

/* ---------------------------------------------------------------- Sample previews (inside services tabs) */
.sample-preview {
  border: 1px solid var(--border-soft); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-md); line-height: 0;
}
.sample-preview img { display: block; width: 100%; height: auto; }

/* ---------------------------------------------------------------- Why */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 44px; }

.why-card {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--border-soft);
  background: var(--panel);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.why-card:hover { border-color: var(--brand); transform: translateY(-3px); }

.why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(255, 163, 72, 0.14); color: var(--accent); margin-bottom: 16px;
}
.why-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { color: var(--text-soft); font-size: 0.94rem; margin: 0; }

/* ---------------------------------------------------------------- How it works: timeline */
.how-it-works { background: var(--bg-alt); }

.timeline { list-style: none; margin: 48px 0 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(var(--border), transparent);
}
.timeline li { display: flex; gap: 24px; padding-bottom: 40px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }

.timeline-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border: 1px solid var(--brand);
  color: var(--brand-light); font-weight: 700; font-family: var(--font-head);
  position: relative; z-index: 1;
}
.timeline h3 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline p { color: var(--text-soft); font-size: 0.96rem; margin: 0; }

/* ---------------------------------------------------------------- Pricing toggle */
.pricing { text-align: center; }
.pricing .section-sub { margin-left: auto; margin-right: auto; }

.promo-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 18px auto 0;
  color: var(--accent-light); background: rgba(255, 163, 72, 0.12); border: 1px solid rgba(255, 163, 72, 0.35);
  font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600;
  padding: 8px 18px; border-radius: 999px;
}

.price-toggle {
  display: inline-flex; gap: 4px; margin: 40px auto 0;
  background: var(--panel-solid); border: 1px solid var(--border); border-radius: 999px; padding: 5px;
}
.toggle-btn {
  border: none; background: transparent; color: var(--text-soft);
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem;
  padding: 10px 22px; border-radius: 999px; cursor: pointer;
}
.toggle-btn.is-active { background: var(--accent); color: #21150a; }

.price-panels { margin-top: 32px; display: flex; justify-content: center; }

.price-panel {
  width: 100%; max-width: 460px; text-align: left; position: relative;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px 36px; background: var(--panel-solid);
}

.price-panel-main { margin-bottom: 24px; }
.price-big { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: #fff; margin: 0; }
.price-per { color: var(--text-soft); font-family: var(--font-mono); font-size: 0.92rem; margin: 6px 0 0; }

.price-features { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: var(--text-soft); }
.price-features .icon { color: var(--success); margin-top: 2px; }

.price-panel .btn { width: 100%; }

.pricing-note { text-align: center; color: var(--text-faint); margin-top: 36px; font-size: 0.9rem; }

/* ---------------------------------------------------------------- FAQ */
.faq-list { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }

.faq-item { background: var(--panel-solid); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 6px 22px; }

.faq-item summary {
  cursor: pointer; list-style: none; font-weight: 600; font-family: var(--font-head);
  color: #fff; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-caret { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--border); position: relative; }
.faq-caret::before, .faq-caret::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-caret::before { top: 10px; left: 5px; width: 12px; height: 1.5px; }
.faq-caret::after { top: 5px; left: 10px; width: 1.5px; height: 12px; transition: opacity 0.15s ease; }
.faq-item[open] .faq-caret::after { opacity: 0; }

.faq-item p { margin: 0 0 20px; color: var(--text-soft); font-size: 0.95rem; max-width: 620px; }

/* ---------------------------------------------------------------- CTA band */
.cta-band {
  background: linear-gradient(120deg, rgba(61,146,216,0.16), rgba(255,163,72,0.14));
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  padding: 72px 0;
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { color: var(--text-soft); margin: 0; font-size: 1.02rem; }

/* ---------------------------------------------------------------- Request CTA */
.request-cta { text-align: center; }
.request-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

form { margin-top: 0; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }

label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--text-soft); }
.req { color: var(--accent); }

input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.95rem; background: var(--panel-solid); color: var(--text);
}
input::placeholder, textarea::placeholder { color: var(--text-faint); }
select { color-scheme: dark; }

input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

/* ---------------------------------------------------------------- Footer */
.site-footer { border-top: 1px solid var(--border-soft); padding: 40px 0 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-bottom: 28px; }

.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.footer-nav a { color: var(--text-soft); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--border-soft);
}
.copyright { color: var(--text-faint); font-size: 0.8rem; margin: 0; }

/* ---------------------------------------------------------------- Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(4, 9, 16, 0.72); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 100;
}
.modal-overlay[hidden] { display: none; }

.modal {
  background: var(--panel-solid); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; width: 100%; max-width: 720px;
  max-height: 85vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg);
}
.modal-wizard { max-width: 760px; }

.modal-close {
  position: absolute; top: 14px; right: 14px; background: transparent; border: none;
  font-size: 1.6rem; line-height: 1; color: var(--text-soft); cursor: pointer; padding: 4px 10px; border-radius: 8px;
}
.modal-close:hover { background: var(--panel-hi); color: #fff; }

#modal-title { margin: 0 0 6px; font-size: 1.5rem; padding-right: 32px; color: #fff; }
.modal-sub { color: var(--text-soft); margin: 0 0 20px; }

.modal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 8px; }

.modal-option {
  border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 16px; cursor: pointer;
  text-align: left; background: var(--panel); transition: border-color 0.15s, background-color 0.15s;
}
.modal-option:hover { border-color: var(--brand); }
.modal-option h4 { margin: 0 0 6px; font-size: 0.98rem; display: flex; align-items: center; gap: 8px; font-family: var(--font-body); color: #fff; font-weight: 600; }
.modal-option p { margin: 0; font-size: 0.85rem; color: var(--text-soft); }
.modal-option.selected { border-color: var(--accent); background: rgba(255, 163, 72, 0.1); }
.modal-option.disabled { opacity: 0.4; cursor: not-allowed; }
.modal-option.disabled:hover { border-color: var(--border); }

.modal-check {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.65rem; color: #21150a;
}
.modal-check::after { content: "\2713"; opacity: 0; }
.modal-option.selected .modal-check { background: var(--accent); border-color: var(--accent); }
.modal-option.selected .modal-check::after { opacity: 1; }

.modal-count { font-size: 0.85rem; color: var(--text-soft); margin: 0 0 16px; }

/* Wizard: step indicator */
.wizard-steps {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  list-style: none; margin: 0 0 28px; padding: 0 32px 0 0;
}
.wizard-steps[hidden] { display: none; }
.wizard-step {
  display: flex; align-items: center; gap: 8px; color: var(--text-faint);
  font-size: 0.85rem; font-weight: 600;
}
.wizard-step span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border);
  font-size: 0.78rem;
}
.wizard-step.is-active { color: #fff; }
.wizard-step.is-active span { background: var(--accent); border-color: var(--accent); color: #21150a; }
.wizard-step.is-done span { background: var(--brand); border-color: var(--brand); color: #fff; }
.wizard-step:not(:last-child)::after { content: ""; width: 20px; height: 1px; background: var(--border); margin-left: 2px; }

.wizard-panel h3 { margin: 0 0 6px; font-size: 1.4rem; padding-right: 32px; }

.wizard-success { text-align: center; padding: 20px 0 8px; }
.wizard-success-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 18px;
  background: rgba(52, 211, 153, 0.14); color: var(--success);
}
.wizard-success-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wizard-success h3 { padding-right: 0; }
.wizard-success .modal-sub { max-width: 420px; margin-left: auto; margin-right: auto; }
.wizard-success .btn { margin-top: 12px; }

/* Wizard: step 2 per-task detail groups */
.task-detail-group {
  border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 18px 20px;
  margin-bottom: 20px; background: var(--panel);
}
.task-detail-heading {
  margin: 0 0 14px; font-family: var(--font-head); font-weight: 600; color: var(--brand-light);
  font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em;
}
.task-detail-group .field:last-child { margin-bottom: 0; }

/* Wizard: step 3 review */
.review-summary { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.review-block {
  border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 16px 20px; background: var(--panel);
}
.review-block-title { margin: 0 0 8px; font-weight: 700; color: #fff; font-family: var(--font-head); font-size: 1rem; }
.review-block p { margin: 0 0 4px; color: var(--text-soft); font-size: 0.92rem; }
.review-block p:last-child { margin-bottom: 0; }
.review-block p strong { color: var(--text); font-weight: 600; display: block; font-size: 0.85rem; margin-bottom: 2px; }
.review-block-plan { border-color: var(--accent); background: rgba(255, 163, 72, 0.08); }
.review-block-plan .review-block-title { color: var(--accent-light); }

.payment-note {
  font-size: 0.86rem; color: var(--text-faint); background: var(--panel);
  border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 12px 16px; margin: 0;
}

/* Wizard: footer */
.wizard-footer {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border-soft); flex-wrap: wrap;
}
.btn-link-quiet {
  background: transparent; border: none; color: var(--text-faint); font-size: 0.88rem;
  padding: 8px 4px; margin-right: auto; text-decoration: underline; text-underline-offset: 3px;
}
.btn-link-quiet:hover { color: var(--text-soft); }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .tab-shell { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border-soft); }
  .tab-btn { white-space: nowrap; }
  .tab-panels { padding: 28px; }
  .tab-panel.is-active { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  section { padding: 72px 0; }
  .sheet-row { grid-template-columns: 1.3fr 1fr; }
  .sheet-row span:nth-child(2) { display: none; }
  .sample-cleanup { grid-template-columns: 1fr; }
  .site-nav-pill { display: none; }
  .header-actions .btn-sm { display: none; }
  .nav-toggle { display: flex; }
  .pain-bar-inner { flex-direction: column; gap: 6px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .price-toggle { width: 100%; }
  .toggle-btn { flex: 1; }
  .wizard-step { font-size: 0; gap: 0; }
  .wizard-step span { font-size: 0.78rem; }
  .wizard-step::after { width: 12px; }
  .wizard-footer { justify-content: stretch; }
  .wizard-footer .btn { flex: 1; }
  .btn-link-quiet { flex-basis: 100%; text-align: center; margin-right: 0; order: -1; }
}
