/* Lending For Beginners — v2 continuous homepage (sections after the preserved Stackside hero).
   Sizes below the hero use px/clamp(px) on purpose: the hero's root font-size tracks viewport HEIGHT, which would
   shrink long-page reading text on short windows. Tokens are the hero's. */

html, body { height: auto; min-height: 100%; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.hero { will-change: transform, opacity; transform-origin: 50% 30%; }

.sx {
  --sx-pad: clamp(20px, 4vw, 56px);
  --sx-max: 1240px;
  --sx-ink: #0b0d0c;
  --sx-muted: #4d5655;
  --sx-dark: #050605;
  --sx-dark-2: #101312;
  --dot: radial-gradient(circle at 50% 50%, var(--dotc, #00bd71) 0 1.2px, transparent 1.6px);
  position: relative;
  z-index: 1;
  font-size: 17px;
  line-height: 1.5;
  color: var(--sx-ink);
}
.sx-wrap { max-width: var(--sx-max); margin: 0 auto; padding: 0 var(--sx-pad); }
.sx-sec { position: relative; background: var(--background); padding: clamp(72px, 8.5vw, 132px) 0; overflow: clip; }
.sx-sec + .sx-sec { border-top: 1px solid var(--hairline); }

/* Section heads */
.sx-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.sx-kicker { display: inline-flex; align-items: center; gap: 12px; font-family: "Mulish", "General Sans", sans-serif; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-muted); margin-bottom: 18px; }
.sx-kicker span { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--accent); color: #000; font-style: italic; letter-spacing: 0; font-size: 13px; }
.sx h2 { font-weight: 300; font-size: clamp(40px, 6.2vw, 88px); line-height: 0.98; letter-spacing: -0.02em; }
.sx h2 i { font-style: italic; }
.sx h3 { font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -0.01em; }
.sx-lede { margin-top: 22px; max-width: 680px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; color: var(--sx-muted); }
.sx-fine { font-size: 13.5px; line-height: 1.5; color: var(--sx-muted); margin-top: 14px; }
.sx-fine a, .sx-lede a { text-decoration: underline; text-underline-offset: 3px; }

/* Pills (buttons/links) */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--hairline-strong); background: var(--surface); color: #000; font: inherit; font-size: 16px; font-weight: 400; cursor: pointer; transition: background .2s ease, border-color .2s ease; text-decoration: none; }
.pill:hover { border-color: #000; }
.pill--accent { background: var(--accent); border-color: rgba(0, 0, 0, .12); }
.pill--accent:hover { background: #2bffad; }
.pill--big { min-height: 58px; padding: 0 30px; font-size: 18px; }
.pill[aria-busy="true"] { opacity: .7; cursor: progress; }
.pill:disabled { opacity: .55; cursor: not-allowed; }

/* ========== 01 DEMOS (lab) ========== */
.lab__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; perspective: 1200px; margin-bottom: 28px; }
.lab__tab { position: relative; text-align: left; border: 1px solid var(--hairline); background: var(--surface); border-radius: 22px; padding: 20px 22px 22px; cursor: pointer; font: inherit; color: inherit; display: grid; gap: 4px; transform-style: preserve-3d; overflow: hidden; }
.lab__tab::before { content: ''; position: absolute; inset: 0; background-image: var(--dot); background-size: 9px 9px; opacity: 0; transition: opacity .4s ease; -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000); mask-image: linear-gradient(120deg, transparent 30%, #000); }
.lab__tab[aria-selected="true"] { background: #000; color: #fff; border-color: #000; }
.lab__tab[aria-selected="true"]::before { opacity: .55; --dotc: #00ff99; }
.lab__tabn { font-style: italic; font-size: 30px; line-height: 1; color: inherit; position: relative; }
.lab__tab[aria-selected="true"] .lab__tabn { color: var(--accent); }
.lab__tabt { font-size: 19px; font-weight: 400; position: relative; }
.lab__tabs-sub { font-size: 13.5px; color: var(--sx-muted); position: relative; }
.lab__tab[aria-selected="true"] .lab__tabs-sub { color: rgba(255, 255, 255, .7); }

.lab__panel { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.lab__panel[hidden] { display: none; }
.ctrls { position: sticky; top: 84px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 24px; padding: 22px; display: grid; gap: 16px; }
.ctrls h3 { font-size: 18px; font-weight: 400; display: flex; justify-content: space-between; align-items: baseline; }
.ctrls fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.ctrls legend { font-family: "Mulish", sans-serif; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-muted); margin-bottom: 4px; }
.ctrl { display: grid; gap: 6px; }
.ctrl__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ctrl label { font-size: 14.5px; }
.ctrl__val { display: flex; align-items: center; gap: 4px; border: 1px solid var(--hairline); border-radius: 10px; padding: 0 8px; background: #fff; }
.ctrl__val span { font-size: 13px; color: var(--sx-muted); }
.ctrl__val input { width: 96px; border: 0; background: transparent; font-size: 15px; padding: 6px 0; text-align: right; font-variant-numeric: tabular-nums; outline: none; }
.ctrl__val:focus-within { border-color: #000; box-shadow: 0 0 0 3px rgba(0, 255, 153, .45); }
.ctrl input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; }
.ctrl input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #000 var(--fill, 50%), rgba(0, 0, 0, .12) var(--fill, 50%)); }
.ctrl input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(0, 0, 0, .12); }
.ctrl input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: #000; }
.ctrl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--accent); border: 1px solid rgba(0, 0, 0, .35); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4); }
.ctrl input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 1px solid rgba(0, 0, 0, .35); }
.ctrl input[type="range"]:focus-visible { outline: 2px solid #000; outline-offset: 4px; border-radius: 6px; }
.ctrl select, .ctrl .seg { font: inherit; font-size: 15px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 1px solid var(--hairline-strong); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #000; color: #fff; border-color: #000; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.chk input { accent-color: #000; width: 18px; height: 18px; margin-top: 2px; }
.ctrls details summary { cursor: pointer; font-size: 14.5px; }
.ctrls details[open] summary { margin-bottom: 12px; }

.stage { display: grid; gap: 18px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px; padding: 18px 18px 16px; min-width: 0; }
.kpi--hero { background: #000; color: #fff; border-color: #000; }
.kpi__v { font-style: italic; font-size: clamp(24px, 2.6vw, 36px); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi--hero .kpi__v { color: var(--accent); }
.kpi__l { font-family: "Mulish", sans-serif; font-size: 13px; margin-top: 8px; color: var(--sx-muted); }
.kpi--hero .kpi__l { color: rgba(255, 255, 255, .7); }

.panelc { background: var(--surface); border: 1px solid var(--hairline); border-radius: 24px; padding: 20px; min-width: 0; }
.panelc__h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.panelc__h h4 { font-weight: 400; font-size: 17px; }
.panelc__h p { font-size: 13px; color: var(--sx-muted); }

/* Charts */
.chart { position: relative; width: 100%; touch-action: pan-y; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .ax { stroke: rgba(0, 0, 0, .12); stroke-width: 1; }
.chart .axl { font-family: "Mulish", sans-serif; font-size: 11px; fill: #5b6463; }
.chart .ln { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .ar { opacity: .22; }
.chart .xh { stroke: #000; stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; transition: opacity .15s; }
.chart.is-hover .xh, .chart.is-hover .dotm { opacity: 1; }
.chart .dotm { opacity: 0; transition: opacity .15s; }
.chart__tip { position: absolute; top: 6px; pointer-events: none; background: #000; color: #fff; border-radius: 12px; padding: 8px 10px; font-size: 12.5px; line-height: 1.35; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; font-variant-numeric: tabular-nums; z-index: 2; }
.chart.is-hover .chart__tip { opacity: 1; transform: none; }
.chart__tip b { color: var(--accent); font-weight: 400; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--sx-muted); }
.legend i { display: inline-block; width: 18px; height: 3px; border-radius: 3px; vertical-align: middle; margin-right: 6px; }
.chart-table { margin-top: 8px; font-size: 13px; }
.chart-table summary { cursor: pointer; color: var(--sx-muted); }
.chart-table table { width: 100%; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
.chart-table th, .chart-table td { text-align: right; padding: 4px 6px; border-bottom: 1px solid var(--hairline); }
.chart-table th:first-child, .chart-table td:first-child { text-align: left; }

/* Offer stacks: layered, separating, selectable */
.offers { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 14px; }
.offer { position: relative; text-align: left; font: inherit; color: inherit; cursor: pointer; border: 1px solid var(--hairline); background: var(--surface); border-radius: 22px; padding: 18px; display: grid; gap: 10px; transform-style: preserve-3d; overflow: hidden; min-width: 0; }
.offer::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: var(--dot); background-size: 8px 8px; opacity: .0; transition: opacity .35s; -webkit-mask-image: radial-gradient(circle at 100% 0, #000, transparent 65%); mask-image: radial-gradient(circle at 100% 0, #000, transparent 65%); }
.offer:hover::before, .offer.is-lifted::before { opacity: .55; }
.offer[aria-pressed="true"] { border-color: #000; box-shadow: 0 0 0 2px #000, var(--lfb-shadow-lift); }
.offer__rank { position: absolute; top: 14px; right: 14px; min-width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; font-style: italic; background: #000; color: var(--accent); font-size: 15px; padding: 0 9px; }
.offer__rank--muted { background: rgba(0, 0, 0, .08); color: #000; }
.offer__name { font-size: 16px; font-weight: 400; padding-right: 40px; }
.offer__sub { font-size: 12.5px; color: var(--sx-muted); margin-top: -6px; }
.offer__pay { font-style: italic; font-size: clamp(24px, 2.4vw, 32px); line-height: 1; font-variant-numeric: tabular-nums; }
.offer__pay small { font-style: normal; font-size: 13px; color: var(--sx-muted); }
.offer dl { display: grid; grid-template-columns: auto auto; gap: 3px 10px; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.offer dt { color: var(--sx-muted); }
.offer dd { margin: 0; text-align: right; }
.offer__bar { height: 6px; border-radius: 6px; background: rgba(0, 0, 0, .08); overflow: hidden; }
.offer__bar span { display: block; height: 100%; background: linear-gradient(90deg, #00bd71, #00ff99); border-radius: 6px; transform-origin: left; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.detail { overflow: hidden; }
.detail__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; font-size: 14px; font-variant-numeric: tabular-nums; }
.detail__grid div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--hairline); padding: 6px 0; }
.detail__grid span:first-child { color: var(--sx-muted); }
.flags { display: grid; gap: 6px; margin-top: 12px; font-size: 13.5px; }
.flags li { padding-left: 18px; position: relative; }
.flags li::before { content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #f5a524; }
.flags li[data-sev="warning"]::before { background: #ef4444; }
.flags li[data-sev="info"]::before { background: #00bd71; }
.scen { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.scen-out { font-size: 15px; line-height: 1.45; min-height: 44px; }
.scen-out b { font-weight: 400; background: linear-gradient(transparent 55%, rgba(0, 255, 153, .55) 55%); }
.note { font-size: 13.5px; color: var(--sx-muted); }
.warn { background: #fff7e6; border: 1px solid #f5d38a; border-radius: 14px; padding: 10px 12px; font-size: 14px; }

/* Debt rows (consolidation) */
.debts { display: grid; gap: 10px; }
.debt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 1px solid var(--hairline); border-radius: 14px; padding: 10px; background: #fff; }
.debt__name { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.debt__name input { border: 0; font: inherit; font-size: 14.5px; background: transparent; outline: none; width: 70%; }
.debt label { font-size: 12px; color: var(--sx-muted); display: grid; gap: 2px; }
.debt label input { border: 1px solid var(--hairline); border-radius: 8px; padding: 5px 7px; font: inherit; font-size: 14px; font-variant-numeric: tabular-nums; width: 100%; }
.iconbtn { border: 1px solid var(--hairline); background: #fff; border-radius: 999px; width: 30px; height: 30px; cursor: pointer; font-size: 16px; line-height: 1; }
.timeline { display: grid; gap: 10px; }
.tl { display: grid; grid-template-columns: minmax(90px, 160px) 1fr auto; gap: 12px; align-items: center; font-size: 13.5px; }
.tl__track { height: 14px; border-radius: 10px; background: rgba(0, 0, 0, .06); overflow: hidden; }
.tl__bar { height: 100%; border-radius: 10px; background: #000; transform-origin: left; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.tl--new .tl__bar { background: linear-gradient(90deg, #00bd71, #00ff99); }
.tl__m { font-variant-numeric: tabular-nums; min-width: 70px; text-align: right; }

/* ========== 02 EXPLORER ========== */
.sx-explorer { background: var(--sx-dark); color: #f3f6f5; }
.sx-explorer .sx-kicker, .sx-explorer .sx-lede { color: rgba(243, 246, 245, .66); }
.sx-explorer .sx-head h2 i { color: var(--accent); }
.explorer { display: grid; gap: 28px; }
.explorer__stage { height: clamp(320px, 38vw, 430px); outline: none; }
.explorer__stage:focus-visible { box-shadow: 0 0 0 2px var(--accent); border-radius: 24px; }
.cat { width: clamp(180px, 19vw, 230px); aspect-ratio: 3 / 4; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(160deg, #1a1f1d, #0b0e0d); color: #fff; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; font: inherit; cursor: pointer; overflow: hidden; user-select: none; -webkit-user-select: none; }
.cat::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, var(--c1, #00ff99) 0 1.3px, transparent 1.7px); background-size: 9px 9px; opacity: .35; -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 100%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 90% 70% at 70% 100%, #000 10%, transparent 70%); pointer-events: none; }
.cat[aria-selected="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 40px 80px -30px rgba(0, 255, 153, .45); }
.cat__n { font-style: italic; font-size: 14px; color: var(--accent); position: relative; }
.cat__t { font-size: 22px; line-height: 1.08; position: relative; }
.cat__g { font-size: 12.5px; color: rgba(255, 255, 255, .6); position: relative; }
.explorer__nav { display: flex; gap: 10px; justify-content: center; }
.explorer__nav button { width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.explorer__nav button:hover { border-color: var(--accent); color: var(--accent); }
.explorer__detail { background: #f7faf9; color: #0b0d0c; border-radius: 28px; padding: clamp(20px, 3vw, 34px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); transform-origin: 50% 0; }
.explorer__detail h3 { margin-bottom: 8px; }
.explorer__detail .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 16px 0; }
.explorer__detail .panelc { padding: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; border: 1px solid var(--hairline-strong); }
.badge--ok { background: var(--accent); border-color: transparent; }
.badge--warn { background: #fff1d6; border-color: #f5d38a; }
.badge--bad { background: #ffe1e1; border-color: #f3a3a3; }

/* ========== 03 PORTAL ========== */
.sx-portal { background: linear-gradient(180deg, var(--background), #e6ecea); }
.devices { position: relative; height: clamp(300px, 46vw, 600px); perspective: 1600px; margin-bottom: clamp(36px, 5vw, 64px); }
.device { position: absolute; margin: 0; border-radius: 22px; background: #0b0d0c; padding: 10px; transform-style: preserve-3d; }
.device figcaption { position: absolute; bottom: -28px; left: 0; font-size: 12.5px; color: var(--sx-muted); }
.device__screen { border-radius: 14px; overflow: hidden; background: #f0f3f4; height: 100%; }
.device__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.device--desktop { left: 0; top: 0; width: 68%; aspect-ratio: 16 / 10; height: auto; }
.device--tablet { right: 9%; top: 12%; width: 24%; aspect-ratio: 3 / 4; height: auto; border-radius: 26px; }
.device--phone { right: 0; top: 30%; width: 14%; aspect-ratio: 9 / 19.5; height: auto; border-radius: 30px; padding: 7px; }
.device--phone .device__screen { border-radius: 24px; }
.portal-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: end; }
.portal-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.portal-feats li { font-size: 15.5px; color: var(--sx-muted); padding-top: 14px; border-top: 1px solid var(--hairline-strong); }
.portal-feats b { display: block; color: #000; font-weight: 400; font-size: 18px; margin-bottom: 4px; }
.portal-cta { display: grid; gap: 4px; justify-items: start; }
.pwa { margin-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; background: #000; color: #f3f6f5; border-radius: 32px; padding: clamp(24px, 4vw, 48px); position: relative; overflow: hidden; }
.pwa::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, #00ff99 0 1.2px, transparent 1.6px); background-size: 9px 9px; opacity: .22; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 100% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 100% 50%, #000, transparent 70%); }
.pwa > * { position: relative; }
.pwa p { color: rgba(243, 246, 245, .72); margin-top: 12px; }
.pwa .pill { margin-top: 18px; }
.pwa__steps { display: grid; gap: 10px; }
.pwa__steps li { display: flex; gap: 14px; align-items: center; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 14px 16px; background: rgba(255, 255, 255, .03); }
.pwa__steps span { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--accent); color: #000; display: grid; place-items: center; font-style: italic; }

/* ========== 04 HOUSEHOLD ========== */
.house { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.house__scene { position: relative; aspect-ratio: 1 / 1; max-height: 560px; width: 100%; perspective: 1200px; }
.house__core { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%); background: #000; color: #fff; border-radius: 26px; padding: 18px; display: grid; gap: 8px; z-index: 2; }
.house__core h4 { font-weight: 400; font-size: 16px; }
.house__core .row { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255, 255, 255, .75); gap: 8px; }
.house__core .row b { color: var(--accent); font-weight: 400; font-variant-numeric: tabular-nums; }
.member { position: absolute; width: 21%; aspect-ratio: 1; margin: -10.5% 0 0 -10.5%; border-radius: 50%; background: var(--surface); border: 1px solid var(--hairline-strong); display: grid; place-items: center; text-align: center; font-size: 13px; transition: opacity .5s, filter .5s; }
.member b { display: block; font-size: 22px; font-weight: 400; font-style: italic; }
.member small { display: block; font-size: 11px; color: var(--sx-muted); }
.member[data-state="ghost"] { opacity: .35; filter: grayscale(1); border-style: dashed; }
.member[data-state="pending"] { border-color: #f5a524; }
.member__lock { position: absolute; bottom: 4%; right: 4%; width: 26px; height: 26px; border-radius: 50%; background: #000; color: var(--accent); display: grid; place-items: center; font-size: 12px; }
.member__lock[data-open="true"] { background: var(--accent); color: #000; }
.bubble { position: absolute; max-width: 44%; background: #fff; border: 1px solid var(--hairline-strong); border-radius: 16px; padding: 8px 12px; font-size: 13px; line-height: 1.35; box-shadow: var(--lfb-shadow-rest); z-index: 3; }
.house__ctrl { display: grid; gap: 16px; }
.house__steps { display: grid; gap: 8px; }
.house__steps button { text-align: left; font: inherit; border: 1px solid var(--hairline); background: var(--surface); border-radius: 18px; padding: 14px 16px; cursor: pointer; display: grid; gap: 2px; }
.house__steps button[aria-current="step"] { background: #000; color: #fff; border-color: #000; }
.house__steps button span { font-size: 13px; color: var(--sx-muted); }
.house__steps button[aria-current="step"] span { color: rgba(255, 255, 255, .7); }
.house__live { font-size: 15px; min-height: 48px; }

/* ========== 05 HOW ========== */
.sx-how { background: var(--background); }
.how { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; perspective: 1400px; }
.how__step { position: relative; border: 1px solid var(--hairline); background: var(--surface); border-radius: 22px; padding: 18px; cursor: pointer; transition: background .35s, color .35s, transform .5s cubic-bezier(.2, .8, .2, 1); min-height: 210px; display: flex; flex-direction: column; gap: 10px; outline: none; }
.how__step:focus-visible { box-shadow: 0 0 0 2px #000; }
.how__step[aria-current="step"] { background: #000; color: #fff; transform: translateY(-14px) rotateX(6deg); }
.how__step[aria-current="step"] p { color: rgba(255, 255, 255, .72); }
.how__n { font-style: italic; color: var(--sx-muted); font-size: 14px; }
.how__step[aria-current="step"] .how__n { color: var(--accent); }
.how__step h3 { font-size: 21px; }
.how__step p { font-size: 14px; color: var(--sx-muted); }
.how__progress { height: 3px; background: rgba(0, 0, 0, .1); border-radius: 3px; margin: 20px 0 0; overflow: hidden; }
.how__progress span { display: block; height: 100%; background: #000; transform-origin: left; }
.how__view { margin-top: 28px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 28px; padding: clamp(18px, 3vw, 32px); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(16px, 3vw, 40px); align-items: center; min-height: 260px; }
.how__view h4 { font-weight: 300; font-size: clamp(26px, 3vw, 40px); line-height: 1.05; }
.how__view p { color: var(--sx-muted); margin-top: 10px; }
.mini { display: grid; gap: 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.mini__row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--hairline); padding: 8px 2px; }
.mini__row b { font-weight: 400; }
.bureau { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bureau div { border: 1px solid var(--hairline); border-radius: 16px; padding: 12px; background: #fff; }
.bureau b { display: block; font-style: italic; font-weight: 400; font-size: 26px; }
.bureau span { font-size: 12px; color: var(--sx-muted); }

/* ========== 06 PRICING ========== */
.sx-pricing { background: linear-gradient(180deg, #e9efed, var(--background)); }
.price { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.license { position: relative; background: #000; color: #f3f6f5; border-radius: 34px; padding: clamp(24px, 3.5vw, 44px); overflow: hidden; display: grid; gap: 14px; }
.license__dots { position: absolute; inset: 0; background-image: radial-gradient(circle, #00ff99 0 1.4px, transparent 1.8px); background-size: 10px 10px; opacity: .3; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 85% 10%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 60% at 85% 10%, #000 10%, transparent 70%); pointer-events: none; }
.license > * { position: relative; }
.license__k { font-family: "Mulish", sans-serif; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.license__p { font-weight: 300; font-style: italic; font-size: clamp(84px, 10vw, 148px); line-height: .9; letter-spacing: -0.03em; }
.license__p span { font-size: .4em; vertical-align: .9em; margin-right: 4px; font-style: normal; }
.license__s { color: rgba(243, 246, 245, .7); }
.license__list { display: grid; gap: 10px; margin: 8px 0 10px; }
.license__list li { padding-left: 28px; position: relative; color: rgba(243, 246, 245, .9); }
.license__list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 4px #000; border: 1px solid var(--accent); }
.license .sx-fine { color: rgba(243, 246, 245, .6); }
.license__status { min-height: 1.4em; font-size: 15px; }
.license__status[data-tone="warn"] { color: #ffd27a; }
.license__status[data-tone="error"] { color: #ff9a9a; }
.license__status[data-tone="ok"] { color: var(--accent); }
.price__notes { display: grid; gap: 10px; }
.price__notes details { background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px; padding: 16px 18px; }
.price__notes summary { cursor: pointer; font-size: 18px; }
.price__notes details p { margin-top: 10px; color: var(--sx-muted); font-size: 15px; }
.partner { margin-top: 8px; background: var(--surface); border: 1px solid var(--hairline-strong); border-radius: 26px; padding: 22px; display: grid; gap: 10px; }
.partner .license__k { color: #007548; }
.partner__p { font-size: 18px; }
.partner__p b { font-style: italic; font-weight: 300; font-size: 40px; }
.partner p { color: var(--sx-muted); font-size: 15px; }
.partner .pill { justify-self: start; }

/* ========== CLOSE + FOOTER ========== */
.sx-close { background: transparent; min-height: 86vh; display: grid; align-items: end; padding-bottom: clamp(48px, 8vw, 110px); border-top: 0 !important; }
.sx-close__in { width: 100%; }
.sx-close h2 { font-size: clamp(52px, 9vw, 140px); }
.sx-close .sx-lede { color: #1a1f1d; }
.sx-close__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sx-close .pill:not(.pill--accent) { background: rgba(253, 255, 255, .9); }
.sx-foot { background: #000; color: #e8eeec; padding: 48px 0 56px; }
.sx-foot ul { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 18px; }
.sx-foot a { color: #e8eeec; }
.sx-foot a:hover { color: var(--accent); }
.sx-foot .sx-fine { color: rgba(232, 238, 236, .6); }

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .lab__panel, .explorer__detail, .house, .how__view, .price, .portal-grid, .pwa { grid-template-columns: 1fr; }
  .ctrls { position: static; }
  .offers { grid-template-columns: 1fr; }
  .devices { height: auto; display: grid; grid-template-columns: 2.6fr 1fr; gap: 14px; align-items: end; }
  .device { position: relative; inset: auto; width: auto !important; }
  .device--desktop { grid-column: 1 / -1; }
  .device--tablet { grid-column: 1; }
  .device--phone { grid-column: 2; }
  .device figcaption { position: static; margin-top: 6px; color: var(--sx-muted); }
}
@media (max-width: 640px) {
  .sx { font-size: 16px; }
  .lab__tabs { grid-template-columns: 1fr; gap: 8px; }
  .lab__tab { padding: 14px 16px; grid-template-columns: auto 1fr; column-gap: 12px; }
  .lab__tabn { grid-row: span 2; align-self: center; font-size: 26px; }
  .lab__tabs-sub { grid-column: 2; }
  .portal-feats { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr 1fr; }
  .how__step { min-height: 0; }
  .how__step[aria-current="step"] { transform: none; }
  .detail__grid { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr auto; }
  .tl__track { grid-column: 1 / -1; grid-row: 2; }
  .house__core { width: 58%; }
  .member { width: 24%; margin: -12% 0 0 -12%; font-size: 11px; }
  .member b { font-size: 18px; }
  .bubble { max-width: 60%; font-size: 12px; }
  .bureau b { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .how__step, .offer__bar span, .tl__bar { transition: none; }
}

/* Explorer ring: deeper perspective so the front card is only mildly magnified by translateZ(radius). */
#explorer-ring.m-ring { perspective: 3200px; }

/* Lab KPIs: the headline figure is a full-width banner; three supporting figures below (no truncation). */
.stage > .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stage > .kpis .kpi--hero { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; }
.stage > .kpis .kpi--hero .kpi__v { font-size: clamp(40px, 5vw, 66px); overflow: visible; }
.stage > .kpis .kpi--hero .kpi__l { margin: 0; font-size: 14px; }
.stage > .kpis .kpi__v { font-size: clamp(22px, 2.1vw, 30px); }
.offer__pay small { display: block; margin-top: 6px; }
@media (max-width: 640px) {
  .stage > .kpis { grid-template-columns: 1fr 1fr; }
  .stage > .kpis .kpi:last-child { grid-column: 1 / -1; }
}

/* Header legibility over dark sections */
.hdr .brand__word { transition: color .3s ease; }
.hdr.on-dark .brand__word { color: #f3f6f5; }
.explorer__detail .sx-kicker { color: var(--sx-muted); }
.explorer__detail .kpi__v { font-size: clamp(20px, 1.9vw, 28px); }
.chart .axl { font-size: 11.5px; }
.devices { transform-style: preserve-3d; will-change: transform; }
.device--tablet figcaption { top: -26px; bottom: auto; }
.device--phone { z-index: 2; }
@media (max-width: 900px) { .devices { transform: none !important; } .device--tablet figcaption { top: auto; } }
/* Centering lives on a wrapper so the tilt transform on the card itself cannot displace it. */
.house__corewrap { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%); z-index: 2; }
.house__core { position: relative; left: auto; top: auto; width: 100%; transform: none; }
.bubble { min-width: 170px; }
.house__steps button { width: 100%; }
@media (max-width: 640px) { .house__corewrap { width: 58%; } }
.sx .license__p { font-weight: 300; font-style: italic; font-size: clamp(84px, 10vw, 148px); line-height: .9; letter-spacing: -0.03em; }
/* Opaque cards (no text bleed-through); depth is conveyed by scale, order and dimming instead of transparency. */
#explorer-ring .cat { opacity: 1 !important; transition: filter .35s ease, border-color .35s ease; }
#explorer-ring .cat[aria-selected="false"] { filter: brightness(.62) saturate(.8); }
.cat__g { text-transform: capitalize; }
.sx ol { list-style: none; padding: 0; margin: 0; }
.how__step:hover:not([aria-current="step"]) { transform: translateY(-6px); border-color: var(--hairline-strong); }

/* Header backdrop after scrolling (keeps the hero's header structure; adds legibility over content). */
.hdr::before { content: ''; position: fixed; left: 0; right: 0; top: 0; height: 84px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s ease, background .3s ease; background: linear-gradient(180deg, rgba(240, 243, 244, .97) 40%, rgba(240, 243, 244, 0)); }
.hdr.is-scrolled::before { opacity: 1; }
.hdr.on-dark::before { background: linear-gradient(180deg, rgba(5, 6, 5, .96) 40%, rgba(5, 6, 5, 0)); }
@media (max-width: 1023px) {
  /* The spec's mobile header is "a simple fixed bar": make it a solid, blurred bar so content never ghosts behind it. */
  .hdr::before { height: 74px; background: rgba(240, 243, 244, .94); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
  .hdr.on-dark::before { background: rgba(5, 6, 5, .92); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
}

/* Sticky live result while editing on small screens */
.ctrls__live { display: none; }
@media (max-width: 900px) {
  .ctrls__live { display: block; position: sticky; bottom: 12px; z-index: 3; margin-top: 4px; background: #000; color: #fff; border-radius: 999px; padding: 12px 18px; font-size: 14.5px; font-variant-numeric: tabular-nums; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6); }
  .ctrls__live b { color: var(--accent); font-weight: 400; font-style: italic; font-size: 17px; }
  .ctrls { overflow: visible; }
}
@media (max-width: 640px) {
  .house__corewrap { width: 50%; }
  .house__core { padding: 12px; gap: 4px; border-radius: 18px; }
  .house__core h4 { font-size: 13px; }
  .house__core .row { font-size: 11px; }
  .member { width: 21%; margin: -10.5% 0 0 -10.5%; }
  .member small { font-size: 9.5px; }
  .member__lock { width: 20px; height: 20px; font-size: 10px; }
  .house__steps button { padding: 10px 14px; }
  .house__steps button span { font-size: 12.5px; }
}
.house__bubbles { display: grid; gap: 8px; min-height: 44px; margin: -6px 0 6px; }
.house__bubbles .bubble { position: static; max-width: none; min-width: 0; }

/* =====================================================================================================================
   v3 SALES OVERHAUL — problem expansion, feature explorer, journey, glossary, lifetime timeline, FAQ & trust, pricing.
   Same tokens, pills, radii and black / off-white / electric-green system as the sections above.
   ===================================================================================================================== */

/* ---------- 01 Problem: calculator → whole decision ---------- */
.xstage { position: relative; display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; perspective: 1600px; }
.expand:not(.is-open) .xstage { grid-template-columns: minmax(280px, 460px); justify-content: center; }
.xc { position: sticky; top: 96px; z-index: 2; background: #000; color: #f3f6f5; border-radius: 28px; padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 12px; overflow: hidden; transform-style: preserve-3d; }
.xc::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, #00ff99 0 1.3px, transparent 1.7px); background-size: 9px 9px; opacity: .25; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 100% 0, #000, transparent 70%); mask-image: radial-gradient(ellipse 80% 60% at 100% 0, #000, transparent 70%); pointer-events: none; }
.xc > * { position: relative; }
.xc__k { font-family: "Mulish", sans-serif; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.xc__v { font-style: italic; font-weight: 300; font-size: clamp(48px, 5.4vw, 72px); line-height: .95; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.xc__v small { font-style: normal; font-size: 16px; letter-spacing: 0; color: rgba(243, 246, 245, .78); }
.xc__d { color: rgba(243, 246, 245, .78); font-size: 15px; }
.xc__q { font-size: 17px; line-height: 1.4; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 12px; }
.xc .pill { justify-self: start; margin-top: 6px; }
.xg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.xg[hidden] { display: none; }
.xt { opacity: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px; padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; min-width: 0; transform-origin: 50% 50%; will-change: transform, opacity; }
.xt--work { background: #0d1210; color: #f3f6f5; border-color: #0d1210; }
.xt__tag { font-family: "Mulish", sans-serif; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #006b42; }
.xt--work .xt__tag { color: var(--accent); }
.xt__t { font-size: 17px !important; font-weight: 400; line-height: 1.2; }
.xt__v { font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.05; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.xt__d { font-size: 13.5px; line-height: 1.45; color: var(--sx-muted); }
.xt--work .xt__d { color: rgba(243, 246, 245, .78); }
.xt__list { display: grid; gap: 2px; margin-top: 4px; font-size: 12.5px; font-variant-numeric: tabular-nums; border-top: 1px solid var(--hairline); padding-top: 6px; }
.xt__list li { display: flex; justify-content: space-between; gap: 8px; color: var(--sx-muted); }
.xt__list b { font-weight: 400; color: #000; white-space: nowrap; }
.xt__btn { justify-self: start; min-height: 40px; font-size: 14px; padding: 0 16px; margin-top: 6px; background: var(--accent); color: #000; }
.xg__legend { margin-top: 18px; max-width: 900px; }
@media (prefers-reduced-motion: reduce) { .xt { opacity: 1; } }

/* ---------- 02 Feature explorer (dark section) ---------- */
.sx-features { background: var(--sx-dark); color: #f3f6f5; }
.sx-features .sx-kicker, .sx-features .sx-lede { color: rgba(243, 246, 245, .74); }
.sx-features .sx-head h2 i { color: var(--accent); }
.fx { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.fx__deck { position: sticky; top: 92px; display: grid; gap: 8px; perspective: 1200px; }
.fx__card { position: relative; text-align: left; font: inherit; color: #f3f6f5; cursor: pointer; border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(160deg, #141917, #0a0d0c); border-radius: 18px; padding: 12px 14px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; transform-style: preserve-3d; overflow: hidden; }
.fx__card::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, #00ff99 0 1.2px, transparent 1.6px); background-size: 8px 8px; opacity: 0; transition: opacity .35s; -webkit-mask-image: radial-gradient(circle at 100% 50%, #000, transparent 60%); mask-image: radial-gradient(circle at 100% 50%, #000, transparent 60%); pointer-events: none; }
.fx__card:hover::before { opacity: .3; }
.fx__card[aria-selected="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 50px -28px rgba(0, 255, 153, .55); background: #0f1513; }
.fx__card[aria-selected="true"]::before { opacity: .45; }
.fx__card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.fx__n { grid-row: span 2; font-style: italic; color: var(--accent); font-size: 15px; padding-top: 2px; position: relative; }
.fx__t { font-size: 16.5px; line-height: 1.2; position: relative; }
.fx__s { font-size: 13px; line-height: 1.35; color: rgba(243, 246, 245, .72); position: relative; }
.fx__stage { background: #f7faf9; color: var(--sx-ink); border-radius: 28px; padding: clamp(18px, 2.8vw, 34px); min-width: 0; transform-origin: 0 50%; outline: none; }
.fx__head h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 300; margin: 6px 0 8px; }
.fx__kick { font-family: "Mulish", sans-serif; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #006b42; }
.fx__q { color: var(--sx-muted); font-size: 17px; max-width: 640px; }
.fxp { margin: 20px 0; border: 1px solid var(--hairline); background: #fff; border-radius: 22px; padding: clamp(14px, 2vw, 22px); display: grid; gap: 14px; min-width: 0; }
.fxp__k { font-size: 14.5px; color: var(--sx-muted); }
.fxseg, .fxhh__toggles, .faq__filters { display: flex; flex-wrap: wrap; gap: 6px; }
.fxseg button, .fxhh__toggles button, .faq__filters button { border: 1px solid var(--hairline-strong); background: #fff; color: #000; border-radius: 999px; padding: 8px 14px; min-height: 40px; font: inherit; font-size: 14px; cursor: pointer; }
.fxseg button[aria-pressed="true"], .fxhh__toggles button[aria-pressed="true"], .faq__filters button[aria-pressed="true"] { background: #000; color: #fff; border-color: #000; }
.fxseg button:focus-visible, .fxhh__toggles button:focus-visible, .faq__filters button:focus-visible, .gloss__chip:focus-visible, .lt__mark:focus-visible, .jr__dot:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.fxrank { display: grid; gap: 8px; }
.fxrank__row { display: grid; grid-template-columns: 44px minmax(150px, 210px) minmax(0, 1fr); gap: 12px; align-items: center; border: 1px solid var(--hairline); border-radius: 16px; padding: 10px 14px; background: var(--surface); will-change: transform; }
.fxrank__row.is-top { background: #000; color: #fff; border-color: #000; }
.fxrank__n { font-style: italic; font-size: 22px; }
.fxrank__row.is-top .fxrank__n { color: var(--accent); }
.fxrank__name b { display: block; font-weight: 400; font-size: 15.5px; }
.fxrank__name small { font-size: 12.5px; color: var(--sx-muted); }
.fxrank__row.is-top .fxrank__name small, .fxrank__row.is-top dt { color: rgba(255, 255, 255, .72); }
.fxrank__dl { display: grid; grid-template-rows: auto auto; grid-auto-flow: column; gap: 0 14px; font-size: 13px; font-variant-numeric: tabular-nums; }
.fxrank__dl dt { color: var(--sx-muted); font-size: 11.5px; white-space: nowrap; }
.fxrank__dl dd { margin: 0; white-space: nowrap; }
.fxwhy { font-size: 14px; color: var(--sx-muted); }
.fxsc__grid { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 18px; align-items: start; }
.fxsc__ctrls { display: grid; gap: 12px; }
.fxsc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fxsc__c { border: 1px solid var(--hairline); border-radius: 16px; padding: 14px; background: var(--surface); display: grid; gap: 4px; align-content: start; min-width: 0; }
.fxsc__t { font-size: 13.5px; color: var(--sx-muted); }
.fxsc__v { font-style: italic; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.fxsc__d { font-size: 13px; line-height: 1.4; color: var(--sx-muted); }
.fxpr__bureaus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fxpr__b { border: 1px solid var(--hairline); border-radius: 16px; padding: 12px; background: var(--surface); display: grid; gap: 4px; min-width: 0; }
.fxpr__b p { font-size: 13px; color: var(--sx-muted); }
.fxpr__score { font-style: italic; font-weight: 400; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.fxpr__b input[type="range"] { width: 100%; accent-color: #000; }
.fxpr__dk { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.fxpr__dk input { accent-color: #000; width: 16px; height: 16px; }
.fxpr__res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fxpr__m { background: #000; color: #fff; border-radius: 16px; padding: 12px 14px; }
.fxpr__m p { font-size: 12.5px; color: rgba(255, 255, 255, .74); }
.fxpr__m b { font-style: italic; font-weight: 400; font-size: 24px; color: var(--accent); font-variant-numeric: tabular-nums; }
.fxpr__note { grid-column: 1 / -1; font-size: 13.5px; color: var(--sx-muted); }
.fxhh__seats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.fxhh__seat { border: 1px solid var(--hairline-strong); border-radius: 16px; padding: 10px 6px; text-align: center; display: grid; gap: 2px; background: var(--surface); min-width: 0; }
.fxhh__seat b { font-style: italic; font-weight: 400; font-size: 22px; }
.fxhh__seat span { font-size: 12.5px; }
.fxhh__seat small { font-size: 11.5px; color: var(--sx-muted); }
.fxhh__seat.is-open { border-style: dashed; color: var(--sx-muted); background: transparent; }
.fxhh__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fxhh__h { font-size: 13px; color: var(--sx-muted); margin-bottom: 8px; }
.fxhh__sees { display: grid; gap: 4px; font-size: 13.5px; }
.fxhh__sees li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--hairline); padding: 5px 0; }
.fxhh__sees b { font-weight: 400; color: var(--sx-muted); }
.fxhh__sees li.is-shared b { color: #006b42; }
.fxhh__feed { display: grid; gap: 6px; font-size: 13.5px; border-top: 1px solid var(--hairline); padding-top: 10px; }
.fxhh__feed b { font-weight: 400; }
.fxshot { margin: 0; display: grid; gap: 8px; transform-style: preserve-3d; }
.fxshot__frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--hairline-strong); background: #f0f3f4; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .45); aspect-ratio: 16 / 10; }
.fxshot__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.fxshot figcaption { font-size: 12.5px; color: var(--sx-muted); }
.fx__view > .fxshot { margin: 20px 0; }
.fxdocs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; font-size: 13.5px; color: var(--sx-muted); }
.fxdocs b { display: block; color: #000; font-weight: 400; font-size: 14.5px; }
.fxhist { display: grid; gap: 8px; }
.fxhist li { display: flex; gap: 12px; align-items: center; border: 1px solid var(--hairline); border-radius: 14px; padding: 10px 12px; background: var(--surface); }
.fxhist li:last-child { border-color: #000; }
.fxhist__v { flex: none; min-width: 38px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: #000; color: var(--accent); font-style: italic; font-size: 14px; }
.fxhist b { display: block; font-weight: 400; font-variant-numeric: tabular-nums; }
.fxhist small { font-size: 12.5px; color: var(--sx-muted); }
.fxhist__more { display: grid; gap: 4px; font-size: 13.5px; color: var(--sx-muted); }
.fxhist__more b { color: #000; font-weight: 400; }
.fxhist__x { display: flex; flex-wrap: wrap; gap: 8px; }
.fxhist__st { font-size: 13.5px; min-height: 1.4em; color: var(--sx-muted); }
.fxcat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fxcat li { border: 1px solid var(--hairline); border-radius: 14px; padding: 10px 12px; background: var(--surface); display: grid; gap: 2px; min-width: 0; }
.fxcat b { font-weight: 400; font-size: 14.5px; }
.fxcat span { font-size: 12.5px; color: var(--sx-muted); line-height: 1.35; }
.fxcat small { font-size: 12.5px; font-variant-numeric: tabular-nums; color: #006b42; }
.fxp--cats > .pill { justify-self: start; }
.fxd { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 22px; margin: 6px 0 20px; }
.fxd div { border-top: 1px solid var(--hairline-strong); padding-top: 10px; min-width: 0; }
.fxd dt { font-family: "Mulish", sans-serif; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #006b42; margin-bottom: 4px; }
.fxd dd { margin: 0; font-size: 14.5px; line-height: 1.45; color: #1f2625; }
.fx__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 03 Journey ---------- */
.jr__top { position: sticky; top: 72px; z-index: 3; display: grid; gap: 10px; padding: 10px 0 12px; background: linear-gradient(180deg, var(--background) 75%, rgba(240, 243, 244, 0)); }
.jr__rail { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.jr__dot { min-height: 40px; border-radius: 999px; border: 1px solid var(--hairline-strong); background: #fff; color: #000; font: inherit; font-style: italic; font-size: 15px; cursor: pointer; transition: background .25s, color .25s; }
.jr__dot.is-done { background: rgba(0, 0, 0, .08); }
.jr__dot[aria-selected="true"] { background: #000; color: var(--accent); border-color: #000; }
.jr__prog { height: 3px; border-radius: 3px; background: rgba(0, 0, 0, .1); overflow: hidden; }
.jr__prog span { display: block; height: 100%; background: #000; transform-origin: left; transform: scaleX(.125); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.jr__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.jr__list { display: grid; }
.jr__step { position: relative; min-height: 42vh; padding: 28px 0 28px 22px; display: grid; align-content: center; gap: 8px; }
.jr__step::before { content: ''; position: absolute; left: 0; top: 28%; bottom: 28%; width: 3px; border-radius: 3px; background: var(--hairline-strong); transition: background .3s ease, top .3s ease, bottom .3s ease; }
.jr__step.is-on::before { background: var(--accent); top: 18%; bottom: 18%; }
.jr__step.is-on .jr__n { color: #006b42; }
.jr__n { font-family: "Mulish", sans-serif; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-muted); }
.jr__step h3 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 300; }
.jr__d { color: var(--sx-muted); font-size: 17px; max-width: 520px; }
.jr__stage { position: sticky; top: 170px; min-height: 360px; perspective: 1400px; }
.jr__slot:empty { display: none; }
.jv { background: #000; color: #f3f6f5; border-radius: 26px; padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 8px; position: relative; overflow: hidden; transform-style: preserve-3d; }
.jv::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, #00ff99 0 1.2px, transparent 1.6px); background-size: 9px 9px; opacity: .2; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 100% 100%, #000, transparent 70%); mask-image: radial-gradient(ellipse 70% 60% at 100% 100%, #000, transparent 70%); pointer-events: none; }
.jv > * { position: relative; }
.jv__k { font-family: "Mulish", sans-serif; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.jv__row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 9px 0; font-size: 14.5px; }
.jv__row span { color: rgba(243, 246, 245, .78); }
.jv__row b { font-weight: 400; color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.jv__bureaus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.jv__bureaus div { border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 10px; }
.jv__bureaus b { display: block; font-style: italic; font-weight: 400; font-size: 24px; color: var(--accent); }
.jv__bureaus span { font-size: 12.5px; color: rgba(243, 246, 245, .74); }
.jv__rank { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 10px 12px; }
.jv__rank.is-top { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.jv__rank i { font-size: 20px; color: var(--accent); }
.jv__rank small { display: block; font-size: 12.5px; color: rgba(243, 246, 245, .72); }
.jv__rank b { font-weight: 400; font-variant-numeric: tabular-nums; }
.jv__big { font-style: italic; font-weight: 300; font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--accent); }
.jv__be { position: relative; height: 12px; border-radius: 12px; background: rgba(255, 255, 255, .12); margin-top: 6px; }
.jv__be-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 12px; background: linear-gradient(90deg, #00bd71, #00ff99); }
.jv__be-mark { position: absolute; top: -6px; width: 2px; height: 24px; background: #fff; }
.jv__axis { display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(243, 246, 245, .74); }
.jv__note { font-size: 13.5px; color: rgba(243, 246, 245, .78); margin-top: 6px; }
.jv__doc { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 10px 12px; font-size: 14px; }
.jv__doc small { grid-column: 2; font-size: 12.5px; color: var(--accent); }
.jv__pdf { grid-row: span 2; width: 38px; height: 46px; border-radius: 6px; background: #fff; color: #000; display: grid; place-items: center; font-size: 11px; letter-spacing: .06em; }
.jv__feed { display: grid; gap: 8px; font-size: 14px; color: rgba(243, 246, 245, .86); }
.jv__feed p { border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 10px 12px; }
.jv__feed b { font-weight: 400; color: var(--accent); }
.sx-journey .sx-fine { margin-top: 26px; }

/* ---------- Glossary (beside the calculators) ---------- */
.gloss { margin-top: 26px; }
.gloss__k { font-size: 14px; color: var(--sx-muted); margin-bottom: 10px; }
.gloss__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gloss__chip { border: 1px dashed rgba(0, 0, 0, .45); background: transparent; color: #000; border-radius: 999px; padding: 6px 14px; min-height: 38px; font: inherit; font-size: 14.5px; cursor: help; }
.gloss__chip:hover { border-style: solid; }
.gloss__chip[aria-expanded="true"] { background: #000; color: #fff; border: 1px solid #000; }
.gloss__card { position: relative; margin-top: 12px; max-width: 760px; background: var(--surface); border: 1px solid var(--hairline-strong); border-radius: 20px; padding: 16px 52px 16px 20px; display: grid; gap: 6px; box-shadow: var(--lfb-shadow-rest); }
.gloss__card[hidden] { display: none; }
.gloss__t { font-size: 20px; }
.gloss__d { font-size: 15.5px; }
.gloss__ex { font-size: 14.5px; color: var(--sx-muted); }
.gloss__ex b { font-weight: 400; color: #006b42; }
.gloss__x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hairline-strong); background: #fff; font-size: 20px; line-height: 1; cursor: pointer; }

/* ---------- 07 Lifetime timeline ---------- */
.lt { display: grid; gap: 22px; }
.lt__track { display: grid; gap: 12px; }
.lt__range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; }
.lt__range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #000 var(--fill, 0%), rgba(0, 0, 0, .12) var(--fill, 0%)); }
.lt__range::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(0, 0, 0, .12); }
.lt__range::-moz-range-progress { height: 6px; border-radius: 6px; background: #000; }
.lt__range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--accent); border: 1px solid rgba(0, 0, 0, .4); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.lt__range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); border: 1px solid rgba(0, 0, 0, .4); }
.lt__range:focus-visible { outline: 2px solid #000; outline-offset: 4px; border-radius: 8px; }
.lt__marks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.lt__mark { width: 100%; height: 100%; text-align: left; font: inherit; color: inherit; border: 1px solid var(--hairline); background: var(--surface); border-radius: 16px; padding: 10px 12px; cursor: pointer; display: grid; gap: 2px; align-content: start; }
.lt__mark small { font-size: 12px; color: var(--sx-muted); }
.lt__mark b { font-weight: 400; font-size: 15px; line-height: 1.2; }
.lt__mark.is-past { border-color: var(--hairline-strong); background: rgba(0, 0, 0, .04); }
.lt__mark[aria-current="step"] { background: #000; color: #fff; border-color: #000; }
.lt__mark[aria-current="step"] small { color: var(--accent); }
.lt__panel { background: #000; color: #f3f6f5; border-radius: 30px; padding: clamp(18px, 3vw, 32px); display: grid; gap: 14px; perspective: 1400px; }
.lt__ph { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lt__pk { font-family: "Mulish", sans-serif; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.lt__count { font-style: italic; font-size: 18px; }
.lt__stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lt__card { border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 14px; display: grid; gap: 4px; align-content: start; background: #0d1210; transform-origin: 50% 100%; }
.lt__card.is-new { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.lt__ck { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-family: "Mulish", sans-serif; }
.lt__card h4 { font-weight: 400; font-size: 18px; }
.lt__cd { font-size: 13.5px; color: rgba(243, 246, 245, .78); }
.lt__cv { margin-top: 4px; font-size: 12.5px; color: rgba(243, 246, 245, .74); }
.lt__cv b { display: block; font-style: italic; font-weight: 400; font-size: 22px; color: #fff; font-variant-numeric: tabular-nums; }
.lt__lic { font-size: 13.5px; color: rgba(243, 246, 245, .78); border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 12px; }

/* ---------- 09 Pricing additions ---------- */
.license__row { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.license__ref { font-weight: 300; font-size: clamp(36px, 4vw, 56px); color: rgba(243, 246, 245, .62); text-decoration-thickness: 3px; }
.license__ref[hidden], .license__reflabel[hidden] { display: none; }
.license__reflabel { font-size: 14px; color: rgba(243, 246, 245, .8); margin-top: -6px; }
.license__k { color: var(--accent); }
.sx .license .license__p { color: var(--accent); }

/* ---------- 10 FAQ & trust ---------- */
.trustgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: clamp(36px, 5vw, 56px); }
.tcard { background: var(--surface); border: 1px solid var(--hairline); border-radius: 22px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.tcard h3 { font-size: 20px !important; }
.tcard p { font-size: 15px; color: var(--sx-muted); }
.trust__links, .faq__links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.trust__links a, .faq__links a { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.faq__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.faq__all { min-height: 40px; font-size: 14px; padding: 0 16px; }
.faq__group { margin-top: 26px; }
.faq__group[hidden] { display: none; }
.faq__gh { font-family: "Mulish", sans-serif; font-size: 12.5px !important; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-muted); margin-bottom: 6px; }
.faq__item { border-top: 1px solid var(--hairline-strong); }
.faq__group .faq__item:last-child { border-bottom: 1px solid var(--hairline-strong); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; background: transparent; border: 0; padding: 18px 2px; font: inherit; font-size: clamp(17px, 1.6vw, 21px); color: #000; cursor: pointer; }
.faq__q:focus-visible { outline: 2px solid #000; outline-offset: 2px; border-radius: 8px; }
.faq__q i { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hairline-strong); transition: transform .3s cubic-bezier(.2, .8, .2, 1), background .25s; }
.faq__q i::before, .faq__q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__q[aria-expanded="true"] i { transform: rotate(45deg); background: var(--accent); border-color: transparent; }
.faq__a { overflow: hidden; }
.faq__in { padding: 0 2px 20px; max-width: 860px; display: grid; gap: 8px; }
.faq__in p { font-size: 16px; color: #2c3433; }
@media (prefers-reduced-motion: reduce) { .faq__q i, .jr__prog span, .jr__step { transition: none; } }

/* ---------- Responsive (v3) ---------- */
@media (max-width: 1100px) {
  .xg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fxd { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fxcat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fxrank__row { grid-template-columns: 40px minmax(0, 1fr); }
  .fxrank__dl { grid-column: 1 / -1; grid-template-rows: none; grid-auto-flow: row; grid-template-columns: repeat(3, auto auto); gap: 2px 10px; }
  .lt__stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .xstage, .expand:not(.is-open) .xstage { grid-template-columns: minmax(0, 1fr); }
  .xc { position: relative; top: auto; }
  .fx { grid-template-columns: minmax(0, 1fr); }
  .fx__deck { position: relative; top: auto; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; padding: 4px 2px 10px; margin: 0 calc(-1 * var(--sx-pad)); padding-left: var(--sx-pad); padding-right: var(--sx-pad); scrollbar-width: thin; }
  .fx__card { flex: 0 0 min(250px, 72vw); scroll-snap-align: start; }
  .fxsc__grid { grid-template-columns: minmax(0, 1fr); }
  .jr__top { top: 66px; }
  .jr__body { grid-template-columns: minmax(0, 1fr); }
  .jr__stage { display: none; }
  .jr__step { min-height: 0; padding: 22px 0; border-bottom: 1px solid var(--hairline); }
  .jr__step::before { display: none; }
  .jr__slot { margin-top: 8px; }
  .trustgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lt__marks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .xg { grid-template-columns: minmax(0, 1fr); }
  .fxd, .fxcat, .fxdocs, .fxhh__grid, .fxpr__res, .fxsc { grid-template-columns: minmax(0, 1fr); }
  .fxrank__dl { grid-template-columns: 1fr auto; }
  .fxrank__dl dd { text-align: right; }
  .fxhh__seats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fxpr__bureaus { grid-template-columns: minmax(0, 1fr); }
  .fxpr__b { grid-template-columns: 1fr auto; align-items: center; }
  .fxpr__b input[type="range"], .fxpr__dk { grid-column: 1 / -1; }
  .jr__rail { grid-template-columns: repeat(8, minmax(30px, 1fr)); gap: 4px; }
  .jr__dot { min-height: 36px; font-size: 14px; }
  .jv__row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .jv__row b { text-align: left; }
  .jv__bureaus b { font-size: 19px; }
  .trustgrid, .lt__stack { grid-template-columns: minmax(0, 1fr); }
  .lt__marks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gloss__card { padding-right: 48px; }
}

/* Hero copy legibility on phones/tablets: below 1024px the copy sits over the halftone field, so it gets a
   translucent paper panel. Desktop composition is unchanged. */
@media (max-width: 1023px) {
  .copy { position: relative; z-index: 1; padding: 1rem 1.1rem 1.1rem 1.35rem; border-radius: 1rem;
    background: rgba(240, 243, 244, 0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04); }
  .copy .lead, .copy .body { color: #000; }
  .hero-price { background: rgba(253, 255, 255, 0.94); }
}

/* Pricing CTA: keep the label and price on one readable line where possible; wrap as one centered phrase on phones. */
#buy-btn { display: inline-block; text-align: center; line-height: 1.25; }
#buy-btn [data-price] { white-space: nowrap; }
@media (max-width: 480px) { #buy-btn { width: 100%; padding-left: 1.1rem; padding-right: 1.1rem; font-size: 1rem; } }

/* ========== 01 WHY IT MATTERS (compact band right after the hero) ========== */
.sx-why { padding: clamp(48px, 5.5vw, 84px) 0 clamp(44px, 5vw, 76px); }
.why__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(22px, 2.6vw, 34px); }
.why__intro .sx-kicker { margin-bottom: 12px; }
.sx .why__intro h2 { font-size: clamp(34px, 3.9vw, 58px); }
.why__lede { margin-top: 14px; max-width: 640px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; color: var(--sx-muted); }
.why__stages-l { font-family: "Mulish", sans-serif; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-muted); margin-bottom: 10px; }
.why__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.why__chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hairline-strong); background: var(--surface); color: #000; text-decoration: none; font-size: 15px; transition: background .2s ease, border-color .2s ease, transform .25s cubic-bezier(.2, .9, .25, 1.2); }
.why__chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.why__chip:hover { border-color: #000; transform: translateY(-2px); }
.why__chip:focus-visible, .why__tab:focus-visible, .why__step:focus-visible, .why__toggle:focus-visible, .why__panel:focus-visible { outline: 2px solid #000; outline-offset: 3px; }

.why__body { background: var(--surface); border: 1px solid var(--hairline); border-radius: 28px; padding: 8px; }
.why__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.why__tab { position: relative; text-align: left; border: 0; background: transparent; border-radius: 22px; padding: 12px 16px; cursor: pointer; font: inherit; color: inherit; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; overflow: hidden; transition: background .25s ease, color .25s ease; }
.why__tab:hover { background: rgba(0, 0, 0, .04); }
.why__tab::before { content: ''; position: absolute; inset: 0; background-image: var(--dot); background-size: 9px 9px; opacity: 0; transition: opacity .4s ease; -webkit-mask-image: linear-gradient(120deg, transparent 35%, #000); mask-image: linear-gradient(120deg, transparent 35%, #000); }
.why__tab[aria-selected="true"] { background: #000; color: #fff; }
.why__tab[aria-selected="true"]::before { opacity: .5; --dotc: #00ff99; }
.why__tabn { grid-row: span 2; font-style: italic; font-size: 24px; line-height: 1; position: relative; }
.why__tab[aria-selected="true"] .why__tabn { color: var(--accent); }
.why__tabt { font-size: 16.5px; position: relative; }
.why__tabsub { font-size: 13px; color: var(--sx-muted); position: relative; }
.why__tab[aria-selected="true"] .why__tabsub { color: rgba(255, 255, 255, .72); }
.why__panels { padding: clamp(16px, 2vw, 26px) clamp(12px, 1.8vw, 22px) clamp(12px, 1.5vw, 18px); }
.why__panel[hidden] { display: none; }
.why__panel { outline: none; animation: why-in .45s cubic-bezier(.2, .9, .25, 1) both; }
@keyframes why-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.why__grid { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px) clamp(18px, 3vw, 40px); align-items: start; }
.why__grid--rate { grid-template-areas: 'ctrls head' 'ctrls out'; grid-template-rows: auto 1fr; }
.why__grid--rate .why__head { grid-area: head; display: grid; gap: 10px; }
.why__grid--rate .why__ctrls { grid-area: ctrls; }
.why__grid--rate .why__out { grid-area: out; }
.why__ctrls { display: grid; gap: 14px; min-width: 0; }
.why__out { display: grid; gap: 14px; min-width: 0; }
.sx .why__grid h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.08; }
.why__sub { font-size: 15px; color: var(--sx-muted); margin-top: -4px; }
.why__offers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.why__offer { border: 1px solid var(--hairline); border-radius: 18px; padding: 12px; display: grid; gap: 8px; background: #fff; min-width: 0; }
.why__offer .ctrl__top { flex-wrap: wrap; gap: 4px; }
.why__offer .ctrl label { font-size: 13px; }
.why__offer .ctrl__val input { width: 64px; font-size: 14.5px; }
.why__offer-k { font-family: "Mulish", sans-serif; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.why__offer-k::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: #000; }
.why__offer--b .why__offer-k::before { background: var(--accent); box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.why__kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why__kpis .kpi { padding: 14px 14px 12px; }
.why__kpis .kpi__v { font-size: clamp(22px, 2.2vw, 32px); }
.why__say { font-size: 15.5px; line-height: 1.45; }
.why__bars { display: grid; gap: 10px; }
.why__bar-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 4px; }
.why__bar-top b { font-weight: 400; font-variant-numeric: tabular-nums; }
.why__bar-track { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: rgba(0, 0, 0, .06); }
.why__seg { display: block; height: 100%; transition: width .6s cubic-bezier(.2, .9, .25, 1); }
.why__seg--p { background: #c9cfcd; }
.why__seg--i { background: #000; }
.why__bar--b .why__seg--i { background: #0a7a50; }
.why__seg--f { background: var(--accent); }
.why__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--sx-muted); }
.why__key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: -8px; }
.why__key--p { background: #c9cfcd; } .why__key--i { background: #000; } .why__key--f { background: var(--accent); }

.why__because { font-size: 14.5px; line-height: 1.5; border-left: 3px solid var(--accent); padding: 4px 0 4px 12px; }
.why__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; perspective: 1200px; }
.why__card { position: relative; border: 1px solid var(--hairline); background: #fff; border-radius: 20px; padding: 16px; display: grid; gap: 6px; align-content: start; min-width: 0; transform-style: preserve-3d; transition: background .3s ease, border-color .3s ease; }
.why__card.is-top { border-color: #000; box-shadow: 0 0 0 2px var(--accent), 0 18px 40px -26px rgba(0, 0, 0, .5); }
.why__rank { position: absolute; top: 12px; right: 12px; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; font-style: italic; font-size: 15px; background: rgba(0, 0, 0, .08); }
.why__card.is-top .why__rank { background: #000; color: var(--accent); }
.why__card-t { font-size: 17px; padding-right: 40px; }
.why__card-n { font-size: 13px; color: var(--sx-muted); }
.why__card-d { margin: 4px 0 0; display: grid; gap: 2px; }
.why__card-d div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--hairline); padding: 4px 0; font-size: 13.5px; }
.why__card-d dt { color: var(--sx-muted); }
.why__card-d dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.why__card-x { font-size: 12.5px; line-height: 1.4; color: var(--sx-muted); }

.why__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.why__step { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; font: inherit; font-size: 15.5px; color: inherit; background: #fff; border: 1px solid var(--hairline); border-radius: 16px; padding: 10px 14px; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.why__step:hover { border-color: #000; }
.why__step[aria-pressed="true"] { background: #000; color: #fff; border-color: #000; }
.why__stepn { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; font-style: italic; font-size: 14px; flex: none; }
.why__step[aria-pressed="true"] .why__stepn { background: var(--accent); color: #000; border-color: var(--accent); }
.why__mock { display: flex; flex-wrap: wrap; gap: 12px; min-height: 150px; padding: 18px; border-radius: 22px; background: #000; background-image: radial-gradient(circle at 50% 50%, rgba(0, 255, 153, .35) 0 1.1px, transparent 1.5px); background-size: 10px 10px; }
.why__mcard { flex: 1 1 200px; max-width: 300px; background: #fff; border-radius: 16px; padding: 12px 14px; display: grid; gap: 4px; animation: why-in .5s cubic-bezier(.2, .9, .25, 1.1) both; }
.why__mcard + .why__mcard { animation-delay: .08s; }
.why__mcard--saved { box-shadow: 0 0 0 2px var(--accent); }
.why__mk { font-family: "Mulish", sans-serif; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-muted); }
.why__mrow { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.why__mrow b { font-weight: 400; }
.why__stepd { display: grid; gap: 4px; font-size: 15px; }
.why__stepk { font-family: "Mulish", sans-serif; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-muted); }
.why__stept { font-size: 19px; }
.why__out > .pill, .why__links .pill { justify-self: start; min-height: 44px; }
.why__links { display: flex; flex-wrap: wrap; gap: 10px; }

.why__seats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.why__seat { display: grid; justify-items: center; gap: 4px; text-align: center; min-width: 0; }
.why__av { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-style: italic; font-size: 22px; background: #000; color: var(--accent); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--hairline-strong); }
.why__seat--open .why__av { background: transparent; color: var(--sx-muted); border: 1.5px dashed var(--hairline-strong); box-shadow: none; }
.why__seatn { font-size: 14px; }
.why__seatr { font-size: 12px; color: var(--sx-muted); }
.why__toggle { justify-self: start; display: inline-flex; align-items: center; gap: 12px; font: inherit; font-size: 15px; color: inherit; background: #fff; border: 1px solid var(--hairline-strong); border-radius: 999px; padding: 6px 16px 6px 6px; cursor: pointer; }
.why__knob { position: relative; width: 44px; height: 26px; border-radius: 999px; background: rgba(0, 0, 0, .15); transition: background .25s ease; flex: none; }
.why__knob::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .5); transition: transform .3s cubic-bezier(.2, .9, .25, 1.3); }
.why__toggle[aria-checked="true"] .why__knob { background: #000; }
.why__toggle[aria-checked="true"] .why__knob::after { transform: translateX(18px); background: var(--accent); }
.why__share { font-size: 15px; line-height: 1.45; }

.why__value { margin-top: clamp(16px, 2vw, 24px); display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; }
.why__value p { flex: 1 1 520px; font-size: 15.5px; line-height: 1.5; color: var(--sx-muted); }
.why__value a:not(.pill) { text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.why__price { color: #000; font-weight: 400; font-style: italic; font-size: 19px; background: var(--accent); padding: 1px 8px; border-radius: 8px; margin-right: 4px; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .why__panel, .why__mcard { animation: none; }
  .why__seg, .why__knob::after, .why__chip { transition: none; }
}
@media (max-width: 1100px) {
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .why__grid--rate { grid-template-areas: 'head' 'ctrls' 'out'; grid-template-rows: none; }
  .why__ctrls { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .why__top { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .why__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .why__body { border-radius: 22px; padding: 6px; }
  .why__tab { padding: 10px 12px; }
  .why__tabn { font-size: 20px; }
  .why__tabt { font-size: 15px; }
  .why__tabsub { display: none; }
  .why__panels { padding: 14px 8px 8px; }
  .why__offers { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .why__offer { padding: 10px; }
  .why__kpis { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .why__kpis .kpi { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
  .why__kpis .kpi__l { margin-top: 0; order: -1; min-width: 0; }
  .why__kpis .kpi__v { overflow: visible; flex: none; font-size: 24px; }
  .why__cards { grid-template-columns: minmax(0, 1fr); }
  .why__seats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why__chip { min-height: 36px; padding: 0 12px; font-size: 14px; }
}

/* Marketing-only launch: replaces the hidden lead form (inserted server-side, see src/worker/lib/launch.ts). */
.request-closed{position:absolute;bottom:1.875rem;left:1.875rem;z-index:2;margin:0;padding:1rem 1.25rem;border-radius:1.25rem;background:rgba(255,255,255,.82);border:1px solid rgba(0,0,0,.08);font-size:.95rem;line-height:1.5;max-width:34rem}
.request-closed a{color:inherit;text-decoration:underline;text-underline-offset:.2em}

/* Marketing-only launch removes sign-in links server-side; hide the list items they leave empty. */
footer li:empty,nav li:empty{display:none}

/* Marketing-only launch hides the lead form server-side; the hidden attribute must win over .request display rules. */
.request[hidden]{display:none!important}
@media (max-width:1023.98px){.request-closed{position:relative;left:auto;bottom:auto;max-width:none}}
