@font-face {
  font-family: "DynaPuff";
  src: url("fonts/dynapuff.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: "Gaegu";
  src: url("fonts/gaegu.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #15244c;
  --paper: #fef6e1;
  --paper-shade: #fcf0d4;
  --apricot: #fcbb7c;
  --blush: #f4a9a0;
  --sky: #bfe3f0;
  --meadow: #a9c99a;
  --lavender: #d9c8ec;
  --wood: #9a6a4b;
  --wood-dark: #5a3b2e;
  --reward: #fbe7a1;
  --done: #6fa06a;
  --line: 3px;
  --edge: 0 5px 0 var(--ink);
  --round: 18px;
  --puff: "DynaPuff", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --hand: "Gaegu", "Comic Sans MS", cursive;
  --read: ui-rounded, -apple-system, "SF Pro Rounded", system-ui, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--puff);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  line-height: 1.1;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 12px;
  font-weight: 600;
}

.skip:focus {
  top: 16px;
}

.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border: var(--line) solid var(--ink);
  border-radius: 13px;
}

.chip-link {
  display: inline-block;
  padding: 7px 16px 8px;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: transform 120ms ease-out, box-shadow 120ms ease-out;
}

.chip-link:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--sky);
}

.hero-body {
  position: relative;
  padding: 36px 0 300px;
}

.sign {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 26px 22px 24px;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--edge);
}

.sign h1 {
  font-size: clamp(2.15rem, 7.4vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.sign .lede {
  margin-top: 18px;
  max-width: 34em;
  font-size: 1.125rem;
}

.soon-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 24px;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 13px;
  background: var(--paper-shade);
  border: var(--line) dashed var(--ink);
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.2;
}

.soon svg {
  flex: none;
}

@media (max-width: 420px) {
  .sign {
    padding-inline: 18px;
  }

  .soon {
    padding: 11px 16px 12px;
    font-size: 0.96875rem;
  }

  .soon svg {
    display: none;
  }
}

.hero-pet {
  position: absolute;
  z-index: 1;
  left: 66%;
  bottom: 96px;
  width: clamp(150px, 21vw, 280px);
  transform: translateX(-50%);
  transform-origin: 50% 100%;
}

.hill {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 118px;
}

.doodle {
  position: absolute;
  color: var(--paper);
}

.hero .doodle-a {
  left: 3%;
  top: 150px;
  display: none;
}

.hero .doodle-b {
  right: 9%;
  top: 110px;
}

.hero .doodle-c {
  right: 34%;
  bottom: 300px;
  display: none;
}

@media (min-width: 900px) {
  .hero-body {
    min-height: 620px;
    padding: 64px 0 190px;
  }

  .sign {
    width: 56%;
    padding: 36px 38px 34px;
  }

  .hero-pet {
    left: 72%;
    bottom: 100px;
  }

  .hero .doodle-a,
  .hero .doodle-c {
    display: block;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-pet {
    animation: arrive 900ms cubic-bezier(0.34, 1.4, 0.64, 1) 250ms both;
  }

  @keyframes arrive {
    from {
      opacity: 0;
      transform: translate(-30%, 24px) rotate(-6deg);
    }

    to {
      opacity: 1;
      transform: translate(-50%, 0) rotate(0);
    }
  }
}

.day {
  background: var(--meadow);
  padding: 32px 0 96px;
}

.folder-tab {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 0 calc(-1 * var(--line)) 22px;
  padding: 12px 24px 10px;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  font-size: clamp(1.5rem, 4.4vw, 2.25rem);
  font-weight: 700;
}

.map {
  position: relative;
  padding: 36px 18px 64px;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 6px 0 var(--ink);
}

.map-intro {
  max-width: 36em;
  margin: 0 0 40px 66px;
}

.road {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.road path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.road .road-edge {
  stroke: var(--ink);
  stroke-width: 26;
}

.road .road-bed {
  stroke: var(--paper-shade);
  stroke-width: 20;
}

.road .road-dots {
  stroke: var(--wood);
  stroke-width: 3.5;
  stroke-dasharray: 0.1 13;
  opacity: 0.7;
}

.road .road-walked {
  stroke: var(--apricot);
  stroke-width: 20;
}

.walker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 66px;
  pointer-events: none;
  visibility: hidden;
}

.walker.is-ready {
  visibility: visible;
}

.walker.is-walking {
  transform-origin: 50% 100%;
  animation: bob 320ms ease-in-out infinite alternate;
}

@keyframes bob {
  from {
    transform: translateY(0) rotate(-4deg);
  }

  to {
    transform: translateY(-5px) rotate(4deg);
  }
}

.places {
  position: relative;
  display: grid;
  gap: 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.place {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 22px;
  align-items: start;
}

.stop {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  width: 48px;
  height: 48px;
  margin-top: 2px;
  background: var(--apricot);
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  transition: background-color 300ms ease;
}

.js .stop.is-ahead {
  background: var(--paper);
  border-style: dashed;
}

.place-text {
  grid-column: 2;
  grid-row: 1;
  max-width: 30em;
}

.place-media {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}

.when {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 14px 4px;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.place h3 {
  font-size: clamp(1.5rem, 4.6vw, 2.1rem);
  margin-bottom: 10px;
}

.phone {
  width: min(240px, 100%);
  padding: 8px;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 40px;
  box-shadow: 0 6px 0 var(--ink);
}

.phone img {
  border-radius: 32px;
  outline: 2px solid var(--ink);
}

.postcard {
  width: min(280px, 100%);
  transform: rotate(-2.5deg);
  filter: drop-shadow(0 6px 0 var(--ink));
}

@media (min-width: 860px) {
  .map {
    padding: 56px 40px 88px;
  }

  .map-intro {
    margin: 0 auto 56px;
    text-align: center;
  }

  .places {
    gap: 12px;
  }

  .place {
    grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr);
    align-items: center;
    column-gap: 0;
  }

  .stop {
    grid-column: 2;
    justify-self: center;
    margin-top: 0;
  }

  .place-text,
  .place-media {
    grid-row: 1;
  }

  .place-text {
    grid-column: 1;
    justify-self: end;
    width: min(100%, 25em);
  }

  .place-media {
    grid-column: 3;
    justify-self: start;
  }

  .place:nth-child(even) .place-text {
    grid-column: 3;
    justify-self: start;
  }

  .place:nth-child(even) .place-media {
    grid-column: 1;
    justify-self: end;
  }

  .phone {
    width: 250px;
  }

  .postcard {
    width: 300px;
  }
}

.promises {
  background: var(--lavender);
  padding: 88px 0 96px;
}

.promises-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.promises h2 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
}

.promises h2 span {
  display: block;
}

.promises-lead p {
  margin-top: 18px;
  max-width: 30em;
  font-size: 1.125rem;
}

.sad-pet {
  width: 150px;
  margin-top: 28px;
}

.note {
  position: relative;
  margin-left: 16px;
  padding: 28px 26px 30px 46px;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 20px;
  box-shadow: 0 6px 0 var(--ink);
  font-family: var(--hand);
  font-size: 1.375rem;
  line-height: 1.3;
}

.note::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: -17px;
  width: 44px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='58'%3E%3Ccircle cx='32' cy='29' r='5' fill='%2315244C'/%3E%3Crect x='3' y='22' width='34' height='14' rx='7' fill='%239A6A4B' stroke='%2315244C' stroke-width='3'/%3E%3C/svg%3E") top center / 44px 58px repeat-y;
}

.note-title {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 14px;
}

.note ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.note li {
  position: relative;
  padding-left: 28px;
}

.note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 13px;
  height: 13px;
  background: var(--apricot);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
}

.note-sign {
  margin-top: 18px;
  text-align: right;
}

@media (min-width: 900px) {
  .promises-grid {
    grid-template-columns: 5fr 6fr;
    gap: 72px;
  }

  .note {
    padding: 40px 44px 40px 60px;
    font-size: 1.625rem;
  }
}

.plans {
  background: var(--paper-shade);
  padding: 88px 0 104px;
}

.plans-head {
  max-width: 38em;
}

.plans h2 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
}

.plans-head p {
  margin-top: 16px;
  font-size: 1.125rem;
}

.plans-grid {
  display: grid;
  gap: 112px 48px;
  margin-top: 48px;
  align-items: start;
}

.panel {
  position: relative;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: var(--round);
  box-shadow: 0 6px 0 var(--ink);
}

.includes {
  padding: 26px 22px 28px;
}

.includes h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.includes h3 + ul + h3 {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 2.5px dashed var(--ink);
}

.includes ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.includes li {
  position: relative;
  padding-left: 32px;
}

.includes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.3em;
  width: 18px;
  height: 18px;
}

.dots li::before {
  top: 0.42em;
  left: 4px;
  width: 13px;
  height: 13px;
  background: var(--apricot);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
}

.stars li::before {
  top: 0.16em;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M11 2.2l2.7 5.6 6.1.8-4.5 4.2 1.1 6.1L11 16l-5.4 2.9 1.1-6.1-4.5-4.2 6.1-.8z' fill='%23FBE7A1' stroke='%2315244C' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.plan-side {
  position: relative;
}

.peek {
  position: absolute;
  right: 22px;
  top: -104px;
  width: 112px;
  z-index: 0;
}

.plan-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 14px;
}

.tile {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: var(--line) solid var(--ink);
  border-radius: 14px;
}

.tile-year {
  background: var(--reward);
}

.tile-month {
  background: var(--lavender);
}

.tile-life {
  background: var(--blush);
}

.plan h3 {
  font-size: 1.25rem;
}

.plan p {
  margin-top: 2px;
  font-size: 0.9375rem;
  line-height: 1.35;
}

.price {
  padding: 5px 12px 6px;
  background: var(--reward);
  border: var(--line) solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.0625rem;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .plan {
    grid-template-columns: 52px minmax(0, 1fr);
    row-gap: 10px;
  }

  .plan .tile {
    grid-row: span 2;
    align-self: start;
  }

  .price {
    grid-column: 2;
    justify-self: start;
  }
}

.fine {
  margin-top: 20px;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.closing {
  display: grid;
  justify-items: start;
  gap: 16px;
  margin-top: 36px;
}

.closing p {
  font-size: 1.125rem;
}

@media (min-width: 900px) {
  .plans-grid {
    grid-template-columns: 7fr 5fr;
    margin-top: 64px;
  }

  .includes {
    padding: 34px 36px 36px;
  }
}

.foot {
  background: var(--wood-dark);
  color: var(--paper);
  padding: 56px 0 48px;
  border-top: var(--line) solid var(--ink);
}

.foot-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.foot-pet {
  width: 120px;
}

.foot-name {
  font-size: 1.25rem;
  font-weight: 650;
}

.foot-name span {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.85;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-links a {
  display: inline-block;
  padding: 8px 16px 9px;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 4px 0 var(--ink);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.foot-links a:active {
  transform: translateY(4px);
  box-shadow: none;
}

.foot :focus-visible {
  outline-color: var(--paper);
}

@media (min-width: 900px) {
  .foot-grid {
    grid-template-columns: auto 1fr auto;
    gap: 36px;
  }
}

.page {
  background: var(--sky);
  min-height: 100vh;
}

.page .top {
  padding-bottom: 8px;
}

.doc {
  position: relative;
  max-width: 760px;
  margin: 32px auto 0;
  padding: 32px 22px 40px 40px;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--ink);
  font-family: var(--read);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.doc::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: -17px;
  width: 44px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='58'%3E%3Ccircle cx='32' cy='29' r='5' fill='%2315244C'/%3E%3Crect x='3' y='22' width='34' height='14' rx='7' fill='%239A6A4B' stroke='%2315244C' stroke-width='3'/%3E%3C/svg%3E") top center / 44px 58px repeat-y;
}

.doc h1,
.doc h2 {
  font-family: var(--puff);
}

.doc h1 {
  font-size: clamp(1.9rem, 6vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.doc h2 {
  font-size: 1.375rem;
  margin: 36px 0 10px;
}

.doc p,
.doc ul {
  margin: 0 0 14px;
  max-width: 66ch;
}

.doc ul {
  padding-left: 1.3em;
}

.doc li {
  margin-bottom: 8px;
}

.doc li::marker {
  color: var(--wood);
}

.doc .updated {
  display: inline-block;
  margin-bottom: 22px;
  padding: 2px 12px 3px;
  background: var(--paper-shade);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 0.9375rem;
}

.doc mark {
  padding: 0 3px;
  background: var(--reward);
  color: var(--ink);
  border-radius: 4px;
  outline: 1.5px dashed var(--ink);
}

.doc a {
  overflow-wrap: anywhere;
}

.page .foot {
  margin-top: 72px;
}

@media (min-width: 700px) {
  .doc {
    margin-top: 48px;
    padding: 52px 56px 56px 72px;
  }
}

.lost {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 16px;
  background: var(--lavender);
  text-align: center;
}

.lost-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 30em;
}

.lost img {
  width: min(240px, 60vw);
}

.lost h1 {
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 700;
}

.lost p {
  font-size: 1.125rem;
}

.lost .chip-link {
  margin-top: 6px;
  background: var(--apricot);
  padding: 11px 24px 12px;
  font-size: 1.125rem;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
