/* =========================================================
   HILL TRIBE SOLUTIONS — DESIGN TOKENS
   Color + typography vars used across slides, web, and apps.
   ========================================================= */

/* ---------- FONTS ---------------------------------------- */
/* Manrope — body / UI text. Plus Jakarta Sans — display.   */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  /* ===========================================
     COLOR — BRAND
     =========================================== */
  --ht-purple: #6b3ec4;          /* Primary brand purple */
  --ht-purple-600: #6343d4;      /* Default purple in product */
  --ht-purple-500: #7a52f6;      /* Lighter, used for hero gradient */
  --ht-purple-700: #6e2df5;      /* Deeper purple, hero gradient start */
  --ht-purple-100: #f3f0ff;      /* Pale purple backgrounds */
  --ht-purple-50:  #fcf7ff;      /* Tint */

  --ht-cyan: #40c4f0;            /* Accent cyan/teal */
  --ht-cyan-700: #00668b;        /* Deep teal, used in gradients/text */
  --ht-cyan-100: rgba(64, 196, 240, 0.1);
  --ht-cyan-200: rgba(64, 196, 240, 0.2);

  --ht-blue: #4c84e8;            /* Trust-bar / stat / CTA accent */
  --ht-blue-soft: #4a89f6;

  /* ===========================================
     COLOR — NEUTRALS  (slate scale)
     =========================================== */
  --ht-ink: #212121;             /* Hill Tribe brand dark */
  --ht-ink-deep: #020617;        /* Footer dark */
  --ht-ink-2:  #0f172a;          /* Footer divider */
  --ht-ink-3:  #2d333b;          /* Primary text on light */
  --ht-ink-4:  #333333;
  --ht-ink-5:  #4f4f4f;
  --ht-ink-6:  #5a5f68;          /* Body text */
  --ht-ink-7:  #475569;
  --ht-ink-8:  #828282;          /* Muted */
  --ht-ink-9:  #94a3b8;          /* Footer body */
  --ht-ink-10: #adb2bc;          /* Borders, faint icons */
  --ht-ink-11: #64748b;

  --ht-line:    #ebeef6;         /* Hairline border */
  --ht-surface: #f1f3fa;         /* Light section background */
  --ht-surface-2: #f8f9ff;       /* Page background */
  --ht-surface-3: #fafafa;
  --ht-tint:    #fcf7ff;         /* Purple tint section */
  --ht-white:   #ffffff;

  /* ===========================================
     SEMANTIC FOREGROUND
     =========================================== */
  --fg-1: var(--ht-ink-3);       /* Primary text */
  --fg-2: var(--ht-ink-6);       /* Secondary text */
  --fg-3: var(--ht-ink-8);       /* Tertiary / captions */
  --fg-muted: var(--ht-ink-9);
  --fg-on-dark: #ffffff;
  --fg-on-purple: var(--ht-tint);

  /* ===========================================
     SEMANTIC BACKGROUNDS
     =========================================== */
  --bg-app:     #ffffff;
  --bg-section: var(--ht-surface);
  --bg-section-tinted: var(--ht-tint);
  --bg-card:    #ffffff;
  --bg-dark:    var(--ht-ink-deep);

  /* ===========================================
     BRAND GRADIENTS
     =========================================== */
  --grad-hero: linear-gradient(180deg, #6e2df5 0%, #7a52f6 100%);
  --grad-progress: linear-gradient(90deg, #6343d4 0%, #00668b 100%);
  --grad-cta: linear-gradient(180deg, #6e2df5 0%, #7a52f6 100%);

  /* ===========================================
     SHADOWS / ELEVATION
     =========================================== */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 2px 0 rgba(45, 51, 59, 0.04);
  --shadow-md: 0 4px 6px -4px rgba(99, 67, 212, 0.2), 0 10px 15px -3px rgba(99, 67, 212, 0.2);
  --shadow-lg: 0 8px 10px -6px rgba(0, 0, 0, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-nav: 0 12px 32px 0 rgba(45, 51, 59, 0.06);

  /* ===========================================
     RADII
     =========================================== */
  --radius-xs: 2px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 48px;
  --radius-pill: 9999px;

  /* ===========================================
     SPACING
     =========================================== */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;
  --space-10: 96px;

  /* ===========================================
     TYPOGRAPHY — base families
     =========================================== */
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui:      "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- TYPOGRAPHY UTILITIES -------------------------- */

.ht-h1, h1.ht {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 72px;
  line-height: 72px;
  letter-spacing: -1.8px;
  color: var(--fg-1);
}
.ht-h2, h2.ht {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 60px;
  line-height: 60px;
  letter-spacing: -0.5px;
  color: var(--fg-1);
}
.ht-h3, h3.ht {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  color: var(--fg-1);
}
.ht-h4, h4.ht {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: var(--fg-1);
}
.ht-h5, h5.ht {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: var(--fg-1);
}
.ht-h6, h6.ht {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: var(--fg-1);
}

.ht-lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  color: var(--fg-2);
}
.ht-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: var(--fg-2);
}
.ht-body-sm {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: var(--fg-2);
}
.ht-caption {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--fg-2);
}
.ht-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ht-purple-500);
}
.ht-overline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  line-height: 16.5px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--fg-2);
}
.ht-stat {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--ht-blue);
}
.ht-mono {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  color: var(--fg-1);
}

/* ---------- BASE RESET (optional, scope with .ht-page) --- */
.ht-page {
  font-family: var(--font-body);
  color: var(--fg-1);
  background: var(--bg-app);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ht-page * { box-sizing: border-box; }
