/* WEB-004: one-stop pet life. Shared routes retain their existing layout. */
body[data-page="home"],
body[data-page="app"] {
  background: #faf9f5;
  color: #263f35;
}
body[data-page="home"] .container,
body[data-page="app"] .container {
  width: calc(100% - 80px);
  max-width: 1200px;
}
.p-home h1,
.p-app-page h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.1rem);
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.04em;
}
.p-home h2,
.p-app-page h2 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.p-home h3,
.p-app-page h3 {
  font-weight: 600;
  line-height: 1.55;
}
.p-home svg,
.p-app-page svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.p-home p,
.p-app-page p {
  color: #68756b;
  line-height: 1.95;
}
.p-home .button,
.p-app-page .button {
  border-radius: 9px;
  gap: 20px;
  font-size: 0.94rem;
}
.p-home .text-link {
  gap: 16px;
}
.p-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.81rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #4b6457;
  margin-bottom: 25px;
}
.p-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ad724c;
}
.p-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: center;
  min-height: 660px;
  padding-block: 42px 58px;
}
.p-hero h1 {
  margin-bottom: 26px;
  white-space: nowrap;
}
.p-hero h1 em {
  color: #53745e;
  position: relative;
}
.p-hero h1 em:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 9px;
  border-top: 2px solid #b9c8ab;
  border-radius: 50%;
  transform: rotate(-2deg);
}
.p-hero-copy > p {
  font-size: 1.06rem;
  margin-bottom: 34px;
}
.p-hero .actions {
  flex-wrap: wrap;
  gap: 24px;
}
.p-hero-note {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  font-size: 0.73rem;
  color: #6b786c;
}
.p-hero-note span + span {
  border-left: 1px solid #b6c2b3;
  padding-left: 16px;
  color: #90998b;
}
.p-hero-scene {
  min-height: 540px;
  position: relative;
  isolation: isolate;
}
.p-scene-orbit {
  position: absolute;
  inset: 50px 0 10px 15px;
  background: #e5ebdd;
  border-radius: 50% 50% 12px 12px;
  transform: rotate(3deg);
  z-index: -2;
}
.p-scene-word {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  color: #8e9e88;
  transform: rotate(8deg);
  line-height: 1.5;
}
.p-mini-app {
  position: absolute;
  top: 52px;
  left: 10px;
  width: 270px;
  min-height: 376px;
  border: 7px solid #fff;
  border-radius: 30px;
  background: #f8f8f1;
  box-shadow: 0 14px 48px #283e3020;
  transform: rotate(-7deg);
  padding: 22px 16px;
  color: #2b493b;
}
.p-mini-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 25px;
}
.p-mini-top svg {
  width: 18px;
}
.p-small-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: #788477;
}
.p-mini-pet {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 15px -4px 18px;
}
.p-mini-pet img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.p-mini-pet strong {
  font-size: 1.06rem;
  display: block;
}
.p-mini-pet span {
  font-size: 0.6rem;
  display: block;
  margin-top: 3px;
  color: #758275;
}
.p-mini-actions {
  display: flex;
  justify-content: space-around;
  border-block: 1px solid #dfe5d8;
  padding: 17px 0;
  margin-bottom: 18px;
}
.p-mini-actions > span {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 0.6rem;
}
.p-mini-actions svg {
  width: 21px;
}
.p-mini-todo {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 10px 6px;
  background: white;
  border-radius: 9px;
}
.p-mini-todo strong {
  font-size: 0.65rem;
  display: block;
}
.p-mini-todo div > span {
  font-size: 0.58rem;
  display: block;
  color: #6c796d;
  margin-top: 4px;
}
.p-mini-caption {
  font-size: 0.55rem;
  display: block;
  text-align: center;
  color: #8a9386;
  margin-top: 16px;
}
.p-hero-cat {
  position: absolute;
  width: 340px;
  max-width: 67%;
  right: -4px;
  bottom: 0;
  filter: drop-shadow(0 12px 10px #294f4010);
}
.p-scene-sticker {
  position: absolute;
  right: 7px;
  top: 127px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px;
  background: #eacbad;
  transform: rotate(9deg);
  font-size: 0.82rem;
  line-height: 1.7;
  border-radius: 3px;
  color: #714c34;
}
.p-scene-star {
  position: absolute;
  left: 26px;
  bottom: 38px;
  color: #b87447;
  font-size: 3rem;
  transform: rotate(10deg);
}
.p-feature-index {
  border-block: 1px solid #e3e6dc;
  padding: 28px 0;
  background: #f1f3ec;
  scroll-margin-top: 20px;
}
.p-index-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.79rem;
  color: #667560;
  margin-bottom: 24px;
}
.p-index-caption span + span {
  font-size: 0.68rem;
  color: #86927e;
}
.p-feature-index nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.p-feature-index a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-right: 1px solid #d9e1d2;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.p-feature-index a:first-child {
  padding-left: 0;
}
.p-feature-index a:last-child {
  border: 0;
}
.p-feature-index a:hover {
  background: #e6ecdf;
}
.p-feature-index small {
  display: block;
  font-size: 0.59rem;
  color: #8b7864;
}
.p-index-arrow {
  margin-left: auto;
  font-size: 0.8rem;
  color: #87927d;
}
.p-section {
  padding-block: 108px;
}
.p-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.p-label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  color: #789071;
  margin-bottom: 23px;
}
.p-label > span {
  color: #ac7955;
  margin-right: 12px;
}
.p-lead {
  font-size: 0.98rem;
}
.p-benefits {
  list-style: none;
  padding: 10px 0 0;
  margin: 22px 0 0;
  display: grid;
  gap: 20px;
}
.p-benefits li {
  display: flex;
  gap: 20px;
  align-items: start;
}
.p-benefits li > span {
  font-size: 0.63rem;
  color: #a47e59;
  border-bottom: 1px solid #c9cdbb;
  line-height: 2.5;
}
.p-benefits strong {
  font-size: 0.9rem;
  font-weight: 600;
}
.p-benefits p {
  font-size: 0.79rem;
  margin: 4px 0 0;
}
.p-profile {
  background: #fff;
  border: 1px solid #e2e7db;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 15px 60px #354d2b08;
  min-width: 0;
}
.p-demo-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #74866c;
  gap: 8px;
}
.p-demo-tag {
  border: 1px solid #dbe2d3;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.6rem;
  white-space: nowrap;
}
.p-pet-id {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-block: 22px;
}
.p-pet-id img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}
.p-pet-id strong {
  font-size: 1.5rem;
  font-weight: 550;
}
.p-pet-id strong span {
  font-size: 0.6rem;
  color: #76866d;
  vertical-align: middle;
  margin-left: 12px;
  background: #f1f3e9;
  padding: 4px 10px;
  border-radius: 15px;
}
.p-pet-id p {
  font-size: 0.7rem;
  margin: 4px 0 0;
}
.p-tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 9px;
  background: #eef2e9;
}
.p-tabs button {
  flex: 1;
  border: 0;
  background: none;
  color: #6b7b64;
  border-radius: 6px;
  padding: 10px 6px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;
}
.p-tabs button[aria-selected="true"] {
  background: #fff;
  color: #2e523e;
  box-shadow: 0 1px 6px #354e2f12;
}
.p-tabs button:focus-visible {
  outline: 2px solid #ad7448;
  outline-offset: 1px;
}
.p-demo-panel {
  min-height: 256px;
  padding-top: 25px;
}
.p-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 16px 0 20px;
  gap: 20px 16px;
}
.p-facts dt {
  font-size: 0.66rem;
  color: #87927e;
}
.p-facts dd {
  font-size: 0.8rem;
  margin: 4px 0 0;
}
.p-demo-foot {
  font-size: 0.63rem !important;
  padding-top: 14px;
  margin: 0;
  border-top: 1px solid #edf0e7;
}
.p-food-example {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  padding: 17px 12px;
  border-radius: 10px;
  background: #f6f0e5;
}
.p-food-example > span:first-child {
  background: #eadbc0;
  padding: 12px;
  border-radius: 50%;
  display: flex;
}
.p-food-example strong {
  font-size: 0.85rem;
}
.p-food-example p {
  font-size: 0.65rem;
  margin: 5px 0 0;
}
.p-tag {
  font-size: 0.6rem;
  color: #8a7656;
  margin-left: auto;
}
.p-demo-panel > p:not(.p-demo-foot) {
  font-size: 0.8rem;
}
.p-todo-line {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 15px 0;
  padding: 8px 0;
}
.p-todo-line strong {
  font-size: 0.8rem;
  font-weight: 500;
}
.p-todo-line small {
  display: block;
  color: #84917d;
  font-size: 0.65rem;
}
.p-check {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dce9d3;
  color: #3c6c45;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.p-empty-check {
  width: 26px;
  height: 26px;
  border: 1px solid #d5ddcc;
  border-radius: 50%;
  flex-shrink: 0;
}
.p-collar-band {
  background: #294f40;
  color: #f8f5e9;
  padding: 65px 0;
}
.p-collar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.p-collar-band h2 {
  color: #f4f4e9;
}
.p-collar-band p {
  color: #c6d2c4;
}
.p-collar-band .p-label {
  color: #c3d2b2;
}
.p-collar-band .p-label > span {
  color: #d4ab83;
}
.p-collar-band .text-link {
  color: #ecdfc8;
}
.p-status-note {
  font-size: 0.7rem;
  max-width: 440px;
  line-height: 1.8 !important;
  margin-top: 23px;
}
.p-collar-tags {
  display: flex;
  gap: 18px;
  font-size: 0.75rem;
  padding-top: 7px;
}
.p-collar-visual {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse, #3d634f 0, transparent 68%);
}
.p-collar-loop {
  width: 288px;
  height: 215px;
  border: 24px solid #afbf94;
  border-bottom-color: #91a47d;
  border-right-color: #9fb18a;
  transform: rotate(-20deg);
  border-radius: 50%;
  box-shadow:
    inset 0 3px 3px #182d2860,
    0 26px 24px #142b2940;
  position: relative;
}
.p-collar-device {
  position: absolute;
  left: 72px;
  bottom: -49px;
  width: 90px;
  height: 86px;
  border: 5px solid #d3cbb8;
  border-radius: 24px;
  background: #f1eadc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 10px #213f3350;
  color: #4f6752;
}
.p-collar-device svg {
  width: 33px;
  height: 33px;
}
.p-collar-device span {
  font-size: 8px;
  margin-top: 4px;
}
.p-collar-visual > span {
  position: absolute;
  bottom: 0;
  font-size: 0.6rem;
  color: #b3c1ab;
  letter-spacing: 0.08em;
}
.p-team-section {
  background: #f2f0e8;
}
.p-team-switch {
  margin-top: 30px;
  max-width: 410px;
}
.p-team-switch .p-tabs {
  background: #e5e8dc;
  margin-bottom: 26px;
}
.p-team-switch [role="tabpanel"] {
  min-height: 160px;
}
.p-team-switch h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.p-team-switch p {
  font-size: 0.85rem;
}
.p-team-art {
  position: relative;
  padding: 20px;
}
.p-team-orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  border: 1px dashed #bac5ae;
  border-radius: 50%;
  margin: auto;
  display: grid;
  place-items: center;
}
.p-team-orbit img {
  width: 74%;
  border-radius: 50%;
  mix-blend-mode: multiply;
}
.p-team-orbit > span {
  position: absolute;
  display: grid;
  place-items: center;
  border: 7px solid #f2f0e8;
  border-radius: 50%;
  width: 76px;
  height: 76px;
  background: #dbe4cf;
  font-size: 0.8rem;
}
.p-team-orbit > span:nth-child(1) {
  left: 0;
  top: 10%;
}
.p-team-orbit > span:nth-child(2) {
  right: -15px;
  top: 29%;
  background: #e6cdb5;
}
.p-team-orbit > span:nth-child(3) {
  left: 24%;
  bottom: -25px;
  background: #9eaf92;
  color: white;
}
.p-team-note {
  background: #fffdfa;
  border-radius: 10px;
  display: flex;
  gap: 15px;
  align-items: center;
  position: relative;
  margin: 20px 0 0 auto;
  width: max-content;
  max-width: 95%;
  padding: 18px 22px;
  box-shadow: 0 8px 25px #4f684015;
  transform: rotate(-3deg);
}
.p-team-note strong {
  font-size: 0.82rem;
  font-weight: 500;
}
.p-team-note small {
  display: block;
  font-size: 0.63rem;
  color: #829079;
  margin-top: 4px;
}
.p-art-caption {
  display: block;
  text-align: center;
  font-size: 0.6rem;
  color: #89927e;
  margin-top: 20px;
}
.p-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.p-section-heading h2 {
  margin-bottom: 0;
}
.p-section-heading > p {
  font-size: 0.88rem;
  margin: 0;
}
.p-community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 20px;
}
.p-community-card {
  padding: 25px 25px 20px;
  border-radius: 14px;
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.p-community-card:hover {
  transform: translateY(-4px);
}
.p-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
}
.p-card-top i {
  font-style: normal;
  color: #7c8e71;
}
.p-community-card h3 {
  font-size: 1.25rem;
  margin: 17px 0 10px;
}
.p-community-card p,
.p-community-side p {
  font-size: 0.73rem;
  margin: 0;
}
.p-knowledge {
  background: #e8ecdf;
}
.p-goods {
  background: #eee5d5;
}
.p-book-art {
  height: 190px;
  position: relative;
  display: grid;
  place-items: center;
}
.p-book-art > div {
  width: 125px;
  background: #45634c;
  color: #eef1df;
  box-shadow:
    5px 5px 0 #f4f3e4,
    7px 7px 0 #738267;
  transform: rotate(-12deg);
  padding: 22px 17px;
  border-left: 5px solid #829372;
  font-size: 1.35rem;
  line-height: 1.6;
}
.p-book-art div > span {
  font-size: 6px;
  display: block;
  letter-spacing: 1px;
  margin-top: 12px;
}
.p-book-art > span {
  position: absolute;
  right: 16px;
  top: 23px;
  font-size: 2rem;
  color: #b0916b;
}
.p-bowl-art {
  height: 190px;
  position: relative;
  display: grid;
  place-items: center;
}
.p-bowl-art > span {
  font-size: 0.85rem;
  position: absolute;
  top: 18px;
  left: 15px;
  color: #8b7359;
  transform: rotate(-8deg);
}
.p-bowl-art i {
  position: absolute;
  width: 145px;
  height: 70px;
  bottom: 10px;
  background: #b97248;
  border-radius: 12px 12px 50px 50px;
  transform: rotate(-6deg);
}
.p-bowl-art i:before {
  content: "";
  position: absolute;
  inset: -15px 0 auto;
  height: 32px;
  border-radius: 50%;
  background: #664e37;
  border: 7px solid #dca77d;
}
.p-community-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.p-community-side > a {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #dde3d5;
  border-radius: 14px;
  padding: 24px;
}
.p-community-side > a:hover {
  background: #f0f3e9;
}
.p-community-side h3 {
  font-size: 1.05rem;
  margin: 12px 0 9px;
}
.p-community-symbol {
  font-size: 2.8rem;
  color: #8b9d79;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}
.p-community-side > a:last-child .p-community-symbol {
  color: #b38b71;
}
.p-caption {
  font-size: 0.68rem;
  margin: 20px 0 0;
  color: #88907e !important;
}
.p-ai-section {
  padding: 85px 0;
  background: #ecf0e5;
}
.p-ai-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.p-ai-topics span {
  padding: 6px 12px;
  border: 1px solid #d0dac5;
  border-radius: 4px;
  font-size: 0.72rem;
}
.p-ai-demo {
  padding: 28px;
  background: #fafbf7;
  border: 1px solid #dce4d2;
  border-radius: 18px;
}
.p-ai-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.p-ai-identity > span {
  padding: 11px;
  display: flex;
  background: #365c47;
  color: #e6efdb;
  border-radius: 12px;
}
.p-ai-identity strong {
  font-size: 0.87rem;
  font-weight: 500;
}
.p-ai-identity small {
  display: block;
  font-size: 0.59rem;
  color: #89947f;
  margin-top: 4px;
}
.p-chat-question {
  background: #e1e9d8;
  border-radius: 10px 10px 0 10px;
  padding: 17px;
  font-size: 0.8rem;
  color: #3e5a43 !important;
  margin-left: 35px;
}
.p-chat-answer {
  font-size: 0.8rem;
  line-height: 1.9;
  padding: 10px 12px;
  color: #62775b;
}
.p-chat-answer > span {
  font-size: 0.78rem;
}
.p-chat-answer ol {
  padding-left: 22px;
  margin: 20px 0;
}
.p-chat-answer li {
  padding-left: 8px;
  margin-bottom: 12px;
  font-size: 0.73rem;
}
.p-chat-answer li strong {
  display: block;
  color: #39593e;
  font-weight: 500;
  font-size: 0.8rem;
}
.p-ai-sign {
  border-top: 1px solid #e4e9de;
  padding-top: 13px;
  display: block;
  color: #7d8c71;
  font-size: 0.68rem !important;
}
.p-service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #dbe2d3;
  border-bottom: 1px solid #dbe2d3;
}
.p-service-list article {
  padding: 28px 24px 32px;
  border-right: 1px solid #dbe2d3;
}
.p-service-list article:first-child {
  padding-left: 0;
}
.p-service-list article:last-child {
  border: 0;
}
.p-service-list article > span {
  font-size: 0.72rem;
  color: #9eab91;
}
.p-service-list h3 {
  font-size: 1.15rem;
  margin: 18px 0 12px;
}
.p-service-list p {
  font-size: 0.78rem;
  margin-bottom: 20px;
}
.p-service-list small {
  font-size: 0.61rem;
  padding: 4px 9px;
  background: #eeede6;
  border-radius: 4px;
  color: #8b816b;
}
.p-story {
  text-align: center;
  padding: 80px 0;
  background: #e9e9dd;
}
.p-story h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.5rem);
}
.p-story p {
  font-size: 0.88rem;
}
.p-story-values {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  font-size: 0.73rem;
  color: #7e8a70;
}
.p-story-values span:before {
  content: "✳︎";
  margin-right: 10px;
  color: #9ba68c;
}
.p-closing {
  padding-block: 70px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.p-closing img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.p-closing .p-label {
  margin-bottom: 10px;
}
.p-closing h2 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}
.p-closing p {
  font-size: 0.8rem;
  margin: 0;
}
.p-closing > .button {
  margin-left: auto;
  flex-shrink: 0;
}
.p-app-hero {
  text-align: center;
  padding-block: 80px;
  background: radial-gradient(ellipse at bottom, #e4ebd9, transparent 66%);
}
.p-app-hero h1 {
  margin-bottom: 25px;
}
.p-app-hero p {
  font-size: 1rem;
}
.p-app-hero .button {
  margin-top: 16px;
}
.p-app-directory > article {
  padding: 40px 0;
  border-top: 1px solid #dee4d6;
  display: flex;
  gap: 28px;
  scroll-margin-top: 110px;
}
.p-app-directory > article > svg {
  width: 36px;
  height: 36px;
  padding: 6px;
  background: #e5ecd9;
  border-radius: 7px;
}
.p-app-directory .p-label {
  margin-bottom: 12px;
}
.p-app-directory h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.p-app-directory p {
  max-width: 780px;
  font-size: 0.9rem;
}
.p-app-page .download-section {
  margin-top: 50px;
}
@media (max-width: 1100px) {
  .p-split,
  .p-collar-grid {
    gap: 45px;
  }
  .p-hero {
    gap: 0;
    min-height: 600px;
  }
  .p-mini-app {
    width: 242px;
    left: 0;
  }
  .p-hero-cat {
    width: 300px;
    right: -12px;
  }
  .p-scene-sticker {
    right: -5px;
    top: 115px;
    font-size: 0.7rem;
    padding: 12px;
  }
  .p-feature-index a {
    padding-inline: 10px;
    gap: 8px;
    font-size: 0.75rem;
  }
  .p-index-arrow {
    display: none;
  }
  .p-community-grid {
    gap: 15px;
  }
  .p-community-card {
    padding: 22px 18px;
  }
  .p-community-side > a {
    padding: 20px 15px;
    gap: 12px;
  }
}
@media (max-width: 820px) {
  body[data-page="home"] .container,
  body[data-page="app"] .container {
    width: calc(100% - 40px);
  }
  .p-hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
    gap: 8px;
  }
  .p-hero-copy {
    text-align: center;
  }
  .p-hero h1 {
    font-size: clamp(2rem, 7vw, 3.4rem);
    white-space: normal;
  }
  .p-hero .actions {
    justify-content: center;
  }
  .p-hero-note {
    justify-content: center;
    margin-top: 30px;
  }
  .p-hero-scene {
    width: 470px;
    max-width: 100%;
    min-height: 460px;
    margin: auto;
  }
  .p-mini-app {
    top: 45px;
    left: 20px;
    width: 245px;
  }
  .p-hero-cat {
    width: 300px;
    right: 0;
  }
  .p-scene-sticker {
    right: 0;
    top: 95px;
  }
  .p-scene-orbit {
    inset: 40px 20px 0;
  }
  .p-feature-index nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 0;
  }
  .p-feature-index a:first-child {
    padding-left: 12px;
  }
  .p-feature-index a:nth-child(3) {
    border: 0;
  }
  .p-index-caption {
    font-size: 0.75rem;
  }
  .p-index-caption span + span {
    display: none;
  }
  .p-section {
    padding-block: 65px;
  }
  .p-split,
  .p-collar-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .p-profile-section {
    max-width: 600px !important;
  }
  .p-profile {
    max-width: 540px;
    width: 100%;
    margin: auto;
  }
  .p-lead br {
    display: none;
  }
  .p-team-art {
    max-width: 430px;
    width: 100%;
    margin: auto;
  }
  .p-collar-grid {
    gap: 45px;
  }
  .p-collar-visual {
    grid-row: 2;
    min-height: 310px;
  }
  .p-collar-band {
    padding-block: 55px;
  }
  .p-section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .p-section-heading > p {
    margin-top: 18px;
  }
  .p-community-grid {
    grid-template-columns: 1fr 1fr;
  }
  .p-community-side {
    grid-column: 1/-1;
    flex-direction: row;
  }
  .p-community-side > a {
    width: 50%;
  }
  .p-ai-section {
    padding-block: 60px;
  }
  .p-ai-demo {
    max-width: 540px;
  }
  .p-service-list {
    grid-template-columns: 1fr 1fr;
  }
  .p-service-list article:nth-child(2) {
    border-right: 0;
  }
  .p-service-list article:nth-child(3) {
    border-top: 1px solid #dbe2d3;
    padding-left: 0;
  }
  .p-service-list article:nth-child(4) {
    border-top: 1px solid #dbe2d3;
  }
  .p-story {
    padding-block: 60px;
  }
  .p-closing {
    flex-wrap: wrap;
    gap: 20px;
    padding-block: 50px;
  }
  .p-closing > .button {
    margin-left: 110px;
  }
  .p-closing h2 {
    font-size: 1.65rem;
  }
  .p-app-hero {
    padding-block: 55px;
  }
  .p-app-hero h1 {
    font-size: clamp(2rem, 6vw, 3.4rem);
  }
}
@media (max-width: 480px) {
  body[data-page="home"] .container,
  body[data-page="app"] .container {
    width: calc(100% - 36px);
  }
  .p-kicker {
    font-size: 0.65rem;
    margin-bottom: 20px;
  }
  .p-hero {
    padding-top: 34px;
    padding-bottom: 35px;
  }
  .p-hero h1 {
    font-size: 2.05rem;
    margin-bottom: 24px;
  }
  .p-hero-copy > p {
    font-size: 0.88rem;
    margin-bottom: 24px;
  }
  .p-hero .actions {
    gap: 15px;
  }
  .p-hero .button {
    font-size: 0.8rem;
    padding: 13px 17px;
  }
  .p-hero .text-link {
    font-size: 0.75rem;
  }
  .p-hero-note {
    font-size: 0.59rem;
    gap: 9px;
    margin-top: 25px;
  }
  .p-hero-note span + span {
    padding-left: 9px;
  }
  .p-hero-scene {
    min-height: 385px;
    margin-top: 12px;
  }
  .p-mini-app {
    width: 210px;
    top: 33px;
    left: 5px;
    min-height: 310px;
    padding: 17px 12px;
    border-width: 5px;
    border-radius: 25px;
  }
  .p-mini-top {
    margin-bottom: 17px;
  }
  .p-mini-pet {
    margin: 8px -4px 15px;
  }
  .p-mini-pet img {
    width: 48px;
    height: 48px;
  }
  .p-mini-pet strong {
    font-size: 0.85rem;
  }
  .p-mini-actions {
    padding: 12px 0;
    margin-bottom: 10px;
  }
  .p-mini-todo {
    padding: 8px 4px;
  }
  .p-mini-todo strong {
    font-size: 0.6rem;
  }
  .p-mini-todo div > span {
    font-size: 0.53rem;
  }
  .p-mini-caption {
    margin-top: 12px;
  }
  .p-hero-cat {
    width: 230px;
    max-width: 70%;
    right: -7px;
    bottom: 0;
  }
  .p-scene-sticker {
    right: -2px;
    top: 73px;
    padding: 10px;
    font-size: 0.57rem;
    gap: 8px;
  }
  .p-scene-sticker svg {
    width: 18px;
  }
  .p-scene-star {
    font-size: 2rem;
    left: 20px;
    bottom: 12px;
  }
  .p-scene-word {
    font-size: 0.48rem;
    right: 6px;
    top: 8px;
  }
  .p-feature-index {
    padding-block: 22px;
  }
  .p-feature-index a {
    font-size: 0.65rem;
    gap: 7px;
    padding: 8px 7px;
  }
  .p-feature-index a:first-child {
    padding-left: 7px;
  }
  .p-feature-index svg {
    width: 18px;
    height: 18px;
  }
  .p-feature-index small {
    font-size: 0.49rem;
  }
  .p-index-caption {
    font-size: 0.67rem;
    margin-bottom: 17px;
  }
  .p-label {
    font-size: 0.68rem;
    margin-bottom: 18px;
  }
  .p-home h2,
  .p-app-page h2 {
    font-size: 1.7rem;
    margin-bottom: 20px;
  }
  .p-lead {
    font-size: 0.88rem;
  }
  .p-benefits {
    gap: 17px;
  }
  .p-profile {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .p-pet-id {
    gap: 10px;
  }
  .p-pet-id p {
    font-size: 0.62rem;
  }
  .p-pet-id img {
    width: 64px;
    height: 64px;
  }
  .p-tabs button {
    font-size: 0.72rem;
    padding: 10px 5px;
  }
  .p-demo-panel {
    min-height: 262px;
  }
  .p-facts {
    gap: 20px 9px;
  }
  .p-facts dd {
    font-size: 0.72rem;
  }
  .p-team-note {
    padding: 14px;
    margin-top: 25px;
  }
  .p-team-note strong {
    font-size: 0.73rem;
  }
  .p-team-note small {
    font-size: 0.56rem;
  }
  .p-team-orbit > span {
    width: 65px;
    height: 65px;
    font-size: 0.68rem;
  }
  .p-team-orbit > span:nth-child(2) {
    right: -8px;
  }
  .p-community-grid {
    gap: 12px;
  }
  .p-community-card {
    padding: 18px 14px;
  }
  .p-card-top {
    font-size: 0.65rem;
  }
  .p-community-card h3 {
    font-size: 1rem;
    margin-top: 15px;
  }
  .p-community-card p {
    font-size: 0.67rem;
  }
  .p-book-art,
  .p-bowl-art {
    height: 156px;
  }
  .p-book-art > div {
    width: 98px;
    padding: 16px 10px;
    font-size: 1.05rem;
  }
  .p-book-art div > span {
    font-size: 5px;
  }
  .p-book-art > span {
    right: -2px;
    top: 15px;
    font-size: 1.5rem;
  }
  .p-bowl-art > span {
    left: 4px;
    top: 20px;
    font-size: 0.65rem;
  }
  .p-bowl-art i {
    width: 105px;
    height: 55px;
    bottom: 14px;
  }
  .p-community-side {
    flex-direction: column;
    gap: 12px;
  }
  .p-community-side > a {
    width: 100%;
    padding: 20px;
    gap: 22px;
  }
  .p-community-side h3 br {
    display: none;
  }
  .p-community-side h3 {
    font-size: 0.95rem;
    margin: 8px 0;
  }
  .p-community-side > a > div {
    flex: 1;
  }
  .p-ai-demo {
    padding: 22px 17px;
  }
  .p-ai-identity small {
    font-size: 0.52rem;
  }
  .p-chat-question {
    margin-left: 15px;
    font-size: 0.75rem;
  }
  .p-chat-answer {
    padding-inline: 4px;
  }
  .p-service-list article {
    padding: 24px 14px;
  }
  .p-service-list h3 {
    font-size: 1rem;
    margin-top: 12px;
  }
  .p-service-list p {
    font-size: 0.71rem;
  }
  .p-story h2 {
    font-size: 1.48rem;
  }
  .p-story p br {
    display: none;
  }
  .p-story p {
    font-size: 0.8rem;
  }
  .p-story-values {
    gap: 20px;
    font-size: 0.65rem;
  }
  .p-story-values span:before {
    margin-right: 6px;
  }
  .p-closing {
    justify-content: center;
    text-align: center;
    gap: 15px;
  }
  .p-closing img {
    width: 75px;
    height: 75px;
  }
  .p-closing > div {
    width: 100%;
  }
  .p-closing h2 {
    font-size: 1.5rem;
  }
  .p-closing > .button {
    margin: 5px 0 0;
  }
  .p-app-hero p {
    font-size: 0.88rem;
  }
  .p-app-directory > article {
    gap: 15px;
    padding-block: 30px;
  }
  .p-app-directory > article > svg {
    width: 30px;
    height: 30px;
  }
  .p-app-directory h2 {
    font-size: 1.2rem;
  }
  .p-app-directory p {
    font-size: 0.82rem;
  }
}
html[data-text-size="large"] .p-mini-app {
  font-size: 16px;
}
html[data-text-size="large"] .p-hero-scene {
  min-height: 570px;
}
html[data-text-size="large"] .p-hero h1 {
  white-space: normal;
}
html[data-text-size="large"] .p-feature-index nav {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 480px) {
  html[data-text-size="large"] .p-hero-scene {
    min-height: 475px;
  }
  html[data-text-size="large"] .p-mini-app {
    width: 230px;
  }
  html[data-text-size="large"] .p-scene-sticker {
    top: auto;
    bottom: 5px;
    right: 0;
  }
  html[data-text-size="large"] .p-feature-index nav {
    grid-template-columns: repeat(2, 1fr);
  }
  html[data-text-size="large"] .p-community-grid {
    grid-template-columns: 1fr;
  }
  html[data-text-size="large"] .p-community-side {
    grid-column: auto;
  }
  html[data-text-size="large"] .p-book-art,
  html[data-text-size="large"] .p-bowl-art {
    height: 185px;
  }
  html[data-text-size="large"] .p-service-list {
    grid-template-columns: 1fr;
  }
  html[data-text-size="large"] .p-service-list article {
    padding: 25px 0;
    border-right: 0;
    border-top: 1px solid #dbe2d3;
  }
  html[data-text-size="large"] .p-pet-id {
    flex-wrap: wrap;
  }
  html[data-text-size="large"] .p-food-example {
    flex-wrap: wrap;
  }
  html[data-text-size="large"] .p-tabs button {
    overflow-wrap: anywhere;
  }
  html[data-text-size="large"] .p-hero-note span + span {
    border: 0;
    padding: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-community-card,
  .p-feature-index a {
    transition: none;
  }
}
/* Let illustrative grid children shrink with the mobile viewport. */
.p-hero > *,
.p-split > *,
.p-collar-grid > * {
  min-width: 0;
}
@media (max-width: 820px) {
  .p-hero,
  .p-split,
  .p-collar-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .p-collar-loop {
    width: 230px;
    height: 180px;
    border-width: 20px;
  }
  .p-collar-device {
    left: 50px;
    bottom: -43px;
    width: 80px;
    height: 76px;
  }
  .p-collar-visual {
    min-height: 270px;
  }
}
