:root {
  --theme-ink: #0f172a;
  --theme-brand: #0cb0b0;
  --theme-brand-dark: #089494;
  --theme-brand-shadow: rgba(12, 176, 176, 0.24);
  --theme-body: #475569;
  --theme-muted: #64748b;
  --theme-surface-soft: #f8fafc;
}

html {
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  color: var(--theme-body);
}

body.lead-popup-visible {
  overflow: hidden;
}

main {
  min-width: 0;
  overflow-x: hidden;
  overflow-x: clip;
}

#why-choose-us {
  scroll-margin-top: 12rem;
}

#project-grid,
#client-stories {
  scroll-margin-top: 12rem;
}

[data-mobile-menu] {
  will-change: transform;
  min-width: 0;
}

#mobile-menu.translate-x-full {
  transform: translateX(100vw) !important;
}

[data-mobile-overlay] {
  will-change: opacity;
}

.hero-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  opacity: 0.48;
  pointer-events: none;
  position: absolute;
}

.home-hero::after {
  background:
    radial-gradient(circle at 14% 18%, rgba(12, 176, 176, 0.2), transparent 31%),
    radial-gradient(circle at 86% 22%, rgba(37, 99, 235, 0.18), transparent 34%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

body.contact-page a[aria-label="Chat on WhatsApp"] {
  bottom: 1.5rem !important;
}

header {
  position: relative !important;
  top: auto !important;
  transition:
    box-shadow 220ms ease,
    transform 280ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.site-header {
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.site-topbar-contact {
  max-width: 100%;
}

.site-topbar-link {
  line-height: 1.2;
}

.site-topbar-text {
  min-width: 0;
}

.lead-popup.is-open .lead-popup-card {
  animation: lead-popup-enter 220ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

@keyframes lead-popup-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes lead-popup-sheet-enter {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.floating-header header {
  animation: header-slide-down 280ms cubic-bezier(0.2, 0.65, 0.2, 1);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
  left: 0;
  position: fixed !important;
  right: 0;
  top: 0 !important;
}

@keyframes header-slide-down {
  from {
    transform: translateY(-105%);
  }

  to {
    transform: translateY(0);
  }
}

body.has-scrolled header {
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

[data-reveal] {
  opacity: 0;
  max-width: 100%;
  transform: translateY(14px);
  transition:
    opacity 520ms ease-out,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="fade-right"] {
  transform: translateY(14px);
}

[data-reveal="zoom"] {
  transform: translateY(10px) scale(0.99);
}

[data-reveal="fade-right"].is-visible,
[data-reveal="zoom"].is-visible {
  transform: translateY(0) scale(1);
}

.ui-hover {
  position: relative;
  isolation: isolate;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    color 220ms ease;
}

.ui-hover::before {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.35));
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 220ms ease;
  z-index: 0;
}

.ui-hover > * {
  position: relative;
  z-index: 1;
}

.ui-hover:hover {
  border-color: rgba(15, 23, 42, 0.16);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.ui-hover:hover::before {
  opacity: 1;
}

.magnetic-link {
  transition: color 180ms ease, transform 180ms ease;
}

.magnetic-link:hover {
  transform: translateX(3px);
}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }

  #project-grid,
  #client-stories {
    scroll-margin-top: 9rem;
  }

  .lead-popup.is-open .lead-popup-card {
    animation-name: lead-popup-sheet-enter;
  }

  .site-topbar-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-cta-bar {
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
  }

  [data-reveal="fade-right"] {
    transform: translateY(10px);
  }

  .magnetic-link:hover {
    transform: none;
  }

  a[aria-label="Chat on WhatsApp"] {
    display: none !important;
  }
}

@media (max-width: 767px) {
  [data-reveal],
  [data-reveal].is-visible,
  [data-reveal="fade-right"],
  [data-reveal="zoom"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
    will-change: auto;
  }

  .ui-hover,
  .magnetic-link,
  .image-hover img,
  .portfolio-scroll-preview,
  .core-service-card,
  .core-service-card::after,
  .client-result-card,
  .client-result-card::after,
  .services-finder-option,
  .cta-hover {
    will-change: auto;
  }

  .ui-hover:hover,
  .magnetic-link:hover,
  .core-service-card:hover,
  .client-result-card:hover,
  .services-finder-option:hover,
  .cta-hover:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-popup.is-open .lead-popup-card {
    animation: none;
  }
}

.image-hover {
  overflow: hidden;
}

.image-hover img {
  transition: filter 320ms ease, transform 360ms ease;
}

.image-hover:hover img {
  filter: saturate(1.03) contrast(1.01);
  transform: scale(1.025);
}

.portfolio-scroll-preview {
  background-image: var(--portfolio-image);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  transition: background-position 6s ease-in-out, filter 320ms ease;
}

.group:hover .portfolio-scroll-preview,
.group:focus-within .portfolio-scroll-preview {
  background-position: bottom center;
  filter: saturate(1.03) contrast(1.01);
}

.cta-hover {
  transition: box-shadow 220ms ease, transform 220ms ease, background-color 220ms ease;
}

.cta-hover:hover {
  box-shadow: 0 16px 34px var(--theme-brand-shadow);
  transform: translateY(-2px);
}

.core-services-section::before {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  opacity: 0.7;
  pointer-events: none;
  position: absolute;
}

.core-flow-step {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
}

.core-service-card {
  --service-accent: var(--theme-brand);
  --service-accent-soft: rgba(12, 176, 176, 0.12);
  isolation: isolate;
  overflow: hidden;
  position: relative;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.core-service-card::before {
  background: linear-gradient(90deg, var(--service-accent), transparent 78%);
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
  z-index: 1;
}

.core-service-card::after {
  background: linear-gradient(135deg, transparent 34%, var(--service-accent-soft) 34%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  content: "";
  height: 7.25rem;
  position: absolute;
  right: 0;
  top: 0;
  transform-origin: top right;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  width: 7.25rem;
  z-index: -1;
}

.core-service-card:hover {
  border-color: var(--service-accent);
  border-color: color-mix(in srgb, var(--service-accent) 42%, #e2e8f0);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.core-service-card:hover::after {
  opacity: 0.95;
  transform: scale(1.16);
}

.home-service-summary {
  list-style: none;
}

.home-service-summary::-webkit-details-marker {
  display: none;
}

.home-service-card[open] .home-service-chevron {
  transform: rotate(180deg);
}

.core-service-icon,
.core-service-chip {
  background: var(--service-accent-soft);
  color: var(--service-accent);
}

.service-accent-teal {
  --service-accent: #0cb0b0;
  --service-accent-soft: rgba(12, 176, 176, 0.12);
}

.service-accent-blue {
  --service-accent: #2563eb;
  --service-accent-soft: rgba(37, 99, 235, 0.12);
}

.service-accent-rose {
  --service-accent: #e11d48;
  --service-accent-soft: rgba(225, 29, 72, 0.1);
}

.service-accent-amber {
  --service-accent: #d97706;
  --service-accent-soft: rgba(217, 119, 6, 0.12);
}

.service-accent-emerald {
  --service-accent: #059669;
  --service-accent-soft: rgba(5, 150, 105, 0.12);
}

.service-accent-violet {
  --service-accent: #7c3aed;
  --service-accent-soft: rgba(124, 58, 237, 0.12);
}

.service-accent-slate {
  --service-accent: #334155;
  --service-accent-soft: rgba(51, 65, 85, 0.1);
}

.client-results-section::before {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
}

.client-results-scoreboard {
  position: relative;
}

.client-results-scoreboard::before {
  background: linear-gradient(90deg, #0cb0b0, #2563eb, #e11d48);
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
}

.client-result-card {
  --result-accent: var(--theme-brand);
  --result-accent-soft: rgba(12, 176, 176, 0.12);
  isolation: isolate;
  position: relative;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.client-result-card::before {
  background: linear-gradient(90deg, var(--result-accent), transparent 74%);
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
  z-index: 1;
}

.client-result-card::after {
  background: linear-gradient(135deg, transparent 36%, var(--result-accent-soft) 36%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  content: "";
  height: 7.5rem;
  position: absolute;
  right: 0;
  top: 0;
  transform-origin: top right;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  width: 7.5rem;
  z-index: -1;
}

.client-result-card:hover {
  border-color: var(--result-accent);
  border-color: color-mix(in srgb, var(--result-accent) 42%, #e2e8f0);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  transform: translateY(-4px);
}

.client-result-card:hover::after {
  opacity: 0.95;
  transform: scale(1.14);
}

.client-result-icon,
.client-result-badge {
  background: var(--result-accent-soft);
  color: var(--result-accent);
}

.client-result-avatar {
  background: var(--result-accent);
}

.result-accent-teal {
  --result-accent: #0cb0b0;
  --result-accent-soft: rgba(12, 176, 176, 0.12);
}

.result-accent-blue {
  --result-accent: #2563eb;
  --result-accent-soft: rgba(37, 99, 235, 0.12);
}

.result-accent-rose {
  --result-accent: #e11d48;
  --result-accent-soft: rgba(225, 29, 72, 0.1);
}

.result-accent-amber {
  --result-accent: #d97706;
  --result-accent-soft: rgba(217, 119, 6, 0.12);
}

.result-accent-emerald {
  --result-accent: #059669;
  --result-accent-soft: rgba(5, 150, 105, 0.12);
}

.site-footer::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
}

.pre-footer-cta-panel::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  position: absolute;
}

.pre-footer-cta-panel::after {
  background: linear-gradient(90deg, transparent, rgba(12, 176, 176, 0.55), transparent);
  content: "";
  height: 1px;
  inset: 0 0 auto;
  opacity: 0.8;
  pointer-events: none;
  position: absolute;
}

.service-detail-hero::before,
.about-growth-hero::before,
.about-proof-band::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  position: absolute;
}

.portfolio-showcase-hero::before,
.testimonials-showcase-hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
  position: absolute;
}

.portfolio-showcase-hero::after,
.testimonials-showcase-hero::after {
  background:
    radial-gradient(circle at 15% 16%, rgba(12, 176, 176, 0.22), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(37, 99, 235, 0.2), transparent 32%),
    radial-gradient(circle at 70% 84%, rgba(56, 215, 215, 0.1), transparent 25%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.portfolio-showcase-hero > *,
.testimonials-showcase-hero > * {
  z-index: 1;
}

.portfolio-path-section::before,
.portfolio-gallery::before,
.testimonial-stories::before {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  inset: 0;
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
}

.portfolio-path-card {
  isolation: isolate;
  overflow: hidden;
  position: relative;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.portfolio-path-card::after {
  background: linear-gradient(135deg, transparent 36%, rgba(12, 176, 176, 0.08) 36%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  content: "";
  height: 6rem;
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 220ms ease;
  width: 6rem;
  z-index: -1;
}

.portfolio-path-card:hover {
  border-color: rgba(12, 176, 176, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
  transform: translateY(-3px);
}

.portfolio-path-card:hover::after {
  transform: scale(1.15);
}

.portfolio-project-card {
  isolation: isolate;
  position: relative;
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.portfolio-project-card::before {
  background: linear-gradient(90deg, #0cb0b0, #38d7d7, transparent 82%);
  content: "";
  height: 3px;
  inset: 0 0 auto;
  position: absolute;
  z-index: 2;
}

.portfolio-project-card:hover {
  border-color: rgba(12, 176, 176, 0.36);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12);
  transform: translateY(-5px);
}

.portfolio-media {
  background: #e2e8f0;
  position: relative;
}

.portfolio-media::after {
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.16), transparent 46%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.portfolio-media > span {
  position: absolute;
  z-index: 1;
}

.testimonial-story-card {
  --result-accent: var(--theme-brand);
  --result-accent-soft: rgba(12, 176, 176, 0.12);
  isolation: isolate;
  position: relative;
  transition:
    border-color 230ms ease,
    box-shadow 230ms ease,
    transform 230ms ease;
}

.testimonial-story-card::before {
  background: linear-gradient(90deg, var(--result-accent), transparent 76%);
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
  z-index: 1;
}

.testimonial-story-card::after {
  background: radial-gradient(circle, var(--result-accent-soft), transparent 68%);
  content: "";
  height: 12rem;
  pointer-events: none;
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 12rem;
  z-index: 0;
}

.testimonial-story-card > * {
  position: relative;
  z-index: 1;
}

.testimonial-story-card:hover {
  border-color: rgba(12, 176, 176, 0.36);
  border-color: color-mix(in srgb, var(--result-accent) 38%, #e2e8f0);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.11);
  transform: translateY(-4px);
}

.showcase-cta-panel::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
}

.showcase-cta-panel::after {
  background:
    radial-gradient(circle at 16% 12%, rgba(12, 176, 176, 0.22), transparent 32%),
    radial-gradient(circle at 92% 70%, rgba(37, 99, 235, 0.15), transparent 26%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

@media (max-width: 767px) {
  .portfolio-path-card:hover,
  .portfolio-project-card:hover,
  .testimonial-story-card:hover {
    transform: none;
  }
}

.service-detail-panel::before {
  background: radial-gradient(circle at top right, rgba(56, 215, 215, 0.24), transparent 42%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.service-detail-scope::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(12, 176, 176, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.why-growth-system::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.why-growth-system::after {
  background:
    radial-gradient(circle at 14% 12%, rgba(56, 215, 215, 0.2), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(37, 99, 235, 0.16), transparent 30%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.why-growth-system > * {
  position: relative;
  z-index: 1;
}

.services-master-hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.services-master-path {
  position: relative;
}

.services-master-path::before {
  background: linear-gradient(180deg, #0cb0b0, #2563eb, #059669);
  content: "";
  height: calc(100% - 4rem);
  left: 1.35rem;
  opacity: 0.45;
  position: absolute;
  top: 2rem;
  width: 2px;
}

.services-finder-section,
.services-master-list {
  position: relative;
}

.services-finder-section::before,
.services-master-list::before {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
}

.services-finder-section > *,
.services-master-list > * {
  position: relative;
}

.services-finder-option {
  min-height: 8.75rem;
}

.services-finder-option:hover {
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal],
  [data-reveal].is-visible,
  [data-reveal="fade-right"],
  [data-reveal="zoom"] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ui-hover,
  .magnetic-link,
  .image-hover img,
  .portfolio-scroll-preview,
  .core-service-card,
  .core-service-card::after,
  .client-result-card,
  .client-result-card::after,
  .services-finder-option,
  .portfolio-path-card,
  .portfolio-path-card::after,
  .portfolio-project-card,
  .testimonial-story-card,
  .cta-hover {
    transition: none;
  }

  .ui-hover:hover,
  .magnetic-link:hover,
  .image-hover:hover img,
  .group:hover .portfolio-scroll-preview,
  .group:focus-within .portfolio-scroll-preview,
  .core-service-card:hover,
  .core-service-card:hover::after,
  .client-result-card:hover,
  .client-result-card:hover::after,
  .services-finder-option:hover,
  .portfolio-path-card:hover,
  .portfolio-path-card:hover::after,
  .portfolio-project-card:hover,
  .testimonial-story-card:hover,
  .cta-hover:hover {
    box-shadow: none;
    filter: none;
    transform: none;
  }
}

/* FAQ Collapsible Styles */
.faq-toggle {
  transition: background-color 0.2s ease;
}

.faq-toggle:hover {
  background-color: rgba(248, 250, 252, 0.5);
}

.faq-content {
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.faq-icon {
  transition: transform 0.3s ease;
}

/* Lazy loading styles */
.lazy-bg {
  transition: opacity 0.3s ease;
}

.lazy-bg[loading="lazy"] {
  opacity: 0;
}

/* Performance optimizations */
img {
  max-width: 100%;
  height: auto;
}

.blog-content {
  color: var(--theme-body);
  line-height: 1.85;
}

.blog-content > * + * {
  margin-top: 1.5rem;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: var(--theme-ink);
  font-weight: 800;
  line-height: 1.25;
}

.blog-content h2 {
  font-size: 1.5rem;
}

.blog-content h3 {
  font-size: 1.25rem;
}

.blog-content a {
  color: var(--theme-brand);
  font-weight: 700;
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.25rem;
}

.blog-content ul {
  list-style: disc;
}

.blog-content ol {
  list-style: decimal;
}

/* Reduce paint on scroll */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
