/* DigiKaha marketing page. All component styles stay inside .dk-landing. */
body:has(.dk-landing) { margin: 0; }
html:has(.dk-landing) { scroll-behavior: smooth; scroll-padding-top: 88px; }

.dk-landing {
  /* Color: one accent, used sparingly */
  --dk-ink: #0f172a;
  --dk-ink-2: #334155;
  --dk-muted: #5b6b80;
  --dk-faint: #94a3b8;
  --dk-line: #e2e8f0;
  --dk-paper: #f8fafc;
  --dk-surface: #ffffff;
  --dk-blue: #0284c7;
  --dk-blue-dark: #0369a1;
  --dk-blue-soft: #e0f2fe;
  --dk-mint: #059669;
  --dk-mint-soft: #d1fae5;
  --dk-amber: #d97706;
  --dk-amber-soft: #fef3c7;
  --dk-navy: #0b1329;
  /* POS tile palette (matches the live register) */
  --dk-tile-blue: #e0e7ff;   --dk-tile-blue-b: #a5b4fc;
  --dk-tile-mint: #d1fae5;   --dk-tile-mint-b: #6ee7b7;
  --dk-tile-pink: #fce7f3;   --dk-tile-pink-b: #f9a8d4;
  --dk-tile-amber: #fef3c7;  --dk-tile-amber-b: #fcd34d;
  /* Shape, depth, motion */
  --dk-r-sm: 10px;
  --dk-r-md: 20px;
  --dk-r-lg: 28px;
  --dk-shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .05);
  --dk-shadow-lg: 0 2px 6px rgba(15, 23, 42, .05), 0 30px 60px -20px rgba(15, 23, 42, .25);
  --dk-ease: cubic-bezier(.2, .7, .2, 1);
  --dk-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;

  font-family: var(--font-plus-jakarta, 'Plus Jakarta Sans'), -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--dk-ink);
  background: var(--dk-paper);
  color-scheme: light;
  overflow: clip;
  -webkit-font-smoothing: antialiased;
}
.dk-landing *, .dk-landing *::before, .dk-landing *::after { box-sizing: border-box; }
.dk-landing :is(h1, h2, h3, p, figure, ul, ol) { margin: 0; padding: 0; }
.dk-landing :is(ul, ol) { list-style: none; }
.dk-landing :is(h1, h2, h3) { color: inherit; font-family: inherit; font-weight: 800; }
.dk-landing a { color: inherit; text-decoration: none; }
.dk-landing button { font: inherit; color: inherit; cursor: pointer; }
.dk-landing svg { width: 20px; height: 20px; flex-shrink: 0; }
.dk-landing img { display: block; max-width: 100%; height: auto; }
.dk-landing [hidden] { display: none !important; }
.dk-landing :is(a, button, summary, input):focus-visible { outline: 3px solid var(--dk-blue); outline-offset: 3px; border-radius: 8px; }
.dk-landing ::selection { background: #bae6fd; color: var(--dk-ink); }

.dk-container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.dk-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.dk-skip { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: #fff; font-weight: 600; border-radius: 8px; box-shadow: var(--dk-shadow-sm); }
.dk-skip:focus { top: 16px; }

/* Shared type */
.dk-landing h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -.03em; }
.dk-landing h2 span, .dk-landing h1 span { color: var(--dk-faint); }
.dk-eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dk-blue); }
.dk-micro { font-size: 13px; color: var(--dk-faint); }
.dk-text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--dk-blue); }
.dk-text-link svg { width: 16px; height: 16px; transition: transform .3s var(--dk-ease); }
.dk-text-link:hover svg { transform: translateX(3px); }

/* Buttons */
.dk-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--dk-r-sm); font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .3s var(--dk-ease), box-shadow .3s var(--dk-ease); }
.dk-button svg { width: 18px; height: 18px; transition: transform .3s var(--dk-ease); }
.dk-button:hover svg { transform: translateX(3px); }
.dk-landing .dk-primary { background: var(--dk-blue); color: #fff; box-shadow: 0 6px 20px -6px rgba(2, 132, 199, .55); }
.dk-landing .dk-primary:hover { background: var(--dk-blue-dark); transform: translateY(-1px); box-shadow: 0 10px 26px -8px rgba(2, 132, 199, .6); }
.dk-landing .dk-secondary { background: var(--dk-surface); color: var(--dk-ink); border-color: var(--dk-line); }
.dk-landing .dk-secondary:hover { border-color: var(--dk-ink); }
.dk-button.dk-small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.dk-button.dk-large { min-height: 58px; padding: 0 30px; font-size: 17px; }

/* Header */
.dk-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.dk-header.is-scrolled { background: rgba(248, 250, 252, .82); border-color: var(--dk-line); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); }
.dk-header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.dk-brand img { width: 150px; }
.dk-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.dk-nav a { font-size: 15px; font-weight: 600; color: var(--dk-muted); transition: color .2s; }
.dk-nav a:hover { color: var(--dk-ink); }
.dk-header-actions { display: flex; align-items: center; gap: 12px; }
.dk-menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--dk-surface); border: 1px solid var(--dk-line); border-radius: var(--dk-r-sm); }
.dk-nav-mobile-cta { display: none; }

/* Hero */
.dk-hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 6vw, 80px); }
.dk-hero::before { content: ''; position: absolute; z-index: 0; right: -10%; top: -10%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; background: radial-gradient(closest-side, rgba(56, 189, 248, .22), transparent); pointer-events: none; }
.dk-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5.5fr) minmax(0, 6.5fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.dk-landing h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance; }
.dk-h1-row { display: inline-block; white-space: nowrap; }
.dk-lead { margin-top: 20px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--dk-muted); max-width: 44ch; }
.dk-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.dk-watch-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--dk-ink-2); }
.dk-play { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--dk-surface); border: 1px solid var(--dk-line); color: var(--dk-blue); box-shadow: var(--dk-shadow-sm); transition: transform .3s var(--dk-ease); }
.dk-play svg { width: 14px; height: 14px; margin-left: 2px; }
.dk-watch-link:hover .dk-play { transform: scale(1.08); }
.dk-trust { display: flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 14px; color: var(--dk-muted); }
.dk-trust svg { width: 16px; height: 16px; color: var(--dk-mint); }

/* Device + HTML register (text-only tiles, same as the live POS) */
.dk-hero-visual { position: relative; }
.dk-device { position: relative; padding: 12px; background: #0f172a; border-radius: var(--dk-r-lg); box-shadow: var(--dk-shadow-lg); }
.dk-pos { container-type: inline-size; background: #fff; border-radius: 18px; overflow: hidden; font-size: 12px; }
.dk-pos-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--dk-line); }
.dk-pos-tabs { display: flex; gap: 14px; align-items: center; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dk-muted); }
.dk-pos-tabs b { color: var(--dk-ink); padding-bottom: 2px; border-bottom: 2px solid var(--dk-ink); }
.dk-pos-tabs i { font-style: normal; display: inline-flex; align-items: center; gap: 5px; }
.dk-pos-tabs i::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dk-c-blue { color: #6366f1; } .dk-c-amber { color: var(--dk-amber); } .dk-c-mint { color: var(--dk-mint); }
.dk-pos-drawer { font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--dk-mint-soft); color: #047857; text-transform: uppercase; letter-spacing: .05em; }
.dk-pos-main { display: grid; grid-template-columns: 1fr 34%; }
.dk-pos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px; background: #fafbfc; }
.dk-tile { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px; border: 1px solid; border-radius: 10px; text-align: left; line-height: 1.25; }
.dk-tile strong { font-size: 12px; font-weight: 600; color: var(--dk-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-tile small { font-size: 10px; color: var(--dk-muted); }
.dk-tile b { margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(15, 23, 42, .08); font-family: var(--dk-mono); font-size: 12px; font-weight: 700; color: var(--dk-ink); }
.dk-tile em { position: absolute; top: 6px; right: 8px; font-style: normal; font-size: 9px; font-weight: 600; color: var(--dk-muted); }
.dk-t-blue { background: var(--dk-tile-blue); border-color: var(--dk-tile-blue-b); }
.dk-t-mint { background: var(--dk-tile-mint); border-color: var(--dk-tile-mint-b); }
.dk-t-pink { background: var(--dk-tile-pink); border-color: var(--dk-tile-pink-b); }
.dk-t-amber { background: var(--dk-tile-amber); border-color: var(--dk-tile-amber-b); }
.dk-pos-order { display: flex; flex-direction: column; padding: 12px; border-left: 1px solid var(--dk-line); }
.dk-pos-label { font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dk-muted); }
.dk-pos-lines { display: grid; gap: 8px; margin-top: 10px; }
.dk-pos-line { display: grid; grid-template-columns: 1fr auto; padding: 8px 0; border-bottom: 1px solid var(--dk-line); }
.dk-pos-line strong { font-size: 11px; font-weight: 600; }
.dk-pos-line small { grid-row: 2; font-family: var(--dk-mono); font-size: 10px; color: var(--dk-muted); }
.dk-pos-line i { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-size: 10px; font-weight: 600; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--dk-line); border-radius: 6px; }
.dk-pos-total { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--dk-line); }
.dk-swap { display: grid; }
.dk-swap b { grid-area: 1 / 1; font-family: var(--dk-mono); font-size: clamp(16px, 3.4cqi, 24px); font-weight: 700; letter-spacing: -.02em; }
.dk-pos-charge { display: block; margin-top: 10px; padding: 10px; border-radius: 9px; background: var(--dk-mint); color: #fff; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.dk-sale-toast { position: absolute; left: -28px; bottom: 44px; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; background: var(--dk-surface); border: 1px solid var(--dk-line); border-radius: 16px; box-shadow: var(--dk-shadow-lg); }
.dk-toast-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--dk-mint-soft); color: var(--dk-mint); }
.dk-toast-icon svg { width: 18px; height: 18px; }
.dk-sale-toast strong { display: block; font-family: var(--dk-mono); font-size: 18px; color: var(--dk-mint); line-height: 1.2; }
.dk-sale-toast small { font-size: 12px; color: var(--dk-muted); }

/* Hero sale loop: tap → line → total → charge → toast (8s) */
.dk-anim .dk-tap-a { animation: dk-tap-a 8s var(--dk-ease) infinite; }
.dk-anim .dk-tap-b { animation: dk-tap-b 8s var(--dk-ease) infinite; }
.dk-anim .dk-line-a { animation: dk-line-a 8s var(--dk-ease) infinite; }
.dk-anim .dk-line-b { animation: dk-line-b 8s var(--dk-ease) infinite; }
.dk-anim .dk-sw-0 { animation: dk-sw-0 8s steps(1) infinite; }
.dk-anim .dk-sw-1 { animation: dk-sw-1 8s steps(1) infinite; }
.dk-anim .dk-sw-2 { animation: dk-sw-2 8s steps(1) infinite; }
.dk-hero .dk-anim .dk-pos-charge { animation: dk-charge 8s var(--dk-ease) infinite; }
.dk-anim .dk-sale-toast { animation: dk-toast 8s var(--dk-ease) infinite; }
@keyframes dk-tap-a { 0%, 9%, 18%, 100% { transform: none; box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); } 12% { transform: scale(.95); box-shadow: 0 0 0 6px rgba(2, 132, 199, .25); } }
@keyframes dk-tap-b { 0%, 27%, 36%, 100% { transform: none; box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); } 30% { transform: scale(.95); box-shadow: 0 0 0 6px rgba(2, 132, 199, .25); } }
@keyframes dk-line-a { 0%, 13% { opacity: 0; transform: translateX(12px); } 16%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes dk-line-b { 0%, 31% { opacity: 0; transform: translateX(12px); } 34%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
@keyframes dk-sw-0 { 0% { opacity: 1; } 15% { opacity: 0; } 92% { opacity: 1; } }
@keyframes dk-sw-1 { 0% { opacity: 0; } 15% { opacity: 1; } 33% { opacity: 0; } }
@keyframes dk-sw-2 { 0% { opacity: 0; } 33% { opacity: 1; } 92% { opacity: 0; } }
@keyframes dk-charge { 0%, 44%, 52%, 100% { transform: none; filter: none; } 48% { transform: scale(.96); filter: brightness(.88); } }
@keyframes dk-toast { 0%, 50% { opacity: 0; transform: translateY(14px) scale(.96); } 55%, 86% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(6px); } }

/* Works-with strip */
.dk-works { display: flex; justify-content: center; padding-bottom: 24px; }
.dk-works ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 10px; background: var(--dk-surface); border: 1px solid var(--dk-line); border-radius: 999px; box-shadow: var(--dk-shadow-sm); }
.dk-works li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--dk-ink-2); background: var(--dk-paper); border-radius: 999px; }
.dk-works li svg { width: 18px; height: 18px; color: var(--dk-muted); }
.dk-works .dk-works-icon { padding: 8px 10px; background: none; }
.dk-works-sep { width: 1px; height: 24px; padding: 0 !important; background: var(--dk-line) !important; border-radius: 0 !important; }

/* Sections */
.dk-section { padding: clamp(88px, 11vw, 144px) 0; }
.dk-section-tight { padding-top: 0; }
.dk-head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }

/* Before / After */
.dk-compare { --pos: 50%; container-type: inline-size; position: relative; aspect-ratio: 16 / 8.5; border-radius: var(--dk-r-lg); overflow: hidden; border: 1px solid var(--dk-line); box-shadow: var(--dk-shadow-lg); user-select: none; touch-action: pan-y; }
.dk-compare-layer { position: absolute; inset: 0; }
.dk-before { background: radial-gradient(120% 90% at 30% 40%, #e7e3dd, #b9b4ac); filter: grayscale(1) contrast(.95); }
.dk-after { clip-path: inset(0 0 0 var(--pos)); background: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 100%); }
.dk-hand { font-family: 'Bradley Hand', 'Segoe Print', 'Comic Sans MS', cursive; color: #334155; }
.dk-notebook { position: absolute; left: 6%; top: 10%; width: 34%; padding: 4.5cqi 3cqi 3cqi 4.5cqi; display: grid; gap: .5cqi; background: repeating-linear-gradient(#fff 0 calc(2.6cqi - 1px), #cbd5e1 calc(2.6cqi - 1px) 2.6cqi); border-left: 3px solid #fca5a5; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transform: rotate(-4deg); font-size: 1.55cqi; line-height: 2.6cqi; }
.dk-notebook .dk-hand { display: block; }
.dk-hand-title { font-size: 1.9cqi; font-weight: 700; }
.dk-notebook s { color: #64748b; }
.dk-circled { padding: 0 .6cqi; border: 2px solid #475569; border-radius: 50%; }
.dk-hand-note { color: #7f1d1d; transform: rotate(-3deg); }
.dk-slip { position: absolute; width: 9%; aspect-ratio: 1 / 2; background: repeating-linear-gradient(#fafafa 0 1.2cqi, #d4d4d4 1.2cqi calc(1.2cqi + 1px)); border-radius: 2px; box-shadow: 0 6px 14px rgba(0, 0, 0, .2); }
.dk-slip-1 { left: 41%; top: 8%; transform: rotate(12deg); }
.dk-slip-2 { left: 37%; top: 50%; transform: rotate(-18deg); }
.dk-slip-3 { left: 3%; bottom: -6%; transform: rotate(28deg); }
.dk-calc { position: absolute; left: 22%; bottom: 6%; width: 14%; padding: 1cqi; background: #3f3f46; border-radius: 1cqi; box-shadow: 0 10px 22px rgba(0, 0, 0, .35); transform: rotate(8deg); }
.dk-calc-screen { display: block; padding: .6cqi; margin-bottom: .8cqi; background: #a3a3a3; border-radius: .4cqi; font-family: var(--dk-mono); font-size: 1.6cqi; text-align: right; color: #171717; }
.dk-calc-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5cqi; }
.dk-calc-keys i { aspect-ratio: 1; background: #71717a; border-radius: .3cqi; }
.dk-sticky { position: absolute; left: 30%; top: 4%; width: 10%; aspect-ratio: 1; padding: 1cqi; background: #fef08a; box-shadow: 0 6px 14px rgba(0, 0, 0, .2); transform: rotate(6deg); font-size: 1.3cqi; line-height: 1.3; }

.dk-eod { position: absolute; right: 6%; top: 50%; width: 38%; padding: 2.2cqi; transform: translateY(-50%); background: var(--dk-surface); border: 1px solid var(--dk-line); border-radius: 1.8cqi; box-shadow: var(--dk-shadow-lg); font-size: 1.2cqi; }
.dk-eod-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1cqi; }
.dk-eod-head strong { display: block; font-size: 1.6cqi; }
.dk-eod-head small { color: var(--dk-muted); font-size: 1.1cqi; }
.dk-balanced { display: inline-flex; align-items: center; gap: .5cqi; padding: .5cqi 1cqi; border-radius: 999px; background: var(--dk-mint-soft); color: #047857; font-weight: 700; font-size: 1.1cqi; }
.dk-balanced svg { width: 1.3cqi; height: 1.3cqi; }
.dk-eod-total { margin-top: 1.6cqi; }
.dk-eod-total small { display: block; color: var(--dk-muted); font-size: 1.1cqi; }
.dk-eod-total b { font-family: var(--dk-mono); font-size: 3cqi; letter-spacing: -.03em; }
.dk-eod-chart { display: flex; align-items: flex-end; gap: .5cqi; height: 7cqi; margin: 1.4cqi 0; }
.dk-eod-chart i { flex: 1; height: var(--h); background: linear-gradient(var(--dk-blue), #7dd3fc); border-radius: .4cqi .4cqi 0 0; }
.dk-eod-rows { display: grid; gap: .8cqi; }
.dk-eod-rows li { display: flex; align-items: center; gap: .8cqi; color: var(--dk-ink-2); }
.dk-eod-rows b { margin-left: auto; font-family: var(--dk-mono); }
.dk-eod-rows i { width: .8cqi; height: .8cqi; border-radius: 50%; }
.dk-dot-blue { background: var(--dk-blue); } .dk-dot-mint { background: var(--dk-mint); } .dk-dot-amber { background: var(--dk-amber); }
.dk-eod-drawer { display: flex; justify-content: space-between; margin-top: 1.4cqi; padding-top: 1.2cqi; border-top: 1px dashed var(--dk-line); color: var(--dk-muted); }
.dk-eod-drawer b { color: var(--dk-ink); font-family: var(--dk-mono); }

.dk-compare-tag { position: absolute; top: 20px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; pointer-events: none; }
.dk-tag-before { left: 20px; background: rgba(15, 23, 42, .7); color: #fff; }
.dk-tag-after { right: 20px; background: var(--dk-surface); color: var(--dk-ink); box-shadow: var(--dk-shadow-sm); }
.dk-compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); pointer-events: none; }
.dk-compare-handle span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 48px; height: 48px; transform: translate(-50%, -50%); background: #fff; border-radius: 50%; box-shadow: var(--dk-shadow-lg); color: var(--dk-ink); transition: transform .3s var(--dk-ease); }
.dk-compare:hover .dk-compare-handle span { transform: translate(-50%, -50%) scale(1.08); }
.dk-compare:has(.dk-compare-range:focus-visible) .dk-compare-handle span { outline: 3px solid var(--dk-blue); outline-offset: 3px; }
.dk-compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }

/* Benefit scenes */
.dk-scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dk-scene { display: flex; flex-direction: column; background: var(--dk-surface); border: 1px solid var(--dk-line); border-radius: var(--dk-r-lg); overflow: hidden; transition: transform .4s var(--dk-ease), box-shadow .4s var(--dk-ease); }
.dk-scene:hover { transform: translateY(-4px); box-shadow: var(--dk-shadow-lg); }
.dk-scene-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1 / .88; padding: 28px; overflow: hidden; }
.dk-sv-blue { background: linear-gradient(160deg, #e0f2fe, #f0f9ff); }
.dk-sv-amber { background: linear-gradient(160deg, #fef3c7, #fffbeb); }
.dk-sv-navy { background: linear-gradient(160deg, #0b1329, #1e293b); }
.dk-scene-copy { padding: 24px 28px 30px; }
.dk-scene-copy h3 { font-size: 22px; letter-spacing: -.02em; }
.dk-scene-copy p { margin-top: 6px; color: var(--dk-muted); font-size: 16px; }

.dk-mini { width: 100%; max-width: 300px; padding: 12px; background: #fff; border-radius: 16px; box-shadow: var(--dk-shadow-lg); }
.dk-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.dk-mini-grid-3 { grid-template-columns: repeat(2, 1fr); }
.dk-mini .dk-tile b { margin-top: 6px; padding-top: 6px; }
.dk-anim .dk-tap-loop { animation: dk-tap-loop 4.2s var(--dk-ease) infinite; animation-delay: var(--d, 0s); }
@keyframes dk-tap-loop { 0%, 8%, 100% { transform: none; box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); } 4% { transform: scale(.94); box-shadow: 0 0 0 5px rgba(2, 132, 199, .25); } }
.dk-scan { position: relative; height: 34px; margin: 10px 0; border-radius: 8px; background: var(--dk-paper); overflow: hidden; }
.dk-barcode { position: absolute; inset: 8px 22%; background: repeating-linear-gradient(90deg, var(--dk-ink) 0 2px, transparent 2px 4px, var(--dk-ink) 4px 5px, transparent 5px 8px); opacity: .8; }
.dk-laser { position: absolute; top: 4px; bottom: 4px; left: 18%; width: 2px; background: #ef4444; box-shadow: 0 0 8px 2px rgba(239, 68, 68, .55); }
.dk-anim .dk-laser { animation: dk-laser 2.1s ease-in-out infinite alternate; }
@keyframes dk-laser { to { left: 82%; } }
.dk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.dk-split span { padding: 8px; border: 1px dashed var(--dk-line); border-radius: 8px; font-size: 11px; color: var(--dk-muted); }
.dk-split b { display: block; font-family: var(--dk-mono); font-size: 13px; color: var(--dk-ink); }

.dk-tile-low { background: #fff7ed; border-color: var(--dk-amber); }
.dk-tile-low em { color: var(--dk-amber); font-weight: 800; }
.dk-anim .dk-tile-low { animation: dk-low 2.4s ease-in-out infinite; }
@keyframes dk-low { 0%, 100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, .35); } 50% { box-shadow: 0 0 0 7px rgba(217, 119, 6, 0); } }
.dk-low-pill { align-self: flex-start; margin-top: 6px; padding: 2px 8px; border-radius: 999px; background: var(--dk-amber); color: #fff; font-size: 10px; font-weight: 700; }
.dk-mini-grid-3 .dk-tile { min-height: 64px; }

.dk-analytics-card {
  width: 100%;
  max-width: 310px;
  background: #ffffff;
  border-radius: 16px;
  padding: 13px 15px;
  box-shadow: 0 24px 48px -12px rgba(11, 19, 41, 0.45);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
}
.dk-card-topbar { display: flex; justify-content: space-between; align-items: center; }
.dk-live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; color: var(--dk-ink); letter-spacing: .02em; }
.dk-live-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--dk-mint); box-shadow: 0 0 8px var(--dk-mint); animation: dk-pulse-dot 2s ease-in-out infinite; }
@keyframes dk-pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.85); } }
.dk-period-pill { font-size: 9px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--dk-paper); border: 1px solid var(--dk-line); color: var(--dk-muted); }
.dk-metric-hero { display: flex; justify-content: space-between; align-items: flex-end; }
.dk-metric-val small { display: block; font-size: 9px; color: var(--dk-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.dk-metric-val b { font-family: var(--dk-mono); font-size: 20px; font-weight: 800; color: var(--dk-ink); letter-spacing: -.03em; line-height: 1.1; }
.dk-growth-badge { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 999px; background: var(--dk-mint-soft); color: #047857; font-family: var(--dk-mono); font-size: 10px; font-weight: 700; }
.dk-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px 8px; background: var(--dk-paper); border-radius: 8px; border: 1px solid var(--dk-line); }
.dk-kpi-row div { display: flex; flex-direction: column; }
.dk-kpi-row small { font-size: 8px; color: var(--dk-muted); text-transform: uppercase; font-weight: 600; }
.dk-kpi-row strong { font-family: var(--dk-mono); font-size: 11px; color: var(--dk-ink); }
.dk-chart-box { display: flex; flex-direction: column; gap: 4px; }
.dk-chart-meta { display: flex; justify-content: space-between; align-items: center; }
.dk-chart-meta small { font-size: 9px; color: var(--dk-muted); }
.dk-peak-tag { font-size: 9px; font-weight: 700; color: #047857; }
.dk-bars-wrap { display: flex; align-items: flex-end; gap: 4px; height: 38px; padding-bottom: 2px; border-bottom: 1px solid var(--dk-line); }
.dk-bars-wrap i { flex: 1; height: var(--h); background: linear-gradient(180deg, #38bdf8, var(--dk-blue)); border-radius: 2px 2px 0 0; transform-origin: bottom; }
.dk-anim .dk-bars-wrap i { animation: dk-bar-rise 3.2s var(--dk-ease) infinite; }
.dk-bars-wrap i.dk-peak-bar { background: linear-gradient(180deg, #34d399, #059669); }
.dk-mix-box { display: flex; flex-direction: column; gap: 4px; }
.dk-mix-labels { display: flex; justify-content: space-between; font-size: 9px; color: var(--dk-muted); font-weight: 600; }
.dk-mix-labels span { display: inline-flex; align-items: center; gap: 4px; }
.dk-mix-labels i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dk-mix-cash { background: var(--dk-blue); }
.dk-mix-wallet { background: var(--dk-mint); }
.dk-mix-card { background: var(--dk-amber); }
.dk-mix-bar { height: 6px; border-radius: 999px; display: flex; overflow: hidden; gap: 1px; }
.dk-seg-cash { background: var(--dk-blue); }
.dk-seg-wallet { background: var(--dk-mint); }
.dk-seg-card { background: var(--dk-amber); }
.dk-ranking-box { display: flex; flex-direction: column; gap: 3px; padding-top: 4px; border-top: 1px solid var(--dk-line); }
.dk-ranking-title { display: flex; justify-content: space-between; font-size: 8px; color: var(--dk-muted); text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.dk-ranking-list { display: grid; gap: 3px; margin: 0; padding: 0; }
.dk-ranking-list li { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 6px; font-size: 10px; }
.dk-rank-num { font-size: 9px; font-weight: 700; color: var(--dk-faint); }
.dk-rank-name { font-weight: 600; color: var(--dk-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-rank-stat { font-family: var(--dk-mono); font-size: 9px; color: var(--dk-muted); }

/* Try it */
.dk-demo-section { background: var(--dk-surface); border-block: 1px solid var(--dk-line); }
.dk-demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.dk-demo-copy p:not(.dk-micro) { margin-top: 20px; font-size: 19px; color: var(--dk-muted); }
.dk-demo-copy .dk-micro { margin-top: 28px; }
.dk-simulator { padding: 20px; background: var(--dk-paper); border: 1px solid var(--dk-line); border-radius: var(--dk-r-lg); box-shadow: var(--dk-shadow-lg); }
.dk-sim-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dk-sim-header strong { font-size: 16px; }
.dk-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--dk-blue-soft); color: var(--dk-blue-dark); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.dk-sim-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dk-sim-products .dk-tile { padding: 14px; cursor: pointer; transition: transform .2s var(--dk-ease), box-shadow .2s var(--dk-ease); }
.dk-sim-products .dk-tile strong { font-size: 14px; }
.dk-sim-products .dk-tile small { font-size: 12px; }
.dk-sim-products .dk-tile b { font-size: 14px; }
.dk-sim-products .dk-tile:hover { transform: translateY(-2px); box-shadow: var(--dk-shadow-sm); }
.dk-sim-products .dk-tile:active { transform: scale(.97); }
.dk-cart-heading { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dk-muted); }
.dk-cart-heading b { margin-left: 6px; color: var(--dk-ink); }
#dk-reset { border: 0; background: none; padding: 4px 8px; font-size: 12px; font-weight: 600; color: var(--dk-muted); text-transform: uppercase; letter-spacing: .06em; }
#dk-reset:hover { color: var(--dk-ink); }
.dk-cart { min-height: 112px; padding: 4px 14px; background: #fff; border: 1px solid var(--dk-line); border-radius: 14px; }
.dk-cart-empty { padding: 26px 0; text-align: center; font-size: 14px; font-weight: 600; }
.dk-cart-empty span { font-weight: 500; color: var(--dk-faint); }
.dk-cart-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--dk-line); font-size: 14px; animation: dk-in .35s var(--dk-ease); }
.dk-cart-row:last-child { border-bottom: 0; }
.dk-cart-row div { display: flex; align-items: center; gap: 12px; }
.dk-cart-row strong { font-family: var(--dk-mono); font-size: 14px; }
.dk-cart-row button { width: 28px; height: 28px; border: 1px solid var(--dk-line); border-radius: 8px; background: #fff; font-weight: 700; line-height: 1; }
.dk-cart-row button:hover { border-color: var(--dk-ink); }
@keyframes dk-in { from { opacity: 0; transform: translateY(-4px); } }
.dk-sim-total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 4px 14px; }
.dk-sim-total span { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dk-muted); }
.dk-sim-total strong { font-family: var(--dk-mono); font-size: 30px; letter-spacing: -.03em; }
.dk-landing .dk-charge { width: 100%; background: var(--dk-mint); color: #fff; }
.dk-landing .dk-charge:hover:not(:disabled) { background: #047857; transform: translateY(-1px); }
.dk-landing .dk-charge:disabled { background: #cbd5e1; cursor: not-allowed; box-shadow: none; }

/* Pricing */
.dk-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.dk-plan { display: flex; flex-direction: column; padding: 32px; background: var(--dk-surface); border: 1px solid var(--dk-line); border-radius: var(--dk-r-md); }
.dk-plan h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
.dk-price { margin: 18px 0 24px; font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.dk-price span { margin-left: 6px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--dk-muted); }
.dk-plan ul { display: grid; gap: 12px; margin-bottom: 32px; }
.dk-plan li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--dk-ink-2); }
.dk-plan li svg { width: 18px; height: 18px; color: var(--dk-blue); }
.dk-plan .dk-button { margin-top: auto; width: 100%; }
.dk-plan-featured { border-color: var(--dk-blue); box-shadow: 0 0 0 1px var(--dk-blue), var(--dk-shadow-lg); }
.dk-plans-note { margin-top: 28px; text-align: center; font-size: 14px; color: var(--dk-muted); }
.dk-addons { max-width: 520px; margin: 16px auto 0; text-align: center; }
.dk-addons summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; color: var(--dk-ink-2); }
.dk-addons summary::-webkit-details-marker { display: none; }
.dk-addons summary svg { width: 16px; height: 16px; transition: transform .3s var(--dk-ease); }
.dk-addons[open] summary svg { transform: rotate(45deg); }
.dk-addons ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0; }
.dk-addons li { padding: 8px 14px; background: var(--dk-surface); border: 1px solid var(--dk-line); border-radius: 999px; font-size: 14px; }
.dk-addons li b { margin-left: 6px; font-family: var(--dk-mono); }

/* Close band */
.dk-close-wrap { padding-bottom: 0; }
.dk-close {
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: clamp(64px, 8vw, 96px) clamp(24px, 5vw, 48px) !important;
  text-align: center;
  color: #fff;
  background: var(--dk-navy);
  border-radius: var(--dk-r-lg);
  box-sizing: border-box;
}
.dk-close::before {
  content: '';
  position: absolute;
  inset: -40% 10% auto;
  height: 120%;
  background: radial-gradient(closest-side, rgba(56, 189, 248, .28), transparent);
  pointer-events: none;
}
.dk-close > * {
  position: relative;
  z-index: 1;
  width: auto;
}
.dk-close h2 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  margin: 0 0 36px 0 !important;
}
.dk-close-action {
  display: flex;
  justify-content: center;
  margin: 0 0 56px 0 !important;
}
.dk-close .dk-button {
  margin: 0 !important;
}
.dk-steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: min(740px, 100%) !important;
  margin: 0 0 48px 0 !important;
  padding: 0 !important;
}
.dk-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #cbd5e1;
}
.dk-steps li span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #7dd3fc;
  flex-shrink: 0;
}
@media (min-width: 761px) {
  .dk-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(50% + 38px);
    right: calc(-50% + 38px);
    height: 1px;
    border-top: 1px dashed rgba(255, 255, 255, .25);
    pointer-events: none;
  }
}
.dk-close-email {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0 !important;
  font-size: 15px;
  color: #94a3b8;
}
.dk-email { color: #e2e8f0; font-weight: 600; transition: color .2s; }
.dk-email:hover { color: #fff; }
.dk-copy { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; font-size: 13px; font-weight: 600; color: #e2e8f0 !important; transition: background .2s; }
.dk-copy svg { width: 14px; height: 14px; }
.dk-copy:hover { background: rgba(255, 255, 255, .16); }
.dk-copy-status { display: block; width: 100%; font-size: 13px; min-height: 1.2em; color: #7dd3fc; text-align: center; }

/* FAQ */
.dk-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.dk-faq-grid h2 + .dk-text-link { margin-top: 20px; }
.dk-faq-list { border-top: 1px solid var(--dk-line); }
.dk-faq-item { border-bottom: 1px solid var(--dk-line); }
.dk-faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; }
.dk-faq-item summary::-webkit-details-marker { display: none; }
.dk-faq-item summary svg { color: var(--dk-muted); transition: transform .3s var(--dk-ease); }
.dk-faq-item[open] summary svg { transform: rotate(45deg); }
.dk-faq-item p { padding: 0 48px 24px 0; color: var(--dk-muted); font-size: 16px; }

/* Footer */
.dk-footer { padding: 40px 0 48px; border-top: 1px solid var(--dk-line); }
.dk-footer-top, .dk-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 32px; }
.dk-footer-top .dk-brand img { width: 120px; }
.dk-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.dk-footer nav a { font-size: 14px; color: var(--dk-muted); }
.dk-footer nav a:hover { color: var(--dk-ink); }
.dk-footer-bottom { margin-top: 24px; font-size: 13px; color: var(--dk-faint); }

/* Dialogs */
.dk-landing dialog { border: 0; padding: 0; color: var(--dk-ink); background: transparent; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); }
.dk-landing dialog::backdrop { background: rgba(11, 19, 41, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dk-landing dialog[open] { animation: dk-pop .35s var(--dk-ease); }
@keyframes dk-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dk-dialog-x { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(15, 23, 42, .06); }
.dk-dialog-x:hover { background: rgba(15, 23, 42, .12); }
.dk-dialog-x svg { width: 16px; height: 16px; }
.dk-video-dialog { width: min(1080px, calc(100vw - 32px)); }
.dk-video-dialog video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--dk-r-md); }
.dk-video-dialog .dk-dialog-x { top: -48px; right: 0; background: rgba(255, 255, 255, .15); color: #fff; }
.dk-sale-dialog { width: min(400px, calc(100vw - 32px)); }
.dk-sale-dialog[open] { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px 28px 24px; background: var(--dk-surface); border-radius: var(--dk-r-lg); box-shadow: var(--dk-shadow-lg); text-align: center; }
.dk-dialog-mascot { width: 104px; margin-bottom: -8px; animation: dk-float 3s ease-in-out infinite; }
@keyframes dk-float { 50% { transform: translateY(-6px); } }
.dk-sale-dialog h2 { font-size: 26px; }
.dk-receipt-slip { width: 100%; padding: 18px; background: var(--dk-paper); border: 1px dashed #cbd5e1; border-radius: 12px; font-family: var(--dk-mono); font-size: 13px; text-align: left; }
.dk-receipt-header { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px dashed #cbd5e1; font-family: inherit; }
.dk-receipt-header span { color: var(--dk-muted); font-size: 11px; }
.dk-receipt-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.dk-receipt-grand-total { margin-top: 8px; padding-top: 10px; border-top: 1px dashed #cbd5e1; font-weight: 700; }
.dk-receipt-grand-total b { color: var(--dk-mint); font-size: 16px; }
.dk-sale-dialog .dk-button { width: 100%; }
.dk-dialog-again { border: 0; background: none; padding: 6px; font-size: 14px; font-weight: 600; color: var(--dk-muted); }
.dk-dialog-again:hover { color: var(--dk-ink); }

/* Scroll reveal: CSS scroll timelines where supported, JS class fallback otherwise */
.dk-landing.dk-js .dk-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--dk-ease), transform .7s var(--dk-ease); }
.dk-landing.dk-js .dk-reveal.is-in { opacity: 1; transform: none; }
.dk-anim.is-paused, .dk-anim.is-paused * { animation-play-state: paused !important; }

/* Responsive */
@media (max-width: 1024px) {
  .dk-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .dk-lead { margin-inline: auto; }
  .dk-hero-actions, .dk-trust { justify-content: center; }
  .dk-hero-visual { max-width: 720px; margin-inline: auto; width: 100%; }
  .dk-sale-toast { left: 12px; bottom: -20px; }
  .dk-scenes { grid-template-columns: 1fr 1fr; }
  .dk-scenes .dk-scene:last-child { grid-column: 1 / -1; }
  .dk-scenes .dk-scene:last-child .dk-scene-visual { aspect-ratio: 2 / 1; }
  .dk-demo-grid, .dk-faq-grid { grid-template-columns: 1fr; }
  .dk-demo-copy { text-align: center; }
  .dk-plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .dk-landing { font-size: 16px; }
  .dk-container { width: calc(100% - 32px); }
  .dk-header { background: rgba(248, 250, 252, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .dk-header-inner { min-height: 64px; gap: 12px; }
  .dk-brand img { width: 124px; }
  .dk-menu { display: inline-flex; }
  .dk-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--dk-surface); border-bottom: 1px solid var(--dk-line); box-shadow: var(--dk-shadow-lg); }
  .dk-nav.dk-open { display: flex; }
  .dk-nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--dk-line); }
  .dk-nav-mobile-cta { display: block; margin-top: 16px; }
  .dk-nav-mobile-cta .dk-button { width: 100%; border: 0; color: #fff; }
  .dk-header-actions .dk-small { display: none; }
  .dk-pos-main { grid-template-columns: 1fr; }
  .dk-pos-grid { grid-template-columns: repeat(2, 1fr); }
  .dk-pos-grid .dk-tile:nth-child(n+5) { display: none; }
  .dk-pos-order { border-left: 0; border-top: 1px solid var(--dk-line); }
  .dk-pos-tabs i:nth-of-type(n+3) { display: none; }
  .dk-works li { padding: 6px 12px; font-size: 13px; }
  .dk-works-sep { display: none !important; }
  .dk-compare { aspect-ratio: 4 / 5; }
  .dk-notebook { left: 4%; top: 18%; width: 46%; font-size: 2.6cqi; line-height: 4.4cqi; background: repeating-linear-gradient(#fff 0 calc(4.4cqi - 1px), #cbd5e1 calc(4.4cqi - 1px) 4.4cqi); }
  .dk-hand-title { font-size: 3cqi; }
  .dk-calc { left: 8%; width: 24%; bottom: 10%; }
  .dk-calc-screen { font-size: 2.8cqi; }
  .dk-sticky { display: none; }
  .dk-slip { width: 16%; }
  .dk-eod { right: 3%; width: 47%; padding: 3.4cqi; font-size: 2.3cqi; }
  .dk-eod-head strong { font-size: 2.8cqi; }
  .dk-eod-head small, .dk-balanced, .dk-eod-total small { font-size: 2.1cqi; }
  .dk-balanced svg { width: 2.4cqi; height: 2.4cqi; }
  .dk-eod-total b { font-size: 5cqi; }
  .dk-eod-chart { height: 12cqi; }
  .dk-eod-rows i { width: 1.6cqi; height: 1.6cqi; }
  .dk-eod-drawer { flex-direction: column; gap: 1cqi; }
  .dk-compare-tag { top: 12px; font-size: 12px; }
  .dk-tag-before { left: 12px; } .dk-tag-after { right: 12px; }
  .dk-scenes { grid-template-columns: 1fr; }
  .dk-scenes .dk-scene:last-child .dk-scene-visual { aspect-ratio: 1 / .88; }
  .dk-steps { grid-template-columns: 1fr; gap: 18px; width: 100%; max-width: 320px; margin: 36px auto 0; }
  .dk-steps li { flex-direction: row; text-align: left; gap: 16px; }
  .dk-steps li:not(:last-child)::after { display: none; }
  .dk-faq-item summary { font-size: 16px; }
  .dk-faq-item p { padding-right: 0; }
  .dk-footer-top, .dk-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Reduced motion: show the final frame of every loop */
@media (prefers-reduced-motion: reduce) {
  html:has(.dk-landing) { scroll-behavior: auto; }
  .dk-landing *, .dk-landing *::before, .dk-landing *::after { animation: none !important; transition: none !important; }
  .dk-landing.dk-js .dk-reveal { opacity: 1; transform: none; }
  .dk-anim .dk-sw-0, .dk-anim .dk-sw-1 { opacity: 0; }
  .dk-anim .dk-laser { left: 50%; }
}
