@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@600;700&family=IBM+Plex+Sans:wght@400;500&display=swap');

:root {
  --radius: 0.25rem;
  --radius-sm: 0.125rem;
  --header-height: 4.5rem;
  --container-max: 75rem;
  --gutter: 2rem;
  --section-py: 5rem;
  --section-py-mobile: 3rem;
  --transition-fast: 200ms;
  --transition-base: 250ms;
  --transition-ease: ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: clamp(0.875rem, 1vw + 0.5rem, 1rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
}

img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  border-radius: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.75em;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: hsl(var(--foreground));
}

h1 {
  font-size: clamp(1.625rem, 2vw + 1rem, 1.875rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.125rem, 1.5vw + 0.75rem, 1.25rem);
  font-weight: 600;
  line-height: 1.25;
}

h3 {
  font-size: clamp(0.9375rem, 0.5vw + 0.75rem, 1rem);
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin: 0 0 1em;
  max-width: 70ch;
}

a {
  color: hsl(var(--link));
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color var(--transition-fast) ease-in-out;
}

a:hover,
a:focus-visible {
  color: hsl(var(--headline));
}

.display {
  font-family: 'Source Sans 3', sans-serif;
  font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow {
  color: hsl(var(--link));
}

small,
.meta {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}

hr,
.divider {
  height: 1px;
  margin: 0;
  background-color: hsl(var(--border));
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    max-width: 45rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 60rem;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 75rem;
  }
}

.section {
  padding-block: var(--section-py-mobile);
}

@media (min-width: 1024px) {
  .section {
    padding-block: var(--section-py);
  }
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition-fast) ease-in-out, color var(--transition-fast) ease-in-out, border-color var(--transition-fast) ease-in-out;
}

.btn-primary {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border-color: hsl(var(--accent));
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: hsl(var(--accent) / 0.9);
  color: hsl(var(--accent-foreground));
  border-color: hsl(var(--accent) / 0.9);
}

.btn-secondary {
  background-color: transparent;
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
}

.btn-destructive {
  background-color: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
  border-color: hsl(var(--destructive));
}

.btn-destructive:hover,
.btn-destructive:focus-visible {
  background-color: hsl(var(--destructive) / 0.9);
  color: #0d0d0d;
  border-color: hsl(var(--destructive) / 0.9);
}

.card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--muted));
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition-fast) ease-in-out;
}

.card:hover {
  border-color: hsl(var(--accent));
}

.input,
.textarea,
.select {
  appearance: none;
  width: 100%;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--muted));
  border-radius: var(--radius);
  transition: border-color var(--transition-fast) ease-in-out, box-shadow var(--transition-fast) ease-in-out;
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.15);
}

.badge {
  padding: 0.25rem 0.5rem;
  background-color: hsl(var(--muted));
  color: hsl(var(--link));
  border-radius: var(--radius-sm);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.table th,
.table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid hsl(var(--border));
}

.table th {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  color: hsl(var(--foreground));
  background-color: hsl(var(--muted));
}

.table tbody tr:nth-child(even) {
  background-color: hsl(var(--muted) / 0.4);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background-color: hsl(var(--header));
  color: hsl(var(--header-foreground));
  border-bottom: 1px solid hsl(var(--header-muted) / 0.2);
}

.site-header.scrolled,
.site-header.is-open {
  background-color: hsl(var(--header));
  color: hsl(var(--header-foreground));
}

.site-header a {
  color: hsl(var(--header-foreground));
  text-decoration: none;
  transition: color var(--transition-fast) ease-in-out;
}

.site-header a:hover,
.site-header a:focus-visible {
  color: hsl(var(--header-muted));
}

.site-header a[aria-current='page'] {
  color: hsl(var(--header-foreground));
  text-decoration: underline;
  text-decoration-color: hsl(var(--accent));
  text-underline-offset: 0.25rem;
}

.site-footer {
  background-color: hsl(var(--footer));
  color: hsl(var(--footer-foreground));
}

.site-footer a {
  color: hsl(var(--footer-foreground));
  text-decoration: none;
  transition: color var(--transition-fast) ease-in-out;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: hsl(var(--footer-muted));
}

.icon,
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  color: currentColor;
}

.whatsapp-button {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border: 1px solid hsl(var(--accent));
  border-radius: 50%;
  transition: background-color var(--transition-fast) ease-in-out, color var(--transition-fast) ease-in-out;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  background-color: hsl(var(--accent) / 0.9);
  color: hsl(var(--accent-foreground));
}

@media (min-width: 1024px) {
  .whatsapp-button {
    position: static;
    width: auto;
    height: auto;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
  }
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  overflow: hidden;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(hsl(var(--primary) / 0.9), hsl(var(--primary) / 0.95)), repeating-linear-gradient(90deg, hsl(var(--primary-foreground) / 0.05) 0, hsl(var(--primary-foreground) / 0.05) 1px, transparent 1px, transparent 4rem), repeating-linear-gradient(0deg, hsl(var(--primary-foreground) / 0.05) 0, hsl(var(--primary-foreground) / 0.05) 1px, transparent 1px, transparent 4rem);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--section-py);
}

.stat-card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--muted));
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition-fast) ease-in-out;
}

.stat-card:hover {
  border-color: hsl(var(--accent));
}

.stat-card__number {
  font-family: 'Source Sans 3', sans-serif;
  font-size: clamp(2rem, 3vw + 0.5rem, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: hsl(var(--headline));
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity var(--transition-base) var(--transition-ease), transform var(--transition-base) var(--transition-ease);
}

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

.bg-background {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

.bg-muted {
  background-color: hsl(var(--muted));
  color: hsl(var(--card-foreground));
}

.bg-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.bg-secondary {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.bg-accent {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.bg-header {
  background-color: hsl(var(--header));
  color: hsl(var(--header-foreground));
}

.bg-footer {
  background-color: hsl(var(--footer));
  color: hsl(var(--footer-foreground));
}

.text-foreground {
  color: hsl(var(--foreground));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.text-primary-foreground {
  color: hsl(var(--primary-foreground));
}

.text-secondary-foreground {
  color: hsl(var(--secondary-foreground));
}

.text-accent-foreground {
  color: hsl(var(--accent-foreground));
}

.text-link {
  color: hsl(var(--link));
}

.text-headline {
  color: hsl(var(--headline));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.prose {
  --tw-prose-body: hsl(var(--text));
  --tw-prose-headings: hsl(var(--text));
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: rgb(17 24 39/10%);
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255/10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0/50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}
.posts-archive-grid img {
  aspect-ratio: 16/9;
}

/* hm-color-system:start — computed from the site's color scheme (every text/surface pair is WCAG AA). Change the color scheme instead of editing these. */
:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 10.2%;
  --text: 0 0% 10.2%;
  --card: 0 0% 96.9%;
  --card-foreground: 0 0% 10.2%;
  --popover: 0 0% 96.9%;
  --popover-foreground: 0 0% 10.2%;
  --primary: 218.3 74.4% 15.3%;
  --primary-foreground: 0 0% 100%;
  --primary-muted: 216.9 13.7% 81.4%;
  --primary-highlight: 218.4 74.7% 50.4%;
  --secondary: 45.9 64.6% 52.4%;
  --secondary-foreground: 0 0% 10.2%;
  --muted: 0 0% 94.5%;
  --muted-foreground: 217.9 8.7% 42.9%;
  --accent: 45.9 64.6% 52.4%;
  --accent-foreground: 0 0% 10.2%;
  --destructive: 0 72.2% 50.6%;
  --destructive-foreground: 0 0% 100%;
  --border: 0 0% 87.5%;
  --input: 0 0% 83.9%;
  --ring: 45.9 64.6% 52.4%;
  --success: 141 78.9% 85.1%;
  --success-foreground: 0 0% 10.2%;
  --warning: 48 96.6% 76.7%;
  --warning-foreground: 0 0% 10.2%;
  --error: 0 96.3% 89.4%;
  --error-foreground: 0 0% 10.2%;
  --header: 218.3 74.4% 15.3%;
  --header-foreground: 0 0% 100%;
  --header-muted: 216.9 13.7% 81.4%;
  --footer: 218.3 74.4% 15.3%;
  --footer-foreground: 0 0% 100%;
  --footer-muted: 216.9 13.7% 81.4%;
  --link: 45.7 65.2% 30.4%;
  --headline: 218.3 74.4% 15.3%;
}
/* hm-color-system:end */
