/* Landing mocks 2026-11-02 (landing-mocks-two-directions): the shared base for direction A and B.
   Tokens are the live app's (trading-assistant src/styles/tw-tokens.css); the sphere is the landing's OrbHero
   (src/app/landing/orb-hero.module.css). Motion grammar from the reel template (S-W2-03 variant B, D-0587) and the
   highlights template (hub-arc): kinetic type first, morphs not cuts, brand-colour circle wipe, build-and-stack pills,
   grey mess to clean TW dark. ?mode=static shows every end state with no motion. */
:root {
  --tw-ground: #07070a; --tw-ground-raise: #0c0c11; --tw-ink: #f2f0ea; --tw-ink-2: rgba(242,240,234,.66);
  --tw-ink-3: rgba(242,240,234,.55); --tw-accent: #8b7bff; --tw-accent-rgb: 139,123,255; --tw-accent-soft: rgba(139,123,255,.16);
  --tw-accent-glow: rgba(139,123,255,.45); --tw-gold: #f2b84b; --tw-red: #ff5468; --tw-green: #48d696;
  --tw-hairline: rgba(255,255,255,.08); --tw-hairline-strong: rgba(255,255,255,.14);
  --tw-glass: rgba(20,20,28,.52); --tw-glass-strong: rgba(24,24,34,.72);
  --tw-font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --tw-ease: cubic-bezier(.22,1,.36,1); --tw-cta-bg: #8b7bff; --tw-cta-ink: #07070a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--tw-ground); color: var(--tw-ink); font: 15px/1.55 var(--tw-font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* header */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .01em; }
.crest { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 11px; font-weight: 800;
  background: var(--tw-glass-strong); border: 1px solid var(--tw-hairline-strong); }
.signin { text-decoration: none; color: var(--tw-ink-2); font-weight: 600; font-size: 14px; }

/* type */
.eyebrow { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--tw-accent); font-weight: 700; margin: 0 0 14px; }
.h1 { font-weight: 200; font-size: clamp(38px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -.02em; margin: 0; }
.h1 b { font-weight: 600; }
.h2 { font-weight: 300; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 14px; }
.lede { color: var(--tw-ink-2); font-size: clamp(16px, 1.4vw, 19px); max-width: 560px; margin: 18px 0 0; }
.why { color: var(--tw-ink); }
.label { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--tw-ink-3); font-weight: 700; }
section.blk { padding: 88px 0; }
@media (max-width: 600px) { section.blk { padding: 56px 0; } }

/* the trial CTA: live wording only (D-0592: tradewitnessai.com as it reads today) */
.cta { margin-top: 28px; max-width: 470px; }
.cta form { display: flex; gap: 8px; flex-wrap: wrap; }
.cta input { flex: 1 1 190px; min-width: 0; height: 52px; border-radius: 999px; padding: 0 20px; border: 1px solid var(--tw-hairline-strong);
  background: var(--tw-glass-strong); color: var(--tw-ink); font: inherit; }
.btn { height: 52px; border: 0; border-radius: 999px; padding: 0 24px; font: 700 15px var(--tw-font); background: var(--tw-cta-bg); color: var(--tw-cta-ink);
  box-shadow: 0 10px 40px -10px var(--tw-accent-glow); cursor: pointer; white-space: nowrap; flex: 1 1 auto; }
.terms { font-size: 13px; color: var(--tw-ink-2); margin: 12px 0 0; }
.terms + .terms { margin-top: 4px; }
.nocard { font-size: 13px; color: var(--tw-ink); margin-top: 8px; display: flex; gap: 6px; align-items: center; }
.nocard::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tw-green); }
.magnet { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--tw-hairline); font-size: 14px; color: var(--tw-ink-2); }
.magnet a { color: var(--tw-ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--tw-accent); }
.magnet .kw { font-weight: 800; color: var(--tw-gold); letter-spacing: .04em; }

/* the sphere (the landing's OrbHero) */
.orb { width: 180px; aspect-ratio: 1; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), rgba(var(--tw-accent-rgb),.8) 36%, rgba(60,48,160,.7) 70%, rgba(20,18,40,.25));
  box-shadow: 0 0 56px -8px rgba(var(--tw-accent-rgb),.6); animation: breathe 4.2s var(--tw-ease) infinite; }
.orb.speak { animation: speak 1.1s ease infinite; }
.orb::after { content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 1px solid rgba(var(--tw-accent-rgb),.3); animation: halo 2.4s ease infinite; }
@keyframes breathe { 50% { transform: scale(1.03); } }
@keyframes speak { 50% { transform: scale(1.06); } }
@keyframes halo { 0% { opacity: 0; transform: scale(.9); } 40% { opacity: .8; } 100% { opacity: 0; transform: scale(1.2); } }
.wave { display: flex; gap: 4px; height: 34px; align-items: center; justify-content: center; }
.wave i { width: 4px; height: 34px; border-radius: 4px; background: rgba(var(--tw-accent-rgb),.75); transform: scaleY(.2); animation: bar 1s ease-in-out infinite; }
@keyframes bar { 50% { transform: scaleY(1); } }

/* VSL frame */
.vsl { position: relative; border-radius: 22px; overflow: hidden; background: radial-gradient(700px 400px at 50% 40%, var(--tw-accent-soft), transparent 70%), #0b0b10;
  border: 1px solid var(--tw-hairline-strong); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); display: grid; place-items: center; }
.vsl .play { position: absolute; left: 18px; bottom: 16px; display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; }
.vsl .play span { width: 40px; height: 40px; border-radius: 50%; background: var(--tw-ink); display: grid; place-items: center; }
.vsl .play span::before { content: ""; border-left: 12px solid #07070a; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.vsl .tag { position: absolute; right: 14px; top: 14px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tw-ink-3);
  border: 1px dashed var(--tw-hairline-strong); border-radius: 999px; padding: 3px 10px; }
.vsl .cap { position: absolute; left: 0; right: 0; bottom: 70px; text-align: center; padding: 0 22px; font-weight: 700; font-size: clamp(16px, 1.8vw, 22px); line-height: 1.25; }
.vsl .cap .w { display: inline-block; opacity: 0; transform: translateY(14px) scale(.9); transition: opacity .25s var(--tw-ease), transform .35s var(--tw-ease); margin: 0 .14em; }
.vsl .cap .w.on { opacity: 1; transform: none; }
.vsl .cap .w.hi { color: var(--tw-accent); }

/* pills: the build-and-stack benefit pills (reel + highlight grammar) */
.stack { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.pill { display: flex; align-items: center; gap: 14px; padding: 12px 22px 12px 12px; border-radius: 999px; background: var(--tw-glass-strong);
  border: 1px solid var(--tw-hairline-strong); font-weight: 600; font-size: clamp(15px, 1.5vw, 19px); width: max-content; max-width: 100%; }
.pill .ck { width: 34px; height: 34px; border-radius: 50%; background: var(--tw-accent); display: grid; place-items: center; flex: none; box-shadow: 0 0 22px -4px var(--tw-accent-glow); }
.pill .ck svg { width: 20px; height: 20px; }
.pill .ck path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .35s var(--tw-ease) .25s; }
.pill.wait { opacity: 0; transform: translateX(-30px) scale(.94); }
.pill.wait .ck path { stroke-dashoffset: 1; }
.pill { transition: opacity .45s var(--tw-ease), transform .55s var(--tw-ease); }

/* phone frame for real app screens */
.phone { width: 260px; border-radius: 38px; padding: 10px; background: #15151b; border: 1px solid var(--tw-hairline-strong);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(0,0,0,.6) inset; }
.phone img { border-radius: 29px; width: 100%; }
.real { font-size: 11px; color: var(--tw-ink-3); margin-top: 10px; text-align: center; }
.real b { color: var(--tw-green); font-weight: 700; }

/* coach transcript bubbles (the live landing's transcript) */
.tx { display: grid; gap: 10px; }
.tl { padding: 12px 16px; border-radius: 16px; background: var(--tw-glass); border: 1px solid var(--tw-hairline); font-size: 15px; }
.tl .who { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--tw-ink-3); margin-right: 8px; }
.tl.coach { border-color: rgba(var(--tw-accent-rgb),.45); background: rgba(var(--tw-accent-rgb),.08); }
.tl.coach .who { color: var(--tw-accent); }

/* before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .ba { grid-template-columns: 1fr; } }
.ba .side { border-radius: 24px; padding: 26px; min-width: 0; }
.ba .after { background: #17181b; border: 1px solid #2a2b30; color: #a6a8ad; }
.ba .before { background: radial-gradient(500px 300px at 70% 0%, var(--tw-accent-soft), transparent 70%), var(--tw-ground-raise); border: 1px solid rgba(var(--tw-accent-rgb),.4); }
.ba h3 { margin: 6px 0 14px; font-size: 22px; font-weight: 600; }
.ba .after h3 { color: #c9cbd0; }
.sheet { font: 12.5px/1.5 ui-monospace, Consolas, monospace; border: 1px solid #2c2d31; border-radius: 10px; overflow: hidden; }
.sheet div { display: grid; grid-template-columns: 62px 1fr 64px; border-top: 1px solid #2c2d31; }
.sheet div:first-child { border-top: 0; background: #222327; color: #8a8d93; }
.sheet span { padding: 7px 9px; border-left: 1px solid #2c2d31; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet span:first-child { border-left: 0; }
.illus { font-size: 11px; color: #7b7e85; margin-top: 10px; }

/* proof */
.proof-ph { border: 1.5px dashed var(--tw-hairline-strong); border-radius: 20px; padding: 22px; color: var(--tw-ink-2); font-size: 14px; }
.proof-ph b { color: var(--tw-gold); }

/* steps (live landing's four steps) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 20px; border-radius: 20px; background: var(--tw-glass); border: 1px solid var(--tw-hairline); }
.step .n { font-size: 11px; color: var(--tw-accent); font-weight: 800; letter-spacing: .14em; }
.step .nm { display: block; font-size: 18px; font-weight: 700; margin: 6px 0 4px; }
.step p { margin: 0; color: var(--tw-ink-2); font-size: 14px; }

/* strike (the reel's strike-through) */
.strike { position: relative; display: inline-block; }
.strike::after { content: ""; position: absolute; left: -3%; top: 54%; height: .09em; border-radius: 4px; background: var(--tw-accent); width: 0; transition: width .4s var(--tw-ease); }
.strike.on::after { width: 106%; }
.strike.on { color: rgba(242,240,234,.45); transition: color .4s; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--tw-ease), transform .8s var(--tw-ease); }
.rv.in { opacity: 1; transform: none; }

footer.foot { border-top: 1px solid var(--tw-hairline); padding: 28px 0 40px; display: flex; justify-content: space-between; color: var(--tw-ink-3); font-size: 13px; flex-wrap: wrap; gap: 10px; }
footer.foot nav { display: flex; gap: 18px; }

/* static mode: every end state, no motion */
.static *, .static *::before, .static *::after { animation: none !important; transition: none !important; }
.static .rv { opacity: 1; transform: none; }
.static .pill.wait { opacity: 1; transform: none; }
.static .pill.wait .ck path { stroke-dashoffset: 0; }
.static .vsl .cap .w { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv, .pill.wait { opacity: 1; transform: none; } }

/* phone: the VSL sits under the headline, above the form (audit 3: VSL in the hero slot on both widths) */
@media (max-width: 900px) {
  .hero { gap: 0 !important; }
  .hero > section:first-child { display: contents; }
  .hero > section:last-child { order: 2; margin: 24px 0 0; }
  .hero .cta { order: 3; }
  .hero .reel { width: 210px; border-radius: 26px; }
  .hero .reel .orb { width: 84px; margin-top: -130px; }
  .hero .reel .cap { font-size: 14px; bottom: 64px; }
  .hero .reel .tag { font-size: 9px; }
}

/* landing-real-screens-five-tab: the "Inside the app" phones hold real app screenshots captured with the five-tab shell on
   (Market, Session, Desk, Journal, Rank in the image itself, nothing drawn over). */
.phone .scr { position: relative; border-radius: 29px; overflow: hidden; background: #050507; }
.phone .scr img { display: block; width: 100%; height: auto; border-radius: 0; }
