/* About and Roadmap (design W 4), on top of home.css. */

main > section > .inner {
  padding-block: 43px;
}
h1 {
  font-size: clamp(2.6875rem, 1.6rem + 4.6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.048em;
}
main h2 {
  font-size: clamp(2.125rem, 1.4rem + 3vw, 3.375rem);
  line-height: 1.12;
  letter-spacing: -0.044em;
}
.bodycopy p + p {
  margin-top: 17px;
}
.marker {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.marker::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -4px;
  bottom: 2px;
  z-index: -1;
  height: 0.24em;
  border-radius: 50% 30% 10% 20%;
  background: var(--marker);
  transform: rotate(-2deg);
}
.wave {
  width: 120px;
  height: 27px;
  margin-top: 22px;
  stroke-width: 2.5;
}
.pencil {
  display: none;
}
.text-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 700;
  text-underline-offset: 5px;
}

/* The note screen, as a picture */
.about-note,
.release-scene .screen {
  border: 1px solid var(--rule);
  box-shadow: 0 18px 36px -25px #2a243855;
}
.about-note .app-paper,
.release-scene .app-paper {
  top: calc(var(--u) * 26);
}
.about-note .cursor,
.release-scene .cursor {
  margin-left: 3px;
  vertical-align: top;
}

/* About */
.about-hero .bodycopy {
  margin-top: 24px;
}
.about-note {
  width: 275px;
  height: 300px;
  margin: 35px auto 0;
  transform: rotate(3deg);
}
.writing .bodycopy {
  margin-top: 22px;
}
.questions {
  margin-top: 25px;
}
.questions li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 1.75rem);
  line-height: 1.3;
}
.questions li:first-child {
  padding-top: 0;
}
.questions li:last-child {
  border: 0;
}
.filing .wave {
  margin-bottom: 25px;
}
.columns {
  margin-top: 25px;
}
.columns .bodycopy + .bodycopy {
  margin-top: 17px;
}
.aim {
  margin-top: 27px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: clamp(1.3125rem, 1.2rem + 0.4vw, 1.4375rem);
  line-height: 1.5;
}

/* Closing */
.closing .bodycopy {
  max-width: 680px;
  margin-top: 22px;
}
.closing .button {
  margin-top: 26px;
}

/* Roadmap */
.road-hero .lead {
  margin-top: 25px;
  font-size: clamp(1.4375rem, 1.3rem + 0.6vw, 1.6875rem);
  line-height: 1.4;
}
.road-hero .bodycopy {
  max-width: 720px;
  margin-top: 16px;
}
.caveat {
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.road-hero .wave {
  display: none;
}
.step-number {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 50px;
  margin-bottom: 24px;
  color: var(--accent);
  font: 600 2.1875rem / 1 var(--display);
  letter-spacing: -1px;
}
.step-number svg {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 69px;
  height: 58px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
}
.step-status {
  margin-bottom: 15px;
  color: var(--accent);
  font-size: 0.875rem;
  line-height: 1.5;
}
.platforms-detail {
  margin-top: 19px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.step-one .bodycopy {
  max-width: 520px;
  margin-top: 24px;
}
.release-scene {
  position: relative;
  width: 310px;
  height: 285px;
  margin: 33px auto 0;
}
.release-scene .desktop-note {
  position: absolute;
  left: 0;
  top: 0;
  width: 280px;
  height: 175px;
  border: 7px solid var(--text);
  border-radius: 12px;
}
.release-scene .phone-note {
  position: absolute;
  right: 0;
  top: 42px;
  width: 123px;
  height: 250px;
  border: 5px solid var(--rule);
  border-radius: 18px;
  box-shadow: none;
  transform: rotate(5deg);
}
.gradual {
  max-width: 520px;
  margin-top: 32px;
  padding-top: 23px;
  border-top: 1px solid var(--rule);
}
.gradual h3 {
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.6px;
}
.gradual p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.step-grid > .bodycopy,
.step-grid .bodycopy {
  margin-top: 23px;
}
.step-grid .wave {
  display: none;
}
.not-yet {
  margin-top: 18px;
  color: var(--accent);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Desktop: the design's 1152 px composition */
@media (min-width: 75rem) {
  main > section > .inner {
    padding-block: 72px;
  }
  .bodycopy p + p {
    margin-top: 20px;
  }
  .wave {
    width: 160px;
    height: 35px;
  }
  .pencil {
    display: block;
    margin: 0;
    text-align: left;
    white-space: nowrap;
    transform: rotate(-6deg);
  }
  .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
  }

  .about-hero .inner {
    min-height: 580px;
    padding-top: 84px;
  }
  .about-hero h1 {
    max-width: 740px;
  }
  .about-hero .bodycopy {
    max-width: 600px;
    margin-top: 32px;
  }
  .about-note {
    position: absolute;
    right: 24px;
    top: 66px;
    width: 300px;
    height: 405px;
    margin: 0;
    transform: rotate(5deg);
  }
  .about-hero .pencil {
    position: absolute;
    left: 481px;
    top: 428px;
  }
  .arrow-about {
    left: 576px;
    top: 308px;
    width: 215px;
    height: 110px;
  }
  .writing .inner {
    padding-bottom: 80px;
  }
  .writing .bodycopy {
    max-width: 440px;
    margin-top: 24px;
  }
  .questions {
    margin: 0;
  }
  .questions li {
    padding: 20px 0;
  }
  .filing .wave {
    margin: 35px 0 0;
  }
  .one-place h2 {
    max-width: 680px;
  }
  .columns {
    margin-top: 36px;
  }
  .columns .bodycopy + .bodycopy {
    margin-top: 0;
  }
  .aim {
    margin-top: 38px;
    padding-top: 30px;
  }

  .closing .inner {
    padding-block: 64px 56px;
  }
  .closing-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
  }
  .closing .bodycopy {
    margin-top: 20px;
  }
  .closing .button {
    margin: 0;
  }
  .text-link {
    margin-top: 24px;
  }

  .road-hero .inner {
    min-height: 455px;
    padding-block: 76px 68px;
  }
  .road-hero .lead {
    margin-top: 32px;
  }
  .road-hero .bodycopy {
    margin-top: 12px;
  }
  .caveat {
    margin-top: 29px;
    font-size: 0.9375rem;
  }
  .road-hero .wave {
    display: block;
    position: absolute;
    right: 28px;
    top: 140px;
    width: 200px;
    margin: 0;
  }
  .step .inner {
    padding-left: 146px;
  }
  .step-number {
    position: absolute;
    left: 0;
    top: 69px;
    width: 100px;
    height: 80px;
    margin: 0;
    font-size: 3.5rem;
    letter-spacing: -3px;
  }
  .step-number svg {
    left: -3px;
    width: 108px;
    height: 89px;
  }
  .step-status {
    margin-bottom: 20px;
    font-size: 1rem;
  }
  .step-one .inner {
    min-height: 650px;
  }
  .step-one h2 {
    max-width: 600px;
  }
  .platforms-detail {
    max-width: 520px;
    margin-top: 18px;
    font-size: 1rem;
  }
  .step-one .bodycopy {
    margin-top: 27px;
  }
  .release-scene {
    position: absolute;
    right: -5px;
    top: 128px;
    width: 358px;
    height: 345px;
    margin: 0;
  }
  .release-scene .desktop-note {
    width: 320px;
    height: 205px;
  }
  .release-scene .phone-note {
    top: 85px;
    width: 143px;
    height: 300px;
  }
  .release-scene .pencil {
    position: absolute;
    left: 80px;
    top: 415px;
    font-size: 1.125rem;
  }
  .arrow-same {
    right: 60px;
    top: 475px;
    width: 200px;
    height: 80px;
  }
  .gradual {
    margin-top: 30px;
    padding-top: 25px;
  }
  .gradual h3 {
    font-size: 1.5rem;
  }
  .gradual p {
    font-size: 1.125rem;
  }
  .step-grid {
    display: grid;
    grid-template-columns: 470px 1fr;
    gap: 72px;
  }
  .step-grid h2 {
    font-size: 3.25rem;
  }
  .step-grid .bodycopy {
    margin-top: 0;
    padding-top: 40px;
  }
  .step-grid .wave {
    display: block;
    margin-top: 32px;
  }
  .step-two .inner {
    min-height: 395px;
  }
  .step-three .inner {
    min-height: 510px;
  }
  .step-three h2 {
    max-width: 300px;
  }
  .not-yet {
    margin-top: 20px;
    font-size: 1rem;
  }
}

/* Counts a page view: only a browser that draws the page asks for this image. */
[data-page="about"]::after {
  content: "";
  background-image: url("/api/visit/about");
}
[data-page="roadmap"]::after {
  content: "";
  background-image: url("/api/visit/roadmap");
}
