/*
 * /faq/ (29 Sep 2026): the page's own pieces over site.css, phone first, on the kit's tokens.
 * The hero's proof strip, the prism topic router, the engine's spec card, the license ladder, the answer links and
 * the MT5 shot's heading. Lane colors are the spectrum's own stops (light only; never amber, never a surface).
 */

/* hero: the kit's strip, one line of proof in the first screen (after the CTA on phones, under the H1 when wide) */
.pa-fq-proof { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--pa-line); }
.pa-fq-proof .pa-strip { font-size: var(--pa-fs-base); }
.pa-fq-proof .pa-strip b { font-size: 1.25rem; }
.pa-fq-proof .pa-note { margin-top: 8px; }
@media (min-width: 1024px) {
	.pa-fq-hero .pa-hero__top { row-gap: 26px; }
	.pa-fq-hero .pa-hero__top > :nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
	.pa-fq-proof { margin-top: 0; }
	.pa-fq-hero { padding-top: 40px; }
}

/* the router: one beam into Jim's glass prism, four lanes out to the four topics; at every width each lane lands on
   its row's dot (phones: a narrow prism column beside four compact rows) */
.pa-fq-route { display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); margin-top: 28px; }
.pa-fq-prism { position: relative; }
/* .pa-fq-prism raises this over site.css's .pa-page svg { display: block; height: auto } */
.pa-fq-prism .pa-fq-lanes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pa-fq-lanes path { fill: none; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pa-fq-lanes .pa-fq-beam { stroke: rgba(238, 243, 250, .8); }
.pa-fq-lanes path:nth-of-type(2), .pa-fq-topic:nth-child(1) { --c: #a98bff; stroke: #a98bff; }
.pa-fq-lanes path:nth-of-type(3), .pa-fq-topic:nth-child(2) { --c: #6aa2ff; stroke: #6aa2ff; }
.pa-fq-lanes path:nth-of-type(4), .pa-fq-topic:nth-child(3) { --c: var(--pa-fx); stroke: var(--pa-fx); }
.pa-fq-lanes path:nth-of-type(5), .pa-fq-topic:nth-child(4) { --c: var(--pa-go); stroke: var(--pa-go); }
.pa-fq-glass, .pa-fq-flat { position: absolute; z-index: 1; top: 50%; }
.pa-fq-glass { left: calc(42% - 32px); width: 64px; height: auto; transform: translateY(-56%); background: radial-gradient(closest-side, rgba(106, 162, 255, .35), transparent); }
.pa-fq-flat { left: calc(42% - 14px); width: 28px; height: 32px; transform: translateY(-50%); background: linear-gradient(135deg, rgba(166, 242, 92, .9), rgba(42, 137, 172, .9)); clip-path: polygon(50% 0, 100% 100%, 0 100%); }

/* the four topics: lit rows, the lane's dot on the left edge, the count over the name (count | name | keywords from 1024) */
.pa-fq-topics { display: grid; grid-auto-rows: 1fr; gap: 8px; }
.pa-fq-topic { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; row-gap: 3px; padding: 11px 14px 11px 18px; border-radius: var(--pa-r-2); }
.pa-fq-topic::before { content: ""; position: absolute; top: 50%; left: -1px; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--c); box-shadow: 0 0 10px var(--c); }
.pa-fq-topic::after { content: "\2192"; grid-column: 2; grid-row: 1 / span 2; color: var(--pa-go); font-weight: 600; transition: transform .2s var(--pa-ease); }
.pa-fq-topic:hover::after { transform: translateX(3px); }
.pa-fq-topic small { color: var(--c); letter-spacing: .06em; }
.pa-fq-topic strong { font-size: var(--pa-fs-base); line-height: 1.25; }
.pa-fq-topic span { display: none; }
@media (min-width: 768px) {
	.pa-fq-route { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 40px; }
	.pa-fq-glass { left: calc(42% - 75px); width: 150px; }
	.pa-fq-topics { gap: 10px; }
	.pa-fq-topic { column-gap: 18px; padding: 14px 22px; }
	.pa-fq-topic strong { font-size: var(--pa-fs-h3); }
}
@media (min-width: 1024px) {
	.pa-fq-topic { grid-template-columns: 8.5rem minmax(0, 1fr) auto; }
	.pa-fq-topic::after { grid-column: 3; }
	.pa-fq-topic small { grid-row: 1 / span 2; }
	.pa-fq-topic :is(strong, span) { grid-column: 2; }
	.pa-fq-topic span { display: block; }
}

/* the groups: the visual under the head on wide screens, after the answers on phones */
.pa-fq-links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.pa-fq-aside { max-width: 560px; margin-top: 28px; }
.pa-fq-more { margin: -12px 0 10px !important; }
/* phones: Setup's checklist before its answers, so the open record answer runs straight into the MT5 screenshot */
@media (max-width: 899px) {
	.pa-fq-group--needs .pa-hfaq__grid { display: flex; flex-direction: column; }
	.pa-fq-group--needs .pa-fq-aside { order: 1; margin: 0 0 28px; }
	.pa-fq-group--needs .pa-faq { order: 2; }
}
@media (min-width: 900px) {
	.pa-fq-group .pa-hfaq__grid { grid-template-rows: auto 1fr; row-gap: 0; }
	.pa-fq-group .pa-hfaq__grid > .pa-faq { grid-column: 2; grid-row: 1 / span 2; }
	.pa-fq-aside { grid-column: 1; grid-row: 2; align-self: start; margin-top: 0; }
}

/* the engine in facts */
.pa-fq-spec { display: grid; gap: 18px; padding: 22px; border-radius: var(--pa-r-3); background: var(--pa-card-bg); border: 1px solid var(--pa-card-line); box-shadow: var(--pa-elev); }
.pa-fq-spec__figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.pa-fq-spec__figs div { display: flex; flex-direction: column; gap: 6px; }
.pa-fq-spec__figs dd { order: -1; margin: 0; font: 700 clamp(2.75rem, 2rem + 3vw, 4rem)/1 var(--pa-font); letter-spacing: -.04em; color: var(--pa-fx); }
.pa-fq-spec__figs div + div dd { color: var(--pa-text); }
.pa-fq-spec__figs dt { font-size: var(--pa-fs-sm); color: var(--pa-text-2); }
.pa-fq-checks { display: grid; gap: 10px; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--pa-line); list-style: none; }
.pa-fq-checks li, .pa-fq-lic__plus { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.pa-fq-checks li::before, .pa-fq-lic__plus::before { content: ""; flex: none; width: 10px; height: 5px; margin: .5em 2px 0; border-left: 2px solid var(--pa-fx); border-bottom: 2px solid var(--pa-fx); transform: rotate(-45deg); }

/* the license ladder: accounts and markets from PA_Kit::plans(), no prices (they stay on Pricing) */
.pa-fq-lics { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .pa-fq-lics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
/* phones: the name left and the account count right, then the markets; from 768 px one column per card, with pips */
.pa-fq-lic { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 12px; padding: 20px; border-radius: var(--pa-r-3); background: var(--pa-card-bg); border: 1px solid var(--pa-card-line); box-shadow: var(--pa-elev); overflow: hidden; }
.pa-fq-lic > * { grid-column: 1 / -1; }
.pa-fq-lic--hi { border-color: rgba(60, 211, 238, .42); }
.pa-fq-lic--hi::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--pa-spectrum); }
.pa-fq-lic__tag { grid-column: 1; grid-row: 1; justify-self: start; align-self: start; padding: 5px 10px; border: 1px solid var(--pa-line-strong); border-radius: 999px; font: 650 var(--pa-fs-xs)/1.2 var(--pa-font); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--pa-text-2); }
.pa-fq-lic--hi .pa-fq-lic__tag { border-color: rgba(60, 211, 238, .5); background: rgba(60, 211, 238, .14); color: var(--pa-lit); }
.pa-fq-lic__name { grid-column: 1; grid-row: 2; font-size: var(--pa-fs-h3); }
.pa-fq-lic__acc { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.pa-fq-lic__acc b { font: 700 clamp(3rem, 2.2rem + 3vw, 4.5rem)/.9 var(--pa-font); letter-spacing: -.04em; }
.pa-fq-lic__acc span { color: var(--pa-text-2); font-size: var(--pa-fs-sm); }
.pa-fq-lic__pips { display: none; gap: 6px; }
.pa-fq-lic__at { display: none; }
@media (min-width: 768px) {
	.pa-fq-lic { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
	.pa-fq-lic :is(.pa-fq-lic__tag, .pa-fq-lic__name, .pa-fq-lic__acc) { grid-column: 1; grid-row: auto; }
	.pa-fq-lic__acc { flex-direction: row; align-items: baseline; gap: 10px; text-align: left; }
	.pa-fq-lic__pips { display: flex; }
}
@media (min-width: 1024px) { .pa-fq-lic__at { display: inline; } }
.pa-fq-lic__pips i { width: 26px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--pa-fx), #6aa2ff); box-shadow: 0 0 10px rgba(60, 211, 238, .45); }
.pa-fq-lic__mks { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pa-fq-lic__lead { color: var(--pa-text-2); font-size: var(--pa-fs-sm); }
.pa-fq-lics__note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 16px; margin: 18px 0 clamp(28px, 4vw, 44px) !important; text-align: center; font-size: var(--pa-fs-sm); color: var(--pa-text-2); }
.pa-fq-narrow { max-width: 880px; margin-inline: auto; }

/* the MT5 screenshot after the setup answers */
.pa-fq-shot { margin-top: clamp(40px, 6vw, 72px); }
.pa-fq-shot__h { margin-bottom: 18px !important; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); font-weight: 700; letter-spacing: -.03em; }
.pa-fq-spec__h { display: flex; align-items: center; gap: 10px; font-size: var(--pa-fs-h3); }
