/* Home page only. Shared parts (stage, shot, cut, feat, tiles, plans, band) live in ui.css. */

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero-light {
  position: absolute;
  inset: -240px 0 auto 0;
  height: 980px;
  pointer-events: none;
  background:
    radial-gradient(42% 46% at 50% 30%, rgba(255, 181, 71, 0.2), rgba(252, 120, 64, 0.06) 45%, rgba(255, 181, 71, 0) 72%),
    radial-gradient(30% 30% at 50% 62%, rgba(208, 214, 224, 0.05), rgba(208, 214, 224, 0) 70%);
}
.hero-light::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(46% 50% at 50% 40%, #000 10%, transparent 80%);
  mask-image: radial-gradient(46% 50% at 50% 40%, #000 10%, transparent 80%);
}
.hero-text { position: relative; max-width: 1080px; margin: 0 auto; text-align: center; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  font-size: var(--fs-ui);
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 0 1px var(--line-card) inset;
}
.hero-kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok-text); box-shadow: 0 0 0 4px rgba(76, 194, 100, 0.15); }
.hero-title { margin-top: 24px; font-size: 68px; line-height: 0.98; letter-spacing: -0.038em; }
.hero-title > span { display: block; }
@media (min-width: 901px) { .hero-title > span { white-space: nowrap; } }
.hero-lead { max-width: 620px; margin: 24px auto 0; font-size: 19px; color: var(--text-2); }
.hero-actions { margin-top: 36px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { height: 48px; padding: 0 26px; font-size: 15px; }
.hero-note { margin-top: 16px; font-size: var(--fs-ui); color: var(--text-3); }

.hero-scene { position: relative; max-width: 1080px; margin: 72px auto 0; }
.hero-stage { padding: 52px 52px 0; }
.hero-stage::before, .hero-stage::after { inset: 0 0 52px 0; border-radius: 32px; }
.hero-stage::before {
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(255, 181, 71, 0.4), rgba(252, 120, 64, 0.14) 40%, rgba(255, 181, 71, 0) 75%),
    linear-gradient(180deg, rgba(255, 181, 71, 0.06), rgba(255, 181, 71, 0) 50%),
    var(--l1);
}
.hero-stage::after {
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, transparent 75%);
}
.hero-shot { aspect-ratio: 1824 / 786; background: var(--bg); }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; font-size: var(--fs-ui); color: var(--text-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero-fact-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 181, 71, 0.14); }

.hero-brokers { position: relative; margin-top: 64px; text-align: center; }
.hero-brokers .label { margin-bottom: 18px; color: var(--text-3); }
.hero-brokers .tiles { list-style: none; padding: 0; }

/* ---------- the fan-out ---------- */
.fan { position: relative; height: 300vh; }
.fan-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.fan-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: center; width: 100%; }
.fan-text .h2 { margin-top: 18px; font-size: 44px; }
.fan-steps { list-style: none; padding: 0; margin-top: 32px; display: grid; gap: 4px; counter-reset: fan; }
.fan-steps li {
  position: relative;
  padding: 14px 16px 14px 52px;
  border-radius: 14px;
  color: var(--text-3);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  transition: color 300ms var(--ease), background 300ms var(--ease);
}
.fan-steps li::before {
  counter-increment: fan;
  content: counter(fan);
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: var(--w-semibold);
  color: var(--text-3);
  box-shadow: 0 0 0 1px var(--line-hover) inset;
  transition: all 300ms var(--ease);
}
.fan-steps strong { display: block; color: var(--text-2); font-weight: var(--w-medium); transition: color 300ms var(--ease); }
.fan-steps li.is-on { color: var(--text-2); background: rgba(255, 255, 255, 0.025); }
.fan-steps li.is-on strong { color: var(--text-1); }
.fan-steps li.is-on::before { color: var(--ink); background: var(--amber); box-shadow: var(--glow-hl); }

.fan-board {
  position: relative;
  padding: 18px 18px 22px 46px;
  border-radius: 22px;
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(255, 181, 71, 0.12), rgba(255, 181, 71, 0) 70%),
    var(--l1);
  box-shadow: 0 0 0 1px var(--line-card) inset, 0 40px 100px -40px rgba(0, 0, 0, 0.9);
}
.fan-cols { padding: 0 0 6px; opacity: 0.8; }
.fan-cols img { display: block; width: 100%; height: auto; }
.fan-head { margin-left: -28px; display: flex; justify-content: space-between; align-items: center; padding: 0 6px 14px; font-size: var(--fs-ui); color: var(--text-2); font-weight: var(--w-medium); }
.fan-count { color: var(--text-3); font-size: 12px; transition: color 300ms var(--ease); }
.fan-board.is-done .fan-count { color: var(--ok-text); }
.fan-row {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: opacity 400ms var(--ease), filter 400ms var(--ease), box-shadow 400ms var(--ease), transform 400ms var(--ease);
}
.fan-row + .fan-row, .fan-lines + .fan-row { margin-top: 10px; }
.fan-row img { display: block; flex: 1; min-width: 0; width: 100%; height: auto; }
.fan-cols { margin-right: 118px; }
.fan-row.is-lead { margin-bottom: 22px; opacity: 0.45; filter: saturate(0.2); }
.fan-row.is-lead.is-on { opacity: 1; filter: none; box-shadow: 0 0 0 1px var(--amber-line), 0 0 40px -10px rgba(255, 181, 71, 0.5); }
.fan-row[data-fan-row] { opacity: 0.22; filter: saturate(0) blur(0.6px); transform: translateX(10px); }
.fan-row[data-fan-row].is-on { opacity: 1; filter: none; transform: none; box-shadow: 0 0 0 1px var(--ok-line); }
.fan-tag {
  flex: none;
  width: 108px;
  margin: 0 10px 0 0;
  justify-content: center;
  height: 22px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: var(--w-medium);
  color: var(--ink);
  background: var(--amber);
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
.fan-tag.is-ok { color: var(--ok-text); background: rgba(15, 16, 17, 0.92); box-shadow: 0 0 0 1px var(--ok-line) inset; }
.fan-row.is-on .fan-tag { opacity: 1; }
.fan-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.fan-lines .base { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 1.5; }
.fan-lines .run { fill: none; stroke: var(--amber); stroke-width: 1.8; filter: drop-shadow(0 0 4px rgba(255, 181, 71, 0.7)); }

/* ---------- feature extras ---------- */
.feat-first { margin-top: 88px; }
.feat-safety .shot { opacity: 0.9; }
.feat-cut-safety { width: 64%; right: -28px; bottom: -36px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 136px; }
.duo-card {
  position: relative;
  overflow: hidden;
  padding: 32px 32px 0;
  border-radius: 24px;
  background:
    radial-gradient(80% 60% at 50% 100%, rgba(255, 181, 71, 0.14), rgba(255, 181, 71, 0) 70%),
    var(--l1);
  box-shadow: 0 0 0 1px var(--line-card) inset;
}
.duo-card > * + * { margin-top: 12px; }
.duo-card .eyebrow + .h3 { margin-top: 14px; }
.duo-card .h3 { font-size: 24px; letter-spacing: -0.02em; }
.duo-pic {
  margin-top: 28px;
  margin-right: -32px;
  border-radius: 14px 0 0 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 -20px 60px -20px rgba(0, 0, 0, 0.8);
  aspect-ratio: 16 / 9;
}
.duo-pic img { display: block; width: 100%; height: auto; object-fit: cover; object-position: left top; }

/* ---------- setup ---------- */
.setup { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-top: 64px; }
.setup-steps { list-style: none; padding: 0; display: grid; gap: 12px; }
.setup-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
  background: var(--l1);
  box-shadow: 0 0 0 1px var(--line-card) inset;
}
.setup-steps li > div > * + * { margin-top: 6px; }
.setup-n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--amber);
  background: var(--amber-fill);
  box-shadow: 0 0 0 1px var(--amber-line) inset;
}

/* ---------- prop firm wall ---------- */
.firm-wall { margin-top: 48px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.firm-wall .logo-cell:last-child { color: var(--amber); font-weight: var(--w-medium); }

/* ---------- security ---------- */
.sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.sec-text > * + * { margin-top: 16px; }
.sec-text .eyebrow + .h2 { margin-top: 18px; }
.sec-facts { list-style: none; padding: 0; display: grid; gap: 12px; }
.sec-facts li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
  background: var(--l1);
  box-shadow: 0 0 0 1px var(--line-card) inset;
}
.sec-facts li > div > * + * { margin-top: 6px; }
.sec-facts svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; color: var(--amber); background: var(--amber-fill); box-shadow: 0 0 0 1px var(--amber-line) inset; }

/* ---------- questions ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-grid > div:first-child > * + * { margin-top: 16px; }
.faq-grid .eyebrow + .h2 { margin-top: 18px; }

/* ---------- close ---------- */
.close .display { font-size: 64px; }
.close .display > span { display: block; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .hero-shot { aspect-ratio: 1824 / 786; background: var(--bg); }
}
@media (max-width: 900px) {
  .hero { padding: 56px 0 48px; }
  .hero-title { font-size: 46px; }
  .hero-lead { font-size: 17px; }
  .hero-scene { margin-top: 48px; }
  .hero-stage { padding: 20px 20px 0; }
  .hero-stage::before, .hero-stage::after { inset: 0 0 20px 0; border-radius: 22px; }
  .hero-brokers { margin-top: 40px; }
  .tile { padding-right: 16px; }

  .fan { height: auto; }
  .fan-pin { position: static; height: auto; padding: 88px 0; }
  .fan-grid { grid-template-columns: 1fr; gap: 32px; }
  .fan-text .h2 { font-size: 32px; }
  .fan-board { padding: 12px 10px 14px 28px; }
  .fan-head { margin-left: -16px; }
  .fan-row.is-lead { margin-bottom: 18px; }
  .fan-row[data-fan-row] { transform: none; } /* phones: fade in only; the 10px slide pushed rows past the board edge */
  .fan-tag { height: 18px; font-size: 10px; width: 76px; margin-right: 6px; padding: 0 4px; white-space: nowrap; letter-spacing: -0.01em; }
  .fan-cols { margin-right: 82px; }

  .feat-cut-safety { width: 78%; right: -8px; bottom: -24px; }
  .duo { grid-template-columns: 1fr; margin-top: 96px; }
  .duo-card { padding: 24px 24px 0; }
  .duo-pic { margin-right: -24px; }
  .setup, .sec, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .setup { margin-top: 40px; }
  .firm-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .close .display { font-size: 40px; }
}
@media (max-width: 420px) {
  .hero-title { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .fan { height: auto; }
  .fan-pin { position: static; height: auto; padding: 112px 0; }
}

/* ---------- trade copier page (shares the home look) ---------- */
.tc-hero { padding-bottom: 32px; }
.tc-title { font-size: 72px; }
.tc-hero .eyebrow { justify-content: center; }
.tc-hero .eyebrow::after { content: ''; width: 18px; height: 1px; background: var(--amber-line); }
.tc-toc ul { list-style: none; padding: 24px 0 0; margin-top: 72px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; border-top: 1px solid var(--line-row); }
.tc-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); font-size: var(--fs-ui); color: var(--text-3); }
.tc-toc a:hover { color: var(--text-1); background: var(--btn-s-fill); }
.feat-cut-limits { width: 36%; left: -24px; bottom: -32px; }
.feat[id] { scroll-margin-top: 96px; }
@media (max-width: 900px) {
  .tc-title { font-size: 40px; }
  .tc-toc ul { margin-top: 40px; }
}
