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

:root {
  --radius: 3px;
  --transition: 0.2s ease-in-out;
  --gutter: 32px;
  --section-padding-y: 80px;
  --header-height: 72px;
}

@media (max-width: 767px) {
  :root {
    --section-padding-y: 48px;
  }
}

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

* {
  margin: 0;
  padding: 0;
}

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

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

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

a {
  color: hsl(var(--link));
  text-decoration: none;
  transition: color var(--transition);
}

button,
input,
textarea,
select {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: inherit;
}

h1 {
  font-size: 1.875rem;
}

h2 {
  font-size: 1.375rem;
  line-height: 1.3;
}

h3 {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
}

@media (max-width: 767px) {
  h1 {
    font-size: 1.625rem;
  }

  h2 {
    font-size: 1.25rem;
  }
}

.display {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

@media (max-width: 767px) {
  .display {
    font-size: 2.5rem;
  }
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--link));
}

.small {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
}

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

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

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

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

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

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

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

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

.measure {
  max-width: 70ch;
}

.col-rule {
  border-right: 1px solid hsl(var(--border));
}

.col-rule:last-child {
  border-right: none;
}

.section-rule {
  border-bottom: 1px solid hsl(var(--border));
}

.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-foreground) / 0.15);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--header-foreground));
}

.nav-link:hover,
.nav-link:focus {
  color: hsl(var(--accent));
}

.nav-link.is-active {
  color: hsl(var(--accent));
}

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

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

.hero__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(hsl(var(--primary-foreground) / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--primary-foreground) / 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero__content {
  position: relative;
  z-index: 10;
  padding-bottom: 88px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 24px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

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

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

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

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

.card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--card-foreground) / 0.12);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--transition);
}

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

.input {
  width: 100%;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--card-foreground) / 0.2);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  outline: none;
  transition: border-color var(--transition);
}

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

.input:focus {
  border-color: hsl(var(--primary));
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

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

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.5;
  color: hsl(var(--card-foreground));
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid hsl(var(--card-foreground) / 0.1);
  border-right: 1px solid hsl(var(--card-foreground) / 0.08);
}

.data-table th:last-child,
.data-table td:last-child {
  border-right: none;
}

.data-table th {
  font-weight: 600;
  background-color: hsl(var(--card-foreground) / 0.06);
}

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

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 32px;
  overflow-x: auto;
}

.logo-placeholder {
  flex: 1 1 0;
  min-width: 120px;
  height: 48px;
  background-color: hsl(var(--card-foreground) / 0.06);
  border: 1px solid hsl(var(--card-foreground) / 0.1);
  border-radius: var(--radius);
}

.stat-row {
  display: grid;
  gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 24px;
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--card-foreground) / 0.12);
  border-radius: var(--radius);
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
}

.stat-value {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: hsl(var(--link));
}

.whatsapp-button {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 20px;
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border-radius: var(--radius);
  font-weight: 600;
  transition: background-color var(--transition);
}

.whatsapp-button:hover {
  background-color: hsl(var(--accent) / 0.92);
}

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

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

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-legal {
  color: hsl(var(--footer-muted));
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 250ms ease-out, transform 250ms ease-out;
}

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

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

.bg-card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-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));
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.font-heading {
  font-family: 'Source Sans 3', sans-serif;
}

.font-body {
  font-family: 'IBM Plex Sans', sans-serif;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.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) {
  html {
    scroll-behavior: auto;
  }

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.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: 66 100% 98%;
  --foreground: 0 0% 0%;
  --text: 0 0% 0%;
  --card: 66 35.7% 94.5%;
  --card-foreground: 0 0% 0%;
  --popover: 66 35.7% 94.5%;
  --popover-foreground: 0 0% 0%;
  --primary: 200.4 98% 39.4%;
  --primary-foreground: 0 0% 0%;
  --primary-muted: 200.7 100% 5.7%;
  --primary-highlight: 0 0% 100%;
  --secondary: 142.1 70.6% 45.3%;
  --secondary-foreground: 0 0% 0%;
  --muted: 66 25% 92.2%;
  --muted-foreground: 180 8.4% 39.8%;
  --accent: 47.9 95.8% 53.1%;
  --accent-foreground: 0 0% 0%;
  --destructive: 0 72.2% 50.6%;
  --destructive-foreground: 0 0% 100%;
  --border: 67.5 10% 84.3%;
  --input: 67.5 8% 80.4%;
  --ring: 47.9 95.8% 53.1%;
  --success: 141 78.9% 85.1%;
  --success-foreground: 0 0% 0%;
  --warning: 48 96.6% 76.7%;
  --warning-foreground: 0 0% 0%;
  --error: 0 96.3% 89.4%;
  --error-foreground: 0 0% 0%;
  --header: 201.3 96.3% 32.2%;
  --header-foreground: 66 100% 98%;
  --header-muted: 191.4 33.3% 87.6%;
  --footer: 201.3 96.3% 32.2%;
  --footer-foreground: 66 100% 98%;
  --footer-muted: 191.4 33.3% 87.6%;
  --link: 48.2 95.5% 26.1%;
  --headline: 0 0% 52.5%;
}
/* hm-color-system:end */
