/* Devloom — dlm.css — Full site stylesheet */

/* ============================================================
   0. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg-deepest: #0A0E1A;
  --bg-surface: #111827;
  --bg-elevated: #1A2235;
  --bg-light: #F4F6FA;
  --bg-white: #FFFFFF;

  --accent-resolve: #00C9A7;
  --accent-resolve-dim: #009B82;
  --accent-alert: #FF4757;
  --accent-trace: #3D8EFF;

  --text-on-dark-primary: #F0F4FF;
  --text-on-dark-secondary: #8B9AB8;
  --text-on-dark-muted: #4A5568;
  --text-on-light-primary: #0A0E1A;
  --text-on-light-secondary: #3D4A66;
  --text-on-light-muted: #6B7FA3;

  --border-dark: #1E2D47;
  --border-light: #D8E0EE;

  --shadow-dark: 0 0 0 1px rgba(0,201,167,0.15), 0 4px 24px rgba(0,0,0,0.6);
  --shadow-light: 0 1px 3px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);

  --radius-card: 8px;
  --radius-chip: 4px;

  --container-max: 1200px;
  --section-v-desktop: 96px;
  --section-v-mobile: 64px;

  --font-heading: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg-deepest);
  color: var(--text-on-dark-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-body);
}

/* ============================================================
   2. TYPOGRAPHY
   ============================================================ */
.dlm-h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.dlm-h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.dlm-h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
}

.dlm-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dlm-mono {
  font-family: var(--font-mono);
}

/* ============================================================
   3. CONTAINER
   ============================================================ */
.dlm-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ============================================================
   4. SECTION BACKGROUNDS
   ============================================================ */
.dlm-section--dark {
  background: var(--bg-deepest);
  color: var(--text-on-dark-primary);
}

.dlm-section--dark-alt {
  background: var(--bg-surface);
  color: var(--text-on-dark-primary);
}

.dlm-section--dark-elevated {
  background: var(--bg-elevated);
  color: var(--text-on-dark-primary);
}

.dlm-section--light {
  background: var(--bg-light);
  color: var(--text-on-light-primary);
}

.dlm-section--white {
  background: var(--bg-white);
  color: var(--text-on-light-primary);
}

.dlm-section--pad {
  padding: var(--section-v-desktop) 0;
}

.dlm-section--pad-sm {
  padding: 48px 0;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.dlm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-card);
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.dlm-btn--primary {
  background: var(--accent-resolve);
  color: var(--bg-deepest);
  border-color: var(--accent-resolve);
}

.dlm-btn--primary:hover {
  background: var(--accent-resolve-dim);
  border-color: var(--accent-resolve-dim);
  color: var(--bg-deepest);
}

.dlm-btn--ghost-on-dark {
  background: transparent;
  color: var(--text-on-dark-primary);
  border-color: var(--border-dark);
}

.dlm-btn--ghost-on-dark:hover {
  border-color: var(--accent-resolve);
  color: var(--accent-resolve);
}

.dlm-btn--outline-dark {
  background: transparent;
  color: var(--text-on-light-primary);
  border-color: var(--border-light);
}

.dlm-btn--outline-dark:hover {
  border-color: var(--text-on-light-primary);
  color: var(--text-on-light-primary);
}

.dlm-btn--ghost-on-light {
  background: transparent;
  color: var(--text-on-light-secondary);
  border-color: var(--border-light);
}

.dlm-btn--ghost-on-light:hover {
  border-color: var(--accent-resolve);
  color: var(--accent-resolve);
}

.dlm-btn--sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.dlm-btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
}

/* ============================================================
   6. NAV
   ============================================================ */
.dlm-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.dlm-page--dark-top .dlm-nav {
  background: transparent;
}

.dlm-page--light-top .dlm-nav {
  background: var(--bg-white);
  box-shadow: 0 1px 0 var(--border-light);
}

.dlm-nav--scrolled {
  background: var(--bg-surface) !important;
  box-shadow: 0 1px 0 var(--border-dark) !important;
}

.dlm-nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.dlm-nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.dlm-nav__logo-img--light {
  display: block;
}

.dlm-nav__logo-img--dark {
  display: none;
}

.dlm-page--light-top .dlm-nav__logo-img--light {
  display: none;
}

.dlm-page--light-top .dlm-nav__logo-img--dark {
  display: block;
}

.dlm-nav--scrolled .dlm-nav__logo-img--dark {
  display: none !important;
}

.dlm-nav--scrolled .dlm-nav__logo-img--light {
  display: block !important;
}

.dlm-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.dlm-nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-chip);
  transition: color 0.2s, background 0.2s;
  color: var(--text-on-dark-primary);
}

.dlm-page--light-top .dlm-nav__link {
  color: var(--text-on-light-primary);
}

.dlm-nav--scrolled .dlm-nav__link {
  color: var(--text-on-dark-primary) !important;
}

.dlm-nav__link:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-on-dark-primary);
}

.dlm-page--light-top .dlm-nav__link:hover {
  background: rgba(0,0,0,0.06);
  color: var(--text-on-light-primary);
}

.dlm-nav--scrolled .dlm-nav__link:hover {
  background: rgba(255,255,255,0.08) !important;
  color: var(--text-on-dark-primary) !important;
}

.dlm-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

.dlm-nav__signin {
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-card);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--text-on-dark-primary);
  transition: border-color 0.2s, color 0.2s;
}

.dlm-page--light-top .dlm-nav__signin {
  border-color: var(--border-light);
  color: var(--text-on-light-primary);
}

.dlm-nav--scrolled .dlm-nav__signin {
  border-color: rgba(255,255,255,0.2) !important;
  color: var(--text-on-dark-primary) !important;
}

.dlm-nav__signin:hover {
  border-color: var(--accent-resolve);
  color: var(--accent-resolve);
}

.dlm-nav--scrolled .dlm-nav__signin:hover {
  border-color: var(--accent-resolve) !important;
  color: var(--accent-resolve) !important;
}

.dlm-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.dlm-nav__hamburger-bar {
  width: 22px;
  height: 2px;
  background: var(--text-on-dark-primary);
  border-radius: 2px;
  transition: background 0.2s, transform 0.3s, opacity 0.3s;
  display: block;
}

.dlm-page--light-top .dlm-nav__hamburger-bar {
  background: var(--text-on-light-primary);
}

.dlm-nav--scrolled .dlm-nav__hamburger-bar {
  background: var(--text-on-dark-primary) !important;
}

.dlm-nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-dark);
  padding: 16px clamp(1rem, 4vw, 2rem) 24px;
  gap: 4px;
}

.dlm-nav__mobile-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-on-dark-primary);
  padding: 10px 12px;
  border-radius: var(--radius-card);
  transition: background 0.15s;
}

.dlm-nav__mobile-link:hover {
  background: rgba(255,255,255,0.06);
}

.dlm-nav__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-dark);
}

.dlm-nav__mobile-actions .dlm-btn {
  justify-content: center;
}

.dlm-nav--open .dlm-nav__mobile {
  display: flex;
}

/* ============================================================
   7. HERO — INDEX
   ============================================================ */
.dlm-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--bg-deepest);
}

.dlm-hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 0;
}

.dlm-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.6) 100%);
  z-index: 1;
}

.dlm-hero__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.dlm-hero__text {
  max-width: 580px;
}

.dlm-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-resolve);
  margin-bottom: 20px;
  padding: 4px 10px;
  border: 1px solid rgba(0,201,167,0.3);
  border-radius: 100px;
}

.dlm-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-on-dark-primary);
  margin-bottom: 20px;
}

.dlm-hero__h1 .dlm-accent {
  color: var(--accent-resolve);
}

.dlm-hero__sub {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-on-dark-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}

.dlm-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dlm-hero__visual {
  position: relative;
}

/* ============================================================
   8. TRACE WATERFALL MOCK
   ============================================================ */
.dlm-trace-mock {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.dlm-trace-mock__header {
  background: var(--bg-elevated);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark-secondary);
}

.dlm-trace-mock__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dlm-trace-mock__dot--red { background: var(--accent-alert); }
.dlm-trace-mock__dot--amber { background: #F59E0B; }
.dlm-trace-mock__dot--green { background: var(--accent-resolve); }

.dlm-trace-mock__title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-on-dark-secondary);
  margin-left: 4px;
}

.dlm-trace-mock__body {
  padding: 16px;
}

.dlm-trace-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(30,45,71,0.5);
}

.dlm-trace-row:last-child {
  border-bottom: none;
}

.dlm-trace-row__name {
  width: 160px;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--text-on-dark-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dlm-trace-row__bar-wrap {
  flex: 1;
  height: 16px;
  position: relative;
}

.dlm-trace-row__bar {
  height: 12px;
  border-radius: 2px;
  background: var(--accent-trace);
  opacity: 0.5;
  position: absolute;
  top: 2px;
}

.dlm-trace-row--highlighted .dlm-trace-row__bar {
  background: var(--accent-resolve);
  opacity: 1;
  box-shadow: 0 0 8px rgba(0,201,167,0.4);
}

.dlm-trace-row__duration {
  width: 48px;
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-on-dark-secondary);
}

.dlm-trace-row--highlighted .dlm-trace-row__duration {
  color: var(--accent-resolve);
}

.dlm-trace-annotation {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(0,201,167,0.1);
  border: 1px solid rgba(0,201,167,0.25);
  border-radius: var(--radius-chip);
  font-size: 0.75rem;
  color: var(--accent-resolve);
  line-height: 1.4;
}

.dlm-trace-annotation__label {
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

/* ============================================================
   9. PAIN STRIP
   ============================================================ */
.dlm-pain-strip {
  background: var(--bg-surface);
}

.dlm-pain-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.dlm-pain-metric {
  padding: 40px 32px;
  border-right: 1px solid var(--border-dark);
}

.dlm-pain-metric:last-child {
  border-right: none;
}

.dlm-pain-metric__value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  color: var(--accent-resolve);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}

.dlm-pain-metric__label {
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.4;
}

/* ============================================================
   10. HOW IT WORKS
   ============================================================ */
.dlm-how__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.dlm-how__title {
  color: var(--text-on-dark-primary);
  margin-bottom: 16px;
}

.dlm-how__sub {
  color: var(--text-on-dark-secondary);
  font-size: 1.0625rem;
}

.dlm-how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dlm-how-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 32px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dlm-how-step:hover {
  border-color: rgba(0,201,167,0.3);
  box-shadow: var(--shadow-dark);
}

.dlm-how-step__num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-resolve);
  font-weight: 500;
  margin-bottom: 20px;
  display: block;
}

.dlm-how-step__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-on-dark-primary);
  margin-bottom: 12px;
}

.dlm-how-step__body {
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.dlm-how-step__diagram {
  margin-top: 20px;
  border-top: 1px solid var(--border-dark);
  padding-top: 20px;
}

/* ============================================================
   11. PRODUCT DEPTH (SPLIT PANELS)
   ============================================================ */
.dlm-product-depth__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.dlm-product-depth__header .dlm-h2 {
  color: var(--text-on-light-primary);
  margin-bottom: 12px;
}

.dlm-product-depth__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 32px;
  box-shadow: var(--shadow-light);
}

.dlm-product-depth__panel:last-child {
  margin-bottom: 0;
}

.dlm-product-depth__panel--reversed .dlm-product-depth__content {
  order: 2;
}

.dlm-product-depth__panel--reversed .dlm-product-aside {
  order: 1;
}

.dlm-product-depth__content {
  padding: 48px 40px;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dlm-product-depth__content .dlm-label {
  color: var(--accent-resolve);
  margin-bottom: 16px;
  display: block;
}

.dlm-product-depth__content .dlm-h3 {
  color: var(--text-on-light-primary);
  margin-bottom: 16px;
  font-size: 1.375rem;
}

.dlm-product-depth__content .dlm-body {
  color: var(--text-on-light-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.dlm-product-aside {
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-dark);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dlm-product-depth__panel--reversed .dlm-product-aside {
  border-left: none;
  border-right: 1px solid var(--border-dark);
}

.dlm-product-aside__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dlm-product-aside__stat {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.8;
}

.dlm-product-aside__highlight {
  color: var(--accent-resolve);
  font-weight: 500;
}

.dlm-product-aside__result {
  color: var(--accent-resolve);
  margin-top: 8px;
  display: block;
}

/* ============================================================
   12. INTEGRATIONS STRIP
   ============================================================ */
.dlm-integrations-strip__header {
  text-align: center;
  margin-bottom: 40px;
}

.dlm-integrations-strip__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-on-light-secondary);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dlm-integrations-strip__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}

.dlm-integration-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-on-light-secondary);
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.15s;
}

.dlm-integration-badge:hover {
  border-color: var(--accent-resolve);
  box-shadow: 0 0 0 3px rgba(0,201,167,0.1);
  color: var(--text-on-light-primary);
}

.dlm-integration-badge__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.dlm-integrations-strip__cta {
  text-align: center;
}

.dlm-integrations-strip__cta-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent-resolve);
  text-decoration: none;
  transition: opacity 0.2s;
}

.dlm-integrations-strip__cta-link:hover {
  opacity: 0.8;
}

/* ============================================================
   13. TESTIMONIALS
   ============================================================ */
.dlm-testimonials__header {
  text-align: center;
  margin-bottom: 48px;
}

.dlm-testimonials__title {
  color: var(--text-on-dark-primary);
  margin-bottom: 12px;
}

.dlm-testimonials__sub {
  color: var(--text-on-dark-secondary);
  font-size: 1.0625rem;
}

.dlm-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dlm-testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-left: 3px solid var(--accent-resolve);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-dark);
}

.dlm-testimonial-card__quote {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-on-dark-primary);
  font-style: italic;
  margin-bottom: 24px;
}

.dlm-testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dlm-testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-resolve);
  color: var(--bg-deepest);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dlm-testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dlm-testimonial-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-on-dark-primary);
}

.dlm-testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--text-on-dark-secondary);
}

/* ============================================================
   14. PRICING PREVIEW
   ============================================================ */
.dlm-pricing-preview__inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.dlm-pricing-preview__label {
  color: var(--text-on-light-muted);
  display: block;
  margin-bottom: 16px;
}

.dlm-pricing-preview__tiers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.dlm-pricing-preview__tier {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid var(--border-light);
  text-align: center;
}

.dlm-pricing-preview__tier:last-child {
  border-right: none;
}

.dlm-pricing-preview__tier-price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-on-light-primary);
  display: block;
  margin-bottom: 4px;
}

.dlm-pricing-preview__tier-name {
  font-size: 0.875rem;
  color: var(--text-on-light-muted);
}

.dlm-pricing-preview__tier-period {
  font-size: 1rem;
  font-weight: 400;
}

.dlm-pricing-preview__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent-resolve);
}

.dlm-pricing-preview__link:hover {
  color: var(--accent-resolve-dim);
}

/* ============================================================
   15. CTA BOTTOM / TERMINAL
   ============================================================ */
.dlm-cta-bottom__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.dlm-cta-bottom__text .dlm-h2 {
  color: var(--text-on-dark-primary);
  margin-bottom: 16px;
}

.dlm-cta-bottom__sub {
  color: var(--text-on-dark-secondary);
  font-size: 1.0625rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.dlm-cta-bottom__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dlm-terminal-mock {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  box-shadow: var(--shadow-dark);
}

.dlm-terminal-mock__titlebar {
  background: var(--bg-elevated);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dlm-terminal-mock__titlebar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dlm-terminal-mock__titlebar-dot:nth-child(1) { background: var(--accent-alert); }
.dlm-terminal-mock__titlebar-dot:nth-child(2) { background: #F59E0B; }
.dlm-terminal-mock__titlebar-dot:nth-child(3) { background: #22C55E; }

.dlm-terminal-mock__body {
  padding: 20px;
  line-height: 1.8;
  color: var(--text-on-dark-secondary);
}

.dlm-terminal-mock__prompt {
  color: var(--accent-trace);
}

.dlm-terminal-mock__cmd {
  color: var(--text-on-dark-primary);
}

.dlm-terminal-mock__ok {
  color: var(--accent-resolve);
  font-weight: 600;
}

.dlm-terminal-mock__output {
  color: var(--text-on-dark-secondary);
  padding-left: 20px;
}

.dlm-terminal-mock__cursor-line {
  margin-top: 8px;
}

.dlm-terminal-mock__cursor {
  opacity: 0.4;
}

/* ============================================================
   16. FOOTER
   ============================================================ */
.dlm-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-dark);
  padding: 64px 0 32px;
}

.dlm-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.dlm-footer__brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dlm-footer__logo {
  display: inline-flex;
}

.dlm-footer__tagline {
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.5;
  max-width: 240px;
}

.dlm-footer__col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-dark-primary);
  margin-bottom: 16px;
}

.dlm-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dlm-footer__link {
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  transition: color 0.15s;
}

.dlm-footer__link:hover {
  color: var(--accent-resolve);
}

.dlm-footer__bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.dlm-footer__copyright {
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
}

.dlm-footer__cookie-pref {
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  transition: color 0.15s;
  padding: 0;
}

.dlm-footer__cookie-pref:hover {
  color: var(--accent-resolve);
}

/* ============================================================
   17. SUB-PAGE HERO (shared across product, integrations, etc.)
   ============================================================ */
.dlm-page-hero {
  padding: 120px 0 80px;
  background: var(--bg-deepest);
  position: relative;
  overflow: hidden;
}

.dlm-page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-resolve), transparent);
  opacity: 0.5;
}

.dlm-page-hero__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.dlm-page-hero__text {
  max-width: 560px;
}

.dlm-page-hero__eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-resolve);
  margin-bottom: 16px;
}

.dlm-page-hero__h1 {
  color: var(--text-on-dark-primary);
  margin-bottom: 20px;
}

.dlm-page-hero__sub {
  color: var(--text-on-dark-secondary);
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 32px;
}

.dlm-page-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dlm-page-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dlm-page-hero--light {
  background: var(--bg-light);
  padding: 100px 0 64px;
}

.dlm-page-hero--light::before {
  display: none;
}

.dlm-page-hero--light .dlm-page-hero__h1 {
  color: var(--text-on-light-primary);
}

.dlm-page-hero--light .dlm-page-hero__sub {
  color: var(--text-on-light-secondary);
}

.dlm-page-hero--light .dlm-page-hero__eyebrow {
  color: var(--accent-resolve-dim);
}

/* ============================================================
   18. PRODUCT PAGE SPECIFIC
   ============================================================ */
.dlm-arch-diagram {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 40px;
  overflow-x: auto;
}

.dlm-arch-diagram__svg {
  width: 100%;
  min-width: 700px;
}

.dlm-arch-block {
  fill: var(--bg-elevated);
  stroke: var(--border-dark);
  stroke-width: 1;
}

.dlm-arch-block--resolve {
  fill: rgba(0,201,167,0.15);
  stroke: rgba(0,201,167,0.4);
}

.dlm-arch-block--alert {
  fill: rgba(255,71,87,0.1);
  stroke: rgba(255,71,87,0.3);
}

.dlm-arch-block--trace {
  fill: rgba(61,142,255,0.1);
  stroke: rgba(61,142,255,0.3);
}

.dlm-arch-label {
  fill: var(--text-on-dark-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.dlm-arch-arrow {
  stroke: var(--border-dark);
  stroke-width: 1.5;
  fill: none;
  marker-end: url(#arrowhead);
}

.dlm-arch-arrow--resolve {
  stroke: var(--accent-resolve);
  opacity: 0.7;
}

.dlm-arch-arrow--alert {
  stroke: var(--accent-alert);
  opacity: 0.6;
}

.dlm-arch-arrow--trace {
  stroke: var(--accent-trace);
  opacity: 0.6;
}

.dlm-correlation-section {
  background: var(--bg-light);
}

.dlm-correlation-section .dlm-h2 {
  color: var(--text-on-light-primary);
}

.dlm-correlation-section .dlm-body {
  color: var(--text-on-light-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.dlm-subpanels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.dlm-subpanel {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-light);
}

.dlm-subpanel__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-resolve-dim);
  margin-bottom: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dlm-rca-explainability {
  background: var(--bg-light);
}

.dlm-rca-mock {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-light);
}

.dlm-rca-candidate {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.dlm-rca-candidate:last-child {
  border-bottom: none;
}

.dlm-rca-candidate__rank {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-resolve);
  width: 48px;
  flex-shrink: 0;
}

.dlm-rca-candidate__info {
  flex: 1;
}

.dlm-rca-candidate__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-on-light-primary);
  margin-bottom: 4px;
}

.dlm-rca-candidate__reason {
  font-size: 0.875rem;
  color: var(--text-on-light-secondary);
}

.dlm-rca-candidate__confidence {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.dlm-rca-candidate__confidence--high { color: var(--accent-resolve); }
.dlm-rca-candidate__confidence--mid { color: var(--accent-trace); }
.dlm-rca-candidate__confidence--low { color: var(--text-on-light-muted); }

.dlm-remediation-section {
  background: var(--bg-deepest);
}

.dlm-remediation-section .dlm-h2 {
  color: var(--text-on-dark-primary);
}

.dlm-remediation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.dlm-step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dlm-step-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dark);
}

.dlm-step-item:last-child {
  border-bottom: none;
}

.dlm-step-item__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-resolve);
  font-weight: 600;
  flex-shrink: 0;
  width: 24px;
  padding-top: 2px;
}

.dlm-step-item__text {
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.5;
}

.dlm-diff-mock {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.dlm-diff-mock__header {
  background: var(--bg-elevated);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-on-dark-secondary);
  font-size: 0.75rem;
}

.dlm-diff-mock__body {
  padding: 12px 0;
}

.dlm-diff-line {
  padding: 3px 16px;
  line-height: 1.6;
}

.dlm-diff-line--add {
  background: rgba(0,201,167,0.08);
  color: var(--accent-resolve);
}

.dlm-diff-line--remove {
  background: rgba(255,71,87,0.08);
  color: var(--accent-alert);
}

.dlm-diff-line--context {
  color: var(--text-on-dark-muted);
}

.dlm-data-retention-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.dlm-data-retention-table th {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-light);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text-on-light-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dlm-data-retention-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-on-light-primary);
}

.dlm-data-retention-table tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   19. INTEGRATIONS PAGE
   ============================================================ */
.dlm-integrations-grid__section {
  margin-bottom: 40px;
}

.dlm-integrations-grid__category {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-resolve);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.dlm-integration-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.dlm-integration-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s;
}

.dlm-integration-card:hover {
  border-color: rgba(0,201,167,0.3);
}

.dlm-integration-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dlm-integration-card__icon {
  width: 32px;
  height: 32px;
  background: rgba(61,142,255,0.12);
  border-radius: var(--radius-chip);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dlm-integration-card__name {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-on-dark-primary);
}

.dlm-integration-card__desc {
  font-size: 0.8125rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.4;
}

.dlm-integration-card__link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-trace);
  text-decoration: none;
  font-weight: 500;
  align-self: flex-start;
}

.dlm-integration-card__link:hover {
  color: var(--accent-resolve);
}

.dlm-otel-callout {
  background: var(--bg-deepest);
}

.dlm-otel-callout .dlm-h2 {
  color: var(--text-on-dark-primary);
  margin-bottom: 16px;
}

.dlm-otel-callout .dlm-body {
  color: var(--text-on-dark-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.dlm-custom-api-section {
  background: var(--bg-light);
}

.dlm-custom-api-section .dlm-h2 {
  color: var(--text-on-light-primary);
  margin-bottom: 16px;
}

.dlm-custom-api-section .dlm-body {
  color: var(--text-on-light-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.dlm-code-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.dlm-code-block__header {
  background: var(--bg-elevated);
  padding: 8px 16px;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.75rem;
  color: var(--text-on-dark-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dlm-code-block__lang {
  background: rgba(0,201,167,0.1);
  color: var(--accent-resolve);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dlm-code-block__body {
  padding: 16px;
  line-height: 1.7;
  overflow-x: auto;
}

.dlm-code-kw { color: var(--accent-trace); }
.dlm-code-fn { color: var(--accent-resolve); }
.dlm-code-str { color: #F59E0B; }
.dlm-code-comment { color: var(--text-on-dark-muted); font-style: italic; }
.dlm-code-def { color: var(--text-on-dark-primary); }

/* ============================================================
   20. PRICING PAGE
   ============================================================ */
.dlm-pricing-hero {
  background: var(--bg-deepest);
}

.dlm-pricing-hero .dlm-page-hero__h1 {
  color: var(--text-on-dark-primary);
}

.dlm-pricing-hero .dlm-page-hero__sub {
  color: var(--text-on-dark-secondary);
}

.dlm-pricing-tiers {
  background: var(--bg-surface);
  padding: var(--section-v-desktop) 0;
}

.dlm-pricing-tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.dlm-pricing-tier {
  background: var(--bg-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dlm-pricing-tier:hover {
  border-color: rgba(0,201,167,0.2);
}

.dlm-pricing-tier--highlighted {
  border-color: var(--accent-resolve);
  box-shadow: 0 0 0 1px var(--accent-resolve), var(--shadow-dark);
  position: relative;
}

.dlm-pricing-tier__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-resolve);
  color: var(--bg-deepest);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dlm-pricing-tier__name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-on-dark-primary);
  margin-bottom: 8px;
}

.dlm-pricing-tier__price {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--text-on-dark-primary);
  margin-bottom: 4px;
  line-height: 1;
}

.dlm-pricing-tier__price sup {
  font-size: 1rem;
  vertical-align: super;
  font-weight: 400;
}

.dlm-pricing-tier__period {
  font-size: 0.875rem;
  color: var(--text-on-dark-secondary);
  margin-bottom: 24px;
}

.dlm-pricing-tier__divider {
  height: 1px;
  background: var(--border-dark);
  margin-bottom: 24px;
}

.dlm-pricing-tier__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  flex: 1;
}

.dlm-pricing-tier__feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-on-dark-secondary);
}

.dlm-pricing-tier__feature-icon {
  color: var(--accent-resolve);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.dlm-pricing-tier__cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.dlm-pricing-faq {
  background: var(--bg-light);
  padding: var(--section-v-desktop) 0;
}

.dlm-pricing-faq .dlm-h2 {
  color: var(--text-on-light-primary);
  text-align: center;
  margin-bottom: 40px;
}

.dlm-faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dlm-faq-item {
  border-bottom: 1px solid var(--border-light);
}

.dlm-faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.dlm-faq-item__trigger {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-on-light-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}

.dlm-faq-item__trigger:hover {
  color: var(--accent-resolve);
}

.dlm-faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-light-muted);
  transition: transform 0.25s, color 0.15s;
}

.dlm-faq-item--open .dlm-faq-item__icon {
  transform: rotate(45deg);
  color: var(--accent-resolve);
}

.dlm-faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.dlm-faq-item--open .dlm-faq-item__body {
  max-height: 400px;
}

.dlm-faq-item__answer {
  padding: 0 0 20px;
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
}

/* ============================================================
   21. ABOUT PAGE
   ============================================================ */
.dlm-about-hero {
  background: var(--bg-light);
  padding: 100px 0 64px;
}

.dlm-about-hero__h1 {
  color: var(--text-on-light-primary);
  margin-bottom: 20px;
}

.dlm-about-hero__sub {
  font-size: 1.125rem;
  color: var(--text-on-light-secondary);
  line-height: 1.65;
  max-width: 560px;
}

.dlm-founding-story {
  background: var(--bg-white);
}

.dlm-founding-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.dlm-founding-story__text .dlm-h2 {
  color: var(--text-on-light-primary);
  margin-bottom: 20px;
}

.dlm-founding-story__body {
  font-size: 1rem;
  color: var(--text-on-light-secondary);
  line-height: 1.75;
}

.dlm-founding-story__body p {
  margin-bottom: 16px;
}

.dlm-founding-story__body p:last-child {
  margin-bottom: 0;
}

.dlm-founding-story__quote {
  border-left: 3px solid var(--accent-resolve);
  padding: 12px 20px;
  margin: 24px 0;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-on-light-primary);
  background: rgba(0,201,167,0.04);
  border-radius: 0 var(--radius-chip) var(--radius-chip) 0;
}

.dlm-founding-story__portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-light);
}

.dlm-principles-section {
  background: var(--bg-light);
}

.dlm-principles-section .dlm-h2 {
  color: var(--text-on-light-primary);
  margin-bottom: 48px;
}

.dlm-principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dlm-principle-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-light);
}

.dlm-principle-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-on-light-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.dlm-principle-card__body {
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.6;
}

.dlm-team-section {
  background: var(--bg-white);
}

.dlm-team-section .dlm-h2 {
  color: var(--text-on-light-primary);
  margin-bottom: 48px;
}

.dlm-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.dlm-team-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dlm-team-card__portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-light);
}

.dlm-team-card__name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-on-light-primary);
}

.dlm-team-card__role {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-resolve-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: -8px;
}

.dlm-team-card__bio {
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.6;
}

.dlm-about-cta-section {
  background: var(--bg-light);
}

.dlm-about-cta-section .dlm-h2 {
  color: var(--text-on-light-primary);
  margin-bottom: 16px;
}

.dlm-about-cta-section .dlm-body {
  color: var(--text-on-light-secondary);
  font-size: 1.0625rem;
  margin-bottom: 32px;
}

/* ============================================================
   22. CONTACT PAGE
   ============================================================ */
.dlm-contact-section {
  background: var(--bg-deepest);
  min-height: calc(100vh - 64px);
  padding: 100px 0 80px;
}

.dlm-contact-section .dlm-h1 {
  color: var(--text-on-dark-primary);
  margin-bottom: 48px;
}

.dlm-contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
}

.dlm-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dlm-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dlm-form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-on-dark-secondary);
}

.dlm-form-input,
.dlm-form-select,
.dlm-form-textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-on-dark-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.dlm-form-input:focus,
.dlm-form-select:focus,
.dlm-form-textarea:focus {
  outline: none;
  border-color: var(--accent-resolve);
  box-shadow: 0 0 0 3px rgba(0,201,167,0.12);
}

.dlm-form-input::placeholder,
.dlm-form-textarea::placeholder {
  color: var(--text-on-dark-muted);
}

.dlm-form-select option {
  background: var(--bg-surface);
  color: var(--text-on-dark-primary);
}

.dlm-form-textarea {
  min-height: 140px;
  resize: vertical;
}

.dlm-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dlm-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dlm-contact-info__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-on-dark-primary);
  margin-bottom: 4px;
}

.dlm-contact-info__detail {
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.6;
}

.dlm-contact-info__detail a {
  color: var(--accent-resolve);
  transition: opacity 0.15s;
}

.dlm-contact-info__detail a:hover {
  opacity: 0.8;
}

.dlm-contact-info__group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ============================================================
   23. CHANGELOG PAGE
   ============================================================ */
.dlm-changelog-entries {
  background: var(--bg-surface);
  padding: var(--section-v-desktop) 0;
}

.dlm-changelog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.dlm-changelog-entry {
  padding: 32px 0;
  border-bottom: 1px solid var(--border-dark);
}

.dlm-changelog-entry:last-child {
  border-bottom: none;
}

.dlm-changelog-entry__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.dlm-changelog-entry__version {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-on-dark-primary);
  background: var(--bg-elevated);
  padding: 3px 10px;
  border-radius: var(--radius-chip);
  border: 1px solid var(--border-dark);
}

.dlm-changelog-entry__date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
}

.dlm-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-chip);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dlm-tag--new {
  background: rgba(0,201,167,0.15);
  color: var(--accent-resolve);
}

.dlm-tag--improved {
  background: rgba(61,142,255,0.15);
  color: var(--accent-trace);
}

.dlm-tag--fix {
  background: rgba(245,158,11,0.15);
  color: #F59E0B;
}

.dlm-changelog-entry__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 4px;
}

.dlm-changelog-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.5;
}

.dlm-changelog-item .dlm-tag {
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   24. SECURITY PAGE
   ============================================================ */
.dlm-security-details {
  background: var(--bg-surface);
}

.dlm-security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dlm-security-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 28px;
}

.dlm-security-card__icon {
  color: var(--accent-resolve);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.dlm-security-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-on-dark-primary);
  margin-bottom: 12px;
}

.dlm-security-card__body {
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.6;
}

.dlm-disclosure-section {
  background: var(--bg-light);
}

.dlm-disclosure-section .dlm-h2 {
  color: var(--text-on-light-primary);
  margin-bottom: 16px;
}

.dlm-disclosure-section .dlm-body {
  color: var(--text-on-light-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.dlm-disclosure-section .dlm-body a {
  color: var(--accent-resolve-dim);
  transition: color 0.15s;
}

.dlm-disclosure-section .dlm-body a:hover {
  color: var(--accent-resolve);
}

/* ============================================================
   25. STATUS PAGE
   ============================================================ */
.dlm-status-current {
  background: var(--bg-deepest);
  min-height: calc(100vh - 64px);
  padding: 100px 0 80px;
}

.dlm-status-overall {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,201,167,0.1);
  border: 1px solid rgba(0,201,167,0.25);
  border-radius: var(--radius-card);
  padding: 12px 20px;
  margin-bottom: 48px;
}

.dlm-status-overall__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-resolve);
  box-shadow: 0 0 6px var(--accent-resolve);
}

.dlm-status-overall__text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-resolve);
}

.dlm-status-components {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 16px;
}

.dlm-status-component {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-dark);
}

.dlm-status-component:last-child {
  border-bottom: none;
}

.dlm-status-component__name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-on-dark-primary);
}

.dlm-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
}

.dlm-status-pill--operational {
  background: rgba(0,201,167,0.12);
  color: var(--accent-resolve);
}

.dlm-status-pill--degraded {
  background: rgba(245,158,11,0.12);
  color: #F59E0B;
}

.dlm-status-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.dlm-status-history {
  background: var(--bg-surface);
}

.dlm-incident-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dlm-incident-item {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-dark);
}

.dlm-incident-item:last-child {
  border-bottom: none;
}

.dlm-incident-item__date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
  flex-shrink: 0;
  width: 96px;
  padding-top: 2px;
}

.dlm-incident-item__content {
  flex: 1;
}

.dlm-incident-item__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-on-dark-primary);
  margin-bottom: 4px;
}

.dlm-incident-item__detail {
  font-size: 0.875rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.5;
}

.dlm-incident-item__status {
  flex-shrink: 0;
}

/* ============================================================
   26. BLOG PAGES
   ============================================================ */
.dlm-blog-hero {
  background: var(--bg-light);
  padding: 100px 0 64px;
}

.dlm-blog-hero .dlm-h1 {
  color: var(--text-on-light-primary);
  margin-bottom: 16px;
}

.dlm-blog-hero__sub {
  font-size: 1.0625rem;
  color: var(--text-on-light-secondary);
  max-width: 560px;
  line-height: 1.6;
}

.dlm-blog-grid-section {
  background: var(--bg-white);
  padding: var(--section-v-desktop) 0;
}

.dlm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dlm-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.dlm-blog-card:hover {
  box-shadow: var(--shadow-light);
  border-color: var(--accent-resolve);
}

.dlm-blog-card__cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.dlm-blog-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.dlm-blog-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--accent-resolve-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dlm-blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-on-light-primary);
  line-height: 1.35;
}

.dlm-blog-card:hover .dlm-blog-card__title {
  color: var(--accent-resolve-dim);
}

.dlm-blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-on-light-secondary);
  line-height: 1.55;
  flex: 1;
}

.dlm-blog-card__date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-on-light-muted);
  margin-top: 8px;
}

/* ============================================================
   27. ARTICLE TEMPLATE
   ============================================================ */
.dlm-article-hero {
  background: var(--bg-light);
  padding: 100px 0 48px;
}

.dlm-article-hero__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-resolve-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 16px;
}

.dlm-article-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-on-light-primary);
  line-height: 1.15;
  max-width: 740px;
  margin-bottom: 20px;
}

.dlm-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--text-on-light-muted);
}

.dlm-article-hero__author {
  font-weight: 500;
  color: var(--text-on-light-secondary);
}

.dlm-article-cover {
  width: 100%;
  max-width: 900px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-card);
  margin: 0 auto 0;
  display: block;
}

.dlm-article-body-section {
  background: var(--bg-white);
  padding: 64px 0;
}

.dlm-article-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  font-family: var(--font-body);
}

.dlm-article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-on-light-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.dlm-article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-on-light-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.dlm-article-content p {
  font-size: 1.0625rem;
  color: var(--text-on-light-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.dlm-article-content ul,
.dlm-article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.dlm-article-content ul {
  list-style: disc;
}

.dlm-article-content ol {
  list-style: decimal;
}

.dlm-article-content li {
  font-size: 1.0625rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.dlm-article-content blockquote {
  border-left: 3px solid var(--accent-resolve);
  padding: 12px 20px;
  margin: 1.5rem 0;
  background: rgba(0,201,167,0.04);
  border-radius: 0 var(--radius-chip) var(--radius-chip) 0;
  font-style: italic;
  color: var(--text-on-light-primary);
}

.dlm-article-content pre {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

.dlm-article-content code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  color: var(--text-on-dark-secondary);
}

.dlm-article-content pre code {
  background: transparent;
  padding: 0;
  border: none;
  font-size: 0.875rem;
  color: var(--text-on-dark-secondary);
}

.dlm-article-content a {
  color: var(--accent-resolve-dim);
  text-decoration: underline;
  text-decoration-color: rgba(0,155,130,0.3);
}

.dlm-article-content a:hover {
  color: var(--accent-resolve);
}

.dlm-article-content img {
  max-width: 100%;
  border-radius: var(--radius-card);
  margin: 1.5rem auto;
  height: auto;
}

.dlm-related-articles {
  background: var(--bg-light);
  padding: 64px 0;
}

.dlm-related-articles .dlm-h3 {
  color: var(--text-on-light-primary);
  margin-bottom: 32px;
}

.dlm-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================================
   28. DOCS PAGES
   ============================================================ */
.dlm-docs-hero {
  background: var(--bg-light);
  padding: 100px 0 64px;
}

.dlm-docs-hero .dlm-h1 {
  color: var(--text-on-light-primary);
  margin-bottom: 24px;
}

.dlm-docs-search {
  max-width: 480px;
  position: relative;
  margin-bottom: 40px;
}

.dlm-docs-search__input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-on-light-primary);
  box-shadow: var(--shadow-light);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dlm-docs-search__input:focus {
  outline: none;
  border-color: var(--accent-resolve);
  box-shadow: 0 0 0 3px rgba(0,201,167,0.12);
}

.dlm-docs-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-on-light-muted);
  pointer-events: none;
}

.dlm-docs-quicklinks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dlm-docs-quicklink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-on-light-secondary);
  transition: border-color 0.2s, color 0.2s;
  box-shadow: var(--shadow-light);
}

.dlm-docs-quicklink:hover {
  border-color: var(--accent-resolve);
  color: var(--accent-resolve-dim);
}

.dlm-docs-categories-section {
  background: var(--bg-white);
  padding: var(--section-v-desktop) 0;
}

.dlm-docs-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dlm-docs-category-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dlm-docs-category-card:hover {
  box-shadow: var(--shadow-light);
  border-color: var(--accent-resolve);
}

.dlm-docs-category-card__icon {
  font-size: 1.25rem;
  color: var(--accent-resolve-dim);
  margin-bottom: 4px;
}

.dlm-docs-category-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-on-light-primary);
}

.dlm-docs-category-card__desc {
  font-size: 0.875rem;
  color: var(--text-on-light-secondary);
  line-height: 1.5;
}

.dlm-docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  align-items: start;
  background: var(--bg-white);
  min-height: calc(100vh - 64px);
}

.dlm-docs-sidebar {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 32px 24px;
  border-right: 1px solid var(--border-light);
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dlm-docs-sidebar__section {
  margin-bottom: 24px;
}

.dlm-docs-sidebar__heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-on-light-muted);
  margin-bottom: 8px;
  padding-left: 8px;
}

.dlm-docs-sidebar__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dlm-docs-sidebar__link {
  font-size: 0.875rem;
  color: var(--text-on-light-secondary);
  padding: 6px 8px;
  border-radius: var(--radius-chip);
  transition: background 0.15s, color 0.15s;
}

.dlm-docs-sidebar__link:hover {
  background: rgba(0,201,167,0.08);
  color: var(--text-on-light-primary);
}

.dlm-docs-sidebar__link--active {
  background: rgba(0,201,167,0.12);
  color: var(--accent-resolve-dim);
  font-weight: 500;
}

.dlm-docs-content {
  padding: 48px 64px;
  max-width: 800px;
}

.dlm-docs-content .dlm-h1 {
  color: var(--text-on-light-primary);
  margin-bottom: 24px;
}

.dlm-docs-content .dlm-h2 {
  color: var(--text-on-light-primary);
  margin-top: 48px;
  margin-bottom: 16px;
}

.dlm-docs-content .dlm-h3 {
  color: var(--text-on-light-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.dlm-docs-content p {
  font-size: 1rem;
  color: var(--text-on-light-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.dlm-docs-content ul,
.dlm-docs-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.dlm-docs-content ul { list-style: disc; }
.dlm-docs-content ol { list-style: decimal; }

.dlm-docs-content li {
  font-size: 1rem;
  color: var(--text-on-light-secondary);
  line-height: 1.65;
  margin-bottom: 0.4rem;
}

.dlm-docs-content a {
  color: var(--accent-resolve-dim);
  text-decoration: underline;
  text-decoration-color: rgba(0,155,130,0.3);
}

.dlm-docs-content a:hover {
  color: var(--accent-resolve);
}

.dlm-docs-content code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: rgba(0,0,0,0.06);
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--text-on-light-primary);
}

.dlm-docs-content pre {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

.dlm-docs-content pre code {
  background: transparent;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text-on-dark-secondary);
  border-radius: 0;
}

.dlm-docs-step {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.dlm-docs-step__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--accent-resolve);
  color: var(--bg-deepest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

.dlm-docs-step__content {
  flex: 1;
}

.dlm-docs-step__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-on-light-primary);
  margin-bottom: 8px;
}

.dlm-docs-step__body {
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.65;
}

.dlm-api-endpoint {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 24px;
}

.dlm-api-endpoint__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
}

.dlm-api-method {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-chip);
  text-transform: uppercase;
}

.dlm-api-method--post {
  background: rgba(0,201,167,0.12);
  color: var(--accent-resolve-dim);
}

.dlm-api-method--get {
  background: rgba(61,142,255,0.12);
  color: var(--accent-trace);
}

.dlm-api-endpoint__path {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-on-light-primary);
}

.dlm-api-endpoint__body {
  padding: 16px;
}

.dlm-api-endpoint__desc {
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  margin-bottom: 12px;
}

/* ============================================================
   29. AUTH PAGES
   ============================================================ */
.dlm-auth-page {
  min-height: 100vh;
  background: var(--bg-deepest);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.dlm-auth-page::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,201,167,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.dlm-auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-dark);
  position: relative;
  z-index: 1;
}

.dlm-auth-card__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.dlm-auth-card__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-on-dark-primary);
  margin-bottom: 8px;
  text-align: center;
}

.dlm-auth-card__subtitle {
  font-size: 0.9375rem;
  color: var(--text-on-dark-secondary);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.5;
}

.dlm-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dlm-auth-form__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-on-dark-secondary);
  display: block;
  margin-bottom: 6px;
}

.dlm-auth-form__input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-on-dark-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dlm-auth-form__input:focus {
  outline: none;
  border-color: var(--accent-resolve);
  box-shadow: 0 0 0 3px rgba(0,201,167,0.12);
}

.dlm-auth-form__input::placeholder {
  color: var(--text-on-dark-muted);
}

.dlm-auth-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.dlm-auth-links {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.dlm-auth-links__item {
  font-size: 0.875rem;
  color: var(--text-on-dark-secondary);
}

.dlm-auth-links__item a {
  color: var(--accent-resolve);
  transition: opacity 0.15s;
}

.dlm-auth-links__item a:hover {
  opacity: 0.8;
}

.dlm-auth-legal {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-dark);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
  line-height: 1.5;
}

.dlm-auth-legal a {
  color: var(--text-on-dark-muted);
  text-decoration: underline;
  text-decoration-color: rgba(74,85,104,0.5);
}

.dlm-auth-legal a:hover {
  color: var(--text-on-dark-secondary);
}

/* ============================================================
   30. LEGAL PAGES
   ============================================================ */
.dlm-legal-page {
  background: var(--bg-white);
  min-height: 100vh;
}

.dlm-legal-page main {
  background: var(--bg-white);
}

.dlm-legal-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px clamp(1rem, 4vw, 2rem) 80px;
}

.dlm-legal-page .legal-article {
  font-family: var(--font-body);
  color: var(--text-on-light-primary);
}

.dlm-legal-page .legal-header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-on-light-primary);
  margin-bottom: 8px;
}

.dlm-legal-page .legal-meta {
  font-size: 0.875rem;
  color: var(--text-on-light-muted);
  margin-bottom: 4px;
}

.dlm-legal-page .legal-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.dlm-legal-page .legal-article section {
  margin-bottom: 32px;
}

.dlm-legal-page .legal-article h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-on-light-primary);
  margin-bottom: 12px;
  margin-top: 0;
  padding-top: 0;
}

.dlm-legal-page .legal-article h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-on-light-primary);
  margin-bottom: 8px;
  margin-top: 16px;
}

.dlm-legal-page .legal-article p {
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.dlm-legal-page .legal-article ul,
.dlm-legal-page .legal-article ol {
  padding-left: 1.5rem;
  margin-bottom: 12px;
}

.dlm-legal-page .legal-article ul { list-style: disc; }
.dlm-legal-page .legal-article ol { list-style: decimal; }

.dlm-legal-page .legal-article li {
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.dlm-legal-page .legal-article address {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--text-on-light-secondary);
  line-height: 1.7;
}

.dlm-legal-page .legal-article a {
  color: var(--accent-resolve-dim);
}

.dlm-legal-page .legal-article a:hover {
  color: var(--accent-resolve);
}

.dlm-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.dlm-legal-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--bg-light);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-on-light-secondary);
  border: 1px solid var(--border-light);
}

.dlm-legal-table td {
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  color: var(--text-on-light-secondary);
}

.dlm-legal-page .legal-article table.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.dlm-legal-page .legal-article table.legal-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--bg-light);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-on-light-secondary);
  border: 1px solid var(--border-light);
}

.dlm-legal-page .legal-article table.legal-table td {
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  color: var(--text-on-light-secondary);
}

/* ============================================================
   31. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-dark);
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-on-dark-secondary);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--accent-resolve);
  text-decoration: underline;
  text-decoration-color: rgba(0,201,167,0.3);
}

.cookie-banner__actions {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
}

.cookie-banner__btn {
  padding: 8px 20px;
  border-radius: var(--radius-card);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
  color: var(--bg-deepest);
  background: var(--accent-resolve);
  border: 1.5px solid var(--accent-resolve);
}

.cookie-banner__btn:hover {
  background: var(--accent-resolve-dim);
  border-color: var(--accent-resolve-dim);
  color: var(--bg-deepest);
}

.cookie-banner__btn--primary {
  color: var(--bg-deepest);
  background: var(--accent-resolve);
  border-color: var(--accent-resolve);
}

/* ============================================================
   32. 404 PAGE
   ============================================================ */
.dlm-404-page {
  min-height: 100vh;
  background: var(--bg-deepest);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.dlm-404-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.dlm-404-logo {
  display: inline-flex;
}

.dlm-404-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.dlm-404-code {
  font-family: var(--font-mono);
  font-size: 7rem;
  font-weight: 500;
  color: var(--border-dark);
  line-height: 1;
  letter-spacing: -0.04em;
}

.dlm-404-h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--text-on-dark-primary);
  line-height: 1.2;
}

.dlm-404-sub {
  font-size: 1rem;
  color: var(--text-on-dark-secondary);
  max-width: 400px;
  line-height: 1.6;
}

.dlm-404-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   33. ANIMATIONS
   ============================================================ */
.dlm-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.dlm-fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   33. UTILITY CLASSES
   ============================================================ */
.dlm-text-accent { color: var(--accent-resolve); }
.dlm-text-muted-dark { color: var(--text-on-dark-secondary); }
.dlm-text-muted-light { color: var(--text-on-light-secondary); }
.dlm-text-center { text-align: center; }
.dlm-mt-sm { margin-top: 16px; }
.dlm-mt-md { margin-top: 32px; }
.dlm-mt-lg { margin-top: 48px; }
.dlm-mb-sm { margin-bottom: 16px; }
.dlm-mb-md { margin-bottom: 32px; }
.dlm-mb-lg { margin-bottom: 48px; }

.dlm-section-header {
  margin-bottom: 48px;
}

.dlm-section-header--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

/* ============================================================
   34. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .dlm-hero__body {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .dlm-hero__text {
    max-width: 100%;
  }

  .dlm-how__steps {
    grid-template-columns: 1fr 1fr;
  }

  .dlm-pricing-tiers__grid {
    grid-template-columns: 1fr 1fr;
  }

  .dlm-pricing-tiers__grid .dlm-pricing-tier:last-child {
    grid-column: 1 / -1;
  }

  .dlm-cta-bottom__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dlm-docs-content {
    padding: 32px 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-v-desktop: var(--section-v-mobile);
  }

  .dlm-nav__links,
  .dlm-nav__actions {
    display: none;
  }

  .dlm-nav__hamburger {
    display: flex;
  }

  .dlm-hero {
    padding: 100px 0 64px;
  }

  .dlm-pain-strip__inner {
    grid-template-columns: 1fr;
  }

  .dlm-pain-metric {
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
    padding: 28px 24px;
  }

  .dlm-pain-metric:last-child {
    border-bottom: none;
  }

  .dlm-how__steps {
    grid-template-columns: 1fr;
  }

  .dlm-product-depth__panel {
    grid-template-columns: 1fr;
  }

  .dlm-product-depth__panel--reversed .dlm-product-depth__content {
    order: 1;
  }

  .dlm-product-depth__panel--reversed .dlm-product-aside {
    order: 2;
  }

  .dlm-product-aside {
    border-left: none;
    border-top: 1px solid var(--border-dark);
  }

  .dlm-product-depth__panel--reversed .dlm-product-aside {
    border-right: none;
    border-top: 1px solid var(--border-dark);
  }

  .dlm-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .dlm-blog-grid {
    grid-template-columns: 1fr;
  }

  .dlm-team-grid {
    grid-template-columns: 1fr;
  }

  .dlm-principles-grid {
    grid-template-columns: 1fr;
  }

  .dlm-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .dlm-footer__brand-col {
    grid-column: 1 / -1;
  }

  .dlm-pricing-tiers__grid {
    grid-template-columns: 1fr;
  }

  .dlm-pricing-tiers__grid .dlm-pricing-tier:last-child {
    grid-column: auto;
  }

  .dlm-page-hero__body {
    grid-template-columns: 1fr;
  }

  .dlm-contact-layout {
    grid-template-columns: 1fr;
  }

  .dlm-founding-story__grid {
    grid-template-columns: 1fr;
  }

  .dlm-remediation-layout {
    grid-template-columns: 1fr;
  }

  .dlm-subpanels {
    grid-template-columns: 1fr;
  }

  .dlm-security-grid {
    grid-template-columns: 1fr;
  }

  .dlm-docs-layout {
    grid-template-columns: 1fr;
  }

  .dlm-docs-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .dlm-docs-content {
    padding: 32px clamp(1rem, 4vw, 2rem);
  }

  .dlm-cta-bottom__inner {
    grid-template-columns: 1fr;
  }

  .dlm-related-grid {
    grid-template-columns: 1fr;
  }

  .dlm-integrations-strip__badges {
    gap: 8px;
  }

  .dlm-form-grid-2 {
    grid-template-columns: 1fr;
  }

  .dlm-docs-category-grid {
    grid-template-columns: 1fr;
  }

  .dlm-pricing-preview__tiers {
    flex-direction: column;
  }

  .dlm-pricing-preview__tier {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .dlm-pricing-preview__tier:last-child {
    border-bottom: none;
  }

  .dlm-cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .dlm-hero__actions {
    flex-direction: column;
  }

  .dlm-hero__actions .dlm-btn {
    width: 100%;
    justify-content: center;
  }

  .dlm-auth-card {
    padding: 28px 24px;
  }

  .dlm-pain-strip__inner {
    grid-template-columns: 1fr;
  }

  .dlm-blog-grid {
    grid-template-columns: 1fr;
  }

  .dlm-integration-cards {
    grid-template-columns: 1fr;
  }

  .dlm-footer__grid {
    grid-template-columns: 1fr;
  }
}
