/* Homepage-only styles. Shared tokens/header/footer live in common.css. */
section { scroll-margin-top: 70px; }
.sec { padding: clamp(56px, 9vw, 112px) 0; }
.sec--alt { background: linear-gradient(180deg, #161618, #121214); border-top: 1px solid #222326; border-bottom: 1px solid #222326; }
.sec__head { max-width: 720px; margin: 0 0 clamp(28px, 4vw, 48px); }
.sec__head p { color: var(--sw-muted); font-size: 1.08rem; margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(50% 45% at 70% 40%, rgba(0, 206, 209, .10), transparent 70%),
    radial-gradient(40% 40% at 20% 30%, rgba(255, 179, 71, .08), transparent 70%);
}
.hero__grid { position: relative; display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 1080px) { .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); } }
.hero h1 { margin-bottom: .35em; font-size: clamp(2.2rem, 3.9vw, 3.4rem); }
.hero h1 span { display: block; color: var(--sw-amber); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #cfcac0; max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero__fine { font-size: 14px; color: var(--sw-muted); margin: 0; }
.hero__fine a { color: var(--sw-amber); }

@media (max-width: 480px) {
  .hero__ctas { gap: 10px; margin: 20px 0 14px; }
  .hero__ctas .btn-lg { padding: 13px 18px; font-size: 15px; }
  .hero__sub { font-size: 1rem; }
}
.stage { position: relative; aspect-ratio: 1920 / 1222; }
.stage__poster {
  width: 100%; height: 100%; object-fit: cover; border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .05);
  transition: opacity .8s ease;
}
.stage__canvas {
  position: absolute; inset: -6% -4%; width: 108%; height: 112%;
  opacity: 0; transition: opacity .8s ease; touch-action: pan-y;
}
.stage.is-3d .stage__canvas { opacity: 1; }
.stage.is-3d .stage__poster { opacity: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { display: flex; flex-direction: column; gap: 16px; }
.step h3::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-block; margin-right: 12px; font-family: var(--sw-font-mono); color: var(--sw-amber);
}
.step p { color: #cfcac0; margin: 0; }
.step__media { margin-top: auto; border-radius: 8px; overflow: hidden; background: #0b0b0c; display: flex; align-items: center; justify-content: center; }
.step__media--narrow { background: transparent; }
.step__media--narrow img { max-width: 320px; border-radius: 8px; }
.step__media img { width: 100%; }

/* ---------- Features ---------- */
.features { display: grid; gap: 20px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(2, 1fr); } }
.feature p { color: #cfcac0; margin: 0 0 14px; }
.feature p:last-child { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li {
  font: 600 12px/1 var(--sw-font-mono); letter-spacing: .06em; color: var(--sw-amber);
  background: var(--sw-recess); padding: 7px 9px; border-radius: 4px;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, .9);
}
.chips--cyan li { color: var(--sw-cyan); }
.feature__media { border-radius: 8px; overflow: hidden; margin-top: 4px; }

/* ---------- Genre showcase ---------- */
.genre-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.genre-tabs button {
  font: 700 13px/1 var(--sw-font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--sw-muted); background: #1c1c1f; border: 1px solid #3a3b3f; border-radius: 6px;
  padding: 10px 12px; cursor: pointer;
}
.genre-tabs button:hover { color: var(--sw-text); }
.genre-tabs button[aria-selected="true"] { color: var(--sw-amber); border-color: var(--sw-amber-dim); background: #0b0906; box-shadow: 0 0 12px rgba(255, 179, 71, .15); }
.demo { display: grid; gap: 14px; }
.demo__row { display: grid; gap: 14px; }
@media (min-width: 760px) { .demo__row { grid-template-columns: 2fr 1fr; } }
.demo__label { font: 700 10px/1 var(--sw-font-stencil); letter-spacing: .3em; color: var(--sw-muted); margin: 0 0 6px; text-transform: uppercase; }
.demo .vfd { min-height: 3.2em; font-size: 15px; margin: 0; }
.demo__meta { display: flex; gap: 8px; }
.demo__meta .vfd { flex: 1; min-height: 0; font-size: 13px; text-transform: uppercase; }
.screen { padding: 16px 18px 14px; }
.screen__head { margin: 0 0 6px; font-size: 14px; letter-spacing: .04em; }
.screen__cells { display: flex; flex-wrap: wrap; border-bottom: 1px solid rgba(0, 206, 209, .35); margin: 0 0 12px; list-style: none; padding: 0; }
.screen__cells li { flex: var(--beats) 1 0; min-width: 64px; padding: 14px 4px 12px; text-align: center; border-left: 1px solid rgba(0, 206, 209, .22); }
.screen__cells li:first-child { border-left: 0; }
.screen__cells b { display: block; font-size: clamp(15px, 2.6vw, 30px); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen__cells small { display: block; font-size: 12px; opacity: .75; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen__cells li.is-short b { font-size: clamp(11px, 1.6vw, 18px); }
.screen__why { margin: 0; font-size: 13px; line-height: 1.5; }
.demo__note { font-size: 13px; color: var(--sw-muted); margin: 6px 0 0; }
.genre-all { margin-top: clamp(32px, 5vw, 56px); }

/* ---------- Guide ---------- */
.guide { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.guide video { width: 100%; height: 100%; object-fit: contain; background: #000; }

/* ---------- Pricing ---------- */
.price { display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .price { grid-template-columns: 1fr 1.2fr; } }
.price__tag { text-align: center; padding: 28px 20px; }
.price__amount { font: 700 clamp(64px, 10vw, 104px)/1 var(--sw-font-mono); margin: 0; }
.price__once { margin: 8px 0 0; letter-spacing: .3em; font-size: 13px; }
.price__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 22px; }
.price ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.price li { display: flex; gap: 12px; align-items: baseline; }
.price li .led { flex: none; transform: translateY(-1px); }
.upgrade { border-left: 3px solid var(--sw-amber); padding: 12px 16px; background: rgba(255, 179, 71, .06); border-radius: 0 8px 8px 0; margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #1a1a1d; border: 1px solid #2e2f33; border-radius: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 400 24px/1 var(--sw-font-mono); color: var(--sw-amber); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: #cfcac0; }

/* ---------- Final CTA ---------- */
.cta-band { text-align: center; }
.cta-band p { color: var(--sw-muted); margin-bottom: 26px; }
.cta-band .hero__ctas { justify-content: center; }
