/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* ── globals.css ─────────────────────────────────────────────────────────
 * Composition layer — imports all theme files in dependency order.
 * Do NOT add individual rules here. Add rules to the appropriate
 * theme/<category>.css file instead.
 * ────────────────────────────────────────────────────────────────────── */

/* 1. Shared design tokens (spacing, radii, typography, keyframes) */

/* ── tokens.css ─────────────────────────────────────────────────────────
 * Design tokens shared across themes: spacing, radii, typography,
 * animations, easing, layout constants.
 * These do not change between dark and light mode.
 * ────────────────────────────────────────────────────────────────────── */

/* ── Spacing scale ──────────────────────────────────────────────────── */

:root {
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
}

/* ── Border radius — Ansible-style rounded corners ──────────────────── */

:root {
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
}

/* ── Layout widths ──────────────────────────────────────────────────── */

:root {
  --w-narrow: 640px;
  --w-default: 960px;
  --w-wide: 1200px;
}

/* ── Easing curves ──────────────────────────────────────────────────── */

:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}

/* ── Typography: font-size and font-family tokens ──────────────────── */

:root {
  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.0625rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
}

/* Font family tokens (set by Next.js font loader) */

:root {
  --font-display: var(--font-cabinet, "Cabinet Grotesk", "Inter", system-ui, -apple-system, sans-serif);
  --font-body: var(--font-inter, "Inter", system-ui, -apple-system, sans-serif);
  --font-mono: var(--font-mono, "JetBrains Mono", ui-monospace, monospace);
}

/* ── Keyframes ─────────────────────────────────────────────────────────
 * Only keyframes actively used by components or inline styles.
 * Unused animations (nodeGlow, scanline, typingCursor, gradientShift)
 * removed in Phase 4 — they were defined but never referenced in code.
 * ────────────────────────────────────────────────────────────────────── */

@keyframes pulseSoft {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 2. Theme variables (dark = default, light = [data-theme="light"]) */

/* ── dark.css ───────────────────────────────────────────────────────────
 * Red Hat OpenShift-inspired dark theme.
 * Pure black background, Red Hat red accents, enterprise-grade depth.
 * ────────────────────────────────────────────────────────────────────── */

:root,
[data-theme="dark"] {
  /* Backgrounds & surfaces — pure black, like Red Hat OpenShift */
  --color-bg: #000000;
  --color-surface: #0c0c0c;
  --color-surface-2: #141414;
  --color-surface-3: #1a1a1a;
  --color-surface-4: #222222;

  /* Borders & dividers — subtle, Red Hat-style */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-divider: rgba(255, 255, 255, 0.06);

  /* Text roles — crisp white hierarchy */
  --color-text: #ffffff;
  --color-text-muted: #9ea0a8;
  --color-text-faint: #5e6068;

  /* Primary — electric cyan, exceptional contrast on black */
  --color-primary: #00c8ff;
  --color-primary-hover: #33d4ff;
  --color-primary-dim: rgba(0, 200, 255, 0.10);
  --color-primary-border: rgba(0, 200, 255, 0.22);

  /* Accent — warm amber, for secondary highlights */
  --color-accent: #f0ab00;
  --color-accent-hover: #ffc400;
  --color-accent-dim: rgba(240, 171, 0, 0.10);

  /* Semantic colors — sharp, Red Hat quality */
  --color-warning: #f0ab00;
  --color-warning-dim: rgba(240, 171, 0, 0.10);
  --color-error: #ff4444;
  --color-error-dim: rgba(255, 68, 68, 0.10);
  --color-success: #1ebd6c;
  --color-success-dim: rgba(30, 189, 108, 0.10);

  /* Color on top of primary/accent */
  --color-on-primary: #000000;
  --color-on-accent: #000000;

  /* Shadows — deep, minimal */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.50);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.60);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.70);
  --shadow-glow: 0 0 24px rgba(0, 200, 255, 0.10);

  /* Glass effect — subtle, for overlays */
  --glass-bg: rgba(12, 12, 12, 0.88);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-blur: blur(20px);

  /* Card — solid, minimal */
  --card-bg: #111111;
  --card-border: rgba(255, 255, 255, 0.06);

  /* Buttons — cyan primary */
  --btn-primary-bg: #00c8ff;
  --btn-primary-text: #000000;
  --btn-primary-border: #00c8ff;
  --btn-primary-hover-bg: #33d4ff;
  --btn-secondary-bg: transparent;
  --btn-secondary-text: #d0d1db;
  --btn-secondary-border: rgba(255, 255, 255, 0.18);
  --btn-secondary-hover-bg: rgba(255, 255, 255, 0.04);
  --btn-secondary-hover-border: rgba(255, 255, 255, 0.28);
  --btn-danger-bg: #ff4444;
  --btn-danger-text: #000000;
  --btn-danger-border: #ff4444;
  --btn-danger-hover-bg: #ff6666;

  /* Input fields */
  --input-bg: #0c0c0c;
  --input-border: rgba(255, 255, 255, 0.12);
  --input-focus-border: #00c8ff;
  --input-placeholder: #5e6068;

  /* Markdown / content area (used by .md-* classes in globals.css) */
  --color-bg-inset: rgba(255, 255, 255, 0.04);
  --color-bg-hover: rgba(0, 200, 255, 0.08);
  --color-border-light: rgba(255, 255, 255, 0.08);

  /* Short-form aliases (used by chat/copilot components) */
  --primary: #00c8ff;
  --primary-light: rgba(0, 200, 255, 0.08);
  --surface: #0c0c0c;
  --surface-border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: #9ea0a8;
  --text-faint: #5e6068;
  --bg-inset: rgba(255, 255, 255, 0.04);
  --border-light: rgba(255, 255, 255, 0.08);
}

/* ── light.css ──────────────────────────────────────────────────────────
 * Red Hat homepage-inspired white theme — clean, professional, airy.
 *
 * Priority:
 *   1. :root default (dark — from dark.css, no preference or unsupported)
 *   2. @media (prefers-color-scheme: light) — follows OS
 *   3. [data-theme="light"] — explicit manual override (highest priority)
 * ────────────────────────────────────────────────────────────────────── */

/* Follow OS preference when user hasn't set manual data-theme */

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    /* Backgrounds & surfaces — crisp white, Red Hat-style */
    --color-bg: #ffffff;
    --color-surface: #fafafa;
    --color-surface-2: #f5f5f5;
    --color-surface-3: #eeeeee;
    --color-surface-4: #e5e5e5;

    /* Borders & dividers — subtle grey */
    --color-border: rgba(0, 0, 0, 0.08);
    --color-divider: rgba(0, 0, 0, 0.05);

    /* Text — crisp dark, Red Hat quality */
    --color-text: #151515;
    --color-text-muted: #555555;
    --color-text-faint: #888888;

    /* Primary — Red Hat red */
    --color-primary: #ee0000;
    --color-primary-hover: #cc0000;
    --color-primary-dim: rgba(238, 0, 0, 0.06);
    --color-primary-border: rgba(238, 0, 0, 0.20);

    /* Accent — warm amber */
    --color-accent: #c48b00;
    --color-accent-hover: #a67400;
    --color-accent-dim: rgba(196, 139, 0, 0.06);

    /* Semantic — sharp, professional */
    --color-warning: #c48b00;
    --color-warning-dim: rgba(196, 139, 0, 0.06);
    --color-error: #ee0000;
    --color-error-dim: rgba(238, 0, 0, 0.06);
    --color-success: #0f8140;
    --color-success-dim: rgba(15, 129, 64, 0.06);

    /* On-primary/accent */
    --color-on-primary: #ffffff;
    --color-on-accent: #ffffff;

    /* Shadows — light, airy */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 20px rgba(238, 0, 0, 0.08);

    /* Glass — clean white overlay */
    --glass-bg: rgba(255, 255, 255, 0.90);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-blur: blur(20px);

    /* Card — white, subtle border */
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.06);

    /* Buttons — Red Hat red primary */
    --btn-primary-bg: #ee0000;
    --btn-primary-text: #ffffff;
    --btn-primary-border: #ee0000;
    --btn-primary-hover-bg: #cc0000;
    --btn-secondary-bg: transparent;
    --btn-secondary-text: #151515;
    --btn-secondary-border: rgba(0, 0, 0, 0.18);
    --btn-secondary-hover-bg: rgba(0, 0, 0, 0.04);
    --btn-secondary-hover-border: rgba(0, 0, 0, 0.28);
    --btn-danger-bg: #ee0000;
    --btn-danger-text: #ffffff;
    --btn-danger-border: #ee0000;
    --btn-danger-hover-bg: #cc0000;

    /* Inputs — white */
    --input-bg: #ffffff;
    --input-border: rgba(0, 0, 0, 0.12);
    --input-focus-border: #ee0000;
    --input-placeholder: #888888;

    /* Markdown / content area */
    --color-bg-inset: rgba(0, 0, 0, 0.03);
    --color-bg-hover: rgba(238, 0, 0, 0.04);
    --color-border-light: rgba(0, 0, 0, 0.08);

    /* Short-form aliases (used by chat/copilot components) */
    --primary: #ee0000;
    --primary-light: rgba(238, 0, 0, 0.06);
    --surface: #fafafa;
    --surface-border: rgba(0, 0, 0, 0.08);
    --text: #151515;
    --text-muted: #555555;
    --text-faint: #888888;
    --bg-inset: rgba(0, 0, 0, 0.03);
    --border-light: rgba(0, 0, 0, 0.08);
  }
}

/* Explicit manual light mode */

[data-theme="light"] {
  /* Backgrounds & surfaces — crisp white, Red Hat-style */
  --color-bg: #ffffff;
  --color-surface: #fafafa;
  --color-surface-2: #f5f5f5;
  --color-surface-3: #eeeeee;
  --color-surface-4: #e5e5e5;

  /* Borders & dividers — subtle grey */
  --color-border: rgba(0, 0, 0, 0.08);
  --color-divider: rgba(0, 0, 0, 0.05);

  /* Text — crisp dark, Red Hat quality */
  --color-text: #151515;
  --color-text-muted: #555555;
  --color-text-faint: #888888;

  /* Primary — Red Hat red */
  --color-primary: #ee0000;
  --color-primary-hover: #cc0000;
  --color-primary-dim: rgba(238, 0, 0, 0.06);
  --color-primary-border: rgba(238, 0, 0, 0.20);

  /* Accent — warm amber */
  --color-accent: #c48b00;
  --color-accent-hover: #a67400;
  --color-accent-dim: rgba(196, 139, 0, 0.06);

  /* Semantic — sharp, professional */
  --color-warning: #c48b00;
  --color-warning-dim: rgba(196, 139, 0, 0.06);
  --color-error: #ee0000;
  --color-error-dim: rgba(238, 0, 0, 0.06);
  --color-success: #0f8140;
  --color-success-dim: rgba(15, 129, 64, 0.06);

  /* On-primary/accent */
  --color-on-primary: #ffffff;
  --color-on-accent: #ffffff;

  /* Shadows — light, airy */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 20px rgba(238, 0, 0, 0.08);

  /* Glass — clean white overlay */
  --glass-bg: rgba(255, 255, 255, 0.90);
  --glass-border: rgba(0, 0, 0, 0.06);
  --glass-blur: blur(20px);

  /* Card — white, subtle border */
  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.06);

  /* Buttons — Red Hat red primary */
  --btn-primary-bg: #ee0000;
  --btn-primary-text: #ffffff;
  --btn-primary-border: #ee0000;
  --btn-primary-hover-bg: #cc0000;
  --btn-secondary-bg: transparent;
  --btn-secondary-text: #151515;
  --btn-secondary-border: rgba(0, 0, 0, 0.18);
  --btn-secondary-hover-bg: rgba(0, 0, 0, 0.04);
  --btn-secondary-hover-border: rgba(0, 0, 0, 0.28);
  --btn-danger-bg: #ee0000;
  --btn-danger-text: #ffffff;
  --btn-danger-border: #ee0000;
  --btn-danger-hover-bg: #cc0000;

  /* Inputs — white */
  --input-bg: #ffffff;
  --input-border: rgba(0, 0, 0, 0.12);
  --input-focus-border: #ee0000;
  --input-placeholder: #888888;

  /* Markdown / content area */
  --color-bg-inset: rgba(0, 0, 0, 0.03);
  --color-bg-hover: rgba(238, 0, 0, 0.04);
  --color-border-light: rgba(0, 0, 0, 0.08);

  /* Short-form aliases (used by chat/copilot components) */
  --primary: #ee0000;
  --primary-light: rgba(238, 0, 0, 0.06);
  --surface: #fafafa;
  --surface-border: rgba(0, 0, 0, 0.08);
  --text: #151515;
  --text-muted: #555555;
  --text-faint: #888888;
  --bg-inset: rgba(0, 0, 0, 0.03);
  --border-light: rgba(0, 0, 0, 0.08);
}

/* 3. High-contrast layer (layers on top of any base theme) */

/* ── hc.css ─────────────────────────────────────────────────────────────
 * High-contrast theme variant.
 *
 * Activated by [data-hc="true"] on <html>.  Can be combined with any
 * base theme (dark or light) — the HC overrides only the tokens that
 * need tightening for WCAG AA compliance.
 *
 * Usage:  <html data-hc="true" data-theme="dark">
 *
 * Changes vs base dark:
 *   --color-text-muted  #8892a4 → #c0c8d8  (raises contrast on surfaces)
 *   --color-text-faint   #78849b → #a0abc0  (now usable for AA-large)
 *   --color-border     rgba white → solid #2a3050  (opaque border)
 *   --glass-bg         rgba solid → #0e1320 (no transparency)
 *
 * Changes vs base light:
 *   --color-text-muted  #4a546a → #1f2937  (darker, ~7:1 on white)
 *   --color-text-faint  #9aa3b5 → #556175  (now AA-large on white)
 *   --color-border     rgba black → solid #8892a4  (opaque border)
 *   --glass-bg         rgba solid → #f4f6fa  (no transparency)
 *
 * Semantic colors (both themes):
 *   --color-warning     darkened where necessary
 *   --color-error       darkened where necessary
 *   --color-success     darkened where necessary
 *
 * Note: primary/accent colors are not overridden — they're used for
 * accent/highlight, not body text.  The text-on-primary variants
 * (--color-on-primary, --color-on-accent) pass AA.
 *
 * ────────────────────────────────────────────────────────────────────── */

/* ── Dark + HC ────────────────────────────────────────────────────────── */

[data-theme="dark"][data-hc="true"],
[data-hc="true"][data-theme="dark"] {
  --color-surface-2: #141a2e;
  --color-surface-3: #1a2140;
  --color-surface-4: #242c56;
  --color-border: #2a3050;
  --color-divider: #2a3050;
  --color-text: #f0f2f8;
  --color-text-muted: #c0c8d8;
  --color-text-faint: #a0abc0;
  --color-primary-dim: rgba(0, 229, 255, 0.18);
  --color-primary-border: rgba(0, 229, 255, 0.45);
  --glass-bg: rgba(14, 19, 32, 0.92);
  --glass-border: #2a3050;
}

/* ── Light + HC ────────────────────────────────────────────────────────── */

[data-theme="light"][data-hc="true"],
[data-hc="true"][data-theme="light"] {
  --color-bg: #e8ebf2;
  --color-surface-2: #e0e4ed;
  --color-surface-3: #d3d8e3;
  --color-surface-4: #c0c6d6;
  --color-border: #8892a4;
  --color-divider: #8892a4;
  --color-text: #0a0e16;
  --color-text-muted: #1f2937;
  --color-text-faint: #556175;
  --color-primary-dim: rgba(0, 153, 187, 0.18);
  --color-primary-border: rgba(0, 153, 187, 0.50);
  --color-warning: #b45309;
  --color-error: #b91c1c;
  --color-success: #047857;
  --glass-bg: rgba(244, 246, 250, 0.92);
  --glass-border: #8892a4;
}

/* 4. Print styles */

/* ═══════════════════════════════════════════════════════════════ */

/*  EXECUTIVE SUMMARY — Professional Print Stylesheet            */

/*  Board-ready, multi-page PDF with proper formatting           */

/* ═══════════════════════════════════════════════════════════════ */

@media print {
  /* ── Reset all UI chrome ── */
  body * { visibility: hidden; }
  .exec-print-area, .exec-print-area * { visibility: visible; }
  /* Also show the Copilot answer content for LLM-generated reports */
  #copilot-answer-content, #copilot-answer-content * { visibility: visible; }
  
  .exec-print-area,
  #copilot-answer-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #fff !important;
    color: #1a1a2e !important;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif !important;
    font-size: 11pt;
    line-height: 1.5;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    max-height: none !important;
  }

  /* ── Ensure all tables are fully visible ── */
  .exec-print-area table,
  #copilot-answer-content table {
    width: 100% !important;
    page-break-inside: avoid;
  }

  .exec-print-area pre,
  .exec-print-area code,
  #copilot-answer-content pre,
  #copilot-answer-content code {
    white-space: pre-wrap !important;
    word-break: break-word !important;
  }

  .exec-print-area h1,
  .exec-print-area h2,
  .exec-print-area h3,
  #copilot-answer-content h1,
  #copilot-answer-content h2,
  #copilot-answer-content h3 {
    page-break-after: avoid;
  }

  /* ── Page setup ── */
  @page {
    size: A4;
    margin: 2cm 2.2cm;
    @top-center {
      content: "DevOps-Prime • Executive Summary";
      font-size: 8pt;
      color: #666;
      font-family: 'Segoe UI', Arial, sans-serif;
    }
    @bottom-center {
      content: "Page " counter(page) " of " counter(pages);
      font-size: 8pt;
      color: #666;
    }
    @bottom-left {
      content: "Confidential";
      font-size: 7pt;
      color: #999;
    }
  }

  /* ── Cover page ── */
  .exec-cover {
    page-break-after: always;
    text-align: center;
    padding-top: 6cm;
  }
  .exec-cover h1 {
    font-size: 28pt;
    color: #0f172a;
    margin-bottom: 0.3cm;
    letter-spacing: -0.02em;
  }
  .exec-cover .subtitle {
    font-size: 14pt;
    color: #475569;
    margin-bottom: 1.5cm;
  }
  .exec-cover .meta {
    font-size: 10pt;
    color: #64748b;
    line-height: 2;
  }
  .exec-cover .gauge-container {
    display: flex;
    justify-content: center;
    margin: 1cm 0;
  }

  /* ── Section headings ── */
  .exec-section {
    page-break-before: always;
  }
  .exec-section h2 {
    font-size: 16pt;
    color: #0f172a;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 4pt;
    margin-bottom: 12pt;
  }
  .exec-section h3 {
    font-size: 13pt;
    color: #1e40af;
    margin-top: 14pt;
    margin-bottom: 8pt;
  }

  /* ── Health gauge ── */
  .health-gauge {
    display: inline-block;
    width: 100pt;
    height: 100pt;
    border-radius: 50%;
    border: 6pt solid #e2e8f0;
    position: relative;
    text-align: center;
    line-height: 100pt;
    font-size: 28pt;
    font-weight: 800;
  }
  .health-gauge.critical { border-color: #ef4444; color: #ef4444; }
  .health-gauge.moderate { border-color: #f59e0b; color: #f59e0b; }
  .health-gauge.healthy { border-color: #22c55e; color: #22c55e; }

  /* ── Risk cards ── */
  .risk-card {
    border: 1pt solid #e2e8f0;
    border-radius: 6pt;
    padding: 10pt 14pt;
    margin-bottom: 8pt;
    page-break-inside: avoid;
  }
  .risk-card.critical { border-left: 4pt solid #ef4444; }
  .risk-card.high { border-left: 4pt solid #f97316; }
  .risk-card.medium { border-left: 4pt solid #f59e0b; }

  /* ── Tables ── */
  table.exec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 9pt;
    margin: 10pt 0;
  }
  table.exec-table th {
    background: #1e293b;
    color: #f1f5f9;
    padding: 6pt 8pt;
    text-align: left;
    font-weight: 600;
    font-size: 8pt;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  table.exec-table td {
    padding: 5pt 8pt;
    border-bottom: 1pt solid #e2e8f0;
  }
  table.exec-table tr:nth-child(even) td {
    background: #f8fafc;
  }
  table.exec-table tr {
    page-break-inside: avoid;
  }

  /* ── Severity badges ── */
  .badge {
    display: inline-block;
    padding: 2pt 6pt;
    border-radius: 3pt;
    font-size: 7pt;
    font-weight: 700;
    text-transform: uppercase;
  }
  .badge-critical { background: #fef2f2; color: #ef4444; border: 1pt solid #fecaca; }
  .badge-high { background: #fff7ed; color: #f97316; border: 1pt solid #fed7aa; }
  .badge-medium { background: #fffbeb; color: #f59e0b; border: 1pt solid #fde68a; }
  .badge-low { background: #f0fdf4; color: #22c55e; border: 1pt solid #bbf7d0; }

  /* ── Cost summary ── */
  .cost-box {
    background: #f8fafc;
    border: 1pt solid #e2e8f0;
    border-radius: 6pt;
    padding: 12pt 16pt;
    margin: 10pt 0;
    page-break-inside: avoid;
  }
  .cost-box .amount {
    font-size: 20pt;
    font-weight: 800;
    color: #0f172a;
  }

  /* ── Roadmap ── */
  .roadmap-phase {
    border-left: 3pt solid #2563eb;
    padding-left: 12pt;
    margin-bottom: 12pt;
    page-break-inside: avoid;
  }
  .roadmap-phase h4 {
    font-size: 11pt;
    color: #1e40af;
    margin: 0 0 4pt 0;
  }

  /* ── Strategic narrative ── */
  .strategic-text {
    font-size: 10pt;
    line-height: 1.6;
    color: #334155;
    margin: 8pt 0;
  }
  .strategic-text p {
    margin-bottom: 6pt;
  }

  /* ── Footer separator ── */
  .page-break {
    page-break-before: always;
  }

  /* ── Force background colors in print ── */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

/* 4. CSS reset & base element styles */

/* ── reset.css ──────────────────────────────────────────────────────────
 * CSS reset, base element styling, reduced-motion, and focus-visible.
 * ────────────────────────────────────────────────────────────────────── */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
       text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  hanging-punctuation: first last;
}

body {
  min-height: 100dvh;
  line-height: 1.55;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  line-height: 1.12;
}

p,
li {
  margin: 0;
  padding: 0;
}

::-moz-selection {
  background: var(--color-primary-dim);
  color: var(--color-text);
}

::selection {
  background: var(--color-primary-dim);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  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;
  }

  /* Scroll-triggered reveals: show immediately, no transform/opacity transition */
  .reveal,
  .reveal-stagger,
  .reveal > *,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
  }

  /* Parallax / scroll-driven translates */
  [class*="parallax"],
  [class*="scroll-animate"] {
    transform: none !important;
    transition: none !important;
  }

  /* Hero section gradient animation — freeze at start */
  .hero-section {
    animation: none !important;
    background-attachment: scroll !important;
  }
}

/* ── Reduced transparency — replace glass with solid surface ──────────── */

@media (prefers-reduced-transparency: reduce) {
  .glass {
    background: var(--color-surface-2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-panel {
    background: linear-gradient(
      180deg,
      var(--color-surface-2),
      var(--color-surface)
    );
  }

  .hero-panel::before {
    opacity: 0.3;
  }

  .auth-aside {
    background: var(--color-surface);
    border-right: 1px solid var(--color-border);
  }
}

/* 5. Layout primitives (container, section, grids) */

/* ── layout.css ─────────────────────────────────────────────────────────
 * Premium container, section, and grid primitives.
 * ────────────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--w-wide);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 2.5rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--w-narrow);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 6rem);
}

.section-tight {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.page-shell {
  position: relative;
  overflow: hidden;
}

/* ── Grid helpers ────────────────────────────────────────────────────── */

.dp-grid-2 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dp-grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dp-grid-4 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ── App shell layout ────────────────────────────────────────────────── */

.app-overview-shell {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5rem 2rem 3rem;
}

.app-overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.app-overview-section-title {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
  margin-bottom: 0.75rem;
}

/* 6. Typography (headings, text utilities, gradient-text) */

/* ── typography.css ─────────────────────────────────────────────────────
 * Premium heading classes, text utilities — Snyk-inspired.
 * Font: Inter (body) + Cabinet Grotesk (display headings).
 * ────────────────────────────────────────────────────────────────────── */

/* ── Heading hierarchy ────────────────────────────────────────────────── */

.h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
}

.h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--color-text);
}

/* ── Section labels ─────────────────────────────────────────────────── */

.section-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ── Gradient text — removed, no decorative gradients ────────────────── */

/* .gradient-text class intentionally removed. Use solid color for headings. */

/* 7. Shared component classes (buttons, glass, cards, hero, metrics,
      proof, auth, timeline, prose, skeleton, reveal, scrollbar, code) */

/* ── components.css ─────────────────────────────────────────────────────
 * Shared component classes: buttons, glass, cards, hero, metrics,
 * proof, auth, timeline, prose, skeleton, reveal, skip-link, artifact,
 * scrollbar.
 * ────────────────────────────────────────────────────────────────────── */

/* ── Interactive base transitions ───────────────────────────────────────
 * Base transition for ALL interactive elements is handled by the
 * universal reset in reset.css (prefers-reduced-motion) and the
 * composable .interactive-elevated class for hover effects.
 * Individual transitions are declared per-class (see ad-hoc.css) to
 * avoid unnecessary painting on every a/button element.
 * ────────────────────────────────────────────────────────────────────── */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Ensure all interactive elements meet 44px touch target */

button,
a,
[role="button"] {
  min-height: 44px;
}

/* Exception: inline text links */

p a,
li a {
  min-height: unset;
}

/* ── Disabled states for interactive elements ─────────────────────────── */

button:disabled,
a[aria-disabled="true"],
[role="button"][aria-disabled="true"],
input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.4);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.35;
  filter: grayscale(0.6);
  box-shadow: none;
  transform: none;
}

/* ── Form control focus-visible ───────────────────────────────────────── */

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ── Interaction utility classes ──────────────────────────────────────── */

.interactive-elevated {
  transition:
    color 180ms var(--ease-out),
    background 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    transform 120ms var(--ease-out);
}

.interactive-elevated:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.interactive-elevated:active {
  transform: translateY(0);
}

.interactive-fade:hover {
  background: color-mix(in srgb, var(--color-surface-3) 55%, transparent);
}

.interactive-ring:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--color-primary-dim),
    0 0 0 4px rgba(0, 102, 204, 0.08);
}

/* ── Skip link ───────────────────────────────────────────────────────── */

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  transform: translateY(-100%);
  text-decoration: none;
  font-size: 0.875rem;
  background: var(--color-primary);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0.5rem);
}

/* ── Screen-reader only ──────────────────────────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  min-height: 40px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: var(--btn-primary-hover-bg);
  box-shadow: 0 2px 8px rgba(0, 149, 213, 0.25);
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border-color: var(--btn-secondary-border);
}

.btn-secondary:hover {
  border-color: var(--btn-secondary-hover-border);
  background: var(--btn-secondary-hover-bg);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--color-text);
  background: var(--color-surface-3);
}

.btn-danger {
  background: var(--btn-danger-bg);
  color: var(--btn-danger-text);
  border-color: var(--btn-danger-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-danger:hover {
  background: var(--btn-danger-hover-bg);
  box-shadow: 0 2px 8px rgba(201, 25, 11, 0.30);
}

/* ── Glass effect ────────────────────────────────────────────────────── */

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

/* ── Hero section — tight, no decorative blobs ───────────────────────── */

.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 80px;
  background: var(--color-bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-panel {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 34px;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-primary-border);
  background: var(--color-surface);
  box-shadow: inset 0 1px 0 var(--color-divider);
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 18px color-mix(in srgb, var(--color-primary) 65%, transparent);
}

/* ── Metric cards ────────────────────────────────────────────────────── */

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.metric-card {
  padding: 1rem 1.125rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  box-shadow: var(--shadow-sm);
}

.metric-card:hover {
  border-color: var(--color-primary-border);
}

.metric-value {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text);
}

.metric-label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

/* ── General surface cards (dp-card) ─────────────────────────────────── */

.dp-card {
  position: relative;
  padding: 1.4rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-surface-2) 95%, transparent),
    color-mix(in srgb, var(--color-surface) 96%, transparent)
  );
  box-shadow: var(--shadow-sm);
}

.dp-card--interactive {
  transition:
    transform 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    background 180ms var(--ease-out);
}

.dp-card--interactive:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary-border);
  box-shadow:
    var(--shadow-lg),
    var(--shadow-glow);
}

.dp-card-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.dp-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
}

.dp-card-copy {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.68;
}

/* ── Surface note ────────────────────────────────────────────────────── */

.surface-note {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-surface-2) 85%, transparent);
}

.surface-note strong {
  color: var(--color-text);
}

/* ── Auth shell ──────────────────────────────────────────────────────── */

.auth-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  background:
    radial-gradient(
      ellipse 74% 56% at 14% 18%,
      color-mix(in srgb, var(--color-primary) 12%, transparent) 0%,
      transparent 60%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--color-surface) 55%, transparent) 0%,
      transparent 100%
    ),
    var(--color-bg);
}

.auth-aside {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-surface-2);
  border-right: 1px solid var(--color-border);
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.auth-card {
  width: 100%;
  max-width: 460px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
}

.auth-rail-list {
  display: grid;
  gap: 0.9rem;
}

.auth-rail-item {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
}

/* ── Proof / statistics surfaces ─────────────────────────────────────── */

.proof-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.proof-stat-card,
.proof-card {
  background:
    linear-gradient(180deg, var(--color-divider), transparent),
    var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: inset 0 1px 0 var(--color-divider);
}

.proof-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.proof-stat-label {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.proof-stat-detail {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.proof-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.proof-icon-shell {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, currentColor 10%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  flex-shrink: 0;
}

.proof-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: var(--radius-full);
  border: 1px solid;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Artifact / code shell ────────────────────────────────────────────── */

.artifact-shell {
  margin: 0;
  padding: 1rem 1.125rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-primary-border);
  background: var(--color-surface-2);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.7;
  overflow-x: auto;
}

/* ── Timeline ────────────────────────────────────────────────────────── */

.timeline-shell {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.timeline-step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.timeline-marker {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-on-primary);
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── Code / inline code ──────────────────────────────────────────────── */

code,
kbd,
samp,
pre {
  font-family: var(--font-mono);
  font-size: 0.875em;
}

pre {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  line-height: 1.7;
}

code:not(pre code) {
  background: var(--color-surface-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.15em 0.4em;
  color: var(--color-primary);
}

/* ── Skeleton ────────────────────────────────────────────────────────── */

.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-surface-3) 25%,
    var(--color-surface-2) 50%,
    var(--color-surface-3) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
  }
}

/* ── Prose ──────────────────────────────────────────────────────────── */

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
}

.prose ul,
.prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}

.prose li {
  margin-bottom: 0.375rem;
}

.prose a {
  color: var(--color-primary);
  font-weight: 600;
}

.prose th {
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.prose td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--color-divider);
  color: var(--color-text-muted);
}

/* ── Reveal on scroll ────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}

/* ── Reveal stagger children ─────────────────────────────────────────── */

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}

/* ── Number animate (countUp keyframe) ───────────────────────────────── */

.num-animate {
  animation: countUp 0.35s var(--ease-out) forwards;
}

/* ── Tabular number animation ───────────────────────────────────────── */

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Micro-interactions ─────────────────────────────────────────────── */

.btn:active,
button:active {
  transform: scale(0.97);
}

/* ── Scrollbar ───────────────────────────────────────────────────────── */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
  background: var(--color-surface-4);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-faint);
}

/* 7b. Marketing components (hero, sections, proof, steps, cards, CTA) */

/* ═════════════════════════════════════════════════════════════════════
 * marketing.css — Complete marketing design system
 * Public website visual language.
 * ═════════════════════════════════════════════════════════════════════ */

/* ── Section primitives ─────────────────────────────────────────────── */

.mkt-sec {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.mkt-sec--surface {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}

.mkt-sec--surface-both {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.mkt-sec--flush {
  padding-bottom: 0;
}

/* ── Hero ───────────────────────────────────────────────────────────── */

.mkt-hero {
  padding: clamp(72px, 10vh, 100px) 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--color-bg);
}

.mkt-hero--tight { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }

.mkt-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--color-text);
  margin: 0 0 1rem;
  max-width: 14ch;
}

.mkt-hero p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 48ch;
  margin: 0 0 1.5rem;
}

/* ── Hero label, sub, actions ──────────────────────────────────── */

.mkt-hero-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.mkt-hero-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 0 1.5rem;
}

.mkt-hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.mkt-hero-actions .btn-primary,
.mkt-hero-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 1.5rem;
  font-size: 0.875rem;
}

/* ── Container widths ───────────────────────────────────────────────── */

.mkt-wide { max-width: var(--w-wide); margin: 0 auto; }

.mkt-narrow { max-width: var(--w-narrow); margin: 0 auto; }

.mkt-med { max-width: 960px; margin: 0 auto; }

/* ── 2-col layouts ──────────────────────────────────────────────────── */

.mkt-2col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3rem); align-items: start; }

.mkt-2col--hero { grid-template-columns: 1.1fr 0.9fr; align-items: center; }

.mkt-2col--wide-left { grid-template-columns: 1.3fr 1fr; }

.mkt-2col--wide-right { grid-template-columns: 1fr 1.3fr; }

/* ── Cards ──────────────────────────────────────────────────────────── */

.mkt-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  transition: border-color 140ms var(--ease-out);
}

.mkt-card:hover { border-color: var(--color-primary-border); }

.mkt-card--link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.mkt-card--sm { padding: 0.875rem 1.25rem; }

.mkt-card--md { padding: 1.25rem; }

.mkt-card--lg { padding: 1.5rem; }

.mkt-card--xl { padding: 2rem; }

.mkt-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.mkt-card__title--sm { font-size: 0.8125rem; }

.mkt-card__title--md { font-size: 0.9375rem; }

.mkt-card__title--lg { font-size: 1.0625rem; }

.mkt-card__sub {
  font-size: 0.6875rem;
  color: var(--color-text-faint);
  line-height: 1.45;
}

.mkt-card__desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ── Entry cards ────────────────────────────────────────────────────── */

.mkt-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

.mkt-entry-card {
  padding: 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 140ms var(--ease-out);
}

.mkt-entry-card:hover { border-color: var(--color-primary-border); }

.mkt-entry-card__title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
}

.mkt-entry-card__sub {
  font-size: 0.6875rem;
  color: var(--color-text-faint);
  line-height: 1.4;
}

/* ── Feature grid (what-you-can-do cards) ──────────────────────────── */

.mkt-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.5rem;
}

.mkt-feature-item {
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.mkt-feature-item__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.mkt-feature-item__desc {
  font-size: 0.6875rem;
  color: var(--color-text-faint);
  line-height: 1.45;
}

/* ── Domain link row ────────────────────────────────────────────────── */

.mkt-domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.5rem;
}

.mkt-domain-link {
  padding: 0.75rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 140ms;
}

.mkt-domain-link:hover { border-color: var(--color-primary-border); }

.mkt-domain-link__name { font-size: 0.8125rem; font-weight: 600; color: var(--color-text); }

.mkt-domain-link__arrow { font-size: 0.625rem; color: var(--color-text-faint); }

/* ── Role link cards ────────────────────────────────────────────────── */

.mkt-role-link {
  display: block;
  padding: 1.25rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 140ms;
}

.mkt-role-link:hover { border-color: var(--color-primary-border); }

.mkt-role-link__head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.mkt-role-link__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.mkt-role-link__who {
  font-size: 0.6875rem;
  color: var(--color-text-faint);
}

.mkt-role-link__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 60ch;
}

/* ── Trust rows ─────────────────────────────────────────────────────── */

.mkt-trust-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.mkt-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.mkt-trust-label { font-size: 0.8125rem; font-weight: 500; color: var(--color-text); }

.mkt-trust-note { font-size: 0.625rem; color: var(--color-text-faint); margin-left: auto; }

/* ── Compliance rows ────────────────────────────────────────────────── */

.mkt-comp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.mkt-comp-label { font-size: 0.75rem; font-weight: 500; color: var(--color-text); }

.mkt-comp-badge {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}

.mkt-comp-badge--live { background: var(--color-success-dim); color: var(--color-success); }

.mkt-comp-badge--progress { background: rgba(0,229,255,0.12); color: var(--color-primary); }

.mkt-comp-note { font-size: 0.6rem; color: var(--color-text-faint); }

/* ── Control cards ──────────────────────────────────────────────────── */

.mkt-ctrl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mkt-ctrl-card {
  padding: 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.mkt-ctrl-card__title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.mkt-ctrl-card__desc {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ── Table (SLA, comparison) ────────────────────────────────────────── */

.mkt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.mkt-table th {
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--color-divider);
}

.mkt-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--color-divider);
  color: var(--color-text-muted);
}

.mkt-table td:first-child { font-weight: 600; color: var(--color-text); }

/* ── CTA cluster ────────────────────────────────────────────────────── */

.mkt-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

.mkt-cta-card {
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.mkt-cta-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.mkt-cta-card__desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* ── Proof stats ────────────────────────────────────────────────────── */

.mkt-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.mkt-stat__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.mkt-stat__label {
  font-size: 0.6875rem;
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}

/* ── H2 section heading ─────────────────────────────────────────────── */

.mkt-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.mkt-h2--sm { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }

/* ── CTA bottom ─────────────────────────────────────────────────────── */

.mkt-cta-bottom {
  text-align: center;
  padding: 0 0 clamp(3rem, 6vw, 5rem);
  background: var(--color-bg);
}

.mkt-cta-bottom h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.mkt-cta-bottom p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ── Deploy row ─────────────────────────────────────────────────────── */

.mkt-deploy-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-divider);
}

.mkt-deploy-item:last-child { border-bottom: none; }

.mkt-deploy-num {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-dim);
  border: 1px solid var(--color-primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.mkt-deploy-label { font-size: 0.8125rem; font-weight: 500; color: var(--color-text); }

/* ── Integrations grid ──────────────────────────────────────────────── */

.mkt-int-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.mkt-int-card {
  padding: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.mkt-int-card__label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--color-text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.625rem;
}

.mkt-int-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }

.mkt-int-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 0.2rem 0.5rem;
  background: var(--color-surface-3);
  border-radius: 2px;
}

/* ── Concepts grid ──────────────────────────────────────────────────── */

.mkt-concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.5rem;
}

.mkt-concept-item {
  padding: 0.875rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.mkt-concept-item__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}

.mkt-concept-item__desc {
  font-size: 0.6875rem;
  color: var(--color-text-faint);
  line-height: 1.45;
}

/* ── Layer cards ────────────────────────────────────────────────────── */

.mkt-layer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.5rem;
}

.mkt-layer-item {
  padding: 0.875rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.mkt-layer-item__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.mkt-layer-item__tech {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.15rem;
}

.mkt-layer-item__role {
  font-size: 0.6875rem;
  color: var(--color-text-faint);
}

/* ── Pricing two-path ───────────────────────────────────────────────── */

.mkt-path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.mkt-path-card {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.mkt-path-card--enterprise {
  border-color: var(--color-primary-border);
}

.mkt-path-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.mkt-path-card--enterprise .mkt-path-card__title { color: var(--color-primary); }

.mkt-path-card__desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ── FAQ ────────────────────────────────────────────────────────────── */

.mkt-faq-q {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.15rem;
}

.mkt-faq-a {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ── TabGroup ───────────────────────────────────────────────────────── */

.mkt-tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--color-divider);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.mkt-tab {
  all: unset;
  cursor: pointer;
  padding: 0.625rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  color: var(--color-text-muted);
  transition: color 120ms, border-color 120ms;
}

.mkt-tab:hover { color: var(--color-text); }

.mkt-tab--active {
  color: var(--color-text);
  border-bottom-color: var(--color-primary);
}

/* ── Announcement banner ────────────────────────────────────────────── */

.mkt-banner {
  background: var(--color-primary-dim);
  border-bottom: 1px solid var(--color-primary-border);
  padding: 0.5rem 0;
  text-align: center;
  font-size: 0.6875rem;
  color: var(--color-primary);
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .mkt-2col, .mkt-2col--hero, .mkt-2col--wide-left, .mkt-2col--wide-right { grid-template-columns: 1fr; }
  .mkt-ctrl-grid { grid-template-columns: 1fr; }
  .mkt-path-grid { grid-template-columns: 1fr; }
  .mkt-entry-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .mkt-domain-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .mkt-feature-grid { grid-template-columns: 1fr; }
  .mkt-int-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* ── Logo card ─────────────────────────────────────────────────── */

.mkt-logo-card {
  padding: 0.75rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition: border-color 180ms var(--ease-out);
}

.mkt-logo-card:hover { border-color: var(--color-primary-border); }

.mkt-logo-icon {
  width: 28px; height: 28px;
  display: block;
  flex-shrink: 0;
  opacity: 1;
  transition: transform 180ms var(--ease-out);
}

.mkt-logo-card:hover .mkt-logo-icon { transform: scale(1.10); }

.mkt-logo-icon--lg { width: 32px; height: 32px; }

.mkt-logo-name {
  font-size: 0.75rem; font-weight: 500;
  color: var(--color-text-muted);
  transition: color 180ms;
}

.mkt-logo-card:hover .mkt-logo-name { color: var(--color-text); }

/* ── Nature accent ─────────────────────────────────────────────── */

.mkt-hero--nature { position: relative; overflow: hidden; }

/* ── Green rhythm ──────────────────────────────────────────────── */

.mkt-green-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.mkt-green-border-left {
  border-left: 2px solid var(--color-primary-border);
  transition: border-color 180ms;
}

.mkt-green-border-left:hover { border-left-color: var(--color-primary); }

.mkt-sec-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary-border), transparent);
  border: none;
  margin: 0;
}

.mkt-green-highlight {
  color: var(--color-primary);
  font-weight: 600;
}

.mkt-green-bg-subtle {
  background: var(--color-primary-dim);
}

/* ── Green section backgrounds (neutralized for cross-theme) ─ */

.mkt-sec--green {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.mkt-sec--green-strong {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

/* ── Moss: neutral surface ─────────────────────────────────── */

.mkt-sec--moss {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

/* ── Canopy: neutral surface ────────────────────────────────── */

.mkt-sec--canopy {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}

/* ── Water: neutral surface ────────────────────────────────── */

.mkt-sec--water {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

/* ── Ember: neutral surface ────────────────────────────────── */

.mkt-sec--ember {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}

/* ── Hero accent tint (neutral, theme-aware) ─────────────────── */

.mkt-hero--green-tint {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--color-primary-dim) 0%, transparent 60%), var(--color-bg);
}

/* 7c. Premium hero sections (dark navy, SVG visuals, fade-up animations) */

/* ── hero-premium.css ──────────────────────────────────────────────────
 * v5. 44/56 grid. Stage background. Commanding type. SVG visuals.
 * ────────────────────────────────────────────────────────────────────── */

.dp-hero {
  display: grid;
  grid-template-columns: 44fr 56fr;
  gap: clamp(2rem, 4vw, 4rem);
  min-height: 560px;
  padding: clamp(64px, 8vw, 80px) clamp(24px, 5vw, 64px);
  position: relative; overflow: hidden; isolation: isolate;
  align-items: center;
}

@media (max-width: 1023px) {
  .dp-hero { grid-template-columns: 1fr; min-height: auto; padding: 40px 20px; gap: 1rem; }
  .dp-hero-visual { display: none; }
}

/* ── Background — stage with structural beams ─────────────────────── */

.dp-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 50% 56% at 78% 48%, rgba(21,101,192,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 15% 30%, rgba(21,101,192,0.04) 0%, transparent 50%),
    radial-gradient(ellipse 70% 70% at 50% 50%, #0d1829 0%, #060c17 100%);
}

.dp-hero-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(155deg, transparent 48%, rgba(21,101,192,0.03) 49%, rgba(21,101,192,0.03) 51%, transparent 52%),
    linear-gradient(25deg, transparent 48%, rgba(21,101,192,0.03) 49%, rgba(21,101,192,0.03) 51%, transparent 52%);
}

/* ── Eyebrow — 10px, sharp ────────────────────────────────────────── */

.dp-hero-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(237,240,245,0.50);
  margin: 0 0 18px; display: flex; align-items: center; gap: 10px; line-height: 1;
}

.dp-hero-eyebrow::before {
  content: ''; display: block; width: 12px; height: 1.5px;
  background: rgba(21,101,192,0.45); flex-shrink: 0;
}

/* ── H1 — 36-56px, 2 lines, commanding ────────────────────────────── */

.dp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 650; line-height: 1.06;
  color: #edf0f5; margin: 0 0 18px;
  letter-spacing: -0.022em;
}

/* ── Subtitle — 15px, 2 sentences, readable ───────────────────────── */

.dp-hero-subtitle {
  font-size: 15px; line-height: 1.65;
  color: rgba(237,240,245,0.62); max-width: 36ch;
  margin: 0; font-weight: 400;
}

/* ── CTA — margin-top 2rem, buttons 13px ──────────────────────────── */

.dp-hero-cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.dp-hero .btn-primary {
  background: #1565C0 !important; color: #fff !important;
  padding: 0 20px !important; border-radius: 4px !important;
  font-size: 13px !important; font-weight: 600 !important;
  border: none !important; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 200ms ease;
  height: 42px !important; min-height: 42px !important; line-height: 1 !important;
  letter-spacing: 0.005em;
}

.dp-hero .btn-primary:hover { background: #1976D2 !important; }

.dp-hero .btn-secondary {
  color: rgba(237,240,245,0.65) !important;
  padding: 0 4px !important; font-size: 13px !important;
  font-weight: 500 !important; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  border: none !important; border-radius: 0 !important;
  background: transparent !important;
  transition: color 200ms ease, gap 200ms ease;
  height: 42px !important; min-height: 42px !important; line-height: 1 !important;
}

.dp-hero .btn-secondary::after {
  content: '→'; display: inline; font-size: 14px; font-weight: 400;
  transition: transform 200ms ease;
}

.dp-hero .btn-secondary:hover {
  color: rgba(237,240,245,0.90) !important;
  gap: 10px;
  background: transparent !important;
}

.dp-hero .btn-secondary:hover::after { transform: translateX(2px); }

/* ── Visual column — SVG fills the 56% column ─────────────────────── */

.dp-hero-visual {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}

.dp-hero-visual svg {
  width: 100%; height: 100%;
}

/* ── Entrance animation ───────────────────────────────────────────── */

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dp-hero .dp-hero-eyebrow   { animation: hero-fade-in 0.30s ease forwards; animation-delay: 0.02s; opacity: 0; }

.dp-hero h1                { animation: hero-fade-in 0.32s ease forwards; animation-delay: 0.06s; opacity: 0; }

.dp-hero .dp-hero-subtitle { animation: hero-fade-in 0.32s ease forwards; animation-delay: 0.14s; opacity: 0; }

.dp-hero .dp-hero-cta      { animation: hero-fade-in 0.34s ease forwards; animation-delay: 0.20s; opacity: 0; }

.dp-hero-visual             { animation: hero-fade-in 0.50s ease forwards; animation-delay: 0.26s; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .dp-hero .dp-hero-eyebrow, .dp-hero h1,
  .dp-hero .dp-hero-subtitle, .dp-hero .dp-hero-cta,
  .dp-hero-visual { animation: none; opacity: 1; }
}

/* 8. Responsive / media queries */

/* ── responsive.css ─────────────────────────────────────────────────────
 * All media queries in one place for maintainability.
 *
 * Convention: use utility classes over [style*=...] selectors wherever
 * possible.  Avoid !important — prefer higher-specificity selectors or
 * the .mobile-only/.tablet-only pattern.
 * ────────────────────────────────────────────────────────────────────── */

/* ── Mobile (< 640px) ────────────────────────────────────────────────── */

@media (max-width: 640px) {
  /* Prevent horizontal overflow everywhere */
  body {
    overflow-x: hidden;
  }

  /* Section padding tighter on small screens */
  .section {
    padding-block: clamp(2.5rem, 8vw, 4rem);
  }

  /* Container full-width with safe padding */
  .container,
  .container-narrow {
    padding-inline: 1rem;
    max-width: 100%;
  }

  /* All two-column grids → single column */
  .hero-grid,
  .auth-shell,
  .app-overview-hero,
  .dp-grid-2,
  .dp-grid-3,
  .dp-grid-4,
  .solutions-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    display: none;
  }

  .auth-panel {
    padding: 1rem;
  }

  /* Sidebar-paired grids: collapse aside content */
  .dp-layout-sidebar-content {
    grid-template-columns: 1fr;
  }

  /* Hero headings don't overflow */
  .h1 {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .h2 {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
  }

  /* Metric overlay on HeroCanvas — stack vertically */
  .hero-metrics {
    flex-direction: column;
    right: 0.5rem;
    bottom: 0.5rem;
  }

  /* Nav CTA row wraps cleanly */
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row a,
  .cta-row button {
    justify-content: center;
    width: 100%;
  }

  /* Bento grid: max 1 column */
  [class*="bento"] {
    grid-template-columns: 1fr;
  }

  /* Code blocks scroll horizontally, not overflow */
  pre {
    overflow-x: auto;
    max-width: 100%;
  }

  /* Table scroll wrapper (trust, deployment comparison) */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ── App shell: mobile bottom nav ─────────────────────────────────────── */

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }

  .app-main-with-mobile-nav {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0));
  }

  .app-sidebar-mobile-hidden {
    display: none;
  }

  .copilot-mobile-context-card {
    display: block;
  }
}

/* ── Content-visibility for below-fold sections ──────────────────────────
 * Helps the browser skip layout for off-screen content until scrolled near.
 * Only applied to pure-marketing sections that have no dynamic search/effect.
 * ────────────────────────────────────────────────────────────────────── */

@media (min-width: 640px) {
  .cv-section-bento {
    content-visibility: auto;
    contain-intrinsic-size: 480px;
  }

  .cv-section-proof {
    content-visibility: auto;
    contain-intrinsic-size: 360px;
  }

  .cv-section-related {
    content-visibility: auto;
    contain-intrinsic-size: 280px;
  }

  .cv-section-timeline {
    content-visibility: auto;
    contain-intrinsic-size: 340px;
  }
}

/* ── App Shell Navigation ───────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-desktop {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex !important;
    margin-left: auto !important;
    order: 10;
  }
  
  /* Right section: compact layout */
  .app-shell-right {
    gap: 0.35rem !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    max-width: calc(100vw - 80px) !important;
    overflow: hidden;
  }
  .app-shell-right button {
    font-size: 10px !important;
    padding: 0.3rem 0.5rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100px !important;
  }
  /* Workspace name truncated */
  .app-shell-right [data-workspace-menu] button:first-child {
    max-width: 80px !important;
  }
  
  /* Hide labels on icon buttons */
  .app-shell-right a[href*="connectors"] {
    font-size: 10px !important;
    padding: 0.3rem 0.5rem !important;
  }
  
  /* Main content padding */
  main {
    padding: 0.5rem !important;
    overflow-x: hidden !important;
  }
  
  /* Overview cards stack vertically */
  .app-overview-shell {
    padding: 0.5rem !important;
  }
}

@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none !important;
  }
  .mobile-nav-panel {
    display: none !important;
  }
}

/* Mobile nav panel fills screen below header */

.mobile-nav-panel {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-surface);
  z-index: 100;
  overflow-y: auto;
}

/* Hide mobile nav panel on desktop */

@media (min-width: 769px) {
  .mobile-nav-panel {
    display: none !important;
  }
}

/* Prevent body scroll when mobile menu is open */

body.mobile-menu-open {
  overflow: hidden;
}

/* ── Dropdowns & Popups: ensure they render above fixed header ─────── */

[data-workspace-menu] > div,
[data-user-menu] > div {
  z-index: 1200 !important;
}

/* ── Landing Page Header ──────────────────────────────────────────── */

@media (max-width: 768px) {
  .header-nav-desktop {
    display: none !important;
  }
  .header-mobile-menu-btn {
    display: flex !important;
  }
}

@media (min-width: 769px) {
  .header-mobile-menu-btn {
    display: none !important;
  }
}

/* 9. Page-specific hovers (deprecated — migrate to composable utilities) */

/* ── ad-hoc.css ──────────────────────────────────────────────────────────
 * Page-specific hover and interaction utilities.
 *
 * Phase 4 refactor: these now use the composable dp-card--interactive
 * pattern from components.css rather than !important overrides.
 * Each class below layers only the colour-specific border/glow on top
 * of the base interactive behavior.
 * ────────────────────────────────────────────────────────────────────── */

/* ── Landing: role cards ────────────────────────────────────────────── */

.role-card-hover {
  transition:
    border-color 180ms var(--ease-out),
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.role-card-hover:hover {
  border-color: var(--color-primary-border);
}

/* ── Blog cards ─────────────────────────────────────────────────────── */

.blog-featured-card {
  transition: border-color 180ms var(--ease-out);
}

.blog-featured-card:hover {
  border-color: var(--color-primary-border);
}

.blog-card-hover {
  transition:
    border-color 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.blog-card-hover:hover {
  border-color: var(--card-hover-color, var(--color-primary-border));
  transform: translateY(-2px);
}

.blog-subscribe-input:focus {
  border-color: var(--color-primary);
}

/* ── Docs links ─────────────────────────────────────────────────────── */

.docs-link-hover {
  transition: color 180ms var(--ease-out);
}

.docs-link-hover:hover {
  color: var(--docs-link-hover-color, var(--color-primary));
}

/* ── Homepage deploy cards ──────────────────────────────────────────── */

.home-deploy-card {
  transition:
    border-color 180ms var(--ease-out),
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.home-deploy-card:hover {
  border-color: var(--color-primary-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ── Solution cards (k8s, networking, SRE) ──────────────────────────── */

.sol-k8s-card {
  transition:
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.sol-k8s-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 4px 24px rgba(168, 85, 247, 0.08);
}

.sol-networking-card {
  transition:
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.sol-networking-card:hover {
  border-color: rgba(34, 211, 160, 0.3);
  box-shadow: 0 4px 24px rgba(34, 211, 160, 0.08);
}

.sol-sre-card {
  transition:
    border-left-color 180ms var(--ease-out),
    background 180ms var(--ease-out);
}

.sol-sre-card:hover {
  border-left-color: var(--color-primary);
  background: var(--color-surface-3);
}

/* ── dp link hover (used in context-aware inline links) ─────────────── */

.dp-link-hover {
  transition: color 180ms var(--ease-out);
}

.dp-link-hover:hover {
  color: var(--color-text);
}

/* ── Solution role cards (dp prefix, unified style) ──────────────────────── */

.dp-sol-role-card {
  transition:
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.dp-sol-role-card:hover {
  border-color: var(--color-primary-border);
  box-shadow: var(--shadow-glow);
}

.dp-sol-domain-card {
  transition:
    border-color 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.dp-sol-domain-card:hover {
  border-color: var(--color-primary-border);
  transform: translateY(-2px);
}

/* ── Resource page hover cards ──────────────────────────────────────── */

.dp-resource-quicklink {
  transition:
    transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.dp-resource-quicklink:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.dp-resource-doclink {
  transition:
    border-color 180ms var(--ease-out),
    background 180ms var(--ease-out);
}

.dp-resource-doclink:hover {
  border-color: var(--color-primary-border);
  background: var(--color-surface-2);
}

/* ── Why page alternate rows ────────────────────────────────────────── */

.dp-why-altrow {
  transition: background 180ms var(--ease-out);
}

.dp-why-altrow:hover {
  background: var(--color-surface-2);
}

/* ── Buyer persona cards ────────────────────────────────────────────── */

.dp-buyer-card-link {
  transition: border-color 180ms var(--ease-out);
}

.dp-buyer-card-link:hover {
  border-color: var(--color-primary-border);
}

/* ── Footer links ───────────────────────────────────────────────────── */

.dp-footer-link {
  transition: color 180ms var(--ease-out);
}

.dp-footer-link:hover {
  color: var(--color-text);
}

/* ── Tailwind directives ──────────────────────────────────────────────── */

/* Enable Tailwind classes (used by operations page and future components).
   @tailwind directives must come after @import in PostCSS processing. */

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: var(--font-mono), ui-monospace, monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.\!container {
  width: 100% !important;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {

  .\!container {
    max-width: 640px !important;
  }

  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {

  .\!container {
    max-width: 768px !important;
  }

  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {

  .\!container {
    max-width: 1024px !important;
  }

  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {

  .\!container {
    max-width: 1280px !important;
  }

  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {

  .\!container {
    max-width: 1536px !important;
  }

  .container {
    max-width: 1536px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

.\!visible {
  visibility: visible !important;
}

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: 0px;
}

.bottom-6 {
  bottom: var(--space-6);
}

.left-1\/2 {
  left: 50%;
}

.right-4 {
  right: var(--space-4);
}

.right-6 {
  right: var(--space-6);
}

.top-1\/2 {
  top: 50%;
}

.top-4 {
  top: var(--space-4);
}

.isolate {
  isolation: isolate;
}

.z-50 {
  z-index: 50;
}

.z-\[100\] {
  z-index: 100;
}

.col-span-3 {
  grid-column: span 3 / span 3;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.-mb-px {
  margin-bottom: -1px;
}

.mb-1 {
  margin-bottom: var(--space-1);
}

.mb-1\.5 {
  margin-bottom: 0.375rem;
}

.mb-10 {
  margin-bottom: var(--space-10);
}

.mb-2 {
  margin-bottom: var(--space-2);
}

.mb-3 {
  margin-bottom: var(--space-3);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-7 {
  margin-bottom: 1.75rem;
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.ml-4 {
  margin-left: var(--space-4);
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-1 {
  margin-top: var(--space-1);
}

.mt-2 {
  margin-top: var(--space-2);
}

.mt-3 {
  margin-top: var(--space-3);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-8 {
  margin-top: var(--space-8);
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

.flex {
  display: flex;
}

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

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.h-1\.5 {
  height: 0.375rem;
}

.h-3\.5 {
  height: 0.875rem;
}

.h-4 {
  height: var(--space-4);
}

.h-5 {
  height: var(--space-5);
}

.h-8 {
  height: var(--space-8);
}

.h-96 {
  height: 24rem;
}

.min-h-\[100px\] {
  min-height: 100px;
}

.min-h-\[56px\] {
  min-height: 56px;
}

.min-h-\[60vh\] {
  min-height: 60vh;
}

.min-h-screen {
  min-height: 100vh;
}

.w-3\.5 {
  width: 0.875rem;
}

.w-4 {
  width: var(--space-4);
}

.w-48 {
  width: 12rem;
}

.w-5 {
  width: var(--space-5);
}

.w-full {
  width: 100%;
}

.min-w-0 {
  min-width: 0px;
}

.min-w-\[56px\] {
  min-width: 56px;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-sm {
  max-width: 24rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.shrink-0 {
  flex-shrink: 0;
}

.border-collapse {
  border-collapse: collapse;
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-x-0 {
  --tw-translate-x: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-x-4 {
  --tw-translate-x: var(--space-4);
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.scale-100 {
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.scale-95 {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@keyframes fadeIn {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes pulse {

  50% {
    opacity: .5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.cursor-pointer {
  cursor: pointer;
}

.resize-y {
  resize: vertical;
}

.resize {
  resize: both;
}

.appearance-none {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.flex-col {
  flex-direction: column;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-0 {
  gap: 0px;
}

.gap-1 {
  gap: var(--space-1);
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-2\.5 {
  gap: 0.625rem;
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.overflow-hidden {
  overflow: hidden;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.break-all {
  word-break: break-all;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-2xl {
  border-radius: var(--radius-2xl);
}

.rounded-full {
  border-radius: var(--radius-full);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-md {
  border-radius: var(--radius-md);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-b-2 {
  border-bottom-width: 2px;
}

.border-t {
  border-top-width: 1px;
}

.border-amber-700 {
  --tw-border-opacity: 1;
  border-color: rgb(180 83 9 / var(--tw-border-opacity, 1));
}

.border-blue-500\/40 {
  border-color: rgb(59 130 246 / 0.4);
}

.border-border {
  border-color: var(--color-border);
}

.border-error {
  border-color: var(--color-error);
}

.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}

.border-green-200 {
  --tw-border-opacity: 1;
  border-color: rgb(187 247 208 / var(--tw-border-opacity, 1));
}

.border-orange-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 215 170 / var(--tw-border-opacity, 1));
}

.border-primary-border {
  border-color: var(--color-primary-border);
}

.border-red-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}

.border-red-500\/30 {
  border-color: rgb(239 68 68 / 0.3);
}

.border-success {
  border-color: var(--color-success);
}

.border-transparent {
  border-color: transparent;
}

.border-warning {
  border-color: var(--color-warning);
}

.border-yellow-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 240 138 / var(--tw-border-opacity, 1));
}

.bg-amber-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(120 53 15 / var(--tw-bg-opacity, 1));
}

.bg-amber-900\/50 {
  background-color: rgb(120 53 15 / 0.5);
}

.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}

.bg-blue-500\/10 {
  background-color: rgb(59 130 246 / 0.1);
}

.bg-blue-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}

.bg-blue-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(30 58 138 / var(--tw-bg-opacity, 1));
}

.bg-current {
  background-color: currentColor;
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.bg-gray-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}

.bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}

.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}

.bg-gray-950 {
  --tw-bg-opacity: 1;
  background-color: rgb(3 7 18 / var(--tw-bg-opacity, 1));
}

.bg-green-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
}

.bg-primary-dim {
  background-color: var(--color-primary-dim);
}

.bg-purple-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(88 28 135 / var(--tw-bg-opacity, 1));
}

.bg-red-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
}

.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}

.bg-red-500\/10 {
  background-color: rgb(239 68 68 / 0.1);
}

.bg-surface {
  background-color: var(--color-surface);
}

.bg-surface-2 {
  background-color: var(--color-surface-2);
}

.bg-surface-3 {
  background-color: var(--color-surface-3);
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-yellow-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 249 195 / var(--tw-bg-opacity, 1));
}

.bg-opacity-50 {
  --tw-bg-opacity: 0.5;
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-blue-400 {
  --tw-gradient-from: #60a5fa var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(96 165 250 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-purple-400 {
  --tw-gradient-to: #c084fc var(--tw-gradient-to-position);
}

.bg-clip-text {
  -webkit-background-clip: text;
          background-clip: text;
}

.bg-no-repeat {
  background-repeat: no-repeat;
}

.fill-surface-3 {
  fill: var(--color-surface-3);
}

.p-0 {
  padding: 0px;
}

.p-0\.5 {
  padding: 0.125rem;
}

.p-1 {
  padding: var(--space-1);
}

.p-1\.5 {
  padding: 0.375rem;
}

.p-4 {
  padding: var(--space-4);
}

.p-5 {
  padding: var(--space-5);
}

.p-6 {
  padding: var(--space-6);
}

.p-8 {
  padding: var(--space-8);
}

.px-2 {
  padding-left: var(--space-2);
  padding-right: var(--space-2);
}

.px-3 {
  padding-left: var(--space-3);
  padding-right: var(--space-3);
}

.px-4 {
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.px-5 {
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}

.px-6 {
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.px-7 {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.py-1 {
  padding-top: var(--space-1);
  padding-bottom: var(--space-1);
}

.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.py-12 {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.py-2 {
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.py-3 {
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

.py-3\.5 {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.py-4 {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.py-5 {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

.pr-8 {
  padding-right: var(--space-8);
}

.pt-3 {
  padding-top: var(--space-3);
}

.pt-5 {
  padding-top: var(--space-5);
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.font-display {
  font-family: var(--font-cabinet), system-ui, sans-serif;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
}

.italic {
  font-style: italic;
}

.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}

.leading-none {
  line-height: 1;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-snug {
  line-height: 1.375;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.text-amber-200 {
  --tw-text-opacity: 1;
  color: rgb(253 230 138 / var(--tw-text-opacity, 1));
}

.text-amber-300 {
  --tw-text-opacity: 1;
  color: rgb(252 211 77 / var(--tw-text-opacity, 1));
}

.text-blue-300 {
  --tw-text-opacity: 1;
  color: rgb(147 197 253 / var(--tw-text-opacity, 1));
}

.text-blue-400\/70 {
  color: rgb(96 165 250 / 0.7);
}

.text-blue-500 {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / var(--tw-text-opacity, 1));
}

.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

.text-cyan-400 {
  --tw-text-opacity: 1;
  color: rgb(34 211 238 / var(--tw-text-opacity, 1));
}

.text-error {
  color: var(--color-error);
}

.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}

.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.text-green-800 {
  --tw-text-opacity: 1;
  color: rgb(22 101 52 / var(--tw-text-opacity, 1));
}

.text-primary {
  color: var(--color-primary);
}

.text-purple-300 {
  --tw-text-opacity: 1;
  color: rgb(216 180 254 / var(--tw-text-opacity, 1));
}

.text-red-300 {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}

.text-red-400\/80 {
  color: rgb(248 113 113 / 0.8);
}

.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}

.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}

.text-red-800 {
  --tw-text-opacity: 1;
  color: rgb(153 27 27 / var(--tw-text-opacity, 1));
}

.text-success {
  color: var(--color-success);
}

.text-text {
  color: var(--color-text);
}

.text-text-faint {
  color: var(--color-text-faint);
}

.text-text-muted {
  color: var(--color-text-muted);
}

.text-transparent {
  color: transparent;
}

.text-warning {
  color: var(--color-warning);
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.text-yellow-400 {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}

.text-yellow-800 {
  --tw-text-opacity: 1;
  color: rgb(133 77 14 / var(--tw-text-opacity, 1));
}

.underline {
  text-decoration-line: underline;
}

.no-underline {
  text-decoration-line: none;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.opacity-25 {
  opacity: 0.25;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-75 {
  opacity: 0.75;
}

.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-lg {
  --tw-shadow: var(--shadow-lg);
  --tw-shadow-colored: var(--shadow-lg);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-md {
  --tw-shadow: var(--shadow-md);
  --tw-shadow-colored: var(--shadow-md);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: var(--shadow-sm);
  --tw-shadow-colored: var(--shadow-sm);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.outline {
  outline-style: solid;
}

.ring {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow {
  --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.backdrop-filter {
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

/* ── End globals.css ────────────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════════ */

/*  COPILOT MARKDOWN — Billion-Dollar Presentation Styles          */

/* ═══════════════════════════════════════════════════════════════ */

.md-root {
  color: var(--color-text, #d1d5db);
  font-size: 16px;
  line-height: 1.7;
  max-width: 1000px;
}

/* Headings */

.md-h1, .md-h2, .md-h3, .md-h4 {
  color: var(--color-text, #f3f4f6);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.md-h1 { font-size: 24px; border-bottom: 2px solid var(--color-border-light, #374151); padding-bottom: 0.4rem; }

.md-h2 { font-size: 20px; }

.md-h3 { font-size: 17px; }

.md-h4 { font-size: 15px; }

/* Paragraphs */

.md-p { margin: 0.6rem 0; }

/* Tables — the star of the show */

.md-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  border: 1px solid var(--color-border-light, #374151);
  border-radius: 8px;
  overflow: hidden;
}

.md-thead { background: var(--color-bg-inset, rgba(255,255,255,0.04)); }

.md-th {
  text-align: left;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted, #9ca3af);
  border-bottom: 2px solid var(--color-border-light, #374151);
}

.md-td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--color-border-light, #1f2937);
}

.md-tr:nth-child(even) .md-td {
  background: var(--color-bg-inset, rgba(255,255,255,0.02));
}

.md-tr:hover .md-td {
  background: var(--color-bg-hover, rgba(0,229,255,0.04));
}

.md-tbody tr:last-child .md-td {
  border-bottom: none;
}

/* Code blocks */

.md-pre {
  background: var(--color-bg-inset, #111827);
  border: 1px solid var(--color-border-light, #1f2937);
  border-radius: 8px;
  padding: 14px 16px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 13px;
  line-height: 1.55;
  margin: 0.75rem 0;
}

.md-inline-code {
  background: var(--color-bg-inset, rgba(255,255,255,0.06));
  color: #e879f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 13px;
}

/* Lists */

.md-ul, .md-ol { padding-left: 1.5rem; margin: 0.5rem 0; }

.md-li { margin-bottom: 0.25rem; }

/* Blockquotes */

.md-blockquote {
  border-left: 3px solid var(--color-primary, #00e5ff);
  padding: 8px 16px;
  margin: 0.75rem 0;
  background: var(--color-bg-inset, rgba(0,229,255,0.03));
  color: var(--color-text-muted, #9ca3af);
  font-style: italic;
}

/* Bold / Emphasis */

.md-strong { color: var(--color-text, #f3f4f6); font-weight: 700; }

.md-em { font-style: italic; }

/* Horizontal rule */

.md-hr {
  border: none;
  border-top: 1px solid var(--color-border-light, #1f2937);
  margin: 1.25rem 0;
}

/* Links */

.md-link {
  color: var(--color-primary, #00e5ff);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.md-link:hover { opacity: 0.8; }

/* ═══════════════════════════════════════════════════════════════ */

/*  TOPOLOGY MODAL — Full-screen interactive diagram              */

/* ═══════════════════════════════════════════════════════════════ */

.topo-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.topo-modal-content {
  background: var(--color-surface, #0f172a);
  border-radius: 12px;
  max-width: 1200px;
  width: 96vw;
  max-height: 90vh;
  overflow: hidden;
  border: 1px solid var(--color-border, #334155);
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.topo-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border-light, #334155);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topo-modal-footer {
  text-align: center;
  padding: 0.5rem 1rem;
  border-top: 1px solid var(--color-border-light, #334155);
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12px;
}

/* Ensure ReactFlow fits properly */

.react-flow__node {
  font-family: var(--font-body, system-ui) !important;
}

.react-flow__controls button {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  color: #94a3b8 !important;
  fill: #94a3b8 !important;
}

.react-flow__controls button:hover {
  background: #334155 !important;
}

.react-flow__minimap {
  border-radius: 8px !important;
  border: 1px solid #334155 !important;
}

/* Print styles — hide ReactFlow controls for clean PDF export */

@media print {
  .react-flow__controls,
  .react-flow__minimap,
  .react-flow__attribution {
    display: none !important;
  }
}

/* ── Executive Briefing Print Styles ── */

@media print {
  /* Hide everything by default, then show only the briefing */
  html, body, #__next, main, section, div {
    background: white !important;
  }

  /* Hide all non-briefing content */
  body > *:not(#briefing-print-root),
  nav, header, footer, aside, .no-print,
  button, [role="navigation"], [data-testid] {
    display: none !important;
  }

  /* Show only the briefing root */
  .briefing-print-root,
  .briefing-print-root * {
    visibility: visible !important;
    display: block !important;
  }

  .briefing-print-root {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 1.5cm 2cm;
    margin: 0;
    border: none;
    background: white;
    color: #1a1a1a;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 11pt;
    line-height: 1.6;
  }

  .briefing-print-root h1,
  .briefing-print-root h2,
  .briefing-print-root h3,
  .briefing-print-root h4 {
    color: #1a1a1a !important;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
  }

  .briefing-print-root h1 {
    font-size: 20pt;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.5cm 0;
    padding-bottom: 0.3cm;
    border-bottom: 2px solid #1a1a1a;
  }

  .briefing-print-root h2 {
    font-size: 14pt;
    font-weight: 700;
    margin: 0.6cm 0 0.3cm 0;
    padding-bottom: 0.15cm;
    border-bottom: 1px solid #ccc;
  }

  .briefing-print-root h3 {
    font-size: 12pt;
    font-weight: 600;
    margin: 0.4cm 0 0.2cm 0;
    color: #333 !important;
  }

  .briefing-print-root p,
  .briefing-print-root li {
    font-size: 10.5pt;
    color: #333 !important;
    line-height: 1.55;
    margin-bottom: 0.25cm;
  }

  .briefing-print-root .print-header-meta {
    font-size: 9pt;
    color: #666 !important;
    margin-bottom: 0.15cm;
  }

  .briefing-print-root .print-confidence {
    font-size: 9pt;
    font-style: italic;
    color: #888 !important;
    margin-bottom: 0.5cm;
  }

  .briefing-print-root .print-section {
    margin-bottom: 0.5cm;
    page-break-inside: avoid;
  }

  .briefing-print-root .print-footer {
    margin-top: 1cm;
    padding-top: 0.3cm;
    border-top: 1px solid #ccc;
    font-size: 8pt;
    color: #999 !important;
  }

  .briefing-print-root code {
    font-family: 'Menlo', 'Consolas', monospace;
    font-size: 9pt;
    background: #f5f5f5;
    padding: 1px 4px;
    border-radius: 2px;
  }

  .briefing-print-root pre {
    background: #f8f8f8;
    padding: 0.4cm;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 9pt;
    overflow-x: auto;
    page-break-inside: avoid;
  }

  .briefing-print-root table {
    width: 100%;
    border-collapse: collapse;
    font-size: 9pt;
    margin: 0.3cm 0;
  }

  .briefing-print-root th {
    background: #f0f0f0;
    font-weight: 600;
    text-align: left;
    padding: 4px 8px;
    border-bottom: 2px solid #ccc;
  }

  .briefing-print-root td {
    padding: 3px 8px;
    border-bottom: 1px solid #eee;
  }

  @page {
    size: A4;
    margin: 1.5cm;
  }
}

/* ── Topology node pulse animation ── */

@keyframes topoPulse {
  0%   { transform: scale(1); opacity: 0.35; }
  50%  { transform: scale(1.06); opacity: 0.08; }
  100% { transform: scale(1.12); opacity: 0; }
}

/* ── Topology controls dark theme ── */

.topo-controls button {
  background: #0f1a2e !important;
  border-color: #1e293b !important;
  color: #94a3b8 !important;
  fill: #94a3b8 !important;
}

.topo-controls button:hover {
  background: #1a2940 !important;
}

/* Executive Summary Print Styles */

.placeholder\:text-text-faint::-moz-placeholder {
  color: var(--color-text-faint);
}

.placeholder\:text-text-faint::placeholder {
  color: var(--color-text-faint);
}

.hover\:border-text-faint:hover {
  border-color: var(--color-text-faint);
}

.hover\:bg-blue-500:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}

.hover\:bg-blue-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}

.hover\:bg-surface-2:hover {
  background-color: var(--color-surface-2);
}

.hover\:bg-surface-3:hover {
  background-color: var(--color-surface-3);
}

.hover\:text-amber-100:hover {
  --tw-text-opacity: 1;
  color: rgb(254 243 199 / var(--tw-text-opacity, 1));
}

.hover\:text-blue-600:hover {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

.hover\:text-primary-hover:hover {
  color: var(--color-primary-hover);
}

.hover\:text-text:hover {
  color: var(--color-text);
}

.hover\:shadow-md:hover {
  --tw-shadow: var(--shadow-md);
  --tw-shadow-colored: var(--shadow-md);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.hover\:brightness-110:hover {
  --tw-brightness: brightness(1.1);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-cyan-400:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(34 211 238 / var(--tw-ring-opacity, 1));
}

.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}

.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus-visible\:ring-2:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:ring-error:focus-visible {
  --tw-ring-color: var(--color-error);
}

.focus-visible\:ring-primary:focus-visible {
  --tw-ring-color: var(--color-primary);
}

.focus-visible\:ring-offset-1:focus-visible {
  --tw-ring-offset-width: 1px;
}

.focus-visible\:ring-offset-2:focus-visible {
  --tw-ring-offset-width: 2px;
}

.active\:scale-95:active {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}

.disabled\:opacity-45:disabled {
  opacity: 0.45;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.disabled\:grayscale-\[0\.4\]:disabled {
  --tw-grayscale: grayscale(0.4);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

@keyframes fadeIn {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.data-\[state\=delayed-open\]\:animate-fade-in[data-state="delayed-open"] {
  animation: fadeIn 0.4s ease forwards;
}

.data-\[state\=active\]\:border-primary[data-state="active"] {
  border-color: var(--color-primary);
}

.data-\[state\=active\]\:border-b-primary-border[data-state="active"] {
  border-bottom-color: var(--color-primary-border);
}

.data-\[state\=active\]\:bg-surface[data-state="active"] {
  background-color: var(--color-surface);
}

.data-\[state\=active\]\:text-primary[data-state="active"] {
  color: var(--color-primary);
}

.data-\[state\=active\]\:text-text[data-state="active"] {
  color: var(--color-text);
}

.data-\[state\=active\]\:shadow-sm[data-state="active"] {
  --tw-shadow: var(--shadow-sm);
  --tw-shadow-colored: var(--shadow-sm);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

@media (min-width: 768px) {

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/[lang]/layout.tsx","import":"Inter","arguments":[{"subsets":["latin"],"variable":"--font-inter","display":"swap"}],"variableName":"inter"} ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ba9851c3c22cd980-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/21350d82a1f187e9-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/df0a9ae256c0569c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8e9860b6e62d6359-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Inter Fallback';src: local("Arial");ascent-override: 90.44%;descent-override: 22.52%;line-gap-override: 0.00%;size-adjust: 107.12%
}.__className_f367f3 {font-family: 'Inter', 'Inter Fallback';font-style: normal
}.__variable_f367f3 {--font-inter: 'Inter', 'Inter Fallback'
}

/*!**************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./styles/print.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************/
/* ═══════════════════════════════════════════════════════════════ */
/*  PRINT STYLESHEET — Clean PDF export via window.print()        */
/* ═══════════════════════════════════════════════════════════════ */
@media print {
  /* Hide everything non-essential */
  header,
  nav,
  footer,
  button,
  .no-print,
  [data-no-print],
  .md-link,
  /* Keep the answer content only */
  body * {
    visibility: hidden;
  }

  /* Unhide the answer content and its ancestors */
  #copilot-answer-content,
  #copilot-answer-content * {
    visibility: visible;
  }

  #copilot-answer-content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 2rem;
    overflow: visible !important;
    max-height: none !important;
  }

  /* Typography for print */
  body {
    background: #fff !important;
    color: #111 !important;
    font-size: 13px;
    line-height: 1.6;
  }

  .md-root,
  .md-p,
  .md-li,
  .md-td,
  .md-th {
    color: #111 !important;
  }

  .md-h1, .md-h2, .md-h3, .md-h4 {
    color: #000 !important;
  }

  .md-table {
    border: 1px solid #ddd !important;
    page-break-inside: avoid;
  }

  .md-thead {
    background: #f5f5f5 !important;
  }

  .md-th {
    color: #333 !important;
    border-bottom: 2px solid #999 !important;
  }

  .md-td {
    border-bottom: 1px solid #eee !important;
  }

  .md-tr:nth-child(even) .md-td {
    background: #fafafa !important;
  }

  .md-pre {
    background: #f5f5f5 !important;
    border: 1px solid #ddd !important;
    color: #222 !important;
    page-break-inside: avoid;
  }

  .md-inline-code {
    background: #f0f0f0 !important;
    color: #c026d3 !important;
  }

  .md-blockquote {
    border-left-color: #999 !important;
    background: #fafafa !important;
    color: #444 !important;
  }

  .md-strong {
    color: #000 !important;
  }

  .md-hr {
    border-top-color: #ddd !important;
  }

  /* Avoid breaking inside code blocks, tables, and lists */
  .md-pre,
  .md-table,
  .md-blockquote,
  .md-ul,
  .md-ol {
    page-break-inside: avoid;
  }

  h1, h2, h3, h4 {
    page-break-after: avoid;
  }
}

