/* Digdata case study: page-specific designs on top of the shared kit (assets/case-study/case.css), which keeps the
   site's type and section styles. Everything borrows from the product: a node network like the logo, a live
   transactions ticker, hashes that decode into the app's wallet labels, a camera that pans across the token
   profiler chart by chart, the wallet network graph used as navigation, a spotlight that walks across the rewards
   table, the waitlist countdown, and the activity heatmap as the palette. Colours come from the app itself. */
.dd-case {
  --mn-accent:#8d33fe; --dd-blue:#047fff; --dd-blue2:#3396ff; --dd-violet:#8d33fe; --dd-lilac:#c699ff;
  --dd-night:#06000f; --dd-panel:#130d1c; --dd-rail:#0e0024; --dd-line:#2b2533; --dd-green:#00aa58; --dd-red:#e30000; --dd-amber:#c38324;
  --dd-grad:linear-gradient(90deg,#1668ff,#5617ff);
  --dd-mono:ui-monospace,SFMono-Regular,Menlo,monospace;
  /* Glass cards and tiles in Digdata's own blue and violet, not the site violet. */
  --glass-fill:rgba(13,4,28,.8); --glass-edge:rgba(198,153,255,.12); --glass-highlight:rgba(120,180,255,.32);
  --glass-drop:rgba(2,0,8,.92); --glass-glow:rgba(4,127,255,.6); --glass-shade:#06000f; --glass-shine:#9ec9ff;
  --stat-bg:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.012) 60%),radial-gradient(120% 90% at 0% 0%,rgba(4,127,255,.22),transparent 65%),linear-gradient(rgba(10,3,22,.8),rgba(10,3,22,.8));
  --stat-border:rgba(198,153,255,.14); --stat-border-hover:rgba(51,150,255,.55);
  --stat-glow:rgba(4,127,255,.25); --stat-glow-hover:rgba(4,127,255,.5); --stat-shade:#06000f; --stat-shine:#9ec9ff;
  --stat-number:#fff; --stat-label:#c9d6ff;
}
/* Screens fill their frame edge to edge from the top; the frame's own radius does the rounding. */
.dd-case :is(.mn-screen, .mn-browser-view) > img { border-radius:0; }
.dd-case .mn-browser { background:var(--dd-night); border-color:rgba(198,153,255,.16); }
.dd-case .mn-browser-view { background:var(--dd-night); }
.dd-case .mn-screen { background:var(--dd-night); }
.dd-case h3 { font:700 19px/1.3 Satoshi,Inter,sans-serif; letter-spacing:-.01em; margin:0; color:#fff; }

/* ── Hero ── */
.dd-hero { position:relative; padding:clamp(30px, 5vw, 70px) 0 30px; overflow:clip; }
.dd-hero-glow { position:absolute; inset:-10% 0 0; pointer-events:none; background:radial-gradient(40% 44% at 70% 44%,rgba(4,127,255,.32),transparent 70%),radial-gradient(34% 40% at 88% 70%,rgba(141,51,254,.34),transparent 70%),radial-gradient(26% 30% at 12% 80%,rgba(86,23,255,.16),transparent 70%);
  -webkit-mask-image:linear-gradient(transparent,#000 12%,#000 78%,transparent); mask-image:linear-gradient(transparent,#000 12%,#000 78%,transparent); animation:mn-breathe 10s ease-in-out infinite alternate; }
.dd-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr); gap:40px; align-items:center; }
.dd-title .mn-w > span { background:linear-gradient(100deg,#fff 22%,#9ec9ff 55%,#8d33fe 92%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.dd-hero-stage { position:relative; height:600px; perspective:1600px; }
/* The node network: lines draw in, then light runs along them; nodes breathe like the logo's dots. */
.dd-net { position:absolute; inset:-4% -6% -2% -4%; width:110%; height:106%; overflow:visible; pointer-events:none; }
.dd-net-l path { fill:none; stroke:rgba(120,170,255,.28); stroke-width:1.2; stroke-dasharray:4 7; stroke-dashoffset:0; opacity:0; transition:opacity 1.2s ease .2s; animation:dd-flow 3.5s linear infinite; }
.dd-hero.is-in .dd-net-l path { opacity:1; }
@keyframes dd-flow { to { stroke-dashoffset:-44; } }
.dd-net-n circle { fill:var(--dd-blue); opacity:0; transform-box:fill-box; transform-origin:center; scale:.2; transition:opacity .6s ease, scale .8s cubic-bezier(.34,1.56,.64,1); transition-delay:calc(.3s + var(--i) * .12s); filter:drop-shadow(0 0 10px rgba(4,127,255,.9)); }
.dd-net-n circle:nth-child(even) { fill:var(--dd-violet); filter:drop-shadow(0 0 10px rgba(141,51,254,.9)); }
.dd-hero.is-in .dd-net-n circle { opacity:.95; scale:1; animation:dd-node 3.2s ease-in-out calc(1.4s + var(--i) * .4s) infinite alternate; }
@keyframes dd-node { to { scale:1.35; opacity:.6; } }
.dd-hero-browser { position:absolute; left:2%; right:0; top:56px; z-index:1; transform:rotateY(-9deg) rotateX(3deg); transform-origin:left center;
  box-shadow:0 60px 110px -40px rgba(4,127,255,.55), 0 0 0 1px rgba(0,0,0,.5); opacity:0; translate:0 26px; transition:opacity 1s var(--mn-ease) .25s, translate 1.1s var(--mn-ease) .25s; }
.dd-hero-browser .mn-browser-view { aspect-ratio:1440/860; }
.dd-hero-browser .mn-browser-view > img { width:100%; }
.dd-hero.is-in .dd-hero-browser { opacity:1; translate:0 0; }
/* Transactions ticker, built in the app's own table style; a new swap slides in on top every few seconds. */
.dd-ticker { position:absolute; left:-4%; bottom:18px; z-index:3; width:min(440px, 84%); padding:16px 16px 10px; border-radius:16px; background:rgba(19,13,28,.86); border:1px solid var(--dd-line);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); box-shadow:0 40px 70px -30px rgba(0,0,0,.95), 0 0 50px -20px rgba(141,51,254,.5);
  opacity:0; translate:0 30px; transition:opacity .9s var(--mn-ease) .6s, translate 1s var(--mn-ease) .6s; font-family:Inter,Satoshi,sans-serif; }
.dd-hero.is-in .dd-ticker { opacity:1; translate:0 0; }
.dd-ticker-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.dd-ticker-head b { font-size:13.5px; font-weight:600; }
.dd-ticker-head span { font-size:11.5px; color:rgba(255,255,255,.5); }
.dd-ticker-rows { list-style:none; margin:0; padding:0; display:grid; }
.dd-ticker-rows li { display:grid; grid-template-columns:minmax(0,1fr) max-content max-content; gap:14px; align-items:center; padding:9px 10px; border-radius:8px; font-size:11.5px; white-space:nowrap; color:#fff; }
.dd-ticker-rows li:nth-child(even) { background:rgba(255,255,255,.04); }
.dd-ticker-rows li > * { overflow:hidden; text-overflow:ellipsis; }
.dd-ticker-rows code { font:500 11.5px/1 Inter,Satoshi,sans-serif; color:#2f8cff; text-decoration:underline; text-underline-offset:2px; }
.dd-ticker-rows em { font-style:normal; }
.dd-ticker-rows em::after { content:""; }
.dd-ticker-rows i { font-style:normal; }
.dd-ticker-rows .is-v, .dd-ticker-rows em { color:#c9a0ff; }
.dd-ticker-rows em { color:#fff; }
.dd-ticker-rows li.is-new { animation:dd-row-in .8s var(--mn-ease); }
@keyframes dd-row-in { 0% { opacity:0; translate:0 -14px; background:rgba(141,51,254,.35); } 60% { opacity:1; background:rgba(141,51,254,.2); } 100% { translate:0 0; } }

/* ── Decoder: a wallet hash scrambles, then resolves into the app's names for that kind of holder ── */
.dd-decode { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:clamp(40px, 5vw, 56px); }
.dd-code { display:flex; flex-direction:column; gap:10px; padding:26px; border-radius:22px; border:1px solid rgba(198,153,255,.14); }
.dd-code-line { position:relative; height:46px; margin-bottom:14px; display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:0 14px; border-radius:12px; background:var(--dd-night); border:1px solid var(--dd-line); overflow:hidden; }
.dd-hash { position:absolute; inset:0; display:flex; align-items:center; padding:0 14px; font:500 15px/1 var(--dd-mono); color:#2f8cff; letter-spacing:.02em; transition:opacity .4s ease, translate .5s var(--mn-ease); }
.dd-code-line.is-done .dd-hash { opacity:0; translate:0 -10px; }
.dd-chip { display:inline-flex; align-items:center; gap:7px; padding:6px 10px; border-radius:8px; font:600 13px/1.1 Satoshi,Inter,sans-serif; color:#fff; white-space:nowrap;
  background:color-mix(in srgb, var(--c) 18%, transparent); border:1px solid color-mix(in srgb, var(--c) 50%, transparent);
  opacity:0; scale:.7; translate:0 8px; transition:opacity .4s ease, scale .5s cubic-bezier(.34,1.56,.64,1), translate .5s var(--mn-ease); transition-delay:calc(var(--j,0) * 110ms); }
.dd-chip::before { content:""; width:7px; height:7px; border-radius:2px; background:var(--c); box-shadow:0 0 8px var(--c); }
.dd-code-line.is-done .dd-chip { opacity:1; scale:1; translate:0 0; }
.dd-code p { margin:0; color:var(--mn-mute); font-size:16px; line-height:1.55; }

/* ── Token profiler lens: a camera that frames one chart of the real screen at a time ── */
.dd-lens { display:grid; grid-template-columns:minmax(260px,.36fr) minmax(0,1fr); gap:28px; margin-top:clamp(40px, 5vw, 56px); align-items:stretch; }
.dd-lens-side { display:flex; flex-direction:column; gap:18px; min-width:0; }
.dd-lens-browser { min-width:0; }
/* Tabs drawn like the app's own tab bar: plain labels on a hairline, the active one underlined in blue. */
.dd-utabs { display:flex; gap:4px; border-bottom:1px solid var(--dd-line); }
.dd-utabs button { all:unset; cursor:pointer; position:relative; padding:12px 12px 14px; font:500 15px/1 Satoshi,Inter,sans-serif; color:rgba(255,255,255,.6); transition:color .3s ease; }
.dd-utabs button::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px; border-radius:2px; background:var(--dd-blue); scale:0 1; transition:scale .5s var(--mn-ease); }
.dd-utabs button.is-on { color:#fff; }
.dd-utabs button.is-on::after { scale:1 1; }
.dd-utabs button:focus-visible { outline:2px solid var(--dd-blue2); outline-offset:2px; border-radius:6px; }
.dd-lens-list { list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.dd-lens-list[hidden] { display:none; }
.dd-lens-list button { all:unset; box-sizing:border-box; cursor:pointer; display:block; width:100%; padding:13px 16px; border-radius:12px; border:1px solid transparent; transition:background-color .35s ease, border-color .35s ease; }
.dd-lens-list b { display:block; font:600 15.5px/1.3 Satoshi,Inter,sans-serif; color:rgba(255,255,255,.72); transition:color .3s ease; }
.dd-lens-list span { display:block; margin-top:3px; font-size:13.5px; line-height:1.45; color:rgba(244,245,251,.5); }
.dd-lens-list button:hover { background:rgba(255,255,255,.035); }
.dd-lens-list button.is-on { background:linear-gradient(90deg,rgba(4,127,255,.16),rgba(141,51,254,.08)); border-color:rgba(51,150,255,.4); }
.dd-lens-list button.is-on b { color:#fff; }
.dd-lens-list button:focus-visible { outline:2px solid var(--dd-blue2); outline-offset:2px; }
.dd-lens-browser { align-self:start; }
.dd-cam { position:relative; aspect-ratio:16/10.4; overflow:hidden; background:var(--dd-night); }
.dd-cam > img { position:absolute; left:0; top:0; width:1440px; max-width:none; height:auto; transform-origin:0 0; opacity:0; transition:transform 1.15s cubic-bezier(.65,0,.25,1), opacity .5s ease; will-change:transform; }
.dd-cam > img.is-on { opacity:1; }
/* A frame marks the chart the camera has landed on. */
.dd-cam::after { content:""; position:absolute; inset:10px; border-radius:14px; border:1px solid rgba(51,150,255,.5); box-shadow:inset 0 0 40px rgba(4,127,255,.12); pointer-events:none; opacity:0; transition:opacity .4s ease; }
.dd-cam.is-landed::after { opacity:1; }

/* ── Wallet graph: the network chart becomes the menu ── */
.dd-graph { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:clamp(24px, 4vw, 56px); align-items:center; margin-top:clamp(40px, 5vw, 56px); }
.dd-graph-map { position:relative; width:100%; max-width:460px; aspect-ratio:1; margin-inline:auto; }
.dd-graph-map svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.dd-graph-l path { fill:none; stroke:rgba(198,153,255,.28); stroke-width:1.4; stroke-dasharray:180; stroke-dashoffset:180; transition:stroke-dashoffset 1s var(--mn-ease), stroke .4s ease; transition-delay:calc(.2s + var(--k) * .08s); }
.dd-graph.is-in .dd-graph-l path { stroke-dashoffset:0; }
.dd-graph-l path.is-on { stroke:var(--dd-blue2); stroke-width:2; stroke-dasharray:5 6; animation:dd-flow 1.6s linear infinite; filter:drop-shadow(0 0 6px rgba(51,150,255,.9)); }
.dd-graph-core { position:absolute; left:50%; top:50%; width:96px; height:96px; translate:-50% -50%; border-radius:50%; display:grid; place-items:center; background:radial-gradient(circle at 35% 30%,#4f8dff,#5617ff 70%); box-shadow:0 0 0 8px rgba(86,23,255,.18), 0 0 60px rgba(4,127,255,.55); scale:.4; opacity:0; transition:scale .8s cubic-bezier(.34,1.56,.64,1), opacity .5s ease; }
.dd-graph-core b { font:600 12.5px/1 var(--dd-mono); color:#fff; }
.dd-graph.is-in .dd-graph-core { scale:1; opacity:1; }
.dd-graph-nodes button { all:unset; box-sizing:border-box; cursor:pointer; position:absolute; left:var(--x); top:var(--y); width:calc(84px * var(--s)); height:calc(84px * var(--s)); margin:calc(-42px * var(--s)) 0 0 calc(-42px * var(--s));
  border-radius:50%; display:grid; place-items:center; text-align:center; font:700 13px/1.1 Satoshi,Inter,sans-serif; color:#fff; background:radial-gradient(circle at 35% 30%,#c699ff,#8d33fe 72%);
  box-shadow:0 14px 30px -12px rgba(141,51,254,.8); opacity:0; scale:.3; transition:opacity .5s ease, scale .7s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease, background .4s ease; transition-delay:calc(.5s + var(--k) * .09s), calc(.5s + var(--k) * .09s), 0s, 0s; }
.dd-graph.is-in .dd-graph-nodes button { opacity:1; scale:1; }
.dd-graph-nodes button.is-on { background:radial-gradient(circle at 35% 30%,#7fb8ff,#047fff 72%); box-shadow:0 0 0 6px rgba(4,127,255,.22), 0 0 46px rgba(4,127,255,.75); }
.dd-graph.is-in .dd-graph-nodes button.is-on { scale:1.1; }
@media (hover:hover) and (pointer:fine) { .dd-graph.is-in .dd-graph-nodes button:hover:not(.is-on) { scale:1.08; } }
.dd-graph-nodes button:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.dd-graph-panel { min-width:0; }
.dd-graph-shots { position:relative; aspect-ratio:1.42; border-radius:18px; overflow:hidden; background:var(--dd-night); border:1px solid rgba(198,153,255,.16); box-shadow:0 50px 90px -40px rgba(4,127,255,.45); }
.dd-graph-shots > img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0; scale:.96; transition:opacity .55s ease, scale .8s var(--mn-ease); }
.dd-graph-shots > img.is-on { opacity:1; scale:1; }
.dd-graph-cap { display:flex; flex-wrap:wrap; gap:4px 12px; align-items:baseline; margin:18px 0 0; }
.dd-graph-cap b { font:700 18px/1.3 Satoshi,Inter,sans-serif; }
.dd-graph-cap span { color:var(--mn-mute); font-size:16px; }
.dd-graph-cap.is-swap { animation:dd-cap .5s var(--mn-ease); }
@keyframes dd-cap { from { opacity:0; translate:0 8px; } }

/* ── DeFi ledger: the column steps light up a spotlight that walks across the real rewards table ── */
.dd-ledger { margin-top:clamp(40px, 5vw, 56px); }
.dd-flow { list-style:none; margin:0 0 18px; padding:0; position:relative; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.dd-flow::before { content:""; position:absolute; left:6%; right:6%; top:50%; height:1px; background:linear-gradient(90deg,transparent,rgba(198,153,255,.35),transparent); }
.dd-flow button { all:unset; box-sizing:border-box; cursor:pointer; position:relative; width:100%; display:flex; align-items:center; justify-content:center; gap:9px; padding:13px 10px; border-radius:12px; background:var(--dd-panel); border:1px solid var(--dd-line);
  font:600 14.5px/1 Satoshi,Inter,sans-serif; color:rgba(255,255,255,.7); white-space:nowrap; transition:color .3s ease, border-color .3s ease, background-color .3s ease, box-shadow .3s ease; }
.dd-flow button i { width:16px; height:16px; border-radius:50%; flex:none; background:var(--dd-violet); position:relative; }
.dd-flow button i.is-plus { background:var(--dd-green); }
.dd-flow button i.is-minus { background:var(--dd-red); }
.dd-flow button i.is-plus::before, .dd-flow button i.is-minus::before, .dd-flow button i.is-plus::after { content:""; position:absolute; left:50%; top:50%; width:8px; height:2px; translate:-50% -50%; background:#fff; border-radius:1px; }
.dd-flow button i.is-plus::after { width:2px; height:8px; }
.dd-flow button i:not(.is-plus):not(.is-minus) { width:10px; height:10px; border-radius:3px; box-shadow:0 0 10px var(--dd-violet); }
.dd-flow button.is-on { color:#fff; border-color:rgba(51,150,255,.6); background:linear-gradient(160deg,rgba(4,127,255,.22),rgba(86,23,255,.16)),var(--dd-panel); box-shadow:0 14px 34px -18px rgba(4,127,255,.9); }
.dd-flow button:focus-visible { outline:2px solid var(--dd-blue2); outline-offset:2px; }
.dd-ledger-table { position:relative; border-radius:18px; overflow:hidden; border:1px solid rgba(198,153,255,.14); background:var(--dd-night); }
.dd-ledger-table img { display:block; width:100%; height:auto; }
.dd-band { position:absolute; top:11.6%; height:75.8%; left:var(--l,16.4%); width:var(--w,15.2%); border-radius:12px; border:1px solid rgba(51,150,255,.7); background:rgba(51,150,255,.08);
  box-shadow:0 0 0 2000px rgba(6,0,15,.5), 0 0 40px rgba(4,127,255,.35); transition:left .8s cubic-bezier(.65,0,.25,1), width .8s cubic-bezier(.65,0,.25,1); pointer-events:none; }

/* ── Website: countdown and page switcher on the left, one viewer on the right ── */
.dd-site-grid { display:grid; grid-template-columns:minmax(0,.62fr) minmax(0,1.38fr); gap:clamp(28px, 4vw, 56px); align-items:center; margin-top:clamp(40px, 5vw, 56px); }
/* The countdown block as the home page sets it: a two-tone line, then four tiles, the first in the brand gradient. */
.dd-count-title { margin:0 0 16px; font:700 clamp(22px, 2vw, 28px)/1.2 Satoshi,Inter,sans-serif; letter-spacing:-.02em; color:#fff; }
.dd-count-title span { background:var(--dd-grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.dd-count { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; max-width:420px; }
.dd-count > div { display:flex; flex-direction:column; align-items:center; gap:4px; padding:14px 4px 12px; border-radius:12px; background:#2a2433; }
.dd-count > div.is-lead { background:var(--dd-grad); box-shadow:0 18px 40px -18px rgba(22,104,255,.9); }
.dd-count b { font:700 clamp(30px, 3vw, 40px)/1.1 Satoshi,Inter,sans-serif; font-variant-numeric:tabular-nums; letter-spacing:-.02em; }
.dd-count span { font-size:13.5px; color:rgba(255,255,255,.75); }
.dd-count b.is-tick { animation:dd-tick .45s var(--mn-ease); }
@keyframes dd-tick { from { opacity:.2; translate:0 -8px; } }
.dd-pages { display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }
.dd-pages button { all:unset; box-sizing:border-box; cursor:pointer; padding:11px 16px; border-radius:12px; border:1px solid var(--dd-line); background:rgba(255,255,255,.04); font:600 14px/1 Satoshi,Inter,sans-serif; color:rgba(255,255,255,.7); transition:color .3s ease, background .3s ease, border-color .3s ease; }
.dd-pages button.is-on { color:#fff; background:var(--dd-grad); border-color:transparent; }
.dd-pages button:focus-visible { outline:2px solid var(--dd-blue2); outline-offset:2px; }
.dd-site-stage { position:relative; display:grid; place-items:center; min-height:540px; }
.dd-site-browser { width:100%; transition:opacity .5s ease, scale .6s var(--mn-ease), filter .5s ease; }
.dd-site-view { aspect-ratio:1440/900; }
.dd-site-view > img { width:100%; height:auto; opacity:0; transition:opacity .5s ease; }
.dd-site-view > img.is-on { opacity:1; }
.dd-site-view > img.is-pan { animation:dd-pan var(--t,12s) cubic-bezier(.45,0,.55,1) 1s infinite alternate; }
.dd-site-phone > .mn-phone-frame .mn-screen > img.is-pan { animation:dd-pan var(--t,24s) cubic-bezier(.45,0,.55,1) .6s infinite alternate; }
@keyframes dd-pan { 0%, 8% { translate:0 0; } 92%, 100% { translate:0 var(--travel,0px); } }
.dd-site-phone { --w:236px; position:absolute; left:50%; top:50%; translate:-50% -46%; opacity:0; scale:.9; pointer-events:none; transition:opacity .5s ease, scale .6s var(--mn-ease), translate .6s var(--mn-ease); }
.dd-site-phone .mn-phone-frame { box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.14), inset 0 0 0 4px #08080b, 0 60px 100px -40px rgba(4,127,255,.6); }
.dd-site-phone .mn-screen > img { height:auto; }
.dd-site-sec[data-view="mobile"] .dd-site-phone { opacity:1; scale:1; translate:-50% -50%; pointer-events:auto; }
.dd-site-sec[data-view="mobile"] .dd-site-browser { opacity:.18; scale:.94; filter:blur(2px); }

/* ── Visual system ── */
.dd-system { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:clamp(40px, 5vw, 56px); align-items:stretch; }
.dd-sys { display:flex; flex-direction:column; gap:10px; padding:24px; border-radius:22px; border:1px solid rgba(198,153,255,.14); }
.dd-sys h3 { margin-top:auto; padding-top:16px; }
.dd-sys p { margin:0; color:var(--mn-mute); font-size:16px; line-height:1.55; }
.dd-heat { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; }
.dd-heat i { aspect-ratio:1.45; border-radius:4px; background:var(--c); opacity:0; scale:.5; transition:opacity .5s ease, scale .6s var(--mn-ease), background-color 1.2s ease; transition-delay:calc(var(--k) * 14ms); }
.dd-sys.is-in .dd-heat i { opacity:1; scale:1; }
.dd-ramp { list-style:none; margin:12px 0 0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px 10px; }
.dd-ramp li { display:flex; align-items:center; gap:7px; font:500 12px/1 var(--dd-mono); color:rgba(255,255,255,.7); }
.dd-ramp i { width:12px; height:12px; border-radius:3px; background:var(--c); flex:none; box-shadow:inset 0 0 0 1px rgba(255,255,255,.12); }
.dd-lines { width:100%; height:auto; border-radius:12px; background:repeating-linear-gradient(0deg,transparent 0 29px,rgba(255,255,255,.06) 29px 30px),var(--dd-night); border:1px solid var(--dd-line); padding:8px 0; overflow:visible; }
.dd-lines path { fill:none; stroke:var(--c); stroke-width:2; stroke-linejoin:round; stroke-dasharray:520; stroke-dashoffset:520; transition:stroke-dashoffset 1.8s var(--mn-ease); transition-delay:calc(.2s + var(--k) * .18s); }
.dd-sys.is-in .dd-lines path { stroke-dashoffset:0; }
.dd-series { list-style:none; margin:12px 0 0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px 10px; }
.dd-series li { display:flex; align-items:center; gap:7px; font-size:13.5px; color:rgba(255,255,255,.75); }
.dd-series li::before { content:""; width:14px; height:3px; border-radius:2px; background:var(--c); box-shadow:0 0 8px var(--c); }
.dd-kpis { display:grid; gap:8px; }
.dd-kpis > div { display:grid; grid-template-columns:1fr auto; grid-template-rows:auto auto; align-items:center; gap:4px 10px; padding:11px 14px; border-radius:12px; background:var(--dd-panel); border:1px solid var(--dd-line);
  opacity:0; translate:-14px 0; transition:opacity .5s ease, translate .6s var(--mn-ease); }
.dd-kpis > div:nth-child(2) { transition-delay:.12s; } .dd-kpis > div:nth-child(3) { transition-delay:.24s; }
.dd-sys.is-in .dd-kpis > div { opacity:1; translate:0 0; }
.dd-kpis small { font:500 10.5px/1 Inter,Satoshi,sans-serif; letter-spacing:.04em; text-transform:uppercase; color:rgba(255,255,255,.5); }
.dd-kpis b { grid-row:2; font:600 15px/1.2 Satoshi,Inter,sans-serif; }
.dd-badge { grid-row:1 / span 2; grid-column:2; display:inline-flex; align-items:center; gap:5px; padding:4px 8px; border-radius:5px; font:600 12px/1 Inter,Satoshi,sans-serif; color:#fff; }
.dd-badge::before { content:""; width:0; height:0; border-left:4px solid transparent; border-right:4px solid transparent; }
.dd-badge.is-up { background:var(--dd-green); } .dd-badge.is-up::before { border-bottom:5px solid #fff; }
.dd-badge.is-down { background:var(--dd-red); } .dd-badge.is-down::before { border-top:5px solid #fff; }
.dd-badge.is-flat { background:#4a4553; } .dd-badge.is-flat::before { width:8px; height:2px; border:0; background:#fff; }
.dd-buttons { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:6px; }
.dd-btn { display:grid; place-items:center; padding:12px 10px; border-radius:12px; background:#2a2433; font:700 14px/1 Satoshi,Inter,sans-serif; color:#fff; }
.dd-btn.is-primary { background:var(--dd-grad); box-shadow:0 14px 30px -14px rgba(22,104,255,.9); }

/* ── Outcome ── */
.dd-outcome .mn-big-quote .mn-w > span { background:linear-gradient(100deg,#fff 40%,#9ec9ff 75%,#c699ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.dd-takeaways { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:clamp(36px, 4vw, 52px); }
.dd-take { display:flex; flex-direction:column; gap:10px; padding:24px; border-radius:22px; border:1px solid rgba(198,153,255,.14); }
.dd-take::before { content:""; width:34px; height:3px; border-radius:2px; background:var(--dd-grad); margin-bottom:8px; }
.dd-take p { margin:0; color:var(--mn-mute); font-size:16px; line-height:1.55; }

/* ── Responsive ── */
@media (max-width:1024px) {
  .dd-hero-grid { grid-template-columns:1fr; }
  .dd-hero-stage { height:520px; max-width:720px; width:100%; margin-inline:auto; }
  .dd-ticker { left:0; }
  .dd-lens { grid-template-columns:minmax(0,1fr); }
  .dd-lens-side { gap:14px; min-width:0; }
  .dd-lens-list { grid-auto-flow:column; grid-auto-columns:minmax(210px, 1fr); overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; padding-bottom:2px; }
  .dd-lens-list::-webkit-scrollbar { display:none; }
  .dd-lens-list button { height:100%; border-color:var(--dd-line); }
  .dd-graph { grid-template-columns:1fr; }
  .dd-graph-map { max-width:400px; }
  .dd-site-grid { grid-template-columns:1fr; }
  .dd-system { grid-template-columns:1fr 1fr; }
  .dd-sys--ui { grid-column:1 / -1; }
}
@media (max-width:767px) {
  .dd-hero-stage { height:400px; }
  .dd-hero-browser { top:20px; left:0; transform:none; }
  .dd-ticker { width:100%; bottom:0; padding:12px 12px 8px; }
  .dd-ticker-rows li { gap:10px; font-size:10.5px; padding:7px 8px; }
  .dd-ticker-rows code { font-size:10.5px; }
  .dd-ticker-rows li:nth-child(n+3) { display:none; }
  .dd-decode { grid-template-columns:1fr; }
  .dd-code { padding:20px; }
  .dd-code-line { height:auto; min-height:46px; padding:8px 12px; }
  .dd-hash { font-size:13.5px; padding:0 12px; }
  .dd-utabs button { padding:10px 8px 12px; font-size:14px; }
  .dd-cam { aspect-ratio:4/3.4; }
  .dd-graph-map { max-width:320px; }
  .dd-graph-nodes button { width:calc(64px * var(--s)); height:calc(64px * var(--s)); margin:calc(-32px * var(--s)) 0 0 calc(-32px * var(--s)); font-size:11px; }
  .dd-graph-core { width:72px; height:72px; }
  .dd-graph-core b { font-size:10.5px; }
  .dd-graph-shots { aspect-ratio:1.2; }
  .dd-flow { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
  .dd-flow::before { display:none; }
  .dd-flow button { font-size:13px; padding:11px 6px; gap:7px; }
  .dd-band { border-radius:6px; }
  .dd-count { gap:8px; }
  .dd-count b { font-size:28px; }
  .dd-count span { font-size:12px; }
  .dd-site-stage { min-height:520px; }
  .dd-site-sec:not([data-view="mobile"]) .dd-site-stage { min-height:0; }
  .dd-system, .dd-takeaways { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) {
  .dd-net-l path { animation:none; opacity:1; }
  .dd-net-n circle, .dd-graph-core, .dd-graph-nodes button, .dd-chip, .dd-kpis > div, .dd-heat i, .dd-hero-browser, .dd-ticker { opacity:1 !important; scale:none !important; translate:none !important; }
  .dd-graph-l path, .dd-lines path { stroke-dashoffset:0 !important; }
  .dd-hash { display:none; }
  .dd-site-sec[data-view="mobile"] .dd-site-phone { translate:-50% -50% !important; }
  .dd-site-phone { translate:-50% -50% !important; }
}
