/*
 * Why PrismAlgo (route "why"): the page's own styles, printed after site.css by PA_Seo::open(['page_css' => ['why']]).
 * Mobile first, kit tokens only; the shared kit (site.css) is unchanged. Contract: next/KIT.md (one card depth, green is
 * the only action color, amber and violet only as the Gold and Bitcoin lanes, no red).
 */
.why-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* hero: the record beside one market through four changes */
.why-hero__row { display: grid; gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 1024px) { .why-hero__row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; } .why-hero__row--1 { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1024px) { .why-hero .pa-hero__top { align-items: center; } }
.why-proof { --pa-mono: var(--pa-font); align-content: space-between; }
.why-proof .pa-proof__figs { padding-block: 6px; }
.why-proof .pa-proof__meta dd { font-size: var(--pa-fs-base); font-weight: 650; }
.why-proof .pa-stat__value { font-weight: 700; letter-spacing: -.045em; }
.why-shift, .why-scn__stage { position: relative; display: grid; gap: 14px; margin: 0; padding: clamp(18px, 2.6vw, 28px); 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; }
.why-shift__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.why-tag { padding: 3px 10px; border: 1px solid var(--pa-line-strong); border-radius: 999px; font: 600 var(--pa-fs-xs)/1.3 var(--pa-font); color: var(--pa-text-2); }
.why-shift__plot { display: grid; gap: 12px; padding-bottom: 4px; }
.why-shift__chart { --l: rgba(148, 178, 230, .16); display: grid; gap: 12px;
	background: linear-gradient(var(--l), var(--l)) 25% 0 / 1px 100% no-repeat, linear-gradient(var(--l), var(--l)) 50% 0 / 1px 100% no-repeat, linear-gradient(var(--l), var(--l)) 75% 0 / 1px 100% no-repeat; }
.why-zones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.why-zones li { padding: 0 6px; font: 600 var(--pa-fs-xs)/1.3 var(--pa-font); color: var(--pa-text); }
.why-zones .pa-fig { display: block; color: var(--pa-fx); }
.why-hero svg.why-shift__svg { width: 100%; height: clamp(110px, 15vw, 180px); }
.why-grid { fill: none; stroke: rgba(148, 178, 230, .1); stroke-width: 1; }
.why-area { fill: url(#why-g-area); }
.why-line { fill: none; stroke: url(#why-g-line); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(60, 211, 238, .45)); }
.why-lane { display: grid; gap: 8px; }
.why-lane__k { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-size: var(--pa-fs-xs); color: var(--pa-text-3); }
.why-lane__k b { font-size: var(--pa-fs-sm); font-weight: 650; color: var(--pa-text-2); }
.why-lane--pa .why-lane__k b { color: var(--pa-text); }
.why-lane__glass { width: 30px; margin: -4px -4px -4px 0; }
.why-lane__bar { position: relative; display: block; height: 4px; border-radius: 4px; }
.why-lane--fixed .why-lane__bar { background: repeating-linear-gradient(90deg, var(--pa-line-strong) 0 10px, transparent 10px 16px); }
.why-lane--pa { margin-top: 10px; }
.why-lane__ic { display: grid; place-items: center; width: 22px; height: 22px; color: var(--pa-text-3); }
.why-lane__ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why-lane--pa .why-lane__bar { background: var(--pa-spectrum); box-shadow: 0 0 16px rgba(60, 211, 238, .45); }
.why-lane__bar i { position: absolute; top: 50%; left: 25%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--pa-ink-1); border: 2px solid var(--pa-fx); box-shadow: 0 0 12px rgba(60, 211, 238, .7); }
.why-lane__bar i + i { left: 50%; }
.why-lane__bar i + i + i { left: 75%; }
.why-shift__note .pa-link { white-space: nowrap; }

/* the regime lab: a 2 x 2 tab grid on phones (four labels never clip), the scene, then the two EAs */
@media (max-width: 599px) { .pa-tabs.is-ready[data-pa-regime-lab] .pa-tabs__list { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; } .why-lab .pa-tab { padding: 0 10px; } }
.why-scn { display: grid; gap: 14px; }
@media (min-width: 960px) { .why-scn { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; } }
.why-scn__stage { grid-template-rows: auto 1fr; }
.why-scn__head { display: grid; gap: 8px; }
.why-scn__head > p:last-child { font-size: var(--pa-fs-sm); color: var(--pa-text-2); }
.why-scene { position: relative; min-height: clamp(150px, 17vw, 210px); margin-top: 30px; }
.why-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.why-band { fill: rgba(154, 216, 255, .08); }
.why-vline { stroke: var(--pa-lit); stroke-width: 1; stroke-dasharray: 4 4; opacity: .55; }
.why-mark { position: absolute; left: var(--x); padding: 4px 10px; border: 1px solid rgba(169, 228, 245, .35); border-radius: 999px; background: rgba(10, 17, 32, .9); font: 600 var(--pa-fs-xs)/1.2 var(--pa-font); color: var(--pa-lit); white-space: nowrap; }
.why-mark--band { top: -30px; }
.why-mark--pin { top: var(--y); transform: translate(-50%, calc(-100% - 16px)); }
.why-mark--pin::after { content: ""; position: absolute; left: 50%; bottom: -22px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--pa-ink-0); border: 2px solid var(--pa-go); box-shadow: 0 0 12px rgba(62, 224, 127, .7); }
.why-vs { display: grid; gap: 12px; align-content: start; }
@media (min-width: 600px) and (max-width: 959px) { .why-vs { grid-template-columns: 1fr 1fr; } }
.why-vs__card { gap: 6px; padding: 20px; }
.why-vs__who { font: 650 var(--pa-fs-xs)/1.3 var(--pa-font); letter-spacing: .12em; text-transform: uppercase; color: var(--pa-lit); }
.why-dim { background: transparent; border: 1px dashed var(--pa-line-strong); box-shadow: none; }
.why-dim::before { display: none; }
.why-vs__card--local .why-vs__who { color: var(--pa-text-3); }
.why-vs__card--local .pa-rule__k { color: var(--pa-text-2); }

/* icons: one small lit tile per card */
.why-ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 6px; border-radius: 12px; color: var(--pa-fx); background: rgba(60, 211, 238, .08); box-shadow: inset 0 0 0 1px rgba(60, 211, 238, .3), 0 0 24px -8px rgba(60, 211, 238, .6); }
.why-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why-ic--prism::before { content: ""; width: 20px; height: 18px; background: var(--pa-spectrum); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.why-dim .why-ic { color: var(--pa-text-2); background: transparent; box-shadow: inset 0 0 0 1px var(--pa-line-strong); }

/* diversify beyond Gold: one lane per market */
.why-mkts__grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .why-mkts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .why-mkt:first-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .why-mkt:first-child { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 40px; align-content: start; } .why-mkt:first-child > * { grid-column: 1; } .why-mkt:first-child .why-mkt__viz { grid-column: 1 / -1; } .why-mkt:first-child .pa-pairs { grid-column: 2; grid-row: 2 / span 4; align-self: center; } }
.why-mkt { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.why-mkt .pa-tier { margin-top: auto; padding-top: 4px; }
.why-mkt svg.why-mkt__viz { width: 100%; height: 72px; margin-bottom: 4px; }
.why-mkt__viz path { fill: none; stroke-width: 3; stroke-linecap: round; }
.pa-panel--gold .why-mkt__viz path, .pa-panel--btc .why-mkt__viz path { stroke-width: 7; }
.why-mkt__h { font: 650 var(--pa-fs-xs)/1.3 var(--pa-font); letter-spacing: .14em; text-transform: uppercase; color: var(--pa-lit); }
.why-mkt .pa-panel__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; white-space: normal; font-size: clamp(2.25rem, 1rem + 2.4vw, 3.25rem); }
.why-mkt .pa-panel__big span { margin-left: 0; }
.why-mkt.pa-panel--gold .pa-panel__big, .why-mkt.pa-panel--btc .pa-panel__big { color: var(--pa-text); }
.why-mkt.pa-panel--fx .pa-panel__big { font-size: clamp(3.25rem, 2rem + 4.4vw, 5.5rem); }

/* set it up once */
.why-shot__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 6px 8px 0; font-size: var(--pa-fs-xs); }
.why-rules .pa-rule { padding: 20px; }
.why-run__main { display: grid; gap: clamp(20px, 3vw, 32px); }
.why-run__main > .pa-head { margin-bottom: 0; }
.why-run__split, .why-run__solo { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 1024px) { .why-run__split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; } .why-run__split .pa-rules__grid { grid-template-columns: 1fr; } }
/* the rules beside the MT5 panel: a boxless list, icon then words */
.why-run__split .pa-rules__grid { column-gap: 32px; row-gap: 0; }
.why-run__split .pa-rule { grid-template-columns: 42px 1fr; gap: 4px 16px; padding: 18px 0; background: none; border: 0; border-top: 1px solid var(--pa-line); border-radius: 0; box-shadow: none; overflow: visible; }
.why-run__split .pa-rule::before { display: none; }
.why-run__split .pa-rule > * { grid-column: 2; }
.why-run__split .pa-rule > .why-ic { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
.why-run__more { margin-top: 16px; }

/* two-tone heads: the grey phrase starts its own line */
#pa-plans-h .pa-h2-2, #pa-beyond-h .pa-h2-2 { display: block; }
@media (max-width: 599px) { #pa-closer-h .pa-h2-2 { display: block; } }

/* honest fit */
.why-fit__card { gap: 10px; padding: clamp(20px, 2.8vw, 32px); }
.why-fit__card .pa-h3 { color: var(--pa-text); }
.why-dim .pa-h3 { color: var(--pa-text-2); }
.why-fit__list { display: grid; margin: 6px 0 0; padding: 0; list-style: none; font-size: var(--pa-fs-base); color: var(--pa-text); }
.why-fit__list li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--pa-line); }
.why-fit__list li::before { content: ""; position: absolute; left: 4px; top: calc(12px + .42em); width: 11px; height: 6px; border-left: 2px solid var(--pa-fx); border-bottom: 2px solid var(--pa-fx); transform: rotate(-45deg); }
.why-dim .why-fit__list { color: var(--pa-text-2); }
.why-dim .why-fit__list li::before { top: calc(12px + .74em); width: 12px; height: 0; border: 0; border-top: 2px solid var(--pa-text-3); transform: none; }

/* customer voices */
.why-voices__row { display: grid; gap: 14px; }
@media (min-width: 700px) { .why-voices__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .why-voices__row--1 { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 900px) { .why-voices .pa-split { grid-template-rows: auto 1fr; } .why-voices .why-voices__row { grid-column: 2; grid-row: 1 / span 2; } .why-voices__more { grid-column: 1; grid-row: 2; } }
.why-voices .pa-rev__q { font-size: var(--pa-fs-base); }
@media (max-width: 599px) { .why-mkt .pa-pairs { display: none; } }
@media (min-width: 900px) and (max-width: 1023px) { .why-mkt .pa-pairs { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media (max-width: 699px) { .pa-panel--gold .why-mkt__viz, .pa-panel--btc .why-mkt__viz { display: none; } }
