/* =====================================================================
   DataNav Solutions Design System
   /assets/datanav.css   v1.0.0   April 2026

   ONE component library, TWO themes.

   Usage:
     <link rel="stylesheet" href="/assets/datanav.css">
     <body class="theme-modern">         (PaaS, MG, JOULE Workplace, marketing)
     <body class="theme-institutional">  (DataNav parent, Criterion Readiness)

   All component classes are prefixed `dn-` so this file can sit
   alongside legacy inline styles without collision.

   Conventions used in this file:
     * Tokens at top, themes next, components last
     * No em dashes anywhere
     * Mobile breakpoint at 720px
     * Respects prefers-reduced-motion

   ===================================================================== */


/* =====================================================================
   0.  RESET & BASE
   ===================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* =====================================================================
   1.  SHARED CONSTANTS  (identical across both themes)
   ===================================================================== */

:root {
  /* Type stacks */
  --font-display-modern:      'Syne', system-ui, sans-serif;
  --font-display-traditional: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:                'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:                'DM Mono', ui-monospace, 'SF Mono', Consolas, monospace;

  /* Locked brand golds (IWR family, do not change) */
  --gold-pale:            #F0D080;
  --gold-core:            #E8B832;
  --gold-deep:            #C9991A;

  /* Criterion Readiness gold family */
  --gold-criterion:       #C5A059;
  --gold-criterion-light: #D4B878;
  --gold-criterion-dark:  #A07830;

  /* Spacing scale (use these instead of arbitrary px values) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  40px;
  --sp-8:  48px;
  --sp-9:  56px;
  --sp-10: 64px;
  --sp-12: 80px;
  --sp-16: 120px;
  --sp-20: 160px;

  /* Container max-widths */
  --width-prose:   760px;
  --width-content: 960px;
  --width-wide:    1180px;
  --width-full:    1380px;

  /* Z-axis */
  --z-base:   1;
  --z-nav:    50;
  --z-modal:  100;
  --z-toast:  200;

  /* Easing */
  --ease-fast:  0.15s ease;
  --ease-mid:   0.25s ease;
  --ease-slow:  0.45s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bezier:cubic-bezier(0.22, 1, 0.36, 1);
}


/* =====================================================================
   2.  THEME: MODERN
       PaaS by Payments as a Service, DataNav MG, JOULE Workplace,
       analyzer, calculator, marketing pages.
   ===================================================================== */

.theme-modern {
  /* Surfaces */
  --bg:        #080B0F;
  --bg-2:      #0D1118;
  --surface:   #111720;
  --card:      #161D28;
  --card-hi:   #1B2330;
  --border:    #1E2A38;
  --border-2:  #243040;

  /* Accent: teal */
  --accent:       #00C49A;
  --accent-dark:  #009E7C;
  --accent-light: #2BD9B0;
  --accent-dim:   rgba(0, 196, 154, 0.10);
  --accent-glow:  rgba(0, 196, 154, 0.18);

  /* Gold (locked) */
  --gold:      var(--gold-core);
  --gold-h:    var(--gold-pale);
  --gold-d:    var(--gold-deep);
  --gold-dim:  rgba(232, 184, 50, 0.10);
  --gold-glow: rgba(232, 184, 50, 0.18);

  /* Status */
  --danger:     #F04040;
  --danger-dim: rgba(240, 64, 64, 0.10);
  --warn:       var(--gold);
  --success:    var(--accent);

  /* Text */
  --text:  #E8EDF3;
  --sub:   #9BB0C8;
  --muted: #7A8FA8;
  --faint: #3E5068;

  /* Typography */
  --font-display:        var(--font-display-modern);
  --display-letter:      -1px;
  --display-weight:      800;
  --display-line-height: 1.12;

  /* Geometry: rounded modern */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card:  0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lift:  0 16px 48px rgba(0, 0, 0, 0.35);
  --shadow-deep:  0 24px 64px rgba(0, 0, 0, 0.50);
  --shadow-glow-accent: 0 0 0 1px var(--accent), 0 8px 32px var(--accent-glow);
  --shadow-glow-gold:   0 0 0 1px var(--gold),   0 8px 32px var(--gold-glow);

  /* Background atmosphere */
  --hero-glow: radial-gradient(ellipse 70% 50% at 60% 0%, rgba(0, 196, 154, 0.06) 0%, transparent 65%);
}


/* =====================================================================
   3.  THEME: INSTITUTIONAL
       DataNav Solutions parent, Criterion Readiness, child industry pages.
   ===================================================================== */

.theme-institutional {
  /* Surfaces */
  --bg:        #0F0F0F;
  --bg-2:      #1A1A1A;
  --surface:   #2D2D2D;
  --card:      #1A1A1A;
  --card-hi:   #242424;
  --border:    rgba(197, 160, 89, 0.15);
  --border-2:  rgba(197, 160, 89, 0.30);

  /* Accent: steel */
  --accent:       #4A6D7C;
  --accent-dark:  #2A4D5C;
  --accent-light: #6A8D9C;
  --accent-dim:   rgba(74, 109, 124, 0.12);
  --accent-glow:  rgba(74, 109, 124, 0.22);

  /* Gold (Criterion family) */
  --gold:      var(--gold-criterion);
  --gold-h:    var(--gold-criterion-light);
  --gold-d:    var(--gold-criterion-dark);
  --gold-dim:  rgba(197, 160, 89, 0.10);
  --gold-glow: rgba(197, 160, 89, 0.22);

  /* Status */
  --danger:     #B85450;
  --danger-dim: rgba(184, 84, 80, 0.10);
  --warn:       var(--gold);
  --success:    var(--accent);

  /* Text */
  --text:  #F8F8F8;
  --sub:   #B0B0B0;
  --muted: #8A8A8A;
  --faint: #5A5A5A;

  /* Typography */
  --font-display:        var(--font-display-traditional);
  --display-letter:      -0.4px;
  --display-weight:      700;
  --display-line-height: 1.18;

  /* Geometry: sharp institutional */
  --radius-sm:   0;
  --radius-md:   2px;
  --radius-lg:   2px;
  --radius-xl:   2px;
  --radius-pill: 0;

  /* Shadows */
  --shadow-card:  0 4px 24px rgba(0, 0, 0, 0.50);
  --shadow-lift:  0 12px 36px rgba(0, 0, 0, 0.60);
  --shadow-deep:  0 24px 56px rgba(0, 0, 0, 0.70);
  --shadow-glow-accent: 0 0 0 1px var(--accent), 0 4px 24px var(--accent-glow);
  --shadow-glow-gold:   0 0 0 1px var(--gold),   0 4px 24px var(--gold-glow);

  /* Background atmosphere */
  --hero-glow: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(197, 160, 89, 0.05) 0%, transparent 65%);
}


/* =====================================================================
   4.  GLOBAL BODY DEFAULTS
   ===================================================================== */

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

::selection {
  background: var(--gold);
  color: #000;
}


/* =====================================================================
   5.  TYPOGRAPHY PRIMITIVES
   ===================================================================== */

.dn-h1,
.dn-h2,
.dn-h3,
.dn-h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-letter);
  line-height: var(--display-line-height);
  color: var(--text);
}

.dn-h1 {
  font-size: clamp(34px, 5vw, 60px);
}

.dn-h2 {
  font-size: clamp(28px, 3.6vw, 44px);
}

.dn-h3 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.dn-h4 {
  font-size: clamp(18px, 1.6vw, 22px);
}

.dn-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--sub);
  line-height: 1.7;
  max-width: 60ch;
}

.dn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.dn-eyebrow.is-accent { color: var(--accent); }

.dn-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}

.dn-text-accent { color: var(--accent); }
.dn-text-gold   { color: var(--gold); }
.dn-text-sub    { color: var(--sub); }
.dn-text-muted  { color: var(--muted); }
.dn-text-danger { color: var(--danger); }
.dn-text-bright { color: var(--text); }

.dn-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.dn-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: var(--sp-4) 0;
}

.dn-divider.is-center { margin-left: auto; margin-right: auto; }


/* =====================================================================
   6.  LAYOUT
   ===================================================================== */

.dn-wrap {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.dn-wrap.is-prose { max-width: var(--width-prose); }
.dn-wrap.is-wide  { max-width: var(--width-wide); }
.dn-wrap.is-full  { max-width: var(--width-full); }

.dn-section {
  padding: var(--sp-12) 0;
  position: relative;
}

.dn-section.is-tight { padding: var(--sp-8) 0; }
.dn-section.is-loose { padding: var(--sp-16) 0; }

.dn-section.is-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dn-section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.dn-section-title {
  margin-bottom: var(--sp-4);
}

.dn-section-sub {
  color: var(--sub);
  font-size: 16px;
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: var(--sp-8);
}

.dn-grid-2,
.dn-grid-3,
.dn-grid-4 {
  display: grid;
  gap: var(--sp-5);
}

.dn-grid-2 { grid-template-columns: repeat(2, 1fr); }
.dn-grid-3 { grid-template-columns: repeat(3, 1fr); }
.dn-grid-4 { grid-template-columns: repeat(4, 1fr); }


/* =====================================================================
   7.  NAV
   ===================================================================== */

.dn-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(8, 11, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease-mid);
}

.theme-institutional .dn-nav {
  background: rgba(15, 15, 15, 0.92);
}

.dn-nav.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.dn-nav-inner {
  max-width: var(--width-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 72px;
  gap: var(--sp-4);
  padding: 0 var(--sp-6);
}

.dn-nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.dn-nav-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #000;
  flex-shrink: 0;
}

.theme-institutional .dn-nav-mark {
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
}

.dn-nav-name {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 16px;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.dn-nav-name .dn-teal { color: var(--accent); }
.dn-nav-name .dn-by   { color: var(--sub); font-weight: 400; font-size: 13px; }
.dn-nav-name .dn-gold { color: var(--gold); }

.dn-nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-left: var(--sp-8);
}

.dn-nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--sub);
  transition: color var(--ease-fast);
  white-space: nowrap;
}

.dn-nav-links a:hover {
  color: var(--text);
}

.dn-nav-cta-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.dn-nav-mobile-btn {
  display: none;
  font-size: 22px;
  color: var(--text);
  padding: var(--sp-2);
}

@media (max-width: 720px) {
  .dn-nav-links { display: none; }
  .dn-nav-mobile-btn { display: block; }
  .dn-nav-cta-wrap { margin-left: auto; }
}

.dn-mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-4);
  z-index: calc(var(--z-nav) - 1);
}

.dn-mobile-menu.is-open {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.dn-mobile-menu a {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-size: 14px;
  font-weight: 600;
  color: var(--sub);
  border-radius: var(--radius-sm);
}

.dn-mobile-menu a:hover {
  color: var(--text);
  background: var(--card);
}


/* =====================================================================
   8.  BUTTONS
   ===================================================================== */

.dn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition:
    transform var(--ease-fast),
    background var(--ease-fast),
    border-color var(--ease-fast),
    color var(--ease-fast),
    box-shadow var(--ease-fast),
    filter var(--ease-fast);
  white-space: nowrap;
  border: 1px solid transparent;
}

.dn-btn:hover { transform: translateY(-1px); }
.dn-btn:active { transform: translateY(0); }

.dn-btn-gold {
  background: linear-gradient(135deg, var(--gold-h) 0%, var(--gold) 55%, var(--gold-d) 100%);
  color: #000;
}

.dn-btn-gold:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.dn-btn-accent {
  background: var(--accent);
  color: #000;
}

.dn-btn-accent:hover {
  background: var(--accent-light);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.dn-btn-outline {
  background: transparent;
  border-color: var(--border-2);
  color: var(--text);
}

.dn-btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.dn-btn-outline-gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.dn-btn-outline-gold:hover {
  background: var(--gold-dim);
  color: var(--gold-h);
  border-color: var(--gold-h);
}

.dn-btn-ghost {
  background: transparent;
  color: var(--sub);
  padding: 10px 16px;
}

.dn-btn-ghost:hover {
  color: var(--text);
  background: var(--card);
}

.dn-btn-sm  { padding: 10px 18px; font-size: 13px; }
.dn-btn-lg  { padding: 18px 32px; font-size: 16px; }
.dn-btn-block { display: flex; width: 100%; }


/* =====================================================================
   9.  CARDS
   ===================================================================== */

.dn-card {
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: border-color var(--ease-mid), background var(--ease-mid), transform var(--ease-mid), box-shadow var(--ease-mid);
}

.dn-card.is-hover-lift:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lift);
}

.dn-card.is-hover-gold:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
  box-shadow: 0 8px 32px var(--gold-glow);
}

.dn-card.is-featured {
  border-color: var(--accent);
  position: relative;
}

.dn-card.is-featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -10px;
  left: var(--sp-5);
  background: var(--accent);
  color: #000;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.dn-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-md);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--sp-4);
}

.dn-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.2px;
  color: var(--gold);
  margin-bottom: var(--sp-2);
}

.dn-card-body {
  color: var(--sub);
  font-size: 14px;
  line-height: 1.7;
}


/* =====================================================================
   10.  PILLS, TAGS, BADGES
   ===================================================================== */

.dn-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.dn-pill .dn-dot {
  color: var(--accent);
  font-size: 10px;
}

.dn-pill.is-accent {
  border-color: rgba(0, 196, 154, 0.30);
  color: var(--accent);
  background: var(--accent-dim);
}

.dn-pill.is-gold {
  border-color: rgba(232, 184, 50, 0.30);
  color: var(--gold);
  background: var(--gold-dim);
}

.dn-flag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.dn-flag.is-ic       { background: var(--accent-dim); color: var(--accent); }
.dn-flag.is-markup   { background: var(--gold-dim);   color: var(--gold); }
.dn-flag.is-hidden   { background: var(--danger-dim); color: var(--danger); }


/* =====================================================================
   11.  CALLOUTS
   ===================================================================== */

.dn-callout {
  border-radius: var(--radius-md);
  padding: var(--sp-5) var(--sp-5);
  margin: var(--sp-4) 0;
  font-size: 14px;
  line-height: 1.7;
}

.dn-callout.is-accent {
  background: var(--accent-dim);
  border: 1px solid rgba(0, 196, 154, 0.25);
  color: var(--text);
}

.dn-callout.is-accent strong { color: var(--accent); font-weight: 600; }

.dn-callout.is-gold {
  background: var(--gold-dim);
  border: 1px solid rgba(232, 184, 50, 0.30);
  color: var(--text);
}

.dn-callout.is-gold strong { color: var(--gold); font-weight: 600; }

.dn-callout.is-danger {
  background: var(--danger-dim);
  border: 1px solid rgba(240, 64, 64, 0.30);
  color: var(--text);
}

.dn-callout.is-danger strong { color: var(--danger); font-weight: 600; }


/* =====================================================================
   12.  FORMS
   ===================================================================== */

.dn-form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.dn-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.dn-input,
.dn-select,
.dn-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--ease-fast), background var(--ease-fast);
}

.dn-input::placeholder,
.dn-textarea::placeholder { color: var(--faint); }

.dn-input:focus,
.dn-select:focus,
.dn-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--card);
}

.dn-textarea { resize: vertical; min-height: 120px; }

.dn-checkbox {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 14px;
  color: var(--sub);
  cursor: pointer;
}

.dn-checkbox input { accent-color: var(--accent); }


/* =====================================================================
   13.  HERO
   ===================================================================== */

.dn-hero {
  position: relative;
  padding: var(--sp-12) 0 var(--sp-10);
  background:
    var(--hero-glow),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.dn-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
  max-width: var(--width-wide);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.dn-hero-grid.is-single {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: var(--width-prose);
}

.dn-hero-grid.is-single .dn-eyebrow,
.dn-hero-grid.is-single .dn-lede {
  margin-left: auto;
  margin-right: auto;
}

.dn-hero-grid.is-single .dn-eyebrow::before { display: none; }

.dn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

@media (max-width: 720px) {
  .dn-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
}


/* =====================================================================
   14.  STATS / METRICS
   ===================================================================== */

.dn-metric {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
}

.dn-metric-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-2);
}

.dn-metric-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: var(--display-weight);
  letter-spacing: -0.5px;
  color: var(--text);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.dn-metric-value.is-gold   { color: var(--gold); }
.dn-metric-value.is-accent { color: var(--accent); }
.dn-metric-value.is-danger { color: var(--danger); }

.dn-metric-sub {
  font-size: 12px;
  color: var(--sub);
}


/* =====================================================================
   15.  LOGOBAR (stacked partner / replacement bar)
   ===================================================================== */

.dn-logobar {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-5) 0;
  overflow: hidden;
}

.dn-logobar-inner {
  max-width: var(--width-wide);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  justify-content: center;
}

.dn-logobar-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.dn-logobar-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--sub);
  letter-spacing: -0.2px;
  opacity: 0.7;
}


/* =====================================================================
   16.  FOOTER
   ===================================================================== */

.dn-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--sp-10) 0 var(--sp-6);
}

.dn-footer-inner {
  max-width: var(--width-wide);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-6);
  align-items: start;
}

.dn-footer-brand {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 16px;
  margin-bottom: var(--sp-2);
}

.dn-footer-copy {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.4px;
}

.dn-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  justify-content: flex-end;
}

.dn-footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sub);
  transition: color var(--ease-fast);
}

.dn-footer-links a:hover { color: var(--accent); }

.dn-footer-legal {
  max-width: var(--width-wide);
  margin: var(--sp-6) auto 0;
  padding: var(--sp-5) var(--sp-6) 0;
  border-top: 1px solid var(--border);
  font-size: 11px;
  line-height: 1.7;
  color: var(--faint);
}

.dn-footer-legal a { color: var(--muted); border-bottom: 1px dotted var(--faint); }
.dn-footer-legal a:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 720px) {
  .dn-footer-inner { grid-template-columns: 1fr; }
  .dn-footer-links { justify-content: flex-start; }
}


/* =====================================================================
   17.  TRUST STRIP (used under heroes and forms)
   ===================================================================== */

.dn-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin-top: var(--sp-5);
}

.dn-trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 12px;
  color: var(--muted);
}

.dn-trust-item .dn-dot {
  color: var(--accent);
  font-size: 8px;
}


/* =====================================================================
   18.  PILLAR BLOCK (parent-page product pillars)
   ===================================================================== */

.dn-pillar {
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--ease-mid), transform var(--ease-mid), box-shadow var(--ease-mid);
  height: 100%;
}

.dn-pillar:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 8px 32px var(--gold-glow);
}

.dn-pillar-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}

.dn-pillar-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 24px;
  letter-spacing: var(--display-letter);
  color: var(--text);
  margin-bottom: var(--sp-3);
}

.dn-pillar-body {
  color: var(--sub);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: var(--sp-5);
  flex: 1;
}

.dn-pillar-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}


/* =====================================================================
   19.  ANIMATIONS
   ===================================================================== */

@keyframes dn-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes dn-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes dn-pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 184, 50, 0.4); }
  50%      { box-shadow: 0 0 0 8px rgba(232, 184, 50, 0); }
}

.dn-anim-fade-up    { animation: dn-fade-up var(--ease-slow) both; }
.dn-anim-fade       { animation: dn-fade var(--ease-slow) both; }

.dn-anim-d-1 { animation-delay: 0.10s; }
.dn-anim-d-2 { animation-delay: 0.20s; }
.dn-anim-d-3 { animation-delay: 0.30s; }
.dn-anim-d-4 { animation-delay: 0.40s; }


/* =====================================================================
   20.  UTILITIES
   ===================================================================== */

.dn-mt-0  { margin-top: 0; }
.dn-mt-2  { margin-top: var(--sp-2); }
.dn-mt-4  { margin-top: var(--sp-4); }
.dn-mt-6  { margin-top: var(--sp-6); }
.dn-mt-8  { margin-top: var(--sp-8); }

.dn-mb-0  { margin-bottom: 0; }
.dn-mb-2  { margin-bottom: var(--sp-2); }
.dn-mb-4  { margin-bottom: var(--sp-4); }
.dn-mb-6  { margin-bottom: var(--sp-6); }
.dn-mb-8  { margin-bottom: var(--sp-8); }

.dn-text-center { text-align: center; }
.dn-text-left   { text-align: left; }
.dn-text-right  { text-align: right; }

.dn-flex        { display: flex; }
.dn-flex-col    { flex-direction: column; }
.dn-items-center{ align-items: center; }
.dn-justify-center{ justify-content: center; }
.dn-gap-2       { gap: var(--sp-2); }
.dn-gap-4       { gap: var(--sp-4); }
.dn-gap-6       { gap: var(--sp-6); }

.dn-block       { display: block; }
.dn-inline-block{ display: inline-block; }
.dn-hidden      { display: none; }

.dn-w-full      { width: 100%; }


/* =====================================================================
   21.  RESPONSIVE COLLAPSE
   ===================================================================== */

@media (max-width: 960px) {
  .dn-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .dn-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root {
    /* Tighten spacing on phone */
    --sp-12: 64px;
    --sp-16: 96px;
  }
  .dn-grid-4,
  .dn-grid-3,
  .dn-grid-2 { grid-template-columns: 1fr; }
  .dn-wrap { padding: 0 var(--sp-4); }
  .dn-section { padding: var(--sp-10) 0; }
  .dn-hero    { padding: var(--sp-10) 0 var(--sp-8); }
}

/* End of datanav.css */
