/* ==========================================================================
   Setup guide page (instructions.html)
   Hero → sticky step rail + 6 steps (each: copy left, live visual right)
   → troubleshooting / FAQ (reuses pdp-faq.css + pdp-faq.js) → tech strip.
   Shopify: templates/page.setup.json — each step a block (number, title,
   richtext, tip, visual type / image).
   ========================================================================== */

html { scroll-behavior: smooth; }
body { background: var(--c-ink); }

.sg-hero,
.sg-guide,
.sg-tech { background: var(--c-ink); color: #fff; }

/* ---------- shared bits ---------- */

.sg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: 1000rem;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.sg-btn:hover { background: #fff; }
.sg-btn svg { width: 16px; height: 16px; }

.sg-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.sg-btn--ghost:hover { background: transparent; box-shadow: inset 0 0 0 1px #fff; }

.sg-tip {
  display: flex;
  gap: 12px;
  margin: 24px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(212, 255, 0, 0.06);
  box-shadow: inset 0 0 0 1px rgba(212, 255, 0, 0.25);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.sg-tip svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--c-accent); }
.sg-tip strong { color: #fff; }
.sg-tip a { color: var(--c-accent); }

.sg-tip--warn { background: rgba(255, 90, 102, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 90, 102, 0.3); }
.sg-tip--warn svg { color: #ff6b76; }

/* ---------- hero ---------- */

.sg-hero { padding: 72px var(--gutter) 88px; overflow: hidden; }

.sg-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
}

.sg-hero .eyebrow { color: var(--c-accent); }
.sg-hero .display { font-size: clamp(60px, 8vw, 128px); line-height: 0.88; }

.sg-hero__lead { max-width: 40ch; margin: 24px 0 0; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, 0.7); }

.sg-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.sg-need { margin-top: 40px; }

.sg-need p {
  margin: 0 0 12px;
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.sg-need ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

.sg-need li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #161616;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 600;
}

.sg-need svg { width: 16px; height: 16px; color: var(--c-accent); }

/* hero LED: "ready in 5:00" */
.sg-hero__led { position: relative; }

.sg-hero__led::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(closest-side, rgba(212, 255, 0, 0.12), transparent);
  pointer-events: none;
}

/* ---------- LED panel (same look as the product page screens) ---------- */

.sg-led {
  position: relative;
  padding: 3%;
  border-radius: 14px;
  background: linear-gradient(180deg, #1c1c1c, #0e0e0e);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 30px 60px rgba(0, 0, 0, 0.55);
}

.sg-led__screen {
  --u: 1cqw;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 2 / 1;
  padding: 5% 6%;
  overflow: hidden;
  border-radius: 4px;
  container-type: inline-size;
  background: radial-gradient(circle, #1f1f1f 0 1.1px, transparent 1.5px) 0 0 / 4px 4px, #000;
  color: #fff;
  font-family: "Silkscreen", var(--font-mono);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.sg-led__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 0 1.3px, #000 1.8px) 0 0 / 4px 4px;
  pointer-events: none;
}

.sg-led__row { display: flex; align-items: center; justify-content: space-between; gap: 4%; }
.sg-led__sm { font-size: calc(var(--u) * 5); color: #c8c8c8; }
.sg-led__md { font-size: calc(var(--u) * 7.5); }
.sg-led__xl { font-size: calc(var(--u) * 22); text-align: center; color: var(--c-accent); text-shadow: 0 0 calc(var(--u) * 3) rgba(212, 255, 0, 0.55); }
.sg-led__volt { color: var(--c-accent); }
.sg-led__team { color: var(--team); text-shadow: 0 0 calc(var(--u) * 2) var(--team); }
.sg-led__glow { text-shadow: 0 0 calc(var(--u) * 2) rgba(255, 255, 255, 0.45); }

.sg-led__dot {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-right: 0.4em;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0.6em #ff3b3b;
  animation: sg-blink 1.2s steps(2) infinite;
}

@keyframes sg-blink { 50% { opacity: 0.2; } }

/* setup-mode screen: pixel QR + code */
.sg-led__setup { flex-direction: row; align-items: center; gap: 7%; padding: 6% 7%; }
.sg-led__qr { height: 100%; aspect-ratio: 1; flex: none; }
.sg-led__qr svg { width: 100%; height: 100%; }
.sg-led__setup > div { display: grid; gap: calc(var(--u) * 3.2); }

/* ---------- guide: rail + steps ---------- */

.sg-guide { padding: 24px var(--gutter) 120px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

.sg-guide__inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}

/* rail */
.sg-rail { position: sticky; top: calc(var(--header-h) + 40px); padding-top: 72px; }

.sg-rail__title {
  margin: 0 0 18px;
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.sg-rail ol { position: relative; margin: 0; padding: 0; list-style: none; }

/* track + fill behind the numbers */
.sg-rail ol::before,
.sg-rail ol::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 15px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.sg-rail ol::after {
  bottom: auto;
  height: calc((100% - 32px) * var(--progress, 0));
  background: var(--c-accent);
  transition: height 0.5s var(--ease);
}

.sg-rail a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s;
}

.sg-rail a:hover { color: #fff; }

.sg-rail b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--c-ink);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.2);
  font: 700 11px/1 var(--font-mono);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.sg-rail a.is-done b { background: #1d2400; color: var(--c-accent); box-shadow: inset 0 0 0 1.5px var(--c-accent); }
.sg-rail a.is-active { color: #fff; }
.sg-rail a.is-active b { background: var(--c-accent); color: var(--c-accent-ink); box-shadow: none; }

.sg-rail__help {
  display: inline-flex;
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.sg-rail__help:hover { color: var(--c-accent); }

/* step blocks */
.sg-block {
  scroll-margin-top: calc(var(--header-h) + 24px);
  padding: 72px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sg-block:last-child { border-bottom: 0; }

.sg-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.sg-step__num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
}

.sg-block h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 3.6vw, 56px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.sg-block h2 em { font-style: normal; color: var(--c-accent); }

.sg-copy { max-width: 46ch; margin: 18px 0 0; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, 0.7); }
.sg-copy strong { color: #fff; }

/* numbered sub-steps */
.sg-sub { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: sub; }

.sg-sub li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  counter-increment: sub;
}

.sg-sub li::before {
  content: counter(sub);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: #1b1b1b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  font: 700 11px/1 var(--font-mono);
  color: var(--c-accent);
}

.sg-sub strong { color: #fff; }

/* option rows (step 5) */
.sg-opts { display: grid; gap: 2px; margin: 22px 0 0; padding: 0; list-style: none; }

.sg-opts li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.sg-opts li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.sg-opts b { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.04em; }

/* visual stage */
.sg-vis {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  min-height: 440px;
  padding: 40px 28px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(212, 255, 0, 0.09), transparent 70%),
    #121212;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sg-vis--led .sg-led { width: 100%; max-width: 440px; }

.sg-vis__caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font: 700 10px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- before you start ---------- */

.sg-before h2 { margin-bottom: 28px; }

.sg-kit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }

.sg-kit li {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
  border-radius: 18px;
  background: #141414;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.sg-kit span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #1d1d1d;
  color: var(--c-accent);
}

.sg-kit svg { width: 22px; height: 22px; }
.sg-kit small { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, 0.5); }

.sg-before__tips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sg-before__tips .sg-tip { margin-top: 12px; }

/* ---------- phone mockup ---------- */

.sg-phone {
  position: relative;
  width: 230px;
  aspect-ratio: 9 / 19.5;
  padding: 9px;
  border-radius: 38px;
  background: #111;
  box-shadow: inset 0 0 0 1.5px #3a3a3a, inset 0 0 0 4px #0b0b0b, 0 30px 60px rgba(0, 0, 0, 0.6);
}

.sg-phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 46px 14px 16px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(180deg, #1f1f1f 0%, #141414 100%);
  font-size: 11px;
}

.sg-phone__screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 32%;
  height: 22px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}

.sg-phone__screen img { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover; }

.sg-app__title { margin: 0 0 12px; font-family: var(--font-display); font-size: 22px; line-height: 1; text-transform: uppercase; }
.sg-app__label { margin: 14px 0 8px; font: 700 9px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }

.sg-app__list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }

.sg-app__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 11px;
  background: #262626;
  font-size: 11.5px;
  font-weight: 600;
}

.sg-app__list li small { margin-left: auto; font-size: 9px; font-weight: 700; color: rgba(255, 255, 255, 0.4); }
.sg-app__list li.is-on { background: #1d2400; box-shadow: inset 0 0 0 1.5px var(--c-accent); }
.sg-app__list li.is-on small { color: var(--c-accent); }
.sg-app__list li.is-off { opacity: 0.4; }
.sg-app__list svg { width: 14px; height: 14px; flex: none; }

.sg-app__swatch { width: 14px; outline: 1px solid rgba(255,255,255,.25); outline-offset: 1px; height: 14px; flex: none; border-radius: 50%; background: var(--team); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.25); }

.sg-app__tabs { display: flex; gap: 5px; margin-bottom: 6px; }

.sg-app__tabs span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #262626;
  font-size: 9.5px;
  font-weight: 700;
}

.sg-app__tabs span.is-on { background: var(--c-accent); color: var(--c-accent-ink); }

.sg-app__btn {
  display: grid;
  place-items: center;
  height: 38px;
  margin-top: auto;
  border-radius: 999px;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* step 1: app store card */
.sg-get { display: flex; align-items: center; gap: 28px; }

.sg-get__app { display: grid; justify-items: center; gap: 14px; padding-top: 20px; text-align: center; }

.sg-get__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font-family: var(--font-display);
  font-size: 30px;
  box-shadow: 0 10px 30px rgba(212, 255, 0, 0.25);
}

.sg-get__app strong { display: block; font-size: 16px; }
.sg-get__app small { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.5); }

.sg-get__stars { color: var(--c-accent); letter-spacing: 0; font-size: 12px; }

.sg-get__qr {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  color: var(--c-ink);
  font: 700 10px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sg-get__qr svg { width: 128px; height: 128px; }

.sg-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.sg-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--c-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.05;
  transition: transform 0.25s var(--ease);
}

.sg-store:hover { transform: translateY(-2px); }
.sg-store svg { width: 22px; height: 22px; }
.sg-store small { display: block; font-size: 9px; font-weight: 500; }

/* step 2: plug + screen */
.sg-power { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 22px; width: 100%; max-width: 440px; }
.sg-power .sg-led { width: 100%; }

.sg-power__chain { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; max-width: 100%; font: 700 10px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }

.sg-power__chain span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #1b1b1b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.sg-power__chain span { white-space: nowrap; }
.sg-power__chain svg { width: 14px; height: 14px; flex: none; color: var(--c-accent); }
.sg-power__chain i { display: none; }

/* step 5: rotating screens + timer */
.sg-cycle { display: grid; gap: 14px; width: 100%; max-width: 440px; }
.sg-cycle .sg-led__screen > * { transition: opacity 0.2s; }
.sg-cycle .sg-led__screen.is-changing > * { opacity: 0; }

.sg-cycle__bar { height: 3px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, 0.1); }
.sg-cycle__bar i { display: block; height: 100%; width: 0; background: var(--c-accent); }
.sg-cycle.is-running .sg-cycle__bar i { animation: sg-timer var(--t, 4s) linear infinite; }
@keyframes sg-timer { to { width: 100%; } }

.sg-cycle__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }

.sg-cycle__tabs span {
  padding: 7px 12px;
  border-radius: 999px;
  font: 700 10px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: background-color 0.25s, color 0.25s;
}

.sg-cycle__tabs span.is-on { background: var(--c-accent); color: var(--c-accent-ink); box-shadow: none; }

.sg-led__table { display: grid; gap: 6%; height: 100%; align-content: center; }
.sg-led__table .sg-led__row { justify-content: flex-start; gap: 6%; }
.sg-led__table .sg-led__row span:last-child { margin-left: auto; }

/* step 6: placement photos */
.sg-place { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }

.sg-place figure { margin: 0; }

.sg-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 22px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 12px, transparent 12px 24px),
    #141414;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.3);
  font: 700 11px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sg-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sg-photo span { display: grid; justify-items: center; gap: 12px; }
.sg-photo svg { width: 34px; height: 34px; }

.sg-place figcaption { margin-top: 16px; }
.sg-place figcaption strong { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 400; text-transform: uppercase; }
.sg-place figcaption p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.65); }

.sg-done {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding: 28px 32px;
  border-radius: 24px;
  background: var(--c-accent);
  color: var(--c-accent-ink);
}

.sg-done strong { display: block; font-family: var(--font-display); font-size: clamp(30px, 3vw, 44px); font-weight: 400; line-height: 1; text-transform: uppercase; }
.sg-done p { margin: 8px 0 0; font-size: 15px; }
.sg-done > span { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--c-accent-ink); color: var(--c-accent); }
.sg-done svg { width: 30px; height: 30px; }

/* ---------- reveal once ---------- */

.sg-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.sg-reveal.is-in { opacity: 1; transform: none; }

/* ---------- tech + still stuck ---------- */

.sg-tech { padding: 96px var(--gutter) 120px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

.sg-tech__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  max-width: 1160px;
  margin: 0 auto;
}

.sg-tech .eyebrow { color: var(--c-accent); }
.sg-tech .display { font-size: clamp(40px, 4.6vw, 72px); line-height: 0.92; }

.sg-tech dl { margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }

.sg-tech dl div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sg-tech dt { font: 700 11px/1.6 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.sg-tech dd { margin: 0; font-size: 15px; }

.sg-tech--stuck { padding-bottom: 0; }
.sg-tech--stuck + .sg-tech { border-top: 0; }

.sg-stuck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 36px 40px;
  border-radius: 28px;
  background: #141414;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sg-stuck strong { display: block; font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 52px); font-weight: 400; line-height: 1; text-transform: uppercase; }
.sg-stuck strong em { font-style: normal; color: var(--c-accent); }
.sg-stuck p { max-width: 52ch; margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.65); }
.sg-stuck__ctas { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .sg-guide__inner { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; }
  .sg-step { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sg-kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .sg-hero { padding: 48px var(--gutter) 64px; }
  .sg-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }

  .sg-guide { padding-top: 0; }
  .sg-guide__inner { grid-template-columns: minmax(0, 1fr); gap: 0; }

  /* rail becomes a sticky chip strip under the header */
  .sg-rail {
    top: var(--header-h);
    z-index: 5;
    margin: 0 calc(var(--gutter) * -1);
    padding: 12px var(--gutter);
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sg-rail__title,
  .sg-rail .sg-rail__help,
  .sg-rail ol::before,
  .sg-rail ol::after { display: none; }

  .sg-rail ol { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .sg-rail ol::-webkit-scrollbar { display: none; }
  .sg-rail a { padding: 0 12px 0 0; gap: 8px; border-radius: 999px; background: #161616; white-space: nowrap; font-size: 13px; }
  .sg-rail a.is-active { background: #1d2400; }
  .sg-rail b { width: 30px; height: 30px; }

  .sg-block { padding: 56px 0; scroll-margin-top: calc(var(--header-h) + 72px); }
  .sg-step__num { font-size: 64px; }
  .sg-vis { min-height: 380px; }
  .sg-before__tips { grid-template-columns: 1fr; }

  .sg-tech__inner { grid-template-columns: 1fr; gap: 32px; }
  .sg-stuck { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}

@media (max-width: 560px) {
  .sg-kit { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sg-kit li { padding: 16px; }
  .sg-get { flex-direction: column; gap: 20px; }
  .sg-get__qr { display: none; }
  .sg-place { grid-template-columns: 1fr; }
  .sg-vis { padding: 32px 16px 44px; }
  .sg-power__chain { flex-wrap: wrap; justify-content: center; }
  .sg-opts li { grid-template-columns: 1fr; gap: 4px; }
  .sg-tech dl div { grid-template-columns: 1fr; gap: 4px; }
  .sg-done { padding: 24px; }
  .sg-done > span { display: none; }
  .sg-phone { width: 210px; }
  .sg-led__screen { background-size: 2.5px 2.5px; }
  .sg-led__screen::after { background: radial-gradient(circle, transparent 0 0.8px, #000 1.15px) 0 0 / 2.5px 2.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .sg-reveal { opacity: 1; transform: none; transition: none; }
  .sg-cycle.is-running .sg-cycle__bar i { animation: none; }
}
