.home-hero { background: radial-gradient(ellipse at 66% 40%, #3a2015 0%, transparent 68%); }
.home-hero-layout { display: grid; gap: 16px; padding-block: 24px 22px; }
.home-lead { text-align: center; }
.home-lead h1 { font-size: calc(var(--ds) * clamp(2rem, 3.6vw, 3.55rem)); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; }
.home-lead p { margin-top: 9px; color: var(--bone); font-size: clamp(.98rem, 1.55vw, 1.2rem); }
.home-board { display: grid; grid-template-columns: minmax(0, .62fr) minmax(135px, .42fr) minmax(0, 1.42fr); gap: 18px; align-items: center; }
.home-source { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; height: min(30vh, 268px); margin: 0; overflow: hidden; border: 1px solid #68442f; border-radius: 13px; background: #1b1411; }
.home-source img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-source figcaption { padding: 7px; color: var(--ash); text-align: center; border-top: 1px solid var(--soot); font: 500 .7rem/1.3 var(--f-mono); }
.home-process { min-width: 0; font-size: .82rem; }
.home-process p { margin: 0 0 10px; color: var(--flame); line-height: 1.25; font: 500 .77rem/1.3 var(--f-mono); }
.home-process ol { margin: 0; padding: 0; list-style: none; }
.home-process li { display: flex; justify-content: space-between; gap: 4px; padding: 5px 0; border-bottom: 1px solid var(--soot); }
.home-process li::before { content: "→"; color: var(--ember); }
.home-step-time { margin-inline-start: auto; color: var(--ash); }
.home-demo { min-width: 0; }
.home-stage { position: relative; height: min(39svh, 373px); min-height: 220px; overflow: hidden; isolation: isolate; border: 1px solid #68442f; border-radius: 15px; background: #191411; }
#home-viewer, #home-viewer-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#home-viewer canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.home-controls, .home-viewer-label { position: absolute; z-index: 2; bottom: 8px; }
.home-controls { right: 8px; display: flex; gap: 5px; }
.home-controls .chip { min-height: 30px; padding: 4px 8px; }
.home-viewer-label { left: 9px; max-width: calc(100% - 148px); color: var(--ash); background: #191411e6; border-radius: 4px; padding: 4px 5px; font: .7rem/1.25 var(--f-mono); pointer-events: none; }
.home-viewer-status { position: absolute; top: 45%; width: 100%; color: var(--bone); text-align: center; pointer-events: none; }
.home-samples { padding-top: 8px; gap: 5px; }
.home-actions { display: grid; gap: 7px; justify-items: center; }
.home-actions .ctas { justify-content: center; }
.home-local { color: var(--ash); font-size: .85rem; text-underline-offset: 3px; }
.home-hero[data-hero="b"] .home-hero-layout { grid-template-columns: minmax(320px,.8fr) minmax(0,1.2fr); grid-template-rows: 1fr auto; column-gap: 28px; }
.home-hero[data-hero="b"] .home-lead { align-self: center; text-align: left; }
.home-hero[data-hero="b"] .home-board { grid-column: 2; grid-row: 1 / 3; display: block; position: relative; }
.home-hero[data-hero="b"] .home-stage { height: min(63svh, 565px); }
.home-hero[data-hero="b"] .home-actions { grid-column: 1; grid-row: 2; justify-items: start; padding-bottom: 12px; }
.home-hero[data-hero="b"] .home-actions .ctas { justify-content: flex-start; }
.home-hero[data-hero="b"] .home-source { position: absolute; z-index: 3; inset: 10px auto auto 10px; width: clamp(85px, 13vw, 153px); height: auto; aspect-ratio: 4/5; }
.home-hero[data-hero="b"] .home-process { display: none; }
.home-install .install { margin-top: 20px; scroll-margin-top: 98px; }

@media (max-width: 820px) {
  .home-board { grid-template-columns: minmax(90px,.33fr) minmax(0,1fr); column-gap: 9px; row-gap: 6px; }
  .home-process { grid-column: 1/-1; grid-row: 2; text-align: center; }
  .home-process p { margin-bottom: 4px; }
  .home-process ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 8px; }
  .home-process li { border: 0; padding: 0; gap: 3px; }
  .home-step-time { display: none; }
  .home-stage { min-height: 0; height: clamp(160px, 34svh, 290px); }
  .home-source { height: min(27svh, 207px); }
  .home-lead h1 { font-size: calc(var(--ds) * clamp(1.7rem, 6vw, 2.7rem)); }
  .home-hero[data-hero="b"] .home-hero-layout { display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: auto; }
  .home-hero[data-hero="b"] .home-board, .home-hero[data-hero="b"] .home-actions { grid-column: 1; grid-row: auto; }
  .home-hero[data-hero="b"] .home-lead { text-align: center; }
  .home-hero[data-hero="b"] .home-actions { justify-items: center; padding: 0; }
  .home-hero[data-hero="b"] .home-actions .ctas { justify-content: center; }
  .home-hero[data-hero="b"] .home-stage { height: clamp(190px, 39svh, 330px); }
  .home-hero[data-hero="b"] .home-source { width: clamp(70px, 20vw, 112px); }
}

.home-get-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-get-grid li { padding: 20px; border: 1px solid var(--soot); border-radius: 14px; background: var(--char); }
.home-get-grid h3 { font-size: 1.05rem; margin-bottom: 8px; }
.home-get-grid p { color: var(--ash); font-size: .93rem; }
.home-proof { display: inline-block; margin-top: 8px; color: var(--flame); font: 500 .85rem/1 var(--f-mono); }
.home-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 18px; padding: 16px 20px; border: 1px solid #68442f; border-radius: 14px; }
.home-price p { color: var(--bone); }
@media (max-width: 760px) { .home-get-grid { grid-template-columns: 1fr; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home-prompt { display: flex; gap: 8px; margin-top: 22px; max-width: 560px; padding: 6px; border: 1px solid #68442f; border-radius: 14px; background: var(--char); }
.home-lead .home-prompt { margin-inline: auto; }
.home-hero[data-hero="b"] .home-lead .home-prompt { margin-inline: 0; }
.home-prompt input { flex: 1; min-width: 0; padding: 12px 12px; border: 0; background: transparent; color: var(--bone); font: 400 1.05rem/1.3 var(--f-body); }
.home-prompt input:focus { outline: none; }
.home-prompt:focus-within { border-color: var(--ember); }
.home-prompt .btn { padding: 14px 22px; font-size: 1.05rem; }
.home-actions .ctas .btn { padding: 17px 28px; font-size: 1.12rem; border-radius: 12px; }
@media (max-width: 820px) { .home-actions .ctas .btn { padding: 14px 20px; font-size: 1rem; } }
