/**
 * fsa/fire-curve: interactive fire growth curve. Loaded only on pages with the block.
 * The card (.fccard … .fcmeter) is copied one-to-one from the homepage sketch v3 (#fsa-curve); the
 * sketch variables are mapped to the site tokens with the same values. The section around it is
 * a core group: .fsa-section.fsa-section--dark.fsa-pad-xl.fsa-firecurve (96 px top and bottom).
 */

/* Section: dark with a soft orange glow top left (as in the sketch) */
.fsa-firecurve {
	overflow: hidden;
}
.fsa-firecurve::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(45% 60% at 0% 0%, rgba(217, 84, 30, 0.2), rgba(217, 84, 30, 0) 60%), linear-gradient(180deg, rgba(8, 28, 54, 0.55), rgba(19, 49, 92, 0.3));
	pointer-events: none;
}
.fsa-firecurve > .fsa-container {
	position: relative;
}
.fsa-firecurve__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
}
.fsa-firecurve__head > *,
.fsa-firecurve__head > * > * {
	margin: 0 !important;
}
.fsa-firecurve__head .fsa-title {
	margin-top: 8px !important;
}
.fsa-firecurve__head .fsa-firecurve__lead {
	margin-top: 14px !important;
	max-width: 660px;
	color: var(--fsa-color-on-dark);
	font-size: 18px;
}
.fsa-section.fsa-firecurve .fsa-more a {
	color: var(--fsa-accent-bright);
	white-space: nowrap;
}
.fsa-section.fsa-firecurve .fsa-more a:hover,
.fsa-section.fsa-firecurve .fsa-more a:focus-visible {
	color: var(--fsa-white);
}

/* Card (sketch #fsa-curve). The sketch resets margins and link styles globally; here only inside
   the card. */
.fsa-fire-curve :where(h3, p) {
	margin: 0;
}
.fsa-fire-curve :where(a) {
	text-decoration: none;
}
.fsa-fire-curve *,
.fsa-fire-curve *::before,
.fsa-fire-curve *::after {
	box-sizing: border-box;
}
.fsa-fire-curve {
	color: var(--fsa-white);
}
.fsa-fire-curve .fcside h3 {
	color: var(--fsa-white);
}
.fccard{margin-top:38px;border-radius:16px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));padding:28px 30px 26px;box-shadow:0 30px 70px rgba(0,0,0,.28)}
.fccard__top{display:flex;justify-content:space-between;align-items:center;font-size:12.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--fsa-color-eyebrow-on-dark)}
.fccard__top span:last-child{color:var(--fsa-accent-bright)}
.fcgrid{display:grid;grid-template-columns:1.12fr 1fr;gap:40px;align-items:stretch;margin-top:14px}
.fcgrid > div:first-child{align-self:center}
svg.fcchart{display:block;width:100%;height:auto;touch-action:pan-y;cursor:crosshair;user-select:none;outline:none}
svg.fcchart:focus-visible{outline:2px solid var(--fsa-accent-bright);outline-offset:4px;border-radius:8px}
svg.fcchart text{font-family:"IBM Plex Sans",system-ui,sans-serif}
.fcside{display:flex;flex-direction:column;border-left:1px solid rgba(255,255,255,.14);padding-left:36px;min-width:0}
.fcscene{display:block;width:100%;height:auto;aspect-ratio:400/236;border-radius:10px}
.fcphase{margin-top:18px;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--fsa-accent-bright)}
.fcside h3{margin-top:4px;font-size:30px;line-height:1.15;font-weight:600;letter-spacing:-.01em}
.fcside p{margin-top:8px;color:var(--fsa-color-on-dark);font-size:16.5px;min-height:4.9em}
.fclink{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:14px;font-weight:600;color:var(--fsa-accent-bright);font-size:16px}
.fclink svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fcchips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.fcchip{font:inherit;color:inherit;height:36px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:transparent;font-size:14.5px;font-weight:500;cursor:pointer;transition:background .15s,border-color .15s}
.fcchip:hover{border-color:rgba(255,255,255,.5)}
.fcchip[aria-pressed="true"]{background:var(--fsa-accent-strong);border-color:var(--fsa-accent-strong)}
.fcchip:focus-visible{outline:2px solid var(--fsa-accent-bright);outline-offset:2px}
.fcmeter{margin-top:12px}
.fcmeter__l{display:flex;justify-content:space-between;font-size:13px;color:var(--fsa-color-on-dark)}
.fcmeter__bar{height:8px;border-radius:999px;background:rgba(255,255,255,.12);overflow:hidden;margin-top:6px}
.fcmeter__bar i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#FFC08A,#FF8A4C,#D9541E)}
@media (max-width:900px){.fcgrid{grid-template-columns:1fr;gap:24px}.fcside{border-left:0;padding-left:0;border-top:1px solid rgba(255,255,255,.14);padding-top:22px}.fsa-firecurve__head{display:block}.fsa-firecurve__head .fsa-more{margin-top:18px !important}}
