:root {
  --bg: #000;
  --txt: #f5f5f7;
  --muted: #86868b;
  --line: rgba(255, 255, 255, 0.08);
  --surface: #111;
  --paper: #1c1c1e;
  --accent: #6ba3d9;
  --accent-hover: #8bb8e3;
  --nav: rgba(0, 0, 0, 0.72);
  --ok: #34c759;
  --warn: #ff9f0a;
  --bad: #ff453a;
  --font: Manrope, -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-hover-bg: rgba(255, 255, 255, 0.08);
  --shadow-lift: 0 28px 80px rgba(0, 0, 0, 0.35);
  --black: var(--txt);
  --border: var(--line);
  --border-strong: rgba(255, 255, 255, 0.16);
  --brand: var(--accent);
  --ink: var(--accent);
  --on-ink: #fff;
  --bg-muted: var(--paper);
  --btn-secondary-hover: var(--nav-hover-bg);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f2f2f7;
    --txt: #1d1d1f;
    --muted: #6e6e73;
    --line: rgba(0, 0, 0, 0.1);
    --surface: #fff;
    --paper: #e8e8ed;
    --accent: #3475ba;
    --accent-hover: #2b63a0;
    --nav: rgba(242, 242, 247, 0.82);
    --ok: #248a3d;
    --warn: #c93400;
    --bad: #d70015;
    --nav-hover-bg: rgba(10, 10, 10, 0.04);
    --shadow-lift: 0 28px 80px rgba(15, 23, 42, 0.12);
    --border-strong: rgba(0, 0, 0, 0.16);
  }
}
:root[data-theme="dark"] {
  --bg: #000; --txt: #f5f5f7; --muted: #86868b; --line: rgba(255,255,255,.08);
  --surface: #111; --paper: #1c1c1e; --accent: #6ba3d9; --accent-hover: #8bb8e3;
  --nav: rgba(0,0,0,.72); --ok: #34c759; --warn: #ff9f0a; --bad: #ff453a;
  --nav-hover-bg: rgba(255,255,255,.08);
  --shadow-lift: 0 28px 80px rgba(0,0,0,.35);
  --border-strong: rgba(255, 255, 255, 0.16);
}
:root[data-theme="light"] {
  --bg: #f2f2f7; --txt: #1d1d1f; --muted: #6e6e73; --line: rgba(0,0,0,.1);
  --surface: #fff; --paper: #e8e8ed; --accent: #3475ba; --accent-hover: #2b63a0;
  --nav: rgba(242,242,247,.82); --ok: #248a3d; --warn: #c93400; --bad: #d70015;
  --nav-hover-bg: rgba(10,10,10,.04);
  --shadow-lift: 0 28px 80px rgba(15,23,42,.12);
  --border-strong: rgba(0, 0, 0, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

.skip {
  position: absolute; left: 12px; top: 8px; z-index: 80;
  padding: 10px 14px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 700; text-decoration: none;
  transform: translateY(-140%);
}
.skip:focus { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow, .dash { filter: none; transform: none; }
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--txt);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.ws-ico { display: block; width: 15px; height: 15px; flex-shrink: 0; }

.bar {
  position: sticky; top: 0; z-index: 40; min-height: 52px;
  padding-top: env(safe-area-inset-top);
  display: flex; align-items: center;
  backdrop-filter: saturate(180%) blur(20px);
  background: var(--nav);
}
.bar-inner {
  width: 100%;
  padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.mark {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: -.02em; text-decoration: none;
}
.mark img { width: 22px; height: 22px; border-radius: 6px; }
.nav { display: none; align-items: center; gap: 22px; }
.nav a {
  font-size: 12px; font-weight: 500; text-decoration: none; color: var(--muted);
}
.nav a:hover { color: var(--txt); }
.links { display: flex; align-items: center; gap: 12px; }
.login-chip { font-size: 12px; font-weight: 600; text-decoration: none; color: var(--accent); }
.login-chip:hover { text-decoration: underline; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; border: 0;
  border-radius: 999px; background: transparent; color: var(--txt); cursor: pointer;
}
.theme-toggle:hover { background: var(--nav-hover-bg); }
.theme-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent);
}
.theme-ico { display: none; line-height: 0; }
html[data-theme="light"] .theme-ico-moon { display: inline-flex; }
html[data-theme="dark"] .theme-ico-sun,
html:not([data-theme="light"]) .theme-ico-sun { display: inline-flex; }
.theme-toggle .icon { width: 16px; height: 16px; }

.hero { position: relative; overflow: clip; }
.hero-glow {
  pointer-events: none; position: absolute; left: 50%; top: 4%;
  width: min(920px, 140vw); height: 520px; transform: translateX(-50%);
  background: radial-gradient(ellipse 70% 55% at 50% 40%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 72%);
}
.wrap { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }
.stage { position: relative; padding: 88px 0 28px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--accent); margin-bottom: 22px;
}
.eyebrow i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}
h1 {
  font-size: clamp(38px, 7.4vw, 68px); font-weight: 700; letter-spacing: -2.4px; line-height: 1.04;
}
h1 .grad {
  background: linear-gradient(135deg, var(--txt) 8%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sub {
  margin: 22px auto 0; max-width: 38em;
  font-size: 18px; font-weight: 500; line-height: 1.55; color: var(--muted);
}
.actions {
  margin-top: 34px; display: flex; justify-content: center; align-items: center;
  gap: 18px; flex-wrap: wrap;
}
.primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 0 22px; border-radius: 980px; border: 0;
  background: var(--accent); color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 600;
}
.primary:hover { background: var(--accent-hover); }
.ghost {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; color: var(--accent); text-decoration: none;
  font-size: 15px; font-weight: 600;
}
.ghost:hover { text-decoration: underline; }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); font-weight: 500; }

.stats {
  margin: 40px auto 0; max-width: 640px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.stats strong {
  display: block; font-size: clamp(20px, 3.6vw, 26px); font-weight: 700;
  letter-spacing: -.04em; color: var(--accent);
}
.stats span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }

.preview { width: min(720px, 100%); margin: 56px auto 0; }
.dash {
  border-radius: 22px; background: var(--surface); overflow: hidden; text-align: left;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lift);
  transform: perspective(1200px) rotateX(1.6deg);
}
.dash-bar {
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 16px;
  background: color-mix(in srgb, var(--paper) 70%, var(--surface));
  color: var(--muted); font-size: 12px; font-weight: 600;
}
.dash-bar i { width: 9px; height: 9px; border-radius: 50%; }
.dash-bar i:nth-child(1) { background: #ff5f57; }
.dash-bar i:nth-child(2) { background: #febc2e; }
.dash-bar i:nth-child(3) { background: #28c840; }
.dash-bar span { margin-left: 6px; }
.dash-body { padding: 20px 18px 18px; }
.dash-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px;
}
.dash-head p { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dash-head strong { display: block; margin-top: 4px; font-size: 22px; font-weight: 700; letter-spacing: -.04em; }
.pill {
  display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok);
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.kpi { padding: 12px 10px; border-radius: 14px; background: var(--paper); }
.kpi.accent { background: color-mix(in srgb, var(--accent) 14%, var(--paper)); }
.kpi.warn { background: color-mix(in srgb, var(--warn) 12%, var(--paper)); }
.kpi.ok { background: color-mix(in srgb, var(--ok) 12%, var(--paper)); }
.kpi em {
  display: block; font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 4px;
}
.kpi.accent em { color: var(--accent); }
.kpi.warn em { color: var(--warn); }
.kpi.ok em { color: var(--ok); }
.kpi b { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.moves { list-style: none; display: grid; gap: 8px; }
.move {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line);
}
.move-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.badge {
  width: 36px; height: 32px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent); font-size: 10px; font-weight: 800;
}
.move strong { display: block; font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.move small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.amt { font-size: 13px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.amt.ok { color: var(--ok); }
.amt.out { color: var(--warn); }

.proof {
  margin-top: 64px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
}
.proof p {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.proof-row {
  margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px;
  color: var(--muted); font-size: 15px; font-weight: 700;
}

.block { padding: 100px 0 0; }
.block h2 {
  font-size: clamp(30px, 4.8vw, 44px); font-weight: 700; letter-spacing: -1.4px; line-height: 1.1;
  text-align: center;
}
.kicker {
  display: block; text-align: center; margin-bottom: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.lead {
  margin: 14px auto 0; max-width: 36em; text-align: center;
  font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--muted);
}

.feat-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 12px; }
.feat {
  padding: 24px; border-radius: 22px; background: var(--surface);
  box-shadow: 0 0 0 1px var(--line); text-align: left;
}
.feat-ico {
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
}
.feat-ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.feat p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); font-weight: 500; }

.steps { margin-top: 44px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.step { text-align: center; padding: 8px 10px; }
.step-n {
  width: 48px; height: 48px; margin: 0 auto; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 18px; font-weight: 800;
}
.step h3 { margin-top: 16px; font-size: 18px; font-weight: 700; }
.step p { margin: 8px auto 0; max-width: 22em; font-size: 14px; line-height: 1.5; color: var(--muted); }

.who-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 12px; }
.who-card {
  padding: 24px; border-radius: 22px; background: var(--surface);
  box-shadow: 0 0 0 1px var(--line); text-align: left;
}
.who-card.is-hl {
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--accent) 55%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
.who-card h3 { font-size: 18px; font-weight: 700; }
.who-card p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }

.normes {
  margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 12px;
}
.norme {
  padding: 22px; border-radius: 20px; background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}
.norme strong { display: block; font-size: 15px; font-weight: 750; }
.norme span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.5; }

.faq {
  margin-top: 36px; border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line); background: var(--surface);
}
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; border: 0; background: transparent; color: inherit;
  font: inherit; font-size: 15px; font-weight: 650; text-align: left; cursor: pointer;
}
.faq-btn svg {
  width: 18px; height: 18px; flex-shrink: 0; stroke: var(--accent); fill: none;
  stroke-width: 2; transition: transform .2s ease;
}
.faq-item.open .faq-btn svg { transform: rotate(180deg); }
.faq-ans { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-ans p {
  padding: 0 20px 18px; font-size: 14px; line-height: 1.55; color: var(--muted); font-weight: 500;
}

.close {
  margin: 100px 0 0; padding: 64px 28px; border-radius: 28px; text-align: center;
  background: var(--accent); color: #fff;
}
.close h2 {
  font-size: clamp(28px, 4.5vw, 40px); font-weight: 700; letter-spacing: -1.2px; line-height: 1.12;
  color: #fff; text-align: center;
}
.close p {
  margin: 14px auto 26px; max-width: 30em;
  font-size: 17px; font-weight: 500; color: rgba(255,255,255,.82);
}
.close .actions { margin-top: 0; }
.close .primary { background: #fff; color: var(--accent); }
.close .primary:hover { background: #f2f7fc; }
.close .ghost { color: #fff; }

.foot {
  width: min(1040px, calc(100% - 40px)); margin: 0 auto;
  padding: 40px 0 max(36px, env(safe-area-inset-bottom));
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 12px;
}
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .stage { padding: 64px 0 16px; }
  h1 { letter-spacing: -1.6px; }
  .theme-toggle { width: 44px; height: 44px; }
  .kpis, .stats { grid-template-columns: 1fr 1fr; }
  .block { padding-top: 72px; }
  .close { margin-top: 72px; padding: 48px 20px; }
  .dash { transform: none; }
}
@media (min-width: 721px) {
  .nav { display: flex; }
  .stage { padding: 120px 0 36px; }
  .bar-inner { width: min(1040px, 88%); margin: 0 auto; padding: 0; }
  .feat-grid { grid-template-columns: 1fr 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr 1fr; }
  .normes { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
