body {
  margin: 0;
  background: #111111;
  color: #F2EEE3;
  font-family: "IBM Plex Mono", monospace;
}

a { color: #F2EEE3; }
a:hover { color: #FF6B4A; }

/* Whole design fits one screen; on very small screens it scrolls instead of squashing */
.page {
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  box-sizing: border-box;
  padding: 20px 24px 28px;
  max-width: 1248px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.5vh, 32px);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 3.2vh, 26px);
  line-height: 1.17;
  text-decoration: none;
}
.logo img { height: 1.83em; width: auto; box-sizing: border-box; border: 2px solid #F2EEE3; }
.links { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 0.95rem; }
.links a { text-decoration: none; padding: 8px 0; }

.hero { display: flex; flex-direction: column; gap: clamp(6px, 1.5vh, 16px); }
.eyebrow { margin: 0; font-size: 0.9rem; letter-spacing: 0.12em; color: #A8A49A; }
h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.75rem, min(5vw, 8vh), 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.accent { color: #FF6B4A; }

.figure {
  margin: 0;
  flex: 1 1 0;
  min-height: 0;
  position: relative;
}
.sch { position: absolute; inset: 0; width: 100%; height: 100%; }
.sch text { font-family: "IBM Plex Mono", monospace; }

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 32px;
}
.lede {
  margin: 0;
  flex: 1 1 480px;
  max-width: 700px;
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  line-height: 1.5;
  color: #D9D5CA;
}
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.btn, .btn-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.btn { padding: 0 32px; background: #F2EEE3; color: #111111; }
.btn:hover { color: #111111; background: #FF6B4A; }

/* Wide screens: text on the left, diagram fills the right */
@media (min-width: 900px) and (min-aspect-ratio: 3/2) {
  .page {
    max-width: none;
    min-height: 420px;
    padding-inline: clamp(24px, 4vw, 64px);
    display: grid;
    grid-template-columns: 2fr 3fr;
    grid-template-rows: auto 1fr 1fr;
    grid-template-areas:
      "nav nav"
      "hero fig"
      "foot fig";
    column-gap: 40px;
    row-gap: clamp(16px, 3vh, 32px);
  }
  .nav { grid-area: nav; }
  .hero { grid-area: hero; align-self: end; }
  .figure { grid-area: fig; }
  .footer-row { grid-area: foot; flex-direction: column; align-items: flex-start; align-self: start; gap: clamp(16px, 3vh, 28px); }
  .lede { flex: none; }
  h1 { font-size: clamp(1.75rem, min(3.4vw, 7vh), 4rem); }
}
