:root {
  --hx-font-heading: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hx-font-body: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --hx-color-bg: #f7faf9;
  --hx-color-surface: #ffffff;
  --hx-color-surface-soft: #edf4f1;
  --hx-color-text: #14211f;
  --hx-color-text-soft: #566966;
  --hx-color-primary: #187c64;
  --hx-color-primary-strong: #0f5d4a;
  --hx-color-secondary: #2f5e76;
  --hx-color-border: rgba(20, 33, 31, 0.12);
  --hx-color-focus: #146c5a;

  --hx-shadow-sm: 0 8px 26px rgba(19, 44, 38, 0.08);
  --hx-shadow-md: 0 22px 70px rgba(19, 44, 38, 0.12);

  --hx-radius-sm: 0.65rem;
  --hx-radius-md: 1rem;
  --hx-radius-lg: 1.5rem;
  --hx-radius-pill: 999px;

  --hx-container: 1180px;
  --hx-container-wide: 1360px;
  --hx-header-height: 78px;
  --hx-section-space: clamp(4rem, 8vw, 8rem);

  --hx-transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--hx-color-bg);
  color: var(--hx-color-text);
  font-family: var(--hx-font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.hx-nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--hx-color-primary);
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--hx-color-text);
  font-family: var(--hx-font-heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }

::selection {
  background: var(--hx-color-primary);
  color: #fff;
}

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

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

.screen-reader-text:focus {
  top: 0.75rem;
  left: 0.75rem;
  z-index: 999999;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: #fff;
  color: #111;
  border-radius: var(--hx-radius-sm);
}
