/* ─────────────────────────────────────────────────────────────────────────────
   Landing · Practice room (#practice), v4 2026-11-04 — the phone plays a Nifty 50 paper trade on a loop:
   a finger taps B on the option chain → the order window → Buy → "Order filled" → Positions with a live P&L
   and sparkline → exit. Runs alternate: a trade exited in profit, then one where the stop-loss fires on its own.
   The phone fits the screen; the guide (step + what it shows) and the "illustrative" label live inside it.
   Desktop: heading + CTA left (vertically centred), the phone right. Behaviour: landing-paper.js (staged data).
   ───────────────────────────────────────────────────────────────────────────── */
#practice{ --lp-buy: #1fa463; --lp-sell: #e5484d; --lp-app: #101214; --lp-surf: #171a1d; --lp-ln: #24282c; --lp-tx: #e9ebee; --lp-dm: #8d939a; --lp-rd: #ff5a4e; --lp-gn: #2fc36b;
  /* the phone's height: the screen minus the nav and the bottom dock (phones) / breathing room (desktop) */
  --lp-h: clamp(540px, calc(100vh - var(--nav-h, 58px) - 104px), 720px);
  --lp-h: clamp(540px, calc(100svh - var(--nav-h, 58px) - 104px), 720px);
  padding: clamp(40px, 5vw, 64px) 0; }
#practice .lp-wrap{ display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "demo" "cta"; row-gap: 20px; }
#practice .lp-head{ grid-area: head; }
#practice .lp-demo{ grid-area: demo; }
#practice .lp-cta-row{ grid-area: cta; }
@media (min-width: 900px){
  #practice{ --lp-h: clamp(560px, calc(100vh - var(--nav-h, 58px) - 72px), 760px); padding: 36px 0; }
  #practice .lp-wrap{ grid-template-columns: minmax(0, 520px) calc(var(--lp-h) * .5); grid-template-areas: ". demo" "head demo" "cta demo" ". demo"; grid-template-rows: 1fr auto auto 1fr;
    column-gap: clamp(56px, 8vw, 128px); row-gap: 28px; justify-content: center; }
}
.lp-head h2{ font-family: var(--display); font-size: clamp(30px, 4vw, 46px); line-height: 1.06; letter-spacing: -.04em; font-weight: 500; margin: 14px 0 12px; }
.lp-sub{ margin: 0; color: var(--cream-dim); font-size: clamp(15px, 1.35vw, 17px); line-height: 1.5; max-width: 500px; }

/* ── the phone ── */
.lp-demo{ display: flex; flex-direction: column; align-items: center; min-width: 0; }
.lp-dev{ position: relative; width: min(100%, calc(var(--lp-h) * .5)); height: var(--lp-h); padding: 8px; border-radius: 48px;
  border: 2.5px solid transparent;
  background: linear-gradient(#020303, #020303) padding-box, linear-gradient(162deg, #8a9199 0%, #3a3f45 9%, #1b1e21 26%, #121416 50%, #1d2023 74%, #50565d 92%, #8a9199 100%) border-box;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 30px 70px -26px rgba(0, 0, 0, .95), 0 0 90px -34px rgba(136, 220, 168, .22); }
.lp-dev::before{ content: ''; position: absolute; left: -6px; top: 96px; width: 3.5px; height: 104px; border-radius: 2px 0 0 2px;
  background: linear-gradient(#5a6068, #2b2f34) 0 0/100% 20px no-repeat, linear-gradient(#5a6068, #2b2f34) 0 36px/100% 30px no-repeat, linear-gradient(#5a6068, #2b2f34) 0 74px/100% 30px no-repeat; }
.lp-dev::after{ content: ''; position: absolute; right: -6px; top: 128px; width: 3.5px; height: 56px; border-radius: 0 2px 2px 0; background: linear-gradient(#5a6068, #2b2f34); }
.lp-glass{ position: relative; height: 100%; container-type: size; border-radius: 40px; overflow: hidden; background: var(--lp-app); color: var(--lp-tx);
  font-family: var(--sans); font-feature-settings: "tnum" 1; letter-spacing: -.005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; display: flex; flex-direction: column; }
/* type inside the phone: one family, three weights (500/600/700), one label style */
.lp-glass button{ font-family: inherit; }
.lp-glass::after{ content: ''; position: absolute; inset: 0; z-index: 30; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .015) 22%, transparent 38%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035); }
.lp-status{ flex: none; position: relative; display: flex; justify-content: space-between; align-items: center; height: 40px; padding: 4px 26px 0 30px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.lp-isl{ position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 15px; background: #000; }
.lp-sig{ display: inline-flex; align-items: flex-end; gap: 2px; }
.lp-sig b{ width: 3px; background: var(--lp-tx); border-radius: 1px; } .lp-sig b:nth-child(1){ height: 4px; } .lp-sig b:nth-child(2){ height: 6px; } .lp-sig b:nth-child(3){ height: 8px; } .lp-sig b:nth-child(4){ height: 10px; }
.lp-sig em{ width: 22px; height: 11px; margin-left: 6px; border: 1.3px solid var(--lp-tx); border-radius: 3.5px; background: linear-gradient(90deg, var(--lp-tx) 62%, transparent 62%) content-box; padding: 1px; }
.lp-app{ position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
/* the guide: a card under the status bar that names the step and the feature; it stays above every overlay */
.lp-guide{ flex: none; margin: 2px 12px 6px; padding: 10px 13px 11px; border-radius: 16px; background: linear-gradient(180deg, rgba(235, 197, 140, .11), rgba(235, 197, 140, .05));
  border: 1px solid rgba(235, 197, 140, .32); }
.lp-gtop{ display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lp-steps{ display: flex; gap: 5px; list-style: none; margin: 0; padding: 0; }
.lp-steps li{ width: 16px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .16); transition: background .25s, width .25s; }
.lp-steps li.done{ background: var(--lp-gn); } .lp-steps li.on{ width: 26px; background: var(--gold); }
.lp-gk{ font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.lp-gt{ display: block; margin-top: 6px; font-size: 15px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; color: #f5f1e8; }
.lp-gd{ display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.42; font-weight: 500; color: #bdb8ad; }
#lpBeat{ animation: lpIn .28s ease both; }
@keyframes lpIn{ from{ opacity: .3; } }
/* the phone's footer: the illustrative label, always visible, above the home bar */
.lp-illus{ flex: none; position: relative; margin: 0; padding: 7px 10px 16px; text-align: center; font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #686e75; background: var(--lp-app); z-index: 16; }
.lp-illus::after{ content: ''; position: absolute; left: 50%; bottom: 6px; width: 110px; height: 4px; margin-left: -55px; border-radius: 2px; background: #e9ebee; opacity: .5; }

/* ── the app inside the phone: a self-playing paper trade (landing-paper.js runs the loop) ── */
.lp-appbar{ flex: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 18px 10px; }
.lp-appbar b{ display: block; font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; }
.lp-appbar span{ font-size: 12px; font-weight: 500; color: var(--lp-dm); }
.lp-spot{ text-align: right; }
.lp-spot span{ display: inline-flex; align-items: center; gap: 5px; font-size: 10px !important; font-weight: 700 !important; letter-spacing: .08em; color: var(--lp-dm); }
.lp-spot span i{ width: 6px; height: 6px; border-radius: 50%; background: var(--lp-gn); box-shadow: 0 0 0 3px rgba(47, 195, 107, .18); animation: lpBlink 1.6s ease-in-out infinite; }
.lp-spot b{ font-size: 15px !important; font-weight: 700; letter-spacing: -.01em !important; }
.lp-spot em{ display: block; font-style: normal; font-size: 11px; font-weight: 600; color: var(--lp-gn); }
.lp-spot em.dn{ color: var(--lp-rd); }
@keyframes lpBlink{ 50%{ opacity: .35; } }

/* today's P&L */
.lp-pnl{ flex: none; margin: 0 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 11px 14px 12px; border-radius: 14px; background: var(--lp-surf); border: 1px solid var(--lp-ln); }
.lp-pnl span{ display: block; font-size: 12px; font-weight: 500; color: var(--lp-dm); }
.lp-pnl b{ display: block; margin-top: 1px; font-size: 25px; line-height: 1.15; font-weight: 700; letter-spacing: -.035em; color: var(--lp-tx); transition: color .3s; }
.lp-pnl b.up{ color: var(--lp-gn); } .lp-pnl b.dn{ color: var(--lp-rd); }
.lp-pnl em{ font-style: normal; font-size: 11.5px; font-weight: 500; color: var(--lp-dm); padding-bottom: 3px; text-align: right; }

/* tabs: Option chain | Positions */
.lp-tabs{ flex: none; position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 10px 14px 0; border-bottom: 1px solid var(--lp-ln); }
.lp-tabs span{ display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 0 9px; font-size: 13px; font-weight: 600; color: var(--lp-dm); transition: color .25s; }
.lp-tabs span i{ font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 700; background: #23272b; color: var(--lp-dm); transition: background .25s, color .25s; }
.lp-tabs u{ position: absolute; left: 0; bottom: -1px; width: 50%; height: 2px; border-radius: 2px; background: var(--lp-tx); transition: transform .35s cubic-bezier(.2, .75, .25, 1); }
.lp-demo[data-tab="chain"] .lp-tabs span:nth-child(1), .lp-demo[data-tab="pos"] .lp-tabs span:nth-child(2){ color: var(--lp-tx); }
.lp-demo[data-tab="pos"] .lp-tabs u{ transform: translateX(100%); }
.lp-demo[data-open="1"] .lp-tabs span i{ background: var(--lp-buy); color: #fff; }

/* the two panes slide sideways */
.lp-panes{ position: relative; flex: 1; min-height: 0; overflow: hidden; }
.lp-pane{ position: absolute; inset: 10px 14px 10px; display: flex; flex-direction: column; transition: transform .42s cubic-bezier(.2, .75, .25, 1), opacity .3s; }
.lp-ppos{ transform: translateX(108%); opacity: 0; }
.lp-demo[data-tab="pos"] .lp-pchain{ transform: translateX(-108%); opacity: 0; }
.lp-demo[data-tab="pos"] .lp-ppos{ transform: none; opacity: 1; }

/* option chain */
.lp-chain{ flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid var(--lp-ln); }
.lp-row{ flex: 1 1 0; min-height: 30px; display: grid; grid-template-columns: 1fr 74px 1fr; align-items: center; border-top: 1px solid var(--lp-ln); font-size: 14px; font-weight: 500; letter-spacing: -.01em; text-align: center; }
.lp-row:first-child{ border-top: 0; }
.lp-rh{ flex: none; min-height: 28px; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--lp-dm); text-transform: uppercase; background: var(--lp-surf); }
.lp-row .k{ align-self: stretch; display: grid; place-items: center; background: var(--lp-surf); color: var(--lp-tx); font-weight: 600; }
.lp-row.is-atm{ background: rgba(235, 197, 140, .06); } .lp-row.is-atm .k{ color: var(--gold); }
.lp-px{ transition: color .3s; } .lp-px.tick-up{ color: var(--lp-gn); } .lp-px.tick-dn{ color: var(--lp-rd); }
.lp-buy{ position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform .2s; }
.lp-buy i{ font-style: normal; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: var(--lp-buy); color: #fff; font-size: 11px; font-weight: 700; }
.lp-buy::after{ content: ''; position: absolute; inset: 4px 6px; border-radius: 9px; border: 1.5px solid var(--lp-buy); }
@container (max-height: 700px){ .lp-f2{ display: none !important; } }
@container (max-height: 610px){ .lp-f1{ display: none !important; } }

/* positions */
.lp-posc{ flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 12px 14px 12px; border-radius: 14px; background: var(--lp-surf); border: 1px solid var(--lp-ln); }
.lp-pos-top{ flex: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.lp-pos-top b{ display: block; font-size: 14.5px; font-weight: 700; letter-spacing: -.015em; }
.lp-pos-top > div{ min-width: 0; } .lp-pos-top span{ display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; font-size: 11.5px; font-weight: 500; color: var(--lp-dm); }
.lp-pos-pl{ flex: none; white-space: nowrap; font-size: 19px !important; letter-spacing: -.03em !important; transition: color .3s; }
.lp-pos-pl.up{ color: var(--lp-gn); } .lp-pos-pl.dn{ color: var(--lp-rd); }
.lp-spark{ display: block; flex: 1 1 0; width: 100%; height: 0; min-height: 22px; margin: 10px 0 8px; overflow: visible; }
.lp-spark line{ stroke: #3a3f45; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.lp-spark polyline{ fill: none; stroke: var(--lp-gn); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.lp-spark.dn polyline{ stroke: var(--lp-rd); }
.lp-pos-mid{ flex: none; display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; color: var(--lp-dm); }
.lp-pos-mid b{ color: var(--lp-tx); font-weight: 600; }
.lp-exit{ margin-left: auto; padding: 6px 16px; border-radius: 9px; border: 1px solid rgba(229, 72, 77, .6); color: #ff8a86; font-weight: 700; font-size: 12.5px; transition: transform .2s; }
.lp-exit.done{ border-color: #33383d; color: var(--lp-dm); }
.lp-orders{ flex: none; margin-top: 12px; }
.lp-orders > b{ display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-dm); margin-bottom: 4px; }
.lp-orders ul{ list-style: none; margin: 0; padding: 0; min-height: 105px; }
.lp-orders li{ display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; height: 35px; border-bottom: 1px solid var(--lp-ln); white-space: nowrap; font-size: 12px; font-weight: 500; color: #c9cdd1; animation: lpIn .3s ease both; }
.lp-orders li em{ font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; padding: 2px 6px; border-radius: 5px; background: rgba(31, 164, 99, .16); color: #6fdc9a; }
.lp-orders li em.sell{ background: rgba(229, 72, 77, .16); color: #ff8a86; }
.lp-orders li em.sl{ background: rgba(235, 197, 140, .14); color: var(--gold); }
.lp-orders li s{ text-decoration: none; font-size: 11px; font-weight: 600; color: var(--lp-dm); }
.lp-orders li s.ok{ color: var(--lp-gn); } .lp-orders li s.hit{ color: var(--lp-rd); }

/* order window (bottom sheet) */
.lp-scrim{ position: absolute; inset: 0; z-index: 10; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .25s; }
.lp-demo[data-sheet="1"] .lp-scrim{ opacity: 1; }
.lp-sheet{ position: absolute; z-index: 12; left: 0; right: 0; bottom: 0; padding: 10px 16px 14px; border-radius: 22px 22px 0 0; background: #15181b; border-top: 1px solid #2a2e33;
  box-shadow: 0 -14px 40px rgba(0, 0, 0, .5); transform: translateY(105%); transition: transform .32s cubic-bezier(.2, .75, .25, 1); }
.lp-demo[data-sheet="1"] .lp-sheet{ transform: none; }
.lp-grab{ display: block; width: 38px; height: 4px; margin: 0 auto 12px; border-radius: 2px; background: #3a3f45; }
.lp-tk-head{ display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lp-tk-head b{ font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.lp-tk-head span{ display: block; font-size: 12px; font-weight: 500; color: var(--lp-dm); margin-top: 1px; letter-spacing: 0; }
.lp-tk-head > b{ font-size: 18px; }
.lp-bs{ display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 12px 0; padding: 4px; border-radius: 11px; background: #1f2326; }
.lp-bs span{ display: grid; place-items: center; min-height: 34px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--lp-dm); }
.lp-bs .on{ background: var(--lp-buy); color: #fff; }
.lp-tk{ display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.lp-tk span{ padding: 6px 10px; border-radius: 8px; border: 1px solid #2c3135; font-size: 12px; font-weight: 500; color: #cfd3d7; }
.lp-go{ display: grid; place-items: center; min-height: 46px; border-radius: 12px; background: var(--lp-buy); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: -.01em; transition: transform .2s, opacity .2s; }
.lp-go.busy{ opacity: .75; }

/* toast: slides down from under the guide */
.lp-toast{ position: absolute; z-index: 18; left: 12px; right: 12px; top: 6px; display: flex; white-space: nowrap; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 13px; background: #1d2124; border: 1px solid #2c3136;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .55); font-size: 12.5px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em;
  transform: translateY(-140%); opacity: 0; transition: transform .35s cubic-bezier(.2, .75, .25, 1), opacity .25s; }
.lp-toast.on{ transform: none; opacity: 1; }
.lp-toast i{ flex: none; width: 4px; align-self: stretch; border-radius: 3px; background: var(--lp-gn); }
.lp-toast.dn i{ background: var(--lp-rd); }

/* the finger: glides to each button and presses it (ripple + the button dips and springs back) */
.lp-tap{ position: absolute; z-index: 22; left: 50%; top: 80%; width: 0; height: 0; pointer-events: none; opacity: 0;
  transition: left .6s cubic-bezier(.4, 0, .2, 1), top .6s cubic-bezier(.4, 0, .2, 1), opacity .3s; }
.lp-tap.on{ opacity: 1; }
.lp-rip{ position: absolute; left: -24px; top: -24px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .28); border: 2px solid rgba(255, 255, 255, .7); transform: scale(.2); opacity: 0; }
.lp-hand{ position: absolute; left: -14px; top: -3px; width: 42px; height: 42px; fill: #fff; stroke: #15181b; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transform-origin: 33% 8%; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .55)); }
.lp-tap.press .lp-hand{ animation: lpPress .42s ease-in-out; }
.lp-tap.press .lp-rip{ animation: lpRip .6s ease-out; }
@keyframes lpPress{ 45%{ transform: scale(.82); } }
@keyframes lpRip{ 0%{ transform: scale(.2); opacity: 1; } 100%{ transform: scale(1.4); opacity: 0; } }
.lp-zoom{ animation: lpZoom .9s ease-in-out; }
@keyframes lpZoom{ 0%{ transform: scale(1); } 45%{ transform: scale(1.07); } 70%{ transform: scale(.94); } 100%{ transform: scale(1); } }

/* restart: a quick fade between loops */
.lp-app{ transition: opacity .35s; }
.lp-demo.is-reset .lp-app{ opacity: 0; }

/* short phones: tighten the chrome so whole strikes still fit */
@container (max-height: 600px){
  .lp-guide{ padding: 8px 12px 9px; margin-bottom: 4px; } .lp-gt{ margin-top: 3px; font-size: 14px; } .lp-gd{ font-size: 12px; }
  .lp-appbar{ padding: 2px 18px 6px; } .lp-appbar b{ font-size: 17px; }
  .lp-pnl{ padding: 8px 12px 9px; } .lp-pnl b{ font-size: 21px; }
  .lp-tabs{ margin-top: 6px; } .lp-tabs span{ padding: 6px 0 7px; }
  .lp-spark{ margin: 6px 0 4px; } .lp-posc{ padding: 10px 12px; } .lp-orders{ margin-top: 8px; } .lp-orders ul{ min-height: 87px; } .lp-orders li{ height: 29px; }
}
/* narrow phones: the label stays on one line, the price and its B fit the cell */
@container (max-width: 290px){
  .lp-illus{ padding-left: 4px; padding-right: 4px; font-size: 8.5px; letter-spacing: .03em; }
  .lp-row{ grid-template-columns: 1fr 64px 1fr; } .lp-buy{ gap: 5px; padding-left: 4px; font-size: 13px; } .lp-buy i{ width: 18px; height: 18px; } .lp-buy::after{ inset: 4px 2px; }
  .lp-pos-mid{ gap: 10px; } .lp-exit{ padding: 6px 12px; } .lp-pos-pl{ font-size: 16.5px !important; } .lp-pos-top b{ font-size: 13.5px; }
  .lp-toast{ font-size: 11.5px; padding: 10px 10px; } .lp-orders li{ font-size: 11px; gap: 8px; }
}

#practice .lp-dev{ cursor: default; }

/* ── CTA ── */
.lp-cta-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
#practice .btn.lp-cta{ background: var(--lime); border-color: var(--lime); color: #172011; min-height: 48px; padding: 0 22px; font-size: 14.5px; }
.lp-cta-note{ font-size: 13px; color: var(--cream-dim); }
.lp-fine{ flex-basis: 100%; margin: 2px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 899px){ #practice .btn.lp-cta{ flex: 1 1 100%; } .lp-cta-note{ flex: 1 1 100%; text-align: center; } .lp-fine{ text-align: center; } }

#practice button:focus-visible, #practice a:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce){ #practice *{ animation: none !important; transition: none !important; } }

/* ─────────────────────────────────────────────────────────────────────────────
   Landing · How it works (2026-11-04) — #how, right after the triggers: the product in three moments
   plus what's free for 14 days. Scoped .hw-*.
   ───────────────────────────────────────────────────────────────────────────── */
.hw-sec{ padding: clamp(56px, 7vw, 100px) 0; }
.hw-head h2{ font-family: var(--display); font-size: clamp(30px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -.04em; font-weight: 500; margin: 16px 0 0; }
.hw-steps{ list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: hw; }
@media (max-width: 860px){ .hw-steps{ grid-template-columns: minmax(0, 1fr); } }
.hw-steps li{ position: relative; padding: 20px 20px 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--panel-border); box-shadow: var(--bezel); }
.hw-steps li::after{ counter-increment: hw; content: counter(hw); position: absolute; top: 16px; right: 18px; font: 600 12px var(--mono); color: var(--muted);
  width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; }
.hw-t{ display: block; font: 700 12px var(--mono); letter-spacing: .1em; color: var(--gold); margin-bottom: 12px; }
.hw-steps b{ display: block; font: 600 clamp(17px, 1.7vw, 20px) / 1.3 var(--display); letter-spacing: -.02em; color: var(--cream); padding-right: 30px; }
.hw-steps p{ margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--cream-dim); }
.hw-free{ margin-top: 18px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--green-border); background: var(--green-bg); }
.hw-free-k{ font: 700 11.5px var(--mono); letter-spacing: .1em; color: var(--green); }
.hw-free-list{ list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hw-free-list li{ display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--cream); }
.hw-free-list li::before{ content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.hw-links{ display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }
#how .btn.hw-cta{ background: var(--lime); border-color: var(--lime); color: #172011; }
.hw-link{ color: var(--cream-dim); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.hw-link:hover{ color: var(--cream); }
.hw-sec a:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }

/* Hero promise (2026-11-04): "Keep the morning / you already won." is longer than the old two-word lines;
   on phones keep it to two lines so the product mock and the 08:45 · 14:15 · 15:50 strip stay in the first screen. */
@media (max-width: 600px){ .hero #hero-title{ font-size: clamp(32px, 10.2vw, 42px) !important; line-height: 1.06; letter-spacing: -.045em; } }

/* ── Stranger-trader fixes (2026-11-21) ──────────────────────────────────────────────────────────────────
   1) Phone first screen: the primary CTA + trust row sit directly under the headline, above the phone mock,
      and the mock is scaled down so headline + CTA + the top of the mock fit in ~740px. Desktop hero unchanged.
   2) The same trust row sits beside every sign-up CTA (hero, pricing, closing, sign-up pane).
   3) Phone fold: the routine (#system) and the ladder (#streak-ladder) collapse behind a "See more" bar. */
.dx-trust{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:2px 0;margin:10px 0 0;padding:0;font-size:12.5px;line-height:1.4;color:var(--cream-dim,#c8c7bc);text-align:center}
.dx-trust span{white-space:nowrap}
.dx-trust i{margin:0 7px;font-style:normal;color:var(--muted,#94a197)}
.dx-trust-offer{margin:12px 0 16px}
.dx-trust-closing{margin:14px 0 0}
.dx-trust-auth{margin:10px 0 2px;font-size:12px}
.hx-topcta{display:none}
.m-fold-bar{display:none}

@media(max-width:760px){
  .hx-topcta{display:block;order:2;width:100%;max-width:440px;margin:0 auto 14px}
  .hero .hx-lock.hx-lock-top{margin-top:0;min-height:52px}
  .hero.hx h1{margin:10px 0 14px}
  .hx-stage .hx-note{margin-top:4px}

  .m-fold-bar{display:flex;align-items:center;gap:14px;width:calc(100% - 32px);max-width:560px;margin:0 auto;padding:16px;border:1px solid var(--gold-border,rgba(235,197,140,.28));border-radius:16px;background:var(--gold-bg,rgba(235,197,140,.08))}
  .m-fold-txt{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px}
  .m-fold-k{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold,#ebc58c)}
  .m-fold-t{font-family:var(--display,'Space Grotesk',sans-serif);font-size:16px;font-weight:600;line-height:1.25;color:var(--cream,#f1f0e6)}
  .m-fold-d{font-size:13px;line-height:1.4;color:var(--cream-dim,#c8c7bc)}
  .m-fold-btn{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:96px;min-height:44px;padding:0 14px;border:1px solid var(--gold-border,rgba(235,197,140,.28));border-radius:12px;background:transparent;color:var(--gold,#ebc58c);font:600 14px/1 var(--sans,system-ui,sans-serif);cursor:pointer}
  .m-fold-btn::after{content:"↓";font-weight:700}
  .m-fold-btn:focus-visible{outline:2px solid var(--lime,#d5f98b);outline-offset:2px}
  .m-fold:not(.is-open){padding:18px 0!important;min-height:0!important;height:auto!important}
  .m-fold:not(.is-open)>*:not(.m-fold-bar){display:none!important}
  .m-fold.is-open>.m-fold-bar{justify-content:flex-end;margin-top:10px;padding:0;border:0;background:none}
  .m-fold.is-open .m-fold-txt{display:none}
  .m-fold.is-open .m-fold-btn::after{content:"↑"}
}
@media(max-width:480px){
  /* the mock at ~60%: 224px -> 136px wide (content inside the glass scales with --pw) */
  .hero.hx{--pw:136px;--bw:min(96vw,380px);padding-top:calc(var(--nav-h) + 12px)}
  .hx-stage{padding-top:0}
  .hx-story{width:min(100%,300px)}
}

/* Guided tour video / poster slot in #how */
.hero a.btn.hx-demo.hx-live{margin-top:8px}
.hx-demo+.hx-demo+.hx-how{margin-top:6px}
.hw-tour{margin-top:18px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.hw-tour video,.hw-tour-poster{display:block;width:min(100%,280px);height:auto;aspect-ratio:1080 / 1350;object-fit:cover;border-radius:14px;border:1px solid var(--panel-border,#223028);background:#080d0c}
.hw-tour-poster[hidden]{display:none}
.hw-tour-demo{font-size:14px;font-weight:600;color:var(--lime,#d5f98b)}
