/* ================================================================
   DXED intro — a short cinematic opening shown once per major
   update: geometry draws in, the ecosystem flashes past, DXED-o1
   wakes up, DXED+ gets ten honest seconds. Skippable, and fully
   static under prefers-reduced-motion.
   ================================================================ */
#dxed-intro {
  position: fixed; inset: 0; z-index: 600;
  background: #050506;
  display: grid; place-items: center;
  color: #f2f1f5;
  opacity: 1; transition: opacity .45s ease;
}
#dxed-intro.out { opacity: 0; pointer-events: none; }
.o1i-skip { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 16px; background: none; border: none; color: #6c6b76; font: 700 12.5px system-ui, sans-serif; letter-spacing: .4px; cursor: pointer; padding: 8px 12px; border-radius: 9px; }
.o1i-skip:hover { color: #f2f1f5; background: rgba(255,255,255,.06); }

.o1i-stage { max-width: 460px; width: 100%; padding: 24px; text-align: center; }
.o1i-scene { animation: o1i-in .5s ease-out; }
@keyframes o1i-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* the mark draws itself */
.o1i-mark { width: 64px; height: 64px; color: var(--dx2-acc, #ff8a3d); filter: drop-shadow(0 0 18px color-mix(in srgb, var(--dx2-acc, #ff8a3d) 35%, transparent)); }
.o1i-mark path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: o1i-draw 1.1s ease forwards; }
.o1i-mark path + path { animation-delay: .35s; opacity: .55; }
@keyframes o1i-draw { to { stroke-dashoffset: 0; } }
.o1i-mark-live { animation: o1i-pulse 2s ease-in-out infinite; }
@keyframes o1i-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.o1i-word { font: 800 34px/1 system-ui, sans-serif; letter-spacing: 9px; margin: 22px 0 0 9px; animation: o1i-in .7s ease-out .5s both; }
.o1i-h { font: 800 24px/1.3 system-ui, sans-serif; letter-spacing: -.4px; margin: 20px 0 0; }
.o1i-sub { font: 500 14.5px/1.6 system-ui, sans-serif; color: #a9a8b2; margin: 12px 0 0; }
.o1i-sub-2 { animation: o1i-in .5s ease-out .9s both; }

.o1i-eco { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 22px; }
.o1i-eco span { font: 700 13px system-ui, sans-serif; letter-spacing: 1.6px; text-transform: uppercase; color: #6c6b76; animation: o1i-in .45s ease-out both; }
.o1i-eco span:nth-child(2) { animation-delay: .15s; } .o1i-eco span:nth-child(3) { animation-delay: .3s; }
.o1i-eco span:nth-child(4) { animation-delay: .45s; } .o1i-eco span:nth-child(5) { animation-delay: .6s; color: var(--dx2-acc, #ff8a3d); }

.o1i-plus { font: 800 30px/1 system-ui, sans-serif; letter-spacing: -.5px; }
.o1i-plus i { font-style: normal; color: var(--dx2-acc, #ff8a3d); }
.o1i-perks { list-style: none; margin: 18px 0 24px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.o1i-perks li { font: 600 13.5px/1.5 system-ui, sans-serif; color: #a9a8b2; animation: o1i-in .4s ease-out both; }
.o1i-perks li:nth-child(2) { animation-delay: .12s; } .o1i-perks li:nth-child(3) { animation-delay: .24s; } .o1i-perks li:nth-child(4) { animation-delay: .36s; }
.o1i-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.o1i-btn { border: none; border-radius: 12px; padding: 11px 22px; font: 700 14px system-ui, sans-serif; cursor: pointer; transition: filter .14s, background .14s; }
.o1i-btn-primary { background: var(--dx2-acc, #ff8a3d); color: var(--dx2-acc-text, #140f0a); }
.o1i-btn-primary:hover { filter: brightness(1.08); }
.o1i-btn-ghost { background: rgba(255,255,255,.07); color: #f2f1f5; }
.o1i-btn-ghost:hover { background: rgba(255,255,255,.12); }

/* new-user cards: three beats, then in */
.o1i-cardtag { font: 700 11px system-ui, sans-serif; text-transform: uppercase; letter-spacing: 2px; color: var(--dx2-acc, #ff8a3d); margin-bottom: 12px; }
.o1i-dots { display: flex; justify-content: center; gap: 7px; margin: 26px 0 18px; }
.o1i-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.16); }
.o1i-dots i.on { background: var(--dx2-acc, #ff8a3d); }

@media (prefers-reduced-motion: reduce) {
  #dxed-intro *, #dxed-intro *::before, #dxed-intro *::after { animation: none !important; transition: none !important; }
  .o1i-mark path { stroke-dashoffset: 0; }
}
