/* ==========================================================================
   FAQ (CONTENT-SPEC 3.10). Loads after components.css.
   Page head with an index of the four groups; each group sets its title beside its
   questions; "How reports work" lies on the dark band next to a comparison print
   built from the hero's real assets and matching points.
   ========================================================================== */

/* ---- page head: title and the group index ------------------------------------- */
.faq-head__grid { display: grid; gap: var(--sp-9); }
@media (min-width: 981px) {
  .faq-head__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 4vw, 72px); align-items: end; }
}
.faq-index ol { display: grid; border-top: 1px solid var(--ink); }
.faq-index a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 12px 2px; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none;
}
.faq-index .tab-num { margin: 0; min-width: 36px; padding: 4px 7px; border-radius: var(--r-1); font-size: 11px; }
.faq-index__t { font-size: 16px; font-weight: var(--fw-semi); letter-spacing: -.01em; line-height: 1.3; }
.faq-index__c { font-family: var(--ff-sans); font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--ink-3); white-space: nowrap; }
.faq-index a:hover .faq-index__t { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .22em; }
.faq-index a:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; }

/* ---- groups: the title beside its questions on wide screens ---------------------- */
.faq-group { scroll-margin-top: var(--nav-h); }
/* one numbering from the first question to the last, across the four groups */
.faq-all { counter-reset: faq-q; }
.faq-all .faq { counter-reset: none; }
.faq-more { margin-top: .4em; }
.faq-more a {
  display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: var(--fw-semi);
  color: var(--cobalt); text-decoration: none;
}
.faq-more a:hover { color: var(--cobalt-2); text-decoration: underline; text-underline-offset: .2em; }
.faq__a a:not(.faq-more a) { color: var(--cobalt); text-decoration-color: var(--cobalt-line); }
.faq-group .etsy-note { margin-top: var(--sp-8); }
@media (min-width: 981px) {
  .faq-group__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 4vw, 72px); align-items: start; }
  .faq-group__in > .sec-head { display: contents; }
  .faq-group__in > .sec-head > .sec-head__index { grid-column: 1 / -1; margin-bottom: clamp(28px, 3.5vw, 48px); }
  .faq-group__in > .sec-head > .sec-head__title { grid-column: 1; position: sticky; top: calc(var(--nav-h) + 24px); max-width: 12ch; }
  .faq-group__in > .faq, .faq-group__in > .etsy-note { grid-column: 2; }
}

/* ---- the dark band: comparison print beside the questions ------------------------- */
.faq-band__grid { display: grid; gap: var(--sp-10); }
@media (min-width: 981px) {
  .faq-band__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 4vw, 72px); align-items: start; }
  .faq-figure { position: sticky; top: calc(var(--nav-h) + 24px); }
}
.faq-figure { margin: 0; display: grid; gap: 22px; width: 100%; max-width: 560px; }
/* a light print lying on the lightbox: the element also carries .theme-light (tokens.css), so the light
   tokens return inside it */
.faq-figure__board {
  --cm: #7F8895; --cm-o: 10px;
  position: relative; aspect-ratio: var(--ar, 1000 / 1040);
  background: var(--paper); border-radius: 2px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.faq-figure__a {
  position: absolute; left: var(--l); top: var(--t); width: var(--w); height: var(--h);
  overflow: hidden; isolation: isolate;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(14, 17, 22, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 17, 22, .05) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center center;
}
.faq-figure__a img { position: absolute; left: var(--il); top: var(--it); width: var(--iw); max-width: none; height: auto; mix-blend-mode: multiply; }
.faq-figure__b {
  --cm: var(--cobalt); --cm-o: 11px;
  position: absolute; left: var(--l); top: var(--t); width: var(--w); height: var(--h);
  background: var(--sheet); box-shadow: 0 0 0 5px var(--sheet), var(--sh-print);
}
.faq-figure__b img { width: 100%; height: 100%; object-fit: cover; }
.faq-figure__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.faq-figure__lines .ln-halo { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.faq-figure__lines .ln { fill: none; stroke: var(--cobalt); stroke-width: 1.1; stroke-linecap: round; opacity: .8; vector-effect: non-scaling-stroke; }
.faq-figure__lines .kp circle { fill: #fff; stroke: var(--cobalt); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.faq-figure__lines .kp-b circle { fill: var(--cobalt); stroke: #fff; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.faq-figure__tag-a { position: absolute; left: 4%; top: 2.4%; }
.faq-figure__tag-b { position: absolute; right: calc(var(--r) - 5px); top: calc(var(--t) - 38px); }
.faq-figure__chip { position: absolute; left: calc(var(--l) - 5px); top: calc(var(--t) + 18px); }
.faq-figure__cap .callout--inline { white-space: normal; line-height: 1.4; }
@media (max-width: 600px) {
  .faq-figure__tag-b { top: calc(var(--t) - 32px); }
  .faq-figure .tag { height: 22px; font-size: 10px; }
  .faq-figure__chip { height: 21px; font-size: 10px; }
}
