/* ==========================================================================
   Brainy Brands — dark theme (homepage proof of concept)
   Reference: mcfconnect.com — near-black canvas, translucent glass panels
   (no blur, just alpha + hairline + light bleeding through). Adapted with
   Brainy Brands' own accent — a deep, confident blue rather than the
   reference's orange, so the palette reads as its own — and its bulb mark
   driving the ambient glow. Type matches the rest of the site: Archivo +
   Public Sans.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@700;800&family=Public+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  --ink:        #0A0D12;
  --ink-raised: #12161D;
  --paper:      #F6F4EF;
  --paper-dim:  rgba(246, 244, 239, 0.68);
  --paper-mute: rgba(246, 244, 239, 0.46);

  --accent:      #4E8FFF;
  --accent-dim:  #2F6FE0;
  --accent-ink:  #071426;

  --go:         #34D399;
  --no:         #FB7185;
  --chart-2:    #F2A93B;

  --glass-bg:      rgba(255, 255, 255, 0.05);
  --glass-bg-hi:   rgba(255, 255, 255, 0.08);
  --glass-border:  rgba(255, 255, 255, 0.12);
  --glass-border-hi: rgba(255, 255, 255, 0.22);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shell: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 14px;
  --header-h: 4.5rem;
}

/* --- Reset / base ------------------------------------------------------- */

.dt * , .dt *::before, .dt *::after { box-sizing: border-box; }
.dt { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.dt :where(h1, h2, h3, h4) { font-family: var(--font-display); margin: 0; line-height: 1.05; letter-spacing: -0.02em; color: var(--paper); }
.dt :where(p) { margin: 0; }
.dt a { color: inherit; }
.dt img, .dt svg { display: block; max-width: 100%; }
.dt ::selection { background: var(--accent); color: var(--ink); }

.dt-shell { max-width: var(--shell); margin-inline: auto; padding-inline: clamp(1.25rem, 1rem + 2vw, 2.5rem); position: relative; }
.dt-shell--tight { max-width: 860px; }

.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* --- Ambient glow atmosphere ---------------------------------------------
   Fixed, full-bleed radial blobs behind everything — the signature move
   borrowed from the reference, tuned to Brainy Brands' own bulb mark. */
.dt-atmosphere {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.dt-atmosphere::before, .dt-atmosphere::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(2px);
}
.dt-atmosphere::before {
  width: 60vw; height: 60vw; top: -18vw; right: -12vw;
  background: radial-gradient(circle, rgba(78,143,255,0.16) 0%, rgba(78,143,255,0) 70%);
}
.dt-atmosphere::after {
  width: 50vw; height: 50vw; bottom: 8vw; left: -14vw;
  background: radial-gradient(circle, rgba(78,143,255,0.10) 0%, rgba(78,143,255,0) 70%);
}
.dt main, .dt footer { position: relative; z-index: 1; }

/* --- Glass component ------------------------------------------------------ */
.dt-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}
.dt-glass--hi { background: var(--glass-bg-hi); border-color: var(--glass-border-hi); }

/* --- Header ---------------------------------------------------------------- */
.dt-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(10, 13, 18, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
}
.dt-header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; min-height: var(--header-h); padding-block: 0.75rem; }
.dt-brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.dt-brand img { height: 2.5rem; width: auto; }
.dt-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem; list-style: none; margin: 0 auto 0 2.5rem; padding: 0; flex: 1; }
.dt-nav > li { position: relative; }
.dt-nav a {
  display: inline-block; padding: 0.5rem 1rem; color: var(--paper-dim);
  font-size: 0.9rem; font-weight: 500; text-decoration: none;
  transition: color 0.2s var(--ease);
}
.dt-nav a:hover, .dt-nav a[aria-current="page"] { color: var(--paper); }
.dt-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; white-space: nowrap;
  background: var(--accent); color: var(--accent-ink);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.dt-cta:hover { background: #6FA3FF; transform: translateY(-1px); }
.dt-cta--ghost { background: transparent; color: var(--paper); border: 1px solid var(--glass-border-hi); }
.dt-cta--ghost:hover { background: var(--glass-bg); border-color: var(--paper-dim); }

/* Mobile nav toggle -- hidden on desktop, where .dt-nav-panel just renders
   inline as part of the header row. */
.dt-nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: stretch; gap: 5px; width: 2.75rem; height: 2.75rem; padding: 0 0.25rem; margin-right: -0.25rem; background: none; border: none; cursor: pointer; }
.dt-nav-toggle-bar { display: block; height: 2px; width: 100%; background: var(--paper); border-radius: 2px; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
.dt-nav-toggle[aria-expanded="true"] .dt-nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dt-nav-toggle[aria-expanded="true"] .dt-nav-toggle-bar:nth-child(2) { opacity: 0; }
.dt-nav-toggle[aria-expanded="true"] .dt-nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.dt-nav-panel { display: contents; }

/* Services submenu, reusing nav.js's class hooks */
.dt-nav .submenu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 1.4rem; height: 1.4rem; margin-left: -0.6rem; background: none; border: none; padding: 0; cursor: pointer; color: var(--paper-dim); }
.dt-nav .submenu-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform 0.2s var(--ease); }
.dt-nav .has-submenu.is-open .submenu-caret, .dt-nav .has-submenu:hover .submenu-caret, .dt-nav .has-submenu:focus-within .submenu-caret { transform: rotate(180deg); }
.dt-nav .submenu {
  position: absolute; top: 100%; left: 0; margin: 0.5rem 0 0; padding: 0.5rem; list-style: none;
  min-width: 280px; background: #12151C; border: 1px solid var(--glass-border-hi);
  border-radius: 10px; box-shadow: 0 24px 48px -16px rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s linear;
}
.dt-nav .has-submenu:hover .submenu, .dt-nav .has-submenu:focus-within .submenu, .dt-nav .has-submenu.is-open .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
@media (min-width: 901px) {
  .dt-nav .has-submenu.is-dismissed .submenu,
  .dt-nav .has-submenu.is-dismissed:hover .submenu,
  .dt-nav .has-submenu.is-dismissed:focus-within .submenu { opacity: 0; visibility: hidden; transform: translateY(4px); }
  .dt-nav .has-submenu.is-dismissed:hover .submenu-caret,
  .dt-nav .has-submenu.is-dismissed:focus-within .submenu-caret { transform: none; }
}
.dt-nav .submenu li { margin: 0; }
.dt-nav .submenu a { display: block; padding: 0.55rem 0.75rem; border-radius: 6px; font-size: 0.85rem; white-space: nowrap; }
.dt-nav .submenu a:hover { background: rgba(255,255,255,0.06); color: var(--paper); }

/* --- Sections --------------------------------------------------------------
   Deliberately tight: sections butt against each other, separated only by
   a hairline or a change in surface tone. No large empty padding blocks. */
.dt-section { padding-block: clamp(2.75rem, 2rem + 2.5vw, 4.5rem); border-top: 1px solid rgba(255,255,255,0.06); }
.dt-section:first-of-type { border-top: none; }
.dt-eyebrow { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.3vw, 1.9rem); font-weight: 800; letter-spacing: 0.01em; color: var(--accent); text-transform: uppercase; }
.dt-h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 700; }
.dt-lede { font-size: 1.1rem; color: var(--paper-dim); max-width: 62ch; margin-top: 0.85rem; }

/* --- Hero -------------------------------------------------------------------
   Asymmetric: copy + CTAs on the left, a glass proof panel on the right
   carrying the trust numbers, instead of a centered slogan stack. */
.dt-hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  padding-top: calc(var(--header-h) + 3rem); padding-bottom: 3rem;
  display: flex; align-items: center;
}

/* Sized off the hero's own rendered height (not viewport width), so it can
   never grow taller than the section that clips it — no cut-off at any
   screen size, whatever the headline's line count does to that height. */
.dt-hero-bulb {
  position: absolute; top: 54%; right: -2%; transform: translateY(-50%);
  height: 92%; aspect-ratio: 1 / 1; width: auto;
  color: var(--accent); opacity: 0.16; filter: blur(6px);
  pointer-events: none; z-index: 0;
}
.dt-hero-bulb-icon { display: block; height: 100%; width: auto; }
.dt-hero-bulb-rays { transform-box: fill-box; transform-origin: center; animation: dt-bulb-pulse 3.4s ease-in-out infinite; }
@keyframes dt-bulb-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.08); }
}

/* Aligned to the same 1200px shell-centering + left inset as the header,
   so the headline lines up with the logo instead of using its own margin. */
.dt-hero-copy { position: relative; z-index: 1; width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: clamp(1.25rem, 1rem + 2vw, 2.5rem); }
.dt-hero h1 { font-size: clamp(2.6rem, 1.9rem + 3.2vw, 4.2rem); font-weight: 800; max-width: 18ch; }
.dt-hero .hl { color: var(--accent); }
.dt-hero-lede { font-size: 1.15rem; color: var(--paper-dim); margin-top: 1.25rem; max-width: 52ch; }
.dt-hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }
.dt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-align: center; text-wrap: balance;
  text-decoration: none; transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.dt-btn--primary { background: var(--accent); color: var(--accent-ink); }
.dt-btn--primary:hover { background: #6FA3FF; transform: translateY(-1px); }
.dt-btn--ghost { background: var(--glass-bg); border: 1px solid var(--glass-border-hi); color: var(--paper); }
.dt-btn--ghost:hover { background: var(--glass-bg-hi); }
.dt-hero-note { margin-top: 2rem; font-size: 0.85rem; color: var(--paper-mute); }

/* --- Track record stat cards, their own section ---------------------------- */
.dt-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.dt-stat-card { padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.dt-stat-num { font-weight: 800; font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1; }
.dt-stat-label { font-size: 1.2rem; font-weight: 600; color: var(--paper); }
.dt-bio-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 1.75rem; }
.dt-bio-stats .dt-stat-card { padding: 1.1rem 1.25rem; gap: 0.35rem; }
.dt-bio-stats .dt-stat-num { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); }
.dt-bio-stats .dt-stat-label { font-size: 0.85rem; color: var(--paper-dim); }

/* --- VSL ---------------------------------------------------------------- */
.dt-vsl { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border-hi); }
.dt-vsl iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- Brand marquee (dark) ------------------------------------------------ */
.dt-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent); mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent); }
.dt-marquee-track { display: flex; align-items: center; width: max-content; gap: 3rem; animation: dt-scroll 140s linear infinite; }
.dt-marquee:hover .dt-marquee-track { animation-play-state: paused; }
.dt-marquee-set { display: flex; align-items: center; gap: 3rem; flex: none; }
.dt-marquee-logo { flex: none; display: flex; align-items: center; height: 1.5rem; }
/* Forced to a flat white mark (brightness(0) blackens every opaque pixel,
   invert(1) flips it to white) rather than grayscale+brighten, which washed
   out any logo whose ink was already dark — invisible on a near-black page
   regardless of the source file's original color. */
.dt-marquee-logo img { height: 100%; width: auto; max-width: 96px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.45; transition: filter 0.25s var(--ease), opacity 0.25s var(--ease); }
.dt-marquee:hover .dt-marquee-logo img { filter: none; opacity: 1; }
@keyframes dt-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Glass row list (pain points / differentiators / proof rows) -------- */
.dt-rows { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.75rem; }
.dt-row { padding: 1.5rem 1.75rem; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.25rem; align-items: start; }
.dt-row-icon { width: 1.5rem; height: 1.5rem; flex: none; margin-top: 0.15rem; }
.dt-row-icon svg { width: 100%; height: 100%; }
.dt-row h3 { grid-column: 2; font-size: 1.05rem; font-weight: 600; color: var(--accent); }
.dt-row p { grid-column: 2; color: var(--paper-dim); font-size: 0.95rem; }
.dt-row--no .dt-row-icon { color: var(--no); }
.dt-row--go .dt-row-icon { color: var(--go); }

/* Icon-less rows (no .dt-row-icon): drop the empty icon column so the
   text isn't pushed right by a column-gap with nothing in column 1. */
.dt-row:not(.dt-row--go):not(.dt-row--no) { grid-template-columns: 1fr; }
.dt-row:not(.dt-row--go):not(.dt-row--no) h3,
.dt-row:not(.dt-row--go):not(.dt-row--no) p { grid-column: 1; }

/* Two-column variant: a grid (not the default flex column) so each row's
   pair of boxes shares a height and lines up across both columns. */
.dt-rows--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.25rem; }
.dt-rows--grid .dt-row { padding: 1.25rem 1.5rem; align-items: center; }

/* --- Two-column qualify grid --------------------------------------------- */
.dt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.dt-split h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.dt-split .dt-rows { margin-top: 0; }
.dt-split .dt-row { padding: 1rem 1.25rem; align-items: center; }

/* --- Case study proof rows ------------------------------------------------ */
.dt-case-row { display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1.5rem; align-items: start; padding: 1.35rem 1.75rem; }
.dt-case-tag { font-size: 0.8rem; color: var(--paper-mute); text-transform: uppercase; letter-spacing: 0.03em; }
.dt-case-metric { grid-column: 1; font-weight: 700; font-size: 1.4rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.dt-case-line { grid-column: 1 / -1; font-size: 0.9rem; color: var(--paper-dim); }
.dt-case-logo { grid-row: 1 / span 2; grid-column: 2; align-self: center; justify-self: end; display: inline-flex; align-items: center; }
.dt-case-logo img { display: block; height: 38px; width: auto; max-width: 300px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.9; }

/* Reserved to its final width by JS before the count-up animation starts
   (see animateCount), so the digit count changing mid-count (e.g. "5" to
   "450") can't shift line-wraps and resize the card around it. */
.count-up { display: inline-block; font-variant-numeric: tabular-nums; }

/* --- Guarantee ------------------------------------------------------------- */
.dt-guarantee { text-align: center; padding: clamp(2.5rem, 2rem + 2vw, 4rem) clamp(1.5rem, 1rem + 2vw, 3rem); }
.dt-guarantee-statement { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.5rem); line-height: 1.15; max-width: 34ch; margin-inline: auto; }
.dt-guarantee-statement .hot { color: var(--accent); }
.dt-guarantee-terms { margin-top: 1.25rem; font-size: 1.05rem; color: var(--paper-dim); max-width: 52ch; margin-inline: auto; }
.dt-guarantee-fine { margin-top: 1rem; font-size: 0.85rem; color: var(--paper-mute); max-width: 52ch; margin-inline: auto; }

/* --- Step cards ------------------------------------------------------------ */
.dt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.dt-step { padding: 0; }
.dt-step-num { font-weight: 700; font-size: 1rem; color: var(--accent); }
.dt-step h3 { font-size: 1.1rem; margin-top: 0.75rem; }
.dt-step p { margin-top: 0.6rem; color: var(--paper-dim); font-size: 0.92rem; }

/* --- Prose ------------------------------------------------------------------ */
.dt-prose { color: var(--paper-dim); max-width: 68ch; }
.dt-prose > * + * { margin-top: 1rem; }
.dt-prose ol { padding-left: 1.25em; }
.dt-prose li + li { margin-top: 0.5em; }
.dt-prose strong { color: var(--paper); font-weight: 700; }
.dt-prose a, .dt-inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; }
.dt-prose h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.9rem); font-weight: 700; margin-top: 2.25rem; }
.dt-prose h2:first-child { margin-top: 0; }

/* --- Final CTA --------------------------------------------------------------- */
.dt-final { text-align: center; }
.dt-final .dt-h2 { max-width: 26ch; margin-inline: auto; }
.dt-final .dt-lede { margin-inline: auto; }
.dt-final-faq { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); text-align: left; }
.dt-final-faq-title { text-align: center; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 700; }
.dt-final-faq .dt-faq { margin-top: 1.25rem; }

/* --- Footer ------------------------------------------------------------------ */
.dt-footer { padding-block: 2.5rem 2rem; border-top: 1px solid var(--glass-border); }
.dt-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding-bottom: 1.5rem; }
.dt-footer-row img { height: 2rem; opacity: 0.85; }
.dt-footlinks { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.dt-footlinks a { color: var(--paper-dim); text-decoration: none; font-size: 0.9rem; }
.dt-footlinks a:hover { color: var(--paper); }
.dt-foot-social { display: flex; gap: 0.85rem; list-style: none; margin: 0; padding: 0; }
.dt-foot-social a { color: var(--paper-mute); display: inline-flex; }
.dt-foot-social svg { width: 1.1rem; height: 1.1rem; }
.dt-colophon { font-size: 0.8rem; color: var(--paper-mute); border-top: 1px solid var(--glass-border); padding-top: 1.5rem; }
.dt-colophon p + p { margin-top: 0.3rem; }
.dt-colophon a { color: var(--paper-dim); }

/* --- Reveal (kept identical mechanism to the site's existing JS) --------- */
[data-reveal] .rv { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal] .rv[data-in] { opacity: 1; transform: none; }

/* --- Focus states (accessibility floor) ---------------------------------- */
.dt a:focus-visible, .dt button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px;
}

/* --- Skip link ------------------------------------------------------------- */
.dt-skip-link { position: absolute; left: -9999px; z-index: 100; }
.dt-skip-link:focus { left: 1rem; top: 1rem; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; border-radius: 6px; text-decoration: none; font-weight: 600; }

/* --- Responsive ------------------------------------------------------------- */
@media (max-width: 900px) {
  .dt-stat-grid { grid-template-columns: 1fr; }
  .dt-split { grid-template-columns: 1fr; }
  .dt-steps { grid-template-columns: 1fr; }
  .dt-header-row { position: relative; flex-wrap: nowrap; }
  .dt-nav-toggle { display: flex; }
  .dt-nav-panel {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: #12151C; border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 1.25rem 1.25rem;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .dt-nav-panel.is-open { display: flex; }
  .dt-nav { flex-direction: column; align-items: stretch; flex: none; gap: 0; margin: 0; }
  .dt-nav > li { width: 100%; }
  .dt-nav a { display: block; padding: 0.85rem 0; font-size: 1rem; border-top: 1px solid rgba(255,255,255,0.08); }
  .dt-nav > li:first-child > a { border-top: none; }
  .dt-nav .has-submenu { display: flex; flex-wrap: wrap; align-items: center; }
  .dt-nav .has-submenu > a { flex: 1; border-top: none; }
  .dt-nav .submenu-toggle { margin-left: 0; width: 2.75rem; height: 2.75rem; }
  .dt-nav .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; width: 100%; flex-basis: 100%;
    margin: 0; padding: 0 0 0.5rem; border: none; box-shadow: none; background: none;
  }
  .dt-nav .has-submenu.is-open .submenu { display: block; }
  .dt-nav .submenu a { padding: 0.8rem 0.75rem; border-top: none; font-size: 0.9rem; color: var(--paper-dim); }
  .dt-cta { margin-top: 0.75rem; width: 100%; }
  .dt-hero { padding-top: calc(var(--header-h) + 5.5rem); }
}
@media (max-width: 640px) {
  .dt-case-row { grid-template-columns: 1fr; }
  .dt-case-metric { grid-column: 1; }
  .dt-case-logo { grid-column: 1; grid-row: auto; justify-self: start; margin-bottom: 0.4rem; }
  .dt-rows--grid { grid-template-columns: 1fr; }
  .dt-hero-actions { flex-direction: column; align-items: stretch; }
  .dt-hero-actions .dt-btn { width: 100%; }
  .dt-btn { font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dt-marquee-track { animation: none; }
  .dt-hero-bulb-rays { animation: none; }
  .dt [data-reveal] .rv { transition-duration: 0.01ms; }
}

/* ==========================================================================
   Interior-page components — added when the dark theme rolled out past the
   homepage. Same tokens, same glass/hairline language, sized for shorter
   pages that don't need a full-viewport hero.
   ========================================================================== */

/* --- Page hero: shorter than the homepage's, same bulb-glow device ------- */
.dt-page-hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 2.75rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.dt-page-hero h1 { font-size: clamp(2.1rem, 1.7rem + 2vw, 3.2rem); font-weight: 800; max-width: 22ch; }
.dt-page-hero .hl { color: var(--accent); }
.dt-header-row--center { justify-content: center; }
.dt-back-link { display: inline-block; font-size: 0.85rem; color: var(--paper-mute); text-decoration: none; }
.dt-back-link:hover { color: var(--paper-dim); }
.dt-audience { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.4rem); color: var(--paper-mute); margin-bottom: 0.5rem; }

/* --- Section tint / text utilities --------------------------------------- */
.dt-section--tint { background: var(--ink-raised); }
.dt-muted { color: var(--paper-mute); }
.dt-sm { font-size: 0.9rem; }
.dt-xs { font-size: 0.8rem; }
.dt-mobile-only { display: none; }
@media (max-width: 640px) {
  .dt-mobile-only { display: inline; }
  .dt-desktop-only { display: none; }
}
.dt-center { text-align: center; }
.dt-center .dt-lede { margin-inline: auto; }
.dt-btn--wide { width: 100%; }

/* --- Numbered / plain hairline lists (services, agreements) -------------- */
.dt-list-numbered { list-style: none; margin: 1.75rem 0 0; padding: 0; counter-reset: n; }
.dt-list-numbered > li { counter-increment: n; scroll-margin-top: 6rem; display: grid; grid-template-columns: 2.75rem minmax(0,1fr); gap: 0.25rem 1.25rem; padding-block: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); border-top: 1px solid rgba(255,255,255,0.08); }
.dt-list-numbered > li:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.dt-list-numbered > li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--accent); padding-top: 0.15em; }
.dt-list-numbered h3 { grid-column: 2; margin-bottom: 0; font-size: 1.05rem; font-weight: 600; }
.dt-list-numbered p { grid-column: 2; margin-top: 0.5rem; color: var(--paper-dim); max-width: 60ch; }
.dt-list-numbered--noindex > li { grid-template-columns: minmax(0,1fr); }
.dt-list-numbered--noindex > li::before { content: none; }
.dt-list-numbered--noindex h3, .dt-list-numbered--noindex p { grid-column: 1; }

/* --- Prose lists / FAQ answer lists share the same dash-bullet ----------- */
.dt-prose ul, .dt-faq .a ul { margin: 1rem 0 0; padding: 0; list-style: none; }
.dt-prose li, .dt-faq .a li { position: relative; padding: 0.35rem 0 0.35rem 1.4rem; color: var(--paper-dim); }
.dt-prose li::before, .dt-faq .a li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 0.65rem; height: 1px; background: var(--accent); }

/* --- Frame: hairline-bordered media -------------------------------------- */
.dt-frame { aspect-ratio: 16/9; border: 1px solid var(--glass-border-hi); border-radius: var(--radius); overflow: hidden; background: var(--ink-raised); }
.dt-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dt-frame--square { aspect-ratio: 1/1; }
.dt-frame--wide { aspect-ratio: 16/9; }
.dt-frame--content { aspect-ratio: 2560/1583; }

/* --- Portfolio "see more" reveal ------------------------------------------ */
.dt-portfolio-more { display: flex; justify-content: center; margin-top: 2.5rem; margin-bottom: 2.5rem; }

/* --- Section heading accent ------------------------------------------------ */
.dt-h2--accent { color: var(--accent); scroll-margin-top: 6rem; }
.dt-h2[id] { scroll-margin-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* --- Bio layout (about page) ---------------------------------------------- */
.dt-bio { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 4rem; align-items: center; }

/* --- Plain content grids (articles: who we take on, certifications) ------ */
.dt-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); margin-top: 1.75rem; }
.dt-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.dt-grid-2--wide { grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); }
.dt-grid > article { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1rem; }
.dt-grid > article h3 { font-size: 1.05rem; font-weight: 600; }
.dt-grid > article p { margin-top: 0.5rem; color: var(--paper-dim); font-size: 0.92rem; }

/* --- Generic glass panel (pricing tiers, case studies, disclaimers) ------- */
.dt-panel { padding: 1.75rem; }
.dt-panel h3 { font-size: 1.1rem; font-weight: 700; }
.dt-grid-2--wide .dt-panel h3 { font-size: 1.3rem; }
.dt-metric { display: block; margin-bottom: 0.2rem; font-weight: 800; font-size: clamp(1.15rem, 0.9rem + 1.1vw, 1.7rem); line-height: 1.15; color: var(--accent); font-variant-numeric: tabular-nums; }
.dt-nowrap { white-space: nowrap; }
.dt-tag { font-size: 0.8rem; color: var(--paper-mute); text-transform: uppercase; letter-spacing: 0.03em; }
.dt-price-list { margin-top: 2rem; }
.dt-price-item { padding-block: 2.25rem; border-top: 1px solid rgba(255,255,255,0.08); }
.dt-price-item:first-child { padding-top: 0; border-top: none; }
.dt-price-item:last-child { padding-bottom: 0; }
.dt-price-item h3 { font-size: 1.1rem; font-weight: 700; }
.dt-logo-chip { display: inline-flex; align-items: center; height: 62px; margin-bottom: 1.25rem; }
/* Default height for any logo that doesn't set its own via an inline
   height style — badge-shaped marks (dense, near-square) need a taller
   box than flat wordmarks to read at the same visual weight, so specific
   logos override this per-instance rather than sharing one height. */
.dt-logo-chip img { display: block; height: 46px; width: auto; max-width: 260px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.9; }

/* --- Image grids (A+ content, 3D renders, PPC screenshots) ---------------- */
.dt-img-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); margin-top: 1.75rem; }
.dt-img-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); }

/* --- Case-study carousel (portfolio) --------------------------------------- */
.dt-carousel-single { display: flex; align-items: center; gap: 1.5rem; }
.dt-carousel-viewport { flex: 1 1 auto; min-width: 0; position: relative; }
.dt-carousel-arrow { flex: none; width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--glass-border-hi); border-radius: 999px; background: var(--glass-bg); color: var(--paper); cursor: pointer; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease); }
.dt-carousel-arrow svg { width: 1.15rem; height: 1.15rem; display: block; }
.dt-carousel-arrow:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.dt-carousel-arrow:disabled { opacity: 0.3; cursor: default; }
.dt-carousel-card { position: relative; transition: opacity 0.32s var(--ease), transform 0.32s var(--ease); }
.dt-carousel-card[hidden] { display: none; }
.dt-carousel-card .dt-logo-chip { position: absolute; top: 1.75rem; right: 1.75rem; align-items: flex-start; height: auto; margin-bottom: 0; }
.dt-carousel-card h3 { font-size: 1.6rem; padding-right: 8rem; }
@media (max-width: 640px) {
  .dt-carousel-card .dt-logo-chip { position: static; display: flex; margin-bottom: 1rem; }
  .dt-carousel-card h3 { padding-right: 0; }
}
.dt-carousel-counter { margin-top: 1rem; font-size: 0.8rem; color: var(--paper-mute); font-variant-numeric: tabular-nums; text-align: center; }

/* --- Forms ------------------------------------------------------------------ */
.dt-field { max-width: 34rem; }
.dt-field + .dt-field { margin-top: 1.25rem; }
.dt-field label { display: block; font-size: 0.9rem; font-weight: 700; color: var(--paper); margin-bottom: 0.45rem; }
.dt-field input, .dt-field select, .dt-field textarea {
  width: 100%; padding: 0 0.9rem; min-height: 3.2rem;
  font-family: inherit; font-size: 1.0625rem; color: var(--paper);
  background: var(--glass-bg); border: 1px solid var(--glass-border-hi); border-radius: 8px;
  appearance: none; -webkit-appearance: none;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.dt-field textarea { min-height: 8rem; padding-block: 0.75rem; }
.dt-field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23F6F4EF' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 0.75rem; padding-right: 2.4rem;
}
.dt-field select option { background: var(--ink-raised); color: var(--paper); }
.dt-field input::placeholder, .dt-field textarea::placeholder { color: var(--paper-mute); }
.dt-field input:hover, .dt-field select:hover, .dt-field textarea:hover { border-color: var(--paper-mute); }
.dt-field input:focus, .dt-field select:focus, .dt-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); background: var(--glass-bg-hi); }
.dt-field-hint { margin-top: 0.5rem; font-size: 0.8rem; color: var(--paper-mute); }
.dt-form-error { margin-top: 1rem; padding: 0.8rem 1rem; border: 1px solid var(--no); background: rgba(251,113,133,0.1); color: var(--paper); font-size: 0.9rem; font-weight: 700; border-radius: 8px; }

/* --- FAQ accordion (native <details>) --------------------------------------- */
.dt-faq { margin-top: 2rem; border-top: 1px solid var(--glass-border); }
.dt-faq details { border-bottom: 1px solid var(--glass-border); }
.dt-faq summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-block: clamp(1rem, 0.8rem + 0.7vw, 1.4rem);
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem;
  color: var(--paper); cursor: pointer; list-style: none;
}
.dt-faq summary::-webkit-details-marker { display: none; }
.dt-faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--accent); }
.dt-faq details[open] summary::after { content: "\2212"; }
.dt-faq .a { padding-bottom: clamp(1rem, 0.8rem + 0.7vw, 1.4rem); color: var(--paper-dim); max-width: 62ch; }
.dt-faq .a p + p { margin-top: 0.75rem; }

/* --- GoHighLevel booking embeds --------------------------------------------- */
.dt-ghl-embed { display: block; width: 100%; min-height: 750px; border: none; overflow: hidden; border-radius: var(--radius); }

/* --- Interactive line chart -------------------------------------------------- */
.dt-ichart-card { padding: 1.5rem 1.25rem 1.25rem; }
.dt-ichart-stats { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.5rem 2rem; margin-bottom: 1.25rem; }
.dt-ichart-stat { display: flex; flex-direction: column; gap: 0.3rem; }
.dt-ichart-stat-label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--paper-mute); text-transform: uppercase; letter-spacing: 0.04em; }
.dt-ichart-stat-swatch { width: 0.6rem; height: 0.6rem; border-radius: 999px; flex: none; }
.dt-ichart-stat-value { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--paper); }
.dt-ichart-stat-value--secondary { color: var(--paper-dim); }

.dt-ichart { position: relative; }
.dt-ichart-svg { display: block; width: 100%; height: auto; overflow: visible; }
.dt-ichart-gridline { stroke: rgba(255,255,255,0.08); stroke-width: 1; }
.dt-ichart-axislabel { font-size: 12px; fill: var(--paper-mute); font-family: var(--font-body); }
.dt-ichart-axislabel--right { fill: var(--paper-mute); }
.dt-ichart-xlabel { font-size: 12px; fill: var(--paper-mute); font-family: var(--font-body); }
.dt-ichart-line { stroke-width: 2.25; }
.dt-ichart-guide { stroke: var(--glass-border-hi); stroke-width: 1; opacity: 0; transition: opacity 0.15s var(--ease); pointer-events: none; }
.dt-ichart-dot { opacity: 0; transition: opacity 0.15s var(--ease); stroke: var(--ink); stroke-width: 1.5; pointer-events: none; }
.dt-ichart-pill { opacity: 0; transition: opacity 0.15s var(--ease); pointer-events: none; }
.dt-ichart-pill rect { fill: var(--paper); }
.dt-ichart-pilltext { font-size: 12px; font-weight: 700; fill: var(--ink); font-family: var(--font-body); }
.dt-ichart-svg { cursor: crosshair; touch-action: pan-y; }
.dt-ichart--compact .dt-ichart-axislabel, .dt-ichart--compact .dt-ichart-xlabel, .dt-ichart--compact .dt-ichart-pilltext { font-size: 11px; }

.dt-ichart-tooltip {
  position: absolute; top: 0.5rem; opacity: 0; pointer-events: none;
  background: var(--ink-raised); border: 1px solid var(--glass-border-hi); border-radius: var(--radius);
  padding: 0.75rem 0.9rem; min-width: 150px; box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transition: opacity 0.15s var(--ease); z-index: 2;
}
.dt-ichart-tooltip-date { font-size: 0.78rem; color: var(--paper-mute); margin-bottom: 0.45rem; font-weight: 600; }
.dt-ichart-tooltip-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; padding-block: 0.15rem; }
.dt-ichart-tooltip-dot { width: 0.55rem; height: 0.55rem; border-radius: 999px; flex: none; }
.dt-ichart-tooltip-label { color: var(--paper-dim); flex: 1; }
.dt-ichart-tooltip-value { color: var(--paper); font-weight: 700; }

/* --- Flip cards (steps, certifications) ------------------------------------ */
.dt-flip { perspective: 1600px; }
.dt-flip-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform 0.6s cubic-bezier(0.77,0,0.175,1);
  transform-style: preserve-3d;
}
@media (hover: hover) { .dt-flip:hover .dt-flip-inner { transform: rotateY(180deg); } }
.dt-flip.is-flipped .dt-flip-inner { transform: rotateY(180deg); }
.dt-flip-face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  display: flex; flex-direction: column;
}
.dt-flip-back { transform: rotateY(180deg); justify-content: space-between; }
.dt-flip-cta { margin-top: auto; padding-top: 1rem; }
@media (prefers-reduced-motion: reduce) {
  .dt-flip-inner { transition: none; }
}

.dt-step.dt-flip { height: 340px; }
.dt-step .dt-flip-face {
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.dt-step .dt-flip-front { justify-content: center; gap: 0.6rem; }
.dt-step-num--big {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.5rem, 3rem + 2vw, 5.5rem); line-height: 1;
  color: var(--accent); opacity: 0.92;
}
.dt-step .dt-flip-front h3 { font-size: 1.65rem; line-height: 1.25; margin-top: 0.25rem; }
.dt-step .dt-flip-back { justify-content: flex-start; }
.dt-step .dt-flip-back .dt-step-num { font-size: 1rem; }
.dt-step .dt-flip-back p { font-size: 0.98rem; margin-top: 0.75rem; line-height: 1.55; }
.dt-step .dt-flip-cta { font-size: 0.98rem; }

.dt-grid > article.dt-flip { border-top: none; padding-top: 0; }
.dt-cert-flip { height: 210px; }
.dt-cert-flip .dt-flip-face {
  padding: 1.5rem;
  background: linear-gradient(155deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid var(--glass-border-hi);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.12);
}
.dt-cert-flip .dt-flip-front { justify-content: center; }
.dt-cert-flip .dt-flip-front h3 { font-size: 2rem; line-height: 1.2; font-weight: 700; color: var(--accent); }
.dt-cert-flip .dt-flip-back { justify-content: center; }
.dt-cert-flip .dt-flip-back p { color: var(--paper-dim); font-size: 0.9rem; margin: 0; }
.dt-cert-flip .dt-flip-back .dt-cert-completed { margin-top: 0.85rem; }
.dt-cert-flip .dt-flip-back .dt-cert-date { color: var(--accent); font-weight: 600; }
.dt-cert-flip-icon {
  position: absolute; top: 1.15rem; right: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.dt-cert-flip-icon svg { width: 1.05rem; height: 1.05rem; }

.dt-grid--3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .dt-grid--3col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .dt-grid--3col { grid-template-columns: 1fr; } }

.dt-grid--2col { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .dt-grid--2col { grid-template-columns: 1fr; } }

.dt-grid--4col { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .dt-grid--4col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .dt-grid--4col { grid-template-columns: 1fr; } }

.dt-agree-flip { height: 260px; }

@media (max-width: 900px) {
  .dt-bio { grid-template-columns: 1fr; }
  .dt-bio .dt-frame { width: min(100%, 360px); margin-inline: auto; }
}
@media (max-width: 640px) {
  .dt-list-numbered:not(.dt-list-numbered--noindex) > li { grid-template-columns: 2.25rem minmax(0,1fr); }
  .dt-ichart-card { padding: 1.25rem 1rem 1rem; }
  .dt-bio-stats { grid-template-columns: repeat(2, 1fr); }
  .dt-ichart-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
  .dt-ichart-stat-value { font-size: 1.1rem; }
  .dt-carousel-single { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .dt-carousel-viewport { grid-column: 1 / -1; grid-row: 1; }
  .dt-carousel-single > [data-case-prev] { grid-row: 2; grid-column: 1; justify-self: end; }
  .dt-carousel-single > [data-case-next] { grid-row: 2; grid-column: 2; justify-self: start; }
}

/* --- Lead-magnet popup (js/lead-popup.js) ---------------------------------- */
.dt-lm { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.dt-lm[hidden], .dt-lm [hidden] { display: none !important; }
html.dt-lm-open { overflow: hidden; }
.dt-lm-backdrop { position: absolute; inset: 0; background: rgba(5, 7, 10, 0.72); opacity: 0; transition: opacity 0.2s var(--ease); }
.dt-lm-card {
  position: relative; width: 100%; max-width: 30rem; max-height: calc(100dvh - 2.5rem); overflow-y: auto;
  padding: 2.5rem 2rem 1.5rem; text-align: center;
  background: #12161D; border: 1px solid var(--glass-border-hi); border-radius: 18px;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: translateY(14px) scale(0.98);
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}
.dt-lm.is-in .dt-lm-backdrop { opacity: 1; }
.dt-lm.is-in .dt-lm-card { opacity: 1; transform: none; }
.dt-lm-card:focus, .dt-lm-title:focus { outline: none; }
.dt-lm-x { position: absolute; top: 0.6rem; right: 0.6rem; width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; background: none; border: none; border-radius: 999px; color: var(--paper-dim); cursor: pointer; }
.dt-lm-x:hover { color: var(--paper); background: rgba(255, 255, 255, 0.06); }
.dt-lm-x svg { width: 1.25rem; height: 1.25rem; }
.dt-lm-badge { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.85rem; border-radius: 999px; background: rgba(78, 143, 255, 0.14); color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; }
.dt-lm-badge svg { width: 0.85rem; height: 0.85rem; }
.dt-lm-title { margin-top: 1rem; font-size: clamp(1.5rem, 1.25rem + 1vw, 1.85rem); line-height: 1.15; }
.dt-lm-desc { margin-top: 0.75rem; color: var(--paper-dim); font-size: 0.98rem; }
.dt-lm-form { margin-top: 1.5rem; }
.dt-lm .dt-field { max-width: none; text-align: left; }
.dt-lm .dt-field input { font-size: 1rem; }
.dt-lm-submit { width: 100%; margin-top: 0.85rem; }
.dt-lm-submit:disabled { opacity: 0.7; cursor: default; transform: none; }
.dt-lm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dt-lm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dt-lm-error { margin-top: 0.75rem; padding: 0.6rem 0.85rem; border: 1px solid var(--no); background: rgba(251, 113, 133, 0.1); border-radius: 8px; font-size: 0.88rem; font-weight: 600; text-align: left; }
.dt-lm-fine { margin-top: 0.9rem; font-size: 0.78rem; color: var(--paper-mute); }
.dt-lm-fine a { color: var(--paper-dim); text-underline-offset: 0.2em; }
.dt-lm-skip { margin-top: 0.35rem; min-height: 2.75rem; padding: 0.5rem 1rem; background: none; border: none; color: var(--paper-mute); font: inherit; font-size: 0.88rem; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.dt-lm-skip:hover { color: var(--paper); }
.dt-lm-check { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 999px; background: rgba(52, 211, 153, 0.15); color: var(--go); }
.dt-lm-check svg { width: 1.6rem; height: 1.6rem; }
.dt-lm-preview { margin-top: 1rem; padding: 0.6rem 0.85rem; border: 1px dashed var(--chart-2); border-radius: 8px; color: var(--chart-2); font-size: 0.82rem; }
@media (max-width: 640px) {
  .dt-lm { align-items: flex-end; padding: 0; }
  .dt-lm-card { max-width: none; max-height: 92dvh; border-radius: 18px 18px 0 0; border-bottom: none; padding: 2.25rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); transform: translateY(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .dt-lm-backdrop, .dt-lm-card { transition: none; }
}
