/* V5: signed-in hero, clickable journey, control centre */
.dash-hero { min-height: 300px; margin-bottom: 22px; }
.dash-hero h1 { font-size: clamp(30px, 4.4vw, 50px); }
a.st { color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
a.st:hover { border-color: rgba(242, 181, 68, .6); transform: translateY(-2px); }
.ctl { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.ctl .panel h3 { display: flex; align-items: center; gap: 10px; }
.ctl .kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-items: center; margin: 12px 0; }
.ctl .kv > span:nth-child(odd) { color: var(--mist); font-size: 14px; }
.ping-out { margin-top: 12px; display: grid; gap: 8px; }
.ping-out .row { padding: 10px 12px; border-radius: 12px; background: rgba(5, 15, 39, .55); border: 1px solid var(--line); }
.founder-only { border-color: rgba(242, 181, 68, .45) !important; }
.founder-badge { font-size: 12px; padding: 3px 10px; border-radius: 999px; color: var(--brass); border: 1px solid rgba(242, 181, 68, .5); font-family: var(--f-body); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { a.st:hover { transform: none; } }

/* V6: landing page, juice comparison, legal pages */
.g4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.land-hero h1 { font-size: clamp(30px, 4.6vw, 54px); }
.land-hero h1 .gold { margin-top: 6px; }
.land-hero .trust { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--zellige); font-size: 15px; }

.juice-sec { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: stretch; margin-top: 46px; scroll-margin-top: 90px; }
.juice-copy h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 18px; line-height: 1.35; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.way { border-radius: var(--r-lg); padding: 18px 18px 8px; background: rgba(8, 22, 54, .7); border: 1px solid var(--line); }
.way h3 { font-size: 18px; margin: 0 0 10px; }
.way ul { list-style: none; padding: 0; margin: 0; }
.way li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; font-size: 14.5px; color: #C9D7F0; line-height: 1.6; }
.way li .ico { flex: none; margin-top: 4px; color: var(--zellige); }
.way li.no { color: var(--mist); }
.way li.no .ico { color: var(--henna); opacity: .8; }
.way.best { border-color: rgba(242, 181, 68, .65); background: linear-gradient(180deg, rgba(242, 181, 68, .1), rgba(8, 22, 54, .85)); }
.way.best h3 { color: var(--brass); }
.juice-card { border-radius: 24px; padding: 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: radial-gradient(circle at 50% 30%, rgba(242, 181, 68, .22), transparent 65%), linear-gradient(180deg, #10265a, #071636); border: 1px solid rgba(242, 181, 68, .5); }
.juice-card .juice { width: 150px; height: auto; margin-bottom: 6px; filter: drop-shadow(0 18px 24px rgba(245, 158, 59, .25)); }
.juice-card b { font-family: var(--f-display); font-size: 26px; color: var(--brass); }
.juice-card span { color: #C9D7F0; font-size: 14.5px; margin-bottom: 12px; }
.juice .wave { animation: juice-wave 3.2s ease-in-out infinite; }
@keyframes juice-wave { 50% { transform: translateX(-30px); } }
@media (max-width: 1000px) { .juice-sec { grid-template-columns: 1fr; } .juice-card { max-width: 420px; justify-self: center; width: 100%; } }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }

.life { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: life; }
.life li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-lg); background: rgba(8, 22, 54, .7); border: 1px solid var(--line); counter-increment: life; position: relative; }
.life li::before { content: counter(life, arabic-indic); position: absolute; inset-inline-end: 16px; top: 12px; font-family: var(--f-display); font-size: 28px; color: rgba(242, 181, 68, .28); }
[lang=en] .life li::before, [lang=fr] .life li::before { content: counter(life); }
.life .ico { flex: none; color: var(--cyan); width: 26px; height: 26px; margin-top: 2px; }
.life b { font-family: var(--f-display); font-size: 18px; display: block; }
.life p { margin: 4px 0 0; color: #B8C8E6; font-size: 14.5px; line-height: 1.65; }
@media (max-width: 980px) { .life { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .life { grid-template-columns: 1fr; } }

.fee-band { display: flex; gap: 18px; align-items: flex-start; margin-top: 42px; border-color: rgba(34, 201, 160, .45) !important; }
.fee-band > .ico { flex: none; color: var(--zellige); }
.fee-band h3 { margin: 0 0 6px; }
.fee-band p { margin: 0 0 12px; color: #C9D7F0; max-width: 72ch; }
.final-cta { text-align: center; margin-top: 42px; padding: 34px 22px; border-color: rgba(242, 181, 68, .45) !important; }
.final-cta h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 32px); }
.final-cta p { color: #C9D7F0; margin: 0 auto 18px; max-width: 56ch; }

.legal { max-width: 820px; }
.legal section + section { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(56, 200, 255, .12); }
.legal h3 { margin: 0 0 8px; font-size: 19px; }
.legal p { color: #C9D7F0; margin: 0 0 8px; max-width: 72ch; }
.legal .upd { margin-top: 22px; font-size: 14px; }
.consent a { color: var(--cyan); }
@media (prefers-reduced-motion: reduce) { .juice .wave { animation: none; } }

/* V7: markets */
.land-hero .trust { flex-wrap: wrap; }
.land-hero .trust .langs { white-space: nowrap; margin-inline-start: 10px; padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(56, 200, 255, .35); color: #C9D7F0; font-size: 13px; }
.mk-lede { max-width: 72ch; margin: -6px 0 16px; }
.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mk { padding: 20px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(56, 200, 255, .08), rgba(8, 22, 54, .8)); border: 1px solid rgba(56, 200, 255, .22); }
.mk-n { font-size: 26px; display: block; margin-bottom: 6px; }
.mk b { font-family: var(--f-display); font-size: 20px; display: block; color: var(--brass); }
.mk p { margin: 6px 0 0; color: #C9D7F0; font-size: 14.5px; line-height: 1.65; }
@media (max-width: 860px) { .markets { grid-template-columns: 1fr; } }

/* V8: user guide + help assistant */
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.guide { display: grid; grid-template-columns: 250px 1fr; gap: 18px; align-items: start; }
.guide-toc { position: sticky; top: 86px; display: grid; gap: 2px; padding: 16px; }
.guide-toc b { font-family: var(--f-display); margin-bottom: 6px; }
.guide-toc a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; color: #C9D7F0; text-decoration: none; font-size: 14.5px; }
.guide-toc a:hover { background: rgba(56, 200, 255, .1); color: var(--parchment); }
.guide-toc .ico { color: var(--cyan); flex: none; }
.guide-body { display: grid; gap: 14px; min-width: 0; }
.g-sec { scroll-margin-top: 86px; }
.g-sec h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 22px; }
.g-sec h2 .ico { color: var(--brass); }
.g-sec ol { margin: 0 0 14px; padding-inline-start: 22px; color: #C9D7F0; display: grid; gap: 8px; max-width: 72ch; }
.g-sec ol li::marker { color: var(--brass); font-weight: 700; }
.faq { border-top: 1px solid rgba(56, 200, 255, .14); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style-position: inside; }
.faq p { color: #C9D7F0; margin: 8px 0 0; max-width: 72ch; }
.g-help { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; border-color: rgba(242, 181, 68, .45) !important; }
.g-help > .ico { color: var(--brass); flex: none; }
.g-help > div { flex: 1; min-width: 200px; }
.g-help p { margin: 4px 0 0; color: #C9D7F0; }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; } .guide-toc { position: static; grid-template-columns: 1fr 1fr; } .guide-toc b { grid-column: 1 / -1; } }

.assist-fab { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
  border-radius: 999px; border: 1px solid rgba(242, 181, 68, .7); background: linear-gradient(180deg, #FFD47A, var(--brass)); color: #1A1204;
  font: 700 15px var(--f-body); cursor: pointer; box-shadow: 0 14px 30px -10px rgba(242, 181, 68, .55); }
.assist-fab:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
body.assist-open .assist-fab { display: none; }
.assist-panel { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 61; width: min(390px, calc(100vw - 32px)); height: min(560px, calc(100vh - 110px));
  display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #0E2454, #071636);
  border: 1px solid rgba(56, 200, 255, .3); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.assist-panel[hidden] { display: none; }
.assist-panel header { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; border-bottom: 1px solid rgba(56, 200, 255, .18); }
.assist-panel header > div { flex: 1; min-width: 0; }
.assist-panel header b { display: block; font-family: var(--f-display); font-size: 17px; }
.assist-panel header small { color: var(--mist); font-size: 12.5px; }
.assist-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--zellige); box-shadow: 0 0 10px var(--zellige); flex: none; }
.assist-guide, .assist-x { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #C9D7F0; background: transparent; border: 1px solid transparent; cursor: pointer; }
.assist-guide:hover, .assist-x:hover { border-color: rgba(56, 200, 255, .35); color: var(--parchment); }
.assist-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.am { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.65; overflow-wrap: anywhere; }
.am p { margin: 0 0 6px; } .am p:last-child { margin: 0; } .am ul { margin: 4px 0; padding-inline-start: 18px; } .am h3 { font-size: 15px; margin: 4px 0; }
.am a { color: var(--cyan); }
.am.bot { align-self: flex-start; background: rgba(56, 200, 255, .1); border: 1px solid rgba(56, 200, 255, .2); border-start-start-radius: 4px; }
.am.me { align-self: flex-end; background: rgba(242, 181, 68, .16); border: 1px solid rgba(242, 181, 68, .35); border-start-end-radius: 4px; }
.typing { display: flex; gap: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.asug { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.asug button { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(242, 181, 68, .45); background: transparent; color: var(--parchment); font: 500 13.5px var(--f-body); cursor: pointer; }
.asug button:hover { background: rgba(242, 181, 68, .14); }
.assist-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(56, 200, 255, .18); }
.assist-form input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--night); color: var(--parchment); font: 15px var(--f-body); }
.assist-form button { width: 44px; border-radius: 12px; border: 0; background: var(--brass); color: #1A1204; display: grid; place-items: center; cursor: pointer; }
[dir=rtl] .assist-form button .ico { transform: scaleX(-1); }
@media (max-width: 560px) { .assist-fab span { display: none; } .assist-fab { padding: 14px; } .assist-panel { inset-inline-end: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 90px); } }
@media print { .assist-fab, .assist-panel { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .typing i { animation: none; opacity: .6; } }
