*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(37, 99, 168, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(232, 163, 23, 0.07), transparent 55%),
    var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-xs);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 0 0 0.75em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

p {
  margin: 0 0 1.1em;
  max-width: 70ch;
  color: var(--color-text-soft);
}

p:last-child { margin-bottom: 0; }

ul, ol {
  margin: 0 0 1.25em;
  padding-left: 1.2em;
  color: var(--color-text-soft);
}

strong { color: var(--color-text); font-weight: 650; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

address { font-style: normal; }

.visually-hidden {
  position: absolute !important;
  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: 1rem;
  top: -4rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.container {
  width: min(100% - 2.5rem, var(--container-lg));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, var(--container-md));
  margin-inline: auto;
}

.container--text {
  width: min(100% - 2.5rem, var(--container-sm));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
  position: relative;
}

.section--soft {
  background: var(--color-bg-soft);
}

.section--surface {
  background: var(--color-surface);
}

.section--dark {
  background: linear-gradient(145deg, #0d1f33 0%, #0d4f5c 100%);
  color: #eef4f8;
}

.section--dark p,
.section--dark li {
  color: rgba(238, 244, 248, 0.82);
}

.section--dark h2,
.section--dark h3,
.section--dark strong {
  color: #fff;
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 42rem;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--color-energy);
  border-radius: 2px;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-soft);
  max-width: 58ch;
}

.tech-grid-bg {
  background-image:
    linear-gradient(var(--color-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
  background-size: 48px 48px;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  border: 0;
  margin: 0;
}
