@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #f3f7fb;
  --bg-soft: #ffffff;
  --bg-elevated: #f8fbff;
  --text: #112033;
  --text-muted: #44556a;
  --line: #c7d5e4;
  --accent: #0b72d0;
  --accent-strong: #04589e;
  --accent-soft: #d9ecff;
  --highlight: #f06f4f;
  --success: #0b9158;
  --shadow: 0 14px 36px rgba(17, 32, 51, 0.1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -20%, #d5f1ff 0%, rgba(213, 241, 255, 0) 52%),
    radial-gradient(circle at 88% -10%, #ffe6de 0%, rgba(255, 230, 222, 0) 48%),
    linear-gradient(180deg, #f6fbff 0%, #f1f6fb 100%);
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(17, 32, 51, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 32, 51, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.25;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.5rem;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 4rem);
}

h2 {
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
}

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

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

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

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-strong);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.78rem;
}

.lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 66ch;
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .container {
    width: min(1140px, calc(100% - 1.1rem));
  }

  .section {
    padding: clamp(1.5rem, 6vw, 2.4rem) 0;
  }

  .lead {
    max-width: 100%;
  }
}
