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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin-block-start: 0;
}

h1,
h2,
h3 {
  color: var(--color-primary-dark);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p:last-child {
  margin-block-end: 0;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

::selection {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link {
  background: var(--color-primary-dark);
  color: #fff;
  left: var(--space-4);
  padding: var(--space-3) var(--space-5);
  position: fixed;
  top: -8rem;
  z-index: 1000;
}

.skip-link:focus {
  top: var(--space-4);
}

.icon {
  fill: none;
  height: 1.15em;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 1.15em;
}

.icon--facebook,
.icon--instagram,
.icon--linkedin,
.icon--whatsapp {
  fill: currentColor;
  stroke: none;
}

.eyebrow {
  color: var(--color-accent-dark);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.11em;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}

.lead {
  color: var(--color-muted);
  font-size: var(--text-lg);
  line-height: 1.65;
}

.entry-content > * + * {
  margin-top: var(--space-5);
}

.entry-content a {
  font-weight: 600;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
