/* ============================================================
   Prizeflow — Landing (Seatbase motion)
   Prizeflow tokens/content · Seatbase animation & interaction language
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }

/* ---------- Motion tokens, ported 1:1 from seatbase/references/ANIMATIONS.md
   and INTERACTIONS.md. Prizeflow already ships --ease-emphasis at the same
   cubic-bezier(0.16,1,0.3,1) as seatbase's page-fade-in — reused directly.
   The two below don't exist in Prizeflow's token set, so they're added here
   verbatim from seatbase's own tokens. ---------- */
:root {
  --ld-ease-out: cubic-bezier(0, 0, 0.2, 1);      /* seatbase --ease-out */
  --ld-ease-inout: cubic-bezier(0.4, 0, 0.2, 1);  /* seatbase --ease-in-out */
  --ld-reveal-dur: 0.6s;   /* seatbase fadeSlideUp duration */
  --ld-micro-dur: 0.2s;    /* seatbase button/link transition */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.ld-wrap { max-width: var(--container-wide); margin: 0 auto; padding: 0 32px; }

/* ---------- Scroll-reveal (seatbase pattern: opacity 0 + translateY(40px),
   IntersectionObserver adds .visible, staggered via --d) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--ld-reveal-dur) var(--ld-ease-out),
              transform var(--ld-reveal-dur) var(--ld-ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Nav ---------- */
.ld-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 242, 249, 0.72);
  backdrop-filter: none; /* seatbase anti-pattern: no blur effects */
  border-bottom: 1px solid transparent;
  transition: border-color var(--ld-micro-dur) var(--ld-ease-inout),
              background var(--ld-micro-dur) var(--ld-ease-inout);
}
.ld-nav.scrolled { background: var(--clay-50); border-bottom-color: var(--border-1); }
.ld-nav-inner { display: flex; align-items: center; gap: 8px; padding: 16px 32px; }
.ld-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ld-logo img { height: 26px; }
.ld-nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.ld-nav-links a {
  color: var(--fg-2); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius-xs);
  transition: color var(--ld-micro-dur) var(--ld-ease-inout),
              background var(--ld-micro-dur) var(--ld-ease-inout);
}
.ld-nav-links a:hover { color: var(--fg-1); background: rgba(86,71,135,0.06); }
.ld-nav-cta { display: flex; align-items: center; gap: 10px; }

/* ---------- Buttons — seatbase interaction spec: opacity/scale on
   hover+active, transition-all 200ms cubic-bezier(.4,0,.2,1) ---------- */
.ld-btn {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  padding: 11px 20px; display: inline-flex; align-items: center; gap: 8px;
  transition: opacity var(--ld-micro-dur) var(--ld-ease-inout),
              scale var(--ld-micro-dur) var(--ld-ease-inout),
              box-shadow var(--ld-micro-dur) var(--ld-ease-inout);
}
.ld-btn:hover { opacity: 0.9; }
.ld-btn:active { scale: 0.97; }
.ld-btn-primary { background: var(--purple-500); color: var(--fg-on-brand); box-shadow: var(--shadow-cta); }
.ld-btn-primary:hover { box-shadow: var(--shadow-cta-hover); }
.ld-btn-ghost { background: transparent; color: var(--fg-1); border: 1px solid var(--border-2); }
.ld-btn-ghost:hover { border-color: var(--purple-300); background: rgba(86,71,135,0.04); }

/* ---------- Hero ---------- */
.ld-hero { position: relative; padding: 100px 0 64px; overflow: hidden; }

/* Ambient wash — Prizeflow-colored analogue of seatbase's beam-drift /
   gradient-shift background motion, restrained per Prizeflow's flat-CTA
   safety norm (no blur(), just a slow gradient position drift). */
.ld-hero-wash {
  position: absolute; inset: -20% -10% auto -10%; height: 640px;
  background: radial-gradient(60% 60% at 30% 20%, rgba(154,212,214,0.28) 0%, rgba(154,212,214,0) 60%),
              radial-gradient(50% 50% at 78% 10%, rgba(86,71,135,0.16) 0%, rgba(86,71,135,0) 60%);
  background-size: 140% 140%;
  animation: ld-wash-drift 18s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
@keyframes ld-wash-drift {
  0%   { background-position: 0% 0%, 100% 0%; }
  50%  { background-position: 20% 30%, 80% 20%; }
  100% { background-position: 0% 0%, 100% 0%; }
}

.ld-hero-inner { position: relative; z-index: 1; text-align: center; }
.ld-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--purple-500); background: var(--purple-50); padding: 7px 14px; border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.ld-eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--teal-400); animation: ld-pulse 2s var(--ld-ease-inout) infinite; }
@keyframes ld-pulse { 50% { opacity: 0.35; } }

.ld-h1 {
  font-family: var(--font-sans); font-weight: 600; font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.05; letter-spacing: -0.03em; margin: 0 auto 22px; max-width: 880px; color: var(--fg-1);
}
.ld-h1 em { font-style: normal; color: var(--purple-500); }
.ld-lede { font-size: 18px; line-height: 1.6; color: var(--fg-2); max-width: 620px; margin: 0 auto 36px; }
.ld-hero-ctas { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 64px; }
.ld-hero-ctas .ld-btn { padding: 14px 24px; font-size: 15px; }

/* Hero visual — browser-chrome product shot, scale-in reveal.
   Shares the .reveal/.visible wiring; only the transform shape differs
   (scale instead of translateY) so it reads as a "materializing" product
   shot rather than sliding up like text blocks. */
.ld-hero-visual { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; }
.ld-hero-visual.reveal { transform: scale(0.96); transition-duration: 0.7s; }
.ld-hero-visual.reveal.visible { transform: scale(1); }
.ld-browser {
  border-radius: 20px; overflow: hidden; background: var(--clay-0);
  box-shadow: 0 60px 140px -30px rgba(20,16,34,0.35), 0 0 0 1px rgba(20,16,34,0.06);
}
.ld-browser-bar { height: 46px; background: var(--clay-100); display: flex; align-items: center; gap: 16px; padding: 0 18px; }
.ld-browser-bar .dots { display: flex; gap: 7px; }
.ld-browser-bar .dots span { width: 11px; height: 11px; border-radius: 999px; }
.ld-browser-bar .url { flex: 1; height: 26px; border-radius: 8px; background: var(--clay-50); display: flex; align-items: center; padding: 0 14px; font-size: 12.5px; color: var(--fg-3); }
.ld-browser-body { padding: 28px 32px 34px; background: linear-gradient(160deg, var(--clay-25), var(--clay-50)); }
.ld-browser-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.ld-browser-stat { background: var(--clay-0); border-radius: var(--radius-md); padding: 16px 18px; box-shadow: var(--neu-raised-sm); }
.ld-browser-stat .l { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 6px; }
.ld-browser-stat .v { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg-1); font-variant-numeric: tabular-nums; }
.ld-browser-stat .v.teal { color: var(--teal-700); }
.ld-browser-stat .v.purple { color: var(--purple-500); }
.ld-browser-rows { background: var(--clay-0); border-radius: var(--radius-md); box-shadow: var(--neu-raised-sm); overflow: hidden; }
.ld-browser-row { display: grid; grid-template-columns: 32px 1fr auto auto; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--border-1); font-size: 13px; }
.ld-browser-row:last-child { border-bottom: none; }
.ld-browser-row .av { width: 28px; height: 28px; border-radius: 999px; background: var(--purple-100); color: var(--purple-600); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ld-browser-row .name { font-weight: 500; color: var(--fg-1); }
.ld-browser-row .meta { font-size: 11.5px; color: var(--fg-3); }
.ld-browser-row .amt { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--fg-1); }
.ld-browser-row.paid .amt { color: var(--teal-700); }

/* ---------- Logo bar ---------- */
.ld-logos { padding: 48px 0; }
.ld-logos-label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 28px; }
.ld-logos-row { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.ld-logos-row img { height: 30px; width: auto; opacity: 0.55; filter: grayscale(1); transition: opacity var(--ld-micro-dur) var(--ld-ease-inout), filter var(--ld-micro-dur) var(--ld-ease-inout); }
.ld-logos-row img:hover { opacity: 1; filter: grayscale(0); }

/* ---------- Section shell ---------- */
.ld-section { padding: 96px 0; }
.ld-section-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-500); margin-bottom: 12px; }
.ld-section h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 16px; color: var(--fg-1); max-width: 640px; }
.ld-section h2 em { font-style: normal; color: var(--teal-700); }
.ld-section-sub { font-size: 16px; line-height: 1.6; color: var(--fg-2); max-width: 560px; margin: 0 0 48px; }
.ld-section-head { text-align: center; margin: 0 auto 48px; }
.ld-section-head h2, .ld-section-head .ld-section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Roles grid — staggered reveal + seatbase-style hover lift ---------- */
.ld-roles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ld-role {
  display: block; text-decoration: none; color: inherit;
  background: var(--clay-0); border-radius: var(--radius-lg); padding: 24px 22px;
  box-shadow: var(--neu-raised-sm);
  transition: transform 0.3s var(--ld-ease-out), box-shadow 0.3s var(--ld-ease-out);
}
.ld-role:hover { transform: translateY(-6px); box-shadow: var(--neu-raised-lg); }
.ld-role .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.ld-role .tag .dot { width: 6px; height: 6px; border-radius: 999px; }
.ld-role h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.ld-role p { font-size: 13.5px; line-height: 1.5; color: var(--fg-2); margin: 0 0 16px; }
.ld-role .tasks { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ld-role .tasks li { font-size: 12.5px; color: var(--fg-3); padding-left: 14px; position: relative; }
.ld-role .tasks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 999px; background: var(--teal-400); }
.ld-role .open { font-size: 13px; font-weight: 600; color: var(--purple-500); display: inline-flex; align-items: center; gap: 6px; }
.ld-role .open .arrow { transition: translate var(--ld-micro-dur) var(--ld-ease-inout); display: inline-block; }
.ld-role:hover .open .arrow { translate: 4px 0; }

/* ---------- Stats / quote ---------- */
.ld-quote-block { text-align: center; max-width: 760px; margin: 0 auto; }
.ld-quote { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.45; font-weight: 500; color: var(--fg-1); letter-spacing: -0.01em; margin: 0 0 28px; }
.ld-quote em { font-style: normal; color: var(--purple-500); }
.ld-quote-attr { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 64px; }
.ld-quote-attr .av { width: 38px; height: 38px; border-radius: 999px; background: var(--purple-100); color: var(--purple-600); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.ld-quote-attr .who { text-align: left; font-size: 13.5px; font-weight: 600; color: var(--fg-1); }
.ld-quote-attr .who .m { font-weight: 400; color: var(--fg-3); font-size: 12.5px; }
.ld-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.ld-stat { text-align: center; }
.ld-stat .v { font-size: 34px; font-weight: 600; letter-spacing: -0.015em; color: var(--fg-1); font-variant-numeric: tabular-nums; }
.ld-stat .v .u { font-size: 18px; color: var(--fg-3); font-weight: 500; }
.ld-stat .l { font-size: 12.5px; color: var(--fg-3); margin-top: 6px; }

/* ---------- Compliance ---------- */
.ld-compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ld-compliance-card { background: var(--clay-0); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--neu-raised-sm); transition: transform 0.3s var(--ld-ease-out), box-shadow 0.3s var(--ld-ease-out); }
.ld-compliance-card:hover { transform: translateY(-4px); box-shadow: var(--neu-raised-md); }
.ld-compliance-card .ico { width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--purple-50); color: var(--purple-500); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ld-compliance-card h4 { font-size: 15.5px; font-weight: 600; margin: 0 0 8px; }
.ld-compliance-card p { font-size: 13px; line-height: 1.55; color: var(--fg-2); margin: 0; }

/* ---------- Final CTA ---------- */
.ld-final-cta { text-align: center; padding: 88px 0 100px; }
.ld-final-cta h2 { margin: 0 auto 14px; }
.ld-final-cta .lede { font-size: 16px; color: var(--fg-2); max-width: 480px; margin: 0 auto 32px; }
.ld-final-cta .ctas { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; }
.ld-final-cta .fine { font-size: 12.5px; color: var(--fg-3); }

/* ---------- Footer ---------- */
.ld-footer { padding: 56px 0 40px; border-top: 1px solid var(--border-1); }
.ld-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
.ld-footer-brand p { font-size: 13px; line-height: 1.6; color: var(--fg-3); max-width: 260px; margin-top: 12px; }
.ld-footer-col h5 { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 14px; }
.ld-footer-col a { display: block; font-size: 13.5px; color: var(--fg-2); text-decoration: none; margin-bottom: 10px; transition: color var(--ld-micro-dur) var(--ld-ease-inout); }
.ld-footer-col a:hover { color: var(--purple-500); }
.ld-footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--fg-3); padding-top: 24px; border-top: 1px solid var(--border-1); }
.ld-footer-bottom .meta { display: flex; gap: 20px; }
.ld-footer-bottom a { color: var(--fg-3); text-decoration: none; }
.ld-footer-bottom a:hover { color: var(--fg-1); }

/* ============================================================
   Journey — pinned scrollytelling guide
   Pattern lifted from seatbase/screens/scroll/scroll-0{50,67,83}.png:
   numbered steps on the left advance the scroll; a single sticky panel
   on the right cross-fades between "scenes"; a step pager pins to the
   bottom of that panel. Frame is seatbase's; every scene inside it is
   built from Prizeflow's tokens, copy, and real fixture numbers.
   ============================================================ */
.ld-journey { padding: 96px 0 120px; }
.ld-journey-grid { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: 64px; align-items: start; }

.ld-journey-steps { display: flex; flex-direction: column; }
.ld-journey-step {
  min-height: 62vh; display: flex; flex-direction: column; justify-content: center;
  padding: 32px 0; opacity: 0.32; transition: opacity 0.4s var(--ld-ease-inout);
}
.ld-journey-step.active { opacity: 1; }
.ld-journey-step:first-child { min-height: 40vh; }
.ld-journey-step:last-child { min-height: 40vh; }
.ld-journey-step .num {
  font-size: 15px; font-weight: 700; color: var(--fg-4); letter-spacing: 0.02em;
  margin-bottom: 14px; transition: color 0.4s var(--ld-ease-inout);
}
.ld-journey-step.active .num { color: var(--teal-600); }
.ld-journey-step h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 12px; color: var(--fg-1); line-height: 1.2; }
.ld-journey-step p { font-size: 15px; line-height: 1.6; color: var(--fg-2); margin: 0; max-width: 420px; }
.ld-journey-step .fx-note {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 12.5px; font-weight: 600; color: var(--purple-500); background: var(--purple-50);
  padding: 6px 12px; border-radius: var(--radius-pill);
}

.ld-journey-visual {
  position: sticky; top: 96px; height: 78vh; min-height: 520px; max-height: 720px;
  border-radius: 22px; overflow: hidden; background: var(--clay-0);
  box-shadow: 0 50px 120px -28px rgba(20,16,34,0.32), 0 0 0 1px rgba(20,16,34,0.06);
}
.ld-scene {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity 0.45s var(--ld-ease-inout);
  display: flex; flex-direction: column;
}
.ld-scene.active { opacity: 1; pointer-events: auto; }

/* ============================================================
   Real product component classes, ported 1:1 (same class names,
   same values) from ui_kits/td-desktop/styles.css and
   ui_kits/player-mobile/styles.css — "TD desktop as foundation."
   Not linked as external stylesheets because both files carry a
   destructive `body{}` reset meant for standalone prototype pages;
   values are copied verbatim instead so the component vocabulary
   (cards, pills, avatars, buttons, phone chrome) is pixel-identical
   without touching this page's own layout. Two structural wrappers
   (.td-app/.td-sidebar/.td-main) are re-scoped as .ld-td-* to fit
   inside a bounded panel instead of 100vh.
   ============================================================ */
.ld-td-app { display: grid; grid-template-columns: 168px 1fr; height: 100%; }
.ld-td-sidebar { background: var(--bg-canvas); padding: 16px 10px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--border-1); height: 100%; }
.td-brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 16px; }
.td-brand img { height: 18px; }
.td-nav-section { font-size: 9px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); padding: 12px 10px 5px; }
.td-nav-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 12px; font-weight: 500; color: var(--fg-2); }
.td-nav-item.active { color: var(--purple-500); box-shadow: var(--neu-inset-sm); background: var(--bg-canvas); font-weight: 600; }
.td-nav-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.td-nav-count { margin-left: auto; font-size: 10px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.ld-td-main { padding: 20px 22px; overflow-y: auto; height: 100%; background: var(--bg-canvas); }
.td-topbar-mini { margin-bottom: 16px; }
.td-topbar-mini .eyebrow { font-size: 9.5px; font-weight: 600; color: var(--fg-3); letter-spacing: 0.09em; text-transform: uppercase; }
.td-topbar-mini .title { font-size: 19px; font-weight: 600; letter-spacing: -0.012em; margin-top: 3px; }

.td-card { background: var(--bg-canvas); border-radius: var(--radius-xl); box-shadow: var(--neu-raised-md); padding: 16px; }
.td-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.td-kpi .label { font-size: 9.5px; font-weight: 600; color: var(--fg-3); letter-spacing: 0.07em; text-transform: uppercase; }
.td-kpi .v { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.td-kpi .d { font-size: 10.5px; color: var(--fg-3); margin-top: 4px; }
.td-kpi .d b { color: #3A8689; font-weight: 600; }

.td-btn-primary { padding: 9px 15px; border: none; border-radius: 11px; background: var(--purple-500); color: #fff; font-weight: 600; font-family: var(--font-sans); font-size: 12.5px; box-shadow: var(--shadow-cta); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.td-btn-secondary { padding: 9px 14px; border: none; border-radius: 11px; background: var(--bg-canvas); color: var(--fg-1); font-weight: 600; font-family: var(--font-sans); font-size: 12.5px; box-shadow: var(--neu-raised-sm); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }

.td-table { width: 100%; border-collapse: collapse; }
.td-table thead th { text-align: left; font-size: 9.5px; font-weight: 600; color: var(--fg-3); letter-spacing: 0.07em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--border-1); }
.td-table tbody td { padding: 10px; border-bottom: 1px solid var(--border-1); font-size: 12px; vertical-align: middle; }
.td-table tbody tr:last-child td { border-bottom: none; }
.td-num { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: -0.005em; }
.td-row { display: flex; align-items: center; gap: 9px; }
.td-divider { height: 1px; background: var(--border-1); }

.td-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.td-pill .dot { width: 5px; height: 5px; border-radius: 999px; }
.td-pill.ready { background: #DCF1F2; color: #2D6A6C; } .td-pill.ready .dot { background: #3A8689; }
.td-pill.pending { background: #E2DCED; color: #3A2E5B; } .td-pill.pending .dot { background: #564787; }
.td-pill.live { background: #564787; color: #fff; } .td-pill.live .dot { background: #9AD4D6; }

.td-avatar { width: 26px; height: 26px; border-radius: 999px; color: #fff; font-weight: 600; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ld-flag { font-size: 18px; line-height: 1; margin-right: 4px; }

.ld-players-scroll { max-height: 260px; overflow-y: auto; }

/* AthleteDrawer-style deduction card, reused inline (not as an overlay) */
.td-ded-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-1); font-size: 12.5px; }
.td-ded-line .lbl { color: var(--fg-2); }
.td-ded-line .amt { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: -0.005em; }
.td-ded-line.deduction .amt { color: #8A2635; }
.td-ded-line.net { border-bottom: none; padding-top: 14px; }
.td-ded-line.net .lbl { font-weight: 600; color: var(--fg-1); }
.td-ded-line.net .amt { font-size: 18px; color: #3A8689; }

/* Player-mobile phone chrome, ported from pf-* — scaled to fit the panel */
.ld-scene-phone-wrap { flex: 1; display: flex; align-items: center; justify-content: center; background: #2B2344; padding: 20px; }
.pf-phone { width: 300px; height: 600px; border-radius: 36px; background: var(--bg-canvas); box-shadow: 0 30px 70px -18px rgba(0,0,0,0.5), 0 0 0 10px #141022, 0 0 0 12px #2B2344; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.pf-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #141022; border-radius: 999px; z-index: 20; }
.pf-statusbar { height: 36px; padding: 0 22px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; color: var(--fg-1); flex-shrink: 0; }
.pf-scroll { flex: 1; overflow-y: auto; padding: 10px 16px 20px; }
.pf-card { background: var(--bg-canvas); border-radius: var(--radius-xl); box-shadow: var(--neu-raised-md); padding: 16px; }
.pf-card-lg { border-radius: 24px; box-shadow: var(--neu-raised-lg); padding: 18px; }
.pf-btn-primary { width: 100%; padding: 13px; border: none; border-radius: 15px; background: var(--purple-500); color: #fff; font-weight: 600; font-size: 13.5px; font-family: var(--font-sans); cursor: pointer; box-shadow: var(--shadow-cta); letter-spacing: -0.005em; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pf-micro { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--fg-3); }
.pf-num { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; font-weight: 600; }
.pf-row { display: flex; align-items: center; gap: 10px; }
.pf-divider { height: 1px; background: rgba(86,71,135,0.08); margin: 10px 0; }
.pf-stat-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font-size: 10px; font-weight: 600; }
.pf-stat-pill .d { width: 5px; height: 5px; border-radius: 999px; }

/* Pager */
.ld-journey-pager {
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: rgba(244,242,249,0.92); border-radius: var(--radius-pill);
  padding: 8px 8px 8px 14px; box-shadow: var(--neu-raised-sm);
  font-size: 12.5px; font-weight: 600; color: var(--fg-2);
}
.ld-journey-pager button {
  width: 26px; height: 26px; border-radius: 999px; border: none; background: var(--clay-0);
  color: var(--fg-2); display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--neu-raised-sm); transition: color var(--ld-micro-dur) var(--ld-ease-inout),
              opacity var(--ld-micro-dur) var(--ld-ease-inout);
}
.ld-journey-pager button:hover { color: var(--purple-500); }
.ld-journey-pager button:disabled { opacity: 0.35; cursor: default; }
.ld-journey-pager .count { font-variant-numeric: tabular-nums; }

@media (max-width: 980px) {
  .ld-nav-links { display: none; }
  .ld-roles-grid, .ld-compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .ld-stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .ld-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .ld-journey-grid { grid-template-columns: 1fr; gap: 0; }
  .ld-journey-visual { order: -1; position: sticky; top: 76px; height: 46vh; min-height: 340px; margin-bottom: 8px; }
  .ld-journey-step, .ld-journey-step:first-child, .ld-journey-step:last-child { min-height: 48vh; padding: 24px 0; }
}
@media (max-width: 620px) {
  .ld-roles-grid, .ld-compliance-grid, .ld-footer-grid { grid-template-columns: 1fr; }
  .ld-browser-stats { grid-template-columns: 1fr; }
  .ld-hero-ctas { flex-direction: column; }
}
