:root {
  --bg: #f6f4ef;
  --bg-alt: #ede9e0;
  --surface: #ffffff;
  --surface-tint: #faf9f6;
  --ink: #151b24;
  --ink-soft: #4e5766;
  --ink-muted: #76808f;
  --line: #e2ddd2;
  --line-strong: #cfc8ba;
  --accent: #1b4d3e;
  --accent-hover: #143b2f;
  --accent-soft: #e6efe9;
  --brass: #b57b37;
  --brass-soft: #f7efe3;
  --viewer-bg: #e7e9ed;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(21, 27, 36, 0.05);
  --shadow-lg: 0 20px 50px rgba(21, 27, 36, 0.10);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
}

a {
  color: inherit;
}

button, input, select, textarea {
  font: inherit;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 244, 239, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--brass-soft);
  color: #88571e;
  border: 1px solid rgba(181, 123, 55, 0.25);
}

.status-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--ink);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  border-color: var(--ink-muted);
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.86rem;
  border-radius: 10px;
}

/* Hero */
.hero {
  padding: 36px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2.15rem, 3.8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  color: var(--accent);
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}

.proof-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* 3D Viewer Stage */
.viewer-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.viewer-stage {
  position: relative;
  width: 100%;
  height: 540px;
  background: radial-gradient(circle at 50% 35%, #f2f4f7 0%, var(--viewer-bg) 100%);
  overflow: hidden;
}

.viewer-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

.viewer-stage canvas:active {
  cursor: grabbing;
}

.viewer-card.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 100;
  border-radius: 0;
  border: 0;
  display: flex;
  flex-direction: column;
}

.viewer-card.is-fullscreen .viewer-stage {
  flex: 1;
  height: auto;
}

.hud-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.hud-badge {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(21, 27, 36, 0.78);
  backdrop-filter: blur(10px);
  color: #f4f6f9;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hud-badge .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}

.hud-actions {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.hud-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(21, 27, 36, 0.74);
  backdrop-filter: blur(10px);
  color: #f4f6f9;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.hud-btn:hover {
  background: rgba(21, 27, 36, 0.90);
}

.hud-btn.active {
  background: var(--accent);
  border-color: rgba(255, 255, 255, 0.35);
}

.mode-switch {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 11px;
  background: rgba(21, 27, 36, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  gap: 2px;
}

.mode-btn {
  border: 0;
  background: transparent;
  color: rgba(244, 246, 249, 0.85);
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mode-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.mode-btn.active {
  background: #ffffff;
  color: var(--ink);
}

.walk-stick {
  position: absolute;
  left: 16px;
  bottom: 52px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 2px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
  pointer-events: auto;
  touch-action: none;
  z-index: 4;
}

.walk-knob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.hud-bottom {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.preset-bar {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(21, 27, 36, 0.74);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.preset-btn {
  border: 0;
  background: transparent;
  color: rgba(244, 246, 249, 0.85);
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.preset-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.preset-btn.active {
  background: #ffffff;
  color: var(--ink);
}

.viewer-hint {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(21, 27, 36, 0.58);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.74rem;
  letter-spacing: 0.01em;
}

.viewer-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: rgba(231, 233, 237, 0.90);
  backdrop-filter: blur(6px);
  z-index: 5;
  transition: opacity 0.25s ease;
}

.viewer-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(27, 77, 62, 0.18);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.progress-track {
  width: min(260px, 75%);
  height: 6px;
  border-radius: 999px;
  background: rgba(21, 27, 36, 0.12);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.15s ease;
}

.viewer-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 13px 18px;
  background: var(--surface-tint);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.viewer-caption strong {
  color: var(--ink);
}

.caption-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Sample home walk-through */
.sample-stage {
  background: #111318;
  height: 560px;
}

.sample-overlay {
  background: rgba(17, 19, 24, 0.72);
  color: #f4f6f9;
}

.sample-note {
  font-size: 0.86rem;
  color: rgba(244, 246, 249, 0.85);
  max-width: 34ch;
}

.sample-credit {
  display: block;
  line-height: 1.55;
}

.sample-credit a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sample-stage .walk-stick {
  bottom: 84px;
}

.sample-stage .progress-track {
  background: rgba(255, 255, 255, 0.2);
}

.sample-stage .hud-btn[hidden],
.sample-stage .viewer-hint[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .sample-stage {
    height: min(72vh, 640px);
  }
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* Feature Cards */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* Steps */
.steps-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}

.step-num {
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  color: var(--brass);
  margin-bottom: 10px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.step-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 20px;
}

.roadmap-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}

.roadmap-panel.is-now {
  border-color: rgba(27, 77, 62, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8f6 100%);
}

.panel-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.panel-badge.now {
  background: var(--accent);
  color: #fff;
}

.panel-badge.next {
  background: var(--brass-soft);
  color: #88571e;
}

.roadmap-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.roadmap-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.roadmap-list li strong {
  color: var(--ink);
}

.roadmap-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.next-item {
  padding: 14px;
  border-radius: 12px;
  background: var(--surface-tint);
  border: 1px solid var(--line);
}

.next-item h4 {
  margin: 0 0 4px;
  font-size: 0.96rem;
}

.next-item p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* Feedback Form */
.feedback-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.feedback-aside {
  background: var(--ink);
  color: #f4f6f9;
  border-radius: var(--radius-lg);
  padding: 32px;
}

.feedback-aside .section-kicker {
  color: #8fd3b8;
}

.feedback-aside h2 {
  margin: 0 0 12px;
  font-size: 1.75rem;
  line-height: 1.2;
}

.feedback-aside p {
  color: rgba(244, 246, 249, 0.8);
  margin: 0 0 22px;
  font-size: 0.96rem;
}

.aside-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(244, 246, 249, 0.9);
}

.aside-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.aside-points svg {
  color: #8fd3b8;
  flex-shrink: 0;
  margin-top: 3px;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  margin-bottom: 18px;
}

.field label,
.field-legend {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
  margin-bottom: 7px;
  color: var(--ink);
}

.req {
  color: var(--brass);
}

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--surface-tint);
  color: var(--ink);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
}

.field textarea {
  min-height: 98px;
  resize: vertical;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-tint);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all 0.14s ease;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip:has(input:checked) {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.chip:hover {
  border-color: var(--ink-muted);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.form-success {
  padding: 24px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(27, 77, 62, 0.25);
}

.form-success h3 {
  margin: 0 0 6px;
  color: var(--accent);
}

.form-success p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.summary-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  white-space: pre-wrap;
  margin-bottom: 14px;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Footer */
.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .viewer-stage {
    height: 460px;
  }

  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap-grid,
  .feedback-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    min-height: 58px;
    gap: 8px;
  }

  .brand {
    font-size: 0.98rem;
    gap: 7px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .status-pill {
    font-size: 0.65rem;
    padding: 2px 8px;
  }

  .header-actions .btn-sm {
    padding: 0 11px;
    min-height: 34px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 22px 0 40px;
  }

  .viewer-stage {
    height: 410px;
  }

  .hud-top {
    top: 10px;
    left: 10px;
    right: 10px;
    align-items: center;
  }

  .hud-badge {
    font-size: 0.7rem;
    padding: 5px 9px;
    white-space: nowrap;
  }

  .hud-badge .hud-extra {
    display: none;
  }

  .hud-btn {
    min-height: 32px;
    padding: 0 9px;
    font-size: 0.74rem;
  }

  .mode-btn {
    padding: 5px 8px;
    font-size: 0.72rem;
  }

  .walk-stick {
    width: 92px;
    height: 92px;
    left: 12px;
    bottom: 44px;
  }

  .walk-knob {
    width: 38px;
    height: 38px;
    margin: -19px 0 0 -19px;
  }

  .hud-bottom {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .preset-bar {
    gap: 4px;
    padding: 4px;
  }

  .preset-btn {
    padding: 6px 9px;
    font-size: 0.74rem;
  }

  .cards-4,
  .steps-3,
  .roadmap-next-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 46px 0;
  }

  .form-card,
  .feedback-aside {
    padding: 22px;
  }
}

/* Home picker (sample viewer and comparison) */
.home-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 14px;
}
.home-tab {
  text-align: left;
  font: inherit;
  cursor: pointer;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.home-tab strong { font-size: 0.98rem; }
.home-tab span { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.35; }
.home-tab:hover { border-color: var(--accent); }
.home-tab.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
@media (max-width: 720px) {
  .home-picker { gap: 6px; }
  .home-tab { padding: 9px 10px; border-radius: var(--radius-sm); }
  .home-tab strong { font-size: 0.84rem; line-height: 1.25; }
  .home-tab span { display: none; }
}

.sample-overlay { background-size: cover; background-position: center; }

.how-steps {
  list-style: none;
  margin: 0;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.how-steps strong { display: block; color: var(--ink); font-size: 0.9rem; margin-bottom: 2px; }
@media (max-width: 720px) {
  .how-steps { grid-template-columns: 1fr 1fr; padding: 12px 16px; }
}

.section-ruled { border-top: 1px solid var(--line); }

/* Photo vs 3D comparison */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .compare-grid { grid-template-columns: 1fr; } }
.cmp { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.cmp-stage { position: relative; aspect-ratio: 16 / 9; background: #111318; overflow: hidden; touch-action: pan-y; user-select: none; }
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp-top { clip-path: inset(0 0 0 var(--pos)); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.35); pointer-events: none; }
.cmp-handle::after { content: '\2194'; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: #fff; color: #151b24; font-size: 18px; line-height: 34px; text-align: center; box-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-tag { position: absolute; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(17,19,24,0.7); color: #fff; font-size: 0.74rem; font-weight: 600; pointer-events: none; }
.cmp-tag-l { left: 10px; }
.cmp-tag-r { right: 10px; }
.cmp figcaption { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; }
.cmp-note { color: var(--ink-soft); }
.cmp-meta { color: var(--ink-muted); font-size: 0.76rem; line-height: 1.4; }
.compare-credit { margin: 18px 0 0; font-size: 0.82rem; color: var(--ink-soft); }

/* Hero holds the sample-home viewer; the dollhouse preview is a lazy-loaded section further down */
.hero-viewer { min-width: 0; }
.spinner[hidden], .progress-track[hidden], .btn[hidden] { display: none !important; }
#dollhouse .viewer-card { margin-top: 8px; }
