/* ReelSkillz — Installation guide pages (install-mac.html / install-windows.html) */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0b;
  --card: #100f0d;
  --line: #211f1b;
  --line2: #2b2822;
  --accent: #ff6a1a;
  --accent2: #ff8a3a;
  --ink: #ffffff;
  --dim: #b9b4ab;
  --mute: #8f887c;
  --warn: #e0433a;
  --ok: #4ec27a;
}

html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
}
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: 'Space Mono', monospace; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── ambience ─────────────────────────────────────────── */
.vignette { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 50% 30%, transparent 46%, rgba(0,0,0,0.62) 100%); }
.glow { position: fixed; top: -180px; left: 50%; width: 900px; height: 660px;
  transform: translateX(-50%); background: radial-gradient(circle, rgba(255,106,26,0.14), transparent 70%);
  filter: blur(120px); pointer-events: none; z-index: 0; }

/* ── nav ──────────────────────────────────────────────── */
nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; background: rgba(9,9,10,0.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.brand .name { font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; }
.navlinks { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }
.navlinks a { color: #d9d5cc; }
.navlinks a:hover { color: #fff; }

.btn { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Manrope', sans-serif; font-weight: 700; border: none; border-radius: 3px;
  transition: background .2s, border-color .2s, color .2s, transform .1s; }
.btn-primary { color: #0a0a0b; background: var(--accent); box-shadow: 0 8px 30px rgba(255,106,26,0.22); }
.btn-primary:hover { background: var(--accent2); }
.btn-ghost { color: #fff; background: transparent; border: 1px solid var(--line2); }
.btn-ghost:hover { border-color: #4a4436; }

main { position: relative; z-index: 1; flex: 1; }

/* ── hero ─────────────────────────────────────────────── */
.hero { text-align: center; padding: 68px 0 4px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: 'Space Mono', monospace;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #fff;
  border: 1px solid var(--line); padding: 7px 14px; border-radius: 100px; margin-bottom: 22px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1 { font-size: 52px; line-height: 1.04; letter-spacing: -0.03em; font-weight: 900; margin-bottom: 16px; text-wrap: balance; }
.lede { font-size: 18px; line-height: 1.6; color: var(--dim); max-width: 620px; margin: 0 auto; text-wrap: pretty; }

/* OS switch */
.osswitch { display: inline-flex; gap: 4px; margin: 28px auto 0; padding: 4px;
  background: var(--card); border: 1px solid var(--line); border-radius: 100px; }
.osswitch a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 100px;
  font-size: 14px; font-weight: 600; color: var(--dim); transition: background .2s, color .2s; }
.osswitch a svg { width: 15px; height: 15px; fill: currentColor; }
.osswitch a:hover { color: #fff; }
.osswitch a[aria-current="page"] { background: #ffffff; color: #0a0a0b; }

.herometa { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 22px;
  font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--mute); }
.herometa a { color: var(--accent2); border-bottom: 1px solid transparent; }
.herometa a:hover { border-color: var(--accent2); }

/* ── layout: sticky TOC + content ─────────────────────── */
.layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 56px; margin-top: 62px; align-items: start; }

.toc { position: sticky; top: 96px; }
.toc .label { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #5c5850; margin-bottom: 16px; }
.toc ol { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc a { display: flex; gap: 12px; padding: 9px 12px; border-radius: 6px; font-size: 13.5px; line-height: 1.45;
  color: var(--dim); border-left: 2px solid transparent; transition: background .18s, color .18s, border-color .18s; }
.toc a .num { font-family: 'Space Mono', monospace; font-size: 11px; color: #5c5850; padding-top: 2px; }
.toc a:hover { background: #131210; color: #fff; }
.toc a.active { background: #141210; color: #fff; border-left-color: var(--accent); }
.toc a.active .num { color: var(--accent); }

/* ── steps ────────────────────────────────────────────── */
.step { padding: 0 0 12px; scroll-margin-top: 92px; }
.step + .step { margin-top: 58px; padding-top: 58px; border-top: 1px solid var(--line); }
.step .kicker { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.step h2 { font-size: 32px; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; margin-bottom: 14px; }
.step p { font-size: 16px; line-height: 1.68; color: var(--dim); max-width: 68ch; }
.step p + p { margin-top: 12px; }
.step b, .step strong { color: #fff; font-weight: 700; }
.step em { color: #e6e2da; font-style: italic; }

/* numbered sub-steps */
.substeps { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 18px; max-width: 68ch; }
.substeps li { display: flex; gap: 14px; font-size: 16px; line-height: 1.62; color: var(--dim); }
.substeps li .idx { flex: 0 0 26px; height: 26px; border-radius: 50%; background: #1c1a16; border: 1px solid var(--line2);
  color: #fff; font-family: 'Space Mono', monospace; font-size: 12px; display: flex; align-items: center;
  justify-content: center; margin-top: 1px; }

/* ── figures ──────────────────────────────────────────── */
.shots { display: grid; gap: 18px; margin-top: 26px; }
.shots.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
figure { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px;
  display: flex; flex-direction: column; gap: 14px; }

/* fixed-height stage so every screenshot lines up across a row */
figure .plate { background: #141317; border: 1px solid #1d1b22; border-radius: 9px; padding: 18px;
  display: flex; align-items: center; justify-content: center; height: 400px; overflow: hidden; }
.shots.two figure .plate { height: 350px; }

figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: 6px; box-shadow: 0 16px 44px rgba(0,0,0,0.5); }

@media (max-width: 980px) {
  figure .plate, .shots.two figure .plate { height: 330px; }
}
@media (max-width: 720px) {
  figure .plate, .shots.two figure .plate { height: 250px; padding: 12px; }
}
figcaption { font-size: 13px; line-height: 1.6; color: var(--mute); }
figcaption b { color: #d9d5cc; font-weight: 700; }
figcaption .idx { font-family: 'Space Mono', monospace; color: var(--accent2); margin-right: 4px; }

/* ── callouts ─────────────────────────────────────────── */
.note { border-radius: 8px; padding: 18px 20px; margin-top: 24px; font-size: 15px; line-height: 1.65;
  color: var(--dim); max-width: 68ch; border: 1px solid var(--line); background: #0d0c0a; }
.note b, .note strong { color: #fff; }
.note--warn { border-color: rgba(224,67,58,0.35); background: rgba(224,67,58,0.07); }
.note--warn b { color: #ff8078; }
.note--why { border-left: 3px solid var(--accent); }
.note--ok { border-color: rgba(78,194,122,0.3); background: rgba(78,194,122,0.06); }
.note--ok b { color: var(--ok); }
.note .tag { display: block; font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }

/* node path chip */
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; padding: 20px 22px;
  background: #131210; border: 1px solid var(--line2); border-radius: 8px;
  font-family: 'Space Mono', monospace; font-size: 15px; letter-spacing: 0.01em; color: #fff; }
.path .arrow { color: var(--accent); }

/* ── FAQ ──────────────────────────────────────────────── */
.faq { margin-top: 58px; padding-top: 58px; border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.faq h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 22px; }
.faq details { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 0 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 17px 0; font-size: 15.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: 'Space Mono', monospace; font-size: 18px; color: var(--accent); flex: 0 0 auto; }
.faq details[open] summary::after { content: '–'; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .a { padding: 15px 0 19px; font-size: 15px; line-height: 1.68; color: var(--dim); }
.faq .a b { color: #fff; }

/* ── closing CTA ──────────────────────────────────────── */
.endcta { margin-top: 58px; border: 1px solid var(--line2); background: var(--card); border-radius: 12px;
  padding: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.endcta h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.endcta p { font-size: 14.5px; line-height: 1.6; color: var(--dim); }
.endcta .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.endcta .btn { padding: 13px 22px; font-size: 14.5px; }

/* ── footer ───────────────────────────────────────────── */
footer { position: relative; z-index: 1; border-top: 1px solid #211f1b; background: #070706; margin-top: 84px; }
.rs-socrow { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.rs-soc { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 10px; background: #141210; border: 1px solid #262320; color: #cfcabf;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease; }
.rs-soc svg { width: 19px; height: 19px; display: block; }
.rs-soc:hover { transform: translateY(-2px); }
.rs-soc.wa:hover { background: rgba(37,211,102,.14); border-color: #25D366; color: #25D366; }
.rs-soc.tg:hover { background: rgba(34,158,217,.14); border-color: #229ED9; color: #229ED9; }
.rs-soc.fb:hover { background: rgba(24,119,242,.14); border-color: #1877F2; color: #1877F2; }
.rs-foot-grid { display: flex; flex-wrap: wrap; gap: 36px 60px; justify-content: space-between; }
.rs-foot-bottom { border-top: 1px solid #1a1713; margin-top: 36px; padding-top: 22px; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; gap: 32px; margin-top: 46px; }
  .toc { position: static; }
  .toc ol { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .toc a { white-space: nowrap; border-left: none; border: 1px solid var(--line); border-radius: 100px; padding: 8px 14px; }
  .toc a.active { border-color: var(--accent); }
}
@media (max-width: 720px) {
  h1 { font-size: 36px; }
  .lede { font-size: 16.5px; }
  .step h2 { font-size: 25px; }
  .step p, .substeps li { font-size: 15.5px; }
  .shots.two { grid-template-columns: 1fr; }
  .navlinks { gap: 16px; font-size: 13px; }
  .navlinks .hide-sm { display: none; }
  .path { font-size: 13px; padding: 16px 18px; }
  .endcta { padding: 26px; }
  figure { padding: 12px; }
  figure .plate { padding: 10px; }
}
