/* Premium futures price cards on landing pages (growth/landing/blocks/futuresPlans.tsx).
   The homepage's compact cards (components/pricing/PlanParts.tsx, .tl-pricing-compact)
   rebuilt on the landing tokens: blue identity edge, lit 200K card, green Get Funded,
   green SimFunded panel. Loaded after energy.css. */

.fp-split-input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0; }
.fp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Platform and split pickers (which label is lit and which panel shows: generated per page in futuresPlans.tsx) */
.fp-pickers { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 32px; padding: 16px 20px; border: 1px solid var(--tl-hairline); border-radius: 16px; background: var(--tl-surface-raised); }
.fp-pickers > div > p:first-child { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: #b8c6db; }
.fp-platform > div { display: flex; width: min(100%, 320px); gap: 4px; padding: 4px; border-radius: 10px; background: #27272a; }
.fp-platform label, .fp-platform-only, .fp-platform-locked { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; padding: 8px 16px; border-radius: 6px; }
.fp-platform label { opacity: .6; cursor: pointer; transition: opacity .15s; }
.fp-platform label:hover { opacity: .9; }
.fp-platform-only { background: rgba(49, 114, 216, .18); box-shadow: inset 0 0 0 1px #3172d8; }
.fp-platform-locked { color: #9ca3af; opacity: .5; cursor: not-allowed; }
.fp-platform-locked small { font-size: 12px; }
.fp-platform img { display: block; width: auto; max-width: 100%; height: 20px; object-fit: contain; }
.fp-platform img[data-provider="hyperprop"] { height: 17px; }
.fp-platform-soon { margin: 10px 0 0; font-size: 14px; color: rgba(255, 255, 255, .6); }
.fp-split > div { display: inline-flex; padding: 4px; border: 1px solid var(--tl-hairline); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.fp-split label { display: flex; align-items: center; justify-content: center; min-height: 48px; min-width: 72px; padding: 0 16px; border-radius: 8px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .6); cursor: pointer; font-variant-numeric: tabular-nums; transition: color .15s; }
.fp-split label:hover { color: #fff; }

.fp-panel { display: none; }
.fp-split-note { min-height: 20px; margin: 10px 0 0; font-size: 13px; color: rgba(255, 255, 255, .65); }
.fp-none { margin: 16px 0 0; font-size: 14px; color: rgba(255, 255, 255, .7); }
/* Facts shared by every card, said once under the grid (as on /pricing) */
.fp-grid-note { max-width: 760px; margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .65); }
.fp-grid-note + .fp-grid-note { margin-top: 6px; }
.fp-grid-note b { font-weight: 600; color: #fff; }

/* What a buyer must know on another platform (as under the homepage's platform choice) */
.fp-platform-facts { max-width: 672px; margin-top: 12px; padding: 16px; border: 1px solid rgba(49, 114, 216, .4); border-radius: 8px; background: #18181b; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.fp-platform-facts ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fp-platform-facts li { position: relative; padding-left: 16px; }
.fp-platform-facts li:before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: #4f8ef7; }
.fp-platform-facts details { margin-top: 10px; }
.fp-platform-facts summary { cursor: pointer; font-weight: 600; color: #fff; }
.fp-platform-facts details ul { margin-top: 8px; }
.fp-platform-facts details li:before { background: #fbbf24; }

/* Cards */
.fp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; margin-top: 16px; }
.fp-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--tl-hairline); border-radius: 20px; background: #111113; }
.fp-card:before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; pointer-events: none; background: linear-gradient(90deg, transparent, #1d4e9e 30%, var(--tl-identity) 70%, transparent); opacity: .85; }
.fp-card-featured {
  border-color: transparent;
  background: linear-gradient(180deg, var(--tl-surface-identity) 0%, #0f0f12 55%) padding-box, var(--tl-gradient-featured-border) border-box;
  box-shadow: var(--tl-glow-featured);
  transform: translateY(-8px);
}
.fp-card-featured:before { height: 3px; opacity: 1; }
.fp-card-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 12px; }
.fp-card h3 { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.fp-card-head span { font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, .55); line-height: 2; font-variant-numeric: tabular-nums; }
.fp-capital { margin: 4px 0 0; font-size: 12px; color: rgba(255, 255, 255, .45); font-variant-numeric: tabular-nums; }

.fp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 12px; }
.fp-price > p { margin: 0; font-size: 32px; font-weight: 600; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, #c9dbff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff; }
.fp-price > p.fp-price-deal { background: none; -webkit-text-fill-color: currentColor; color: var(--tl-win); text-shadow: var(--tl-text-glow-win); }
.fp-price > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 12px; color: rgba(255, 255, 255, .45); }
.fp-price s { color: rgba(255, 255, 255, .5); text-decoration-thickness: 1.5px; text-decoration-color: rgba(239, 68, 68, .7); font-variant-numeric: tabular-nums; }
.fp-price b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--tl-deal); }

.fp-cta { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 12px; padding: 10px 24px; border-radius: 12px; background: var(--tl-gradient-cta-conversion); box-shadow: var(--tl-glow-cta); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; text-shadow: 0 1px 0 rgba(0, 0, 0, .18); transition: transform .15s, box-shadow .15s, filter .15s; }
.fp-cta:hover { transform: translateY(-1px); box-shadow: var(--tl-glow-cta-hover); filter: saturate(1.15); }
.fp-cta-soon { background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--tl-hairline); color: rgba(255, 255, 255, .45); text-shadow: none; cursor: not-allowed; }
.fp-cta-soon:hover { transform: none; box-shadow: inset 0 0 0 1px var(--tl-hairline); filter: none; }
.fp-cta:focus-visible { outline: 2px solid var(--tl-identity); outline-offset: 3px; }

.fp-card-rules { display: grid; gap: 12px; margin-top: 12px; }
.fp-rules { padding: 7px 12px 3px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.fp-rules > p { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tl-identity); }
.fp-rules dl { margin: 6px 0 0; }
.fp-rules dl > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 1px 0; font-size: 12px; line-height: 18px; }
.fp-rules dl > div + div { border-top: 1px solid rgba(255, 255, 255, .07); }
.fp-rules dt { flex: none; white-space: nowrap; color: rgba(255, 255, 255, .7); }
.fp-rules dd { margin: 0; text-align: right; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.fp-rules dd span { font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, .55); text-shadow: none; }
.fp-rules dd span:before { content: " · "; }
.fp-rules-funded { border-color: var(--tl-win-line); background: var(--tl-win-soft); box-shadow: 0 0 28px -14px var(--tl-win-glow-color); }
.fp-rules-funded > p, .fp-rules-funded dd { color: var(--tl-win); text-shadow: var(--tl-text-glow-win); }
.fp-fine { margin: 0; padding-top: 4px; font-size: 11px; line-height: 16px; color: rgba(255, 255, 255, .55); }

/* Claims row under the cards, as on the homepage */
.fp-claims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 32px 0 28px; padding: 24px 0 0; border-top: 1px solid var(--tl-hairline); list-style: none; }
.fp-claims li { display: flex; align-items: flex-start; gap: 10px; }
.fp-claims i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--tl-win-soft); box-shadow: inset 0 0 0 1px var(--tl-win-line); color: var(--tl-win); font-size: 11px; font-style: normal; font-weight: 700; }
.fp-claims p { margin: 0; font-size: 15px; line-height: 1.35; }
.fp-claims b { color: var(--tl-win); text-shadow: var(--tl-text-glow-win); font-weight: 600; }
.fp-claims span { display: block; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.fp-section .small-rule { max-width: 760px; }
.fp-section .small-rule + .small-rule { margin-top: 6px; }
.fp-section .text-link { margin-top: 14px; }
.fp-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 28px; }
.fp-section .fp-more .text-link { margin-top: 0; }

@media (max-width: 1023px) {
  .fp-grid { grid-template-columns: 1fr; max-width: 36rem; }
  .fp-card-featured { transform: none; }
}
@media (max-width: 650px) {
  .fp-pickers { padding: 12px; gap: 14px; }
  .fp-platform, .fp-split { width: 100%; }
  .fp-platform > div, .fp-split > div { display: flex; width: 100%; }
  .fp-split label { flex: 1; min-width: 0; }
  .fp-platform-facts { padding: 14px; font-size: 13px; }
  .fp-card { padding: 20px; }
  .fp-card h3 { font-size: 20px; }
  .fp-card-head span { font-size: 12px; }
  .fp-capital { font-size: 13px; }
  .fp-price > p { font-size: 40px; }
  .fp-price > div { font-size: 13px; }
  .fp-cta { min-height: 48px; margin-top: 16px; }
  .fp-card-rules { margin-top: 16px; }
  .fp-rules { padding: 12px 14px 6px; }
  .fp-rules > p { font-size: 11px; }
  .fp-rules dl > div { padding: 8px 0; font-size: 14px; line-height: 20px; }
  .fp-rules dd span { display: block; margin-top: 2px; font-size: 12px; }
  .fp-rules dd span:before { content: none; }
  .fp-fine { font-size: 12px; line-height: 18px; }
  .fp-claims { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .fp-cta { transition: none; }
  .fp-cta:hover { transform: none; }
}

/* Page-wide: no one-word last line. Headings even out their lines; body text
   avoids leaving a single word alone on the last line. */
h1, h2, h3, h4, summary, .cta, .fp-section label { text-wrap: balance; }
p, li, dd, dt, span, small, figcaption, blockquote { text-wrap: pretty; }
