/* ==========================================================================
   Data Laboratory — design system v3 ("Lab Navy")
   Structure borrowed from bluecontact.com (dark navy bands, Inter 800,
   gradient headline text, flat bordered cards, glowing app-window mockups),
   rebuilt on Data Laboratory's brand (#007BFF → #0056B3, favicon gradient).

   Hybrid theme: page heroes, the API/MCP band, and final CTAs are dark;
   content sections are light. Wrap any dark region in `.dl-dark` and every
   component inside adapts.

   Loads AFTER Tailwind (main.css), so these rules win where they overlap.
   ========================================================================== */

:root {
  /* Brand */
  --dl-brand: #007bff;
  --dl-brand-bright: #1f8cff;
  --dl-brand-dark: #0056b3;
  --dl-brand-darker: #003e85;
  --dl-brand-light: #e7f2ff;
  --dl-brand-50: #eff6ff;
  --dl-brand-200: #b9d8ff;
  --dl-gradient: linear-gradient(135deg, #1f8cff 0%, #0056b3 100%);
  --dl-gradient-90: linear-gradient(90deg, #1f8cff 0%, #0063cc 100%);
  --dl-gradient-text: linear-gradient(120deg, #4da3ff 0%, #007bff 55%, #0056b3 100%);
  --dl-gradient-text-dark: linear-gradient(120deg, #7cc0ff 0%, #3d9bff 50%, #1f8cff 100%);
  --dl-accent: #12c7b4; /* secondary accent — used sparingly (success ticks, glow) */

  /* Light surfaces */
  --dl-ink: #0f172a;
  --dl-body: #475569;
  --dl-muted: #64748b;
  --dl-line: #e2e8f0;
  --dl-line-soft: #eef2f7;
  --dl-tint: #f6f8fb;

  /* Dark surfaces (navy, not black — reads as "brand", not "terminal") */
  --dl-navy-1: #0b1220;
  --dl-navy-2: #111a2b;
  --dl-navy-3: #17223a;
  --dl-navy-line: #223049;
  --dl-navy-muted: #8b95a8;
  --dl-navy-text: #eef2f8;

  --dl-radius-sm: 10px;
  --dl-radius: 12px;
  --dl-radius-lg: 20px;
  --dl-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Base ---------------------------------------------------------------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.dl2 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--dl-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  line-height: 1.6;
}
:where(.dl2 h1, .dl2 h2, .dl2 h3, .dl2 h4) { color: var(--dl-ink); }

.dl-display { letter-spacing: -0.025em; line-height: 1.08; font-weight: 800; text-wrap: balance; }
.dl-balance { text-wrap: balance; }

/* Gradient text — the signature move: last phrase of every headline */
.dl-grad-text {
  background: var(--dl-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--dl-brand);
}
.dl-dark .dl-grad-text { background-image: var(--dl-gradient-text-dark); }

/* ---- Section shells ------------------------------------------------------ */
.dl-section { position: relative; padding: 5.5rem 0; }
@media (max-width: 767px) { .dl-section { padding: 4rem 0; } }
.dl-section--tint { background: var(--dl-tint); border-top: 1px solid var(--dl-line-soft); border-bottom: 1px solid var(--dl-line-soft); }
.dl-section--white { background: #fff; }
.dl-wrap { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (max-width: 639px) { .dl-wrap { padding-left: 1rem; padding-right: 1rem; } }

/* Section heading trio: eyebrow → title → sub */
.dl-eyebrow, .dl-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--dl-brand);
}
.dl-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--dl-ink);
  text-wrap: balance;
}
.dl-sub { font-size: 1.125rem; line-height: 1.7; color: var(--dl-body); }
.dl-head { max-width: 46rem; margin: 0 auto 3.25rem; text-align: center; }
.dl-head .dl-title { margin-top: 0.75rem; }
.dl-head .dl-sub { margin-top: 1rem; }

/* ---- Dark regions -------------------------------------------------------- */
.dl-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, var(--dl-navy-1) 0%, var(--dl-navy-2) 100%);
  color: var(--dl-navy-muted);
}
.dl-dark :where(h1, h2, h3, h4), .dl-dark .dl-title { color: #fff; }
.dl-dark .dl-sub { color: var(--dl-navy-muted); }
.dl-dark .dl-eyebrow, .dl-dark .dl-kicker { color: #4da3ff; }
.dl-dark a:not(.dl-btn):not(.dl-card) { color: #7cc0ff; }
.dl-dark strong { color: var(--dl-navy-text); }

/* Ambient glows — only inside .dl-dark */
.dl-glow, .dl-hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 9999px;
  pointer-events: none;
  filter: blur(10px);
}
.dl-glow--a, .dl-hero-glow--a {
  width: 820px; height: 820px; top: -360px; right: -240px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.2) 0%, rgba(0, 123, 255, 0) 65%);
}
.dl-glow--b, .dl-hero-glow--b {
  width: 620px; height: 620px; bottom: -340px; left: -220px;
  background: radial-gradient(circle, rgba(18, 199, 180, 0.08) 0%, rgba(18, 199, 180, 0) 65%);
}
.dl-glow--c {
  width: 720px; height: 520px; bottom: -300px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 123, 255, 0.18) 0%, rgba(0, 123, 255, 0) 65%);
}
/* Faint grid texture for dark heroes */
.dl-grid-bg::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}

/* ---- Hero ---------------------------------------------------------------- */
.dl-hero { position: relative; overflow: hidden; isolation: isolate; }
.dl-hero-dark { background: linear-gradient(180deg, var(--dl-navy-1) 0%, #0d1626 100%); }
.dl-h1 {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.dl-h1--page { font-size: clamp(2.25rem, 4.6vw, 3.4rem); }
.dl-lede { font-size: 1.1875rem; line-height: 1.7; }
.dl-dark .dl-lede { color: #a3adbf; }
.dl-microcopy { font-size: 0.875rem; color: var(--dl-muted); }
.dl-dark .dl-microcopy { color: #6f7a8f; }

/* Breadcrumb-ish chip row under page heroes */
.dl-crumbs { display: inline-flex; gap: 0.5rem; align-items: center; font-size: 0.8125rem; font-weight: 600; color: var(--dl-navy-muted); }
.dl-crumbs a { color: var(--dl-navy-muted) !important; }
.dl-crumbs a:hover { color: #fff !important; }

/* ---- Header (dark, translucent, blurred) ---------------------------------- */
.dl-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--dl-navy-1);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.dl-header-scrolled {
  border-bottom-color: var(--dl-navy-line);
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}
.dl-logo-white { filter: brightness(0) invert(1); }

.dl-nav-link {
  position: relative;
  color: #aab4c5;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: none; border: 0; cursor: pointer; padding: 0.5rem 0;
}
.dl-nav-link:hover, .dl-nav-link[aria-current="page"], .dl-nav-link[aria-expanded="true"] { color: #fff; }
.dl-nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--dl-gradient-90);
}

/* Products dropdown */
.dl-dd { position: relative; }
.dl-dd-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 520px;
  transform: translate(-50%, 6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s var(--dl-ease), visibility 0.18s;
  background: var(--dl-navy-2);
  border: 1px solid var(--dl-navy-line);
  border-radius: 16px;
  padding: 0.6rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 60px rgba(0, 123, 255, 0.08);
}
.dl-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.dl-dd.is-open .dl-dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dl-dd-item {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 0.85rem 0.9rem; border-radius: 12px;
  transition: background-color 0.18s ease;
}
.dl-dd-item:hover, .dl-dd-item:focus-visible { background: rgba(0, 123, 255, 0.09); }
.dl-dd-item strong { display: block; color: #fff; font-size: 0.925rem; font-weight: 700; }
.dl-dd-item span.dl-dd-desc { display: block; color: var(--dl-navy-muted); font-size: 0.8125rem; line-height: 1.45; margin-top: 0.15rem; }
.dl-dd-item .dl-dd-price { color: #7cc0ff; font-weight: 700; font-size: 0.75rem; margin-top: 0.35rem; display: block; }

/* ---- Buttons ------------------------------------------------------------- */
.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--dl-radius-sm);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.25s var(--dl-ease), box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.dl-btn:focus-visible { outline: 2px solid #4da3ff; outline-offset: 3px; }
.dl-btn-primary {
  background: var(--dl-gradient);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 24px -10px rgba(0, 123, 255, 0.55);
}
.dl-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 14px 36px -8px rgba(0, 123, 255, 0.55); color: #fff; }
.dl-btn-secondary, .dl-btn-ghost {
  background: #fff;
  color: var(--dl-ink);
  border: 1px solid var(--dl-line);
}
.dl-btn-secondary:hover, .dl-btn-ghost:hover { border-color: var(--dl-brand); color: var(--dl-brand-dark); background: var(--dl-brand-50); }
.dl-dark .dl-btn-secondary, .dl-dark .dl-btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border-color: #2c3b57;
}
.dl-dark .dl-btn-secondary:hover, .dl-dark .dl-btn-ghost:hover { border-color: var(--dl-brand); background: rgba(0, 123, 255, 0.08); color: #fff; }
.dl-btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.dl-btn-md { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
.dl-btn-sm { padding: 0.6rem 1.15rem; font-size: 0.875rem; border-radius: 8px; }
.dl-arrow { display: inline-block; transition: transform 0.25s var(--dl-ease); }
a:hover > .dl-arrow, .group:hover .dl-arrow, button:hover > .dl-arrow { transform: translateX(3px); }

/* Text link with arrow */
.dl-link { color: var(--dl-brand); font-weight: 700; display: inline-flex; align-items: center; gap: 0.35rem; }
.dl-link:hover { color: var(--dl-brand-dark); }
.dl-dark .dl-link { color: #7cc0ff; }
.dl-dark .dl-link:hover { color: #fff; }

/* ---- Cards --------------------------------------------------------------- */
.dl-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius-lg);
  transition: border-color 0.3s ease, transform 0.3s var(--dl-ease), box-shadow 0.3s ease, background-color 0.3s ease;
}
.dl-card:hover { border-color: rgba(0, 123, 255, 0.35); }
.dl-card-hover:hover, a.dl-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(2, 71, 158, 0.35); }
.dl-section--tint .dl-card { background: #fff; }
.dl-dark .dl-card { background: rgba(23, 34, 58, 0.55); border-color: var(--dl-navy-line); }
.dl-dark .dl-card:hover { border-color: rgba(31, 140, 255, 0.45); }
.dl-dark a.dl-card:hover, .dl-dark .dl-card-hover:hover { box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6), 0 0 40px -10px rgba(0, 123, 255, 0.25); }

/* Blue-tinted feature card (the "01 — CORE" card on bluecontact) */
.dl-card--feature {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.07) 0%, rgba(0, 123, 255, 0.015) 60%), #fff;
  border-color: rgba(0, 123, 255, 0.25);
}
.dl-dark .dl-card--feature {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.16) 0%, rgba(0, 123, 255, 0.03) 70%), var(--dl-navy-2);
  border-color: rgba(31, 140, 255, 0.35);
}

/* Icon tile */
.dl-card-icon, .dl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--dl-radius);
  background: rgba(0, 123, 255, 0.09);
  color: var(--dl-brand);
  flex-shrink: 0;
}
.dl-icon--sm { width: 2.25rem; height: 2.25rem; border-radius: 10px; }
.dl-icon--teal { background: rgba(18, 199, 180, 0.1); color: #0e9f90; }
.dl-icon--violet { background: rgba(124, 92, 246, 0.1); color: #6d4fe0; }
.dl-dark .dl-card-icon, .dl-dark .dl-icon { background: rgba(31, 140, 255, 0.13); color: #5aaeff; }
.dl-dark .dl-icon--teal { background: rgba(18, 199, 180, 0.12); color: #2fd8c5; }
.dl-dark .dl-icon--violet { background: rgba(139, 92, 246, 0.14); color: #a78bfa; }

/* Numbered label ("01 — DESCRIBE") */
.dl-num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dl-brand); }
.dl-dark .dl-num { color: #4da3ff; }

/* Checkmark list */
.dl-ok { color: var(--dl-brand); }
.dl-checks { display: grid; gap: 0.7rem; }
.dl-checks li { display: flex; gap: 0.65rem; align-items: flex-start; }
.dl-checks li::before {
  content: "";
  flex-shrink: 0;
  width: 1.15rem; height: 1.15rem; margin-top: 0.2rem;
  border-radius: 9999px;
  background: rgba(0, 123, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23007bff'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-8 8a1 1 0 01-1.4 0l-4-4a1 1 0 011.4-1.4L8 12.6l7.3-7.3a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}
.dl-dark .dl-checks li::before { background-color: rgba(31, 140, 255, 0.18); }

/* Pills / badges */
.dl-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8125rem; font-weight: 600;
  background: var(--dl-tint); color: var(--dl-body);
  border: 1px solid var(--dl-line);
}
.dl-dark .dl-pill { background: var(--dl-navy-3); color: #aab4c5; border-color: var(--dl-navy-line); }
.dl-badge {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.8rem; border-radius: 9999px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--dl-gradient); color: #fff;
}

/* ---- Stats --------------------------------------------------------------- */
.dl-stat-num {
  background: var(--dl-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.dl-dark .dl-stat-num { background-image: var(--dl-gradient-text-dark); }
.dl-statbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .dl-statbar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dl-statbar > div { padding: 1.75rem 1rem; text-align: center; }
@media (min-width: 768px) { .dl-statbar > div + div { border-left: 1px solid var(--dl-line); } }
.dl-dark .dl-statbar > div + div { border-color: var(--dl-navy-line); }

/* ---- App-window mockup ---------------------------------------------------- */
.dl-window, .dl-console {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, #131d31 0%, #0f1729 100%);
  border: 1px solid #263552;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.55), 0 0 90px -10px rgba(0, 123, 255, 0.16);
  overflow: hidden;
  color: #c9d3e3;
  text-align: left;
}
.dl-window-bar, .dl-console-head {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid #22304b;
  font-size: 0.75rem; font-weight: 600; color: #7f8aa0;
}
.dl-window-dot, .dl-console-dot { width: 11px; height: 11px; border-radius: 9999px; background: #f87171; flex-shrink: 0; }
.dl-window-dot:nth-child(2), .dl-console-dot:nth-child(2) { background: #fbbf24; }
.dl-window-dot:nth-child(3), .dl-console-dot:nth-child(3) { background: #4ade80; }
.dl-window-title { flex: 1; text-align: center; margin-right: 44px; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.dl-window--light { background: #fff; border-color: var(--dl-line); color: var(--dl-body); box-shadow: 0 40px 80px -40px rgba(2, 71, 158, 0.35); }
.dl-window--light .dl-window-bar { background: var(--dl-tint); border-color: var(--dl-line); }

/* Prompt line inside console */
.dl-prompt {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  background: rgba(0, 123, 255, 0.08);
  border: 1px solid rgba(31, 140, 255, 0.22);
  font-size: 0.975rem; color: #e6edf7; line-height: 1.5;
}
.dl-console-query { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.95rem; color: #e6edf7; }
.dl-key { color: #4da3ff; font-weight: 700; }
.dl-val { color: #e6edf7; }
.dl-caret {
  display: inline-block; width: 2px; height: 1.1em; margin-left: 2px;
  background: #4da3ff; vertical-align: -0.15em;
  animation: dl-blink 1s steps(1) infinite;
}
[data-typer-root].is-typed .dl-caret { animation: none; opacity: 0; }
@keyframes dl-blink { 50% { opacity: 0; } }

/* Filter chips that appear after typing */
.dl-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.7rem; border-radius: 8px;
  font-size: 0.75rem; font-weight: 600; font-family: ui-monospace, "SF Mono", Menlo, monospace;
  background: rgba(255, 255, 255, 0.04); border: 1px solid #2a3a58; color: #9fc7ff;
}
.dl-chip b { color: #e6edf7; font-weight: 600; }

/* KPI tiles */
.dl-kpi { border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid #22304b; padding: 0.85rem 0.9rem; min-width: 0; }
@media (max-width: 479px) { .dl-kpi { padding: 0.7rem 0.6rem; } }
.dl-kpi-num { font-size: clamp(1.05rem, 4.6vw, 1.5rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.dl-kpi-num.is-grad { background: var(--dl-gradient-text-dark); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dl-kpi-label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; color: #7f8aa0; font-weight: 700; margin-top: 0.2rem; }

/* Reveal-after-typing: elements with .dl-after appear when [data-typer-root] gets .is-typed */
[data-typer-root] .dl-after { opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.5s var(--dl-ease); }
[data-typer-root].is-typed .dl-after { opacity: 1; transform: none; }
[data-typer-root].is-typed .dl-after:nth-of-type(2) { transition-delay: 0.12s; }
[data-typer-root].is-typed .dl-after:nth-of-type(3) { transition-delay: 0.24s; }
.no-js [data-typer-root] .dl-after { opacity: 1; transform: none; }

/* Mini bar chart row (inside mockups) */
.dl-bar-row { display: grid; grid-template-columns: 7.5rem 1fr 3rem; gap: 0.75rem; align-items: center; font-size: 0.75rem; }
.dl-bar-track { display: block; height: 6px; border-radius: 9999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.dl-bar-fill { display: block; height: 100%; border-radius: 9999px; background: var(--dl-gradient-90); width: 0; transition: width 1.1s var(--dl-ease); }

/* ---- Code window --------------------------------------------------------- */
.dl-code {
  margin: 0;
  padding: 1.25rem 1.35rem;
  font-family: "SF Mono", "Fira Code", Consolas, ui-monospace, monospace;
  font-size: 0.8125rem;
  line-height: 1.75;
  color: #c9d3e3;
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}
.dl-code .k { color: #c792ea; }   /* keyword / method */
.dl-code .s { color: #a5e3b8; }   /* string */
.dl-code .n { color: #f7b267; }   /* number */
.dl-code .p { color: #7cc0ff; }   /* property / flag */
.dl-code .c { color: #5f6b82; font-style: italic; } /* comment */
.dl-copy {
  margin-left: auto;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #8b95a8; padding: 0.25rem 0.6rem; border-radius: 6px; border: 1px solid #2a3a58;
  background: transparent; cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.dl-copy:hover { color: #fff; border-color: #4da3ff; }
.dl-code-tabs { display: flex; gap: 0.25rem; }
.dl-code-tab {
  font-size: 0.75rem; font-weight: 600; color: #7f8aa0; padding: 0.3rem 0.7rem; border-radius: 6px;
  background: transparent; border: 0; cursor: pointer;
}
.dl-code-tab[aria-selected="true"] { color: #fff; background: rgba(31, 140, 255, 0.16); }

/* ---- Chat mockup (Claude-style, neutral) ----------------------------------- */
.dl-chat { background: #1f1f1e; border-color: #3a3a38; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6), 0 0 90px -10px rgba(0, 123, 255, 0.12); }
.dl-chat .dl-window-bar { background: #262624; border-color: #3a3a38; color: #9a9a96; }
.dl-chat-user {
  margin-left: auto; max-width: 85%;
  background: #34342f; color: #ecebe6; border-radius: 14px; padding: 0.75rem 1rem; font-size: 0.9rem; line-height: 1.55;
}
.dl-chat-ai { display: flex; gap: 0.75rem; font-size: 0.9rem; color: #d9d8d2; line-height: 1.6; }
.dl-chat-avatar { width: 1.75rem; height: 1.75rem; border-radius: 8px; background: linear-gradient(135deg, #d97757, #b4532f); flex-shrink: 0; }
.dl-chat-tool {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; color: #a3a29c; border: 1px solid #3a3a38; background: #262624; border-radius: 10px; padding: 0.5rem 0.75rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.dl-chat-tool .dot { width: 6px; height: 6px; border-radius: 9999px; background: #4ade80; }
.dl-chat .dl-kpi { background: #262624; border-color: #3a3a38; }
.dl-file-chip {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid #3a3a38; background: #262624; border-radius: 10px; padding: 0.55rem 0.8rem;
  font-size: 0.8rem; color: #ecebe6;
}
.dl-file-chip .ext { font-size: 0.625rem; font-weight: 800; color: #fff; background: #1f8f4e; padding: 0.15rem 0.35rem; border-radius: 4px; }

/* ---- Steps --------------------------------------------------------------- */
.dl-steps { position: relative; display: grid; gap: 2.5rem; }
@media (min-width: 768px) {
  .dl-steps { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 1.5rem; }
  .dl-steps::before {
    content: ""; position: absolute; top: 1.5rem; height: 2px; z-index: 0;
    left: calc(100% / (var(--cols, 3) * 2)); right: calc(100% / (var(--cols, 3) * 2));
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.05), rgba(0, 123, 255, 0.45), rgba(0, 123, 255, 0.05));
  }
}
.dl-step-circle {
  position: relative; z-index: 1;
  width: 3rem; height: 3rem; margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: var(--dl-gradient);
  color: #fff; font-weight: 800; font-size: 1.125rem;
  box-shadow: 0 0 0 6px #fff, 0 0 30px rgba(0, 123, 255, 0.35);
}
.dl-section--tint .dl-step-circle { box-shadow: 0 0 0 6px var(--dl-tint), 0 0 30px rgba(0, 123, 255, 0.35); }
.dl-dark .dl-step-circle { box-shadow: 0 0 0 6px var(--dl-navy-1), 0 0 30px rgba(0, 123, 255, 0.4); }
.dl-step { position: relative; }

/* ---- Price cards --------------------------------------------------------- */
.dl-price-card { display: flex; flex-direction: column; padding: 2rem; }
.dl-price-card--featured {
  border: 1.5px solid var(--dl-brand);
  background: linear-gradient(180deg, rgba(0, 123, 255, 0.06) 0%, #fff 45%);
  box-shadow: 0 30px 60px -30px rgba(0, 86, 179, 0.45);
}
@media (min-width: 1024px) {
  .dl-price-card--featured,
  .is-visible .dl-stagger > .dl-price-card--featured,
  .dl-stagger.is-visible > .dl-price-card--featured { transform: translateY(-10px); }
  .dl-price-card--featured:hover,
  .is-visible .dl-stagger > .dl-price-card--featured:hover { transform: translateY(-14px); }
}
.dl-price { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.035em; color: var(--dl-ink); line-height: 1; font-variant-numeric: tabular-nums; }
.dl-price small { font-size: 1rem; font-weight: 500; color: var(--dl-muted); letter-spacing: 0; margin-left: 0.15rem; }
.dl-dark .dl-price { color: #fff; }

/* Product (vertical) cards — the three offerings */
.dl-product {
  display: flex; flex-direction: column;
  padding: 2rem;
  overflow: hidden;
}
.dl-product::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--dl-gradient-90); opacity: 0; transition: opacity 0.3s ease;
}
.dl-product:hover::after { opacity: 1; }
.dl-product-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dl-muted); }

/* ---- Tabs ---------------------------------------------------------------- */
.dl-tabs {
  display: inline-flex; gap: 0.25rem; padding: 0.3rem;
  background: var(--dl-tint); border: 1px solid var(--dl-line); border-radius: 14px;
  max-width: 100%; overflow-x: auto;
}
.dl-tab {
  padding: 0.65rem 1.15rem; border-radius: 10px;
  font-size: 0.9rem; font-weight: 600; color: var(--dl-body);
  background: transparent; border: 0; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.dl-tab:hover { color: var(--dl-ink); }
.dl-tab[aria-selected="true"] { background: #fff; color: var(--dl-ink); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px -4px rgba(15, 23, 42, 0.12); }
.dl-tab[aria-selected="true"] .dl-tab-price { color: var(--dl-brand); }
.dl-tab-price { font-weight: 500; color: var(--dl-muted); margin-left: 0.35rem; font-size: 0.8rem; }
.dl-dark .dl-tabs { background: var(--dl-navy-2); border-color: var(--dl-navy-line); }
.dl-dark .dl-tab { color: var(--dl-navy-muted); }
.dl-dark .dl-tab[aria-selected="true"] { background: var(--dl-navy-3); color: #fff; box-shadow: none; }
[role="tabpanel"][hidden] { display: none; }

/* ---- FAQ (details/summary) ----------------------------------------------- */
.dl-faq { border-top: 1px solid var(--dl-line); }
.dl-faq details { border-bottom: 1px solid var(--dl-line); }
.dl-faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0.25rem; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.0625rem; color: var(--dl-ink);
}
.dl-faq summary::-webkit-details-marker { display: none; }
.dl-faq summary::after {
  content: ""; flex-shrink: 0; width: 1.6rem; height: 1.6rem; border-radius: 9999px;
  background: rgba(0, 123, 255, 0.09) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007bff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
  transition: transform 0.25s var(--dl-ease);
}
.dl-faq details[open] summary::after { transform: rotate(45deg); }
.dl-faq details > div { padding: 0 0.25rem 1.4rem; color: var(--dl-body); line-height: 1.7; }

/* ---- Tables (comparison pages) ------------------------------------------- */
.dl-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.925rem; }
.dl-table th, .dl-table td { padding: 1rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--dl-line); }
.dl-table thead th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dl-muted); font-weight: 700; background: var(--dl-tint); }
.dl-table tbody th { color: var(--dl-ink); font-weight: 700; }
.dl-table .is-us { background: rgba(0, 123, 255, 0.045); color: var(--dl-ink); }
.dl-table thead .is-us { color: var(--dl-brand-dark); background: rgba(0, 123, 255, 0.09); }

/* ---- Final CTA (dark band with glow) -------------------------------------- */
.dl-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(ellipse 70% 90% at 50% 120%, rgba(0, 123, 255, 0.35) 0%, rgba(0, 123, 255, 0) 70%), linear-gradient(180deg, #0f1a2e 0%, #0b1220 100%);
  border: 1px solid #22304b;
  color: #a3adbf;
}
.dl-cta :where(h2, h3) { color: #fff; }
.dl-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 100%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 100%, #000 20%, transparent 75%);
}
.dl-cta-mark { width: 3.5rem; height: 3.5rem; margin: 0 auto 1.5rem; filter: drop-shadow(0 0 24px rgba(0, 123, 255, 0.55)); }

/* ---- Footer -------------------------------------------------------------- */
.dl-footer { background: var(--dl-navy-1); color: var(--dl-navy-muted); border-top: 1px solid var(--dl-navy-line); }
.dl-footer h4 { color: #fff; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.dl-footer a { color: var(--dl-navy-muted); transition: color 0.2s; }
.dl-footer a:hover { color: #fff; }
.dl-footer a.dl-btn { color: #fff; }

/* ---- Misc legacy components (ported pages) -------------------------------- */
.dl-panel { background: #fff; border: 1px solid var(--dl-line); border-radius: var(--dl-radius-lg); }
.dl-panel-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--dl-line-soft); font-size: 0.875rem; }
.dl-panel-row:last-child { border-bottom: 0; }
.dl-live-dot { display: none; } /* rejected as an "AI artifact" — kept hidden for ported markup */

.dl-meter { height: 10px; border-radius: 9999px; background: var(--dl-line-soft); overflow: hidden; }
.dl-meter-fill { height: 100%; width: 0; border-radius: 9999px; background: var(--dl-gradient-90); transition: width 0.6s var(--dl-ease); }

.dl-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 9999px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--dl-brand) 0%, var(--dl-brand) var(--fill, 50%), var(--dl-line) var(--fill, 50%), var(--dl-line) 100%); }
.dl-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 9999px; background: #fff; border: 2px solid var(--dl-brand); box-shadow: 0 2px 8px rgba(0, 123, 255, 0.35); }
.dl-slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 9999px; background: #fff; border: 2px solid var(--dl-brand); box-shadow: 0 2px 8px rgba(0, 123, 255, 0.35); }
.dl-slider:focus-visible::-webkit-slider-thumb { outline: 3px solid rgba(0, 123, 255, 0.35); outline-offset: 2px; }

.dl-filter {
  padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.85rem; font-weight: 600;
  border: 1px solid var(--dl-line); background: #fff; color: var(--dl-body); cursor: pointer; transition: all 0.2s;
}
.dl-filter:hover { border-color: var(--dl-brand); color: var(--dl-brand-dark); }
.dl-filter[aria-pressed="true"] { background: var(--dl-ink); border-color: var(--dl-ink); color: #fff; }

.dl-fill { animation: dl-fill-in 0.5s var(--dl-ease) both; animation-delay: var(--dl-fill-delay, 0ms); }
@keyframes dl-fill-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.dl-pop { animation: dl-pop 0.35s var(--dl-ease); }
@keyframes dl-pop { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }

/* Database detail dialog */
.dl-dialog { border: 0; padding: 0; border-radius: 20px; max-width: 34rem; width: calc(100% - 2rem); box-shadow: 0 40px 80px -20px rgba(2, 20, 50, 0.45); }
.dl-dialog::backdrop { background: rgba(11, 18, 32, 0.6); backdrop-filter: blur(4px); }

/* ---- Scroll reveal ------------------------------------------------------- */
.dl-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--dl-ease), transform 0.7s var(--dl-ease); }
.dl-reveal.is-visible { opacity: 1; transform: none; }
.dl-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--dl-ease), transform 0.6s var(--dl-ease); }
.is-visible .dl-stagger > *, .dl-stagger.is-visible > * { opacity: 1; transform: none; }
.dl-stagger > *:nth-child(2) { transition-delay: 0.07s; }
.dl-stagger > *:nth-child(3) { transition-delay: 0.14s; }
.dl-stagger > *:nth-child(4) { transition-delay: 0.21s; }
.dl-stagger > *:nth-child(5) { transition-delay: 0.28s; }
.dl-stagger > *:nth-child(6) { transition-delay: 0.35s; }
.dl-stagger > *:nth-child(7) { transition-delay: 0.42s; }
.dl-stagger > *:nth-child(8) { transition-delay: 0.49s; }
.dl-stagger > *:nth-child(9) { transition-delay: 0.56s; }
/* Hover transforms on staggered cards must not inherit the reveal delay */
.is-visible .dl-stagger > .dl-card, .dl-stagger.is-visible > .dl-card { transition-delay: 0s; }

/* Hero entrance */
.dl-rise { animation: dl-rise 0.8s var(--dl-ease) both; }
.dl-rise-2 { animation-delay: 0.08s; }
.dl-rise-3 { animation-delay: 0.16s; }
.dl-rise-4 { animation-delay: 0.24s; }
.dl-rise-5 { animation-delay: 0.36s; }
@keyframes dl-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .dl-reveal, .dl-stagger > *, .dl-rise { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .dl-caret { animation: none; }
  [data-typer-root] .dl-after, .dl-bar-fill, .dl-meter-fill { transition: none !important; }
}
.no-js .dl-reveal, .no-js .dl-stagger > * { opacity: 1; transform: none; }
