/* index.html — TradeLite landing page v3 (psychology control + animations) */
:root {
  --teal: #0C2F35;
  --green: #01DA8B;
  --green-text: #067a51;
  --ink: #0b1a1d;
  --muted: #56676a;
  --line: #dde5e6;
  --bg: #f6f8f8;
  --card: #ffffff;
  --card2: #eef3f3;
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit }
a:hover { opacity: .85 }
img, svg { max-width: 100% }
h1, h2, h3, p { margin: 0 }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: 64px }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 14px; background: var(--teal); color: #fff; border-radius: 8px; z-index: 10 }
.skip:focus { left: 8px }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 12px; font-weight: 800; font-size: 16px; text-decoration: none; transition: transform .15s, box-shadow .2s }
.btn:hover { opacity: 1; transform: translateY(-1px) }
.btn-dark { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -14px rgba(12, 47, 53, .7) }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: #fff; font-weight: 700 }
.btn-green { background: var(--green); color: #03241a; flex: none }
.btn-sm { padding: 11px 20px; font-size: 15px; font-weight: 700 }

/* ── nav ── */
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; color: var(--ink) }
.nav-links { display: flex; gap: 34px }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500 }
.nav-cta { display: flex; align-items: center; gap: 18px }
.nav-cta .link { text-decoration: none; font-weight: 600; font-size: 15px }

/* ── sections ── */
.sec { padding-top: 130px }
.sec-sm { padding-top: 90px }
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; max-width: 760px; margin: 0 auto 56px }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green-text) }
.sec-head h2, .show-copy h2 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em }
.sec-head p { font-size: 18px; line-height: 1.55; color: var(--muted) }

.markets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px }
.markets li { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px }
.markets b { font-size: 18px }
.markets span { font-size: 13px; color: var(--muted) }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px }
.card { border-radius: 22px; background: var(--card); border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; min-width: 0 }
.card h3 { font-size: 24px; font-weight: 700 }
.card p { color: var(--muted); line-height: 1.55; font-size: 16px }
.ico { color: var(--teal); display: flex }
.span2 { grid-column: span 2 }
.span3 { grid-column: span 3; gap: 26px }
.card.row { flex-direction: row; align-items: center; gap: 30px }
.chain-copy { width: 300px; flex: none; display: flex; flex-direction: column; gap: 10px }
.logo-tile { background: var(--teal); align-items: center; justify-content: center; padding: 0; min-height: 220px }
.spark { width: 100%; height: 80px; margin-top: 4px }
#strategies { scroll-margin-top: 20px }

/* numbered grid */
.grid-num { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--card) }
.grid-num article { padding: 34px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px }
.num { font-size: 13px; font-weight: 700; color: var(--muted) }
.grid-num h3 { font-size: 21px; font-weight: 700 }
.grid-num p { font-size: 15px; line-height: 1.6; color: var(--muted) }

/* steps */
.steps { list-style: none; margin: 0; padding: 60px 64px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px }
.steps li { display: flex; flex-direction: column; gap: 12px }
.step-n { width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px }
.steps h3 { font-size: 22px }
.steps p { font-size: 16px; line-height: 1.6; color: var(--muted) }

/* showcase rows */
.show { display: flex; flex-direction: column; gap: 110px; padding-left: 110px; padding-right: 110px }
.show-row { display: flex; align-items: center; justify-content: space-between; gap: 72px }
.show-copy { width: 520px; display: flex; flex-direction: column; gap: 16px }
.show-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.6; color: var(--muted) }
.ticks-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px }
.ticks-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px }
.ticks-list svg { color: var(--green-text); flex: none; margin-top: 2px }

/* risk */
.risk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px }
.risk article { padding: 22px; border-radius: 16px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px }
.risk h3 { font-size: 18px }
.risk p { font-size: 14px; line-height: 1.55; color: var(--muted) }

/* faq */
.faq { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px }
.faq details { border-radius: 16px; background: var(--card); border: 1px solid var(--line); padding: 0 24px }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: '+'; font-size: 24px; color: var(--green-text); transition: transform .2s }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq h3 { font-size: 18px; font-weight: 700 }
.faq details p { padding: 0 0 22px; font-size: 16px; line-height: 1.65; color: var(--muted) }

/* cta */
.cta-wrap { padding-bottom: 100px }
.cta { border-radius: 28px; overflow: hidden; background: var(--teal); color: #eef5f5 }
.cta-top { padding: 64px 64px 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px }
.cta h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; max-width: 720px }
.cta h2 span { color: var(--green) }
.cta p { margin-top: 14px; font-size: 18px; color: #b9d2d0 }
.cta-chart { display: block; width: calc(100% - 128px); height: 220px; margin: 36px 64px 0 }

/* footer */
.foot { padding-top: 56px; padding-bottom: 40px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 36px }
.foot-top { display: flex; justify-content: space-between; gap: 40px }
.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 360px }
.foot-brand p { font-size: 14px; line-height: 1.6; color: var(--muted) }
.foot-cols { display: flex; gap: 80px }
.foot-cols div { display: flex; flex-direction: column; gap: 10px }
.foot-cols h3 { font-size: 14px }
.foot-cols a { color: var(--muted); text-decoration: none; font-size: 14px }
.foot-bottom { display: flex; justify-content: space-between; gap: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; color: var(--muted) }
.foot-bottom p:first-child { max-width: 820px }
.foot-bottom a { color: var(--muted) }

/* ── chart animation (candles build up, last one ticks, lines draw) ── */
.cd { transform-box: fill-box; transform-origin: 50% 100%; animation: cgrow 10s cubic-bezier(.2, .7, .2, 1) infinite both }
.tk { transform-box: fill-box; transform-origin: 50% 100%; animation: ctick 1.3s ease-in-out infinite alternate }
.dl { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: ldraw 2.6s ease-out .3s forwards }
@keyframes cgrow { 0% { transform: scaleY(0); opacity: 0 } 5% { transform: scaleY(1); opacity: 1 } 88% { transform: scaleY(1); opacity: 1 } 96%, 100% { transform: scaleY(1); opacity: 0 } }
@keyframes ctick { 0% { transform: scaleY(.82) } 100% { transform: scaleY(1.22) } }
@keyframes ldraw { to { stroke-dashoffset: 0 } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .cd, .tk, .dl { animation: none; opacity: 1; stroke-dashoffset: 0 }
}


.btn-line { border: 1px solid var(--line); color: var(--ink); background: #fff; font-weight: 600 }
.btn-lg { padding: 18px 34px; font-size: 19px; font-weight: 700 }
.mock { display: flex; justify-content: center; max-width: 100% }

/* ── hero: framed dotted panel, hub logo with market orbit, feature cards on connectors ── */
.hero { padding-top: 8px }
.frame { position: relative; border-radius: 30px; border: 1px solid var(--line); background-color: #f7f9f9; background-image: radial-gradient(rgba(12, 47, 53, .16) 1.2px, transparent 1.3px); background-size: 16px 16px; padding: 40px 0 0; overflow: hidden }
.frame::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 30%, #f7f9f9 0%, #f7f9f9 25%, rgba(247, 249, 249, 0) 60%); pointer-events: none }
.stage { position: absolute; left: 50%; top: 40px; width: 1312px; height: 360px; transform: translateX(-50%); pointer-events: none }
.conn { position: absolute; inset: 0; width: 100%; height: 100% }
.conn path { fill: none; stroke: #0C2F35; stroke-opacity: .5; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .1 9; animation: flow 1.6s linear infinite }
.hcard { position: absolute; display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; width: max-content }
.hcard.c-tl { left: 20px; top: 42px; transform: rotate(-3deg) } .hcard.c-tr { right: 20px; top: 42px; transform: rotate(3deg); flex-direction: row-reverse }
.hcard.c-ml { left: 0; top: 262px; transform: rotate(-2deg) } .hcard.c-mr { right: 0; top: 262px; transform: rotate(2deg); flex-direction: row-reverse }
.hc-text { width: 150px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px -18px rgba(8, 30, 34, .45); display: flex; flex-direction: column; gap: 6px }
.hc-text b { font-size: 13px }
.hc-text i { height: 5px; width: 90%; border-radius: 3px; background: #e6ecec } .hc-text i.s { width: 60% }
.hc-thumb { width: 72px; height: 58px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px -18px rgba(8, 30, 34, .45); display: flex; align-items: center; justify-content: center }
.tgrid { width: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px } .tgrid em { height: 6px; border-radius: 2px }
.tflow { display: flex; align-items: center; gap: 3px; color: #0a8f63; font-size: 11px } .tflow em { width: 12px; height: 12px; border-radius: 4px; background: #e6ecec } .tflow em.d { width: 16px; height: 16px; background: #0C2F35 }

.hub { position: relative; width: 300px; height: 300px; margin: 0 auto }
.hub::before, .hub::after { content: ''; position: absolute; border-radius: 50%; border: 2px dotted rgba(12, 47, 53, .28) }
.hub::before { inset: 0 } .hub::after { inset: -46px; border-color: rgba(12, 47, 53, .12) }
.hub-tile { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 26px 50px -20px rgba(12, 47, 53, .45), 0 0 0 9px rgba(255, 255, 255, .7); display: flex; align-items: center; justify-content: center; z-index: 1 }
.orbit { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; animation: spin 60s linear infinite }
.orb { position: absolute; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 30px -16px rgba(8, 30, 34, .5); display: flex; align-items: center; justify-content: center; animation: spin 60s linear infinite reverse }
.orb span { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px }

.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 26px 24px 0 }
.hero-copy h1 { font-size: clamp(40px, 5.4vw, 74px); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em }
.hero-copy h1 span { color: #0a8f63 }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--muted); max-width: 760px }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px }
.chips li { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 600 }
.hero-copy .btn-lg { box-shadow: 0 18px 40px -12px rgba(12, 47, 53, .45) }
.note { font-size: 15px; font-weight: 600; opacity: .7 }
.hero-shot { position: relative; margin: 48px auto 0; width: min(1180px, 92%); perspective: 1600px }
.browser { margin: 0; border-radius: 14px; overflow: hidden; background: #0f1215; border: 1px solid #1f262c; box-shadow: 0 40px 90px -40px rgba(8, 30, 34, .6) }
.browser .bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #1a1f24 }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a434b } .browser .bar i:first-child { background: #ff5f57 } .browser .bar i:nth-child(2) { background: #febc2e } .browser .bar i:nth-child(3) { background: #28c840 }
.browser .bar span { margin-left: 12px; padding: 3px 12px; border-radius: 6px; background: #0f1215; color: #9aa4ab; font-size: 12px }
.browser img { display: block; width: 100%; height: auto }
.browser.tilt { transform: rotateX(12deg); transform-origin: top center; margin-bottom: -60px }

/* ── product tour tabs (no JavaScript) ── */
.tabs > input { position: absolute; opacity: 0; pointer-events: none }
.tab-labels { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px }
.tab-labels label { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .15s }
.tab-labels label:hover { border-color: var(--teal) }
.tabs > input:focus-visible ~ .tab-labels { outline: 2px solid var(--green); outline-offset: 6px; border-radius: 12px }
.panes .pane { display: none; max-width: 1180px; margin: 0 auto }

/* ── feature deep-dives ── */
.deep { display: flex; flex-direction: column; gap: 110px }
.drow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 64px }
.drow.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) } .drow.rev .dcopy { order: 2 }
.dcopy { display: flex; flex-direction: column; gap: 16px }
.dcopy h3 { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -0.025em }
.dcopy > p:not(.eyebrow) { font-size: 17px; line-height: 1.6; color: var(--muted) }
.tl { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px }
.tl li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px }
.tl svg { color: var(--green-text); flex: none; margin-top: 2px }

.flow-card { padding: 44px; border-radius: 24px; background: #fff; border: 1px solid var(--line) }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 12px }
.gallery figcaption { font-size: 14px; line-height: 1.5; color: var(--muted) }
.gallery figcaption b { color: var(--ink) }

.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px }
.who article { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px }
.who h3 { font-size: 20px } .who p { font-size: 15px; line-height: 1.6; color: var(--muted) }

@keyframes flow { to { stroke-dashoffset: -18 } }
@keyframes spin { to { transform: rotate(360deg) } }
@media (prefers-reduced-motion: reduce) { .conn path, .orbit, .orb { animation: none } }


/* ════════ v3: trading psychology control ════════ */
.announce { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; background: var(--teal); color: #e8f1f2; text-decoration: none; font-size: 14px; text-align: center; position: relative; overflow: hidden }
.announce b { color: var(--green) }
.announce .a-go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #fff }
.announce::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .12) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 5s ease-in-out 1s infinite }
.a-dot, .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(1, 218, 139, .6); animation: ping 1.8s ease-out infinite; display: inline-block }
.nl-hl { color: var(--teal) !important; font-weight: 700 !important; position: relative }
.nl-hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; animation: grow-x 1s .8s cubic-bezier(.2, .7, .2, 1) forwards }
.nav { position: sticky; top: 0; z-index: 20; background: rgba(246, 248, 248, .82); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px) }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--teal); animation: rise .7s both }
.hero-copy h1 { animation: rise .8s .08s both }
.hero-copy h1 span { background: linear-gradient(90deg, #0a8f63 0%, #0a8f63 40%, #01DA8B 50%, #0a8f63 60%, #0a8f63 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: sheen 5s ease-in-out 1.5s infinite }
.hero-copy .lead { animation: rise .8s .16s both }
.hero-copy .chips li { animation: rise .6s both; animation-delay: calc(.25s + var(--n, 0) * .06s) }
.chips li:nth-child(1) { --n: 0 } .chips li:nth-child(2) { --n: 1 } .chips li:nth-child(3) { --n: 2 } .chips li:nth-child(4) { --n: 3 } .chips li:nth-child(5) { --n: 4 } .chips li:nth-child(6) { --n: 5 }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; animation: rise .8s .35s both }
.hub-tile { animation: tile-pop .9s cubic-bezier(.2, .7, .2, 1) both }
.hub-tile::after { content: ''; position: absolute; inset: -9px; border-radius: 34px; border: 2px solid rgba(1, 218, 139, .55); animation: ripple 2.6s ease-out 1s infinite }
.hcard { animation: card-in .8s cubic-bezier(.2, .7, .2, 1) both } .hcard.c-tl { animation-delay: .5s } .hcard.c-tr { animation-delay: .62s } .hcard.c-ml { animation-delay: .74s } .hcard.c-mr { animation-delay: .86s }
.hcard .hc-text, .hcard .hc-thumb { transition: transform .25s, box-shadow .25s }
.lock-ic .shackle { transform-origin: 16px 11px; animation: shackle 3s ease-in-out infinite }
.tcount { display: flex; gap: 4px; align-items: center } .tcount em { width: 8px; height: 8px; border-radius: 50%; background: #0a8f63; animation: blink 3s infinite } .tcount em:nth-child(2) { animation-delay: .3s } .tcount em:nth-child(3) { animation-delay: .6s } .tcount .x { background: none; color: #e5484d; font-style: normal; font-weight: 800; width: auto; height: auto; animation-delay: .9s }
.tmeter { width: 52px; height: 10px; border-radius: 6px; background: #e6ecec; overflow: hidden } .tmeter em { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #01DA8B, #febc2e 60%, #e5484d); animation: meter 4s ease-in-out infinite }

/* psychology band */
.psy { margin-top: 110px; padding: 110px 0; background: radial-gradient(ellipse at 20% 0%, #164a52 0%, #0C2F35 55%, #082226 100%); color: #e8f1f2; position: relative; overflow: hidden }
.psy::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1.2px, transparent 1.3px); background-size: 18px 18px; pointer-events: none }
.psy .wrap { position: relative }
.sec-head.light h2 { color: #fff } .sec-head.light p { color: #b7cdcc } .sec-head.light .eyebrow { color: var(--green) }
.psy-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start }
.demo { position: relative; padding: 24px; border-radius: 22px; background: #0f3a41; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); display: flex; flex-direction: column; gap: 16px; overflow: hidden }
.demo-head { display: flex; justify-content: space-between; align-items: center } .demo-head b { font-size: 18px; color: #fff }
.demo-tag { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #b7cdcc }
.demo-row { display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: #cfe0df }
.demo-val::after { content: '0%'; font-weight: 800; color: #fff; animation: pct 8s steps(1) infinite }
.meter { position: relative; height: 14px; border-radius: 8px; background: rgba(255, 255, 255, .1); overflow: hidden; container-type: inline-size }
.meter-fill { height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, #01DA8B 0%, #01DA8B 45%, #febc2e 70%, #e5484d 100%); background-size: 100cqw 100%; animation: fill 8s cubic-bezier(.4, 0, .2, 1) infinite }
.meter i { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .35) }
.demo-alerts { display: flex; gap: 8px; flex-wrap: wrap }
.al { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .35); animation: 8s infinite }
.al.a1 { animation-name: al1 } .al.a2 { animation-name: al2 } .al.a3 { animation-name: al3 }
.dots { display: flex; gap: 6px } .dots em { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .15); animation: dot 8s infinite } .dots em:nth-child(2) { animation-delay: .4s } .dots em:nth-child(3) { animation-delay: .8s } .dots em:nth-child(4) { animation-delay: 1.2s } .dots em.cap { border: 2px dashed rgba(255, 255, 255, .35); background: none; animation: none }
.demo-order { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
.demo-order button { height: 46px; border: 0; border-radius: 12px; font: inherit; font-weight: 800; color: #fff; cursor: default; animation: dim 8s infinite }
.fake-buy { background: #2563eb } .fake-sell { background: #e5484d }
.toast { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); border-left: 5px solid #e5484d; animation: toast 8s cubic-bezier(.2, .7, .2, 1) infinite }
.toast b { display: block; font-size: 16px; color: #b4232a } .toast span { font-size: 13px; color: var(--muted) }
.demo-lock { color: #e5484d; flex: none } .demo-lock .shackle { transform-origin: 16px 11px; animation: shackle-close 8s infinite }
.badges { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px }
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; font-weight: 600; color: #e8f1f2 }
.badges svg { color: var(--green) }
.emo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
.emo { position: relative; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 8px; transition: transform .25s, background .25s, border-color .25s }
.emo:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .09); border-color: rgba(1, 218, 139, .5) }
.emo-from { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #ff9aa0; text-decoration: line-through; text-decoration-color: rgba(255, 154, 160, .7) }
.emo-from .x { text-decoration: none; display: inline-block }
.emo h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; color: #fff } .emo .ico { color: var(--green) }
.emo p:last-child { font-size: 14px; line-height: 1.55; color: #b7cdcc }
.emo-arrow { position: absolute; right: 18px; top: 18px; width: 22px; height: 2px; background: var(--green); border-radius: 2px }
.emo-arrow::after { content: ''; position: absolute; right: -1px; top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: rotate(45deg) }
.tl-title { margin: 72px 0 24px; text-align: center; font-size: 26px; color: #fff }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative }
.timeline::before { content: ''; position: absolute; left: 10%; right: 10%; top: 22px; height: 2px; background: linear-gradient(90deg, #01DA8B, #febc2e 60%, #e5484d 80%, #01DA8B); opacity: .6 }
.timeline li { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 6px }
.tl-n { width: 44px; height: 44px; border-radius: 50%; background: #0C2F35; border: 2px solid var(--green); color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 800; position: relative; z-index: 1 }
.timeline li:nth-child(4) .tl-n { border-color: #e5484d; color: #ff9aa0 }
.timeline h3 { font-size: 17px; color: #fff } .timeline p { font-size: 14px; line-height: 1.5; color: #b7cdcc }
.quote-band { padding-top: 110px; text-align: center }
.quote-band blockquote { margin: 0 auto; max-width: 980px }
.quote-band p { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em }
.quote-band span { color: #0a8f63; background-image: linear-gradient(var(--green), var(--green)); background-size: 0 4px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 1s }
.quote-band:hover span { background-size: 100% 4px }

/* ════════ v3: interaction animations ════════ */
.btn { position: relative; overflow: hidden; transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, background .2s }
.btn:hover { transform: translateY(-2px) }
.btn:active { transform: translateY(0) scale(.98) }
.btn svg { transition: transform .25s cubic-bezier(.2, .7, .2, 1) } .btn:hover svg { transform: translateX(4px) }
.btn-dark:hover { box-shadow: 0 18px 34px -14px rgba(12, 47, 53, .75) }
.btn-green:hover { box-shadow: 0 18px 34px -14px rgba(1, 218, 139, .8) }
.btn-line:hover { border-color: var(--teal) }
.btn-shine::after, .btn-green::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: shine 3.6s ease-in-out 1.2s infinite }
.btn-shine { animation: glow 2.8s ease-in-out 1.5s infinite }
.card, .grid-num article, .who article, .risk article, .steps li, .markets li, .faq details, .gallery figure { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .25s }
.card:hover, .who article:hover, .risk article:hover, .markets li:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(12, 47, 53, .45); border-color: #b9c6c8 }
.grid-num article:hover { background: #fbfdfd } .grid-num article:hover .ico, .who article:hover .ico { animation: wiggle .5s }
.steps li:hover .step-n { transform: scale(1.12) rotate(-6deg) } .step-n { transition: transform .25s }
.faq details:hover { border-color: #b9c6c8 }
.faq details[open] p { animation: rise .35s both }
.browser { transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s }
.browser img { transition: transform .8s cubic-bezier(.2, .7, .2, 1) }
.deep .browser:hover, .gallery .browser:hover, .panes .browser:hover { transform: translateY(-6px); box-shadow: 0 50px 90px -40px rgba(8, 30, 34, .7) }
.deep .browser:hover img, .gallery .browser:hover img { transform: scale(1.035) }
.browser.tilt { transition: transform 1s cubic-bezier(.2, .7, .2, 1) } .hero-shot:hover .browser.tilt { transform: rotateX(4deg) }
.hero-shot { animation: rise 1s .45s both }
.panes .pane { animation: pane-in .45s cubic-bezier(.2, .7, .2, 1) both }
.tab-labels label { transition: background .2s, color .2s, border-color .2s, transform .2s } .tab-labels label:hover { transform: translateY(-2px) }
.cta { position: relative } .cta::before { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(1, 218, 139, .25), transparent 65%); animation: drift 9s ease-in-out infinite alternate }

/* scroll reveal (CSS scroll-driven; content stays visible where unsupported) */
@supports (animation-timeline: view()) {
  .sec-head, .grid-num article, .who article, .risk article, .steps li, .gallery figure, .faq details, .emo, .timeline li, .markets li, .drow .dcopy, .flow-card, .quote-band blockquote {
    animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28%
  }
  .drow .browser { animation: reveal-zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 35% }
  .hero-shot .browser.tilt { animation: flatten linear both; animation-timeline: view(); animation-range: exit -20% exit 60% }
  .emo:nth-child(even), .grid-num article:nth-child(even), .who article:nth-child(even) { animation-range: entry 5% cover 32% }
}

@keyframes rise { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }
@keyframes reveal { from { opacity: 0; transform: translateY(40px) scale(.98) } to { opacity: 1; transform: none } }
@keyframes reveal-zoom { from { opacity: 0; transform: translateY(50px) scale(.94) } to { opacity: 1; transform: none } }
@keyframes flatten { to { transform: rotateX(0) } }
@keyframes pane-in { from { opacity: 0; transform: translateY(12px) scale(.99) } to { opacity: 1; transform: none } }
@keyframes tile-pop { from { opacity: 0; transform: scale(.6) } 70% { transform: scale(1.06) } to { opacity: 1; transform: none } }
@keyframes card-in { from { opacity: 0; translate: 0 16px } to { opacity: 1; translate: 0 0 } }
@keyframes ripple { from { opacity: .9; transform: scale(1) } to { opacity: 0; transform: scale(1.5) } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(1, 218, 139, .6) } 80%, 100% { box-shadow: 0 0 0 10px rgba(1, 218, 139, 0) } }
@keyframes sweep { 0%, 60% { transform: translateX(-100%) } 100% { transform: translateX(100%) } }
@keyframes grow-x { to { transform: scaleX(1) } }
@keyframes sheen { 0%, 60% { background-position: 100% 0 } 100% { background-position: 0 0 } }
@keyframes shine { 0%, 70% { left: -60% } 100% { left: 130% } }
@keyframes glow { 0%, 100% { box-shadow: 0 18px 40px -12px rgba(12, 47, 53, .45) } 50% { box-shadow: 0 18px 50px -8px rgba(1, 218, 139, .45) } }
@keyframes wiggle { 25% { transform: rotate(-10deg) } 75% { transform: rotate(10deg) } }
@keyframes drift { to { transform: translate(-60px, 40px) } }
@keyframes shackle { 0%, 40% { transform: translateY(-3px) } 55%, 100% { transform: none } }
@keyframes blink { 0%, 100% { opacity: .35 } 50% { opacity: 1 } }
@keyframes meter { 0% { width: 0 } 80%, 100% { width: 100% } }
@keyframes fill { 0% { width: 0 } 50% { width: 80% } 62%, 92% { width: 100% } 100% { width: 0 } }
@keyframes pct { 0% { content: '0%' } 12% { content: '20%' } 25% { content: '40%' } 37% { content: '55%' } 50% { content: '80%' } 62% { content: '100%' } 94% { content: '0%' } }
@keyframes al1 { 0%, 30% { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .35) } 32%, 92% { background: rgba(254, 188, 46, .2); color: #febc2e } 100% { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .35) } }
@keyframes al2 { 0%, 48% { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .35) } 50%, 92% { background: rgba(255, 140, 60, .22); color: #ffa26b } 100% { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .35) } }
@keyframes al3 { 0%, 60% { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .35) } 62%, 92% { background: rgba(229, 72, 77, .28); color: #ff9aa0 } 100% { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .35) } }
@keyframes dot { 0%, 10% { background: rgba(255, 255, 255, .15) } 14%, 92% { background: #01DA8B } 100% { background: rgba(255, 255, 255, .15) } }
@keyframes dim { 0%, 62% { opacity: 1; filter: none } 66%, 92% { opacity: .35; filter: grayscale(1) } 100% { opacity: 1; filter: none } }
@keyframes toast { 0%, 63% { transform: translateY(140%); opacity: 0 } 67% { transform: translateY(-4px); opacity: 1 } 69% { transform: translateX(-6px) } 71% { transform: translateX(6px) } 73%, 90% { transform: none; opacity: 1 } 95%, 100% { transform: translateY(140%); opacity: 0 } }
@keyframes shackle-close { 0%, 64% { transform: translateY(-4px) rotate(-18deg) } 70%, 100% { transform: none } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important }
  .meter-fill { width: 100% } .toast { transform: none; opacity: 1; position: relative; left: auto; right: auto; bottom: auto } .demo-val::after { content: '100%' }
  .al.a3 { background: rgba(229, 72, 77, .28); color: #ff9aa0 } .dots em { background: #01DA8B }
}
/* ── responsive ── */
@media (max-width: 1360px) { .stage { display: none } }
@media (max-width: 1180px) {
  .wrap { padding-inline: 40px }
  .mock-flow { zoom: .85 }
  .drow, .drow.rev { gap: 40px }
}
@media (max-width: 980px) {
  .nav-links { display: none }
  .markets { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .grid-num, .risk, .who { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .drow, .drow.rev { grid-template-columns: 1fr } .drow.rev .dcopy { order: 0 }
  .deep { gap: 72px }
  .mock-flow { zoom: .7 }
  .browser.tilt { transform: none; margin-bottom: 0 }
  .cta-top { flex-direction: column; align-items: flex-start }
  .foot-top { flex-direction: column }
}
@media (max-width: 720px) {
  .wrap { padding-inline: 16px }
  .sec { padding-top: 80px } .sec-sm { padding-top: 48px } .sec-head { margin-bottom: 32px }
  .frame { padding-top: 28px; border-radius: 22px }
  .hub { width: 220px; height: 220px } .hub::after { inset: -30px }
  .hub-tile { width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 22px } .hub-tile svg { width: 44px; height: auto }
  .orb { width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 12px } .orb span { width: 30px; height: 30px; font-size: 11px }
  .hero-shot { width: 94%; margin-top: 32px }
  .nav-cta .btn-line { display: none }
  .btn-lg { padding: 16px 22px; font-size: 17px }
  .markets { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .grid-num, .risk, .who, .gallery { grid-template-columns: 1fr }
  .tab-labels { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px }
  .tab-labels label { flex: none; padding: 8px 14px; font-size: 14px }
  .browser .bar { height: 22px } .browser .bar span { display: none }
  .flow-card { padding: 20px }
  .mock-flow { zoom: .36 }
  .steps { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px }
  .cta-top { padding: 40px 24px 0 }
  .cta-chart { width: calc(100% - 48px); height: 140px; margin: 24px 24px 0 }
  .foot-cols { flex-wrap: wrap; gap: 32px }
  .foot-bottom { flex-direction: column; gap: 12px }
}

@media (max-width: 1180px) { .psy-grid { grid-template-columns: 1fr } .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px } .timeline::before { display: none } }
@media (max-width: 720px) {
  .announce { font-size: 12.5px; gap: 6px }
  .psy { margin-top: 72px; padding: 72px 0 }
  .emo-grid { grid-template-columns: 1fr }
  .timeline { grid-template-columns: 1fr; text-align: left }
  .timeline li { flex-direction: row; align-items: flex-start; text-align: left; flex-wrap: wrap; column-gap: 12px } .timeline li h3 { align-self: center } .timeline li p { flex-basis: 100%; padding-left: 56px; margin-top: -6px }
  .hero-actions .btn-line { display: none }
  .quote-band { padding-top: 72px }
}

/* v4: emotional control (after hero) */
.ec-loop { list-style: none; margin: 0 auto 28px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 34px; max-width: 1180px; counter-reset: ec }
.ec-loop li { position: relative; padding: 20px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; animation: ec-in .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * .18s + .2s) }
.ec-loop li:not(:last-child)::after { content: ''; position: absolute; right: -26px; top: 50%; width: 18px; height: 2px; background: #e35d6a; border-radius: 2px }
.ec-loop li:not(:last-child)::before { content: ''; position: absolute; right: -27px; top: calc(50% - 4px); width: 8px; height: 8px; border-top: 2px solid #e35d6a; border-right: 2px solid #e35d6a; transform: rotate(45deg) }
.ec-loop li:nth-child(-n+2) { border-color: #f3c3c8; background: #fff6f7 }
.ec-loop li:nth-child(-n+2) b { color: #b3263a }
.ec-loop b { font-size: 17px; color: var(--ink) }
.ec-loop span { font-size: 14px; line-height: 1.5; color: var(--muted) }
.ec-loop .ec-break { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 18px 40px -16px rgba(12, 47, 53, .6); transform-origin: center; animation-name: ec-in, ec-pulse; animation-duration: .6s, 2.6s; animation-delay: calc(var(--i) * .18s + .2s), 1.4s; animation-iteration-count: 1, infinite }
.ec-loop .ec-break b { color: var(--green) } .ec-loop .ec-break span { color: #b7cdcc }
.ec-loop .ec-break::after, .ec-loop .ec-break::before { border-color: var(--green) !important; background: var(--green) }
.ec-loop .ec-break::before { background: none }
.ec-lock { color: var(--green) } .ec-lock .shackle { transform-origin: 16px 11px; animation: shackle-close 2.6s ease-in-out infinite }
.ec-loop .ec-gone { opacity: .55; background: var(--card2) }
.ec-loop .ec-gone b { text-decoration: line-through; text-decoration-color: var(--green); text-decoration-thickness: 2px }
.ec-loop .ec-gone:not(:last-child)::after, .ec-loop .ec-gone:not(:last-child)::before { opacity: .4 }
@keyframes ec-in { from { opacity: 0; transform: translateY(18px) } }
@keyframes ec-pulse { 0%, 100% { box-shadow: 0 18px 40px -16px rgba(12, 47, 53, .6), 0 0 0 0 rgba(1, 218, 139, .45) } 50% { box-shadow: 0 18px 40px -16px rgba(12, 47, 53, .6), 0 0 0 10px rgba(1, 218, 139, 0) } }
.ec-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1180px; margin: 0 auto }
.ec-cards article { padding: 26px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: transform .25s, box-shadow .25s, border-color .25s }
.ec-cards article:hover { transform: translateY(-6px); border-color: var(--green); box-shadow: 0 22px 44px -22px rgba(12, 47, 53, .35) }
.ec-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(1, 218, 139, .14); color: var(--green-text); transition: transform .3s }
.ec-cards article:hover .ec-ico { transform: rotate(-8deg) scale(1.08) }
.ec-cards h3 { font-size: 19px; color: var(--ink) } .ec-cards p { font-size: 15px; line-height: 1.6; color: var(--muted) }
@supports (animation-timeline: view()) { .ec-cards article { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28% } }
@media (max-width: 1180px) {
  .ec-loop { grid-template-columns: 1fr; max-width: 520px; gap: 22px }
  .ec-loop li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -16px; width: 2px; height: 12px }
  .ec-loop li:not(:last-child)::before { right: auto; left: calc(50% - 4px); top: auto; bottom: -17px; transform: rotate(135deg) }
  .ec-cards { grid-template-columns: 1fr; max-width: 520px }
}
@media (prefers-reduced-motion: reduce) { .ec-loop li, .ec-loop .ec-break, .ec-lock .shackle, .ec-cards article { animation: none !important } }

/* v5: discipline becomes habit */
.ec-habit { max-width: 1180px; margin: 22px auto 0; padding: 34px; border-radius: 24px; background: linear-gradient(135deg, var(--teal), #124750); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px 40px; align-items: center; position: relative; overflow: hidden }
.ec-habit::before { content: ''; position: absolute; inset: -40% -10% auto auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(1, 218, 139, .22), transparent 70%); animation: orb-drift 9s ease-in-out infinite alternate; pointer-events: none }
.ec-habit-copy { position: relative; display: flex; flex-direction: column; gap: 10px }
.ec-habit .eyebrow { color: var(--green) }
.ec-habit h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.02em }
.ec-habit-copy > p:last-child { font-size: 15px; line-height: 1.65; color: #b7cdcc }
.ec-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px }
.ec-steps::before, .ec-steps::after { content: ''; position: absolute; left: 8px; right: calc(25% - 6px); top: 7px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .15) }
.ec-steps::after { background: var(--green); transform-origin: left; animation: habit-fill 2.4s ease-out .4s both }
.ec-steps li { position: relative; z-index: 1; padding-top: 28px; display: flex; flex-direction: column; gap: 4px; animation: ec-in .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * .5s + .4s) }
.ec-steps li::before { content: ''; position: absolute; left: 0; top: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--teal); border: 3px solid var(--green); box-shadow: 0 0 0 4px rgba(1, 218, 139, .18) }
.ec-steps li:last-child::before { background: var(--green) }
.ec-steps b { font-size: 16px; color: var(--green) }
.ec-steps span { font-size: 14px; line-height: 1.5; color: #e8f1f2 }
.ec-fine { grid-column: 1 / -1; position: relative; font-size: 12.5px; color: #8fb0ae; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 14px }
@keyframes habit-fill { from { transform: scaleX(0) } }
@keyframes orb-drift { to { transform: translate(-60px, 40px) } }
@media (max-width: 980px) { .ec-habit { grid-template-columns: 1fr; padding: 26px } }
@media (max-width: 560px) {
  .ec-steps { grid-template-columns: 1fr; gap: 16px; padding-left: 4px }
  .ec-steps::before, .ec-steps::after { left: 11px; right: auto; top: 8px; bottom: 30px; width: 3px; height: auto }
  .ec-steps::after { transform-origin: top; animation-name: habit-fill-v }
  .ec-steps li { padding: 0 0 0 32px } .ec-steps li::before { left: 3px }
}
@keyframes habit-fill-v { from { transform: scaleY(0) } }
@media (prefers-reduced-motion: reduce) { .ec-habit::before, .ec-steps::after, .ec-steps li { animation: none !important } }

/* v6: outer ring of psychology topics — stepped "clockwork" hops into a spotlight at 12 o'clock (login page spins continuously instead) */
.hub { margin: 128px auto 118px }
.stage { top: 168px }
.hub::after { inset: -112px; border-color: rgba(12, 47, 53, .14) }
.orbit2 { list-style: none; margin: 0; padding: 0; position: absolute; inset: -112px; z-index: 2; animation: hop 24s cubic-bezier(.65, 0, .35, 1) infinite }
.orbit2 li { position: absolute; width: 0; height: 0; animation: hop-back 24s cubic-bezier(.65, 0, .35, 1) infinite }
.orbit2 li > span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 6px 13px 6px 6px; border-radius: 99px; background: #fff; border: 1px solid var(--line); white-space: nowrap; font-size: 13.5px; font-weight: 700; color: var(--ink); box-shadow: 0 14px 28px -16px rgba(8, 30, 34, .5); animation: pill-in .6s cubic-bezier(.2, .7, .2, 1) both }
.orbit2 li:nth-child(n) > span { animation-delay: calc(.3s + var(--d, 0s)) }
.orbit2 li:nth-child(2) > span { --d: .08s } .orbit2 li:nth-child(3) > span { --d: .16s } .orbit2 li:nth-child(4) > span { --d: .24s } .orbit2 li:nth-child(5) > span { --d: .32s } .orbit2 li:nth-child(6) > span { --d: .4s } .orbit2 li:nth-child(7) > span { --d: .48s } .orbit2 li:nth-child(8) > span { --d: .56s }
.orbit2 i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none }
.orbit2 svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round }
.hub-spot { position: absolute; left: 50%; top: -112px; width: 196px; height: 50px; margin: -25px 0 0 -98px; border-radius: 99px; background: radial-gradient(closest-side, rgba(1, 218, 139, .35), rgba(1, 218, 139, 0)); z-index: 1; animation: spot 3s ease-in-out infinite }
.hub-spot::after { content: ''; position: absolute; left: 50%; bottom: -14px; width: 0; height: 0; margin-left: -6px; border: 6px solid transparent; border-top-color: #01DA8B }
@keyframes hop { 0.00%, 8.50% { transform: rotate(0deg) } 12.50%, 21.00% { transform: rotate(-45deg) } 25.00%, 33.50% { transform: rotate(-90deg) } 37.50%, 46.00% { transform: rotate(-135deg) } 50.00%, 58.50% { transform: rotate(-180deg) } 62.50%, 71.00% { transform: rotate(-225deg) } 75.00%, 83.50% { transform: rotate(-270deg) } 87.50%, 96.00% { transform: rotate(-315deg) } 100% { transform: rotate(-360deg) } }
@keyframes hop-back { 0.00%, 8.50% { transform: rotate(0deg) } 12.50%, 21.00% { transform: rotate(45deg) } 25.00%, 33.50% { transform: rotate(90deg) } 37.50%, 46.00% { transform: rotate(135deg) } 50.00%, 58.50% { transform: rotate(180deg) } 62.50%, 71.00% { transform: rotate(225deg) } 75.00%, 83.50% { transform: rotate(270deg) } 87.50%, 96.00% { transform: rotate(315deg) } 100% { transform: rotate(360deg) } }
@keyframes pill-in { from { opacity: 0; scale: .5 } }
@keyframes spot { 0%, 100% { opacity: .55; scale: .92 } 50% { opacity: 1; scale: 1.04 } }
@media (max-width: 720px) {
  .hero.wrap { padding-inline: 6px }
  .hub { width: 130px; height: 130px; margin: 76px auto 70px } .hub::after { inset: -55px }
  .hub-tile { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 16px } .hub-tile svg { width: 30px }
  .orb { width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 10px } .orb span { width: 24px; height: 24px; font-size: 8.5px; border-radius: 7px }
  .orbit2 { inset: -55px }
  .orbit2 li > span { gap: 4px; padding: 3px 7px 3px 3px; font-size: 8.5px }
  .orbit2 i { width: 16px; height: 16px } .orbit2 svg { width: 10px; height: 10px }
  .hub-spot { top: -55px; width: 130px; height: 34px; margin: -17px 0 0 -65px }
}
@media (prefers-reduced-motion: reduce) { .orbit2, .orbit2 li, .orbit2 li > span, .hub-spot { animation: none } }
@media (max-width: 380px) { .orbit2 li > span { font-size: 8px; padding-right: 6px } }
@media (max-width: 720px) { .orb span { font-size: 8px !important; letter-spacing: -.02em } }

/* legal pages */
.legal { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 64px; justify-content: center; padding-top: 40px; padding-bottom: 96px }
.legal-toc { position: sticky; top: 24px; align-self: start; font-size: 14px }
.legal-toc p { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px }
.legal-toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--muted) }
.legal-toc a { color: var(--muted); text-decoration: none }
.legal-toc a:hover { color: var(--ink); opacity: 1 }
.legal-body { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 48px 56px; font-size: 16px; line-height: 1.7 }
.legal-body h1 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em }
.legal-date { margin-top: 10px; font-size: 14px; color: var(--muted) }
.legal-body .lede { margin-top: 24px; font-size: 18px; color: var(--muted) }
.legal-body h2 { margin-top: 40px; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; scroll-margin-top: 24px }
.legal-body p { margin-top: 12px }
.legal-body ul { margin: 12px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px }
.legal-body a { color: var(--green-text) }
.legal-body table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 14.5px; line-height: 1.5 }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line) }
.legal-body th { background: var(--card2); font-weight: 700 }
.legal-body .contact, .legal-body .note { padding: 16px 18px; background: var(--card2); border-radius: 12px }
.legal-body .ph { background: #fff3c4; color: inherit; padding: 0 4px; border-radius: 4px }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 700 }
@media (max-width: 980px) { .legal { grid-template-columns: 1fr; gap: 24px } .legal-toc { display: none } }
@media (max-width: 720px) { .legal { padding-top: 16px } .legal-body { padding: 28px 20px; border-radius: 16px } .legal-body thead { display: none } .legal-body tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line) } .legal-body td { display: block; padding: 2px 0; border: 0 } .legal-body td:first-child { font-weight: 700 } .legal-body td:last-child { color: var(--muted); font-size: 13.5px } }

/* desktop app download (v8) */
.dl-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 22px; animation: rise .8s .45s both }
.dl-btn { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 14px; border: 1px solid var(--line); background: #fff; border-radius: 12px; text-decoration: none; color: var(--ink); text-align: left; line-height: 1.15; transition: transform .2s, border-color .2s, box-shadow .2s }
.dl-btn svg { width: 26px; height: 26px; flex: none }
.dl-btn small { display: block; font-size: 12px; font-weight: 600; color: var(--muted) }
.dl-btn b { display: block; font-size: 16px; font-weight: 700 }
.dl-btn .dl-meta { font-size: 12px; font-weight: 600; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line) }
a.dl-btn:hover { opacity: 1; transform: translateY(-2px); border-color: var(--teal); box-shadow: 0 14px 28px -16px rgba(12, 47, 53, .5) }
.dl-btn.soon { cursor: default; background: var(--card2); color: var(--muted) }
.dl-btn.soon b { color: var(--muted) }
@media (prefers-reduced-motion: reduce) { .dl-row { animation: none } }
/* download page (v8) */
.dlp { padding-top: 40px; padding-bottom: 96px; max-width: 1180px }
.dlp-head { text-align: center; max-width: 760px; margin: 0 auto }
.dlp-head h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em }
.dlp-head .lede { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--muted) }
.dlp-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px }
.dlp-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px }
.dlp-card.soon { background: var(--card2) }
.dlp-ico svg { width: 44px; height: 44px }
.dlp-card.soon .dlp-ico { color: var(--muted) }
.dlp-card h2 { margin-top: 18px; font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap }
.dlp-card > p { margin-top: 10px; color: var(--muted); line-height: 1.55; flex: 1 }
.dlp-btn { margin-top: 22px; justify-content: center }
span.dlp-btn { cursor: default; color: var(--muted); background: transparent }
.dlp-card .dlp-meta { flex: none; margin-top: 12px; font-size: 13px; text-align: center }
.dlp-meta a, .dlp-sec a { color: var(--green-text) }
.dlp-card .tag, .dl-btn .tag { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--teal); color: #fff; border-radius: 999px; padding: 4px 9px }
.dlp-sec { margin-top: 56px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 36px 40px; scroll-margin-top: 24px }
.dlp-sec h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em }
.dlp-intro { margin-top: 10px; color: var(--muted) }
.dlp-steps { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 18px }
.dlp-steps li { counter-increment: s; position: relative; padding-left: 46px; line-height: 1.6 }
.dlp-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center }
.dlp-steps code, .dlp-sha code { background: var(--card2); padding: 2px 6px; border-radius: 6px; font-size: 14px; word-break: break-all }
.dlp-steps.shots img { display: block; margin-top: 12px; max-width: 100%; max-height: 420px; border: 1px solid var(--line); border-radius: 12px }
.dlp-sha { margin-top: 20px; font-size: 13px; color: var(--muted) }
@media (max-width: 980px) { .dlp-grid { grid-template-columns: 1fr } }
@media (max-width: 720px) { .dlp-sec { padding: 26px 20px } .dlp-steps li { padding-left: 42px } }

/* four download cards (Windows, macOS, Android, MT5): 2 x 2 on mid screens, one row on wide screens with the page at full site width */
.dlp-card .dlp-btn { align-self: stretch; white-space: nowrap }
@media (min-width: 981px) and (max-width: 1279px) { .dlp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (min-width: 1280px) { .dlp.wrap { max-width: 1440px } .dlp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px } }
