/* Shared launch-day parts, used on every page: the offer banner, app windows on a lamp plate, cut-outs,
   feature rows, logo tiles, plan cards, the closing band, gentle reveals. Colours only from tokens.css. */

/* ---------- offer banner (above the header) ---------- */
.offer {
  position: relative;
  z-index: 60;
  background: linear-gradient(90deg, rgba(255, 181, 71, 0.04), rgba(255, 181, 71, 0.12) 50%, rgba(255, 181, 71, 0.04));
  border-bottom: 1px solid var(--amber-line);
  font-size: var(--fs-ui);
  color: var(--text-2);
}
.offer a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  padding: 6px var(--gutter-phone);
  color: inherit;
  text-align: center;
  text-decoration: none;
}
.offer a:hover { color: var(--text-1); }
.offer strong { color: var(--amber); font-weight: var(--w-semibold); }
.offer-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  border-radius: var(--r-pill);
  padding: 2px 8px;
  white-space: nowrap;
}
.offer-go { color: var(--amber); white-space: nowrap; }
/* Phones: one line, "50% off. Ends 30 November.  See prices" (the date never splits). */
.offer-end { white-space: nowrap; }
@media (max-width: 640px) { .offer-long { display: none; } }
@media (max-width: 480px) { .offer-mid { display: none; } }

/* ---------- small label above a heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--amber-line); }
.eyebrow.is-center::after { content: ''; width: 18px; height: 1px; background: var(--amber-line); }

/* ---------- an app window on a lamp plate ---------- */
.stage {
  position: relative;
  isolation: isolate;
  padding: 44px 0 0 44px;
}
.stage::before {
  /* The plate: a warm sheet of light behind the window, set off to the top left. */
  content: '';
  position: absolute;
  inset: 0 44px 44px 0;
  z-index: -2;
  border-radius: 28px;
  border: 1px solid rgba(255, 181, 71, 0.16);
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(255, 181, 71, 0.42), rgba(252, 120, 64, 0.16) 38%, rgba(255, 181, 71, 0) 72%),
    radial-gradient(60% 50% at 100% 100%, rgba(252, 120, 64, 0.1), rgba(252, 120, 64, 0) 70%),
    linear-gradient(160deg, rgba(255, 181, 71, 0.07), rgba(255, 181, 71, 0) 55%),
    var(--l1);
}
.stage::after {
  /* Fine lines on the plate, fading out toward the window. */
  content: '';
  position: absolute;
  inset: 0 44px 44px 0;
  z-index: -1;
  border-radius: 28px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(70% 60% at 0% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 0% 0%, #000 0%, transparent 75%);
}
.stage.is-right { padding: 44px 44px 0 0; }
.stage.is-right::before, .stage.is-right::after { inset: 0 0 44px 44px; }
.stage.is-right::before {
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(255, 181, 71, 0.42), rgba(252, 120, 64, 0.16) 38%, rgba(255, 181, 71, 0) 72%),
    radial-gradient(60% 50% at 0% 100%, rgba(252, 120, 64, 0.1), rgba(252, 120, 64, 0) 70%),
    linear-gradient(200deg, rgba(255, 181, 71, 0.07), rgba(255, 181, 71, 0) 55%),
    var(--l1);
}
.stage.is-right::after {
  -webkit-mask-image: radial-gradient(70% 60% at 100% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 100% 0%, #000 0%, transparent 75%);
}

.shot {
  position: relative;
  margin: 0;
  border-radius: var(--r-window);
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 16 / 10;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.11),
    0 1px 0 0 rgba(255, 255, 255, 0.08) inset,
    0 40px 80px -24px rgba(0, 0, 0, 0.8),
    0 24px 120px -40px rgba(255, 181, 71, 0.28);
}
.shot img, .shot video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Parts cut from the real app, floating in front of a window. */
.cut {
  position: absolute;
  z-index: 2;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--l1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 1px 0 0 rgba(255, 255, 255, 0.1) inset,
    0 28px 60px -18px rgba(0, 0, 0, 0.85),
    0 0 40px -8px rgba(255, 181, 71, 0.18);
  will-change: transform;
}
.cut img { display: block; width: 100%; height: auto; }
.cut.is-pill { border-radius: 10px; }
@media (max-width: 900px) { .cut.is-hide-sm { display: none; } }

/* ---------- feature rows ---------- */
.feat {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: center;
}
.feat.is-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feat.is-flip .feat-text { order: 2; }
.feat + .feat { margin-top: 136px; }
.feat-text > * + * { margin-top: 16px; }
.feat-text .h2 { font-size: 40px; line-height: 1.08; }
.feat-text .eyebrow + .h2 { margin-top: 18px; }
.ticks { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--text-2); font-size: var(--fs-body); line-height: var(--lh-body); }
.ticks li::before {
  content: '';
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23FFB547' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--amber-fill);
  box-shadow: 0 0 0 1px var(--amber-line) inset;
}
.ticks strong { color: var(--text-1); font-weight: var(--w-medium); }
.plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--chip-h);
  padding: 0 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--amber);
  background: var(--amber-fill);
  box-shadow: 0 0 0 1px var(--amber-line) inset;
}
@media (max-width: 900px) {
  .feat, .feat.is-flip { grid-template-columns: 1fr; gap: 40px; }
  .feat.is-flip .feat-text { order: 0; }
  .feat + .feat { margin-top: 96px; }
  .feat-text .h2 { font-size: 32px; }
}

/* ---------- section heads ---------- */
.head-center { max-width: 760px; margin: 0 auto; text-align: center; }
.head-center > * + * { margin-top: 16px; }
.head-center .eyebrow + .h2 { margin-top: 18px; }
/* A section heading followed by the plan cards (home): room before the Monthly/Yearly switch. */
.head-center + .pricing { margin-top: 44px; }
@media (max-width: 640px) { .head-center + .pricing { margin-top: 32px; } }

/* ---------- glossy icon tiles (brokers) ---------- */
.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px 12px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)), var(--l1);
  box-shadow: 0 0 0 1px var(--line-card) inset, 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 18px 40px -20px rgba(0, 0, 0, 0.8);
}
@media (max-width: 640px) { .tile { width: min(100%, 300px); } }
.tile-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(160deg, #F7F8F8, #D0D6E0);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 6px 16px -6px rgba(0, 0, 0, 0.7);
}
.tile-icon img { width: 26px; height: 26px; object-fit: contain; }
.tile-name { font-weight: var(--w-semibold); color: var(--text-1); font-size: 15px; }
.tile-sub { display: block; font-size: 12px; color: var(--text-3); font-weight: var(--w-regular); }

/* Prop firm logos, shown in one light tone. */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.logo-cell {
  display: grid;
  place-items: center;
  height: 76px;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--neutral-fill);
  box-shadow: 0 0 0 1px var(--line-table) inset;
  color: var(--text-3);
  font-size: 14px;
  font-weight: var(--w-semibold);
  transition: color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
a.logo-cell:hover { color: var(--text-1); box-shadow: 0 0 0 1px var(--line-hover) inset; }
.logo-mark {
  display: block;
  width: 100%;
  max-width: 120px;
  height: 30px;
  background-color: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}

.logo-alpha-futures { --logo: url('/assets/logos/alpha-futures.png'); }
.logo-apex { --logo: url('/assets/logos/apex.svg'); }
.logo-fundednext { --logo: url('/assets/logos/fundednext.png'); }
.logo-lucid { --logo: url('/assets/logos/lucid.png'); }
.logo-myfundedfutures { --logo: url('/assets/logos/myfundedfutures.png'); }
.logo-top-one-futures { --logo: url('/assets/logos/top-one-futures.png'); }
.logo-topstep { --logo: url('/assets/logos/topstep.png'); }
.logo-tradeday { --logo: url('/assets/logos/tradeday.svg'); }
.logo-tradeify { --logo: url('/assets/logos/tradeify.svg'); }

/* ---------- plan cards ---------- */
.period { display: flex; justify-content: center; }
.period-seg {
  position: relative;
  display: inline-flex;
  margin: 0;
  border: 0;
  min-inline-size: 0;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--l1);
  box-shadow: 0 0 0 1px var(--line-card) inset;
}
.period-seg input { position: absolute; opacity: 0; pointer-events: none; }
.period-seg label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  font-size: var(--fs-ui);
  color: var(--text-3);
  cursor: pointer;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.period-seg label:hover { color: var(--text-1); }
.period-seg input:checked + label { color: var(--ink); background: var(--text-1); }
.period-seg input:focus-visible + label { box-shadow: var(--ring-amber); }
.period-save { font-size: 11px; color: var(--ok-text); }
.period-seg input:checked + label .period-save { color: var(--ok); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; margin-top: 40px; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 40%), var(--l1);
  box-shadow: 0 0 0 1px var(--line-card) inset;
}
.plan.is-top {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 181, 71, 0.14), rgba(255, 181, 71, 0) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 40%),
    var(--l1);
  box-shadow: 0 0 0 1px var(--card-glow-line) inset, 0 30px 80px -30px rgba(255, 181, 71, 0.3);
}
.plan.is-soon { background: transparent; box-shadow: 0 0 0 1px var(--line-soon) inset; }
.plan-flag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  height: 22px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-pill);
  background: var(--amber);
  color: var(--ink);
  font-size: 11px;
  font-weight: var(--w-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name { font-size: 20px; font-weight: var(--w-semibold); letter-spacing: -0.01em; color: var(--text-1); }
.plan-for { margin-top: 6px; color: var(--text-3); font-size: 14px; min-height: 42px; }
.plan-price { margin-top: 22px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; min-height: 52px; }
.plan-was { color: var(--text-3); text-decoration: line-through; font-size: 18px; }
.plan-now { font-size: 44px; line-height: 1; font-weight: var(--w-medium); letter-spacing: -0.03em; color: var(--text-1); }
.plan-now sup { font-size: 20px; vertical-align: 16px; margin-right: 2px; letter-spacing: 0; }
.plan-per { color: var(--text-3); font-size: 14px; }
.plan-then { margin-top: 8px; font-size: 13px; color: var(--text-3); min-height: 20px; }
.plan-then b { color: var(--amber); font-weight: var(--w-medium); }
.plan-soon-word { font-size: 32px; line-height: 52px; font-weight: var(--w-medium); letter-spacing: -0.02em; color: var(--text-2); }
.plan .btn { margin-top: 24px; }
.plan-trial { margin-top: 10px; text-align: center; font-size: 12px; color: var(--text-3); }
.plan-list { list-style: none; padding: 0; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-row); display: grid; gap: 11px; }
.plan-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.plan-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23FFB547' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.plan-list .plan-list-h { display: block; grid-template-columns: none; color: var(--text-1); font-weight: var(--w-medium); }
.plan-list .plan-list-h::before { display: none; }
.plan.is-soon .plan-list li::before { opacity: 0.6; }
.plans .yr { display: none; }
.pricing:has(#period-yearly:checked) .plans .yr { display: revert; }
.pricing:has(#period-yearly:checked) .plans .mo { display: none; }
.plans-notes { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; color: var(--text-3); font-size: 14px; }
.plans-notes span { display: inline-flex; align-items: center; gap: 8px; }
.plans-notes span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
@media (max-width: 640px) {
  /* Phones: a tidy left-aligned list in the middle, not a zig-zag of centred rows. */
  .plans-notes { flex-direction: column; align-items: flex-start; width: fit-content; margin-left: auto; margin-right: auto; gap: 10px; }
  .plans-code { max-width: 320px; margin-left: auto; margin-right: auto; }
}
.plans-code { margin-top: 14px; text-align: center; color: var(--text-3); font-size: 14px; }
.plans-code strong { color: var(--text-1); font-weight: var(--w-medium); white-space: nowrap; }
@media (max-width: 1000px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; gap: 28px; }
  .plan-for, .plan-then, .plan-price { min-height: 0; }
}

/* ---------- closing band ---------- */
.band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 88px 32px;
  text-align: center;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(255, 181, 71, 0.22), rgba(252, 120, 64, 0.06) 45%, rgba(255, 181, 71, 0) 75%),
    var(--l1);
  box-shadow: 0 0 0 1px rgba(255, 181, 71, 0.18) inset;
}
.band::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(60% 70% at 50% 0%, #000, transparent 80%);
  pointer-events: none;
}
.band > * { position: relative; z-index: 1; }
.band > * + * { margin-top: 18px; }
.band .btn { margin-top: 32px; }
.band-note { font-size: 13px; color: var(--text-3); }
@media (max-width: 640px) { .band { padding: 64px 20px; border-radius: 20px; } }

/* ---------- gentle reveals ----------
   site.js marks only the parts still below the screen (.rv-wait) and lets each in as it is reached:
   nothing on the first screen ever blinks, and without JS or under reduced motion everything simply shows. */
.rv-wait { opacity: 0; transform: translateY(18px); }
.rv-wait.is-in { opacity: 1; transform: none; transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv-wait[data-rv-delay='1'] { transition-delay: 90ms; }
.rv-wait[data-rv-delay='2'] { transition-delay: 180ms; }
.rv-wait[data-rv-delay='3'] { transition-delay: 270ms; }

/* ---------- pricing page ---------- */
.pr-hero { position: relative; padding: 88px 0 96px; overflow: hidden; }
.pr-light {
  position: absolute;
  inset: -200px 0 auto 0;
  height: 760px;
  pointer-events: none;
  background: radial-gradient(40% 50% at 50% 30%, rgba(255, 181, 71, 0.16), rgba(252, 120, 64, 0.05) 45%, rgba(255, 181, 71, 0) 72%);
}
.pr-hero .container { position: relative; }
.pr-hero .head-center { margin-bottom: 40px; }
.pr-table { margin-top: 48px; }
.pr-table .table th, .pr-table .table td { font-family: var(--font-sans); font-size: 14px; }
.pr-table .table th[scope='row'] { font-weight: var(--w-regular); color: var(--text-2); }
.pr-table .table td { text-align: center; color: var(--text-2); }
.pr-table .table thead th:not(:first-child) { text-align: center; }
.pr-table .table td.yes { color: var(--ok-text); }
.pr-table .table td.no { color: var(--text-4); }
.pr-table .pr-group th { padding-top: 28px; font-size: var(--fs-label); font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); font-weight: var(--w-medium); }
.pr-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.pr-faq > div:first-child > * + * { margin-top: 16px; }
.pr-faq .eyebrow + .h2 { margin-top: 18px; }
@media (max-width: 900px) {
  .pr-hero { padding: 56px 0 64px; }
  .pr-faq { grid-template-columns: 1fr; gap: 32px; }
}
