:root {
  --ink: #111827;
  --muted: #53606c;
  --line: #d9e0e6;
  --paper: #ffffff;
  --wash: #eef4f2;
  --accent: #0f766e;
  --accent-dark: #12433f;
  --blue: #1d4ed8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.hero,
.band,
.demo,
footer {
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 56px);
}

.hero {
  min-height: calc(100vh - 62px);
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.hero-copy,
.section-head,
.demo > div {
  max-width: 720px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.lede {
  max-width: 600px;
  font-size: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

figure {
  margin: 0;
  min-width: 0;
}

img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.18);
}

.band {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fit-grid,
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

article {
  padding: 20px;
  border: 1px solid var(--line);
  background: #fbfcfd;
}

article p {
  margin-bottom: 0;
  font-size: 15px;
}

.demo {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(220px, 390px);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
}

.demo img {
  max-width: 390px;
  justify-self: center;
}

.scope-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
}

footer {
  padding-top: 24px;
  padding-bottom: 24px;
}

footer p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .fit-grid,
  .scope-grid,
  .demo {
    grid-template-columns: 1fr;
  }

  h1 {
    width: min(100%, 340px);
    font-size: 40px;
    overflow-wrap: break-word;
  }
}

@media (max-width: 460px) {
  nav {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    width: min(100%, 320px);
    font-size: 32px;
  }

  .lede {
    width: min(100%, 320px);
    font-size: 18px;
  }

  .button {
    width: 100%;
  }
}
