:root {
  --ink: #1b2130;
  --ink-soft: #555e70;
  --paper: #f7f8fc;
  --white: #ffffff;
  --sun: #ffd53d;
  --sun-pale: #fff2ad;
  --cobalt: #4556d8;
  --mint: #34bd96;
  --coral: #ff6c62;
  --line: rgba(27, 33, 48, 0.14);
  --shadow: 0 20px 60px rgba(29, 36, 55, 0.14);
  --font-display: "Songti SC", "STSong", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 72px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 72px;
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  line-height: 1;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links > a:not(.nav-download) {
  position: relative;
}

.nav-links > a:not(.nav-download)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--ink);
  transition: right 180ms ease;
}

.nav-links > a:hover::after,
.nav-links > a:focus-visible::after {
  right: 0;
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.nav-download {
  min-height: 42px;
  color: var(--white);
  background: var(--ink);
}

.button:hover,
.button:focus-visible,
.nav-download:hover,
.nav-download:focus-visible {
  transform: translateY(-2px);
}

.button svg,
.nav-download svg {
  width: 18px;
  height: 18px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 86svh;
  max-height: 820px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 96px max(24px, calc((100vw - 1180px) / 2)) 70px;
  background-color: var(--sun-pale);
  background-image: url("assets/app-overview@2x.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-shape {
  position: absolute;
  inset: 0 auto 0 0;
  width: 63%;
  background: rgba(255, 242, 173, 0.94);
  clip-path: polygon(0 0, 92% 0, 74% 100%, 0 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(640px, 56vw);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.story-copy h3,
.growth-copy h2,
.report-copy h2,
.download-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
}

.hero h1 {
  margin: 18px 0 4px;
  font-size: 78px;
  line-height: 1.04;
}

.hero-lead {
  max-width: 570px;
  margin: 0;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 750;
}

.hero-detail {
  max-width: 540px;
  margin: 18px 0 0;
  color: #394155;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button-primary {
  color: var(--white);
  background: var(--cobalt);
  box-shadow: 0 12px 28px rgba(69, 86, 216, 0.28);
}

.button-ghost {
  color: var(--ink);
  border-color: rgba(27, 33, 48, 0.3);
  background: rgba(255, 255, 255, 0.42);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(27, 33, 48, 0.2);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  color: #475064;
  font-size: 12px;
  font-weight: 650;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta svg {
  width: 15px;
  height: 15px;
}

.platform-note {
  min-height: 22px;
  margin: 8px 0 0;
  color: #475064;
  font-size: 12px;
}

.pet-sprite {
  aspect-ratio: 192 / 208;
  background-image: url("assets/pet-blue-beanie-spritesheet.webp");
  background-repeat: no-repeat;
  background-size: 800% 900%;
  background-position: 0 0;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-pet {
  position: absolute;
  right: max(4vw, calc((100vw - 1260px) / 2));
  bottom: 6%;
  z-index: 3;
  width: 178px;
  filter: none;
}

.hero-next {
  position: absolute;
  left: 50%;
  bottom: 15px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  transform: translateX(-50%);
}

.hero-next svg {
  width: 16px;
  height: 16px;
  animation: nudge 1.7s ease-in-out infinite;
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.proof-strip {
  min-height: 116px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.proof-strip > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  border-right: 1px solid var(--line);
}

.proof-strip > div:last-child {
  border-right: 0;
}

.proof-strip strong {
  font-family: var(--font-display);
  font-size: 24px;
}

.proof-strip span {
  color: var(--ink-soft);
  font-size: 13px;
}

.story-section,
.workshop-section,
.faq-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 72px;
}

.section-heading h2,
.growth-copy h2,
.report-copy h2,
.download-copy h2 {
  margin: 18px 0 0;
  font-size: 48px;
  line-height: 1.2;
}

.section-heading > p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.35fr);
  gap: 72px;
  align-items: center;
  margin-bottom: 128px;
}

.story-row:last-child {
  margin-bottom: 0;
}

.story-row-reverse .story-copy {
  order: 2;
}

.story-row-reverse .product-media {
  order: 1;
}

.story-index {
  color: var(--cobalt);
  font-size: 14px;
  font-weight: 800;
}

.story-copy h3 {
  margin: 10px 0 18px;
  font-size: 36px;
  line-height: 1.28;
}

.story-copy > p {
  margin: 0;
  color: var(--ink-soft);
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 650;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check-list svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--mint);
  stroke-width: 3;
}

.product-media,
.workshop-media {
  margin: 0;
}

.product-media img,
.workshop-media img,
.report-band img {
  width: 100%;
  height: auto;
  aspect-ratio: 24 / 17;
  object-fit: cover;
  border: 1px solid rgba(27, 33, 48, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-media figcaption {
  margin-top: 13px;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: right;
}

.supervision-section {
  color: var(--white);
  background: var(--ink);
}

.supervision-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0 120px;
}

.section-heading-light {
  max-width: 720px;
}

.section-heading-light > p {
  color: #c7ccda;
}

.reminder-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-top: 22px;
}

.reminder-line {
  position: absolute;
  top: 28px;
  left: 4px;
  right: 4px;
  height: 2px;
  background: #4d5568;
}

.reminder-step {
  position: relative;
  padding-top: 36px;
}

.reminder-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 2px var(--sun);
}

.reminder-time {
  color: var(--sun);
  font-size: 13px;
  font-weight: 800;
}

.reminder-step strong {
  display: block;
  margin-top: 7px;
  font-size: 19px;
}

.reminder-step p {
  margin: 6px 0 0;
  color: #aeb5c5;
  font-size: 13px;
}

.growth-section {
  background: var(--sun);
}

.growth-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 64px;
  align-items: center;
}

.growth-copy > p {
  max-width: 650px;
  margin: 22px 0 0;
  color: #343b4a;
}

.growth-equation {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.growth-equation > div {
  display: flex;
  flex-direction: column;
  min-width: 106px;
}

.growth-equation strong {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
}

.growth-equation span {
  margin-top: 7px;
  color: #4d4a35;
  font-size: 12px;
  font-weight: 700;
}

.growth-equation svg {
  width: 19px;
  height: 19px;
}

.growth-bonus {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
}

.growth-bonus svg {
  width: 19px;
  height: 19px;
}

.pet-stage {
  min-height: 390px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 12px;
  padding: 34px 26px 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff8d4;
  box-shadow: 14px 14px 0 var(--ink);
}

.pet-stage .pet-sprite {
  width: 100%;
  max-height: 270px;
  align-self: end;
}

.pet-stage span {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.workshop-media {
  position: relative;
}

.workshop-media figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.workshop-media figcaption span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-size: 12px;
  font-weight: 750;
}

.report-band {
  padding: 96px 0;
  background: #e7f8f1;
}

.report-band-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  align-items: center;
}

.report-copy p {
  color: var(--ink-soft);
}

.download-section {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 90px max(24px, calc((100vw - 1180px) / 2));
  background: var(--sun-pale);
}

.download-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
}

.download-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.download-copy {
  position: relative;
  z-index: 2;
  width: min(600px, 50%);
}

.download-copy p {
  color: var(--ink-soft);
}

.download-copy .button {
  margin-top: 18px;
}

.download-meta {
  display: block;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 12px;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  transition: transform 160ms ease;
}

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: -4px 44px 24px 0;
  color: var(--ink-soft);
}

.site-footer {
  min-height: 132px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
  color: #c4cada;
  background: var(--ink);
  font-size: 12px;
}

.brand-footer {
  color: var(--white);
}

.brand-footer img {
  width: 36px;
  height: 36px;
}

.site-footer p {
  text-align: center;
}

.site-footer > span {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  .nav-links {
    position: absolute;
    top: 64px;
    right: 20px;
    width: min(320px, calc(100vw - 40px));
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 12px;
  }

  .nav-download {
    margin-top: 6px;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero-shape {
    width: 74%;
  }

  .hero-copy {
    width: min(620px, 70vw);
  }

  .hero-pet {
    right: 3vw;
    width: 144px;
  }

  .story-row,
  .report-band-inner,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .story-row-reverse .story-copy,
  .story-row-reverse .product-media {
    order: initial;
  }

  .growth-inner {
    grid-template-columns: 1fr;
  }

  .pet-stage {
    min-height: 340px;
  }

  .faq-section .section-heading {
    margin-bottom: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 64px;
  }

  .nav-shell {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: 86svh;
    max-height: none;
    align-items: flex-start;
    padding: 96px 20px 88px;
    background-position: 62% center;
  }

  .hero-shape {
    width: 100%;
    background: rgba(255, 242, 173, 0.91);
    clip-path: none;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    margin-top: 14px;
    font-size: 54px;
  }

  .hero-lead {
    max-width: 320px;
    font-size: 22px;
  }

  .hero-detail {
    max-width: 340px;
    font-size: 14px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 320px;
  }

  .hero-meta {
    max-width: 320px;
    gap: 8px 12px;
  }

  .hero-pet {
    right: 12px;
    bottom: 40px;
    width: 96px;
  }

  .hero-next {
    display: none;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip > div {
    min-height: 96px;
  }

  .proof-strip > div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .story-section,
  .workshop-section,
  .faq-section {
    width: calc(100% - 32px);
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .section-heading h2,
  .growth-copy h2,
  .report-copy h2,
  .download-copy h2 {
    font-size: 36px;
  }

  .story-row {
    gap: 34px;
    margin-bottom: 88px;
  }

  .story-copy h3 {
    font-size: 29px;
  }

  .supervision-inner,
  .growth-inner,
  .report-band-inner {
    width: calc(100% - 32px);
  }

  .supervision-inner {
    padding: 76px 0 88px;
  }

  .reminder-track {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 12px;
  }

  .reminder-line {
    top: 26px;
    bottom: 26px;
    left: 18px;
    width: 2px;
    height: auto;
  }

  .reminder-step {
    padding: 0 0 0 46px;
  }

  .reminder-step::before {
    top: 3px;
    left: 0;
  }

  .growth-inner {
    padding: 76px 0 90px;
  }

  .growth-equation {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .growth-equation svg {
    transform: rotate(90deg);
  }

  .pet-stage {
    min-height: 280px;
    padding: 24px 12px 18px;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .report-band {
    padding: 76px 0;
  }

  .download-section {
    min-height: 660px;
    align-items: flex-start;
    padding: 70px 20px 300px;
  }

  .download-copy {
    width: 100%;
  }

  .download-art {
    inset: auto 0 0;
    width: 100%;
    height: 270px;
  }

  .download-art img {
    object-position: center 22%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 36px 20px;
    text-align: center;
  }

  .site-footer p,
  .site-footer > span {
    justify-self: center;
    margin: 0;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
