/* SITE-V2: the home page only (src/site/pages/home.js): hero with the panel screenshot, the panel tour,
 * the in-house comparison, how it works, the network strip and the FAQ snippet. Tokens only, no external
 * resources, no inline styles. The hero has no looping animation (so it needs no pause control), and the
 * hover transitions stop under reduced motion. */

/* ------------------------------------------------------------ hero */
.hero-v2 { padding: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) 0 clamp(3rem, 2rem + 4vw, 6rem); }
.hero-v2 .hero-copy, .hero-v2 .hero-visual { animation: none; }
.hero-v2 .hero-layout { gap: 2.5rem; }
@media (min-width: 1024px) { .hero-v2 .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; } }
.hero-title-v2 { text-transform: none; letter-spacing: -.02em; font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.08; max-width: 22ch; }
.hero-title-end { display: inline-block; }
.hero-v2 .lede { color: var(--muted); margin-bottom: 1rem; }
.hero-v2 .hero-instant { margin: 0 0 1.75rem; color: var(--text); font-weight: 600; max-width: 52ch; }
.hero-sale { margin: -.75rem 0 1.5rem; padding: .75rem 1rem; border-radius: var(--r-sm); border: 1px solid var(--site-ember-soft); background: var(--surface); color: var(--muted); }
.hero-sale strong { color: var(--text); }
.hero-visual-v2 { padding: 0; }
.hero-visual-v2 .shot { box-shadow: 0 40px 90px var(--site-shade), 0 0 90px var(--site-ember-soft); }

/* ------------------------------------------------------------ panel tour */
.tour { display: grid; gap: 3rem; }
.tour.is-tabbed { gap: 2rem; }
.tour-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.tour-tabs[hidden] { display: none; }
.tour-tab { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.tour-tab:hover { color: var(--text); border-color: var(--muted); }
.tour-tab[aria-selected="true"] { color: var(--text); border-color: var(--accent); background: var(--surface-3); box-shadow: 0 0 0 1px var(--accent) inset; }
.tour-num { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--surface-3); color: var(--site-cyan); font-size: .8rem; }
.tour-tab[aria-selected="true"] .tour-num { background: var(--accent); color: var(--accent-ink); }
.tour-panel { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .tour-panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; } }
.tour-panel[hidden] { display: none; }
.tour-panel:focus-visible { outline-offset: 8px; }
.tour-copy h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); margin: 0 0 .75rem; }
.tour-copy p { color: var(--muted); font-size: 1.05rem; }
.tour-points { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .7rem; }
.tour-points li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: .6rem; color: var(--text); }
.tour-points .icon { width: 1.2rem; height: 1.2rem; margin-top: .2rem; color: var(--site-led-green); }

/* ------------------------------------------------------------ in-house comparison */
.compare-wrap { max-width: 64rem; margin: 0 auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.compare th, .compare td { padding: 1rem 1.15rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { color: var(--muted); font-size: .9rem; font-weight: 700; background: var(--surface-2); }
.compare thead th.compare-us { color: var(--accent-text); }
.compare tbody th { color: var(--text); font-weight: 700; width: 22%; }
.compare td { color: var(--muted); }
.compare td.compare-us { color: var(--text); background: var(--surface-2); }
.compare-mark { display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; margin-right: .5rem; border-radius: 50%; vertical-align: -.25rem; }
.compare-mark .icon { width: .85rem; height: .85rem; }
.compare-no { background: var(--surface-3); color: var(--muted); }
.compare-yes { background: var(--site-ember-soft); color: var(--accent-text); }
@media (max-width: 760px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody th { width: auto; padding-bottom: .4rem; border-bottom: 0; background: var(--surface-2); }
  .compare td { border-bottom: 0; padding-top: .5rem; padding-bottom: .5rem; }
  .compare td::before { content: attr(data-label); display: block; color: var(--faint); font-size: .8rem; font-weight: 700; margin-bottom: .15rem; }
  .compare td.compare-us { background: var(--surface); padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .compare td.compare-us::before { color: var(--accent-text); }
  .compare tbody tr:last-child td.compare-us { border-bottom: 0; }
}

/* ------------------------------------------------------------ how it works */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { counter-increment: step; position: relative; padding: 1.4rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.step::before { content: counter(step); display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1rem; border-radius: 50%; background-image: linear-gradient(135deg, var(--site-ember-strong), var(--site-ember-hot)); color: var(--text); font-weight: 800; font-size: 1.05rem; }
.step h3 { margin: 0 0 .45rem; font-size: 1.12rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ------------------------------------------------------------ network strip */
.net-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background-color: var(--bg-2); background-image: linear-gradient(90deg, var(--site-cta-cool), var(--bg-2) 60%); }
.net-strip-row { display: grid; gap: 1rem 1.5rem; align-items: center; padding-top: 1.75rem; padding-bottom: 1.75rem; }
@media (min-width: 820px) { .net-strip-row { grid-template-columns: auto minmax(0, 1fr) auto; } }
.net-strip-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--site-cyan); }
.net-strip-copy h2 { margin: 0 0 .25rem; font-size: 1.3rem; }
.net-strip-copy p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }

/* ------------------------------------------------------------ FAQ snippet */
.faq-snippet .qa-list { max-width: 52rem; margin: 0 auto; display: grid; gap: .75rem; }
.qa { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .8rem 1.15rem; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.qa-chevron { flex: none; width: .65rem; height: .65rem; border-right: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(45deg); transition: transform .2s; }
.qa[open] .qa-chevron { transform: rotate(-135deg); }
.qa-answer { padding: 0 1.15rem 1.1rem; color: var(--muted); }
.qa-answer p { margin: 0; }
.qa-answer .qa-more { margin-top: .6rem; font-weight: 650; }

@media (prefers-reduced-motion: reduce) {
  .tour-tab, .qa-chevron { transition: none; animation: none !important; }
}
