@font-face{font-family:"DM Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/dm-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/dm-sans-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/dm-sans-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Unbounded";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/unbounded-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Unbounded";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/unbounded-latin-700-normal.woff2) format("woff2")}
body{margin:0}
img{max-width:100%}
/* thème clair par défaut, thème sombre selon le système ou le bouton */
:root{
  --bg:#f3f1df; --surface:#faf8ec; --surface-2:#e8e5cc; --line:#cfcbae;
  --text:#131313; --muted:#57543f; --accent:#f2cc2c; --accent-text:#6b5400; --on-accent:#131313;
  --danger:#b3261e; --ok:#1d6b2f; --ring:#131313; --ring-soft:rgba(19,19,19,.18);
  --placeholder:#6e6b57; --launch-bg:rgba(242,204,44,.3);
  --display:"Unbounded","Arial Black","Helvetica Neue",Arial,sans-serif;
  --body:"DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#131313; --surface:#1c1c1a; --surface-2:#252522; --line:#38372f;
    --text:#f3f1df; --muted:#bdbaa6; --accent-text:#f2cc2c;
    --danger:#ff9a8a; --ok:#9ad49a; --ring:#f2cc2c; --ring-soft:rgba(242,204,44,.28);
    --placeholder:#8d8a78; --launch-bg:rgba(242,204,44,.12);
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#131313; --surface:#1c1c1a; --surface-2:#252522; --line:#38372f;
  --text:#f3f1df; --muted:#bdbaa6; --accent-text:#f2cc2c;
  --danger:#ff9a8a; --ok:#9ad49a; --ring:#f2cc2c; --ring-soft:rgba(242,204,44,.28);
  --placeholder:#8d8a78; --launch-bg:rgba(242,204,44,.12);
  color-scheme:dark;
}
/* éléments propres à un thème (logos, icône du bouton) */
.on-dark{display:none!important}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .on-dark{display:block!important}
  :root:not([data-theme="light"]) .on-light{display:none!important}
}
:root[data-theme="dark"] .on-dark{display:block!important}
:root[data-theme="dark"] .on-light{display:none!important}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:var(--body);font-size:17px;line-height:1.55;-webkit-text-size-adjust:100%}
*{box-sizing:border-box}
.wrap{max-width:1040px;margin:0 auto;padding:0 16px}
a{color:var(--accent-text)}
:focus-visible{outline:3px solid var(--ring);outline-offset:3px;border-radius:6px}

/* top bar */
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text)}
.brand img{height:30px;width:auto;display:block}
.brand img.lt{height:28px}
@media(min-width:620px){.brand img.lt{height:34px}}
.brand b{font-family:var(--display);font-weight:700;font-size:1.05rem;letter-spacing:.01em}
.brand small{display:none;color:var(--muted);font-size:.8rem}
@media(min-width:620px){.brand small{display:inline}}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 22px;border-radius:999px;border:2px solid var(--accent);background:var(--accent);color:var(--on-accent);font:700 1rem/1.2 var(--body);text-decoration:none;cursor:pointer}
.btn:hover{filter:brightness(1.08)}
.btn.ghost{background:transparent;color:var(--text);border-color:var(--line)}
.btn.ghost:hover{border-color:var(--ring);color:var(--text);filter:none}
.btn.sm{min-height:40px;padding:8px 16px;font-size:.92rem}

/* bouton de thème */
.top-actions{display:flex;align-items:center;gap:8px}
.tt{flex:none;display:inline-grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;border:1.5px solid var(--line);background:transparent;color:var(--text);cursor:pointer}
.tt:hover{border-color:var(--ring)}
.tt svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:480px){.top .btn.sm{padding:8px 12px;font-size:.88rem}}
@media(max-width:359px){.top .btn.sm{display:none}}

/* hero */
.hero{padding:28px 0 56px;position:relative}
.eyebrow{display:inline-block;padding:5px 12px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:.85rem;margin-bottom:18px}
.eyebrow i{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--accent);margin-right:8px;vertical-align:1px}
h1,h2,h3{font-family:var(--display);font-weight:700;line-height:1.15;margin:0;letter-spacing:-.01em;overflow-wrap:anywhere}
h1{font-size:clamp(1.5rem,6vw,3.1rem);max-width:17em}
h1 em{font-style:normal;color:var(--accent-text)}
.lead{font-size:clamp(1.02rem,2.6vw,1.2rem);color:var(--muted);max-width:36em;margin:20px 0 28px}
.cta{display:flex;flex-wrap:wrap;gap:12px}

/* sections */
section{padding:44px 0;border-top:1px solid var(--line)}
h2{font-size:clamp(1.3rem,4.4vw,1.9rem);margin-bottom:10px}
.sub{color:var(--muted);max-width:40em;margin:0 0 26px}
.grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:22px}
.card h3{font-size:1.02rem;margin:10px 0 8px}
.card p{margin:0;color:var(--muted);font-size:.97rem}
.num{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent);color:var(--on-accent);font:700 .95rem var(--display)}
.tag{display:inline-block;margin-top:14px;padding:3px 10px;border-radius:999px;background:var(--surface-2);color:var(--muted);font-size:.78rem}
.free{margin-top:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.free .card{background:transparent;border-style:dashed}
.free .card h3{font-size:.95rem}

/* DMX demo */
.demo{margin-top:22px;background:var(--surface);border:1px solid var(--accent);border-radius:20px;padding:22px}
.demo h3{font-size:1.02rem}
.demo .hint{color:var(--muted);font-size:.92rem;margin:6px 0 18px}
.row{display:flex;flex-wrap:wrap;gap:16px}
.field{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1 1 150px}
label,.lab{font-size:.88rem;font-weight:700;color:var(--text)}
input,select,textarea{width:100%;min-height:48px;padding:10px 14px;border-radius:12px;border:1.5px solid var(--line);background:var(--bg);color:var(--text);font:400 16px/1.3 var(--body)}
input::placeholder{color:var(--placeholder)}
input:focus,select:focus,textarea:focus{border-color:var(--ring);outline:none;box-shadow:0 0 0 3px var(--ring-soft)}
.dips{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:5px;max-width:400px;margin:20px 0 8px}
.dip{display:flex;flex-direction:column;align-items:center;gap:6px}
.dip button{width:100%;max-width:40px;height:62px;border-radius:8px;border:1.5px solid var(--line);background:var(--bg);padding:4px;cursor:pointer;position:relative}
.dip button::after{content:"";position:absolute;left:4px;right:4px;height:24px;border-radius:5px;background:var(--muted);top:auto;bottom:4px;transition:all .12s}
.dip button[aria-pressed="true"]{border-color:var(--accent)}
.dip button[aria-pressed="true"]::after{background:var(--accent);bottom:auto;top:4px}
.dip span{font-size:.72rem;color:var(--muted)}
.state{font-size:.78rem;color:var(--muted);margin:0}
.out{margin:14px 0 0;padding:12px 14px;border-radius:12px;background:var(--bg);border:1px solid var(--line);font-size:.97rem}
.out strong{color:var(--accent-text)}
.out.err{border-color:var(--danger);color:var(--danger)}
.fine{color:var(--muted);font-size:.82rem;margin:10px 0 0}

/* prices */
.price{display:flex;flex-direction:column}
.price.pro{border-color:var(--accent)}
.price h3{font-size:1rem}
.amount{font-family:var(--display);font-weight:700;font-size:2.1rem;line-height:1.1;margin:10px 0 2px}
.amount small{font:500 .85rem var(--body);color:var(--muted)}
.launch{margin:8px 0 2px;padding:8px 12px;border-radius:12px;background:var(--launch-bg);color:var(--accent-text);font-size:.9rem;font-weight:700}
.alt{color:var(--muted);font-size:.92rem;margin:6px 0 0}
.price ul{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:9px;font-size:.95rem}
.price li{padding-left:24px;position:relative}
.price li::before{content:"";position:absolute;left:0;top:.5em;width:12px;height:7px;border-left:2.5px solid var(--accent-text);border-bottom:2.5px solid var(--accent-text);transform:rotate(-45deg) translateY(-3px)}

/* waiting list */
.signup{background:var(--surface);border:1px solid var(--accent);border-radius:22px;padding:24px}
.signup .row{margin-top:6px}
.signup .field{flex:1 1 220px}
.optional{font-weight:400;color:var(--muted)}
.msg{min-height:1.4em;margin:12px 0 0;font-size:.92rem;color:var(--danger)}
.done{margin-top:6px}
.done h3{font-size:1.1rem;margin-bottom:8px}
.done ol{margin:10px 0 16px;padding-left:20px;color:var(--muted)}
.done textarea{min-height:170px;font-size:.9rem;resize:vertical}
.copyok{color:var(--ok);font-size:.9rem;margin-left:6px}
[hidden]{display:none!important}

details{border-bottom:1px solid var(--line);padding:14px 0}
summary{cursor:pointer;font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:14px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";color:var(--accent-text);font-size:1.3rem;line-height:1}
details[open] summary::after{content:"–"}
details p{color:var(--muted);margin:10px 0 0;max-width:42em}

footer{border-top:1px solid var(--line);padding:36px 0 48px;color:var(--muted);font-size:.86rem}
footer .logo{height:70px;width:auto;display:block;margin-bottom:18px}
footer p{margin:0 0 8px;max-width:46em}

/* anti-spam : champ invisible pour les humains */
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
/* pied de page */
footer .legal a{color:var(--muted)}
/* pages légales */
.prose{max-width:46em;padding:8px 0 56px}
.prose h1{font-size:clamp(1.4rem,5vw,2.1rem);margin:8px 0 18px;max-width:none}
.prose h2{font-size:1.05rem;margin:30px 0 10px}
.prose p,.prose li{color:var(--muted)}
.prose strong{color:var(--text)}
.prose ul{padding-left:22px}
.prose .todo{background:var(--launch-bg);color:var(--text);padding:0 4px;border-radius:4px}
