.faq-nav { position: fixed; }
.nav nav a.active { opacity: 1; color: var(--acid); }

.faq-hero {
  min-height: 620px; padding: 155px 7vw 80px; position: relative;
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.faq-kicker, .install-head span, .questions-title > span, .faq-cta > span {
  font: 500 10px var(--font-mono); letter-spacing: .14em; color: var(--acid);
}
.faq-hero h1 {
  font: 800 clamp(64px, 8.5vw, 128px) / .86 var(--font-display);
  letter-spacing: -.06em; margin: 36px 0 28px;
}
.faq-hero h1 em { font-style: normal; color: var(--acid); }
.faq-hero > p {
  font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 480px;
}
.faq-cube {
  position: absolute; right: 12vw; top: 210px; width: 200px; height: 200px;
  background: var(--bg-elev); color: var(--acid); display: grid; place-items: center;
  transform: rotate(12deg); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 22px 22px 0 rgba(255, 199, 0, .35);
}
.faq-cube span {
  font: 700 32px var(--font-mono); transform: rotate(-12deg);
}
.faq-cube i {
  position: absolute; border: 1px solid rgba(255, 199, 0, .3); inset: -40px;
  border-radius: 28px; animation: faqPulse 3s infinite;
}
.faq-cube i:nth-child(2) { inset: -90px; animation-delay: 1s; }
.faq-cube i:nth-child(3) { inset: -140px; animation-delay: 2s; }
@keyframes faqPulse {
  50% { opacity: .15; transform: rotate(15deg); }
}

.install { padding: 120px 7vw; }
.install-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 60px; gap: 40px;
}
.install-head h2, .questions-title h2, .faq-cta h2 {
  font: 700 clamp(46px, 5.5vw, 78px) / .95 var(--font-display);
  letter-spacing: -.045em; margin: 18px 0 0;
}
.install-head h2 i { font-style: normal; color: var(--acid); }
.install-head > p {
  max-width: 420px; color: var(--muted); line-height: 1.7; font-size: 14px;
}
.install-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.install-grid article {
  min-height: 380px; background: var(--bg-elev); border: 1px solid var(--line);
  padding: 28px; display: flex; flex-direction: column; border-radius: var(--radius);
}
.install-grid article:nth-child(2) { background: #0a0a0a; }
.install-grid article:nth-child(3) {
  background: var(--acid); color: #111; border-color: transparent;
}
.install-grid article > b { font: 10px var(--font-mono); color: var(--acid); }
.install-grid article:nth-child(3) > b { color: #111; }
.step-icon { font: 500 72px var(--font-display); margin: auto 0; line-height: 1; }
.install-grid h3 { font: 700 24px var(--font-display); margin: 0 0 12px; }
.install-grid p { font-size: 13px; line-height: 1.65; opacity: .72; margin: 0; }

.path-card {
  margin-top: 14px; background: var(--acid); color: #111; min-height: 140px;
  padding: 28px; display: flex; align-items: center; justify-content: space-between;
  border-radius: var(--radius); gap: 24px;
}
.path-card span { display: block; font: 10px var(--font-mono); margin-bottom: 16px; }
.path-card code { font: 500 15px var(--font-mono); }
.path-card code b { margin: 0 9px; opacity: .4; }
.path-card code strong {
  background: #111; color: var(--acid); padding: 7px 9px; border-radius: 6px;
}
.copy-path {
  border: 1px solid #111; background: transparent; padding: 14px 18px;
  font: 500 10px var(--font-mono); border-radius: 10px; color: #111;
}
.copy-path.copied { background: #111; color: var(--acid); }

.os-paths {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden; background: var(--bg-elev);
}
.os-paths > div { padding: 24px; border-right: 1px solid var(--line); }
.os-paths > div:last-child { border: 0; }
.os-paths b {
  display: block; font: 10px var(--font-mono); color: var(--acid); margin-bottom: 12px;
}
.os-paths code { font: 11px var(--font-mono); overflow-wrap: anywhere; color: var(--muted); }

.warning {
  margin-top: 28px; border-left: 4px solid var(--acid); display: flex; gap: 20px;
  align-items: center; padding: 20px 24px; background: var(--bg-elev);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.warning > span { font: 700 26px var(--font-display); color: var(--acid); }
.warning p { font-size: 13px; line-height: 1.6; margin: 0; color: var(--muted); }

.questions {
  background: #0a0a0a; color: var(--ink); padding: 120px 7vw;
  display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw;
}
.questions-title { position: sticky; top: 80px; align-self: start; }
.questions-title h2 { margin-top: 22px; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; display: grid; grid-template-columns: 45px 1fr 30px;
  align-items: center; padding: 28px 0; cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { font: 10px var(--font-mono); color: var(--acid); }
.accordion summary b { font: 600 18px var(--font-display); }
.accordion summary i {
  font: 300 25px var(--font-body); font-style: normal; text-align: right; transition: .25s;
}
.accordion details[open] summary i { transform: rotate(45deg); color: var(--acid); }
.accordion details p {
  font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0 30px 28px 45px;
  max-width: 600px;
}

.faq-cta {
  min-height: 560px; background: var(--acid); color: #111;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px 20px;
}
.faq-cta > span { color: #111; }
.faq-cta h2 { margin: 25px 0 40px; }
.faq-cta h2 em { font-style: normal; color: #fff; }
.faq-cta .button.light { background: #111; color: var(--acid); }

.fix-launcher {
  padding: 120px 7vw; background: var(--bg-elev); color: var(--ink);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center;
  scroll-margin-top: 30px; border-top: 1px solid var(--line);
}
.fix-copy > span {
  font: 500 10px var(--font-mono); color: var(--acid); letter-spacing: .14em;
}
.fix-copy h2 {
  font: 700 clamp(46px, 5.5vw, 78px) / .95 var(--font-display);
  letter-spacing: -.045em; margin: 25px 0;
}
.fix-copy h2 em { font-style: normal; color: var(--acid); }
.fix-copy > p {
  color: var(--muted); line-height: 1.75; font-size: 14px; max-width: 570px;
}
.fix-safe {
  display: flex; gap: 15px; align-items: center; border-top: 1px solid var(--line);
  margin-top: 35px; padding-top: 25px; font-size: 13px; color: var(--muted);
}
.fix-safe i {
  width: 30px; height: 30px; background: var(--acid); color: #111; font-style: normal;
  display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px;
}
.fix-safe b { color: var(--ink); }
.fix-panel {
  background: #0a0a0a; padding: 12px; border-radius: var(--radius); border: 1px solid var(--line);
}
.fix-terminal { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.fix-terminal > div {
  height: 46px; border-bottom: 1px solid var(--line); display: flex;
  align-items: center; gap: 7px; padding: 0 15px;
}
.fix-terminal > div i {
  width: 7px; height: 7px; border-radius: 50%; background: #555;
}
.fix-terminal > div i:first-child { background: var(--acid); }
.fix-terminal > div span {
  margin-left: auto; font: 9px var(--font-mono); color: var(--dim);
}
.fix-terminal code {
  display: block; padding: 32px; font: 11px / 2.4 var(--font-mono); color: var(--dim);
}
.fix-terminal code b { color: var(--acid); }
.fix-terminal code em { color: #7dff9a; font-style: normal; float: right; }
.fix-terminal code strong { color: var(--acid); font-weight: 500; float: right; }
.fix-download {
  margin-top: 12px; min-height: 64px; background: var(--acid); color: #111;
  display: flex; align-items: center; justify-content: space-between; padding: 0 20px;
  text-decoration: none; font: 600 11px var(--font-mono); border-radius: 10px;
  position: relative; overflow: hidden; transition: .25s;
}
.fix-download.unavailable { opacity: .48; cursor: not-allowed; }
.fix-panel small {
  display: block; color: var(--dim); font: 9px / 1.5 var(--font-mono); margin: 12px 5px 3px;
}
.fix-progress {
  height: 3px !important; border: 0 !important; background: #2a2a2a; overflow: hidden; padding: 0 !important;
}
.fix-progress i {
  display: block !important; width: 0 !important; height: 100% !important;
  border-radius: 0 !important; background: var(--acid) !important;
}
.fix-panel.is-preparing .fix-progress i {
  animation: fixProgress 1.5s cubic-bezier(.2, .8, .2, 1) forwards;
}
.fix-panel.is-preparing .fix-terminal {
  animation: terminalGlow .7s ease-in-out infinite alternate;
}
.fix-download:before {
  content: ""; position: absolute; inset: 0; background: #fff; transform: translateX(-105%);
}
.fix-download.is-loading:before { animation: buttonScan 1.5s ease forwards; }
.fix-download span, .fix-download > i { position: relative; z-index: 1; }
.fix-download.is-ready { background: #fff; }
.fix-download.is-missing { background: #ff6b4a; }
.fix-download > i { font-style: normal; }
.fix-download.is-loading > i { animation: downloadBounce .55s infinite alternate; }

@keyframes fixProgress { to { width: 100%; } }
@keyframes terminalGlow { to { box-shadow: inset 0 0 25px rgba(255, 199, 0, .08); } }
@keyframes buttonScan { 50%, 100% { transform: translateX(105%); } }
@keyframes downloadBounce { to { transform: translateY(5px); } }

@media (max-width: 800px) {
  .faq-hero { min-height: 640px; padding: 120px 20px 60px; }
  .faq-hero h1 { font-size: 17vw; }
  .faq-cube { width: 120px; height: 120px; right: 40px; top: 460px; }
  .faq-cube span { font-size: 22px; }
  .install { padding: 80px 20px; }
  .install-head { display: block; }
  .install-head > p { margin-top: 22px; }
  .install-grid { grid-template-columns: 1fr; }
  .install-grid article { min-height: 320px; }
  .path-card { align-items: flex-start; flex-direction: column; gap: 24px; }
  .path-card code { display: block; font-size: 11px; line-height: 2.6; }
  .os-paths { grid-template-columns: 1fr; }
  .os-paths > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .questions { padding: 80px 20px; grid-template-columns: 1fr; }
  .questions-title { position: static; margin-bottom: 40px; }
  .accordion summary b { font-size: 16px; }
  .faq-cta { min-height: 460px; }
  .fix-launcher { padding: 80px 20px; grid-template-columns: 1fr; gap: 50px; }
  .fix-terminal code { padding: 22px 16px; font-size: 9px; }
}
