/* ==========================================================================
   MoneyMaker — design system web
   Langage repris de la waitlist V2 (usev2.xyz, styles.css « Waitlist landing ») :
   noir pur + grain, cartes à halo supérieur, liserés coniques tournants,
   titres en dégradé, bouton blanc lumineux. Un seul accent : #00F19F.
   ========================================================================== */

:root {
  --bg: #000; --panel: #0a0b0d; --panel2: rgba(255, 255, 255, 0.06); --line: rgba(255, 255, 255, 0.09);
  --line2: rgba(255, 255, 255, 0.16); --text: #fff; --muted: #8d8d8d; --faint: #555;
  --accent: #00F19F; --accent2: #2E8BFF; --warn: #FFA23C; --bad: #ff5e6c; --radius: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --card-bg:
    radial-gradient(ellipse 90% 62% at 50% 0%, rgba(72, 78, 88, 0.20) 0%, rgba(28, 30, 36, 0.10) 46%, transparent 72%),
    radial-gradient(circle at 50% 0%, #121417 0%, #08090b 68%, #050506 100%);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0; min-height: 100vh; background: #000; color: var(--text);
  font: 14px/1.5 "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  letter-spacing: -0.006em;
}
/* Fond : puits gris très doux + grain, fixes derrière tout le site. */
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; }
body::before { background: radial-gradient(ellipse 58% 42% at 50% 30%, rgba(88, 96, 108, 0.16), transparent 68%), #000; }
body::after {
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}
body > * { position: relative; z-index: 1; }
::selection { background: rgba(0, 241, 159, 0.3); }

.hidden { display: none !important; }
h1 {
  font-size: 34px; font-weight: 600; letter-spacing: -0.045em; line-height: 1.08; margin: 0 0 6px;
  background: linear-gradient(90deg, #fff 0%, #f2f2f2 38%, #8a8a8a 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.03em; margin: 0 0 14px; }
h3 { font-size: 10.5px; margin: 0 0 8px; color: #6a6a6a; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; }
.muted { color: var(--muted); }
.error { color: var(--bad); min-height: 1em; }
a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); text-underline-offset: 3px; transition: text-decoration-color .2s; }
a:hover { text-decoration-color: var(--accent); }
b, strong { font-weight: 600; }
code, pre, .mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; }
code { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
pre { background: #050506; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; overflow: auto; white-space: pre-wrap; word-break: break-all; margin: 0; color: #d6d6d6; }
pre code { background: none; border: 0; padding: 0; }

/* ── Champs ─────────────────────────────────────────────────────────── */
input, textarea, select {
  width: 100%; background: #080a0f; color: var(--text); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 16px; font: inherit; font-size: 14.5px; transition: border-color .2s, box-shadow .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: #6b6b6b; }
textarea { min-height: 120px; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--line2); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04); background: #0b0d12; }
input:-webkit-autofill { -webkit-text-fill-color: #fff; transition: background-color 9999s ease-out; }

/* ── Boutons ────────────────────────────────────────────────────────── */
button, .btnlink {
  font: inherit; font-weight: 500; cursor: pointer; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04); color: var(--text); padding: 9px 16px; letter-spacing: -0.01em;
  transition: background .2s, border-color .2s, transform .2s var(--ease), box-shadow .25s, opacity .2s;
}
button:hover, .btnlink:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--line2); }
button:active { transform: scale(0.98); }
button:disabled { opacity: .5; cursor: default; transform: none; }
button.primary, .btnlink.primary {
  background: #fff; color: #0a0a0a; border-color: #fff; font-weight: 600;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 16px rgba(255, 255, 255, 0.28), 0 0 36px rgba(255, 255, 255, 0.10);
}
button.primary:hover, .btnlink.primary:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 26px rgba(255, 255, 255, 0.5), 0 0 52px rgba(255, 255, 255, 0.2); }
button.ghost { background: transparent; border-color: transparent; color: var(--muted); }
button.ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
button.small { padding: 6px 13px; font-size: 13px; }
button.wide { width: 100%; }
button.danger { color: var(--bad); }
button.danger:hover { border-color: rgba(255, 94, 108, 0.4); background: rgba(255, 94, 108, 0.08); }
.btnlink { display: inline-block; text-align: center; text-decoration: none; }

/* ── Mise en page ───────────────────────────────────────────────────── */
.center { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.stack { display: grid; gap: 10px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row > * { flex: 1; }
.row > .pill { flex: 0 0 auto; }
.section { margin-bottom: 14px; }
.spacer { flex: 1; }

/* Carte : le « wl-card » — halo supérieur, liseré fin, reflet en haut. */
.card, .kpi, dialog {
  position: relative; background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 24px 60px rgba(0, 0, 0, 0.45);
}
.card { padding: 22px; animation: mmFadeUp .7s var(--ease) both; }
.card::after, .kpi::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, transparent 34%);
}
.card > *, .kpi > * { position: relative; z-index: 1; }

/* ── Connexion (waitlist V2) ────────────────────────────────────────── */
.wl-screen { min-height: 100svh; display: flex; flex-direction: column; }
.wl-hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 72px 20px 28px; position: relative; }
.wl-badge-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; animation: mmFadeUp .9s var(--ease) both; }
.wl-badge-glow { position: absolute; width: 160px; height: 72px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 241, 159, 0.16) 0%, transparent 70%); filter: blur(10px); pointer-events: none; }
.wl-badge { position: relative; z-index: 1; isolation: isolate; overflow: hidden; display: inline-flex; border-radius: 999px; padding: 1.5px; background: rgba(0, 241, 159, 0.22); }
.wl-badge-spin, .spin {
  position: absolute; top: 50%; left: 50%; width: 280%; aspect-ratio: 1; pointer-events: none; z-index: 0;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 230deg, rgba(0, 241, 159, 0.2) 275deg, #00F19F 318deg, rgba(180, 255, 230, 0.95) 342deg, transparent 360deg);
  animation: mmSpin 2.8s linear infinite;
}
.wl-badge-label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 14px; border-radius: 999px; background: #080808; font-size: 13px; font-weight: 500; white-space: nowrap; }
.wl-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: mmPulse 2s ease-in-out infinite; }
.wl-title { font-size: clamp(48px, 9vw, 84px); font-weight: 600; letter-spacing: -0.05em; line-height: 1.02; margin: 0 0 16px; animation: mmFadeUp 1s var(--ease) .08s both; }
.wl-sub { font-size: 16px; color: var(--muted); max-width: 440px; margin: 0 auto 36px; animation: mmFadeUp 1s var(--ease) .14s both; }

.wl-card-shell { position: relative; width: min(460px, calc(100% - 8px)); padding: 2px; border-radius: 42px; isolation: isolate; overflow: hidden; background: rgba(255, 255, 255, 0.1); animation: mmFadeUp 1.05s var(--ease) .2s both; transition: background .45s, box-shadow .5s; }
.wl-card-shell .spin { width: 190%; opacity: 0; transition: opacity .5s; }
.wl-card-shell .spin.blur { background: conic-gradient(from 0deg, transparent 0deg, transparent 250deg, rgba(0, 241, 159, 0.55) 320deg, transparent 360deg); filter: blur(12px); }
.wl-card-shell:focus-within { background: rgba(0, 241, 159, 0.2); box-shadow: 0 0 56px rgba(0, 241, 159, 0.12); }
.wl-card-shell:focus-within .spin { opacity: 1; }
.wl-card { position: relative; z-index: 1; width: 100%; padding: 40px 28px 28px; border-radius: 40px; background: var(--card-bg); border: 1px solid rgba(255, 255, 255, 0.11); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 30px 80px rgba(0, 0, 0, 0.55); overflow: hidden; display: grid; gap: 12px; text-align: center; }
.wl-card-edge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 62%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), #fff, rgba(255, 255, 255, 0.25), transparent); background-size: 200% 100%; animation: mmShimmer 3.8s ease-in-out infinite; }
.wl-card-glow { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); width: 440px; height: 210px; background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.12), transparent 68%); pointer-events: none; }
.wl-card > :not(.wl-card-glow):not(.wl-card-edge) { position: relative; }

/* Champ à liseré conique tournant (wl-email-wrap). */
.wl-field { position: relative; isolation: isolate; overflow: hidden; border-radius: 999px; padding: 1.5px; background: rgba(255, 255, 255, 0.08); transition: background .2s; }
.wl-field .spin { width: 220%; opacity: 0; transition: opacity .3s; background: conic-gradient(from 0deg, transparent 0deg, transparent 250deg, rgba(160, 200, 255, 0.15) 280deg, #fff 318deg, rgba(170, 210, 255, 0.85) 338deg, transparent 360deg); }
.wl-field:focus-within { background: rgba(255, 255, 255, 0.16); }
.wl-field:focus-within .spin { opacity: 1; }
.wl-field input { position: relative; z-index: 1; height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: #080a0f; font-size: 15px; box-shadow: none; }
.wl-field.is-shake { animation: mmShake .42s ease; }

.wl-submit { position: relative; height: 52px; border-radius: 999px; font-size: 15px; animation: mmBtnGlow 3.6s ease-in-out infinite; }
.wl-google { height: 52px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; background: rgba(255, 255, 255, 0.04); }
.sep { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.wl-foot { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 16px 32px; font-size: 12px; color: var(--faint); animation: mmFade 1.1s ease .4s both; }
.wl-foot a { color: #777; text-decoration: none; } .wl-foot a:hover { color: #ddd; }
.wl-foot span { margin: 0 8px; color: #333; }

.logo { width: 52px; height: 52px; margin: 0 auto; border-radius: 16px; background: var(--accent); color: #000; display: grid; place-items: center; font-weight: 800; font-size: 26px; box-shadow: 0 8px 32px rgba(0, 241, 159, 0.4); }
.logo.sm { width: 26px; height: 26px; font-size: 14px; border-radius: 8px; margin: 0; display: inline-grid; box-shadow: 0 0 18px rgba(0, 241, 159, 0.35); }

/* ── Application ────────────────────────────────────────────────────── */
#app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
aside {
  padding: 20px 14px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100vh; overflow: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-right: 1px solid var(--line); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.brand { font-weight: 600; font-size: 16px; letter-spacing: -0.03em; display: flex; gap: 10px; align-items: center; padding: 4px 10px 20px; }
.label { color: #6a6a6a; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; padding: 18px 12px 8px; }
.nav { text-align: left; background: transparent; border-color: transparent; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); padding: 9px 12px; border-radius: 14px; position: relative; }
.nav:hover { color: #fff; background: rgba(255, 255, 255, 0.04); border-color: transparent; }
.nav.active { color: #fff; background: rgba(255, 255, 255, 0.07); border-color: var(--line); }
.nav.active::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
main { padding: 36px 40px 64px; max-width: 1240px; width: 100%; min-width: 0; }
main > * { animation: mmFadeUp .6s var(--ease) both; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }

/* Onglets & sélecteurs : pastilles dans une capsule. */
.tabs, .row.seg { display: flex; gap: 2px; padding: 3px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs { margin-bottom: 22px; flex-wrap: nowrap; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .row.seg > button { flex: 0 0 auto; white-space: nowrap; background: transparent; border-color: transparent; color: var(--muted); box-shadow: none; animation: none; }
.tabs button:hover, .row.seg > button:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.tabs button.active, .row.seg > button.primary { background: rgba(255, 255, 255, 0.13); color: #fff; border-color: transparent; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset; transform: none; }
.row.seg { flex-wrap: nowrap; }

/* KPI : chiffres fins et serrés en dégradé ; le héros a le liseré tournant. */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { padding: 20px 20px 18px; border-radius: 24px; overflow: hidden; animation: mmFadeUp .7s var(--ease) both; }
.kpis .kpi:nth-child(2) { animation-delay: .05s; } .kpis .kpi:nth-child(3) { animation-delay: .1s; } .kpis .kpi:nth-child(4) { animation-delay: .15s; } .kpis .kpi:nth-child(5) { animation-delay: .2s; } .kpis .kpi:nth-child(n+6) { animation-delay: .25s; }
.kpi .v {
  font-size: 30px; font-weight: 500; letter-spacing: -0.045em; margin-top: 6px; line-height: 1.1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 10%, #bdbdbd 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.kpi .s { color: var(--muted); font-size: 12px; margin-top: 4px; }
.kpi.hero { border-color: rgba(0, 241, 159, 0.22); box-shadow: 0 0 0 1px rgba(0, 241, 159, 0.06) inset, 0 0 56px rgba(0, 241, 159, 0.08), 0 24px 60px rgba(0, 0, 0, 0.45); }
.kpi.hero::before { content: ""; position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 300px; height: 160px; background: radial-gradient(ellipse at 50% 0%, rgba(0, 241, 159, 0.18), transparent 68%); pointer-events: none; }
.kpi.hero .v { background: linear-gradient(180deg, #fff 0%, #00F19F 140%); -webkit-background-clip: text; background-clip: text; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Graphiques : voir lineChart/barChart dans app.js (dégradé + halo). */
.chart { width: 100%; height: 220px; display: block; overflow: visible; }
.chart .hit { cursor: crosshair; }
.chart .hit:hover + .dot, .chart .dot.on { opacity: 1; }

/* Tableaux : lignes aérées, séparateurs à peine visibles. */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: #6a6a6a; font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; }
td { font-variant-numeric: tabular-nums; }
tr.click { cursor: pointer; } tr.click td { transition: background .2s; }
tr.click:hover td { background: rgba(255, 255, 255, 0.035); }
tr.click:hover td:first-child { border-radius: 14px 0 0 14px; } tr.click:hover td:last-child { border-radius: 0 14px 14px 0; }

.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.pill.ok { color: var(--accent); border-color: rgba(0, 241, 159, 0.25); background: rgba(0, 241, 159, 0.08); }
.pill.bad { color: var(--bad); border-color: rgba(255, 94, 108, 0.3); background: rgba(255, 94, 108, 0.08); }
.pill.warn { color: var(--warn); border-color: rgba(255, 162, 60, 0.3); background: rgba(255, 162, 60, 0.08); }
.up { color: var(--accent); font-size: 12px; font-weight: 600; } .down { color: var(--bad); font-size: 12px; font-weight: 600; }

.field { display: grid; gap: 7px; margin-bottom: 14px; } .field label { color: var(--muted); font-size: 12.5px; }
.copy { display: flex; gap: 8px; align-items: center; } .copy code { flex: 1; background: #050506; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; overflow: auto; white-space: nowrap; }

dialog { color: var(--text); padding: 28px; width: min(560px, calc(100% - 32px)); max-height: 90vh; overflow: auto; border-radius: 32px; }
dialog[open] { animation: mmPop .4s var(--ease); }
dialog::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 9; padding: 11px 18px; border-radius: 999px;
  background: rgba(20, 20, 22, 0.8); border: 1px solid var(--line2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); font-weight: 500; animation: mmToast .45s var(--ease) both;
}
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }

.steps { counter-reset: s; display: grid; gap: 12px; }
.steps > div { counter-increment: s; padding-left: 38px; position: relative; }
.steps > div::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 600; }

.mapwrap { width: 100%; } .map { width: 100%; height: auto; display: block; } .map path { transition: fill-opacity .2s; cursor: default; } .map path:hover { stroke: #fff; stroke-width: 1; }
.appicon { width: 64px; height: 64px; border-radius: 15px; flex: 0 0 64px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); } .appicon.sm { width: 40px; height: 40px; border-radius: 10px; flex-basis: 40px; } .appicon.xs { width: 20px; height: 20px; border-radius: 5px; vertical-align: middle; }
.notice { margin-top: 10px; padding: 12px 16px; border-radius: 18px; background: rgba(0, 241, 159, 0.06); border: 1px solid rgba(0, 241, 159, 0.2); }
.rtext { white-space: pre-wrap; margin: 8px 0; color: #c9c9c9; }
.bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); margin: 14px 0; overflow: hidden; }
.bar > div { height: 100%; background: linear-gradient(90deg, var(--accent2), var(--accent)); border-radius: 6px; box-shadow: 0 0 12px rgba(0, 241, 159, 0.5); transition: width .6s var(--ease); }
.step { margin-bottom: 8px; padding: 16px 18px; }
.step.next { border-color: rgba(0, 241, 159, 0.35); box-shadow: 0 0 40px rgba(0, 241, 159, 0.08), 0 24px 60px rgba(0, 0, 0, 0.45); }
.step.done { opacity: .6; }
.check { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; font-weight: 800; color: #04140f; margin-right: 10px; flex: 0 0 24px !important; }
.step.done .check { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px rgba(0, 241, 159, 0.45); }
.pick { border-radius: 16px; padding: 8px; transition: background .2s; }
.pick:hover, .pick.picked { background: rgba(255, 255, 255, 0.05); outline: 1px solid rgba(0, 241, 159, 0.5); }

/* ── Pages éditoriales (guide, docs) ────────────────────────────────── */
body.doc main { margin: 0 auto; max-width: 820px; padding-top: 48px; }
body.doc h1 { font-size: clamp(36px, 6vw, 52px); margin: 18px 0 12px; }
body.doc h2 { margin-top: 44px; font-size: 22px; padding-top: 8px; }
body.doc h3 { margin-top: 22px; text-transform: none; letter-spacing: -0.01em; font-size: 15px; color: #fff; }
body.doc p, body.doc li { color: #c4c4c4; line-height: 1.7; }
body.doc li { margin: 6px 0; }
body.doc pre { margin: 12px 0; }
body.doc blockquote { color: var(--muted); margin: 0; padding-left: 14px; border-left: 2px solid var(--line2); }
.tip { padding: 12px 18px; border-radius: 18px; margin: 14px 0; background: rgba(0, 241, 159, 0.05); border: 1px solid rgba(0, 241, 159, 0.18); }
.tip.warn { background: rgba(255, 162, 60, 0.05); border-color: rgba(255, 162, 60, 0.22); }
.toc { line-height: 2; } .toc a { display: inline-block; margin: 0 14px 0 0; text-decoration: none; color: var(--muted); } .toc a:hover { color: #fff; }
kbd { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 12px; }
.time { color: var(--muted); font-weight: 500; font-size: 13px; }
.crumbs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.crumbs a { padding: 5px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 13px; }
.crumbs a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

/* ── Animations (keyframes de la waitlist V2) ──────────────────────── */
@keyframes mmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mmFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes mmSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes mmShimmer { 0% { background-position: 100% 0; opacity: .55; } 50% { background-position: 0% 0; opacity: 1; } 100% { background-position: 100% 0; opacity: .55; } }
@keyframes mmPulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes mmBtnGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 16px rgba(255, 255, 255, 0.38), 0 0 36px rgba(255, 255, 255, 0.14); }
  50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 28px rgba(255, 255, 255, 0.68), 0 0 56px rgba(255, 255, 255, 0.24); }
}
@keyframes mmShake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
@keyframes mmPop { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes mmToast { from { opacity: 0; transform: translate(-50%, 16px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes mmDraw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 820px) {
  #app { grid-template-columns: 1fr; }
  aside { position: sticky; z-index: 5; height: auto; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; gap: 4px; background: rgba(0, 0, 0, 0.7); }
  aside #projectNav { display: flex; gap: 4px; }
  .brand, .label, .spacer { display: none; } .nav { width: auto; flex: 0 0 auto; } .nav.active::before { display: none; }
  main { padding: 22px 16px 48px; } .grid2 { grid-template-columns: 1fr; } .kpis { grid-template-columns: 1fr 1fr; } .kpi .v { font-size: 23px; }
  h1 { font-size: 28px; }
  table { display: block; overflow-x: auto; }
  .wl-hero { padding: 48px 12px 20px; }
  .wl-card-shell { border-radius: 34px; } .wl-card { padding: 30px 18px 22px; border-radius: 32px; }
}
@keyframes mmBarUp { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.chart g:hover > .dot { opacity: 1; }
.wl-card .error { margin: 0; min-height: 0; } .wl-card .error:empty { display: none; }
aside button.ghost { text-align: left; padding: 9px 12px; border-radius: 14px; width: 100%; }
@media (max-width: 820px) {
  aside { scrollbar-width: none; align-items: center; }
  aside::-webkit-scrollbar { display: none; }
  aside button, aside .nav { flex: 0 0 auto; width: auto !important; white-space: nowrap; padding: 8px 14px; }
}
.wl-logo { line-height: 0; margin-bottom: 22px; -webkit-text-fill-color: initial; background: none; }
.wl-logo img { width: min(560px, 86vw); height: auto; filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.18)); }

/* ── Landing ────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
.lp-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; max-width: 1040px; width: 100%; margin: 0 auto; padding: 22px 20px; }
.lp-brand img { display: block; height: 22px; width: auto; }
.lp-nav nav { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.lp-nav a { color: var(--muted); text-decoration: none; transition: color .2s; } .lp-nav a:hover { color: #fff; }
.lp-nav .lp-pill { color: #fff; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line2); }
.lp-hero { flex: none; padding-top: 56px; }
.lp-title span { background: linear-gradient(180deg, #fff 0%, #7a7a7a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 64px; animation: mmFadeUp 1s var(--ease) .2s both; }
.lp-btn { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; color: #fff; border: 1px solid var(--line2); background: rgba(255, 255, 255, 0.03); transition: transform .2s var(--ease), background .2s; }
.lp-btn:hover { transform: translateY(-1px); background: rgba(255, 255, 255, 0.07); }
.lp-btn-primary { background: #fff; color: #000; border-color: #fff; box-shadow: 0 0 40px rgba(255, 255, 255, 0.18); }
.lp-btn-primary:hover { background: #fff; }
.lp-chat { width: min(520px, 100%); display: flex; flex-direction: column; gap: 12px; text-align: left; animation: mmFadeUp 1.1s var(--ease) .3s both; }
.lp-msg { padding: 14px 18px; border-radius: 22px; font-size: 15px; border: 1px solid var(--line); }
.lp-me { align-self: flex-end; background: rgba(255, 255, 255, 0.08); border-bottom-right-radius: 8px; }
.lp-ai { background: var(--card-bg); border-bottom-left-radius: 8px; display: flex; flex-direction: column; gap: 4px; }
.lp-ai p { margin: 6px 0 0; color: var(--muted); }
.lp-tool { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.lp-big { font-size: 34px; font-weight: 600; letter-spacing: -0.04em; }
.lp-up { color: var(--accent); font-size: 13px; }
.lp-note { margin: 12px 0 0; font-size: 11px; color: var(--faint); }
.lp-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 960px; width: calc(100% - 32px); margin: 96px auto 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.lp-grid > div { padding: 28px; background: #050506; }
.lp-grid b { font-size: 15px; font-weight: 600; }
.lp-grid p { margin: 6px 0 0; color: var(--muted); }
.lp-signin { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 112px 16px 72px; scroll-margin-top: 24px; }
.lp-signin h2 { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; margin: 0 0 24px; }
@media (max-width: 720px) {
  .lp-nav nav a:not(.lp-pill) { display: none; }
  .lp-grid { grid-template-columns: 1fr; margin-top: 72px; }
  .lp-hero { padding-top: 32px; }
}
