:root {
  --ink: #1f2225;
  --muted: #6b7280;
  --faint: #9ca3af;
  --coral: #e8806a;
  --paper: #f8f7f4;
  --card: #ffffff;
  --butter: #fdf0d2;
  --butter-ink: #c98f1f;
  --peach: #fde7df;
  --peach-ink: #e0705a;
  --lilac: #ece6f6;
  --lilac-ink: #8a73c0;
  --sky: #e2edf8;
  --sky-ink: #5b8fc7;
  --mint: #e4f1e1;
  --mint-ink: #5f9a57;
  --teal: #dcf0ee;
  --teal-ink: #3b9389;
  --shadow: 0 1px 2px rgba(31, 34, 37, 0.04), 0 8px 24px rgba(31, 34, 37, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
}

body {
  min-height: 100dvh;
  background: linear-gradient(
    180deg,
    var(--paper) 0%,
    #faf9f6 50%,
    #fcfbf9 100%
  );
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
    "Microsoft YaHei", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.muted {
  color: var(--muted);
}

.button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border: 0;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button.quiet {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.button:active {
  opacity: 0.7;
}

.face {
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 1px 4px rgba(31, 34, 37, 0.1);
}

/* An invitation */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.joining .lang {
  margin-left: auto;
}

.stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 8px 0 44px;
}

.invite {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 410px;
  padding: 26px 22px 24px;
  border-radius: 32px;
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: center;
}

.invite h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.bubble {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 16px 5px 5px;
  border-radius: 999px;
  background: var(--peach);
  font-size: 15px;
  font-weight: 600;
}

.bubble .face {
  width: 40px;
  height: 40px;
}

.home {
  position: relative;
  width: 272px;
  height: 200px;
  margin: 4px 0 2px;
  overflow: visible;
}

.home::before {
  position: absolute;
  bottom: 0;
  left: 36px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--peach);
  content: "";
}

.home .roof {
  position: absolute;
  top: 8px;
  left: 0;
  width: 100%;
}

.home .faces {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  display: flex;
  justify-content: center;
}

.home .faces .face {
  width: 88px;
  height: 88px;
  margin: 0 -8px;
}

.home .faces .face:nth-child(2) {
  z-index: 1;
  transform: translateY(-10px);
}

.home .heart {
  position: absolute;
  top: -4px;
  left: 124px;
  width: 24px;
}

.home .sparkle {
  position: absolute;
  top: 24px;
  left: 28px;
  width: 16px;
}

.waiting {
  color: var(--muted);
  font-size: 14px;
}

.names {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: -6px 0 6px;
  padding: 0;
  list-style: none;
}

.names li {
  max-width: 100%;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.lost {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.lost .face {
  width: 96px;
  height: 96px;
  margin: 0 -8px;
  filter: saturate(0.85);
}

.hint {
  color: var(--faint);
  font-size: 13px;
}

/* The landing page */
.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  font-size: 19px;
  font-weight: 800;
}

.top img {
  border-radius: 10px;
}

.top .soon {
  margin-left: auto;
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.lang {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.lang a {
  padding: 4px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.lang a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  padding: 12px 0 28px;
  text-align: center;
}

.hero .art {
  display: block;
  width: min(380px, 84vw);
  height: auto;
  margin: 0 auto;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(26px, 7.4vw, 54px);
  font-weight: 800;
  line-height: 1.2;
}

.hero p {
  max-width: 480px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  white-space: pre-line;
}

.cta {
  display: inline-block;
  margin-top: 26px;
  padding: 15px 34px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.decor {
  position: absolute;
  color: var(--coral);
  animation: float 5s ease-in-out infinite;
}

@media (max-width: 600px) {
  .decor.low {
    display: none;
  }

  .hero p {
    font-size: 15px;
  }
}

@keyframes float {
  50% {
    transform: translateY(-10px) rotate(var(--tilt, 6deg));
  }
}

@media (prefers-reduced-motion: reduce) {
  .decor {
    animation: none;
  }
}

/* The app, as it looks */
.showcase {
  display: flex;
  justify-content: center;
  padding: 28px 0 44px;
}

.phone {
  width: 330px;
  padding: 10px;
  border-radius: 50px;
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(31, 34, 37, 0.22);
}

.screen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 46px 14px 18px;
  overflow: hidden;
  border-radius: 40px;
  background: var(--paper);
}

.place {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 800;
}

.chev {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.strip {
  display: flex;
  gap: 14px;
}

.strip div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
}

.strip .face {
  width: 58px;
  height: 58px;
}

.strip .on {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.strip .add {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1.5px dashed var(--faint);
  border-radius: 50%;
  color: var(--muted);
  font-size: 24px;
  font-weight: 300;
}

.strip .off {
  color: var(--muted);
  font-weight: 400;
}

.card {
  padding: 14px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.pet {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(31, 34, 37, 0.07);
}

.pet .face {
  width: 54px;
  height: 54px;
}

.pet b {
  display: block;
  font-size: 19px;
}

.pet span {
  color: var(--muted);
  font-size: 13px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 10px;
  color: var(--faint);
  font-size: 12px;
}

.facts b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.quick div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 2px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
}

.tinted {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.tinted svg {
  width: 56%;
  height: 56%;
  fill: currentColor;
}

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

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

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

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

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

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

.log {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.log span {
  flex: 1;
}

.log time {
  color: var(--faint);
  font-size: 12px;
  font-weight: 400;
}

.log .tinted {
  width: 28px;
  height: 28px;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.shots img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 8%;
  border-radius: 10px;
}

/* What it does */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 18px;
  padding-bottom: 40px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.feature .head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature .tinted {
  width: 46px;
  height: 46px;
}

.feature h2 {
  font-size: 22px;
  font-weight: 800;
}

.feature > p {
  margin-top: -8px;
  color: var(--muted);
}

.kinds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.kinds div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 2px;
  border: 2px solid transparent;
  border-radius: 16px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
}

.kinds .picked {
  border-color: var(--ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips span {
  padding: 7px 14px;
  border-radius: 20px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 600;
}

.chips .picked {
  background: var(--ink);
  color: #fff;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.numbers div {
  padding: 14px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 600;
}

.numbers b {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
}

.numbers small {
  margin-left: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.people {
  display: flex;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: var(--paper);
}

.people .face {
  width: 52px;
  height: 52px;
  margin-right: -10px;
}

.people span {
  margin-left: 22px;
  color: var(--muted);
  font-size: 14px;
}

.shots.wide {
  margin-top: 0;
  gap: 8px;
}

.shots.wide img {
  border-radius: 14px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 36px;
  color: var(--faint);
  font-size: 13px;
}

.foot-paw {
  width: 16px;
  height: 16px;
  fill: var(--coral);
}
