/* Sellora website · the setup guide page (setup.html).
   Builds on site.css: same colors, fonts, buttons and cards. */

.guide-main { padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 104px); }
.guide { max-width: calc(820px + var(--gutter) * 2); }

/* ---------- Top of the page ---------- */
.guide-head h1 { font-size: clamp(2.2rem, 1.45rem + 2.9vw, 3.5rem); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; }
.guide-head .lede { margin-top: 18px; }
.guide-toc ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.guide-toc a {
  display: flex; align-items: center; gap: 10px; height: 100%; min-height: 48px; padding: 8px 12px 8px 8px;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  color: var(--soft); text-decoration: none; font-size: 14.5px; font-weight: 600; line-height: 1.3;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease);
}
.guide-toc a:hover { color: #fff; border-color: var(--line-2); background: rgba(255, 255, 255, .06); transform: translateY(-1px); }
.guide-toc .n { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; border-radius: 9px; border: 1px solid var(--line-2); color: #fff; font: 800 14px/1 var(--display); }

/* ---------- Video (filled in by setup.js from config.js → setupVideoUrl) ---------- */
.guide-video { margin-top: clamp(28px, 4vw, 40px); }
.video-frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line-2);
  background: radial-gradient(70% 90% at 50% 0%, rgba(99, 102, 241, .22), transparent 70%), radial-gradient(50% 70% at 100% 100%, rgba(34, 211, 238, .1), transparent 70%), #0b0d14;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 30px 80px rgba(0, 0, 0, .5);
}
/* Widescreen only once there's a video; the "coming soon" box stays short */
.video-frame.has-video { aspect-ratio: 16 / 9; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-soon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: clamp(28px, 5vw, 44px) 20px; text-align: center; }
.video-soon img { width: 56px; height: 56px; margin-bottom: 6px; border-radius: 14px; box-shadow: 0 14px 36px rgba(99, 102, 241, .4); }
.video-soon-title { color: #fff; font: 700 clamp(1.05rem, .98rem + .4vw, 1.3rem)/1.3 var(--display); letter-spacing: -.015em; }
.video-soon p:not(.video-soon-title) { max-width: 30em; color: var(--muted); font-size: 14.5px; }
.video-soon .btn { margin-top: 8px; }
.video-link { margin-top: 10px; color: var(--muted); font-size: 14px; text-align: center; }

/* ---------- Cards ---------- */
.need, .more-card { padding: clamp(22px, 3vw, 32px); }
.need { margin-top: clamp(20px, 3vw, 28px); }
.need h2, .more-card h2 { margin-bottom: 16px; font-size: 1.25rem; font-weight: 750; letter-spacing: -.02em; }
.guide .ticks li b { color: #fff; font-weight: 650; }

/* ---------- The six steps ---------- */
.guide-steps { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 22px); margin: clamp(20px, 3vw, 28px) 0 0; padding: 0; list-style: none; }
.gstep { padding: clamp(22px, 3.2vw, 36px); scroll-margin-top: calc(var(--header-h) + 16px); }
.gstep-head { display: flex; align-items: center; gap: 16px; }
.gstep-num {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none;
  border-radius: 14px; background: var(--grad-btn); color: #fff; font: 800 20px/1 var(--display);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 24px rgba(99, 102, 241, .4);
}
.gstep h2 { font-size: clamp(1.3rem, 1.12rem + .7vw, 1.65rem); font-weight: 750; line-height: 1.2; letter-spacing: -.025em; }
.gstep-time { margin-top: 4px; color: var(--dim); font-size: 13.5px; font-weight: 600; }

/* Numbered clicks. Hidden items (the download options that don't apply) don't count. */
.clicks { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: click; }
.clicks > li { position: relative; padding-left: 42px; color: var(--soft); line-height: 1.65; counter-increment: click; }
.clicks > li::before {
  content: counter(click); position: absolute; left: 0; top: 0;
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border-radius: 50%; border: 1px solid rgba(165, 180, 252, .35); background: rgba(99, 102, 241, .12);
  color: #fff; font: 700 13.5px/1 var(--font);
}
.clicks b { color: #fff; font-weight: 650; }
.click-action { display: block; margin-top: 10px; }

/* A button or link name in Sellora, Chrome, Windows or Stripe: looks like something you click */
.ui {
  padding: 2px 8px; border-radius: 7px; border: 1px solid rgba(165, 180, 252, .32); background: rgba(99, 102, 241, .16);
  color: #fff; font-weight: 650; font-size: .93em; white-space: nowrap;
}
.chan { white-space: nowrap; } /* Discord channel names stay on one line */
.guide code { padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: #e0e7ff; font: 600 .9em/1.5 ui-monospace, "Cascadia Mono", Consolas, "SF Mono", monospace; overflow-wrap: anywhere; }
.guide kbd { display: inline-block; min-width: 1.7em; padding: 0 7px; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: rgba(255, 255, 255, .06); color: #fff; font: 650 .86em/1.6 var(--font); text-align: center; }

/* Tips and warnings */
.note { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(34, 211, 238, .26); background: rgba(34, 211, 238, .06); color: var(--soft); font-size: 15px; line-height: 1.6; }
.note .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--a3); }
.note b { color: #fff; font-weight: 650; }
.note-warn { border-color: rgba(251, 191, 36, .32); background: rgba(251, 191, 36, .07); }
.note-warn .ico { color: var(--warn); }
.gstep-head + .note { margin-top: 22px; }

/* Screenshots inside a step (frame and "Demo data" chip come from site.css) */
.gstep .shot { margin-top: 24px; }
.shot-popup { max-width: 340px; }
.shot-caption { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ---------- After setup + help ---------- */
.guide-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 22px); margin-top: clamp(28px, 4vw, 44px); }
.help-band {
  margin-top: clamp(28px, 4vw, 44px); padding: clamp(26px, 4vw, 44px); text-align: center;
  border-radius: var(--radius-lg); border: 1px dashed rgba(165, 180, 252, .35);
  background: radial-gradient(80% 120% at 50% 0%, rgba(99, 102, 241, .12), transparent 70%), rgba(255, 255, 255, .02);
}
.help-band h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); font-weight: 750; }
.help-band p { margin: 10px auto 22px; max-width: 34em; color: var(--muted); }
.help-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.guide-end { margin-top: 28px; color: var(--muted); text-align: center; }

/* ---------- Phones ---------- */
@media (max-width: 720px) {
  .guide-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-more { grid-template-columns: minmax(0, 1fr); }
  .gstep-head { gap: 14px; }
  .gstep-num { width: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
  .clicks > li { padding-left: 38px; }
  .help-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .video-soon { gap: 6px; }
  .video-soon img { width: 44px; height: 44px; margin-bottom: 2px; border-radius: 12px; }
  .video-soon p:not(.video-soon-title) { font-size: 13.5px; }
  .shot-popup { max-width: 100%; }
}
@media (max-width: 360px) {
  .guide-toc ol { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .guide-toc a:hover { transform: none; }
}

/* ---------- Printing the guide: black on white, no video or menus ---------- */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .skip, .guide-video, .guide-toc, .help-actions, .site-footer, .guide-end { display: none !important; }
  .card, .help-band, .note { box-shadow: none; background: #fff; border: 1px solid #bbb; }
  h1, h2, .guide b, .clicks b, .note b, .ticks li b { color: #000; }
  .lede, .clicks > li, .ticks li, .note, .gstep-time, .shot-caption, .help-band p { color: #222; }
  .kicker { background: none; color: #444; }
  .clicks > li::before { color: #000; background: #fff; border-color: #888; }
  .gstep-num { color: #000; background: #fff; border: 2px solid #000; box-shadow: none; }
  .ui, .guide code, .guide kbd { color: #000; background: #f1f1f6; border-color: #999; }
  .gstep { break-inside: avoid; }
  a { color: #000; }
}
