:root {
  --paper: #f7f4ee;
  --surface: #fffdf8;
  --ink: #24211e;
  --muted: #6e6962;
  --line: rgba(36, 33, 30, .16);
  --apricot: #f39a68;
  --sage: #a5b39a;
  --cobalt: #315fc3;
  --coral: #e95748;
  --butter: #f2d36b;
  --shadow: 0 24px 70px rgba(66, 48, 32, .12);
  --pixel: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-rounded, "SF Pro Rounded", "Avenir Next", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 12px; top: -50px; z-index: 20; padding: 10px 14px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; letter-spacing: -.025em; }
.brand img { border-radius: 9px; }
.site-header nav, footer nav { display: flex; gap: 28px; align-items: center; }
.site-header nav a, footer nav a { color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: none; }
.site-header nav a:hover, footer nav a:hover { color: var(--cobalt); }

.hero {
  width: min(1180px, calc(100% - 40px));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 5vw;
  padding: 80px 0 95px;
}
.eyebrow { margin: 0 0 18px; color: var(--cobalt); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.pixel-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--coral); box-shadow: 4px 0 var(--coral), 0 4px var(--coral); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-size: clamp(3.6rem, 6.4vw, 6.3rem); line-height: .94; letter-spacing: -.07em; font-weight: 760; }
h1 em { color: var(--coral); font-style: normal; }
.lede { max-width: 560px; margin: 28px 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.27rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border: 2px solid var(--ink); border-radius: 10px; font-weight: 800; text-decoration: none; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.button:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.button.primary { color: white; background: var(--ink); }
.text-link { color: var(--cobalt); font-weight: 750; text-decoration: none; }
.tiny-note { margin: 24px 0 0; color: var(--muted); font-size: .8rem; }

.hero-art { position: relative; min-height: 620px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { width: 540px; height: 540px; }
.orbit-two { width: 420px; height: 420px; transform: rotate(14deg); border-style: dashed; }
.phone { position: relative; width: 320px; min-height: 610px; padding: 12px 18px 22px; overflow: hidden; background: var(--surface); border: 3px solid var(--ink); border-radius: 42px; box-shadow: 10px 12px 0 var(--ink), var(--shadow); }
.phone-home { transform: rotate(2.5deg); z-index: 2; }
.phone-bar { display: flex; justify-content: space-between; padding: 3px 7px 12px; font-size: .62rem; font-weight: 800; }
.app-title { display: flex; align-items: center; justify-content: space-between; font-size: .92rem; }
.round-button { display: grid; place-items: center; width: 28px; height: 28px; color: var(--cobalt); border: 1px solid var(--line); border-radius: 50%; }
.pet-stage { padding: 24px 0 10px; text-align: center; }
.pet-stage p { margin: 8px 0 12px; font-size: .78rem; }
.stats { display: flex; justify-content: center; gap: 24px; color: var(--muted); font-size: .63rem; }
.mini-heading { display: flex; justify-content: space-between; margin: 15px 0 8px; font-size: .68rem; }
.mini-heading span { color: var(--muted); font-size: .58rem; }
.blue { color: var(--cobalt) !important; }
.mini-map, .large-map { position: relative; overflow: hidden; background-color: #e7eadf; background-image: linear-gradient(45deg, rgba(255,255,255,.65) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.65) 75%); background-size: 42px 42px; border: 1px solid var(--line); border-radius: 9px; }
.mini-map { height: 112px; }
.road { position: absolute; display: block; height: 12px; width: 150%; background: #fffdf6; border-block: 1px solid #ccd0c8; transform-origin: center; }
.road.r1 { top: 28%; left: -20%; transform: rotate(-20deg); }
.road.r2 { top: 62%; left: -20%; transform: rotate(9deg); }
.road.r3 { top: 30%; left: -25%; transform: rotate(70deg); }
.road.r4 { top: 78%; left: -20%; transform: rotate(-28deg); }
.map-pin { position: absolute; z-index: 2; display: grid; place-items: center; width: 25px; height: 25px; color: white; background: var(--coral); border: 2px solid white; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); box-shadow: 0 2px 5px #6a6258aa; font-size: .58rem; font-weight: 900; }
.map-pin::first-letter { transform: rotate(45deg); }
.map-pin.p1 { left: 28%; top: 42%; }
.map-pin.p2 { right: 20%; top: 18%; background: var(--cobalt); }
.map-pin.p3 { right: 28%; bottom: 12%; background: var(--sage); }
.you-dot { position: absolute; z-index: 3; left: 52%; top: 55%; width: 13px; height: 13px; background: var(--cobalt); border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 9px #315fc322; }
.quest { display: flex; align-items: center; gap: 10px; padding: 10px 3px; border-top: 1px solid var(--line); font-size: .67rem; }
.quest small { display: block; margin-top: 3px; color: var(--muted); }
.quest-icon { font-size: .65rem; }
.coral { color: var(--coral); }
.nudge-card { position: absolute; z-index: 4; right: -5px; bottom: 78px; display: flex; align-items: center; gap: 10px; min-width: 230px; padding: 12px 14px; background: var(--surface); border: 2px solid var(--ink); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink); transform: rotate(-3deg); }
.nudge-card small, .nudge-card strong { display: block; }
.nudge-card small { color: var(--coral); font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.nudge-card strong { margin-top: 2px; }
.nudge-card .arrow { margin-left: auto; color: var(--cobalt); font-weight: 900; }

.proof-strip { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px; padding: 17px 24px; color: var(--paper); background: var(--ink); font-size: .67rem; font-weight: 850; letter-spacing: .14em; }
.proof-strip i { color: var(--butter); font-style: normal; }
.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0; }
.section-heading { max-width: 660px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
h2 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -.055em; }
.section-heading > p:last-child, .feature-copy > p { color: var(--muted); font-size: 1.07rem; line-height: 1.65; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { position: relative; min-height: 440px; padding: 24px; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); }
.apricot-card { background: #f8c6a8; transform: rotate(-1deg); }
.sage-card { background: #cbd5c4; transform: translateY(10px); }
.butter-card { background: #f6e39d; transform: rotate(1deg); }
.step-number { font: 850 .72rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.step-visual { position: relative; height: 220px; display: grid; place-items: center; }
.step-card h3 { margin: 12px 0 8px; font-size: 1.4rem; letter-spacing: -.025em; }
.step-card p { margin: 0; color: #504a44; line-height: 1.55; }
.speech-visual { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.speech-line { padding: 8px 10px; background: var(--surface); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font: 750 .75rem/1 ui-monospace, monospace; }
.speech-line.short { margin-top: 8px; }
.cursor { width: 8px; height: 18px; margin: 10px; background: var(--cobalt); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.map-visual { overflow: hidden; margin: 22px 0; height: 176px; background: #eef0e8; border: 2px solid var(--ink); border-radius: 8px; }
.map-block { position: absolute; background: #d3d5cd; border: 1px solid #a7aaa2; }
.map-block.b1 { left: 8%; top: 15%; width: 30%; height: 30%; }
.map-block.b2 { right: 8%; top: 8%; width: 40%; height: 26%; }
.map-block.b3 { right: 12%; bottom: 8%; width: 34%; height: 38%; }
.map-route { width: 130%; height: 16px; background: var(--surface); border-block: 2px solid var(--ink); transform: rotate(-27deg); }
.map-pin.big { position: absolute; left: 45%; top: 35%; width: 38px; height: 38px; }
.done-visual .spark { position: absolute; color: var(--coral); font-size: 1.6rem; }
.done-visual .s1 { left: 20%; top: 26%; }
.done-visual .s2 { right: 20%; top: 16%; color: var(--cobalt); }
.done-visual .s3 { right: 17%; bottom: 24%; font-size: 2.4rem; }

.feature-section { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 8vw; border-top: 1px solid var(--line); }
.screen-stack { position: relative; min-height: 650px; }
.phone.compact { position: absolute; width: 280px; min-height: 570px; border-radius: 36px; box-shadow: 7px 8px 0 var(--ink), var(--shadow); }
.phone-map { left: 0; top: 0; transform: rotate(-4deg); }
.phone-alert { right: 0; bottom: 0; z-index: 2; text-align: center; transform: rotate(3deg); }
.screen-kicker { margin: 12px 0 5px; color: var(--cobalt); font: 850 .62rem/1 ui-monospace, monospace; letter-spacing: .16em; }
.phone.compact h3 { margin: 0 0 16px; font-size: 1.25rem; }
.toggle { display: grid; grid-template-columns: 1fr 1fr; margin: 15px 0; padding: 3px; background: #e9e5de; border-radius: 8px; font-size: .65rem; font-weight: 800; }
.toggle span { padding: 7px; }
.toggle .active { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 1px 3px #0001; }
.search-field { padding: 10px 11px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 8px; text-align: left; font-size: .68rem; }
.large-map { height: 210px; margin: 12px 0; }
.map-controls { position: absolute; right: 8px; bottom: 8px; display: grid; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 2px 6px #0002; }
.map-controls b { display: grid; place-items: center; width: 28px; height: 26px; border-bottom: 1px solid var(--line); font-size: .7rem; }
.map-controls b:last-child { border: 0; color: var(--cobalt); }
.map-caption { text-align: left; font-size: .68rem; line-height: 1.5; }
.map-caption small { color: var(--muted); }
.fake-button { margin-top: 14px; padding: 11px; color: white; background: var(--cobalt); border-radius: 8px; font-size: .68rem; font-weight: 850; }
.coral-text { color: var(--coral); }
.phone-alert h3 { margin-top: 6px !important; font-size: 1.5rem !important; line-height: 1.05; }
.phone-alert > p:not(.screen-kicker) { color: var(--muted); font-size: .75rem; }
.coral-bg { background: var(--coral); }
.fake-button.outline { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.feature-copy { max-width: 500px; }
.feature-copy h2 { margin-bottom: 26px; }
.check-list { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; font-weight: 700; }
.check-list li { display: flex; align-items: center; gap: 12px; }
.check-list span { display: grid; place-items: center; width: 25px; height: 25px; color: white; background: var(--cobalt); border-radius: 6px; font-size: .72rem; }

.companions { border-top: 1px solid var(--line); }
.pet-parade { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pet-tile { display: flex; min-height: 245px; align-items: center; justify-content: flex-end; flex-direction: column; padding: 20px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-align: center; transition: transform .18s, box-shadow .18s; }
.pet-tile:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 4px 5px 0 var(--ink); }
.pet-tile strong { margin-top: 10px; }
.pet-tile small { margin-top: 3px; color: var(--muted); }
.roster-note { margin-top: 30px; color: var(--muted); text-align: center; font: 800 .7rem/1 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .12em; }

.download { width: min(1180px, calc(100% - 40px)); margin: 20px auto 100px; padding: 58px 6vw; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 38px; background: #f7c7aa; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 7px 7px 0 var(--ink); }
.download h2 { font-size: clamp(2.2rem, 4vw, 3.9rem); }
.download p:not(.eyebrow) { color: #5f5149; }
.store-badge { display: flex; align-items: center; gap: 10px; min-width: 190px; padding: 10px 15px; color: white; background: var(--ink); border-radius: 10px; }
.store-badge > span:first-child { font-size: 1.8rem; }
.store-badge small, .store-badge strong { display: block; }
.store-badge small { font-size: .58rem; }

footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 28px 0 45px; border-top: 1px solid var(--line); }
footer > p { color: var(--muted); font-size: .8rem; }
.copyright { grid-column: 1 / -1; margin: 0; text-align: right; }

/* Pixel pets are deliberately blocky and CSS-native: small, distinct, and easy to scale. */
.pixel-pet { --pet: var(--apricot); position: relative; display: inline-block; width: 96px; height: 96px; image-rendering: pixelated; }
.pixel-pet .body { position: absolute; left: 18%; top: 29%; width: 64%; height: 54%; background: var(--pet); border: var(--pixel) solid var(--ink); border-radius: 42% 42% 35% 35%; box-shadow: inset 0 -8px rgba(0,0,0,.06); }
.pixel-pet .ear { position: absolute; z-index: 0; top: 17%; width: 24%; height: 30%; background: var(--pet); border: var(--pixel) solid var(--ink); transform: rotate(45deg); }
.pixel-pet .ear.left { left: 19%; }
.pixel-pet .ear.right { right: 19%; }
.pixel-pet .eye { position: absolute; z-index: 2; top: 50%; width: 6px; height: 8px; background: var(--ink); }
.pixel-pet .eye.left { left: 38%; }
.pixel-pet .eye.right { right: 38%; }
.pixel-pet .mouth { position: absolute; z-index: 2; left: 47%; top: 61%; width: 10px; height: 6px; border-bottom: 3px solid var(--ink); border-left: 3px solid var(--ink); transform: rotate(-45deg); }
.pixel-pet.large { width: 132px; height: 132px; --pixel: 4px; }
.pixel-pet.medium { width: 112px; height: 112px; --pixel: 4px; }
.pixel-pet.small { width: 45px; height: 45px; --pixel: 2px; flex: 0 0 45px; }
.pixel-pet.small .eye { width: 3px; height: 4px; }
.pixel-pet.small .mouth { width: 5px; height: 3px; border-width: 0 0 2px 2px; }
.pixel-pet.momo { --pet: #f6bfc0; }
.pixel-pet.momo .body { height: 51%; border-radius: 48%; }
.pixel-pet.momo .ear { top: 8%; height: 42%; border-radius: 50%; transform: rotate(4deg); }
.pixel-pet.lumi { --pet: var(--butter); }
.pixel-pet.lumi .body { left: 20%; top: 24%; width: 60%; height: 60%; border-radius: 12%; transform: rotate(45deg); }
.pixel-pet.lumi .eye, .pixel-pet.lumi .mouth { transform: translateY(2px); }
.pixel-pet.lumi .mouth { transform: rotate(-45deg); }
.pixel-pet.moss { --pet: #7f974d; }
.pixel-pet.moss .body { top: 34%; height: 46%; border-radius: 50% 50% 35% 35%; box-shadow: -17px -4px 0 -8px var(--pet), 17px -4px 0 -8px var(--pet); }
.pixel-pet.wisp { --pet: #c9e0d4; }
.pixel-pet.wisp .body { top: 18%; height: 66%; border-radius: 50% 50% 18% 18%; clip-path: polygon(0 0, 100% 0, 100% 100%, 77% 85%, 56% 100%, 34% 85%, 0 100%); }
.pixel-pet.alert-pet { width: 135px; height: 165px; margin-top: 18px; }
.pixel-pet .sign { position: absolute; z-index: 4; left: -10px; bottom: 0; min-width: 150px; padding: 8px; background: var(--surface); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font: 850 .74rem/1 ui-monospace, monospace; }

.legal-main { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 90px 0 120px; }
.legal-main h1 { font-size: clamp(3rem, 7vw, 5.4rem); }
.legal-main .intro { margin: 25px 0 55px; color: var(--muted); font-size: 1.12rem; line-height: 1.65; }
.legal-main article { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-main h2 { margin-bottom: 16px; font-size: 1.45rem; letter-spacing: -.025em; }
.legal-main h3 { margin: 24px 0 7px; font-size: 1rem; }
.legal-main p, .legal-main li { color: #514c46; line-height: 1.7; }
.legal-main ul, .legal-main ol { padding-left: 21px; }
.legal-main a { color: var(--cobalt); font-weight: 700; }
.legal-meta { display: inline-block; margin-top: 20px; padding: 7px 10px; background: #ece7df; border-radius: 6px; color: var(--muted); font-size: .75rem; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 35px 0 55px; }
.support-card { padding: 22px; color: inherit !important; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.support-card:hover { border-color: var(--cobalt); }
.support-card span { display: block; margin-bottom: 12px; font-size: 1.5rem; }
.support-card strong { display: block; }
.support-card small { display: block; margin-top: 5px; color: var(--muted); font-weight: 500; }
.faq details { padding: 20px 0; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 780; }
.faq details p { margin-bottom: 0; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; text-align: center; }
  .hero-copy { display: grid; justify-items: center; }
  .hero-art { margin-top: 20px; }
  .steps { grid-template-columns: 1fr; }
  .step-card { min-height: 390px; transform: none; }
  .feature-section { grid-template-columns: 1fr; }
  .feature-copy { grid-row: 1; max-width: 640px; }
  .pet-parade { grid-template-columns: repeat(3, 1fr); }
  .download { grid-template-columns: auto 1fr; }
  .store-badge { grid-column: 2; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand, footer nav { justify-content: center; }
  .copyright { text-align: center; }
}

@media (max-width: 620px) {
  .site-header { min-height: 70px; }
  .site-header nav { gap: 14px; }
  .site-header nav a:first-child, .site-header nav a:nth-child(2) { display: none; }
  .hero { width: min(100% - 28px, 1180px); min-height: auto; padding: 60px 0 70px; }
  h1 { font-size: clamp(3.25rem, 17vw, 5rem); }
  .hero-art { min-height: 565px; transform: scale(.9); margin-inline: -20px; }
  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 320px; height: 320px; }
  .nudge-card { right: 5px; }
  .proof-strip { gap: 12px; }
  .proof-strip i { display: none; }
  .section { width: min(100% - 28px, 1180px); padding: 85px 0; }
  .screen-stack { min-height: 980px; }
  .phone.compact { left: 50%; right: auto; transform: translateX(-50%) rotate(-2deg); }
  .phone-alert { top: 390px; z-index: 3; transform: translateX(-50%) rotate(2deg) !important; }
  .pet-parade { grid-template-columns: repeat(2, 1fr); }
  .pet-tile:last-child { grid-column: 1 / -1; }
  .download { width: min(100% - 28px, 1180px); grid-template-columns: 1fr; text-align: center; padding: 42px 24px; }
  .download-pets { display: flex; justify-content: center; }
  .store-badge { grid-column: auto; margin: 0 auto; text-align: left; }
  footer nav { flex-wrap: wrap; gap: 15px 22px; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
