/* VisionSoft — base document styles */

html {
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1,
h2,
h3,
h4 {
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-navy-900);
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--text-3xl);
}

h2 {
  font-size: var(--text-2xl);
}

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

p {
  word-break: keep-all;
  overflow-wrap: break-word;
}

p + p {
  margin-top: var(--space-4);
}

a:hover {
  text-decoration: underline;
}

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

.container--narrow {
  max-width: var(--container-narrow);
}

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

@media (min-width: 48rem) {
  .section {
    padding-block: var(--space-9);
  }

  h1 {
    font-size: 2.5rem;
  }
}

.section__header {
  margin-bottom: var(--space-6);
  max-width: 40rem;
}

.section__eyebrow {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.section__title {
  margin-bottom: var(--space-3);
}

.section__lead {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.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;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100%;
  z-index: 1000;
  padding: var(--space-2) var(--space-4);
  background: var(--color-navy-900);
  color: var(--color-text-on-navy);
  border-radius: var(--radius-sm);
}

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