/* Tool pages (/future/, /floor/) in the home page's look: one dark hero that holds
   the answer and its chart, then plain light sections. One card style, one button
   style, colour only for meaning (green = floor, red = below it, orange = the action).
   Tokens match index.html and about/index.html. */
:root {
  --hx-bg: #0E1226;
  --hx-bg-hi: #1D2546;
  --hx-ink: #FFFFFF;
  --hx-ink-2: #C3C8D9;
  --hx-muted: #8C93AA;
  --hx-line: rgba(255, 255, 255, 0.09);
  --hx-floor: #2EE07F;
  --hx-below: #FF6B57;
  --btc: #F7931A;
  --btc-ink: #B35F00;
  --ink: #14172A;
  --ink-2: #4C5266;
  --ink-3: #6B7184;
  --paper: #FFFFFF;
  --wash: #F4F5F8;
  --rule: #E3E5EC;
  --floor-ink: #00873A;
  --below-ink: #C4001D;
}

main.tp-main { padding: 0; }
main.tp-main + .footer { margin-top: 0; }
.tp-wrap { max-width: 1120px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.tp-main a { text-underline-offset: 3px; }

/* Hero */
.tp-hero {
  background: radial-gradient(110% 80% at 88% 0%, var(--hx-bg-hi) 0%, var(--hx-bg) 52%, #0A0D1B 100%);
  color: var(--hx-ink); padding: 44px 0 40px;
}
.tp-kicker { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hx-muted); }
.tp-hero h1 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; color: var(--hx-ink); text-wrap: balance; }
.tp-lead { margin: 12px 0 0; font-size: 1.02rem; line-height: 1.6; color: var(--hx-ink-2); max-width: 60ch; }
.tp-lead strong { color: var(--hx-ink); font-weight: 600; }
.tp-hero a { color: #FFB255; }

/* The answer card in the hero */
.tp-card { margin-top: 24px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--hx-line); border-radius: 16px; padding: 20px 22px; display: grid; gap: 16px; }
.tp-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 24px; }
.tp-num span { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hx-muted); }
.tp-num b { display: block; margin-top: 4px; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--hx-ink); white-space: nowrap; }
.tp-num.is-floor b { color: var(--hx-floor); }
.tp-num.below b { color: var(--hx-below); }
.tp-line { margin: 0; padding-top: 14px; border-top: 1px solid var(--hx-line); font-size: 0.95rem; line-height: 1.6; color: var(--hx-ink-2); }
.tp-line strong { color: var(--hx-ink); font-weight: 600; }
.tp-chart-cap { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--hx-muted); max-width: 80ch; }
.tp-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--hx-muted); }
.tp-legend li, .tp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tp-legend i { display: inline-block; width: 18px; height: 0; border-top: 2px solid; }

/* Light sections */
.tp-s { padding: 56px 0; background: var(--paper); color: var(--ink); }
.tp-s + .tp-s { border-top: 1px solid var(--rule); }
.tp-wash { background: var(--wash); }
.tp-eyebrow { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--btc-ink); }
.tp-s h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; color: var(--ink); text-wrap: balance; }
.tp-s h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; font-weight: 700; color: var(--ink); }
.tp-sub { margin: 0 0 20px; font-size: 1rem; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.tp-s a:not(.tp-cta) { color: var(--btc-ink); }
.tp-box { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 20px 22px; min-width: 0; }
.tp-s .table-container { margin: 0; }
.tp-s table { font-variant-numeric: tabular-nums; }
.tp-s th, .tp-s td { padding: 10px 12px; }
.tp-s tr:hover td { background: transparent; }
.tp-more { display: inline-block; margin-top: 20px; font-weight: 600; }
.tp-note { margin: 24px 0 0; font-size: 0.9rem; line-height: 1.6; color: var(--ink-3); max-width: 70ch; }
.tp-btn-quiet { font: inherit; font-size: 0.92rem; font-weight: 600; min-height: 44px; padding: 0 16px; margin-top: 12px; border-radius: 10px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; }

/* The one action: plan on the floor */
.tp-plan {
  border-radius: 18px; padding: 28px; color: var(--hx-ink);
  background: radial-gradient(90% 120% at 100% 0%, var(--hx-bg-hi) 0%, var(--hx-bg) 60%);
}
.tp-s .tp-plan h2 { color: var(--hx-ink); margin-bottom: 6px; }
.tp-plan p { margin: 0; color: var(--hx-ink-2); line-height: 1.6; max-width: 60ch; }
.tp-plan p strong { color: var(--hx-ink); }
.tp-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 12px; background: var(--btc); color: #1A1206; font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
}
.tp-cta:hover { filter: brightness(1.06); color: #1A1206; }
.tp-quiet { font-size: 0.9rem; color: var(--hx-ink-2); }
.tp-s .tp-plan .tp-quiet a { color: #FFB255; }

/* Short answers (dl.qa feeds the FAQ JSON-LD; keep the markup) */
.tp-s .qa { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; }
.tp-s .qa > div { min-width: 0; }
.tp-s .qa dt { margin: 0; font-weight: 700; font-size: 1rem; color: var(--ink); }
.tp-s .qa dd { margin: 6px 0 0; font-size: 0.95rem; line-height: 1.6; color: var(--ink-2); }

.tp-main :focus-visible { outline: 2px solid var(--btc); outline-offset: 2px; }

@media (max-width: 900px) {
  .tp-s .qa { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .tp-wrap { padding-left: 16px; padding-right: 16px; }
  .tp-hero { padding: 28px 0 28px; }
  .tp-card { padding: 16px; gap: 14px; }
  .tp-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-num b { font-size: 1.55rem; }
  .tp-s { padding: 40px 0; }
  .tp-box { padding: 16px; }
  .tp-plan { padding: 20px 18px; }
  .tp-cta { width: 100%; }
  .tp-s th, .tp-s td { padding: 9px 8px; }
}
