/* Landing "Read more" slide-in detail panel (see js/ce-details.js). */
#ce-details{position:fixed;inset:0;z-index:100000;pointer-events:none;font-family:"Poppins",-apple-system,"Segoe UI",sans-serif}
#ce-details.ced-open{pointer-events:auto}
#ce-details .ced-backdrop{position:absolute;inset:0;background:rgba(8,5,20,.55);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
  opacity:0;transition:opacity .45s ease}
#ce-details.ced-open .ced-backdrop{opacity:1}
#ce-details .ced-panel{position:absolute;top:0;right:0;height:100%;width:min(620px,100%);color:#fff;
  background:radial-gradient(120% 60% at 100% 0%,rgba(155,77,255,.22),transparent 60%),radial-gradient(90% 50% at 0% 100%,rgba(212,92,242,.14),transparent 60%),#0d0a1c;
  box-shadow:-30px 0 80px rgba(0,0,0,.45);border-left:1px solid rgba(255,255,255,.08);
  transform:translateX(104%);transition:transform .6s cubic-bezier(.2,.8,.2,1)}
#ce-details.ced-open .ced-panel{transform:none}
#ce-details .ced-body{height:100%;overflow-y:auto;overscroll-behavior:contain;padding:64px 48px 56px}
#ce-details .ced-close{position:absolute;top:18px;right:18px;z-index:2;width:42px;height:42px;border-radius:50%;cursor:pointer;
  border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#fff;display:flex;align-items:center;justify-content:center;
  transition:background .25s,transform .25s}
#ce-details .ced-close:hover{background:rgba(255,255,255,.14);transform:rotate(90deg)}
#ce-details .ced-close:focus-visible{outline:2px solid #b28cff;outline-offset:2px}
#ce-details .ced-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}

#ce-details .ced-eyebrow{margin:0 0 14px;font-size:12px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;
  background:linear-gradient(90deg,#b28cff,#ec50e0);-webkit-background-clip:text;background-clip:text;color:transparent}
#ce-details .ced-title{margin:0;font-size:34px;line-height:1.12;font-weight:700;letter-spacing:-.01em}
#ce-details .ced-lead{margin:18px 0 30px;font:300 16px/1.65 "Roboto",-apple-system,sans-serif;color:rgba(255,255,255,.78)}

#ce-details .ced-frame{margin:0 0 22px;border-radius:14px;overflow:hidden;background:#17122b;border:1px solid rgba(255,255,255,.1);
  box-shadow:0 24px 50px -24px rgba(0,0,0,.7)}
#ce-details .ced-bar{display:flex;align-items:center;gap:6px;height:30px;padding:0 12px;background:rgba(255,255,255,.05);border-bottom:1px solid rgba(255,255,255,.06)}
#ce-details .ced-bar i{width:9px;height:9px;border-radius:50%;background:#ff5f57}
#ce-details .ced-bar i:nth-child(2){background:#febc2e}
#ce-details .ced-bar i:nth-child(3){background:#28c840}
#ce-details .ced-bar span{margin-left:10px;font-size:11px;letter-spacing:.08em;color:rgba(255,255,255,.4);text-transform:lowercase}
#ce-details .ced-shot{position:relative;aspect-ratio:16/10;background:#1b1530}
#ce-details .ced-shot img{display:block;width:100%;height:100%;object-fit:cover}
/* Screenshot not added yet: branded frame instead of a broken image. */
#ce-details .ced-shot.ced-missing{background:radial-gradient(60% 70% at 50% 45%,rgba(155,77,255,.35),transparent 70%),#17122b}
#ce-details .ced-shot.ced-missing::after{content:"";position:absolute;inset:0;margin:auto;width:64px;height:64px;opacity:.55;
  background:url(/brand/logo-mark-white.svg) center/contain no-repeat}

#ce-details .ced-steps{list-style:none;margin:0;padding:0;counter-reset:none}
#ce-details .ced-steps li{margin:0 0 30px}
#ce-details .ced-step-head{display:flex;align-items:center;gap:14px;margin-bottom:6px}
#ce-details .ced-n{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;
  font-size:13px;font-weight:700;background:linear-gradient(120deg,#5b3df5,#9b4dff 55%,#d45cf2)}
#ce-details .ced-steps h3{margin:0;font-size:20px;font-weight:600}
#ce-details .ced-steps p{margin:0 0 14px 52px;font:300 15px/1.6 "Roboto",sans-serif;color:rgba(255,255,255,.75)}

#ce-details .ced-points{list-style:none;margin:8px 0 26px;padding:0}
#ce-details .ced-points li{position:relative;padding:12px 0 12px 32px;border-top:1px solid rgba(255,255,255,.08);
  font:400 15px/1.55 "Roboto",sans-serif;color:rgba(255,255,255,.88)}
#ce-details .ced-points li:last-child{border-bottom:1px solid rgba(255,255,255,.08)}
#ce-details .ced-points li::before{content:"";position:absolute;left:4px;top:18px;width:12px;height:12px;border-radius:50%;
  background:linear-gradient(120deg,#9b4dff,#ec50e0);box-shadow:0 0 12px rgba(236,80,224,.6)}

#ce-details .ced-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 30px}
#ce-details .ced-chips span{padding:7px 14px;border-radius:999px;font-size:12.5px;letter-spacing:.02em;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.85)}

#ce-details .ced-cta{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:8px}
#ce-details .ced-btn{display:inline-flex;align-items:center;gap:10px;padding:14px 24px;border-radius:999px;color:#fff;font-weight:600;font-size:14.5px;
  background:linear-gradient(120deg,#5b3df5,#9b4dff 55%,#d45cf2);box-shadow:0 12px 30px -8px rgba(155,77,255,.7);transition:transform .3s,box-shadow .3s}
#ce-details .ced-btn:hover{transform:translateY(-2px);box-shadow:0 18px 40px -8px rgba(155,77,255,.9)}
#ce-details .ced-link{color:rgba(255,255,255,.8);font-size:14px;border-bottom:1px solid rgba(255,255,255,.3);padding-bottom:2px}
#ce-details .ced-link:hover{color:#fff;border-color:#fff}

@media (max-width:640px){
  #ce-details .ced-body{padding:60px 22px 40px}
  #ce-details .ced-title{font-size:27px}
  #ce-details .ced-steps p{margin-left:0}
}
@media (prefers-reduced-motion:reduce){
  #ce-details .ced-panel,#ce-details .ced-backdrop{transition:none}
}

/* ---- Landing hooks for the detail panel ---- */
/* Section 2: "How it works" summary beside the stats. */
#home .sec2 .text_box .text.ce-how{width:300px;font-size:15px;line-height:1.6;margin-bottom:26px}
#home .sec2 .text_box .text.ce-how b{display:block;font-size:22px;line-height:1.25;margin-bottom:10px}
#home .sec2 .text_box .text.ce-how ol{list-style:none;margin:0;padding:0}
#home .sec2 .text_box .text.ce-how li{display:flex;gap:10px;align-items:baseline;line-height:1.5;margin:4px 0}
#home .sec2 .text_box .text.ce-how li span{font-size:12px;font-weight:700;opacity:.6;min-width:20px}
/* "Why Cosmo Engine" feature boxes: small Read more link. */
#home .sec3 .award .award_block .box .memo{width:170px;white-space:normal;line-height:1.45}
#home .sec3 .award .award_block .box .ce-more{position:static;flex:none;margin-left:18px;font-size:11px;font-weight:600;letter-spacing:.12em;
  text-transform:uppercase;white-space:nowrap;color:#7a45f8;border-bottom:1px solid currentColor;padding-bottom:1px;cursor:pointer;transition:color .25s}
#home .sec3 .award .award_block .box .ce-more:hover{color:#d45cf2}
/* Tools carousel: hint that a card opens details. */
#home .sec3 .three_box .link[data-detail] .text_box .tw::after{content:"  Read more \2192";font-weight:600;white-space:nowrap}
