/* ============================================================================
   RIDGELINE DESIGN SYSTEM
   ============================================================================
   Shared tokens and components for all designed pages.
   
   Usage: Add <link rel="stylesheet" href="/css/design-system.css"> to pages
   that use ds-* classes. Existing pages are unaffected — this file is additive.
   
   Migration: Replace page-specific classes (hp-, rc-, fc-, sk-, as-, ch-, tl-,
   dl-, cert-, pr-, lb-, lp-, ab-, coc-) with ds-* equivalents one page at a time.
   ============================================================================ */

/* ---- Phase 1: Design Tokens ---- */

:root {
  /* Spacing scale (4px base) */
  --ds-space-1: 4px;
  --ds-space-2: 8px;
  --ds-space-3: 12px;
  --ds-space-4: 16px;
  --ds-space-5: 20px;
  --ds-space-6: 24px;
  --ds-space-8: 32px;
  --ds-space-10: 40px;
  --ds-space-12: 48px;
  --ds-space-16: 64px;
  --ds-space-20: 80px;

  /* Typography scale */
  --ds-text-xs: 11px;
  --ds-text-sm: 13px;
  --ds-text-base: 15px;
  --ds-text-md: 16px;
  --ds-text-lg: 18px;
  --ds-text-xl: 20px;
  --ds-text-2xl: 24px;
  --ds-text-3xl: 28px;
  --ds-text-4xl: 32px;
  --ds-text-5xl: 40px;

  /* Font stacks */
  --ds-font-display: 'Fraunces', serif;
  --ds-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ds-font-mono: 'JetBrains Mono', Consolas, monospace;

  /* Colors — parchment palette */
  --ds-color-body: #ffffff;
  --ds-color-card: #e3dacc;
  --ds-color-card-light: #ffffff;
  --ds-color-border: #e2e2e2;
  --ds-color-border-hover: #c4b9a8;
  --ds-color-section-alt: #f8f7f4;

  /* Text colors */
  --ds-color-text: #111111;
  --ds-color-text-secondary: #1a1612;
  --ds-color-text-muted: #4a4a4a;
  --ds-color-text-light: #6b5d4d;
  --ds-color-heading: #0f172a;

  /* Brand colors */
  --ds-color-accent: #E86A2A;
  --ds-color-accent-hover: #d45d22;
  --ds-color-accent-soft: rgba(232, 106, 42, 0.1);
  --ds-color-accent-border: rgba(232, 106, 42, 0.2);

  /* Dark palette */
  --ds-color-dark: #0f2b3d;
  --ds-color-dark-bg: #0F2B3C;
  --ds-color-hero-start: #1a3f55;
  --ds-color-hero-mid: #1e4d6b;
  --ds-color-hero-end: #22576f;

  /* Semantic colors */
  --ds-color-success: #059669;
  --ds-color-success-bg: #f0fdf4;
  --ds-color-success-border: #bbf7d0;
  --ds-color-error: #dc2626;
  --ds-color-error-bg: #fef2f2;
  --ds-color-error-border: #fecaca;
  --ds-color-warning: #d97706;
  --ds-color-warning-bg: #fffbeb;
  --ds-color-warning-border: #fde68a;
  --ds-color-info: #2563eb;
  --ds-color-info-bg: #eff6ff;
  --ds-color-info-border: #bfdbfe;

  /* Slate (used in hero text, muted elements) */
  --ds-color-slate-300: #cbd5e1;
  --ds-color-slate-400: #94a3b8;
  --ds-color-slate-200: #e2e8f0;

  /* Border radius */
  --ds-radius-sm: 4px;
  --ds-radius-md: 6px;
  --ds-radius-lg: 8px;
  --ds-radius-xl: 12px;
  --ds-radius-2xl: 16px;
  --ds-radius-full: 9999px;

  /* Shadows */
  --ds-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --ds-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --ds-shadow-lg: 0 10px 36px rgba(232, 106, 42, 0.08);
  --ds-shadow-hover: 0 10px 36px rgba(232, 106, 42, 0.12);

  /* Transitions */
  --ds-transition: 0.2s ease;
  --ds-transition-slow: 0.3s ease;

  /* Layout */
  --ds-max-width: 1200px;
  --ds-max-width-narrow: 880px;
  --ds-max-width-text: 720px;
}


/* ---- Phase 2: Shared Components ---- */

/* ============================================================================
   SECTION
   ============================================================================ */

.ds-section {
  padding: var(--ds-space-12) 0;
}

.ds-section--alt {
  background: var(--ds-color-body);
}

.ds-section--tight {
  padding: var(--ds-space-12) var(--ds-space-6);
}

.ds-section--flush {
  padding-left: 0;
  padding-right: 0;
}

.ds-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--ds-space-6);
}

.ds-inner--narrow {
  max-width: var(--ds-max-width-narrow);
  margin: 0 auto;
}

.ds-inner--text {
  max-width: var(--ds-max-width-text);
  margin: 0 auto;
}


/* ============================================================================
   HERO
   ============================================================================ */

.ds-hero {
  background: linear-gradient(170deg, var(--ds-color-hero-start) 0%, var(--ds-color-hero-mid) 60%, var(--ds-color-hero-end) 100%);
  color: #fff;
  padding: 80px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ds-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #E86A2A;
}

.ds-hero__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--ds-space-6);
  position: relative;
  z-index: 1;
}

.ds-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-2);
  padding: var(--ds-space-2) var(--ds-space-3);
  border-radius: var(--ds-radius-full);
  background: var(--ds-color-accent-soft);
  border: 1px solid var(--ds-color-accent-border);
  font-size: var(--ds-text-sm);
  font-weight: 600;
  color: #E8935A;
  margin-bottom: var(--ds-space-4);
}

.ds-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ds-color-accent);
}

.ds-hero__title {
  font-family: var(--ds-font-display);
  font-size: 48px;
  font-weight: 800;
  margin-bottom: var(--ds-space-5);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #fff;
}

.ds-hero__subtitle {
  font-size: var(--ds-text-lg);
  color: var(--ds-color-slate-300);
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 36px;
}

.ds-hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--ds-space-6);
}

.ds-hero__proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: var(--ds-text-sm);
  color: var(--ds-color-slate-400);
}

.ds-hero__proof strong {
  color: var(--ds-color-slate-200);
  font-weight: 700;
}

.ds-hero__proof-sep {
  color: #475569;
}


/* ============================================================================
   BUTTONS
   ============================================================================ */

.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-2);
  padding: 12px 24px;
  border-radius: var(--ds-radius-lg);
  font-family: var(--ds-font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--ds-transition);
  line-height: 1.4;
}

.ds-btn:hover {
  transform: translateY(-1px);
}

/* Filled accent (primary CTA) */
.ds-btn--accent {
  background: var(--ds-color-accent);
  color: #fff;
  border-color: var(--ds-color-accent);
  box-shadow: 0 2px 4px rgba(232,106,42,0.25);
}

.ds-btn--accent:hover {
  background: var(--ds-color-accent-hover);
  border-color: var(--ds-color-accent-hover);
  box-shadow: var(--ds-shadow-md);
}

/* Outlined (secondary CTA) */
.ds-btn--outline {
  background: transparent;
  color: #1a2332;
  border: 2px solid #1a2332;
}

.ds-btn--outline:hover {
  border-color: var(--ds-color-accent);
  color: var(--ds-color-accent);
  background: transparent;
}

.ds-btn--outline:hover {
  border-color: var(--ds-color-accent);
  color: var(--ds-color-accent);
}

/* Outlined on dark background */
.ds-btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.ds-btn--outline-light:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* Size modifiers */
.ds-btn--lg {
  padding: 14px 32px;
  font-size: 16px;
}

.ds-btn--sm {
  padding: 6px 14px;
  font-size: var(--ds-text-sm);
}

.ds-btn--full {
  width: 100%;
}

/* Ghost (text-only, no border) */
.ds-btn--ghost {
  background: transparent;
  color: var(--ds-color-accent);
  border: none;
  padding: var(--ds-space-2) var(--ds-space-3);
}

.ds-btn--ghost:hover {
  background: var(--ds-color-accent-soft);
  transform: none;
}


/* ============================================================================
   CARDS
   ============================================================================ */

.ds-card {
  background: var(--ds-color-card-light);
  border: 1px solid var(--ds-color-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.ds-card:hover {
  border-color: var(--ds-color-accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.ds-card--static {
  cursor: default;
}

.ds-card--static:hover {
  border-color: var(--ds-color-border);
  box-shadow: none;
  transform: none;
}

/* Card with dark header */
.ds-card__head {
  background: var(--ds-color-dark);
  padding: 22px 24px;
  color: #fff;
}

/* Card with lighter blue header (skills) */
.ds-card__head--light {
  background: linear-gradient(135deg, #1a3f55 0%, #22576f 100%);
}

.ds-card__head-name {
  font-family: var(--ds-font-display);
  font-size: var(--ds-text-lg);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ds-color-slate-200);
}

.ds-card__head-tools {
  font-size: var(--ds-text-xs);
  color: var(--ds-color-slate-300);
  margin-top: var(--ds-space-1);
  letter-spacing: 0.3px;
}

.ds-card__body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ds-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-2);
  font-size: var(--ds-text-sm);
  color: var(--ds-color-text-muted);
  flex: 1;
}

.ds-card__meta li {
  display: flex;
  align-items: flex-start;
  gap: var(--ds-space-2);
}

.ds-card__meta svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--ds-color-accent);
}

.ds-card__foot {
  display: flex;
  gap: var(--ds-space-2);
  padding: var(--ds-space-4) var(--ds-space-5);
  border-top: 1px solid var(--ds-color-border);
}

.ds-card__outcome {
  background: var(--ds-color-accent-soft);
  border: 1px solid var(--ds-color-accent-border);
  border-radius: var(--ds-radius-md);
  padding: var(--ds-space-3);
  margin-bottom: var(--ds-space-4);
  font-size: var(--ds-text-sm);
  color: var(--ds-color-accent);
  font-weight: 600;
}


/* ============================================================================
   BADGES
   ============================================================================ */

.ds-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--ds-radius-sm);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.ds-badge--level {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.ds-badge--free {
  background: rgba(5, 150, 105, 0.15);
  color: #10b981;
}

.ds-badge--new {
  background: var(--ds-color-accent);
  color: #fff;
}

.ds-badge--specialist {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.ds-badge--reference {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}


/* ============================================================================
   STAT CARDS
   ============================================================================ */

.ds-stats {
  display: flex;
  justify-content: center;
  gap: var(--ds-space-8);
  flex-wrap: wrap;
}

.ds-stat {
  text-align: center;
}

.ds-stat__value {
  display: block;
  font-family: var(--ds-font-display);
  font-size: var(--ds-text-3xl);
  font-weight: 700;
  color: var(--ds-color-heading);
  line-height: 1.1;
}

.ds-stat__label {
  font-size: var(--ds-text-xs);
  font-weight: 600;
  color: var(--ds-color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: var(--ds-space-1);
}

/* Stats inside hero (light text) */
.ds-hero .ds-stat__value {
  color: #fff;
}

.ds-hero .ds-stat__label {
  color: var(--ds-color-slate-400);
}


/* ============================================================================
   GRID LAYOUTS
   ============================================================================ */

.ds-grid {
  display: grid;
  gap: var(--ds-space-5);
}

.ds-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.ds-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.ds-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.ds-grid--auto {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@media (max-width: 900px) {
  .ds-grid--3,
  .ds-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ds-grid--2,
  .ds-grid--3,
  .ds-grid--4 {
    grid-template-columns: 1fr;
  }

  .ds-hero {
    padding: var(--ds-space-12) var(--ds-space-5) var(--ds-space-10);
  }

  .ds-stats {
    gap: var(--ds-space-5);
  }

  .ds-stat__value {
    font-size: var(--ds-text-2xl);
  }
}


/* ============================================================================
   SECTION HEADINGS
   ============================================================================ */

.ds-heading {
  font-family: var(--ds-font-display);
  font-weight: 700;
  color: var(--ds-color-heading);
  line-height: 1.2;
}

.ds-heading--xl {
  font-size: clamp(24px, 3vw, var(--ds-text-4xl));
  margin-bottom: var(--ds-space-4);
}

.ds-heading--lg {
  font-size: var(--ds-text-3xl);
  margin-bottom: var(--ds-space-3);
}

.ds-heading--md {
  font-size: var(--ds-text-xl);
  margin-bottom: var(--ds-space-2);
}

.ds-label {
  font-size: var(--ds-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ds-color-dark);
  margin-bottom: var(--ds-space-3);
}

.ds-label--accent {
  color: var(--ds-color-accent);
}

.ds-subtitle {
  font-size: var(--ds-text-base);
  color: var(--ds-color-text-muted);
  line-height: 1.7;
}


/* ============================================================================
   CALLOUT / HIGHLIGHT BOX
   ============================================================================ */

.ds-callout {
  border-radius: var(--ds-radius-xl);
  padding: var(--ds-space-8);
}

.ds-callout--dark {
  background: var(--ds-color-dark);
  color: var(--ds-color-slate-300);
}

.ds-callout--dark strong {
  color: var(--ds-color-slate-200);
}

.ds-callout--accent {
  background: var(--ds-color-card);
  border: 1px solid var(--ds-color-border);
}

.ds-callout--success {
  background: var(--ds-color-success-bg);
  border: 1px solid var(--ds-color-success-border);
}

.ds-callout--warning {
  background: var(--ds-color-warning-bg);
  border: 1px solid var(--ds-color-warning-border);
}


/* ============================================================================
   PROOF / TRUST LINE
   ============================================================================ */

.ds-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-4);
  flex-wrap: wrap;
  font-size: var(--ds-text-sm);
  color: var(--ds-color-text-muted);
  padding: var(--ds-space-6) var(--ds-space-6);
  border-top: 1px solid var(--ds-color-border);
  border-bottom: 1px solid var(--ds-color-border);
}

.ds-trust__sep {
  color: var(--ds-color-border);
}


/* ============================================================================
   PRICE TAG
   ============================================================================ */

.ds-price {
  font-size: var(--ds-text-sm);
  color: var(--ds-color-text-muted);
}

.ds-price strong {
  font-size: var(--ds-text-lg);
  font-weight: 700;
  color: var(--ds-color-heading);
}

.ds-price a {
  color: var(--ds-color-accent);
  text-decoration: none;
  font-weight: 600;
}

.ds-price a:hover {
  text-decoration: underline;
}


/* ============================================================================
   DIVIDER
   ============================================================================ */

.ds-divider {
  border: none;
  border-top: 1px solid var(--ds-color-border);
  margin: var(--ds-space-12) 0;
}

.ds-divider--tight {
  margin: var(--ds-space-6) 0;
}


/* ============================================================================
   FEATURE CARDS (icon + title + description, flat)
   ============================================================================ */

.ds-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--ds-color-card-light);
  border: 1px solid var(--ds-color-border);
  border-radius: 10px;
}

.ds-feature__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ds-color-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-feature p {
  font-size: 14px;
  color: var(--ds-color-text-secondary);
  line-height: 1.55;
  margin: 0;
}

.ds-feature strong {
  color: var(--ds-color-heading);
}


/* ============================================================================
   ICON CIRCLE (used in card headers, feature lists)
   ============================================================================ */

.ds-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* ============================================================================
   TAGS / CHIPS
   ============================================================================ */

.ds-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--ds-color-text-secondary);
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 4px;
}

.ds-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}


/* ============================================================================
   HERO FORMAT BLOCK (callout inside hero with icon list)
   ============================================================================ */

.ds-hero-format {
  margin-top: 28px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-align: left;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.ds-hero-format__title {
  font-family: var(--ds-font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  text-align: center;
}

.ds-hero-format__points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ds-hero-format__point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ds-hero-format__point svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.ds-hero-format__point span {
  font-size: 14px;
  color: var(--ds-color-slate-300);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .ds-hero-format { padding: 16px 20px; }
}


/* ============================================================================
   HERO PRICE LINE
   ============================================================================ */

.ds-hero-price {
  font-size: 13px;
  color: var(--ds-color-slate-300);
  margin-top: 4px;
}

.ds-hero-price strong {
  color: #fff;
  font-weight: 700;
}

.ds-hero-price a {
  color: #fdba74;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 4px;
}


/* ============================================================================
   PROOF LABEL
   ============================================================================ */

.ds-proof-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ds-color-dark);
  margin-bottom: 16px;
  text-align: center;
}


/* ============================================================================
   CODE DISPLAY (for homepage proof cards)
   ============================================================================ */

.ds-code-display {
  background: var(--ds-color-dark-bg);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--ds-font-mono);
  font-size: 10px;
  line-height: 1.5;
  overflow-x: auto;
  white-space: nowrap;
  color: var(--ds-color-slate-200);
}

.ds-code-display .kql-table { color: #86efac; }
.ds-code-display .kql-op { color: #94a3b8; }
.ds-code-display .kql-kw { color: #60a5fa; }
.ds-code-display .kql-str { color: #f59e0b; }


/* ============================================================================
   NUMBERED STEPS
   ============================================================================ */

.ds-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ds-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--ds-color-text-secondary);
  line-height: 1.5;
}

.ds-step code {
  background: var(--ds-color-border);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: var(--ds-font-mono);
  font-size: 11px;
}

.ds-step__num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ds-color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}


/* ============================================================================
   VERIFY ROWS
   ============================================================================ */

.ds-verify {
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-2);
}

.ds-verify__row {
  display: flex;
  align-items: flex-start;
  gap: var(--ds-space-2);
  font-family: var(--ds-font-mono);
  font-size: 11px;
  color: var(--ds-color-text-secondary);
  line-height: 1.4;
}

.ds-verify__row--pass .ds-verify__icon {
  color: var(--ds-color-success);
  font-weight: 700;
}

.ds-verify__row--warn {
  color: #b45309;
}

.ds-verify__row--warn .ds-verify__icon {
  color: var(--ds-color-warning);
}

.ds-verify__row strong {
  font-weight: 600;
}


/* ============================================================================
   AUTHOR BLOCK
   ============================================================================ */

.ds-author {
  background: var(--ds-color-card-light);
  border: 1px solid var(--ds-color-border);
  border-radius: 10px;
  padding: 32px;
}

.ds-author h3 {
  font-family: var(--ds-font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ds-color-heading);
  margin: 0 0 10px;
}

.ds-author p {
  font-size: 14px;
  color: var(--ds-color-text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.ds-author p:last-of-type {
  margin-bottom: 0;
}

.ds-author__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ds-color-accent);
  text-decoration: none;
}

.ds-author__link:hover {
  color: var(--ds-color-accent-hover);
}


/* ============================================================================
   NEWSLETTER
   ============================================================================ */

.ds-newsletter {
  text-align: center;
  padding: var(--ds-space-12) var(--ds-space-6);
}

.ds-newsletter__form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 20px auto 0;
  flex-wrap: wrap;
  justify-content: center;
}

.ds-newsletter__input {
  flex: 1;
  min-width: 200px;
  padding: 10px 16px;
  border-radius: var(--ds-radius-lg);
  border: 1px solid var(--ds-color-border);
  background: #fff;
  font-size: 14px;
  font-family: var(--ds-font-body);
  color: var(--ds-color-text);
}

.ds-newsletter__input:focus {
  outline: none;
  border-color: var(--ds-color-accent);
}


/* ============================================================================
   MOBILE RESPONSIVE — HERO
   ============================================================================ */

@media (max-width: 640px) {
  .ds-hero__title { font-size: 32px; }
  .ds-hero__proof { font-size: 12px; gap: 8px; }
  .ds-hero__proof-sep { display: none; }
}

@media (max-width: 540px) {
  .ds-hero__title { font-size: 28px; }
  .ds-hero__actions { flex-direction: column; align-items: center; }
  .ds-heading--xl { font-size: 28px; }
}

/* ============================================================================
   AUTH FORMS (login, register, reset-request, reset-confirm, gate)
   ============================================================================ */

.ds-auth-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 60vh;
  padding: 64px 24px;
}

.ds-auth-card {
  background: var(--ds-color-card-light);
  border: 1px solid var(--ds-color-border);
  border-radius: 16px;
  padding: 40px 36px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ds-auth-card h1 {
  font-family: var(--ds-font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--ds-color-heading);
  margin: 0 0 6px;
}

.ds-auth-subtitle {
  color: var(--ds-color-text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.ds-auth-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
  margin-top: 16px;
}

.ds-auth-form label:first-child {
  margin-top: 0;
}

.ds-auth-optional {
  font-weight: 400;
  color: var(--ds-color-text-light);
}

.ds-auth-form input[type="email"],
.ds-auth-form input[type="password"],
.ds-auth-form input[type="text"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ds-color-text);
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: var(--ds-font-body);
}

.ds-auth-form input:focus {
  outline: none;
  border-color: var(--ds-color-accent);
  box-shadow: 0 0 0 3px rgba(232, 106, 42, 0.1);
}

.ds-auth-error {
  background: var(--ds-color-error-bg);
  border: 1px solid var(--ds-color-error-border);
  color: var(--ds-color-error);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

.ds-auth-success {
  background: var(--ds-color-success-bg);
  border: 1px solid var(--ds-color-success-border);
  color: var(--ds-color-success);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}

.ds-auth-links {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--ds-color-text-light);
}

.ds-auth-links a {
  color: var(--ds-color-accent);
  text-decoration: none;
  font-weight: 500;
}

.ds-auth-links a:hover {
  text-decoration: underline;
}

.ds-auth-sep {
  margin: 0 8px;
}

.ds-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--ds-color-text-light);
  font-size: 13px;
}

.ds-auth-divider::before,
.ds-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ds-color-border);
}

.ds-oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.ds-btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  font-family: var(--ds-font-body);
  box-sizing: border-box;
}

.ds-btn-oauth:hover {
  border-color: #9ca3af;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.ds-btn-oauth svg {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .ds-auth-card { padding: 28px 20px; }
}


/* ============================================================================
   LEGAL / PROSE PAGE (terms, privacy, refund-policy)
   ============================================================================ */

.ds-prose-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px;
}

.ds-prose-page h1 {
  font-family: var(--ds-font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--ds-color-heading);
  margin-bottom: 4px;
}

.ds-prose-page h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ds-color-heading);
  margin-top: 36px;
  margin-bottom: 8px;
}

.ds-prose-page p {
  font-size: 15px;
  color: var(--ds-color-text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.ds-prose-page a {
  color: var(--ds-color-accent);
}

.ds-prose-updated {
  color: var(--ds-color-text-light);
  font-size: 13px;
  margin-bottom: 32px;
}


/* ============================================================================
   CARD FOOT (split footer with meta + CTA)
   ============================================================================ */

.ds-card-foot-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.ds-card-foot-split .ds-meta {
  font-size: 12px;
  color: var(--ds-color-success);
  font-weight: 600;
}

.ds-card-foot-split .ds-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-color-accent);
}


/* ============================================================================
   CARD DESCRIPTION TYPOGRAPHY (inside card bodies)
   ============================================================================ */

.ds-card-desc {
  font-size: 13.5px;
  color: var(--ds-color-text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

.ds-card-outcome-text {
  font-size: 13px;
  color: var(--ds-color-text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  font-style: italic;
}


/* ============================================================================
   PRICING CARDS
   ============================================================================ */

.ds-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.ds-pricing-card {
  background: var(--ds-color-card-light);
  border: 1px solid var(--ds-color-border);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
  position: relative;
}

.ds-pricing-card--popular {
  border-color: var(--ds-color-accent);
  box-shadow: 0 8px 32px rgba(232, 106, 42, 0.12);
}

.ds-pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ds-color-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.ds-pricing-card h3 {
  font-family: var(--ds-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ds-color-heading);
  margin-bottom: 6px;
}

.ds-pricing-price {
  font-family: var(--ds-font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--ds-color-heading);
  margin-bottom: 4px;
}

.ds-pricing-per {
  font-size: 15px;
  font-weight: 400;
  color: var(--ds-color-text-muted);
}

.ds-pricing-alt {
  font-size: 13px;
  color: var(--ds-color-text-light);
  margin-bottom: 16px;
}

.ds-pricing-desc {
  font-size: 14px;
  color: var(--ds-color-text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.ds-pricing-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.ds-pricing-actions .ds-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.ds-pricing-secure {
  font-size: 12px;
  color: var(--ds-color-text-light);
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 1100px) { .ds-pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ds-pricing-grid { grid-template-columns: 1fr; } }


/* ============================================================================
   FAQ
   ============================================================================ */

.ds-faq {
  margin-top: 64px;
}

.ds-faq h3 {
  font-family: var(--ds-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ds-color-heading);
  margin-bottom: 24px;
}

.ds-faq-item {
  border-bottom: 1px solid var(--ds-color-border);
  padding: 20px 0;
}

.ds-faq-item:first-child {
  border-top: 1px solid var(--ds-color-border);
}

.ds-faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--ds-color-heading);
  margin-bottom: 6px;
}

.ds-faq-a {
  font-size: 14px;
  color: var(--ds-color-text-secondary);
  line-height: 1.6;
}


/* ============================================================================
   EMPLOYER / HIGHLIGHT BOX (pricing page)
   ============================================================================ */

.ds-employer-box {
  background: var(--ds-color-section-alt);
  border: 1px solid var(--ds-color-border);
  border-radius: 12px;
  padding: 36px 32px;
  margin-top: 48px;
}

.ds-employer-box h3 {
  font-family: var(--ds-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ds-color-heading);
  margin-bottom: 14px;
}

.ds-employer-box p {
  font-size: 15px;
  color: var(--ds-color-text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.ds-employer-box p:last-child {
  margin-bottom: 0;
}


/* ============================================================================
   PAGE-SPECIFIC STYLES (centralized from inline <style> blocks)
   ============================================================================ */

/* === free-courses === */
.fc-noop { display: block; }
.fc-hero { background: linear-gradient(170deg, #1a3f55 0%, #1e4d6b 60%, #22576f 100%); padding: 80px 0 64px; text-align: center; position: relative; overflow: hidden; }
.fc-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #E86A2A; }
.fc-hero-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.fc-hero h1 { font-family: 'Fraunces', serif; font-size: 44px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.fc-hero p { font-size: 17px; color: #cbd5e1; line-height: 1.7; }
.fc-section { padding: 72px 0; }
.fc-section-alt { background: #f8f7f4; }
.fc-inner { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.fc-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #0f2b3d; margin-bottom: 12px; }
.fc-title { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.fc-desc { font-size: 15px; color: #4a4a4a; line-height: 1.6; margin-bottom: 28px; }
.fc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fc-card { background: #ffffff; border: 1px solid #e2e2e2; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.fc-card:hover { border-color: #E86A2A; box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-2px); }
.fc-card-head { padding: 22px 24px; position: relative; min-height: 80px; display: flex; flex-direction: column; justify-content: flex-end; }
.fc-card-head-free { background: #059669; }
.fc-card-head-paid { background: #0f2b3d; }
.fc-card-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; padding: 3px 8px; border-radius: 3px; background: rgba(255,255,255,0.15); color: #fff; display: inline-block; width: fit-content; margin-bottom: 8px; }
.fc-card-name { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 700; color: #e2e8f0; line-height: 1.3; margin-bottom: 4px; }
.fc-card-tools { font-size: 12px; color: rgba(255,255,255,0.5); }
.fc-card-body { padding: 18px 24px; flex: 1; display: flex; flex-direction: column; }
.fc-card-meta { list-style: none; padding: 0; margin: 0 0 14px; }
.fc-card-meta li { font-size: 13px; color: #1a1612; display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.fc-card-meta li svg { flex-shrink: 0; color: #6b5d4d; }
.fc-card-meta .fc-free { color: #059669; font-weight: 600; }
.fc-card-foot { display: flex; gap: 10px; padding-top: 14px; border-top: 1px solid #f1f5f9; margin-top: auto; }
.fc-card-foot span { font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 6px; text-align: center; flex: 1; display: inline-block; }
.fc-btn-fill { background: #E86A2A; color: #fff; }
.fc-btn-outline { border: 1px solid #e5e7eb; color: #0f172a; }
@media (max-width: 768px) { .fc-grid { grid-template-columns: 1fr; } }

/* === learning-paths === */
.lpp-noop { display: block; }
.lpp-hero { background: linear-gradient(170deg, #1a3f55 0%, #1e4d6b 60%, #22576f 100%); padding: 80px 0 64px; text-align: center; position: relative; overflow: hidden; }
.lpp-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #E86A2A; }
.lpp-hero-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.lpp-hero h1 { font-family: 'Fraunces', serif; font-size: 44px; font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -0.3px; }
.lpp-hero p { font-size: 17px; color: #cbd5e1; line-height: 1.7; margin-bottom: 24px; }
.lpp-hero-proof { font-size: 13px; color: #94a3b8; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.lpp-hero-proof strong { color: #e2e8f0; font-weight: 700; }
.lpp-hero-proof-sep { color: #475569; }
.lpp-hero-price { font-size: 13px; color: #cbd5e1; }
.lpp-hero-price strong { color: #fff; font-weight: 700; }
.lpp-hero-price a { color: #fdba74; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.lpp-hero-price a:hover { color: #fff; }
@media (max-width: 640px) { .lpp-hero-proof { font-size: 12px; gap: 8px; } .lpp-hero-proof-sep { display: none; } }
.lpp-section { padding: 72px 0; }
.lpp-section-alt { background: #f8f7f4; }
.lpp-inner { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.lpp-path { margin-bottom: 72px; }
.lpp-path:last-child { margin-bottom: 0; }
.lpp-path-header { display: flex; gap: 16px; align-items: center; margin-bottom: 28px; }
.lpp-path-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lpp-path-title { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 700; color: #0f172a; }
.lpp-path-audience { font-size: 14px; color: #4a4a4a; margin-top: 2px; }
.lpp-path-meta { font-size: 12px; font-weight: 600; color: #E86A2A; margin-top: 6px; letter-spacing: 0.3px; }
.lpp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; }
.lpp-step { background: #ffffff; border: 1px solid #e2e2e2; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.lpp-step:hover { border-color: #E86A2A; box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-2px); }
.lpp-step-head { background: #0f2b3d; padding: 18px 18px 14px; display: flex; align-items: center; gap: 12px; }
.lpp-step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--path-color, #E86A2A); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lpp-step-num-free { background: #059669; }
.lpp-step-name { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700; color: #e2e8f0; line-height: 1.3; }
.lpp-step-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.lpp-step-body p { font-size: 13px; color: #4a4a4a; line-height: 1.5; margin-bottom: 10px; }
.lpp-step-meta { font-size: 12px; color: #059669; font-weight: 600; margin-top: auto; }
.lpp-step-arrow { display: none; }
.lpp-start { margin-top: 4px; }
@media (max-width: 768px) { .lpp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lpp-steps { grid-template-columns: 1fr; } }

/* === tools === */
.tl-hero { background: linear-gradient(170deg, #1a3f55 0%, #1e4d6b 60%, #22576f 100%); padding: 80px 0 64px; text-align: center; position: relative; overflow: hidden; }
.tl-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #E86A2A; }
.tl-hero-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.tl-hero h1 { font-family: 'Fraunces', serif; font-size: 44px; font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -0.3px; }
.tl-hero p { font-size: 17px; color: #cbd5e1; line-height: 1.7; }

.tl-section { padding: 64px 0; background: #f8f7f4; }
.tl-section-alt { background: #f8f7f4; }
.tl-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.tl-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #0f2b3d; margin-bottom: 12px; display: block; }
.tl-sect-title { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.tl-sect-desc { font-size: 15px; color: #4a4a4a; margin-bottom: 28px; }

@media (max-width: 768px) {
  .tl-hero { padding: 56px 0 48px; }
  .tl-hero h1 { font-size: 32px; }
  .tl-section { padding: 48px 0; }
  .tl-sect-title { font-size: 22px; }
}

/* === labs === */
.lb-hero { background: linear-gradient(170deg, #1a3f55 0%, #1e4d6b 60%, #22576f 100%); padding: 80px 0 64px; text-align: center; position: relative; overflow: hidden; }
.lb-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #E86A2A; }
.lb-hero-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.lb-hero h1 { font-family: 'Fraunces', serif; font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.15; }
.lb-hero p { font-size: 17px; color: #cbd5e1; line-height: 1.7; margin-bottom: 20px; }
.lb-hero-proof { font-size: 13px; color: #94a3b8; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.lb-hero-proof strong { color: #e2e8f0; font-weight: 700; }
.lb-hero-proof-sep { color: #475569; }
.lb-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
@media(max-width:640px) { .lb-hero h1 { font-size: 30px; } .lb-hero-proof-sep { display: none; } }

.lb-section { padding: 48px 0; }
.lb-section-alt { background: #f8f7f4; }
.lb-inner { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.lb-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #0f2b3d; margin-bottom: 12px; display: block; }
.lb-title { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.lb-desc { font-size: 15px; color: #4a4a4a; line-height: 1.6; margin-bottom: 28px; }

.lb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media(max-width:700px) { .lb-grid { grid-template-columns: 1fr; } }
.lb-card { background: #ffffff; border: 1px solid #e2e2e2; border-radius: 10px; padding: 24px; }
.lb-card h3 { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.lb-card p { font-size: 14px; color: #4a4a4a; line-height: 1.55; margin: 0; }

.lb-env-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 24px; }
@media(max-width:700px) { .lb-env-grid { grid-template-columns: 1fr; } }
.lb-env-card { background: #ffffff; border: 1px solid #e2e2e2; border-radius: 10px; padding: 20px; text-decoration: none; color: inherit; transition: border-color 0.2s; display: block; }
.lb-env-card:hover { border-color: #E86A2A; }
.lb-env-card h4 { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.lb-env-card p { font-size: 13px; color: #4a4a4a; line-height: 1.5; margin: 0 0 8px; }
.lb-env-card .lb-env-cost { font-size: 12px; font-weight: 600; color: #059669; }
.lb-env-cta { font-size: 12px; font-weight: 600; color: #E86A2A; }

.lb-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
@media(max-width:700px) { .lb-why-grid { grid-template-columns: 1fr; } }

.lb-type-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 24px; }
@media(max-width:700px) { .lb-type-grid { grid-template-columns: 1fr; } }

.lb-cta { background: #ffffff; border: 1px solid #e2e2e2; border-radius: 14px; padding: 48px; text-align: center; }
.lb-cta h2 { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.lb-cta p { font-size: 15px; color: #4a4a4a; line-height: 1.6; max-width: 520px; margin: 0 auto 24px; }
.lb-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* === challenges === */
.ch-hero { background: linear-gradient(170deg, #1a3f55 0%, #1e4d6b 60%, #22576f 100%); padding: 80px 0 64px; text-align: center; position: relative; overflow: hidden; }
.ch-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #E86A2A; }
.ch-hero-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.ch-hero h1 { font-family: 'Fraunces', serif; font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -0.3px; line-height: 1.15; }
.ch-hero p { font-size: 17px; color: #cbd5e1; line-height: 1.7; }
.ch-hero-stats { display: flex; gap: 32px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.ch-hero-stat-num { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 800; color: #fff; }
.ch-hero-stat-label { font-size: 13px; color: #94a3b8; }
.ch-hero-stat { text-align: center; }
.ch-hero-stat-num { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 800; color: #E86A2A; }
.ch-hero-stat-label { font-size: 13px; color: #94a3b8; margin-top: 2px; }

.ch-section { padding: 64px 0; background: #f8f7f4; }
.ch-section-alt { background: #f8f7f4; }
.ch-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.ch-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #0f2b3d; margin-bottom: 12px; display: block; }
.ch-sect-title { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.ch-sect-desc { font-size: 15px; color: #4a4a4a; margin-bottom: 28px; }

@media (max-width: 768px) {
  .ch-hero { padding: 56px 0 48px; }
  .ch-hero h1 { font-size: 32px; }
  .ch-section { padding: 48px 0; }
  .ch-sect-title { font-size: 22px; }
  .ch-hero-stats { gap: 20px; }
}

/* === certificates === */
.cert-hero { background: linear-gradient(170deg, #1a3f55 0%, #1e4d6b 60%, #22576f 100%); padding: 80px 0 64px; text-align: center; position: relative; overflow: hidden; }
.cert-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #E86A2A; }
.cert-hero-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.cert-hero h1 { font-family: 'Fraunces', serif; font-size: 40px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.cert-hero p { font-size: 17px; color: #cbd5e1; line-height: 1.7; }
.cert-hero-stats { display: flex; gap: 36px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.cert-hero-stat { text-align: center; }
.cert-hero-stat-num { font-family: 'Fraunces', serif; font-size: 34px; font-weight: 800; color: #E86A2A; }
.cert-hero-stat-label { font-size: 13px; color: #94a3b8; margin-top: 2px; }

.cert-section { padding: 56px 0; }
.cert-section-alt { background: #f8f7f4; }
.cert-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.cert-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #0f2b3d; margin-bottom: 12px; display: block; }
.cert-title { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 700; color: #0f172a; margin-bottom: 14px; }
.cert-desc { font-size: 15px; color: #4a4a4a; line-height: 1.7; margin-bottom: 28px; }

.cert-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 32px; }
.cert-card { background: #ffffff; border: 1px solid #e2e2e2; border-radius: 10px; padding: 28px 24px; }
.cert-card h3 { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.cert-card p { font-size: 14px; color: #1a1612; line-height: 1.65; }

.cert-phases { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin: 32px 0; }
.cert-phase { background: #ffffff; border: 1px solid #e2e2e2; border-radius: 10px; padding: 28px 24px; text-align: center; }
.cert-phase-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #6b5d4d; margin-bottom: 8px; }
.cert-phase-name { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.cert-phase-pts { font-size: 28px; font-weight: 800; color: #E86A2A; margin-bottom: 8px; }
.cert-phase-desc { font-size: 13px; color: #4a4a4a; line-height: 1.5; }

.cert-thresholds { display: flex; gap: 20px; justify-content: center; margin: 32px 0; flex-wrap: wrap; }
.cert-threshold { background: #ffffff; border: 1px solid #e2e2e2; border-radius: 10px; padding: 20px 32px; text-align: center; min-width: 160px; }
.cert-threshold-score { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 800; color: #0f172a; }
.cert-threshold-label { font-size: 14px; font-weight: 600; color: #4a4a4a; margin-top: 4px; }

.cert-verify-box { background: #ffffff; border: 1px solid #e2e2e2; border-radius: 12px; padding: 36px 32px; margin: 32px 0; }
.cert-verify-box h3 { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 700; color: #0f172a; margin-bottom: 12px; }
.cert-verify-box p { font-size: 15px; color: #1a1612; line-height: 1.7; margin-bottom: 12px; }
.cert-verify-url { display: inline-block; background: #0f2b3d; border: 1px solid #1a3a52; border-radius: 8px; padding: 12px 20px; font-family: monospace; font-size: 15px; color: #fdba74; margin-top: 8px; }

.cert-share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.cert-share-item { background: #ffffff; border: 1px solid #e2e2e2; border-radius: 10px; padding: 24px; }
.cert-share-item h4 { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.cert-share-item p { font-size: 14px; color: #1a1612; line-height: 1.6; }

.cert-courses { margin-top: 28px; }
.cert-course-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #e2e2e2; }
.cert-course-row:first-child { border-top: 1px solid #e2e2e2; }
.cert-course-name { font-size: 15px; font-weight: 600; color: #0f172a; }
.cert-course-meta { display: flex; gap: 16px; align-items: center; }
.cert-course-cpe { font-size: 13px; color: #4a4a4a; }
.cert-course-link { font-size: 13px; color: #E86A2A; font-weight: 600; text-decoration: none; }
.cert-course-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .cert-hero { padding: 56px 0 44px; }
  .cert-hero h1 { font-size: 30px; }
  .cert-grid, .cert-phases { grid-template-columns: 1fr; }
  .cert-share-grid { grid-template-columns: 1fr; }
  .cert-course-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* === assessments === */
.as-hero { background: linear-gradient(170deg, #1a3f55 0%, #1e4d6b 60%, #22576f 100%); padding: 80px 0 64px; text-align: center; position: relative; overflow: hidden; }
.as-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #E86A2A; }
.as-hero-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.as-hero h1 { font-family: 'Fraunces', serif; font-size: 44px; font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -0.3px; }
.as-hero p { font-size: 17px; color: #cbd5e1; line-height: 1.7; }
.as-hero-stats { display: flex; gap: 32px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.as-hero-stat { text-align: center; }
.as-hero-stat-num { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 800; color: #E86A2A; }
.as-hero-stat-label { font-size: 13px; color: #94a3b8; margin-top: 2px; }
@media (max-width: 640px) { .as-hero { padding: 56px 0 48px; } .as-hero h1 { font-size: 32px; } }

.as-section { max-width: 1100px; margin: 0 auto; padding: 48px 24px; }
.as-section h2 { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 700; color: #111; margin: 0 0 8px; }
.as-section-sub { font-size: 14px; color: #4a4a4a; margin-bottom: 28px; line-height: 1.6; }

.as-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .as-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .as-cards { grid-template-columns: 1fr; } }

.as-scenario { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #1a1612; padding: 6px 10px; background: #f8f7f4; border-radius: 5px; margin-bottom: 5px; }
.as-sev { display: inline-block; padding: 2px 7px; border-radius: 3px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0; }
.as-sev-critical { background: #fef2f2; color: #dc2626; }
.as-sev-high { background: #fffbeb; color: #d97706; }
.as-card-info { font-size: 12px; color: #6b5d4d; margin-top: 12px; margin-bottom: 0; }

.as-how { background: #f8f7f4; padding: 48px 24px; }
.as-how-inner { max-width: 1100px; margin: 0 auto; }
.as-how h2 { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 700; color: #111; margin: 0 0 24px; }
.as-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.as-phase { background: #ffffff; border: 1px solid #e2e2e2; border-radius: 12px; padding: 24px; }
.as-phase-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #0f2b3d; color: #E86A2A; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.as-phase h3 { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 8px; }
.as-phase p { font-size: 13px; color: #4a4a4a; line-height: 1.6; margin: 0; }
.as-phase-pts { font-size: 12px; color: #E86A2A; font-weight: 600; margin-top: 8px; }
@media (max-width: 768px) { .as-phases { grid-template-columns: 1fr; } }

.as-diff { max-width: 1100px; margin: 0 auto; padding: 48px 24px; }
.as-diff h2 { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 700; color: #111; margin: 0 0 12px; }
.as-diff > p { font-size: 14px; color: #4a4a4a; line-height: 1.7; max-width: 700px; }
.as-diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.as-diff-item { padding: 20px; border-radius: 8px; }
.as-diff-them { background: #fef2f2; border: 1px solid #fecaca; }
.as-diff-us { background: #f0fdf4; border: 1px solid #bbf7d0; }
.as-diff-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.as-diff-them .as-diff-label { color: #dc2626; }
.as-diff-us .as-diff-label { color: #059669; }
.as-diff-item p { font-size: 13px; color: #4a4a4a; line-height: 1.6; margin: 0; }
@media (max-width: 640px) { .as-diff-grid { grid-template-columns: 1fr; } }

/* === skills === */
.sk-hero { background: linear-gradient(170deg, #1a3f55 0%, #1e4d6b 60%, #22576f 100%); padding: 80px 0 64px; text-align: center; position: relative; overflow: hidden; }
.sk-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #E86A2A; }
.sk-hero-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.sk-hero h1 { font-family: 'Fraunces', serif; font-size: 44px; font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.15; }
.sk-hero p { font-size: 17px; color: #cbd5e1; line-height: 1.7; margin-bottom: 20px; }
.sk-hero-proof { font-size: 13px; color: #94a3b8; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.sk-hero-proof strong { color: #e2e8f0; font-weight: 700; }
.sk-hero-proof-sep { color: #475569; }
@media(max-width:640px) { .sk-hero h1 { font-size: 30px; } .sk-hero-proof-sep { display: none; } }

.sk-intro { background: #f8f7f4; padding: 48px 0; border-bottom: 1px solid #e2e2e2; }
.sk-intro-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.sk-intro-card { text-align: center; }
.sk-intro-card h3 { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.sk-intro-card p { font-size: 14px; color: #4a4a4a; line-height: 1.55; }
@media(max-width:640px) { .sk-intro-inner { grid-template-columns: 1fr; gap: 20px; } }

.sk-section { padding: 56px 0; }
.sk-inner { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.sk-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #0f2b3d; margin-bottom: 12px; display: block; }
.sk-title { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.sk-sect-desc { font-size: 15px; color: #4a4a4a; line-height: 1.6; margin-bottom: 28px; }

/* Skill cards — distinct from course cards */
.sk-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
@media(max-width:900px) { .sk-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .sk-grid { grid-template-columns: 1fr; } }

.sk-card { display: block; background: #ffffff; border: 1px solid #d4cbbe; border-radius: 12px; text-decoration: none; color: inherit; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; overflow: hidden; }
.sk-card:hover { border-color: #0891b2; box-shadow: 0 10px 32px rgba(8,145,178,0.1); transform: translateY(-2px); }
.sk-card-head { background: linear-gradient(135deg, #0e7490 0%, #0891b2 50%, #06b6d4 100%); padding: 16px 24px; }
.sk-card-badges { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sk-card-badge { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; padding: 3px 8px; border-radius: 3px; background: rgba(255,255,255,0.15); color: #ecfeff; }
.sk-card-name { font-family: 'Fraunces', Georgia, serif; font-size: 19px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 4px; }
.sk-card-tools { font-size: 12px; color: #a5f3fc; }
.sk-card-body { padding: 22px 24px; }
.sk-card-cat { font-size: 11px; font-weight: 600; color: #0f2b3d; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.sk-card-meta { list-style: none; padding: 0; margin: 0 0 14px 0; }
.sk-card-meta li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4a4a4a; padding: 4px 0; }
.sk-card-meta li svg { flex-shrink: 0; width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.sk-card-meta .sk-meta-free { color: #059669; font-weight: 600; }
.sk-card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid #f8f7f4; }
.sk-card-foot .sk-btn-outline { font-size: 13px; font-weight: 600; color: #4a4a4a; border: 1px solid #e2e2e2; border-radius: 6px; padding: 8px 16px; transition: border-color 0.2s; }
.sk-card:hover .sk-btn-outline { border-color: #0891b2; color: #0891b2; }
.sk-card-foot .sk-btn-fill { font-size: 13px; font-weight: 700; color: #fff; background: #0891b2; border-radius: 6px; padding: 8px 16px; transition: background 0.2s; }
.sk-card:hover .sk-btn-fill { background: #0e7490; }

.sk-coming { margin-top: 48px; }
.sk-coming-title { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 700; color: #0f172a; margin-bottom: 16px; }
.sk-coming-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media(max-width:700px) { .sk-coming-grid { grid-template-columns: 1fr; } }
.sk-coming-card { background: #f8f7f4; border: 1px solid #e2e2e2; border-radius: 10px; padding: 18px 20px; }
.sk-coming-card h4 { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.sk-coming-card p { font-size: 13px; color: #4a4a4a; line-height: 1.5; margin: 0; }
.sk-coming-card .sk-coming-hours { font-size: 12px; color: #4a4a4a; font-weight: 600; margin-top: 6px; }

.sk-cta { background: #ffffff; border: 1px solid #e2e2e2; border-radius: 14px; padding: 48px; text-align: center; margin-top: 56px; }
.sk-cta h2 { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.sk-cta p { font-size: 15px; color: #4a4a4a; line-height: 1.6; max-width: 480px; margin: 0 auto 24px; }
.sk-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* === resources === */
.fq-noop { display: block; }
.fq-hero { background: linear-gradient(170deg, #1a3f55 0%, #1e4d6b 60%, #22576f 100%); padding: 80px 0 64px; text-align: center; position: relative; overflow: hidden; }
.fq-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: #E86A2A; }
.fq-hero-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.fq-hero h1 { font-family: 'Fraunces', serif; font-size: 44px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.fq-hero p { font-size: 17px; color: #cbd5e1; line-height: 1.7; margin-bottom: 24px; }
.fq-hero-proof { font-size: 13px; color: #94a3b8; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.fq-hero-proof strong { color: #e2e8f0; font-weight: 700; }
.fq-hero-proof-sep { color: #475569; }
.fq-hero-price { font-size: 13px; color: #cbd5e1; }
.fq-hero-price strong { color: #fff; font-weight: 700; }
.fq-hero-price a { color: #fdba74; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.fq-hero-price a:hover { color: #fff; }
@media (max-width: 640px) { .fq-hero-proof { font-size: 12px; gap: 8px; } .fq-hero-proof-sep { display: none; } }
.fq-section { padding: 72px 0; }
.fq-section-alt { background: #f8f7f4; }
.fq-inner { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
.fq-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #0f2b3d; margin-bottom: 12px; }
.fq-title { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 700; color: #0f172a; margin-bottom: 20px; }
.fq-item { border-bottom: 1px solid #e5e7eb; padding: 20px 0; }
.fq-item:first-child { border-top: 1px solid #e5e7eb; }
.fq-q { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.fq-a { font-size: 14px; color: #1a1612; line-height: 1.65; }
.fq-a a { color: #E86A2A; font-weight: 600; }

/* === vanguard === */
.tl-hero { background: linear-gradient(170deg, #1a3f55 0%, #1e4d6b 60%, #22576f 100%); padding: 80px 0 64px; }
.tl-hero-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tl-hero h1 { font-family: 'Fraunces', serif; font-size: 42px; font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -0.3px; }
.tl-hero .tl-sub { font-size: 17px; color: #cbd5e1; line-height: 1.7; margin-bottom: 24px; }
.tl-hero .tl-badge { display: inline-block; background: #059669; color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.tl-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tl-actions a { padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; transition: all 0.2s; }
.tl-btn-primary { background: #E86A2A; color: #fff; }
.tl-btn-primary:hover { background: #d45d22; }
.tl-btn-secondary { background: transparent; border: 1px solid #94a3b8; color: #e2e8f0; }
.tl-btn-secondary:hover { border-color: #E86A2A; color: #E86A2A; }

.tl-section { padding: 64px 0; background: #f8f7f4; }
.tl-section-alt { background: #f8f7f4; }
.tl-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.tl-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #0f2b3d; margin-bottom: 12px; display: block; }
.tl-sect-title { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.tl-sect-desc { font-size: 15px; color: #4a4a4a; margin-bottom: 28px; max-width: 760px; line-height: 1.7; }

.tl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.tl-card { background: #ffffff; border: 1px solid #e2e2e2; border-radius: 10px; padding: 24px; }
.tl-card h3 { font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.tl-card p { font-size: 14px; color: #4a4a4a; line-height: 1.6; margin: 0; }

.tl-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tl-tool-badge { background: #e3dacc; border: 1px solid #e2e2e2; padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; color: #1a1612; }

.tl-benefit { display: flex; gap: 20px; margin-bottom: 28px; align-items: flex-start; }
.tl-benefit-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, #1a3f55, #1e4d6b); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.tl-benefit-body h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.tl-benefit-body p { font-size: 14px; color: #4a4a4a; line-height: 1.6; margin: 0; }

.tl-step { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.tl-step-num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: #E86A2A; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.tl-step-body h3 { font-size: 15px; font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.tl-step-body p { font-size: 14px; color: #4a4a4a; line-height: 1.6; margin: 0; }
.tl-step-body code { font-family: 'Cascadia Code', Consolas, monospace; font-size: 13px; background: #e3dacc; padding: 2px 8px; border-radius: 4px; color: #0f172a; }

.tl-cta { background: linear-gradient(170deg, #1a3f55 0%, #1e4d6b 60%, #22576f 100%); padding: 64px 0; text-align: center; }
.tl-cta h2 { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.tl-cta p { font-size: 15px; color: #cbd5e1; margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.tl-cta .tl-actions { justify-content: center; }

@media (max-width: 768px) {
  .tl-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .tl-hero h1 { font-size: 32px; }
  .tl-actions { justify-content: center; }
  .tl-section { padding: 48px 0; }
  .tl-sect-title { font-size: 22px; }
  .tl-benefit { flex-direction: column; gap: 12px; }
}


/* ============================================================================
   SCROLL ENTRANCE ANIMATIONS
   ============================================================================ */

.ds-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ds-animate.ds-visible {
  opacity: 1;
  transform: translateY(0);
}
