﻿/*
 * AIEP Design System â€” Canonical CSS
 * Source of truth: Forecast web app (LandingPage.tsx + index.css)
 * All marketing sites and app shells import this file.
 *
 * Dark default (slate-900 base), light override via [data-theme="light"]
 * Fonts: Lexend (display) + Inter (body) â€” loaded separately per app
 */

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   TOKENS â€” Dark (default)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
  /* Surfaces */
  --ds-bg:           #0f172a;   /* slate-900 â€” page background */
  --ds-bg-card:      #1e293b;   /* slate-800 â€” cards, mock browser */
  --ds-bg-card-2:    #0f172a;   /* slate-900 â€” nested surfaces */
  --ds-bg-subtle:    #0d1526;   /* darker than bg */
  --ds-surface:      #1e293b;   /* section background on dark */

  /* Borders */
  --ds-border:       rgba(255,255,255,0.10);  /* nav, hero borders */
  --ds-border-card:  #334155;                 /* slate-700 card borders */
  --ds-border-input: #475569;                 /* slate-600 form inputs */

  /* Text */
  --ds-fg:           #ffffff;   /* headings on dark */
  --ds-fg-2:         #cbd5e1;   /* slate-300 body text */
  --ds-fg-muted:     #94a3b8;   /* slate-400 secondary */
  --ds-fg-dim:       #64748b;   /* slate-500 captions */

  /* Brand blue */
  --ds-blue:         #2563eb;   /* blue-600 â€” primary CTA */
  --ds-blue-hover:   #3b82f6;   /* blue-500 â€” hover */
  --ds-blue-dark:    #1d4ed8;   /* blue-700 â€” active/pressed */
  --ds-blue-text:    #60a5fa;   /* blue-400 â€” accent text on dark */
  --ds-blue-pill-bg: rgba(59,130,246,0.10);
  --ds-blue-pill-br: rgba(59,130,246,0.30);

  /* Semantic */
  --ds-success:      #22c55e;
  --ds-warning:      #f59e0b;
  --ds-danger:       #ef4444;

  /* Spacing scale */
  --ds-r-sm:  4px;
  --ds-r:     6px;
  --ds-r-md:  8px;
  --ds-r-lg:  10px;
  --ds-r-xl:  14px;
  --ds-r-2xl: 18px;
  --ds-r-pill:9999px;

  /* Shadows */
  --ds-sh-sm:  0 1px 2px rgba(0,0,0,.20);
  --ds-sh:     0 1px 3px rgba(0,0,0,.30), 0 1px 2px rgba(0,0,0,.20);
  --ds-sh-md:  0 4px 6px rgba(0,0,0,.25), 0 2px 4px rgba(0,0,0,.20);
  --ds-sh-lg:  0 10px 25px rgba(0,0,0,.30);
  --ds-sh-2xl: 0 25px 50px rgba(0,0,0,.40);

  /* Nav */
  --ds-nav-bg:     rgba(15,23,42,0.95);
  --ds-nav-border: rgba(255,255,255,0.10);

  color-scheme: dark;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   TOKENS â€” Light override
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
[data-theme="light"] {
  --ds-bg:           #f8fafc;   /* slate-50 */
  --ds-bg-card:      #ffffff;
  --ds-bg-card-2:    #f1f5f9;   /* slate-100 */
  --ds-bg-subtle:    #f1f5f9;
  --ds-surface:      #ffffff;

  --ds-border:       #e2e8f0;   /* slate-200 */
  --ds-border-card:  #e2e8f0;
  --ds-border-input: #cbd5e1;   /* slate-300 */

  --ds-fg:           #0f172a;   /* slate-900 */
  --ds-fg-2:         #374151;   /* gray-700 */
  --ds-fg-muted:     #6b7280;   /* gray-500 */
  --ds-fg-dim:       #9ca3af;   /* gray-400 */

  --ds-blue:         #2563eb;
  --ds-blue-hover:   #1d4ed8;
  --ds-blue-dark:    #1e40af;
  --ds-blue-text:    #2563eb;
  --ds-blue-pill-bg: rgba(37,99,235,0.08);
  --ds-blue-pill-br: rgba(37,99,235,0.25);

  --ds-sh-sm:  0 1px 2px rgba(0,0,0,.05);
  --ds-sh:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --ds-sh-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --ds-sh-lg:  0 10px 15px rgba(0,0,0,.08);
  --ds-sh-2xl: 0 20px 25px rgba(0,0,0,.08);

  --ds-nav-bg:     rgba(255,255,255,0.95);
  --ds-nav-border: #e2e8f0;

  color-scheme: light;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   RESET
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02','cv03','cv04','cv11';
}

body {
  font-family: 'Inter', InterVariable, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--ds-bg);
  color: var(--ds-fg-2);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; }
img, svg { display: block; }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   LAYOUT
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ds-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .ds-container { padding: 0 32px; }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   NAV  â€” fixed, blurred, Forecast-style
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ds-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--ds-nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ds-nav-border);
}

.ds-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

/* Brand: white pill "AIEP" + blue-400 product name */
.ds-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}

.ds-brand-badge {
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.4;
}

.ds-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ds-blue-text);
  letter-spacing: -0.01em;
}

[data-theme="light"] .ds-brand-badge {
  background: #0f172a;
  color: #ffffff;
}

.ds-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ds-nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ds-fg-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--ds-r-md);
  transition: color 0.15s, background 0.15s;
}

.ds-nav-link:hover {
  color: var(--ds-fg);
  background: rgba(255,255,255,0.06);
}

[data-theme="light"] .ds-nav-link:hover {
  background: var(--ds-bg-card-2);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   BUTTONS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--ds-r-md);
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
}

.ds-btn:hover { transform: translateY(-1px); }
.ds-btn:active { transform: translateY(0); }

/* Primary â€” blue-600 solid */
.ds-btn-primary {
  background: var(--ds-blue);
  color: #ffffff;
}
.ds-btn-primary:hover { background: var(--ds-blue-hover); }
.ds-btn-primary:disabled { background: var(--ds-border-card); color: var(--ds-fg-dim); cursor: default; transform: none; }

/* Ghost â€” border only */
.ds-btn-ghost {
  background: transparent;
  color: var(--ds-fg-2);
  border: 1px solid var(--ds-border-input);
}
.ds-btn-ghost:hover { color: var(--ds-fg); border-color: var(--ds-fg-muted); }

/* Sizes */
.ds-btn-sm { font-size: 13px; padding: 7px 14px; }
.ds-btn-lg { font-size: 15px; padding: 13px 28px; }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   THEME TOGGLE
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ds-theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ds-border-card);
  border-radius: var(--ds-r-md);
  background: transparent;
  color: var(--ds-fg-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  padding: 0;
  flex-shrink: 0;
}
.ds-theme-btn:hover { background: rgba(255,255,255,0.08); color: var(--ds-fg); border-color: var(--ds-blue); }
[data-theme="light"] .ds-theme-btn:hover { background: var(--ds-bg-card-2); }

.ds-theme-btn .ds-icon-moon { display: block; }
.ds-theme-btn .ds-icon-sun  { display: none; }
[data-theme="light"] .ds-theme-btn .ds-icon-moon { display: none; }
[data-theme="light"] .ds-theme-btn .ds-icon-sun  { display: block; }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   HERO â€” slate-900 + blur blobs + centre text
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ds-hero {
  position: relative;
  overflow: hidden;
  background: #0f172a;
  padding: 120px 24px 80px;
  text-align: center;
}

.ds-hero-blob-1 {
  position: absolute;
  top: -10rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60rem;
  height: 40rem;
  border-radius: 50%;
  background: rgba(37,99,235,0.20);
  filter: blur(64px);
  pointer-events: none;
}

.ds-hero-blob-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(99,102,241,0.15);
  filter: blur(64px);
  pointer-events: none;
}

.ds-hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }

.ds-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5fd;
  background: var(--ds-blue-pill-bg);
  border: 1px solid var(--ds-blue-pill-br);
  border-radius: var(--ds-r-pill);
  padding: 4px 16px;
  margin-bottom: 24px;
}

.ds-hero-h1 {
  font-family: 'Lexend', Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
}

.ds-hero-h1-accent { color: var(--ds-blue-text); }

.ds-hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 580px;
  margin: 0 auto 36px;
}

.ds-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Mock browser strip */
.ds-mock-browser {
  margin: 56px auto 0;
  max-width: 900px;
  border-radius: var(--ds-r-xl);
  border: 1px solid #334155;
  background: #1e293b;
  box-shadow: var(--ds-sh-2xl);
  overflow: hidden;
}

.ds-mock-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #0f172a;
  border-bottom: 1px solid #334155;
}

.ds-mock-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.ds-mock-dot-r { background: rgba(239,68,68,0.6); }
.ds-mock-dot-y { background: rgba(234,179,8,0.6); }
.ds-mock-dot-g { background: rgba(34,197,94,0.6); }

.ds-mock-url {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: #475569;
  margin-left: 8px;
}

.ds-mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid #334155;
}

.ds-mock-stat {
  padding: 24px;
  text-align: center;
  border-right: 1px solid #334155;
}
.ds-mock-stat:last-child { border-right: none; }
.ds-mock-stat-val  { font-size: 1.5rem; font-weight: 700; color: #ffffff; display: block; }
.ds-mock-stat-lbl  { font-size: 11px; font-weight: 600; color: #cbd5e1; display: block; margin-top: 4px; }
.ds-mock-stat-sub  { font-size: 11px; color: #475569; display: block; }

@media (max-width: 600px) {
  .ds-mock-stats { grid-template-columns: repeat(2, 1fr); }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   SECTION / CARDS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ds-section {
  padding: 80px 24px;
}

.ds-section-white { background: #ffffff; }
.ds-section-dark  { background: #0f172a; }
.ds-section-slate { background: #f8fafc; }

[data-theme="light"] .ds-section-dark { background: #0f172a; } /* stays dark */
[data-theme="light"] .ds-section-white { background: #ffffff; }
[data-theme="light"] .ds-section-slate { background: #f8fafc; }

.ds-section-hdr {
  text-align: center;
  margin-bottom: 48px;
}

.ds-section-h2 {
  font-family: 'Lexend', Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 12px;
}

.ds-section-white .ds-section-h2,
.ds-section-slate .ds-section-h2 { color: #111827; }
.ds-section-dark  .ds-section-h2 { color: #ffffff; }

.ds-section-sub {
  font-size: 1rem;
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.ds-section-dark .ds-section-sub { color: #94a3b8; }

/* Card grid */
.ds-card-grid {
  display: grid;
  gap: 20px;
}

.ds-card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ds-card-grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) { .ds-card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ds-card-grid-3, .ds-card-grid-2 { grid-template-columns: 1fr; } }

.ds-card {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border-card);
  border-radius: var(--ds-r-2xl);
  padding: 28px 24px;
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
}

.ds-card:hover {
  box-shadow: var(--ds-sh-md);
  transform: translateY(-2px);
}

.ds-card-light {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.ds-card-light:hover { box-shadow: 0 8px 24px rgba(0,0,0,.07); }

/* Feature card icon tile */
.ds-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--ds-r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.ds-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.ds-card-light .ds-card-title { color: #111827; }

.ds-card-desc {
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.65;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   CHECKLIST
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ds-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ds-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ds-fg-2);
  line-height: 1.5;
}

[data-theme="light"] .ds-checklist li { color: #374151; }

.ds-check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(37,99,235,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ds-blue-text);
  margin-top: 1px;
}

[data-theme="light"] .ds-check-icon { color: var(--ds-blue); }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   CTA STRIP
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ds-cta-strip {
  background: #0f172a;
  padding: 80px 24px;
  text-align: center;
}

.ds-cta-h2 {
  font-family: 'Lexend', Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 12px;
}

.ds-cta-sub {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.ds-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   FOOTER
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ds-footer {
  background: #020617;
  border-top: 1px solid #1e293b;
  padding: 28px 24px;
}

.ds-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ds-footer-copy {
  font-size: 12px;
  color: #475569;
}

.ds-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.ds-footer-links a {
  font-size: 12px;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s;
}

.ds-footer-links a:hover { color: #94a3b8; }

/* Cross-app band */
.ds-footer-apps {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #1e293b;
}

.ds-footer-apps-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #334155;
}

.ds-footer-app-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s;
}

.ds-footer-app-link:hover { color: #94a3b8; }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   FORMS (auth pages, contact)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ds-form-group { margin-bottom: 16px; }

.ds-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ds-fg-2);
  margin-bottom: 5px;
}

[data-theme="light"] .ds-form-label { color: #374151; }

.ds-form-input {
  display: block;
  width: 100%;
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border-card);
  border-radius: var(--ds-r-md);
  color: var(--ds-fg);
  font-size: 14px;
  font-family: inherit;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s;
}

.ds-form-input:focus { border-color: var(--ds-blue); }
.ds-form-input::placeholder { color: var(--ds-fg-dim); }

[data-theme="light"] .ds-form-input { background: #ffffff; border-color: #d1d5db; color: #111827; }
[data-theme="light"] .ds-form-input::placeholder { color: #9ca3af; }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   LEDGER / CODE BLOCKS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ds-code {
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: var(--ds-r-xl);
  padding: 20px 24px;
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
  color: #94a3b8;
  overflow-x: auto;
  white-space: pre;
}

.ds-code .ds-code-cmd     { color: var(--ds-blue-text); }
.ds-code .ds-code-comment { color: #334155; }
.ds-code .ds-code-out     { color: #22c55e; }
.ds-code .ds-code-key     { color: #93c5fd; }
.ds-code .ds-code-str     { color: #86efac; }
.ds-code .ds-code-num     { color: #f59e0b; }
.ds-code .ds-code-hash    { color: #c084fc; }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   ARCH DIAGRAM
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ds-arch {
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: var(--ds-r-xl);
  padding: 28px 32px;
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: #64748b;
  overflow-x: auto;
  white-space: pre;
}

.ds-arch .ds-arch-hi { color: #60a5fa; }
.ds-arch .ds-arch-lo { color: #818cf8; }
.ds-arch .ds-arch-ok { color: #4ade80; }

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   FOCUS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:focus-visible {
  outline: 2px solid var(--ds-blue);
  outline-offset: 2px;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   RESPONSIVE
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 640px) {
  .ds-hero { padding: 88px 20px 60px; }
  .ds-section { padding: 56px 20px; }
  .ds-cta-strip { padding: 56px 20px; }
  .ds-nav-links .ds-nav-link:not(.ds-nav-link-always) { display: none; }
}

