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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--surface-dark);
  color: var(--text-inverse);
}

.skip-link:focus {
  top: 1rem;
}

.site-shell {
  position: relative;
}

.section {
  padding: clamp(2.5rem, 4vw, 4rem) 0;
}

.section-dark {
  background: linear-gradient(180deg, #0d1411, #141d18);
  color: var(--text-inverse);
}

.section-tint {
  background: var(--bg-soft);
}

.section-frame {
  width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.55rem, 5vw, 4.8rem);
  max-width: none;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
  max-width: none;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-soft);
}

.section-dark p,
.section-dark .muted {
  color: color-mix(in srgb, var(--text-inverse) 78%, transparent);
}

.lead {
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  color: var(--text);
}

.section-dark .lead {
  color: var(--text-inverse);
}

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

.section-heading {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.15rem;
}

.section-heading.split,
.two-column-feature,
.contact-layout,
.benefit-columns,
.diagnosis-panel,
.capabilities-grid,
.text-split {
  display: grid;
  gap: 1.1rem;
}

.page-hero {
  padding-top: 2rem;
}

.contact-hero-block {
  padding-top: 1.4rem;
}

.page-hero-grid {
  display: grid;
  gap: 0.9rem;
}

.page-hero-grid .lead {
  max-width: 38rem;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
}

.page-hero-editorial {
  align-items: start;
}

.page-hero-editorial .hero-aside {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

@media (min-width: 768px) {
  .contact-layout,
  .diagnosis-panel,
  .capabilities-grid,
  .benefit-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

}
