/* download-thanks.css -- Blast-off thank-you overlay shown when a visitor
   starts an edition ISO download on the testing build. It appears alongside
   the download; it never blocks, delays, or replaces it.
   Tokens are the pill build's (pill-nav.css); every var() carries the same
   value as a fallback so the component holds on pages that load it alone. */
:root{
  --pill-green:#2ecc71; --pill-green-hi:#4be389;
  --pill-glass:rgba(16,24,19,.78); --pill-glass2:rgba(18,28,22,.96);
  --pill-line:rgba(46,204,113,.25); --pill-ink:#f2f5f2; --pill-muted:#9fb3a6;
}

.dl-thanks{
  position:fixed; inset:0; z-index:1500;
  display:flex; align-items:center; justify-content:center;
  padding:18px;
  background:rgba(5,10,7,.55);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  opacity:0; transition:opacity .25s ease;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
}
.dl-thanks[hidden]{ display:none; }
.dl-thanks.dl-thanks--show{ opacity:1; }

.dl-thanks-panel{
  position:relative; width:100%; max-width:450px;
  max-height:calc(100vh - 36px); overflow-y:auto;
  background:var(--pill-glass2); border:1px solid var(--pill-line); border-radius:20px;
  box-shadow:0 24px 60px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05);
  color:var(--pill-ink); text-align:center;
  padding:26px 28px 22px;
  transform:translateY(10px) scale(.98); transition:transform .25s ease;
}
.dl-thanks--show .dl-thanks-panel{ transform:none; }

.dl-thanks-close{
  position:absolute; top:8px; right:8px; width:36px; height:36px; border-radius:50%;
  background:none; border:0; color:var(--pill-muted); font-size:1.25rem; line-height:1;
  cursor:pointer;
}
.dl-thanks-close:hover{ color:#fff; background:rgba(46,204,113,.13); }
.dl-thanks-close:focus-visible{ outline:2px solid var(--pill-green-hi); outline-offset:2px; }

.dl-thanks-rocket-wrap{ line-height:0; }
.dl-thanks-rocket{ width:128px; height:auto; display:block; margin:0 auto; }
.dl-thanks-launch{ animation:dlThanksRise 1s ease-out both, dlThanksBob 3.2s ease-in-out 1.05s infinite alternate; }
@keyframes dlThanksRise{
  from{ transform:translateY(30px); opacity:.35; }
  to{ transform:translateY(0); opacity:1; }
}
@keyframes dlThanksBob{
  from{ transform:translateY(0); }
  to{ transform:translateY(-6px); }
}

.dl-thanks-panel h2{
  margin:12px 0 10px; font-size:1.45rem; line-height:1.25; color:var(--pill-ink); font-weight:700;
}
.dl-thanks-panel h2 b{ color:var(--pill-green); }
.dl-thanks-panel p{
  margin:0 0 10px; font-size:.95rem; line-height:1.55; color:#cfdccf;
}
.dl-thanks-sign{ color:var(--pill-muted); font-size:.88rem; margin-bottom:0; }

@media (max-width:480px){
  .dl-thanks{ padding:12px; }
  .dl-thanks-panel{ padding:22px 18px 18px; border-radius:16px; }
  .dl-thanks-rocket{ width:104px; }
  .dl-thanks-panel h2{ font-size:1.28rem; }
}

@media (prefers-reduced-motion: reduce){
  .dl-thanks, .dl-thanks-panel, .dl-thanks-launch{
    animation:none !important; transition:none !important;
  }
}
