/* FAQ (brand v2): grouped questions, the short answer first, every answer visible (nothing folded away).
   Desktop: a sticky index of all questions on the left; phone: the index becomes topic chips.
   The guide's language: chapter numbers in a cut box, questions on cut-corner panels with a .ring,
   the short answer in the guide's key-line style. Mint stays for done/owned – never a decoration here. Tokens only. */

.faq { padding-bottom: 24px; }
.fq-hero { padding: 24px 0 40px; max-width: 820px; }
.fq-hero .lead { margin-bottom: 0; }
.fq-updated { margin: 16px 0 0 !important; color: var(--text-3) !important; font-size: 14px; }

.fq-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }

/* index: like the app's side list – selected = a neutral plate + a 3 px ink bar on the left */
.fq-index { position: sticky; top: 104px; max-height: calc(100vh - 124px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.fq-index-title { margin: 0 0 16px !important; color: var(--text-3) !important; font: 700 12px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.fq-index-group { margin-bottom: 20px; }
.fq-index-cat { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 0 0 8px; color: var(--text); font: 800 20px/1 var(--f-display); font-stretch: 75%; text-transform: uppercase; letter-spacing: -.005em; border-bottom: 1px solid var(--line); }
.fq-index-cat span { color: var(--text-3); font: 700 16px/1 var(--f-num); font-stretch: var(--num-stretch); font-variant-numeric: tabular-nums lining-nums; }
.fq-index ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.fq-index ol a { position: relative; display: block; padding: 7px 10px 7px 14px; color: var(--text-2); font-size: 14px; line-height: 1.35; transition: color var(--t-fast), background var(--t-fast); }
.fq-index ol a:hover { color: var(--text); background: var(--fill); }
.fq-index ol a[aria-current="true"] { color: var(--text); background: var(--sel); }
.fq-index ol a[aria-current="true"]::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--text); }

/* groups: the guide's chapter number (a cut box with a ring) before the Saira caps title */
.fq-group { margin-bottom: 56px; scroll-margin-top: 104px; }
.site main .fq-group h2 { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; }
.fq-gnum { --cut: var(--cut-s); --ring: var(--line-strong); flex: none; width: 44px; height: 44px; display: grid; place-items: center; color: var(--text-3); background: var(--bg);
  font: 700 18px/1 var(--f-num); font-stretch: var(--num-stretch); font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }

/* a question: a cut-corner panel with the ring (the guide's scene panels) */
.fq { margin-bottom: 16px; padding: 28px 32px 24px; scroll-margin-top: 104px; }
.fq.panel { --cut: var(--cut-l); }
/* the question you jumped to: the game cursor – red corner brackets on its own cut, one surface step */
.fq:target {
  background-color: var(--surface-hero, var(--surface));
  background-image:
    linear-gradient(135deg, transparent 50%, var(--accent) 50%, var(--accent) calc(50% + 2.5px), transparent calc(50% + 2.5px)),
    linear-gradient(315deg, transparent 50%, var(--accent) 50%, var(--accent) calc(50% + 2.5px), transparent calc(50% + 2.5px)),
    linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--accent), var(--accent)),
    linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--accent), var(--accent));
  background-size: var(--cut) var(--cut), var(--cut) var(--cut), 14px 2px, 2px 14px, 14px 2px, 2px 14px;
  background-position: 0 0, 100% 100%, 100% 0, 100% 0, 0 100%, 0 100%;
  background-repeat: no-repeat;
}
.site main .fq h3 { margin: 0 0 14px; font: 700 26px/1.1 var(--f-display); font-stretch: 75%; text-transform: none; letter-spacing: 0; }
.fq-anchor { display: block; color: var(--text); }
.fq-anchor:hover { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
/* the answer in one line – what a skimmer (and a search snippet) takes away: the guide's key line */
.site main.faq .fq p.fq-short { margin: 0 0 14px; color: var(--text); font-size: 19px; font-weight: 600; line-height: 1.45; }
.site main.faq .fq > p:not(.fq-short) { font-size: 16px; line-height: 1.6; }
.fq-more { margin: 4px 0 0 !important; }
.site main .fq-more a { font-weight: 700; }

/* lists inside an answer: a short neutral rule as the bullet (mint means done, never a bullet) */
.fq .checks { margin: 4px 0 16px; gap: 8px; }
.fq .checks li { padding-left: 22px; }
.fq .checks li::before { left: 2px; top: .72em; width: 10px; height: 2px; background: var(--text-3); transform: none; }

/* safety: what it never does / only does – two nested blocks */
.fq-safety { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 4px; }
.fq-safety > div { --cut: var(--cut-m); padding: 16px 18px; background: var(--surface-2); clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.site main.faq .fq-safety p { margin: 0 0 10px; color: var(--text-3); font: 700 12px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.fq-safety ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--text); }
.fq-safety li { position: relative; padding-left: 24px; }
.fq-never li::before { content: "✕"; position: absolute; left: 1px; top: 0; color: var(--text-3); font-weight: 700; }
.fq-only li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 10px; height: 2px; background: var(--text-3); }

/* controller prompts: the game's button prompts as v2 keycaps (PlayStation first, Xbox in the words) */
.fq-pad { display: grid; gap: 4px; margin: 8px 0 4px; }
.site main.faq .fq p.fq-prompt { --cut: var(--cut-m); display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0; padding: 10px 14px; background: var(--surface-2); color: var(--text-2);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.fq-prompt b.fq-do { margin-left: 4px; color: var(--text); font-weight: 700; }
.fq-how { min-width: 104px; color: var(--text-3); font: 700 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; }
.fq-prompt .key { gap: 4px; }
.fq-prompt .key b { min-width: 26px; height: 24px; }
.fq-prompt .key b svg { width: 15px; height: 15px; display: block; }
.fq-glyph .ln, .fq-glyph .ln rect { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.fq-glyph .fill path { fill: currentColor; }
.fq-name { color: var(--text-2); font-size: 14px; font-weight: 600; }

.faq .cta-box { margin-top: 40px; }

@media (max-width: 900px) {
  .fq-layout { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  /* phone: the index shrinks to topic chips; every question is right below anyway */
  .fq-index { position: static; max-height: none; overflow: visible; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; padding: 0; }
  .fq-index-title { flex-basis: 100%; margin-bottom: 4px !important; }
  .fq-index-group { margin: 0; }
  .fq-index-cat { --cut: var(--cut-s); min-height: 40px; box-sizing: border-box; align-items: center; padding: 0 12px; gap: 10px; border: 0; background: var(--fill); font-size: 17px;
    clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
  .fq-index-cat:hover { background: var(--fill-hover); }
  .fq-index ol { display: none; }
}
@media (max-width: 600px) {
  .fq-hero { padding: 8px 0 24px; }
  .fq { padding: 22px 18px 18px; }
  .site main .fq h3 { font-size: 23px; }
  .site main.faq .fq p.fq-short { font-size: 17px; }
  .fq-safety { grid-template-columns: 1fr; }
  .fq-how { min-width: 0; flex-basis: 100%; }
  .site main .fq-group h2 { gap: 12px; }
  .fq-gnum { width: 36px; height: 36px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .fq-index ol a { transition: none; }
}

/* touch widths with the side index (901–1023 px): every index link is a 40 px target */
@media (max-width: 1023px) {
  .fq-index ol a { display: flex; align-items: center; min-height: 40px; box-sizing: border-box; }
  .fq-index-cat { min-height: 40px; align-items: center; }
}
