/* ═══════════════════════════════════════════════════════════
   Health Social Care Courses — Stripe-inspired design system
   Layout language: whitespace, ink typography, precise CTAs
   Accent adapted from Stripe (#635BFF) for a premium SaaS feel
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #0a2540;
  --ink-soft: #425466;
  --muted: #697386;
  --line: #e6ebf1;
  --surface: #f6f9fc;
  --white: #ffffff;
  --accent: #635bff;
  --accent-hover: #4b45c6;
  --accent-soft: rgba(99, 91, 255, 0.08);
  --success: #00d924;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 1px rgba(18, 38, 63, 0.04), 0 2px 8px rgba(18, 38, 63, 0.06);
  --shadow-md: 0 4px 6px rgba(18, 38, 63, 0.04), 0 12px 28px rgba(18, 38, 63, 0.08);
  --shadow-lg: 0 20px 40px rgba(18, 38, 63, 0.12);
  --font-display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body) !important;
  color: var(--ink) !important;
  background: var(--white) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

h1, h2, h3, h4, h5, h6,
.font-bold, .font-semibold {
  font-family: var(--font-display) !important;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

/* ── Utility shell ─────────────────────────────────────── */
.stripe-shell { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* ── Unified site header (homepage + inner pages) ──────── */
.stripe-site-header {
  position: relative;
  z-index: 5;
  background: transparent;
  border-bottom: 0;
}
.stripe-site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.stripe-site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.stripe-site-header .brand img {
  height: 80px;
  width: auto;
  max-width: min(360px, 70vw);
  flex-shrink: 0;
  object-fit: contain;
}
/* Full wordmark logo — hide duplicate text label */
.stripe-site-header .brand-name {
  display: none;
}
.stripe-site-header nav.primary {
  display: none;
  align-items: center;
  gap: 1.15rem;
}
.stripe-site-header nav.primary a {
  font-size: 0.999rem !important;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.stripe-site-header nav.primary a:hover { color: var(--ink); }
.stripe-site-header .nav-cta {
  display: inline-flex !important;
  align-items: center;
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.5rem 0.95rem;
  border-radius: 6px;
  font-size: 0.999rem !important;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.3);
}
.stripe-site-header .nav-cta:hover {
  background: var(--accent-hover) !important;
  color: #fff !important;
}

.stripe-mobile-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 1.5rem 1rem;
}
.stripe-mobile-nav a {
  font-size: 0.999rem !important;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
}

@media (min-width: 960px) {
  .stripe-site-header nav.primary { display: flex; }
  .stripe-mobile-nav { display: none !important; }
}

/* Inner pages: header flows into the page (not a detached top bar) */
.stripe-site-header--page {
  background:
    radial-gradient(ellipse 80% 100% at 12% -40%, rgba(99, 91, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 80% at 95% -30%, rgba(0, 212, 255, 0.06), transparent 50%),
    #ffffff;
  border-bottom: 0;
}
.stripe-site-header--page .inner {
  padding-top: 0.85rem;
  padding-bottom: 0.65rem;
}
.stripe-site-header--page .stripe-mobile-nav {
  padding-bottom: 0.65rem;
}
.stripe-site-header--page .stripe-mobile-nav a {
  background: var(--surface);
}

/* ── Breadcrumbs: readable + aligned with page content ── */
nav.breadcrumb,
nav[aria-label="Breadcrumb"] {
  background: transparent !important;
  border-bottom: 0 !important;
  font-size: 0.925rem !important;
  line-height: 1.45 !important;
  color: var(--muted) !important;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}
nav.breadcrumb ol,
nav[aria-label="Breadcrumb"] ol {
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.15rem 0 !important;
  width: 100%;
  max-width: 80rem; /* match Tailwind container / course content */
  margin: 0 auto !important;
  padding: 1rem 1.5rem 0.85rem !important;
  box-sizing: border-box;
}
nav.breadcrumb li,
nav[aria-label="Breadcrumb"] li {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.925rem !important;
  color: var(--ink-soft) !important;
  font-weight: 500;
}
nav.breadcrumb li:not(:first-child)::before,
nav[aria-label="Breadcrumb"] li:not(:first-child)::before {
  content: "/" !important;
  color: #a0aec0 !important;
  margin: 0 0.55rem !important;
  font-weight: 400 !important;
  font-size: 0.85rem !important;
}
nav.breadcrumb a,
nav[aria-label="Breadcrumb"] a {
  color: var(--ink-soft) !important;
  text-decoration: none !important;
  font-weight: 500;
}
nav.breadcrumb a:hover,
nav[aria-label="Breadcrumb"] a:hover {
  color: var(--accent) !important;
}
nav.breadcrumb li[aria-current="page"],
nav[aria-label="Breadcrumb"] li[aria-current="page"] {
  color: var(--ink) !important;
  font-weight: 600 !important;
}

/* Breadcrumb sits in the course hero canvas */
.stripe-site-header--page + nav.breadcrumb,
.stripe-site-header--page + nav[aria-label="Breadcrumb"] {
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(99, 91, 255, 0.05), transparent 55%),
    var(--surface) !important;
  border-bottom: 0 !important;
}
.stripe-site-header--page + nav.breadcrumb ol,
.stripe-site-header--page + nav[aria-label="Breadcrumb"] ol {
  padding-top: 0.85rem !important;
  padding-bottom: 0.35rem !important;
}

/* ── Course hero: one clean intro band ─────────────────── */
.stripe-site-header--page + nav.breadcrumb + .bg-stone-100,
.stripe-site-header--page + nav[aria-label="Breadcrumb"] + .bg-stone-100,
.stripe-site-header--page + nav.breadcrumb + .bg-stone-100.py-8,
.stripe-site-header--page + nav[aria-label="Breadcrumb"] + .bg-stone-100.py-8 {
  background:
    radial-gradient(ellipse 70% 55% at 90% 0%, rgba(99, 91, 255, 0.05), transparent 55%),
    var(--surface) !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--line);
  padding-top: 0.25rem !important;
  padding-bottom: 2.75rem !important;
}

/* Hero title */
.bg-stone-100.py-8 h1 {
  font-family: var(--font-display) !important;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.18 !important;
  color: var(--ink) !important;
  margin-top: 0.15rem !important;
  margin-bottom: 1rem !important;
}
.bg-stone-100.py-8 > .container > .flex > .flex-1 > p.text-gray-600,
.bg-stone-100.py-8 .flex-1 > p.text-gray-600.mb-4 {
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  color: var(--ink-soft) !important;
  max-width: 40rem;
  margin-bottom: 1rem !important;
}
.bg-stone-100.py-8 .text-sm.text-gray-500 {
  color: var(--muted) !important;
}

/* What you'll learn */
.bg-stone-100.py-8 h3.text-lg {
  font-family: var(--font-display) !important;
  font-size: 1.05rem !important;
  color: var(--ink) !important;
  margin-bottom: 0.85rem !important;
}
.bg-stone-100.py-8 .text-blue-600 {
  color: var(--accent) !important;
}
.bg-stone-100.py-8 .grid .text-sm.text-gray-700 {
  color: var(--ink-soft) !important;
  line-height: 1.45 !important;
}

/* Stats chips — lighter, more premium */
.bg-stone-100.py-8 .grid.grid-cols-2 > div.bg-white.border,
.bg-stone-100.py-8 .grid > div.bg-white.border.border-gray-300 {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 0.85rem 0.65rem !important;
}
.bg-stone-100.py-8 .grid > div.bg-white.border .block.text-sm {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  font-family: var(--font-display);
}
.bg-stone-100.py-8 .grid > div.bg-white.border .text-xs {
  color: var(--muted) !important;
  margin-top: 0.2rem !important;
}

/* Accreditation strip */
.bg-stone-100.py-8 .bg-cyan-50 {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  box-shadow: var(--shadow-sm) !important;
}
.bg-stone-100.py-8 .bg-cyan-50 .text-cyan-600,
.bg-stone-100.py-8 .bg-cyan-50 svg.text-cyan-600 {
  color: var(--accent) !important;
}
.bg-stone-100.py-8 .bg-cyan-50 .rounded-full.bg-white {
  background: var(--accent-soft) !important;
}

/* Urgency — quieter */
.bg-stone-100.py-8 .bg-amber-50 {
  background: rgba(245, 158, 11, 0.08) !important;
  border-color: rgba(245, 158, 11, 0.25) !important;
  border-radius: 6px !important;
}

/* Primary CTA in hero */
.bg-stone-100.py-8 a.bg-cyan-600 {
  border-radius: 6px !important;
  padding: 0.85rem 1.35rem !important;
  font-size: 0.95rem !important;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.28) !important;
}

/* Right rail / units panel */
.bg-stone-100.py-8 .hidden.lg\:flex.lg\:w-1\/3,
.bg-stone-100.py-8 .lg\:w-1\/3.bg-gray-50 {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow-md) !important;
  padding: 1.35rem 1.25rem !important;
}
.bg-stone-100.py-8 .lg\:w-1\/3 h3 {
  font-family: var(--font-display) !important;
  color: var(--ink) !important;
  font-size: 0.95rem !important;
}
.bg-stone-100.py-8 .lg\:w-1\/3 a.text-cyan-600 {
  color: var(--accent) !important;
}
.bg-stone-100.py-8 .lg\:w-1\/3 hr {
  border-color: var(--line) !important;
  margin-top: 1rem !important;
}

/* Mobile fee card */
.bg-stone-100.py-8 .lg\:hidden.bg-white {
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow-md) !important;
}
.bg-stone-100.py-8 .lg\:hidden .text-cyan-600 {
  color: var(--accent) !important;
}
.bg-stone-100.py-8 .lg\:hidden .bg-cyan-50 {
  background: var(--accent-soft) !important;
  color: var(--accent) !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Listing pages: first section after breadcrumb — soft intro, not a floating card */
.stripe-site-header--page + nav.breadcrumb + section.bg-white.shadow-md,
.stripe-site-header--page + nav[aria-label="Breadcrumb"] + section.bg-white.shadow-md,
.stripe-site-header--page + nav.breadcrumb + section.shadow-md,
.stripe-site-header--page + nav[aria-label="Breadcrumb"] + section.shadow-md {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background:
    linear-gradient(180deg, var(--surface) 0%, #ffffff 55%) !important;
  border-bottom: 1px solid var(--line) !important;
  margin-top: 0 !important;
}

/* About / simple pages: breadcrumb on white, then main */
.stripe-site-header--page + nav.breadcrumb:has(+ main),
.stripe-site-header--page + nav[aria-label="Breadcrumb"]:has(+ main),
.stripe-site-header--page + nav.breadcrumb:has(+ section),
.stripe-site-header--page + nav[aria-label="Breadcrumb"]:has(+ section:not(.bg-stone-100)) {
  background: #ffffff !important;
}
.stripe-site-header--page + nav.breadcrumb + main,
.stripe-site-header--page + nav[aria-label="Breadcrumb"] + main {
  padding-top: 0.75rem !important;
}

/* Homepage: header lives inside hero — one continuous canvas */
.stripe-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(99, 91, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(0, 212, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(99, 91, 255, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  padding: 0 0 4rem;
}
.stripe-hero .stripe-site-header {
  background: transparent;
  border-bottom: 1px solid rgba(230, 235, 241, 0.65);
}
.stripe-hero .stripe-mobile-nav a {
  background: rgba(255,255,255,0.65);
}
.stripe-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.stripe-hero > .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 1.5rem 0;
  position: relative;
  z-index: 1;
}

/* Hide legacy utility bars / duplicate logo-nav once unified header is present */
body:has(.stripe-site-header) > header.bg-neutral-200 {
  display: none !important;
}
.stripe-legacy-nav-hide {
  display: none !important;
}

/* Legacy topnav alias → same as site header */
.stripe-topnav { display: none !important; }

/* Primary CTAs (cyan → Stripe accent) */
.bg-cyan-600,
a.bg-cyan-600,
button.bg-cyan-600,
.bg-cyan-700,
a.bg-gray-700 {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.35);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.bg-cyan-600:hover,
a.bg-cyan-600:hover,
button.bg-cyan-600:hover,
.hover\:bg-cyan-700:hover,
a.bg-gray-700:hover,
.bg-gray-700:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(99, 91, 255, 0.4);
}

.text-cyan-600, .text-cyan-700, .hover\:text-cyan-700:hover,
a.text-cyan-600, a.text-cyan-700 {
  color: var(--accent) !important;
}
.hover\:underline:hover { text-decoration-color: var(--accent); }

.from-cyan-600, .to-cyan-700,
.bg-gradient-to-r.from-cyan-600 {
  background: linear-gradient(135deg, #635bff 0%, #0a2540 100%) !important;
}

.focus\:ring-cyan-600:focus,
.focus\:ring-2:focus {
  --tw-ring-color: rgba(99, 91, 255, 0.45) !important;
}

/* ── Stripe homepage hero content ──────────────────────── */
.stripe-hero .eyebrow {  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(99, 91, 255, 0.15);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1.25rem;
}
.stripe-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin: 0 0 1.1rem;
}
.stripe-hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 0 1.75rem;
  line-height: 1.55;
}
.stripe-hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.stripe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all .15s ease;
}
.stripe-btn-primary {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.35);
}
.stripe-btn-primary:hover {
  background: var(--accent-hover);
  color: #fff !important;
  transform: translateY(-1px);
}
.stripe-btn-ghost {
  background: var(--white);
  color: var(--ink) !important;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.stripe-btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink) !important;
}
.stripe-search {
  display: flex;
  max-width: 32rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stripe-search input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
}
.stripe-search button {
  border: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  padding: 0 1.35rem;
  cursor: pointer;
  font-family: var(--font-display);
}
.stripe-search button:hover { background: var(--accent); }

.stripe-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(230, 235, 241, 0.9);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.stripe-trust strong { color: var(--ink); font-weight: 700; }

/* ── Section rhythm ────────────────────────────────────── */
.stripe-section {
  padding: 4.5rem 0;
  background: var(--white);
}
.stripe-section.alt {
  position: relative;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(99, 91, 255, 0.06), transparent 55%),
    var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stripe-section .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.stripe-section .section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}
.stripe-section .section-kicker {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-display);
}
.stripe-section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stripe-section .section-lede {
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Course list as clean Stripe rows */
.stripe-course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .stripe-course-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.stripe-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.stripe-section.alt .stripe-panel {
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 37, 64, 0.08);
}
.stripe-section.alt .stripe-panel:hover {
  border-color: rgba(99, 91, 255, 0.28);
  box-shadow: 0 8px 24px rgba(18, 38, 63, 0.1);
}
.stripe-panel h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  padding: 1.1rem 1.35rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.stripe-panel h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}
.stripe-panel ul {
  list-style: none !important;
  padding: 0.35rem 0.5rem !important;
  margin: 0 !important;
}
.stripe-panel ul.hidden,
.stripe-panel ul#diploma-more,
.stripe-panel ul#hc-more {
  padding-top: 0 !important;
}
.stripe-panel li {
  padding: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  margin: 0 0.5rem !important;
  list-style: none !important;
  border-radius: 0;
}
.stripe-panel li:last-child { border-bottom: 0 !important; }
.stripe-panel li a {
  display: block;
  padding: 0.8rem 0.85rem 0.15rem;
  border-radius: 0;
  color: var(--ink) !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.35;
  transition: color 0.15s ease;
  background: transparent !important;
}
.stripe-panel li a:hover {
  color: var(--accent) !important;
  background: transparent !important;
}
.stripe-panel li p,
.stripe-panel .meta,
.stripe-panel li .text-xs {
  display: block;
  color: var(--muted) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
  padding: 0.15rem 0.85rem 0.8rem !important;
  line-height: 1.35;
  border-bottom: 0 !important;
}
.stripe-panel li:hover {
  background: var(--accent-soft);
  border-radius: 8px;
  border-bottom-color: transparent !important;
}
.stripe-panel .view-all {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0.95rem 1.35rem 1.15rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent) !important;
  text-decoration: none;
  border-top: 1px solid var(--line);
  background: #fafbfc;
  transition: background 0.15s ease, color 0.15s ease;
}
.stripe-panel .view-all:hover {
  background: var(--accent-soft);
  color: var(--accent-hover) !important;
}

/* Homepage Insights (merged articles / blog / news) */
.insights-band {
  background: var(--white);
  border-top: 1px solid var(--line);
}
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  max-width: none;
  margin-bottom: 1.75rem;
}
.section-head--row .section-lede { margin-top: 0.35rem; }
.insights-all {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent) !important;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.insights-all:hover { color: var(--accent-hover) !important; }
.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .insights-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .insights-grid { grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
}
.insight-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.2rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  min-height: 100%;
}
.insight-card:hover {
  border-color: rgba(99, 91, 255, 0.35);
  background: #fff;
  transform: translateY(-2px);
}
.insight-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-display);
}
.insight-card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.insight-card:hover h3 { color: var(--accent); }
.insight-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.insights-more {
  margin: 1.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.insights-more a {
  color: var(--ink-soft) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.insights-more a:hover { color: var(--accent) !important; }

/* Course pages — compact related reading (replaces 4 heavy grids) */
.related-reading {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.35rem 1.25rem 1.2rem;
  margin-bottom: 1.5rem;
}
.related-reading-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.15rem;
}
.related-reading-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-display);
}
.related-reading-head h2 {
  margin: 0 !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
  border: 0 !important;
  padding: 0 !important;
  font-family: var(--font-display);
}
.related-reading-all {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.related-reading-all:hover { color: var(--accent-hover) !important; }
.related-reading-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .related-reading-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .related-reading-grid { grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
}
.related-reading-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0.95rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  color: inherit;
  min-height: 100%;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.related-reading-card:hover {
  background: #fff;
  border-color: rgba(99, 91, 255, 0.35);
  transform: translateY(-2px);
}
.related-reading-type {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-display);
}
.related-reading-card h3 {
  margin: 0 !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: var(--ink) !important;
  letter-spacing: -0.01em;
}
.related-reading-card:hover h3 { color: var(--accent) !important; }
.related-reading-card p {
  margin: 0 !important;
  font-size: 0.8rem !important;
  line-height: 1.45 !important;
  color: var(--ink-soft) !important;
}
.related-reading-more {
  margin: 1rem 0 0 !important;
  font-size: 0.82rem !important;
  color: var(--muted) !important;
}
.related-reading-more a {
  color: var(--ink-soft) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.related-reading-more a:hover { color: var(--accent) !important; }

/* Soften grey page bands (non-hero) */
.bg-gray-50, .bg-gray-100 {
  background: var(--surface) !important;
}
.bg-white.shadow-md,
.shadow-md {
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-sm) !important;
  border-radius: var(--radius) !important;
}

/* Legacy cyan lead magnet (non-homepage pages, if any) */
section.bg-cyan-700 {
  background:
    radial-gradient(ellipse 70% 80% at 10% 0%, rgba(255,255,255,0.12), transparent 50%),
    linear-gradient(135deg, #0a2540 0%, #635bff 100%) !important;
}
section.bg-cyan-700 h2 { color: #fff !important; }
section.bg-cyan-700 p { color: rgba(255,255,255,0.85) !important; }
section.bg-cyan-700 form {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* Footer → Stripe dark ink */
footer.bg-gray-700,
footer {
  background: var(--ink) !important;
  color: rgba(255, 255, 255, 0.72) !important;
  border-top: 0 !important;
  padding-top: 3.5rem !important;
  padding-bottom: 2.5rem !important;
}
footer a { color: rgba(255, 255, 255, 0.85) !important; }
footer a:hover { color: #fff !important; }
footer h4, footer .font-bold, footer .font-semibold {
  color: #fff !important;
  letter-spacing: -0.01em;
}
footer .border-cyan-600 { border-color: var(--accent) !important; }
footer .border-gray-500, footer .border-t {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Sticky mobile CTA */
.fixed.bottom-0.bg-white {
  border-top: 1px solid var(--line) !important;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92) !important;
}

/* Forms */
input, select, textarea {
  border-color: var(--line) !important;
  border-radius: var(--radius-sm) !important;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15) !important;
  outline: none !important;
}

/* Reduce giant logos */
img.h-24 { height: 2.75rem !important; width: auto; }
img.h-20 { height: 2.5rem !important; width: auto; }
footer img.h-14 {
  height: 50px !important;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  opacity: 1;
}

/* Course page hero fallback (when not after header+breadcrumb) */
.bg-stone-100.py-8 {
  background: var(--surface) !important;
  border-bottom: 1px solid var(--line);
}

/* Animation */
@keyframes stripe-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.stripe-hero .inner > * {
  animation: stripe-fade-up 0.6s ease both;
}
.stripe-hero .inner > *:nth-child(2) { animation-delay: 0.06s; }
.stripe-hero .inner > *:nth-child(3) { animation-delay: 0.12s; }
.stripe-hero .inner > *:nth-child(4) { animation-delay: 0.18s; }
.stripe-hero .inner > *:nth-child(5) { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .stripe-hero .inner > * { animation: none; }
  .bg-cyan-600:hover, a.bg-cyan-600:hover { transform: none; }
}


/* Minimal corner radius sitewide (no pills) */
:root { --radius-btn: 6px; }
.rounded-full,
.rounded-md,
.rounded-lg,
.rounded,
button,
a.bg-cyan-600,
a.bg-gray-700,
.stripe-btn,
.stripe-search,
.stripe-search input,
.stripe-search button,
.stripe-site-header .nav-cta,
.stripe-mobile-nav a,
.stripe-hero .eyebrow {
  border-radius: 6px !important;
}
.stripe-search {
  overflow: hidden;
}
.stripe-search input {
  border-radius: 6px 0 0 6px !important;
}
.stripe-search button {
  border-radius: 0 6px 6px 0 !important;
}

/* Lead magnet — minimal form */
.guide-band {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 3.5rem 0;
}
.guide-band .wrap {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.guide-band h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  line-height: 1.25;
  margin: 0 0 1.25rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 700;
}
.guide-form {
  text-align: left;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.guide-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: end;
}
@media (min-width: 720px) {
  .guide-fields {
    grid-template-columns: 1fr 1.15fr 0.9fr auto;
    gap: 0.65rem;
  }
}
.guide-form .field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}
.guide-form input,
.guide-form select {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.guide-form input:focus,
.guide-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}
.guide-form input::placeholder {
  color: #a0aec0;
}
.guide-form button[type="submit"] {
  width: 100%;
  height: 2.75rem;
  padding: 0 1.25rem;
  white-space: nowrap;
  background: var(--ink) !important;
  color: #fff !important;
  border: 0;
  border-radius: 6px !important;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-display);
  cursor: pointer;
  box-shadow: none !important;
  transition: background 0.15s ease;
}
@media (min-width: 720px) {
  .guide-form button[type="submit"] { width: auto; min-width: 8.5rem; }
}
.guide-form button[type="submit"]:hover {
  background: var(--accent) !important;
  transform: none;
}
.guide-msg {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}
.guide-msg.text-green-700 { color: #0d7a4f; }
.guide-msg.text-red-600 { color: #c53030; }
