/* Page « Download the demo » : feuille autonome (la feuille du site change de nom à chaque publication, on ne s'y accroche pas).
   Mêmes couleurs, mêmes boutons et mêmes champs que le site. Affichée dans le cadre du site (bloc « Page intégrée »),
   c'est la page hôte qui défile ; ouverte seule, elle défile normalement. */
:root{--bg:#0a0b0d;--surface:#11141d;--surface-alt:#141722;--line:#232634;--text:#f5f5f5;--muted:#b8bdca;--gold:#f7c254;--coral:#e9714c;--red:#ca303c;--width:1320px;}
*,*::before,*::after{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{background:var(--bg);color:var(--text);font:1rem/1.6 Roboto,Arial,Helvetica,sans-serif;-webkit-text-size-adjust:100%;overflow-wrap:break-word;}
html.framed,html.framed body{overflow:hidden;background:var(--bg);}/* fond sombre dans le cadre du site : transparent est peint en blanc par le navigateur (comme le formulaire du concours) */
.wrap{width:min(var(--width),calc(100% - 4rem));margin-inline:auto;}
html.framed .wrap{width:100%;}
html.framed .standalone-only{display:none;}
.demo-page{padding:2.5rem 0 3.5rem;}
html.framed .demo-page{padding:0 0 1rem;}
h1,h2,h3,p{margin-top:0;}
.demo-page h1{margin-bottom:1rem;font-size:clamp(2rem,4vw,3.1rem);line-height:1.14;letter-spacing:-.025em;font-weight:800;}
/* Le nom comme sur le logo : Split en blanc, le 3 en rouge, le r en blanc. */
.demo-page h1 .brand-name{color:#fff;}
.demo-page h1 .three{color:#e01820;}
.demo-page .lead{color:var(--muted);font-size:1.15rem;max-width:49rem;margin:0 0 1rem;}
.demo-page h2{margin:2.5rem 0 1rem;font-size:1.65rem;line-height:1.25;font-weight:700;}
html.framed .demo-page h2:first-child{margin-top:0;}
.demo-page h3{font-size:1.22rem;line-height:1.35;font-weight:650;margin:0 0 .5rem;}
.demo-page p{margin-bottom:1rem;}
.demo-page a:not(.button){color:var(--gold);text-decoration:underline;text-underline-offset:.2em;}
.demo-list{padding-left:1.2rem;margin:0 0 1rem;}
.demo-list li{margin-bottom:.65rem;}
.demo-list li strong{color:var(--gold);}
.demo-note{margin:1.5rem 0 0;padding:1.1rem 1.3rem;border-left:3px solid var(--gold);background:var(--surface);border-radius:6px;}
.demo-note p{margin:0;}
/* Boutons, comme sur le site */
.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.7rem 1.65rem;border:1px solid transparent;border-radius:6px;font:inherit;font-weight:700;line-height:1.3;text-decoration:none;cursor:pointer;transition:background .15s ease,color .15s ease;}
.button-primary{color:#111;background:var(--gold);}
.button-primary:hover{background:#ffd579;}
.button.chosen{box-shadow:0 0 0 2px var(--bg),0 0 0 4px var(--gold);}
.button:disabled{opacity:.55;cursor:not-allowed;}
.button:disabled:hover{background:var(--gold);}
.actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.5rem;}
/* Les trois systèmes */
.download-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin:1.25rem 0 2rem;}
.download-card{padding:1.5rem;display:flex;flex-direction:column;align-items:stretch;background:#11141b;border:1px solid #282b35;border-radius:7px;box-shadow:0 6px 18px #00000026;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;}
.download-card:hover{transform:translateY(-3px);border-color:#b98848;box-shadow:0 9px 24px #00000040;}
.download-card p{color:var(--muted);margin:0 0 1.1rem;}
.download-card .button{margin-top:auto;width:100%;}
/* Le formulaire, comme celui du rapport de bug */
.demo-form{margin:1rem 0 0;padding:2rem;border:1px solid var(--line);border-radius:7px;background:var(--surface);}
.report-fields{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;}
.demo-form label{display:block;font-size:.95rem;font-weight:600;}
.demo-form input,.demo-form textarea{display:block;margin-top:.4rem;padding:.75rem;width:100%;min-width:0;font:inherit;color:var(--text);background:#0a0b0d;border:1px solid #464956;border-radius:4px;}
.demo-form input:focus,.demo-form textarea:focus{outline:2px solid var(--gold);outline-offset:1px;border-color:var(--gold);}
.demo-form textarea{resize:vertical;min-height:6rem;}
.demo-form > label{margin-top:1.2rem;}
.fine-print{color:var(--muted);font-size:.875rem;}
.demo-form .fine-print{font-weight:400;margin:1rem 0;font-size:.88rem;}
.report-honeypot{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden;}
[data-captcha]{margin-top:1rem;}
[data-demo-status]{margin:1rem 0 0;overflow-wrap:anywhere;min-height:1.6em;color:var(--gold);}
.demo-done{margin-top:2rem;padding:1.5rem 1.6rem;border:1px solid var(--gold);border-radius:7px;background:var(--surface);}
.demo-done h2{margin-top:0;}
.demo-done p:last-child{margin-bottom:0;}
.demo-help{margin-top:2.5rem;}
@media (max-width:800px){.demo-page{padding:1.5rem 0 2.5rem;}.wrap{width:calc(100% - 2.5rem);}.download-grid{grid-template-columns:1fr;}.report-fields{grid-template-columns:1fr;}.demo-form{padding:1.3rem;}}
@media (max-width:480px){.wrap{width:calc(100% - 2rem);}.button{padding-inline:1.3rem;}}
