:root {
  --ink: #202227;
  --paper: #f9f8f4;
  --yellow: #ffd759;
  --line: #c8c8c4;
  --muted: #6d7075;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.handwriting {
  font-family: "Patrick Hand", "Comic Sans MS", cursive;
}

.paper {
  background-color: #fff;
  background-image: radial-gradient(#d1d2d4 1.2px, transparent 1.2px);
  background-size: 25px 25px;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  height: 82px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  border-bottom: 1.5px solid var(--ink);
  background: rgba(249, 248, 244, 0.92);
  backdrop-filter: blur(10px);
}

.brand img {
  width: 128px;
}

.topbar .button {
  margin-left: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-size: 17px;
  font-weight: 600;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

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

.button-dark:hover {
  box-shadow: 5px 5px 0 var(--yellow);
}

.teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
  align-items: center;
  min-height: 790px;
  padding: 70px max(28px, calc((100vw - var(--max)) / 2));
}

.teaser-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
}

.teaser-title {
  min-height: 106px;
  margin: 0;
  align-self: flex-start;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1.06;
}

.teaser-title.centered {
  align-self: center;
  text-align: center;
}

.teaser-illustration {
  width: 100%;
  height: 360px;
  margin-top: 10px;
  object-fit: contain;
}

.teaser-illustration.after {
  transform: scale(1.08);
}

.quotes {
  width: min(100%, 500px);
  margin: -8px 0 0;
  font-size: 24px;
  line-height: 1.28;
}

.quotes p {
  margin: 5px 0;
}

.quotes.single {
  max-width: 480px;
  min-height: 92px;
}

.transition-arrow {
  display: flex;
  align-items: center;
}

.transition-arrow span {
  width: 66px;
  border-top: 2px solid var(--ink);
}

.transition-arrow b {
  margin-left: -6px;
  font-size: 38px;
  font-weight: 400;
  line-height: 0;
}

.hero {
  display: grid;
  min-height: 760px;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  background: var(--yellow);
}

.hero-copy {
  position: relative;
  width: min(1100px, 94vw);
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: clamp(23px, 2.5vw, 36px);
  font-weight: 700;
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(92px, 13vw, 176px);
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.hero-doodles {
  width: min(900px, 84vw);
  height: 190px;
  margin: -98px auto 38px;
  object-fit: fill;
}

.button-paper {
  background: var(--paper);
  font-family: "Patrick Hand", cursive;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.how {
  padding: 120px max(28px, calc((100vw - var(--max)) / 2));
}

.section-heading {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 90px;
  text-align: center;
}

.section-heading .overline {
  margin: 0;
  font-size: 36px;
}

.section-heading h2,
.story-heading h2,
.waitlist h2 {
  margin: 5px 0 0;
  font-size: clamp(42px, 5vw, 62px);
  letter-spacing: -0.04em;
}

.sketch-arrow {
  position: absolute;
  right: -72px;
  bottom: -58px;
  font-family: "Patrick Hand", cursive;
  font-size: 74px;
  transform: rotate(14deg);
}

.scenarios {
  display: grid;
  gap: 28px;
}

.scenario {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
  min-height: 210px;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 8px 8px 0 var(--yellow);
}

.scenario-side {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 20px;
  padding: 36px;
}

.scenario-side img {
  width: 72px;
}

.scenario-side strong {
  display: block;
  margin-bottom: 10px;
  font-size: 21px;
}

.scenario-side p {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
}

.scenario-side.solution {
  background: var(--yellow);
}

.connector {
  display: grid;
  place-items: center;
  border-right: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  font-family: "Patrick Hand", cursive;
  font-size: 46px;
}

.promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 620px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
}

.promise-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 60px 48px;
  color: white;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.promise-card:last-child {
  border-right: 0;
}

.promise-card:nth-child(2) {
  color: var(--ink);
  background: var(--yellow);
}

.promise-number {
  position: absolute;
  top: 34px;
  right: 34px;
  font-family: "Patrick Hand", cursive;
  font-size: 30px;
}

.promise-card h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 45px);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.promise-card p {
  max-width: 340px;
  margin: 26px 0 0;
  font-size: 17px;
  line-height: 1.5;
  opacity: 0.75;
}

.story {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr;
  gap: 90px;
  padding: 140px max(28px, calc((100vw - var(--max)) / 2));
}

.story-heading {
  position: relative;
  align-self: start;
  padding: 42px 30px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  text-align: center;
  transform: rotate(-4deg);
  box-shadow: 8px 8px 0 var(--ink);
}

.story-heading img {
  position: absolute;
  top: -66px;
  right: -28px;
  width: 100px;
  transform: rotate(18deg);
}

.story-copy {
  font-size: 20px;
  line-height: 1.65;
}

.story-copy p {
  margin: 0 0 26px;
}

.waitlist {
  position: relative;
  display: grid;
  min-height: 610px;
  place-items: center;
  overflow: hidden;
  padding: 100px 28px;
  color: white;
  background: var(--ink);
}

.waitlist::before {
  position: absolute;
  width: 720px;
  height: 720px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.waitlist-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.waitlist .handwriting {
  margin: 0;
  color: var(--yellow);
  font-size: 32px;
}

.waitlist-arrow {
  position: absolute;
  top: 20px;
  right: 7vw;
  width: 160px;
  filter: invert(1);
  transform: rotate(14deg);
}

.signup {
  display: grid;
  grid-template-columns: minmax(220px, 370px) auto;
  gap: 12px;
  margin-top: 42px;
}

.signup input {
  min-height: 56px;
  padding: 0 20px;
  color: var(--ink);
  border: 2px solid white;
  border-radius: 4px;
  outline: none;
  background: white;
  font: inherit;
  font-size: 17px;
}

.signup input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 215, 89, 0.25);
}

.button-yellow {
  min-height: 56px;
  background: var(--yellow);
}

.button-yellow:hover {
  box-shadow: 5px 5px 0 white;
}

.form-note {
  min-height: 22px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 42px max(28px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--ink);
  font-size: 14px;
}

footer > span:last-child {
  justify-self: end;
  color: rgba(0, 0, 0, 0.5);
}

.footer-made {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.footer-made img {
  width: 26px;
}

.beian {
  grid-column: 1 / -1;
  justify-self: center;
  color: rgba(0, 0, 0, 0.5);
  transition: color 160ms ease;
}

.beian:hover {
  color: var(--ink);
}

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

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

.story-heading.reveal {
  transform: translateY(30px) rotate(-4deg);
}

.story-heading.reveal.is-visible {
  transform: translateY(0) rotate(-4deg);
}

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

@media (max-width: 900px) {
  .teaser {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .teaser-title {
    min-height: auto;
    align-self: center;
    text-align: center;
  }

  .transition-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }

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

  .connector {
    min-height: 58px;
    border: 0;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    transform: rotate(90deg);
  }

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

  .promise-card {
    min-height: 420px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  }

  .story {
    grid-template-columns: 1fr;
    gap: 76px;
  }

  .story-heading {
    width: min(480px, 90%);
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .topbar {
    height: 70px;
    padding: 0 18px;
  }

  .brand img {
    width: 112px;
  }

  .topbar .button {
    min-height: 42px;
    gap: 10px;
    padding: 0 14px;
    font-size: 14px;
  }

  .teaser {
    padding-right: 20px;
    padding-left: 20px;
  }

  .teaser-illustration {
    height: 280px;
  }

  .quotes {
    font-size: 21px;
  }

  .hero {
    min-height: 590px;
  }

  .hero h1 {
    font-size: clamp(68px, 21vw, 100px);
  }

  .hero-doodles {
    height: 105px;
    margin-top: -53px;
  }

  .how {
    padding: 90px 18px;
  }

  .section-heading .overline {
    font-size: 28px;
  }

  .sketch-arrow {
    display: none;
  }

  .scenario-side {
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 26px 20px;
  }

  .scenario-side img {
    width: 55px;
  }

  .scenario-side p {
    font-size: 16px;
  }

  .promise-card {
    min-height: 350px;
    padding: 45px 28px;
  }

  .story {
    padding: 110px 20px 90px;
  }

  .story-copy {
    font-size: 17px;
  }

  .waitlist-arrow {
    width: 100px;
  }

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

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  footer > span:last-child {
    justify-self: center;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
