/* ===========================================================================
   DESKTOP DEVELOPMENT — unique section system, namespaced `dt-`.
   Theme follows the site: Afacad · deep navy #0a0b2e · violet/purple/magenta
   gradients · cyan #43d2e0 · gold #f0a400 · light lavender #f6f2fd ·
   glassmorphism + gradient text + gradient buttons (#b900ff → #0058ff).
   Behaviour lives in static/js/desktopapp.js.
   =========================================================================== */

html {
  overflow-x: clip;
}

.dt-hero,
.dt-boxes,
.dt-score,
.dt-stack,
.dt-prefs,
.dt-release,
.dt-cta {
  --dt-navy: #0a0b2e;
  --dt-violet: #4a128c;
  --dt-purple: #7b2ff7;
  --dt-magenta: #b51bb5;
  --dt-blue: #4f6bff;
  --dt-cyan: #43d2e0;
  --dt-gold: #f0a400;
  --dt-ink: #2a1152;
  --dt-grad: linear-gradient(100deg, #b51bb5 0%, #7b2ff7 42%, #43d2e0 100%);
  --dt-btn-grad: linear-gradient(120deg, #b900ff, #0058ff);
  position: relative;
  overflow: clip;
  font-family: "Afacad", sans-serif;
}

.dt-shell {
  width: var(--site-width, 88%);
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.dt-grad-text {
  background: var(--dt-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dt-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dt-cyan);
  margin-bottom: 1.1rem;
}
.dt-eyebrow i { font-style: normal; opacity: 0.55; padding: 0 0.45em; }
.dt-eyebrow--dark { color: #8a2bb8; }

.dt-head { max-width: 880px; margin: 0 auto clamp(2.4rem, 5vw, 4rem); text-align: center; }
.dt-head--left { text-align: left; margin: 0; }
.dt-head h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.dt-head h2 em {
  font-style: normal;
  background: var(--dt-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dt-head__sub {
  margin-top: 1.15rem;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  opacity: 0.78;
  line-height: 1.6;
}

.dt-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.92em 1.9em;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.35s, background 0.35s, border-color 0.35s;
}
.dt-btn--solid {
  background: var(--dt-btn-grad);
  color: #fff;
  box-shadow: 0 14px 38px rgba(121, 40, 255, 0.38);
}
.dt-btn--solid:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 52px rgba(121, 40, 255, 0.5); }
.dt-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.dt-btn--ghost:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.12); }
.dt-btn--lg { padding: 1.05em 2.3em; font-size: 1.16rem; }

/* ============================== 1 · HERO ================================== */
.dt-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--hdr-full, 120px) + clamp(2rem, 5vh, 3.6rem)) 0 clamp(3.6rem, 7vh, 5.6rem);
  background:
    radial-gradient(1000px 560px at 88% -8%, rgba(79, 107, 255, 0.3), transparent 62%),
    radial-gradient(820px 520px at -12% 108%, rgba(181, 27, 181, 0.24), transparent 60%),
    linear-gradient(180deg, #0a0b2e 0%, #130b3c 70%, #170b3f 100%);
}
.dt-hero__field { position: absolute; inset: 0; pointer-events: none; }
.dt-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
  animation: dt-drift 17s ease-in-out infinite alternate;
}
.dt-blob--a { width: 42vw; height: 32vw; right: -8vw; top: -10vw; background: radial-gradient(circle, rgba(79, 107, 255, 0.5), transparent 68%); }
.dt-blob--b { width: 34vw; height: 28vw; left: -10vw; bottom: -12vw; background: radial-gradient(circle, rgba(67, 210, 224, 0.3), transparent 68%); animation-delay: -7s; }
@keyframes dt-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3vw, 2.6vh, 0) scale(1.12); }
}
.dt-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(74% 62% at 46% 38%, rgba(0, 0, 0, 0.7), transparent 76%);
  -webkit-mask-image: radial-gradient(74% 62% at 46% 38%, rgba(0, 0, 0, 0.7), transparent 76%);
}

.dt-hero__inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2.2rem, 5vw, 4.6rem);
  align-items: center;
}
.dt-hero__title {
  font-size: clamp(2.7rem, 5.9vw, 5.05rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.018em;
  margin-bottom: 1.5rem;
}
.dt-hero__line { display: block; }
/* hero-unified.css forces line-height:1 on .hu-title; give the headline room
   and extend the gradient's paint box below the baseline so descenders
   (g, y, p) are no longer cut off by background-clip:text. */
.dt-hero.hu-hero .dt-hero__title { line-height: 1.08; }
.dt-hero__line.dt-grad-text {
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}
.dt-hero__lead {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.82);
  max-width: 32em;
  margin-bottom: 2.1rem;
}
.dt-hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.3rem; }
.dt-hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.3rem;
}
.dt-hero__stats li { position: relative; font-size: 1.02rem; color: rgba(255, 255, 255, 0.66); }
.dt-hero__stats li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1.2rem;
  top: 0.28em;
  width: 1px;
  height: 1.1em;
  background: rgba(255, 255, 255, 0.22);
}
.dt-hero__stats b { color: #fff; font-size: 1.16rem; margin-right: 0.28em; }

/* ---- window cascade ---- */
.dt-cascade {
  position: relative;
  min-height: clamp(400px, 40vw, 520px);
}
.dt-window {
  position: absolute;
  width: 78%;
  border-radius: 16px;
  overflow: hidden;
  /* near-opaque so overlapping windows never show each other's lines through */
  background: linear-gradient(170deg, rgba(40, 29, 98, 0.97) 0%, rgba(24, 16, 70, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 30px 70px rgba(6, 2, 26, 0.5),
    0 6px 18px rgba(6, 2, 26, 0.35);
  /* own GPU layer + transparent outline = crisp, anti-aliased rotated edges */
  outline: 1px solid transparent;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  /* the mouse-parallax sets the individual `translate` property */
  transition: translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dt-window--back { left: 0; top: 0; transform: rotate(-3deg); z-index: 1; animation: dt-float-back 8s ease-in-out infinite; }
.dt-window--mid { left: 10%; top: 22%; transform: rotate(1.5deg); z-index: 2; animation: dt-float-mid 8.8s ease-in-out -2.6s infinite; }
.dt-window--front { left: 20%; top: 46%; transform: rotate(-1deg); z-index: 3; animation: dt-float-front 7.6s ease-in-out -1.2s infinite; }

/* transform-only float (compositor-friendly, no layout work) with a gentle sway */
@keyframes dt-float-back {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-3deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(-2.6deg); }
}
@keyframes dt-float-mid {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(1.5deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(1.1deg); }
}
@keyframes dt-float-front {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(-0.6deg); }
}

/* staggered entrance once the hero reveals (JS-gated; falls back to plain float) */
@keyframes dt-win-in {
  from { opacity: 0; translate: 0 44px; scale: 0.94; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
.dt-anim-ready .dt-cascade.dt-in .dt-window--back {
  animation: dt-win-in 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s backwards, dt-float-back 8s ease-in-out 0s infinite;
}
.dt-anim-ready .dt-cascade.dt-in .dt-window--mid {
  animation: dt-win-in 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) 0.72s backwards, dt-float-mid 8.8s ease-in-out -2.6s infinite;
}
.dt-anim-ready .dt-cascade.dt-in .dt-window--front {
  animation: dt-win-in 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) 0.89s backwards, dt-float-front 7.6s ease-in-out -1.2s infinite;
}

.dt-window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.72rem 1rem;
  background: rgba(10, 5, 32, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.dt-window__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }
.dt-window__bar i:first-child { background: #ff5f57; }
.dt-window__bar i:nth-child(2) { background: #febc2e; }
.dt-window__bar i:nth-child(3) { background: #28c840; }
.dt-window__bar span {
  margin-left: 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.66);
}
.dt-window__body { padding: 1.15rem 1.25rem 1.35rem; }

.dt-window__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 84px;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}
.dt-window__chart i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #8a4bff, #4f6bff);
  animation: dt-bars 2.8s ease-in-out infinite alternate;
}
.dt-window__chart i:nth-child(2n) { animation-delay: -1.4s; }
.dt-window__chart i:nth-child(3n) { animation-duration: 3.4s; animation-delay: -0.7s; }
/* height (not scaleY) so the rounded corners never get squashed */
@keyframes dt-bars {
  from { height: calc(var(--h) * 0.62); }
  to { height: var(--h); }
}
.dt-window__rows { display: grid; gap: 0.45rem; margin-top: 0.85rem; }
.dt-window__rows i { height: 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
.dt-window__rows i:nth-child(2) { width: 62%; }

.dt-window__body--cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.72rem;
}
.dt-window__col {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding: 0.72rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  min-height: 108px;
}
.dt-window__col b { height: 9px; width: 58%; border-radius: 999px; background: rgba(67, 210, 224, 0.55); }
.dt-window__col i { height: 22px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); }

.dt-window__body--code {
  display: grid;
  gap: 0.52rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
}
.dt-window__body--code i { font-style: normal; letter-spacing: 0.02em; }
.dt-window__body--code .c1 { color: rgba(255, 255, 255, 0.85); }
.dt-window__body--code .c2 { color: rgba(123, 47, 247, 0.95); }
.dt-window__body--code .c3 { color: rgba(240, 164, 0, 0.95); }
.dt-window__body--code .c4 { color: var(--dt-cyan); }

.dt-cascade__os {
  position: absolute;
  z-index: 4;
  left: 20%;
  bottom: 2%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.dt-cascade__os span {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.55em 1.15em;
  border-radius: 999px;
  font-size: 0.92rem;
  background: rgba(20, 8, 55, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.dt-cascade__os i { font-size: 1.02rem; }

/* ============================== 2 · BOXES ================================= */
.dt-boxes {
  background:
    radial-gradient(760px 440px at 10% 0%, rgba(181, 27, 181, 0.1), transparent 60%),
    radial-gradient(760px 440px at 92% 100%, rgba(67, 210, 224, 0.14), transparent 60%),
    linear-gradient(180deg, #fbf8ff 0%, #f1eafc 100%);
  color: var(--dt-ink);
  padding: clamp(4.6rem, 9vw, 7.6rem) 0;
}
.dt-boxes .dt-head h2 { color: var(--dt-ink); }
.dt-boxes .dt-head__sub { color: rgba(42, 17, 82, 0.72); }

.dt-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 2.6rem);
  justify-items: center;
}
.dt-box { width: min(320px, 100%); perspective: 1200px; }
.dt-box__case {
  position: relative;
  display: flex;
  transform: rotateY(-18deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dt-box:hover .dt-box__case { transform: rotateY(-6deg) rotateX(1deg) translateY(-10px); }

.dt-box__front {
  flex: 1;
  aspect-ratio: 3 / 3.9;
  border-radius: 10px 6px 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: #fff;
  background:
    radial-gradient(300px 190px at 30% 12%, rgba(255, 255, 255, 0.28), transparent 62%),
    linear-gradient(155deg, var(--acc1), var(--acc2));
  box-shadow: 0 34px 80px rgba(24, 8, 64, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.dt-box__front i { font-size: 3.2rem; }
.dt-box__front b { font-size: 1.52rem; letter-spacing: 0.02em; }
.dt-box__front small {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.dt-box__side {
  width: 34px;
  border-radius: 6px 12px 12px 6px;
  background: linear-gradient(155deg, var(--acc2), var(--acc1));
  box-shadow: 8px 18px 40px rgba(24, 8, 64, 0.25);
  display: grid;
  place-items: center;
}
.dt-box__side span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.dt-box__specs {
  list-style: none;
  margin: 1.65rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.dt-box__specs li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(42, 17, 82, 0.76);
}
.dt-box__specs li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.08em;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  color: #fff;
  background: linear-gradient(135deg, var(--acc1), var(--acc2));
}

/* ============================== 3 · SCOREBOARD ============================= */
.dt-score {
  background:
    radial-gradient(880px 500px at 88% 4%, rgba(79, 107, 255, 0.2), transparent 60%),
    linear-gradient(180deg, #120a36 0%, #0a0b2e 100%);
  padding: clamp(4.6rem, 9vw, 7.8rem) 0;
}

.dt-score__grid {
  width: min(1020px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
}
.dt-score__legend {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 0 0.4rem 0.55rem;
}
.dt-score__key {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.dt-score__key i {
  width: 18px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}
.dt-score__key--desk { color: var(--dt-cyan); }
.dt-score__key--desk i { background: var(--dt-grad); }

.dt-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.8fr);
  align-items: center;
  gap: clamp(1.15rem, 2.6vw, 2.2rem);
  padding: 1.35rem 1.55rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.dt-row h3 { font-size: clamp(1.18rem, 2vw, 1.52rem); }
.dt-row__bars { display: grid; gap: 0.52rem; }
.dt-bar { display: flex; align-items: center; gap: 0.85rem; }
.dt-bar i {
  height: 11px;
  width: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transition: width 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dt-row.is-lit .dt-bar i { width: var(--w); }
.dt-bar b {
  min-width: 2.6em;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.58);
}
.dt-bar--desk i {
  height: 15px;
  background: var(--dt-grad);
  box-shadow: 0 10px 26px rgba(121, 40, 255, 0.4);
}
.dt-bar--desk b { color: var(--dt-cyan); font-size: 1.02rem; }

/* ============================== 4 · STACK BOARD =========================== */
.dt-stack {
  background: linear-gradient(180deg, #ffffff 0%, #f6f2fd 100%);
  color: var(--dt-ink);
  padding: clamp(4.6rem, 9vw, 7.6rem) 0;
}
.dt-stack .dt-head h2 { color: var(--dt-ink); }
.dt-stack .dt-head__sub { color: rgba(42, 17, 82, 0.72); }

.dt-board {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  /* must match the SVG viewBox (1000 x 460) so traces meet the chips exactly */
  aspect-ratio: 1000 / 460;
  container-type: inline-size;
  border-radius: 26px;
  background:
    radial-gradient(560px 320px at 22% 12%, rgba(123, 47, 247, 0.16), transparent 62%),
    radial-gradient(560px 320px at 82% 88%, rgba(67, 210, 224, 0.14), transparent 62%),
    linear-gradient(160deg, #16103f 0%, #0d0a2c 100%);
  border: 1px solid rgba(42, 17, 82, 0.2);
  box-shadow: 0 34px 90px rgba(24, 8, 64, 0.28);
  overflow: hidden;
}
.dt-board::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.dt-board__traces {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.dt-traces path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.dt-traces--hot path {
  stroke: rgba(123, 47, 247, 0.9);
  stroke-dasharray: 10 12;
  animation: dt-flow 2.6s linear infinite;
}
.dt-nodes circle { fill: var(--dt-cyan); opacity: 0.75; }
@keyframes dt-flow { to { stroke-dashoffset: -44; } }

/* chips: centred on their grid point, fixed % size so traces always line up */
.dt-chip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 22%;
  height: 19%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 0.9rem;
  border-radius: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.15), border-color 0.42s, box-shadow 0.42s;
}
.dt-chip:hover {
  transform: translate(-50%, -50%) translateY(-7px) scale(1.05);
  border-color: rgba(67, 210, 224, 0.6);
  box-shadow: 0 24px 55px rgba(6, 2, 26, 0.5);
}
.dt-chip b {
  display: block;
  color: #fff;
  font-size: clamp(0.92rem, 1.6cqw, 1.14rem);
  line-height: 1.2;
}
.dt-chip small {
  display: block;
  margin-top: 0.25rem;
  font-size: clamp(0.72rem, 1.2cqw, 0.86rem);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.66);
}
.dt-chip--core {
  width: 24%;
  height: 21%;
  background: var(--dt-grad);
  border-color: transparent;
  box-shadow: 0 24px 64px rgba(121, 40, 255, 0.45);
}
.dt-chip--core small { color: rgba(255, 255, 255, 0.88); }

/* ============================== 5 · SETTINGS PANEL ======================== */
.dt-prefs {
  background:
    radial-gradient(880px 500px at 88% 6%, rgba(181, 27, 181, 0.22), transparent 60%),
    linear-gradient(180deg, #170b3f 0%, #120a36 100%);
  padding: clamp(4.6rem, 9vw, 7.8rem) 0;
}
.dt-prefs__inner {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(2.2rem, 5vw, 4.6rem);
  align-items: center;
}

.dt-prefswin {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 40px 100px rgba(6, 2, 26, 0.55);
}
.dt-prefswin__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.85rem 1.15rem;
  background: rgba(10, 5, 32, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.dt-prefswin__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }
.dt-prefswin__bar i:first-child { background: #ff5f57; }
.dt-prefswin__bar i:nth-child(2) { background: #febc2e; }
.dt-prefswin__bar i:nth-child(3) { background: #28c840; }
.dt-prefswin__bar span { margin-left: 0.85rem; font-size: 0.92rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.7); }

.dt-prefswin__list { list-style: none; margin: 0; padding: 0.55rem 0; }
.dt-pref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
  padding: 1.05rem 1.55rem;
  transition: background 0.35s;
}
.dt-pref + .dt-pref { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.dt-pref:hover { background: rgba(255, 255, 255, 0.05); }
.dt-pref__text b { display: block; font-size: 1.12rem; }
.dt-pref__text small { display: block; margin-top: 0.18rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.62); }

.dt-toggle {
  position: relative;
  flex: 0 0 56px;
  width: 56px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.45s, border-color 0.45s;
}
.dt-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px rgba(6, 2, 26, 0.4);
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.dt-toggle.is-on {
  background: var(--dt-btn-grad);
  border-color: transparent;
}
.dt-toggle.is-on::after { transform: translateX(26px); }

/* ============================== 6 · RELEASE BELT ========================== */
.dt-release {
  background: linear-gradient(180deg, #f6f2fd 0%, #ffffff 100%);
  color: var(--dt-ink);
  padding: clamp(4.6rem, 9vw, 7.6rem) 0;
}
.dt-release .dt-head h2 { color: var(--dt-ink); }
.dt-release .dt-head h2 em {
  font-style: normal;
  background: var(--dt-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dt-release .dt-head__sub { color: rgba(42, 17, 82, 0.72); }

.dt-belt { overflow: hidden; margin-bottom: 1.6rem; }
.dt-belt__track {
  position: relative;
  height: 52px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(181, 27, 181, 0.12), rgba(123, 47, 247, 0.18), rgba(67, 210, 224, 0.12));
  border: 1px solid rgba(42, 17, 82, 0.1);
}
/* the markup's individual chevron spans are replaced by one seamless,
   tiled chevron strip that scrolls left -> right forever */
.dt-belt__chev { display: none; }
.dt-belt__track::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='52' viewBox='0 0 96 52'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23b51bb5'/%3E%3Cstop offset='1' stop-color='%2343d2e0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M37 15h8.4L54 26l-8.6 11H37l8.6-11z' fill='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 96px 52px;
  background-position: 0 center;
  opacity: 0.75;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  animation: dt-belt 2.4s linear infinite;
}
@keyframes dt-belt {
  from { background-position: 0 center; }
  to { background-position: 96px center; } /* exactly one tile = seamless loop */
}

.dt-stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.95rem;
}
.dt-stage {
  padding: 1.35rem 1.15rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(42, 17, 82, 0.1);
  box-shadow: 0 16px 40px rgba(74, 18, 140, 0.08);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.1), box-shadow 0.4s;
}
.dt-stage:hover { transform: translateY(-7px); box-shadow: 0 26px 58px rgba(74, 18, 140, 0.16); }
.dt-stage b {
  display: inline-block;
  padding: 0.28em 0.85em;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #7b2ff7;
  background: rgba(123, 47, 247, 0.1);
  border: 1px solid rgba(123, 47, 247, 0.22);
  margin-bottom: 0.8rem;
}
.dt-stage h3 { font-size: 1.25rem; margin-bottom: 0.38rem; }
.dt-stage p { font-size: 0.93rem; line-height: 1.52; color: rgba(42, 17, 82, 0.7); }

/* ============================== 7 · INSTALLER CTA ========================= */
.dt-cta {
  background: linear-gradient(165deg, #2d0f62 0%, #4a128c 52%, #102cba 118%);
  padding: clamp(5rem, 10vw, 8.2rem) 0;
}
.dt-cta__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 340px at 20% -4%, rgba(255, 255, 255, 0.14), transparent 62%),
    radial-gradient(700px 380px at 86% 104%, rgba(67, 210, 224, 0.24), transparent 62%);
}
.dt-cta__inner { max-width: 980px; }

.dt-installer {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(12, 5, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 44px 110px rgba(6, 2, 26, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.dt-installer__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.95rem 1.35rem;
  background: rgba(10, 5, 32, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.dt-installer__bar i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); }
.dt-installer__bar i:first-child { background: #ff5f57; }
.dt-installer__bar i:nth-child(2) { background: #febc2e; }
.dt-installer__bar i:nth-child(3) { background: #28c840; }
.dt-installer__bar span { margin-left: 0.9rem; font-size: 0.95rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.72); }

.dt-installer__body {
  padding: clamp(2.1rem, 5vw, 3.6rem);
  text-align: center;
}
.dt-installer .dt-eyebrow { color: rgba(255, 255, 255, 0.85); }
.dt-installer h2 {
  font-size: clamp(2.35rem, 5.4vw, 4.15rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.dt-installer__lead {
  margin: 1.45rem auto 2.15rem;
  max-width: 33em;
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.dt-progress {
  width: min(520px, 100%);
  height: 12px;
  margin: 0 auto 2.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.dt-progress i {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: 999px;
  background: var(--dt-grad);
  animation: dt-load 3.2s ease-in-out infinite alternate;
}
@keyframes dt-load { from { width: 22%; } to { width: 92%; } }
.dt-installer__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.05rem; }
.dt-cta .dt-btn--solid {
  background: #fff;
  color: #4a128c;
  box-shadow: 0 18px 48px rgba(12, 3, 40, 0.35);
}
.dt-cta .dt-btn--ghost { border-color: rgba(255, 255, 255, 0.55); }

/* ============================== REVEAL (JS-gated) ======================== */
.dt-anim-ready .dt-head,
.dt-anim-ready .dt-hero__copy > *,
.dt-anim-ready .dt-cascade,
.dt-anim-ready .dt-box,
.dt-anim-ready .dt-score__legend,
.dt-anim-ready .dt-row,
.dt-anim-ready .dt-board,
.dt-anim-ready .dt-prefswin,
.dt-anim-ready .dt-belt,
.dt-anim-ready .dt-stage,
.dt-anim-ready .dt-installer {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dt-anim-ready .dt-in {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================== RESPONSIVE =============================== */
@media (max-width: 1180px) {
  .dt-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .dt-hero__inner { grid-template-columns: 1fr; }
  .dt-cascade { margin: 1.2rem auto 0; width: min(600px, 100%); }
  .dt-prefs__inner { grid-template-columns: 1fr; }
  .dt-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dt-board {
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: clamp(1.1rem, 3vw, 1.6rem);
  }
  .dt-board__traces { display: none; }
  .dt-chip,
  .dt-chip--core {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
    height: auto;
    min-height: 92px;
    padding: 1rem 0.9rem;
  }
  .dt-chip:hover { transform: translateY(-5px); }
  .dt-chip b { font-size: 1.08rem; }
  .dt-chip small { font-size: 0.84rem; }
  .dt-row { grid-template-columns: 1fr; gap: 0.85rem; }
}

@media (max-width: 860px) {
  .dt-shelf { grid-template-columns: 1fr; }
  .dt-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dt-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dt-chip--core { grid-column: 1 / -1; order: -1; }
}

@media (max-width: 640px) {
  .dt-hero__title { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .dt-hero__stats li:not(:last-child)::after { display: none; }
  .dt-cascade { min-height: 360px; }
  .dt-window { width: 88%; }
  .dt-window--mid { left: 6%; top: 20%; }
  .dt-window--front { left: 12%; top: 44%; }
  .dt-cascade__os { left: 0; }
  .dt-stages { grid-template-columns: 1fr; }
  .dt-board { grid-template-columns: 1fr; }
  .dt-pref { padding: 1rem 1.15rem; gap: 0.85rem; }
  .dt-pref__text b { font-size: 1.02rem; }
  .dt-btn { width: 100%; justify-content: center; }
  .dt-hero__cta .dt-btn, .dt-installer__btns .dt-btn { width: auto; min-width: min(100%, 250px); }
}

@media (prefers-reduced-motion: reduce) {
  .dt-blob, .dt-window, .dt-window__chart i, .dt-belt__track::before, .dt-progress i, .dt-traces--hot path {
    animation: none !important;
  }
  .dt-bar i, .dt-toggle, .dt-toggle::after { transition: none; }
  * { scroll-behavior: auto !important; }
}