/* ═══════════════════════════════════════════════
   Timelines Global — Unified Stylesheet
   Brand: Deep Indigo (#4A3A6B) + Teal (#0D9BA3)
   Fonts: Outfit (headings) + Inter (body)
   ═══════════════════════════════════════════════ */

/* ── 1. Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Primary — Deep Indigo */
  --primary: #4A3A6B;
  --primary-light: #7B68A6;
  --primary-pale: #EDE8F5;
  --primary-deep: #3A2C55;

  /* Accent — Teal */
  --accent: #0D9BA3;
  --accent-dark: #087A80;
  --accent-light: #5FD4D9;
  --accent-surface: #E4F8F9;
  --accent-lightest: #F4FEFF;

  /* CTA — Orange */
  --cta: #F26B3A;
  --cta-dark: #D85A2E;

  /* Neutrals */
  --black: #09090B;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;

  /* Semantic */
  --success: #22C55E;
  --whatsapp: #25D366;
  --star-gold: #FACC15;

  /* Gradients */
  --gradient: linear-gradient(135deg, #7B68A6 0%, #4A3A6B 100%);
  --gradient-accent: linear-gradient(135deg, #5FD4D9 0%, #0D9BA3 100%);
  --gradient-hero: linear-gradient(135deg, #F4FEFF 0%, #E4F8F9 50%, #F4FEFF 100%);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --max-w: 1200px;
  --transition: all 0.2s ease;

  /* Typography */
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* ── Backwards-compatible aliases (used by 81 pages' inline utility classes) ── */
  --purple: var(--primary);
  --purple-deep: var(--primary-deep);
  --purple-mid: #66588D;
  --purple-light: var(--primary-light);
  --purple-accent: #5F4A89;
  --teal: var(--accent);
  --teal-dark: var(--accent-dark);
  --teal-light: #6EC1E4;
  --teal-pale: #86E1E6;
  --teal-bg: #B5EDEF;
  --teal-surface: var(--accent-surface);
  --teal-lightest: var(--accent-lightest);
  --green: #61CE70;
  --green-wa: var(--whatsapp);

  --color-primary-purple: var(--primary);
  --color-primary-purple-dark: var(--primary-deep);
  --color-accent-teal: var(--accent);
  --color-accent-teal-light: var(--accent-light);
  --color-accent-teal-dark: var(--accent-dark);
  --color-accent-orange: var(--cta);
  --color-surface-light: #f8ebe6;
  --color-surface-border: #ebebf1;
  --color-text-dark: var(--black);
  --color-text-body: #18181b;
  --color-text-muted: #71717a;
  --color-star-gold: var(--star-gold);
  --color-green: var(--success);
  --font-heading-compat: var(--font-heading);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--black); line-height: 1.6; background: var(--white); overflow-x: hidden; padding-top: 72px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; color: var(--gray-900); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
p { color: var(--gray-600); font-size: 1rem; line-height: 1.7; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── 2. Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--gray { background: var(--gray-100); }
.section--teal { background: var(--accent-lightest); }
.section--purple { background: var(--gradient); color: var(--white); }
.section--purple h2, .section--purple h3, .section--purple p { color: var(--white); }
.section--purple p { opacity: 0.9; }
.text-center { text-align: center; }
.text-purple { color: var(--primary); }
.text-teal { color: var(--accent); }
.subtitle { font-size: 1.125rem; color: var(--gray-500); max-width: 640px; margin: 12px auto 0; }
.section-header { margin-bottom: 48px; }
.badge { display: inline-block; padding: 6px 16px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 16px; }
.badge--teal { background: var(--accent-surface); color: var(--accent-dark); }
.badge--purple { background: var(--primary-pale); color: var(--primary); }
.badge--green { background: #E8F9EA; color: #1A7A2B; }

/* ── 3. Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-full); font-family: var(--font-heading); font-weight: 600; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: var(--transition); text-decoration: none; }
.btn--primary { background: var(--gradient); color: var(--white); border-color: transparent; }
.btn--primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--shadow); color: var(--white); }
.btn--secondary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--secondary:hover { background: var(--primary); color: var(--white); }
.btn--cta { background: var(--cta); color: var(--white); border-color: transparent; }
.btn--cta:hover { background: var(--cta-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--teal { background: var(--accent); color: var(--white); }
.btn--teal:hover { background: var(--accent-dark); color: var(--white); }
.btn--white { background: var(--white); color: var(--primary); }
.btn--white:hover { background: var(--gray-100); color: var(--primary); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── 4. Navigation ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-200); transition: var(--transition); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link { font-family: var(--font-heading); font-weight: 500; font-size: 0.95rem; color: var(--gray-700); position: relative; }
.nav__link:hover { color: var(--primary); }
.nav__link a { color: inherit; }
.nav__link--has-dropdown > a::after { content: ''; display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; margin-left: 4px; vertical-align: middle; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--black); margin: 5px 0; transition: var(--transition); }

/* Active nav highlighting */
body[data-nav="Integrations"] .nav__link--integrations > a,
body[data-nav="Solutions"] .nav__link--solutions > a,
body[data-nav="Resources"] .nav__link--resources > a,
body[data-nav="Pricing"] .nav__link--pricing > a { color: var(--primary); font-weight: 600; }

/* ── 5. Dropdown ── */
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px; min-width: 600px; opacity: 0; visibility: hidden; transition: var(--transition); pointer-events: none; }
.nav__link:hover .dropdown, .nav__link.dropdown-open .dropdown { opacity: 1; visibility: visible; pointer-events: auto; }
.dropdown__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.dropdown__item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 8px; transition: var(--transition); color: inherit; }
.dropdown__item:hover { background: var(--accent-lightest); }
.dropdown__item-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--accent-surface); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dropdown__item-icon img { width: 24px; height: 24px; }
.dropdown__item-text h4 { font-size: 0.9rem; font-weight: 600; color: var(--gray-900); margin-bottom: 2px; }
.dropdown__item-text p { font-size: 0.8rem; color: var(--gray-500); line-height: 1.4; }

/* ── 6. Hero ── */
.hero { padding: 140px 0 80px; background: var(--gradient-hero); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(95,212,217,0.15) 0%, transparent 70%); }
.hero__content { max-width: 680px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero__content h1 { margin-bottom: 20px; }
.hero__content h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__content p { font-size: 1.2rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero__logos { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 48px; opacity: 0.6; }
.hero__logos img { height: 28px; width: auto; filter: grayscale(100%); transition: var(--transition); }
.hero__logos img:hover { filter: grayscale(0); opacity: 1; }

/* ── 7. Grid ── */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2-1 { grid-template-columns: 2fr 1fr; }
.grid--1-2 { grid-template-columns: 1fr 2fr; }
.grid--1-1 { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* ── 8. Cards ── */
.card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); transition: var(--transition); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card__icon--purple { background: var(--primary-pale); }
.card__icon--teal { background: var(--accent-surface); }
.card__icon img, .card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.card p { font-size: 0.95rem; }

/* ── 9. Feature ── */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature--reverse { direction: rtl; }
.feature--reverse > * { direction: ltr; }
.feature__image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.feature__image img { width: 100%; }
.feature__content h2 { margin-bottom: 16px; }
.feature__content p { margin-bottom: 24px; }
.feature__list { margin-bottom: 24px; }
.feature__list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; color: var(--gray-600); }
.feature__list li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* ── 10. Pricing ── */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 40px; font-family: var(--font-heading); font-weight: 500; }
.pricing-toggle__switch { width: 52px; height: 28px; background: var(--gray-300); border-radius: 14px; position: relative; cursor: pointer; transition: var(--transition); }
.pricing-toggle__switch.active { background: var(--primary); }
.pricing-toggle__switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; background: var(--white); border-radius: 50%; transition: var(--transition); }
.pricing-toggle__switch.active::after { left: 27px; }
.pricing-toggle__save { background: var(--success); color: var(--white); padding: 2px 10px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; }

.pricing-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px; border: 2px solid var(--gray-200); transition: var(--transition); position: relative; }
.pricing-card--popular { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.pricing-card--popular::before { content: 'Most Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: var(--white); padding: 4px 20px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600; font-family: var(--font-heading); }
.pricing-card__name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.pricing-card__price { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.pricing-card__price span { font-size: 1rem; font-weight: 400; color: var(--gray-500); }
.pricing-card__desc { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--gray-200); }
.pricing-card__features { margin-bottom: 28px; }
.pricing-card__features li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; font-size: 0.9rem; color: var(--gray-600); }
.pricing-card__features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ── 11. Compare table ── */
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compare-table thead th { background: var(--primary); color: var(--white); padding: 14px 16px; text-align: left; font-family: var(--font-heading); font-weight: 600; }
.compare-table thead th:first-child { border-radius: var(--radius) 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 var(--radius) 0 0; }
.compare-table tbody td { padding: 12px 16px; border-bottom: 1px solid var(--gray-200); }
.compare-table tbody tr:hover { background: var(--accent-lightest); }
.compare-table .check { color: var(--success); font-weight: 700; }
.compare-table .cross { color: var(--gray-400); }
.compare-table .cat-row td { background: var(--gray-100); font-weight: 600; color: var(--gray-900); font-family: var(--font-heading); }

/* ── 12. FAQ ── */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--gray-200); }
.faq__question { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; color: var(--gray-900); background: none; border: none; width: 100%; text-align: left; }
.faq__question::after { content: '+'; font-size: 1.5rem; color: var(--primary); transition: var(--transition); flex-shrink: 0; margin-left: 16px; }
.faq__item.active .faq__question::after { content: '−'; }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__answer p { padding: 0 0 20px; color: var(--gray-600); }

/* ── 13. Testimonials ── */
.testimonial { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--gray-200); }
.testimonial__stars { color: var(--star-gold); font-size: 1rem; margin-bottom: 12px; }
.testimonial__text { font-style: italic; font-size: 0.95rem; color: var(--gray-600); margin-bottom: 16px; line-height: 1.6; }
.testimonial__author { font-weight: 600; font-size: 0.9rem; color: var(--gray-900); }
.testimonial__role { font-size: 0.8rem; color: var(--gray-500); }

/* ── 14. Stats ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--primary); }
.stat__label { font-size: 0.95rem; color: var(--gray-500); margin-top: 4px; }

/* ── 15. CTA Banner ── */
.cta-banner { background: var(--gradient); border-radius: var(--radius-lg); padding: 60px 48px; text-align: center; color: var(--white); }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ── 16. Security badges ── */
.security-badges { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.security-badges img { height: 48px; width: auto; }

/* ── 17. Footer ── */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 40px; margin-bottom: 48px; }
.footer__brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer__brand img { height: 40px; }
.footer__col h4 { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer__col a { display: block; padding: 4px 0; font-size: 0.875rem; color: var(--gray-400); transition: var(--transition); }
.footer__col a:hover { color: var(--accent-light); }
.footer__bottom { border-top: 1px solid var(--gray-700); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; }
.footer__bottom a { color: var(--gray-400); }
.footer__bottom a:hover { color: var(--white); }
.footer__social { display: flex; gap: 16px; margin-top: 20px; }
.footer__social a { color: var(--gray-400); font-size: 1.1rem; }
.footer__social a:hover { color: var(--white); }

/* ── 18. Steps ── */
.steps { counter-reset: step; }
.step { display: flex; gap: 24px; padding: 24px 0; position: relative; }
.step::before { counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: 50%; background: var(--gradient); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.step h3 { margin-bottom: 4px; }
.step p { font-size: 0.95rem; }

/* ── 19. Logo row ── */
.logo-row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 40px 0; }
.logo-row img { height: 32px; width: auto; opacity: 0.5; transition: var(--transition); }
.logo-row img:hover { opacity: 1; }

/* ── 20. VS Table ── */
.vs-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--radius); }
.vs-table thead th { background: var(--primary); color: var(--white); padding: 14px 20px; font-family: var(--font-heading); font-weight: 600; text-align: left; }
.vs-table tbody td { padding: 12px 20px; border-bottom: 1px solid var(--gray-200); font-size: 0.9rem; }
.vs-table tbody tr:nth-child(even) { background: var(--gray-100); }

/* ── 21. Blog post styles (body.single) ── */
body.single .page-header { display: block; }
body:not(.single) .page-header { display: none !important; }

/* ═══════════════════════════════════════════════
   TAILWIND UTILITY CLASSES
   (kept verbatim — used by 81 pages' inline HTML)
   ═══════════════════════════════════════════════ */

/* ── Display ── */
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.hidden { display: none; }

/* ── Flex ── */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-none { flex: none; }
.flex-shrink-0 { flex-shrink: 0; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* ── Grid (utility) ── */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-rows-\[0fr\] { grid-template-rows: 0fr; }
.grid-rows-\[1fr\] { grid-template-rows: 1fr; }

/* ── Gap ── */
.gap-0\.5 { gap: 0.125rem; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-2 { row-gap: 0.5rem; }
.gap-y-8 { row-gap: 2rem; }

/* ── Spacing ── */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }

/* ── Width ── */
.w-4 { width: 1rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-48 { width: 12rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-\[85vw\] { width: 85vw; }
.w-\[100vw\] { width: 100vw; }
.w-\[160px\] { width: 160px; }

/* ── Height ── */
.h-4 { height: 1rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-48 { height: 12rem; }
.h-auto { height: auto; }
.h-full { height: 100%; }

/* ── Max Width ── */
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

/* ── Min Width ── */
.min-w-\[600px\] { min-width: 600px; }
.min-w-\[640px\] { min-width: 640px; }

/* ── Margin ── */
.mx-auto { margin-left: auto; margin-right: auto; }
.-mx-6 { margin-left: -1.5rem; margin-right: -1.5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }

/* ── Padding ── */
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pr-4 { padding-right: 1rem; }

/* ── Position ── */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-1 { top: 0.25rem; }
.top-3 { top: 0.75rem; }
.-top-3 { top: -0.75rem; }
.top-full { top: 100%; }
.bottom-full { bottom: 100%; }
.left-1 { left: 0.25rem; }
.left-4 { left: 1rem; }
.left-1\/2 { left: 50%; }
.right-4 { right: 1rem; }
.z-10 { z-index: 10; }

/* ── Transform ── */
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-x-2 { transform: translateX(-0.5rem); }
.translate-x-0 { transform: translateX(0); }

/* ── Typography (utility) ── */
.font-heading, .font-\[Roboto_Slab\] { font-family: var(--font-heading); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-\[10px\] { font-size: 10px; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.underline { text-decoration: underline; }
.underline-offset-2 { text-underline-offset: 2px; }
.text-left { text-align: left; }

/* ── Text Colors ── */
.text-white, .text-white * { color: #fff; }
.text-white .text-white\/60, .text-white\/60 { color: rgba(255,255,255,0.6); }
.text-white .text-white\/80, .text-white\/80 { color: rgba(255,255,255,0.8); }
.text-white .text-white\/90, .text-white\/90 { color: rgba(255,255,255,0.9); }
.text-white .text-accent-teal-light { color: var(--accent-light); }
.text-white .text-star-gold { color: var(--star-gold); }
.text-white .text-red-400 { color: #f87171; }
.text-text-dark { color: var(--black); }
.text-text-body { color: #18181b; }
.text-text-muted { color: #71717a; }
.text-primary-purple { color: var(--primary); }
.text-accent-teal { color: var(--accent); }
.text-accent-teal-dark { color: var(--accent-dark); }
.text-accent-teal-light { color: var(--accent-light); }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-900 { color: #111827; }
.text-star-gold { color: var(--star-gold); }
.text-red-400 { color: #f87171; }

/* ── Background Colors ── */
.bg-white { background-color: #fff; }
.bg-white\/95 { background-color: rgba(255,255,255,0.95); }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-900 { background-color: #111827; }
.bg-primary-purple { background-color: var(--primary); }
.bg-accent-teal { background-color: var(--accent); }
.bg-accent-teal-light { background-color: var(--accent-light); }
.bg-accent-teal-light\/20 { background-color: rgba(95,212,217,0.2); }
.bg-accent-teal\/5 { background-color: rgba(13,155,163,0.05); }
.bg-surface-light { background-color: var(--color-surface-light); }
.bg-transparent { background-color: transparent; }
.bg-red-600 { background-color: #dc2626; }
.bg-black\/20 { background-color: rgba(0,0,0,0.2); }
.bg-\[#4338ca\] { background-color: #4338ca; }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-white\/15 { background-color: rgba(255,255,255,0.15); }

/* ── Gradients ── */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-accent-teal-light\/20 { --tw-gradient-from: rgba(95,212,217,0.2); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-accent-teal\/10 { --tw-gradient-via: rgba(13,155,163,0.1); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to, transparent); }
.to-accent-teal-light\/5 { --tw-gradient-to: rgba(95,212,217,0.05); }

/* ── Borders ── */
.border { border-width: 1px; border-style: solid; }
.border-4 { border-width: 4px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-surface-border { border-color: var(--color-surface-border); }
.border-surface-border\/60 { border-color: rgba(235,235,241,0.6); }
.border-primary-purple { border-color: var(--primary); }
.border-accent-teal { border-color: var(--accent); }
.border-accent-teal\/20 { border-color: rgba(13,155,163,0.2); }
.border-white { border-color: #fff; }
.border-transparent { border-color: transparent; }
.border-white\/20 { border-color: rgba(255,255,255,0.2); }
.border-white\/30 { border-color: rgba(255,255,255,0.3); }
.border-t-gray-900 { border-top-color: #111827; }
.border-collapse { border-collapse: collapse; }

/* ── Divide ── */
.divide-y > * + * { border-top-width: 1px; border-top-style: solid; }
.divide-surface-border > * + * { border-color: var(--color-surface-border); }

/* ── Rounded ── */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* ── Shadow ── */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* ── Overflow ── */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* ── Opacity ── */
.opacity-0 { opacity: 0; }
.opacity-30 { opacity: 0.3; }
.opacity-60 { opacity: 0.6; }

/* ── Object ── */
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

/* ── Cursor ── */
.cursor-pointer { cursor: pointer; }
.cursor-help { cursor: help; }
.pointer-events-none { pointer-events: none; }

/* ── Scroll snap ── */
.snap-x { scroll-snap-type: x mandatory; }
.snap-mandatory { scroll-snap-type: x mandatory; }
.snap-start { scroll-snap-align: start; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ── Transition ── */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-\[grid-template-rows\] { transition-property: grid-template-rows; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4,0,0.2,1); }

/* ── Backdrop ── */
.backdrop-blur-sm { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.blur-\[2px\] { filter: blur(2px); }

/* ── Decoration ── */
.decoration-accent-teal\/40 { text-decoration-color: rgba(13,155,163,0.4); }

/* ── Hover states ── */
.hover\:bg-accent-teal:hover { background-color: var(--accent); }
.hover\:bg-accent-teal-dark:hover { background-color: var(--accent-dark); }
.hover\:bg-primary-purple:hover { background-color: var(--primary); }
.hover\:bg-primary-purple-dark:hover { background-color: var(--primary-deep); }
.hover\:bg-white:hover { background-color: #fff; }
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:text-accent-teal:hover { color: var(--accent); }
.hover\:text-primary-purple:hover { color: var(--primary); }
.hover\:text-white:hover { color: #fff; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:decoration-accent-teal:hover { text-decoration-color: var(--accent); }

/* ── Group hover ── */
.group:hover .group-hover\:bg-black\/30 { background-color: rgba(0,0,0,0.3); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }

/* ── First/Last ── */
.first\:pl-6:first-child { padding-left: 1.5rem; }
.last\:pr-6:last-child { padding-right: 1.5rem; }

/* ── Arbitrary selectors ── */
.\[\&_a\]\:text-accent-teal a { color: var(--accent); }
.\[\&_a\]\:underline a { text-decoration: underline; }
.\[\&_li\]\:list-disc li { list-style-type: disc; }
.\[\&_li\]\:ml-4 li { margin-left: 1rem; }
.\[\&_strong\]\:font-semibold strong { font-weight: 600; }
.\[\&_strong\]\:text-text-body strong { color: #18181b; }
.\[\&_ul\]\:mt-2 ul { margin-top: 0.5rem; }
.\[\&_ul\]\:space-y-1 ul > * + * { margin-top: 0.25rem; }

/* ── Animation ── */
@keyframes priceFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-price-fade { animation: priceFade 0.2s ease-out; }

/* ── Line Clamp ── */
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Whitespace / Aspect ── */
.aspect-\[16\/10\] { aspect-ratio: 16/10; }
.grayscale { filter: grayscale(100%); }
.hover\:grayscale-0:hover { filter: grayscale(0); }
.hover\:opacity-100:hover { opacity: 1; }

/* ═══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════ */

/* ── sm (640px+) ── */
@media (min-width: 640px) {
  .sm\:flex-1 { flex: 1 1 0%; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:gap-6 { gap: 1.5rem; }
  .sm\:gap-8 { gap: 2rem; }
  .sm\:grid { display: grid; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:items-start { align-items: flex-start; }
  .sm\:mx-0 { margin-left: 0; margin-right: 0; }
  .sm\:overflow-visible { overflow: visible; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-12 { padding: 3rem; }
  .sm\:pb-0 { padding-bottom: 0; }
  .sm\:px-0 { padding-left: 0; padding-right: 0; }
  .sm\:w-auto { width: auto; }
  .sm\:h-10 { height: 2.5rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:first\:pl-0:first-child { padding-left: 0; }
  .sm\:last\:pr-0:last-child { padding-right: 0; }
}

/* ── md (768px+) ── */
@media (min-width: 768px) {
  .md\:flex-1 { flex: 1 1 0%; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:grid { display: grid; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:mx-0 { margin-left: 0; margin-right: 0; }
  .md\:overflow-visible { overflow: visible; }
  .md\:px-0 { padding-left: 0; padding-right: 0; }
  .md\:w-auto { width: auto; }
}

/* ── lg (1024px+) ── */
@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:flex-1 { flex: 1 1 0%; }
  .lg\:flex-col { flex-direction: column; }
  .lg\:gap-6 { gap: 1.5rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:mx-0 { margin-left: 0; margin-right: 0; }
  .lg\:overflow-visible { overflow: visible; }
  .lg\:p-8 { padding: 2rem; }
  .lg\:p-16 { padding: 4rem; }
  .lg\:px-0 { padding-left: 0; padding-right: 0; }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:w-auto { width: auto; }
  .lg\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
}

/* ── Component responsive (from main.css) ── */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature--reverse { direction: ltr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 110px 0 56px; }
  .nav__links { display: none; }
  .nav__links--open { display: flex !important; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: white; padding: 24px; box-shadow: 0 12px 40px rgba(0,0,0,0.12); z-index: 999; }
  .nav__links--open .dropdown { position: static; transform: none; min-width: 100%; box-shadow: none; padding: 8px 0; }
  .nav__links--open .nav__link.dropdown-open .dropdown { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__mobile-toggle { display: block; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--1-1 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat__number { font-size: 2rem; }
  .pricing-card { padding: 24px; }
  .dropdown { min-width: 100%; }
  .hero__logos { gap: 20px; }
  .hero__logos img { height: 22px; }
  .cta-banner { padding: 40px 24px; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .container { padding: 0 16px; }
}

/* ═══════════════════════════════════════════════
   FAQ ACCORDION — Enhanced Styling
   ═══════════════════════════════════════════════ */

/* New pattern: grid-rows accordion */
.divide-y.divide-surface-border.rounded-2xl {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.divide-y.divide-surface-border > div {
  border: 1px solid var(--gray-200) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  background: var(--white);
  transition: all 0.2s ease;
  overflow: hidden;
}

.divide-y.divide-surface-border > div:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(13, 155, 163, 0.1);
}

.divide-y.divide-surface-border > div button[aria-expanded="true"] ~ div {
  background: var(--accent-surface);
}

.divide-y.divide-surface-border > div button {
  padding: 20px 24px !important;
  transition: background 0.2s ease;
}

.divide-y.divide-surface-border > div button span:first-child {
  font-size: 1.05rem !important;
}

.divide-y.divide-surface-border > div button span[aria-hidden] {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--primary) !important;
  font-size: 1.2rem !important;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.divide-y.divide-surface-border > div button[aria-expanded="true"] span[aria-hidden] {
  background: var(--accent);
  color: var(--white) !important;
}

.divide-y.divide-surface-border > div .overflow-hidden > div {
  padding: 0 24px 20px !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  color: var(--gray-600) !important;
}

/* ═══════════════════════════════════════════════
   BLOG — Cards & Listing
   ═══════════════════════════════════════════════ */

.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.blog-featured-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: inherit;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--accent);
  color: inherit;
}

.blog-card:hover h3 {
  color: var(--accent);
}

.blog-card__thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.blog-card__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, currentColor 10px, currentColor 11px);
}

.blog-card__thumb--purple {
  background: var(--gradient);
  color: white;
}

.blog-card__thumb--teal {
  background: var(--gradient-accent);
  color: white;
}

.blog-card__thumb--light {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-200) 100%);
  color: var(--gray-400);
}

/* ═══════════════════════════════════════════════
   BLOG POST — Article Styles (body.single)
   ═══════════════════════════════════════════════ */

/* Blog hero (teal background) */
.page-header {
  background: var(--gradient);
  padding: 120px 0 60px;
  position: relative;
}

.page-header h1.entry-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.tl-blog-wrap {
  display: flex;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px;
}

.tl-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.tl-content {
  flex: 1;
  min-width: 0;
}

.tl-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.tl-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.tl-content p {
  margin-bottom: 1rem;
}

.tl-content ul, .tl-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.tl-content ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
  color: var(--gray-600);
}

.tl-content ol li {
  list-style: decimal;
  margin-bottom: 0.5rem;
  color: var(--gray-600);
}

.tl-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.tl-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tl-content a:hover {
  color: var(--accent-dark);
}

.tl-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.tl-content table th {
  background: var(--primary);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
}

.tl-content table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-200);
}

.tl-content table tr:hover {
  background: var(--accent-surface);
}

/* TOC in sidebar */
.tl-toc {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  position: sticky;
  top: 96px;
}

.tl-toc__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.tl-toc__list {
  list-style: none;
  padding: 0;
}

.tl-toc__list li {
  list-style: none !important;
}

.tl-toc__list a {
  display: block;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--gray-600);
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: all 0.2s ease;
}

.tl-toc__list a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
}

/* CTA box in sidebar */
.tl-sidebar .tl-cta-box,
.tl-sidebar > div:last-child {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--white);
  text-align: center;
}

@media (max-width: 1024px) {
  .blog-featured-card { grid-template-columns: 1fr; }
  .tl-blog-wrap { flex-direction: column; }
  .tl-sidebar { width: 100%; }
}

@media (max-width: 768px) {
  .blog-card__thumb { height: 160px; }
}

/* ── Animation class (scroll reveal) ── */
.animate-in { opacity: 1 !important; transform: translateY(0) !important; }
