/* 여기왔개 landing page. Colors and type follow the app (mobile/lib/app/theme.dart). */

@font-face {
  font-family: Pretendard;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/pretendard-400.woff2) format('woff2');
}
@font-face {
  font-family: Pretendard;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/pretendard-600.woff2) format('woff2');
}
@font-face {
  font-family: Pretendard;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/pretendard-800.woff2) format('woff2');
}

:root {
  --orange: #ff6b1a;
  --orange-deep: #e5520a;
  --orange-soft: #ffe6d6;
  --peach: #ff9b5e;
  --navy: #1c2541;
  --sun: #ffc531;
  --sun-soft: #fff3cc;
  --cocoa: #8b5a2b;
  --cream: #fffaf6;
  --mint: #3cc4a0;
  --mint-soft: #ddf6ee;
  --blush: #ffe4ec;
  --blush-deep: #ff8fab;
  --lav: #eee9ff;
  --lav-deep: #9d8cf2;
  --sky: #e2f1ff;
  --sky-deep: #6aa9f0;
  --ground: #fff1e4;
  --ink-2: rgba(28, 37, 65, 0.72);
  --ink-3: rgba(28, 37, 65, 0.5);
  --shadow: 0 12px 30px rgba(28, 37, 65, 0.13);
  --shadow-s: 0 5px 14px rgba(28, 37, 65, 0.14);
  --top-h: 56px;
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--navy);
  font: 400 16px/1.55 Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR',
    'Malgun Gothic', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  word-break: keep-all;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
  padding: 0;
}
ol,
ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  display: block;
}
i {
  font-style: normal;
}
.defs,
.probe {
  position: absolute;
  pointer-events: none;
}
/* The small viewport height: what stays visible while a phone's address bar shows. */
.probe {
  top: 0;
  left: 0;
  width: 0;
  height: 100vh;
  height: 100svh;
  visibility: hidden;
}
.ic {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 12px;
}

/* The brand dog face, shared by the logo pin and the friends' avatars. */
.df-fur {
  fill: var(--fur, #ff6b1a);
}
.df-ear {
  fill: var(--ear, #1c2541);
}
.df-muzzle {
  fill: var(--muzzle, #ffe6d6);
}
.df-ink {
  fill: var(--ink, #1c2541);
}
.df-line {
  fill: none;
  stroke: var(--ink, #1c2541);
  stroke-width: 4;
  stroke-linecap: round;
}
.df-cheek {
  fill: #ff8fab;
  opacity: 0.5;
}
.df-glint {
  fill: #fff;
}
.ava--bori {
  --fur: #fff0cf;
  --ear: #c08a52;
  --muzzle: #fff;
  --ink: #4a3423;
  --disc: var(--sun-soft);
}
.ava--choco {
  --fur: #9a6a3c;
  --ear: #5f3d1e;
  --muzzle: #f1d6b4;
  --ink: #2f1d10;
  --disc: var(--blush);
}
.ava--kong {
  --fur: #fff;
  --ear: #8c93a8;
  --muzzle: #f1f3f8;
  --disc: var(--lav);
}
.c-orange {
  color: var(--orange);
}
.c-sun {
  color: var(--sun);
}
.c-cocoa {
  color: var(--cocoa);
}
.c-sky {
  color: var(--sky-deep);
}
.c-blush {
  color: var(--blush-deep);
}
.c-lav {
  color: var(--lav-deep);
}
.c-mint {
  color: var(--mint);
}

.wordmark {
  font-weight: 800;
  letter-spacing: -0.03em;
}
.wordmark b {
  color: var(--orange);
  font-weight: 800;
}
.badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 30%;
  background: var(--cream);
  box-shadow: 0 4px 11px rgba(255, 107, 26, 0.3);
}
.badge svg {
  width: 70%;
  height: 78%;
}

/* ---- Top bar ---- */
.top {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--top-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.top > * {
  pointer-events: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-s);
}
@media (max-width: 519px) {
  .brand {
    padding: 0;
    background: none;
  }
}
.top-cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: var(--shadow-s);
  transition: transform 0.15s;
}
.top-cta:active {
  transform: scale(0.95);
}
.hud {
  position: absolute;
  left: 50%;
  top: calc(env(safe-area-inset-top) + 10px);
  height: 36px;
  padding: 0 14px 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-s);
  font-size: 13.5px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transform: translate(-50%, -8px) scale(0.9);
  opacity: 0;
  transition:
    opacity 0.25s,
    transform 0.3s cubic-bezier(0.2, 1.3, 0.4, 1);
  pointer-events: none;
}
.walk-on .hud {
  opacity: 1;
  transform: translate(-50%, 0);
}
.hud b {
  font-weight: 800;
}
.hud-state {
  color: var(--ink-3);
  font-weight: 600;
}
.hud-sep {
  color: var(--ink-3);
}
.hud-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  animation: blink 1.2s ease-in-out infinite;
}
.walk-done .hud-dot {
  background: var(--mint);
  animation: none;
}
@media (max-width: 519px) {
  .top .wordmark {
    display: none;
  }
  .hud-state {
    display: none;
  }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--top-h) + env(safe-area-inset-top) + 14px) 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  overflow: clip;
  background: linear-gradient(180deg, #fff7ee 0%, #ffe6d3 58%, var(--ground) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  animation: drift 14s ease-in-out infinite alternate;
}
.blob--a {
  width: 46vmax;
  height: 46vmax;
  left: -18vmax;
  top: -14vmax;
  background: radial-gradient(closest-side, rgba(255, 143, 171, 0.34), rgba(255, 143, 171, 0));
}
.blob--b {
  width: 42vmax;
  height: 42vmax;
  right: -16vmax;
  top: -8vmax;
  background: radial-gradient(closest-side, rgba(157, 140, 242, 0.28), rgba(157, 140, 242, 0));
  animation-duration: 17s;
  animation-delay: -5s;
}
.blob--c {
  width: 38vmax;
  height: 38vmax;
  right: -12vmax;
  bottom: -6vmax;
  background: radial-gradient(closest-side, rgba(255, 197, 49, 0.3), rgba(255, 197, 49, 0));
  animation-duration: 19s;
  animation-delay: -9s;
}
.blob--d {
  width: 40vmax;
  height: 40vmax;
  left: -14vmax;
  bottom: -10vmax;
  background: radial-gradient(closest-side, rgba(60, 196, 160, 0.26), rgba(60, 196, 160, 0));
  animation-duration: 16s;
  animation-delay: -3s;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--orange-deep);
  font-weight: 800;
  font-size: 13.5px;
  animation: rise 0.6s cubic-bezier(0.2, 1, 0.3, 1) both;
}
.title {
  margin: 8px 0 6px;
  font-size: clamp(72px, min(23vw, 22vh), 184px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.title span {
  display: inline-block;
  animation: letter 0.75s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}
.title span:nth-child(2) {
  animation-delay: 0.08s;
}
.title span:nth-child(3) {
  animation-delay: 0.16s;
}
.title span:nth-child(4) {
  animation-delay: 0.24s;
}
.title .o {
  color: var(--orange);
}
.lead {
  font-size: clamp(17px, 2.4vw, 25px);
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink-2);
  animation: rise 0.6s cubic-bezier(0.2, 1, 0.3, 1) 0.35s both;
}
.hero-scene {
  position: relative;
  flex: 1 1 0;
  width: min(100%, 760px);
  min-height: 210px;
  margin-top: 6px;
}
.hill {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(96%, 600px);
  height: 26%;
  max-height: 120px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--mint-soft);
}
.pup-wrap {
  position: absolute;
  inset: 0 0 12px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.pup-box {
  position: relative;
  height: 100%;
  max-height: 440px;
  max-width: 82vw;
  aspect-ratio: 360 / 330;
  animation: pup-in 0.9s cubic-bezier(0.2, 1.25, 0.35, 1) 0.2s both;
}
.pup {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pup-tail {
  transform-origin: 246px 268px;
  animation: wag 0.5s ease-in-out infinite alternate;
}
.pup-head {
  transform-origin: 180px 190px;
  animation: tilt 5.5s ease-in-out infinite;
}
.pup-ear {
  transform-box: fill-box;
  transform-origin: 50% 8%;
}
.pup-ear--l {
  animation: ear-l 5.5s ease-in-out infinite;
}
.pup-ear--r {
  animation: ear-r 5.5s ease-in-out infinite;
}
.pup-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: blinking 4.2s infinite;
}
.pup-tongue {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: pant 0.8s ease-in-out infinite alternate;
}
.say {
  position: absolute;
  z-index: 2;
  right: -9%;
  top: -3%;
  padding: 8px 14px;
  border-radius: 18px 18px 18px 5px;
  background: #fff;
  box-shadow: var(--shadow-s);
  font-weight: 800;
  font-size: clamp(14px, 1.9vw, 19px);
  white-space: nowrap;
  transform-origin: 0 100%;
  animation: say 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) 1.1s both;
}
.float {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(44px, 7vw, 62px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-s);
  animation:
    float-in 0.6s cubic-bezier(0.2, 1.5, 0.4, 1) both,
    bob 3.4s ease-in-out infinite alternate;
}
.float svg {
  width: 56%;
  height: 56%;
}
.f1 {
  left: 1%;
  top: 18%;
  color: var(--orange);
  rotate: -14deg;
  animation-delay: 0.7s, -0.4s;
}
.f2 {
  right: 3%;
  top: 40%;
  color: var(--blush-deep);
  rotate: 10deg;
  animation-delay: 0.85s, -1.6s;
}
.f3 {
  left: 6%;
  top: 56%;
  color: var(--sun);
  rotate: -24deg;
  animation-delay: 1s, -2.3s;
}
.f4 {
  right: 0;
  top: 70%;
  rotate: 8deg;
  animation-delay: 1.15s, -0.9s;
}
.f5 {
  left: -1%;
  top: 82%;
  color: var(--sky-deep);
  rotate: 12deg;
  animation-delay: 1.3s, -2.9s;
}
.f6 {
  left: 15%;
  top: 0;
  color: var(--cocoa);
  rotate: -8deg;
  animation-delay: 1.45s, -1.2s;
}
.cue {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 calc(14px + env(safe-area-inset-bottom));
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  font-size: 14px;
  animation: rise 0.6s cubic-bezier(0.2, 1, 0.3, 1) 1.3s both;
}
.cue .ic {
  color: var(--orange);
  animation: nudge 1.1s ease-in-out infinite alternate;
}

/* ---- The walk ---- */
.story {
  position: relative;
  background: var(--ground);
}
.stage {
  position: relative;
  /* clip, not hidden: the map is taller than the stage and must never scroll inside it. */
  overflow: hidden;
  overflow: clip;
}
.js .story:not(.still) .stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
}
.world {
  position: relative;
}
.js .world {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  will-change: transform;
}
.js .still .world {
  position: relative;
  will-change: auto;
}
.ground,
.routes,
.items {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.routes {
  will-change: transform;
}
.route-halo,
.route-line {
  fill: none;
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.route-halo {
  stroke-width: 20;
  opacity: 0.2;
}
.route-line {
  stroke-width: 7;
}
.trail {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trail-edge {
  fill: none;
  stroke: #ffdcc2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.road {
  stroke: #fff;
  stroke-linecap: round;
}
.park {
  fill: var(--mint-soft);
}
.plot {
  fill: #ffe7d4;
}
.h-wall {
  fill: var(--wall, #fff);
}
.h-roof {
  fill: var(--roof, #ff9b5e);
  stroke: var(--roof, #ff9b5e);
  stroke-width: 7;
  stroke-linejoin: round;
}
.h-door {
  fill: var(--roof, #ff9b5e);
  opacity: 0.85;
}
.hs--a {
  --wall: #fff;
  --roof: #ff9b5e;
}
.hs--b {
  --wall: #fffaf0;
  --roof: #9d8cf2;
}
.hs--c {
  --wall: #fff;
  --roof: #6aa9f0;
}
.hs--d {
  --wall: #fff6f9;
  --roof: #ff8fab;
}
.hs--e {
  --wall: #fffdf2;
  --roof: #f2b21b;
}
.hs--me {
  --wall: #fff;
  --roof: #ff6b1a;
}
.fl--a {
  color: var(--blush-deep);
}
.fl--b {
  color: var(--lav-deep);
}
.fl--c {
  color: var(--sun);
}
.fl--d {
  color: #fff;
}

.it {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
}
.home svg {
  width: 96px;
  height: 98px;
}
.place {
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translateX(-50%) rotate(-4deg);
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  border: 2px solid #fff;
}
.startdot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mint);
  border: 4px solid #fff;
  box-shadow: 0 2px 6px rgba(28, 37, 65, 0.18);
}
.pole svg {
  width: 40px;
  height: 88px;
}
.bush svg {
  width: 62px;
  height: 45px;
}
.bigtree svg {
  width: 96px;
  height: 106px;
}
.stamp svg {
  width: var(--stamp, 60px);
  height: var(--stamp, 60px);
  rotate: -17deg;
  /* A white edge, like a sticker pressed onto the map. */
  stroke: #fff;
  stroke-width: 7;
  stroke-linejoin: round;
  paint-order: stroke;
}
.stamp--pee {
  color: var(--sun);
}
.stamp--poo {
  color: var(--cocoa);
}
.stamp--me {
  color: var(--orange);
}
.mark-o svg {
  width: 30px;
  height: 30px;
}
.mark-o--a {
  color: var(--lav-deep);
  rotate: 18deg;
}
.mark-o--b {
  color: var(--mint);
  rotate: -28deg;
}
.mark-o--c {
  color: var(--sky-deep);
  rotate: 34deg;
}
.spot {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blush);
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(255, 143, 171, 0.35);
  color: var(--blush-deep);
}
.spot svg {
  width: 46px;
  height: 46px;
  rotate: -9deg;
}
.spot-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(255, 143, 171, 0.3);
  animation: pulse 1.6s ease-out infinite;
  z-index: -1;
}
.burst {
  --r: 0px;
  --k: 0;
  width: 0;
  height: 0;
}
.burst i {
  position: absolute;
  width: 11px;
  height: 11px;
  margin: -5.5px;
  border-radius: 50%;
  background: var(--sun);
  transform: rotate(var(--a)) translateX(var(--r)) scale(var(--k));
}
.burst i:nth-child(1) {
  --a: 17deg;
}
.burst i:nth-child(2) {
  --a: 62deg;
  background: var(--blush-deep);
}
.burst i:nth-child(3) {
  --a: 107deg;
  background: var(--orange);
}
.burst i:nth-child(4) {
  --a: 152deg;
  background: var(--mint);
}
.burst i:nth-child(5) {
  --a: 197deg;
}
.burst i:nth-child(6) {
  --a: 242deg;
  background: var(--blush-deep);
}
.burst i:nth-child(7) {
  --a: 287deg;
  background: var(--lav-deep);
}
.burst i:nth-child(8) {
  --a: 332deg;
  background: var(--mint);
}
.burst--big i {
  width: 14px;
  height: 14px;
  margin: -7px;
}

.ask {
  width: var(--card-w, 292px);
  padding: 11px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.ask-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px 10px;
}
.ask-text {
  min-width: 0;
  display: grid;
  line-height: 1.3;
}
.ask-text small {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
}
.ask-text b {
  font-size: 14.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ask-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.fb {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 17px;
  font-weight: 800;
  font-size: 15.5px;
  white-space: nowrap;
}
.fb--pee {
  background: var(--sun);
  box-shadow: 0 5px 12px rgba(255, 197, 49, 0.45);
}
.fb--poo {
  background: var(--cocoa);
  color: #fff;
  box-shadow: 0 5px 12px rgba(139, 90, 43, 0.35);
}
.fb .fb-b,
.fb.pressed .fb-a {
  display: none;
}
.fb.pressed .fb-b {
  display: block;
}
.fb.pressed {
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px var(--sun);
}
.tap {
  position: absolute;
  left: 27%;
  bottom: 12px;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  border-radius: 50%;
  background: rgba(28, 37, 65, 0.22);
  border: 3px solid rgba(255, 255, 255, 0.9);
  opacity: 0;
}
.sticker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px 8px 12px;
  border-radius: 999px;
  border: 3px solid #fff;
  box-shadow: var(--shadow-s);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}
.sticker--mint {
  background: var(--mint);
}
.sticker--cocoa {
  background: var(--cocoa);
}
.sticker--lav {
  background: var(--lav-deep);
}
.ask .sticker {
  position: absolute;
  right: -8px;
  bottom: -24px;
}
.friend {
  width: var(--row-w, 300px);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.friend--r {
  flex-direction: row-reverse;
}
.ava {
  width: var(--ava, 46px);
  height: var(--ava, 46px);
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--disc, #fff);
  border: 3px solid #fff;
  box-shadow: var(--shadow-s);
}
.ava svg {
  width: 84%;
  height: 84%;
}
.bubble {
  padding: 6px 12px 7px;
  border-radius: 5px 16px 16px 16px;
  background: #fff;
  box-shadow: var(--shadow-s);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.3;
  white-space: nowrap;
  transform-origin: 0 50%;
}
.friend--r .bubble {
  border-radius: 16px 5px 16px 16px;
  text-align: right;
  transform-origin: 100% 50%;
}
.bubble b {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #f2a300;
}
.friend--r .bubble b {
  color: var(--blush-deep);
}
.friend:last-of-type .bubble b {
  color: var(--lav-deep);
}
.hearts {
  width: 0;
  height: 0;
}
.hearts svg {
  position: absolute;
  width: 18px;
  height: 18px;
  left: -9px;
  top: -9px;
  color: var(--blush-deep);
  animation: heart 2.4s linear infinite;
}
.hearts svg:nth-child(2) {
  width: 22px;
  height: 22px;
  color: var(--lav-deep);
  animation-delay: -0.8s;
}
.hearts svg:nth-child(3) {
  animation-delay: -1.6s;
}
.summary {
  width: var(--card-w, 320px);
  padding: 14px 12px 12px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}
.sum-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 800;
  font-size: 15px;
  color: var(--orange-deep);
}
.sum-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.sum-grid span {
  padding: 9px 2px 7px;
  border-radius: 16px;
  background: var(--cream);
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
  line-height: 1.25;
}
.sum-grid span:nth-child(1) {
  background: var(--orange-soft);
}
.sum-grid span:nth-child(2) {
  background: var(--sky);
}
.sum-grid span:nth-child(3) {
  background: var(--sun-soft);
}
.sum-grid span:nth-child(4) {
  background: var(--blush);
}
.sum-grid b {
  display: block;
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.sum-grid small {
  font-size: 11px;
  font-weight: 800;
  margin-left: 1px;
}

.dog {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--dog-w, 92px);
  will-change: transform;
}
.walker {
  width: 100%;
  overflow: visible;
  transition: transform 0.16s ease-out;
}
.dog.flip .walker {
  transform: scaleX(-1);
}
.w-leg,
.w-ear,
.w-eye {
  transform-box: fill-box;
}
.w-leg {
  transform-origin: 50% 10%;
}
.w-tail {
  transform-origin: 26px 56px;
  animation: wag-s 0.7s ease-in-out infinite alternate;
}
.w-ear {
  transform-origin: 50% 8%;
}
.w-eye {
  transform-origin: center;
  animation: blinking 3.6s infinite;
}
.dog.walking .walker {
  animation: trot 0.36s ease-in-out infinite alternate;
}
.dog.walking .w-leg--a {
  animation: leg-a 0.36s ease-in-out infinite alternate;
}
.dog.walking .w-leg--b {
  animation: leg-b 0.36s ease-in-out infinite alternate;
}
.dog.walking .w-ear {
  animation: ear-w 0.36s ease-in-out infinite alternate;
}
.dog.walking .w-tail {
  animation-duration: 0.22s;
}
.dog-ring {
  position: absolute;
  left: 50%;
  bottom: -2%;
  width: 70%;
  aspect-ratio: 1;
  margin-left: -35%;
  border-radius: 50%;
  background: rgba(255, 107, 26, 0.28);
  opacity: 0;
  transform: scale(0.4);
}
.dog.sniff .dog-ring {
  animation: pulse 1.3s ease-out infinite;
}

.js .caps {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
}
.cap {
  padding: 15px 18px 16px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}
.js .cap {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform, opacity;
}
html:not(.js) .caps {
  display: grid;
  gap: 16px;
  padding: 24px 16px;
  max-width: 480px;
  margin: 0 auto;
}
html:not(.js) .ground,
html:not(.js) .routes,
html:not(.js) .items,
html:not(.js) .dog {
  display: none;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px 4px 8px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12.5px;
  background: var(--orange-soft);
  color: var(--orange-deep);
}
.cap--mark .tag {
  background: var(--sun-soft);
  color: #b47a00;
}
.cap--friends .tag {
  background: var(--blush);
  color: #e5668a;
}
.cap--done .tag {
  background: var(--mint-soft);
  color: #1f9d7e;
}
.cap h2 {
  margin: 7px 0 4px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.cap-body {
  font-size: clamp(14.5px, 1.5vw, 17px);
  line-height: 1.5;
  color: var(--ink-2);
}
@media (max-width: 899px) {
  .cap-body br {
    display: none;
  }
}

/* ---- What the app is ---- */
.wrap {
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
}
.about {
  position: relative;
  padding: clamp(64px, 11vw, 120px) 0 clamp(40px, 7vw, 72px);
  background: var(--cream);
  border-radius: 44px 44px 0 0;
  margin-top: -44px;
  box-shadow: 0 -10px 30px rgba(28, 37, 65, 0.06);
}
.kicker {
  font-weight: 800;
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--orange-deep);
}
.claim {
  margin-top: 10px;
  font-size: clamp(30px, 6.2vw, 62px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.claim span {
  display: block;
  width: fit-content;
}
.hl {
  background: linear-gradient(var(--mark), var(--mark)) no-repeat 0 86% / 100% 32%;
  padding: 0 4px;
  margin: 0 -4px;
  border-radius: 6px;
}
/* The marker is drawn across each line as the heading comes into view. */
.js .claim.reveal .hl {
  background-size: 0% 32%;
  transition: background-size 0.8s cubic-bezier(0.2, 1, 0.3, 1) 0.25s;
}
.js .claim.reveal .hl--sun {
  transition-delay: 0.5s;
}
.js .claim.reveal .hl--blush {
  transition-delay: 0.75s;
}
.js .claim.reveal.in .hl {
  background-size: 100% 32%;
}
.hl--orange {
  --mark: #ffd2b5;
}
.hl--sun {
  --mark: #ffe59a;
}
.hl--blush {
  --mark: #ffc9d8;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(32px, 5vw, 56px);
}
.step {
  padding: 18px 20px 22px;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}
.step-art {
  display: grid;
  place-items: center;
  height: 132px;
  border-radius: 22px;
  background: var(--orange-soft);
}
.step--mark .step-art {
  background: var(--sun-soft);
}
.step--friends .step-art {
  background: var(--blush);
}
.step-art svg {
  width: 150px;
  height: 120px;
}
.step-route {
  fill: none;
  stroke: var(--orange);
  stroke-width: 8;
  stroke-linecap: round;
}
.step h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.step h3 i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
}
.step p {
  color: var(--ink-2);
  font-size: 15.5px;
}
.extras {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.extras li {
  padding: 14px 16px;
  border-radius: 22px;
  background: #fff;
  border: 2px solid #f6ece3;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.extras .ic {
  width: 22px;
  height: 22px;
  margin-bottom: 6px;
}
.extras b {
  display: block;
  color: var(--navy);
  font-size: 15.5px;
  font-weight: 800;
}
@media (max-width: 859px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .step {
    display: grid;
    grid-template-columns: 104px 1fr;
    column-gap: 16px;
    align-items: center;
    padding: 14px 16px 14px 14px;
    border-radius: 26px;
  }
  .step-art {
    grid-row: 1 / 3;
    height: 104px;
  }
  .step-art svg {
    width: 100px;
    height: 80px;
  }
  .step h3 {
    margin: 0 0 2px;
    font-size: 19px;
    align-self: end;
  }
  .step h3 i {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }
  .step p {
    align-self: start;
    font-size: 14.5px;
  }
  .extras {
    grid-template-columns: repeat(2, 1fr);
  }
}

.get {
  padding: 0 0 clamp(40px, 7vw, 80px);
  background: var(--cream);
}
.get-card {
  position: relative;
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 64px) 20px clamp(32px, 5vw, 56px);
  border-radius: 40px;
  background: linear-gradient(140deg, #ff8a3d 0%, var(--orange) 55%, #f2560c 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  overflow: clip;
  box-shadow: 0 18px 40px rgba(255, 107, 26, 0.32);
}
.get-paw {
  position: absolute;
  color: rgba(255, 255, 255, 0.14);
}
.get-paw svg {
  width: 100%;
  height: 100%;
}
.get-paw--a {
  width: 190px;
  height: 190px;
  left: -40px;
  bottom: -50px;
  rotate: 24deg;
}
.get-paw--b {
  width: 150px;
  height: 150px;
  right: -26px;
  top: -30px;
  rotate: -18deg;
}
.badge--xl {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  box-shadow: 0 10px 24px rgba(120, 40, 0, 0.3);
}
.get h2 {
  position: relative;
  font-size: clamp(30px, 5.4vw, 52px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.get p {
  position: relative;
  margin-top: 10px;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 600;
  opacity: 0.92;
}
.stores {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.store {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 190px;
  min-height: 62px;
  padding: 10px 24px 10px 20px;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
  text-align: left;
  box-shadow: 0 8px 18px rgba(28, 37, 65, 0.3);
  transition: transform 0.15s;
  cursor: pointer;
}
.store:hover {
  transform: translateY(-2px);
}
.store:active {
  transform: scale(0.96);
}
.store .ic {
  width: 26px;
  height: 26px;
}
.store small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.7;
  line-height: 1.2;
}
.store b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.store:focus-visible {
  outline-color: #fff;
}
@media (max-width: 459px) {
  .store {
    flex: 1 1 100%;
    justify-content: center;
  }
}

.foot {
  padding: 26px 20px calc(30px + env(safe-area-inset-bottom));
  background: var(--cream);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  color: var(--ink-3);
  font-size: 13.5px;
}
.foot .wordmark {
  color: var(--navy);
  font-size: 17px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
}
.foot a {
  padding: 6px 0;
  font-weight: 600;
}
.foot a:hover {
  color: var(--navy);
}

.toast {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: calc(26px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px 13px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(28, 37, 65, 0.35);
  opacity: 0;
  transform: translate(-50%, 24px) scale(0.9);
  transition:
    opacity 0.2s,
    transform 0.35s cubic-bezier(0.2, 1.5, 0.4, 1);
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast .ic {
  color: var(--sun);
  rotate: -14deg;
}

/* Sections below the walk rise in once (the script adds .in). */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s,
    transform 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.js .step.reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.js .step.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}
@keyframes drift {
  to {
    transform: translate(4vmax, 3vmax) scale(1.12);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
@keyframes letter {
  from {
    opacity: 0;
    transform: translateY(0.4em) scale(0.6) rotate(-8deg);
  }
}
@keyframes pup-in {
  from {
    opacity: 0;
    transform: translateY(34%) scale(0.86);
  }
}
@keyframes say {
  from {
    opacity: 0;
    transform: scale(0.2) rotate(-12deg);
  }
}
@keyframes float-in {
  from {
    opacity: 0;
    scale: 0.2;
  }
}
@keyframes bob {
  to {
    translate: 0 -12px;
  }
}
@keyframes nudge {
  to {
    transform: translateY(4px);
  }
}
@keyframes wag {
  from {
    transform: rotate(-9deg);
  }
  to {
    transform: rotate(15deg);
  }
}
@keyframes wag-s {
  from {
    transform: rotate(-12deg);
  }
  to {
    transform: rotate(14deg);
  }
}
@keyframes tilt {
  0%,
  42%,
  100% {
    transform: rotate(0);
  }
  50%,
  78% {
    transform: rotate(-6deg);
  }
  86% {
    transform: rotate(2deg);
  }
}
@keyframes ear-l {
  0%,
  42%,
  100% {
    transform: rotate(0);
  }
  50%,
  78% {
    transform: rotate(9deg);
  }
}
@keyframes ear-r {
  0%,
  42%,
  100% {
    transform: rotate(0);
  }
  50%,
  78% {
    transform: rotate(-5deg);
  }
  86% {
    transform: rotate(-12deg);
  }
}
@keyframes blinking {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.12);
  }
}
@keyframes pant {
  to {
    transform: scaleY(1.22);
  }
}
@keyframes trot {
  to {
    transform: translateY(-4%);
  }
}
.dog.flip.walking .walker {
  animation-name: trot-flip;
}
@keyframes trot-flip {
  from {
    transform: scaleX(-1);
  }
  to {
    transform: scaleX(-1) translateY(-4%);
  }
}
@keyframes leg-a {
  from {
    transform: rotate(26deg);
  }
  to {
    transform: rotate(-26deg);
  }
}
@keyframes leg-b {
  from {
    transform: rotate(-26deg);
  }
  to {
    transform: rotate(26deg);
  }
}
@keyframes ear-w {
  from {
    transform: rotate(-6deg);
  }
  to {
    transform: rotate(16deg);
  }
}
@keyframes pulse {
  from {
    opacity: 0.9;
    transform: scale(0.5);
  }
  to {
    opacity: 0;
    transform: scale(1.7);
  }
}
@keyframes heart {
  from {
    opacity: 0;
    transform: translate(0, 0) scale(0.6);
  }
  15% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate(10px, -76px) scale(1.15);
  }
}

/* No motion: the finished walk is one long picture, and nothing loops. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hearts svg:nth-child(1) {
    transform: translate(-14px, -26px);
  }
  .hearts svg:nth-child(2) {
    transform: translate(8px, -52px);
  }
  .hearts svg:nth-child(3) {
    transform: translate(22px, -18px);
  }
}
