:root {
  color-scheme: light;
  --ink: #101820;
  --paper: #f3efe5;
  --white: #ffffff;
  --muted: #667078;
  --line: #d8ddd9;
  --lime: #c9ff62;
  --blue: #4f6bff;
  --coral: #ff6b57;
  --shadow: 0 24px 70px rgb(16 24 32 / 14%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell,
.topbar {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(16 24 32 / 16%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--ink);
  color: var(--lime);
  font-size: .8rem;
}

.quiet-link {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .5fr);
  gap: 72px;
  padding-block: clamp(70px, 9vw, 126px) 84px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .14em;
}

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

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7.4vw, 7.1rem);
  font-weight: 850;
  letter-spacing: -.072em;
  line-height: .93;
}

.lede {
  max-width: 670px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

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

.primary,
.secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  font-size: .83rem;
  font-weight: 800;
  text-decoration: none;
}

.primary {
  background: var(--ink);
  color: var(--white);
}

.primary:hover,
.primary:focus-visible {
  background: var(--blue);
}

.secondary {
  border: 1px solid rgb(16 24 32 / 26%);
}

.secondary:hover,
.secondary:focus-visible {
  border-color: var(--ink);
  background: rgb(255 255 255 / 45%);
}

.demo-note {
  align-self: end;
  border-top: 4px solid var(--coral);
  padding: 20px 0 0;
}

.demo-note strong {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.demo-note p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .88rem;
}

.promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promise article {
  min-height: 190px;
  padding: 34px;
}

.promise article + article {
  border-left: 1px solid var(--line);
}

.promise span {
  display: inline-grid;
  width: 34px;
  height: 25px;
  place-items: center;
  border-radius: 9px;
  background: var(--lime);
  font-size: .68rem;
  font-weight: 850;
}

.promise article:nth-child(2) span {
  background: #9db0ff;
}

.promise article:nth-child(3) span {
  background: var(--coral);
}

.promise h2 {
  margin: 26px 0 9px;
  font-size: 1.15rem;
}

.promise p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .9rem;
}

.preview-section {
  padding-block: 118px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading h2,
.adapt h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  letter-spacing: -.055em;
  line-height: .98;
}

.section-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.page-preview {
  display: grid;
  gap: 14px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  cursor: zoom-in;
  text-align: left;
}

.page-preview.featured {
  grid-column: 1 / -1;
  width: min(760px, 100%);
  justify-self: center;
}

.page-preview span {
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .1em;
}

.page-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgb(16 24 32 / 10%);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.page-preview:hover img,
.page-preview:focus-visible img {
  transform: translateY(-4px);
  box-shadow: 0 30px 90px rgb(16 24 32 / 21%);
}

.adapt {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, .7fr);
  gap: 54px 80px;
  align-items: end;
  border-radius: 30px;
  background: var(--lime);
  padding: clamp(44px, 7vw, 82px);
}

.adapt .eyebrow {
  color: var(--ink);
}

.adapt ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.adapt li {
  border-bottom: 1px solid rgb(16 24 32 / 28%);
  padding: 12px 0;
  font-size: .9rem;
  font-weight: 750;
}

.adapt .primary {
  grid-column: 1 / -1;
  width: fit-content;
}

.footer {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .11em;
}

.lightbox {
  width: min(94vw, 980px);
  max-width: none;
  max-height: 94vh;
  border: 0;
  border-radius: 18px;
  background: var(--ink);
  padding: 54px 20px 20px;
  color: var(--white);
}

.lightbox[open] {
  position: fixed;
  inset: 3vh auto;
  z-index: 100;
  display: block;
  overflow: auto;
}

.lightbox::backdrop {
  background: rgb(4 8 12 / 82%);
  backdrop-filter: blur(9px);
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(94vh - 100px);
  margin: 0 auto;
}

.lightbox figcaption {
  padding-top: 12px;
  color: #bdc5ca;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-align: center;
}

.close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .shell,
  .topbar {
    width: min(100% - 28px, 1180px);
  }

  .quiet-link {
    display: none;
  }

  .hero,
  .section-heading,
  .adapt {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 48px;
    padding-block: 66px;
  }

  h1 {
    font-size: clamp(3.3rem, 17vw, 5.4rem);
  }

  .demo-note {
    max-width: 430px;
  }

  .promise {
    grid-template-columns: 1fr;
  }

  .promise article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .preview-section {
    padding-block: 82px;
  }

  .section-heading {
    gap: 28px;
  }

  .page-grid {
    grid-template-columns: 1fr;
  }

  .page-preview.featured {
    grid-column: auto;
  }

  .adapt {
    gap: 38px;
    border-radius: 22px;
  }

  .adapt .primary {
    grid-column: auto;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-preview img {
    transition: none;
  }
}
