/* 展示字体使用本地子集；新增标题文案时检查字形覆盖，加载期间允许系统字体回退。 */
@font-face {
  font-family: PawDisplay;
  src: url('assets/fonts/pawtalk-display.ttf') format('truetype');
  font-display: swap;
  font-weight: 400;
}
/* 官网共享色彩、字体和动效变量；组件优先复用这些变量。 */
:root {
  --grape: #4b2e63;
  --ink: #2c2037;
  --muted: #6d5c78;
  --orange: #ff623d;
  --lilac: #eee8f5;
  --line: #d9cfe1;
  --paper: #fff;
  --display: PawDisplay, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --body: 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.75 var(--body);
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--orange);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.25em;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  touch-action: manipulation;
}
button {
  border: 0;
}
button,
summary,
input {
  caret-color: var(--orange);
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2 {
  text-wrap: balance;
}
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 3.65vw, 3.5rem);
  line-height: 1.32;
  letter-spacing: -0.025em;
}
p {
  max-width: 70ch;
}
section {
  scroll-margin-top: 25px;
}
[hidden] {
  display: none !important;
}
::-webkit-scrollbar {
  width: 9px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f6f2fa;
}
::-webkit-scrollbar-thumb {
  background: #aa94bc;
  border-radius: 8px;
}
.section-wrap {
  width: min(1320px, calc(100% - 112px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 100;
  background: var(--grape);
  color: #fff;
  padding: 8px 18px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
/* 桌面导航；移动端的展开状态由 main.js 与 aria-expanded 同步管理。 */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1440px, calc(100% - 112px));
  height: 100px;
  margin: auto;
  border-bottom: 1px solid #eee8f2;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--grape);
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
}
.brand img {
  transform: rotate(-12deg);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 600;
}
.site-header nav > a:not(.nav-action) {
  padding-block: 12px;
  position: relative;
}
.site-header nav > a:not(.nav-action):after {
  content: '';
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--ease);
}
.site-header nav > a:hover:after {
  transform: scaleX(1);
}
.nav-action {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 24px;
  transition: background 0.2s;
}
.nav-action:hover {
  background: var(--lilac);
}
.nav-action span {
  font-size: 21px;
  line-height: 1;
}
.menu-toggle {
  display: none;
}
/* 相册装饰可能超出容器，页面内容层统一裁切横向溢出。 */
.hero {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 44px;
  align-items: center;
  min-height: 730px;
  padding-top: 72px;
  padding-bottom: 90px;
}
.hero-copy {
  padding-bottom: 20px;
  z-index: 1;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.7rem, 4.5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.035em;
  color: var(--grape);
}
.word-loop {
  position: relative;
  white-space: nowrap;
}
.word-loop svg {
  position: absolute;
  inset: -18% -13%;
  width: 126%;
  height: 132%;
  stroke: var(--orange);
  stroke-width: 2.4;
  z-index: -1;
  transform: rotate(-5deg);
  stroke-dasharray: 680;
  stroke-dashoffset: 0;
  animation: draw-loop 1.15s var(--ease) both;
}
.hero-description {
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 30px;
  line-height: 1.3;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.22s,
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.button span {
  font-size: 21px;
  line-height: 1;
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgb(75 46 99 / 0.15);
}
.button:active {
  transform: translateY(0);
}
.button-dark {
  background: var(--grape);
  color: #fff;
}
.button-dark:hover {
  background: #352043;
}
.button-light {
  background: #fff;
  color: var(--grape);
}
.button-light:hover {
  background: var(--lilac);
}
.text-link {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.text-link:hover {
  border-color: var(--grape);
}
.text-link span {
  margin-left: 6px;
}
.development-note {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
  flex-shrink: 0;
}
.hero-album {
  position: relative;
  transform: rotate(3deg);
  background: var(--lilac);
  padding: 18px 22px 21px;
  border: 1px solid #dfd4e6;
  box-shadow: 0 20px 60px rgb(75 46 99 / 0.09);
  border-radius: 5px;
  transition: transform 0.65s var(--ease);
}
.hero-album:hover {
  transform: rotate(0);
}
.album-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--grape);
  padding: 0 2px 12px;
}
.small-spark {
  width: 25px;
  height: 25px;
  stroke: var(--orange);
  stroke-width: 2;
}
.photo-stage {
  position: relative;
  min-height: 400px;
  background: #e1d5ed;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-pets {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 1;
}
.photo-note {
  position: absolute;
  left: 22px;
  top: 18px;
  color: var(--grape);
  font-family: var(--display);
  font-size: 20px;
  transform: rotate(-7deg);
  z-index: 2;
}
.hero-album figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  font-size: 12px;
  color: var(--grape);
}
.hero-album figcaption > span:first-child {
  font-family: var(--display);
  font-size: 21px;
}
.album-stamp {
  position: absolute;
  right: -27px;
  bottom: 45px;
  background: var(--orange);
  width: 112px;
  height: 112px;
  border-radius: 50%;
  transform: rotate(-16deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  color: var(--ink);
  z-index: 3;
  box-shadow: 0 6px 22px rgb(75 46 99 / 0.1);
}
.album-stamp svg {
  width: 35px;
  height: 35px;
  stroke: var(--ink);
  stroke-width: 0.6;
  filter: brightness(0.3);
}
.album-stamp span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.care-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  min-height: 70px;
  padding: 16px 30px;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  overflow: hidden;
  white-space: nowrap;
}
.care-strip svg {
  width: 20px;
  height: 20px;
  stroke: var(--grape);
  stroke-width: 2;
}
/* 档案式布局承接产品能力说明。 */
.experience-section {
  padding-top: 112px;
  padding-bottom: 118px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 48px;
}
.section-heading > div {
  padding-bottom: 4px;
}
.section-heading > div > p:first-child {
  color: var(--muted);
  font-size: 15px;
}
.sample-label {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.sample-label svg {
  height: 16px;
  width: 16px;
  stroke-width: 1.6;
}
.experience-book {
  background: var(--lilac);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.book-toolbar {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.book-title {
  font-family: var(--display);
  font-size: 23px;
  color: var(--grape);
}
.pet-picker {
  display: flex;
  background: #fff9;
  border-radius: 26px;
  padding: 4px;
  gap: 3px;
}
.pet-picker button {
  background: transparent;
  color: var(--grape);
  padding: 8px 18px;
  font-size: 12px;
  border-radius: 22px;
  min-height: 38px;
  transition:
    background 0.2s,
    color 0.2s;
}
.pet-picker button[aria-pressed='true'] {
  background: var(--grape);
  color: #fff;
}
.pet-picker button:hover:not([aria-pressed='true']) {
  background: #dfd0e9;
}
.book-body {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 525px;
}
.pet-profile {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
  background: #e7deef;
}
.pet-portrait {
  width: 125px;
  height: 120px;
  overflow: hidden;
  position: relative;
  background: #d9c7e6;
  border-radius: 50%;
  margin-bottom: 17px;
}
.pet-portrait img {
  max-width: none;
  width: 216px;
  height: 202px;
  position: absolute;
  bottom: -65px;
  left: -12px;
  object-fit: contain;
  transition: left 0.45s var(--ease);
}
.pet-portrait[data-pet-portrait='cat'] img {
  left: -94px;
  bottom: -58px;
}
.profile-heading {
  margin-bottom: 22px;
}
.profile-heading h3 {
  font-size: 26px;
  font-family: var(--display);
  font-weight: 400;
  color: var(--grape);
}
.profile-species {
  font-size: 12px;
  color: var(--muted);
}
.profile-facts {
  margin: 0;
}
.profile-facts > div {
  margin-top: 16px;
}
.profile-facts dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 3px;
}
.profile-facts dd {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.profile-note {
  margin-top: 25px;
  padding-top: 19px;
  border-top: 1px solid #d3c3df;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.profile-note svg {
  height: 18px;
  width: 18px;
  margin-top: 2px;
  stroke: var(--grape);
}
.profile-note p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.book-pages {
  background: #fff;
  padding: 16px 36px 26px;
  min-width: 0;
}
.feature-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid #eee7f3;
}
.feature-tabs button {
  background: transparent;
  padding: 17px 1px 15px;
  border-bottom: 3px solid transparent;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
}
.feature-tabs button[aria-selected='true'] {
  color: var(--grape);
  border-bottom-color: var(--orange);
}
.feature-tabs button:hover {
  color: var(--grape);
}
.feature-panel {
  padding-top: 27px;
  min-height: 405px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.page-heading h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.page-heading > span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.panel-intro {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 9px;
}
.timeline {
  display: grid;
  gap: 0;
  margin-top: 24px;
}
.timeline-entry {
  display: grid;
  grid-template-columns: 65px 13px 1fr;
  gap: 16px;
  padding-bottom: 22px;
  position: relative;
}
.timeline-entry:not(:last-child):before {
  content: '';
  position: absolute;
  left: 87px;
  top: 13px;
  width: 1px;
  height: calc(100% - 5px);
  background: #e4dbea;
}
.timeline-date {
  font-size: 12px;
  color: var(--muted);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.timeline-mark {
  height: 8px;
  width: 8px;
  border: 2px solid #c3afd2;
  border-radius: 50%;
  margin-top: 7px;
  background: #fff;
  z-index: 1;
}
.timeline-entry:first-child .timeline-mark {
  background: var(--orange);
  border-color: var(--orange);
}
.timeline-detail h4 {
  font-size: 13px;
  font-weight: 600;
}
.timeline-detail p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.timeline-category {
  font-size: 12px;
  display: inline-block;
  background: #f3edf7;
  color: var(--grape);
  padding: 0 7px;
  margin-left: 8px;
  border-radius: 3px;
  font-weight: 400;
  line-height: 1.9;
  vertical-align: 1px;
}
.archive-bottom {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 13px;
}
.archive-bottom svg {
  height: 17px;
  width: 17px;
}
.book-foot {
  padding: 13px 27px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.question-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 19px;
}
.question-picker button {
  background: #f4eff8;
  color: var(--grape);
  border: 1px solid #e4daed;
  border-radius: 16px;
  padding: 6px 11px;
  font-size: 12px;
  min-height: 34px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.question-picker button[aria-pressed='true'] {
  background: #e8dbf2;
  border-color: #a68cb9;
}
.question-picker button:hover {
  border-color: var(--grape);
}
.sample-conversation {
  margin-top: 18px;
}
.chat-question {
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  color: var(--grape);
  margin-bottom: 12px;
  max-width: none;
}
.chat-answer {
  background: #f7f3fa;
  padding: 15px 17px;
  border-radius: 2px 16px 16px 16px;
}
.answer-author {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--grape);
}
.chat-answer > p {
  font-size: 12px;
  margin-top: 10px;
  line-height: 1.9;
  white-space: pre-line;
}
.inline-button {
  background: transparent;
  color: var(--grape);
  padding: 9px 0 0;
  font-size: 12px;
  font-weight: 600;
}
.inline-button:hover {
  text-decoration: underline;
}
.chat-boundary {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 13px;
}
.practice-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.practice-day {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.day-mark {
  height: 36px;
  width: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.day-mark svg {
  height: 16px;
  width: 16px;
  stroke-width: 2;
}
.practice-day.done .day-mark {
  background: var(--grape);
  border-color: var(--grape);
  color: #fff;
}
.practice-day.today .day-mark {
  border: 2px solid var(--orange);
}
.practice-day.today > span:last-child {
  font-weight: 600;
  color: var(--grape);
}
.practice-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 23px;
}
.practice-summary > p {
  font-size: 12px;
}
.practice-summary strong {
  font-size: 20px;
  color: var(--grape);
  margin-inline: 4px;
  font-variant-numeric: tabular-nums;
}
.practice-summary .button {
  font-size: 12px;
  min-height: 42px;
  padding: 11px 15px;
  gap: 12px;
}
.practice-summary .button span {
  font-size: 15px;
}
.practice-feedback {
  font-size: 12px;
  color: var(--muted);
  min-height: 18px;
  margin-top: 11px;
}
.training-note {
  margin-top: 21px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.training-note > span {
  font-size: 12px;
  color: var(--muted);
}
.training-note h4 {
  font-size: 13px;
  margin-top: 2px;
}
.training-note p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.8;
}
.no-script {
  margin-top: 18px;
  color: var(--grape);
  font-size: 13px;
}
.training-section {
  background: var(--grape);
  color: #fff;
  padding: 93px 0 87px;
}
.training-layout {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 100px;
  align-items: center;
}
.training-copy h2 {
  color: #fff;
}
.training-copy > p:not(.training-disclosure) {
  color: #e6daee;
  margin-top: 25px;
  font-size: 15px;
  line-height: 1.9;
}
.training-copy .button {
  margin-top: 28px;
}
.training-disclosure {
  font-size: 12px;
  color: #e6daee;
  margin-top: 17px;
}
.training-syllabus {
  background: #f6f0fa;
  color: var(--ink);
  border-radius: 5px;
  padding: 25px 30px 30px;
  transform: rotate(2deg);
  box-shadow: 0 14px 42px rgb(27 14 37 / 0.16);
}
.syllabus-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 19px;
  border-bottom: 1px solid #d9cbe4;
}
.syllabus-top > span {
  font-family: var(--display);
  font-size: 25px;
  color: var(--grape);
}
.syllabus-top svg {
  width: 33px;
  height: 33px;
  stroke: var(--orange);
  stroke-width: 2;
}
.course-row {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid #d9cbe4;
}
.course-topic {
  font-size: 12px;
  color: var(--muted);
}
.course-row h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 7px;
  letter-spacing: -0.02em;
}
.course-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.course-tag {
  font-size: 12px;
  border: 1px solid #ccb8db;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 12px;
  margin-top: 3px;
  color: var(--grape);
}
.learning-path {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding-top: 23px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grape);
}
.learning-path svg {
  width: 33px;
  height: 16px;
  stroke: var(--orange);
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding-top: 110px;
  padding-bottom: 105px;
}
.faq-section > div > p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 24px;
}
.faq-paw {
  transform: rotate(-17deg);
  margin-top: 40px;
  width: 77px;
  height: 77px;
  opacity: 0.85;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  list-style: none;
  padding: 24px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary svg {
  width: 19px;
  height: 19px;
  transition: transform 0.25s var(--ease);
  stroke: var(--grape);
}
.faq-list details[open] summary svg {
  transform: rotate(45deg);
}
.faq-list details p {
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 24px;
  line-height: 1.9;
  max-width: 62ch;
}
.faq-list summary:hover {
  color: var(--grape);
}
.closing {
  position: relative;
  background: var(--lilac);
  border-radius: 8px;
  text-align: center;
  padding: 62px 30px 68px;
  overflow: hidden;
}
.closing h2 {
  color: var(--grape);
  font-size: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  z-index: 1;
}
.closing .button {
  margin-top: 27px;
  position: relative;
  z-index: 1;
}
.closing-line {
  position: absolute;
  bottom: -9px;
  left: 15%;
  width: 70%;
  height: 85px;
  color: #c7b4d7;
  stroke-width: 2;
  pointer-events: none;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-top: 40px;
  padding-bottom: 36px;
  margin-top: 28px;
}
.site-footer .brand {
  font-size: 25px;
}
.site-footer > p,
.site-footer > span {
  font-size: 12px;
  color: var(--muted);
}
@keyframes draw-loop {
  from {
    stroke-dashoffset: 680;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@media (min-width: 1600px) {
  .hero {
    min-height: 780px;
    gap: 70px;
  }
  .photo-stage {
    min-height: 445px;
  }
}
@media (max-width: 1100px) {
  .section-wrap,
  .site-header {
    width: calc(100% - 72px);
  }
  .site-header nav {
    gap: 24px;
  }
  .hero {
    gap: 30px;
    min-height: 650px;
    padding-top: 65px;
    padding-bottom: 75px;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 4.6vw, 3.5rem);
  }
  .hero-description {
    font-size: 14px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-actions .button {
    padding-inline: 19px;
    font-size: 12px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .photo-stage {
    min-height: 310px;
  }
  .photo-note {
    font-size: 16px;
    left: 15px;
    top: 12px;
  }
  .hero-album {
    padding: 14px 16px 17px;
  }
  .hero-album figcaption > span:last-child {
    font-size: 12px;
    max-width: 100px;
    text-align: right;
  }
  .album-stamp {
    width: 85px;
    height: 85px;
    right: -17px;
    bottom: 47px;
  }
  .album-stamp span {
    font-size: 12px;
  }
  .album-stamp svg {
    height: 27px;
    width: 27px;
  }
  .care-strip {
    gap: 26px;
    font-size: 17px;
  }
  .care-strip > span:last-child {
    display: none;
  }
  .care-strip > svg:last-child {
    display: none;
  }
  .experience-section {
    padding-block: 85px;
  }
  .section-heading {
    gap: 35px;
  }
  .book-body {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  .pet-profile {
    padding: 28px 24px;
  }
  .book-pages {
    padding-inline: 26px;
  }
  .page-heading h3 {
    font-size: 18px;
  }
  .page-heading > span {
    font-size: 12px;
  }
  .practice-week {
    gap: 6px;
  }
  .practice-summary {
    flex-wrap: wrap;
  }
  .training-layout {
    gap: 60px;
  }
  .training-section {
    padding-block: 75px;
  }
  .training-syllabus {
    padding-inline: 24px;
  }
  .course-row h3 {
    font-size: 16px;
  }
  .course-tag {
    font-size: 12px;
  }
  .faq-section {
    padding-block: 85px;
    gap: 50px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .site-footer > p {
    margin-left: auto;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 35px;
  }
  .section-wrap,
  .site-header {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 79px;
    position: relative;
    z-index: 10;
    gap: 18px;
  }
  .brand {
    font-size: 27px;
    gap: 8px;
  }
  .brand img {
    height: 31px;
    width: 31px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    padding: 10px 0 10px 10px;
    font-size: 13px;
    color: var(--grape);
  }
  .menu-toggle svg {
    width: 23px;
    height: 23px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 78px;
    left: -20px;
    right: -20px;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    background: #fff;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgb(75 46 99 / 0.08);
  }
  .site-header nav.is-open {
    display: flex;
  }
  .site-header nav > a:not(.nav-action) {
    padding: 12px 0;
  }
  .site-header nav > a:not(.nav-action):after {
    display: none;
  }
  .site-header nav .nav-action {
    justify-content: space-between;
    margin-top: 5px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 43px;
    padding-bottom: 49px;
    min-height: auto;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .hero h1 {
    font-size: clamp(2.15rem, 8.3vw, 3.8rem);
    line-height: 1.42;
    letter-spacing: -0.035em;
  }
  .hero-description {
    margin-top: 23px;
    font-size: 14px;
    line-height: 1.9;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 18px;
  }
  .hero-actions .button {
    min-height: 49px;
    font-size: 12px;
    padding-inline: 19px;
    gap: 16px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .development-note {
    font-size: 12px;
    margin-top: 19px;
  }
  .hero-album {
    width: min(90%, 430px);
    margin: 0 auto;
    transform: rotate(3deg);
    padding: 13px 16px 17px;
  }
  .album-top {
    font-size: 12px;
    padding-bottom: 9px;
  }
  .photo-stage {
    min-height: 280px;
  }
  .photo-note {
    font-size: 17px;
    left: 15px;
    top: 12px;
  }
  .hero-pets {
    max-height: 365px;
    object-fit: contain;
  }
  .hero-album figcaption {
    padding-top: 11px;
  }
  .hero-album figcaption > span:first-child {
    font-size: 21px;
  }
  .hero-album figcaption > span:last-child {
    max-width: none;
    font-size: 12px;
  }
  .album-stamp {
    width: 82px;
    height: 82px;
    right: -23px;
    bottom: 40px;
  }
  .care-strip {
    min-height: 57px;
    gap: 18px;
    padding: 12px 18px;
    font-size: 16px;
    justify-content: flex-start;
  }
  .care-strip svg {
    width: 16px;
    height: 16px;
  }
  .care-strip > span:nth-of-type(3) {
    display: none;
  }
  .care-strip > svg:nth-of-type(3) {
    display: none;
  }
  .experience-section {
    padding-top: 60px;
    padding-bottom: 63px;
  }
  .section-heading {
    display: block;
    margin-bottom: 26px;
  }
  .section-heading > div {
    margin-top: 21px;
  }
  .section-heading > div > p:first-child {
    font-size: 13px;
    line-height: 1.8;
  }
  .sample-label {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 12px;
  }
  .sample-label svg {
    height: 14px;
    width: 14px;
  }
  .experience-book {
    border-radius: 15px;
  }
  .book-toolbar {
    padding: 17px 16px;
    align-items: flex-start;
    gap: 13px;
    flex-direction: column;
  }
  .book-title {
    font-size: 23px;
  }
  .pet-picker {
    width: 100%;
    padding: 3px;
  }
  .pet-picker button {
    flex: 1;
    min-height: 38px;
    padding: 8px 9px;
    font-size: 12px;
  }
  .book-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .pet-profile {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 18px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0 17px;
    align-items: center;
  }
  .pet-portrait {
    height: 78px;
    width: 78px;
    margin: 0;
    grid-row: span 2;
  }
  .pet-portrait img {
    width: 146px;
    height: 137px;
    left: -10px;
    bottom: -43px;
  }
  .pet-portrait[data-pet-portrait='cat'] img {
    left: -65px;
    bottom: -39px;
  }
  .profile-heading {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin: 0;
    flex-wrap: wrap;
  }
  .profile-heading h3 {
    font-size: 24px;
    line-height: 1.4;
  }
  .profile-species {
    font-size: 12px;
  }
  .profile-facts {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 6px;
  }
  .profile-facts > div {
    margin-top: 0;
  }
  .profile-facts > div:last-child {
    display: none;
  }
  .profile-facts dt {
    font-size: 12px;
    margin: 0;
  }
  .profile-facts dd {
    font-size: 12px;
  }
  .profile-note {
    grid-column: 1/-1;
    margin-top: 15px;
    padding-top: 12px;
    align-items: center;
    gap: 7px;
  }
  .profile-note svg {
    width: 15px;
    height: 15px;
    margin: 0;
  }
  .profile-note p {
    font-size: 12px;
  }
  .book-pages {
    padding: 0 16px 22px;
  }
  .feature-tabs {
    gap: 0;
    justify-content: space-between;
  }
  .feature-tabs button {
    font-size: 12px;
    padding: 16px 4px 13px;
    min-height: 49px;
  }
  .feature-panel {
    padding-top: 23px;
    min-height: 386px;
  }
  .page-heading {
    gap: 8px;
    align-items: flex-start;
  }
  .page-heading h3 {
    font-size: 17px;
    line-height: 1.5;
  }
  .page-heading > span {
    font-size: 12px;
    padding-top: 3px;
  }
  .panel-intro {
    font-size: 12px;
    line-height: 1.85;
    margin-top: 9px;
  }
  .timeline {
    margin-top: 24px;
  }
  .timeline-entry {
    grid-template-columns: 52px 10px 1fr;
    gap: 10px;
    padding-bottom: 24px;
  }
  .timeline-entry:not(:last-child):before {
    left: 65px;
  }
  .timeline-date {
    font-size: 12px;
  }
  .timeline-detail h4 {
    font-size: 12px;
  }
  .timeline-detail p {
    font-size: 12px;
    line-height: 1.9;
  }
  .timeline-category {
    font-size: 12px;
    margin-left: 5px;
    padding-inline: 5px;
  }
  .archive-bottom {
    font-size: 12px;
    line-height: 1.8;
    align-items: flex-start;
    gap: 7px;
  }
  .archive-bottom svg {
    width: 15px;
    height: 15px;
    margin-top: 1px;
  }
  .book-foot {
    font-size: 12px;
    padding: 12px 16px;
    gap: 10px;
    align-items: center;
  }
  .book-foot > span:last-child {
    white-space: nowrap;
  }
  .question-picker {
    gap: 7px;
    margin-top: 16px;
  }
  .question-picker button {
    font-size: 12px;
    padding: 7px 10px;
    min-height: 36px;
  }
  .chat-question {
    font-size: 12px;
    line-height: 1.8;
  }
  .chat-answer {
    padding: 13px;
  }
  .chat-answer > p {
    font-size: 12px;
    line-height: 1.85;
  }
  .answer-author {
    font-size: 12px;
  }
  .chat-boundary {
    font-size: 12px;
    line-height: 1.9;
  }
  .practice-week {
    gap: 5px;
    margin-top: 24px;
  }
  .day-mark {
    height: 31px;
    width: 31px;
    font-size: 12px;
  }
  .practice-day {
    font-size: 12px;
    gap: 7px;
  }
  .practice-summary {
    gap: 12px;
    margin-top: 23px;
    justify-content: flex-start;
  }
  .practice-summary > p {
    font-size: 12px;
  }
  .practice-summary .button {
    font-size: 12px;
    min-height: 43px;
  }
  .practice-feedback {
    font-size: 12px;
    margin-top: 10px;
  }
  .training-note {
    margin-top: 18px;
  }
  .training-note h4 {
    font-size: 12px;
  }
  .training-note p {
    font-size: 12px;
  }
  .training-section {
    padding: 58px 0 63px;
  }
  .training-layout {
    grid-template-columns: 1fr;
    gap: 37px;
  }
  .training-copy > p:not(.training-disclosure) {
    font-size: 13px;
    margin-top: 20px;
  }
  .training-copy .button {
    min-height: 48px;
    font-size: 12px;
    margin-top: 24px;
  }
  .training-disclosure {
    font-size: 12px;
    margin-top: 15px;
  }
  .training-syllabus {
    transform: rotate(1deg);
    padding: 21px 20px 23px;
    margin-inline: 4px;
  }
  .syllabus-top {
    padding-bottom: 16px;
  }
  .syllabus-top > span {
    font-size: 23px;
  }
  .syllabus-top svg {
    height: 27px;
    width: 27px;
  }
  .course-row {
    gap: 12px;
    padding-block: 23px;
  }
  .course-topic {
    font-size: 12px;
  }
  .course-row h3 {
    font-size: 16px;
    line-height: 1.55;
    margin-top: 6px;
  }
  .course-row p {
    font-size: 12px;
    line-height: 1.85;
    margin-top: 8px;
  }
  .course-tag {
    font-size: 12px;
    max-width: 42px;
    white-space: normal;
    text-align: center;
    padding: 4px 7px;
    line-height: 1.6;
  }
  .learning-path {
    font-size: 12px;
    padding-top: 22px;
    gap: 8px;
  }
  .learning-path svg {
    width: 25px;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 29px;
    padding-block: 62px;
  }
  .faq-section > div:first-child {
    position: relative;
  }
  .faq-section > div > p {
    font-size: 13px;
    margin-top: 17px;
  }
  .faq-paw {
    position: absolute;
    width: 53px;
    height: 53px;
    right: 8px;
    bottom: 2px;
    margin: 0;
  }
  .faq-list summary {
    font-size: 13px;
    padding-block: 21px;
    gap: 18px;
    line-height: 1.75;
  }
  .faq-list summary svg {
    width: 17px;
    height: 17px;
  }
  .faq-list details p {
    font-size: 12px;
    line-height: 1.9;
    padding-bottom: 22px;
  }
  .closing {
    padding: 43px 19px 50px;
  }
  .closing h2 {
    font-size: clamp(1.75rem, 6.6vw, 2.8rem);
  }
  .closing .button {
    font-size: 12px;
    margin-top: 23px;
    min-height: 48px;
  }
  .closing-line {
    left: 5%;
    width: 90%;
    bottom: -15px;
    stroke-width: 1.7;
  }
  .site-footer {
    gap: 17px 10px;
    margin-top: 20px;
    padding-top: 28px;
    padding-bottom: 26px;
  }
  .site-footer .brand {
    font-size: 24px;
  }
  .site-footer .brand img {
    width: 27px;
    height: 27px;
  }
  .site-footer > p {
    width: 100%;
    margin: 0;
    font-size: 12px;
    order: 3;
  }
  .site-footer > span {
    font-size: 12px;
    margin-left: auto;
  }
}
@media (max-width: 360px) {
  .section-wrap,
  .site-header {
    width: calc(100% - 32px);
  }
  .hero-actions {
    gap: 13px;
  }
  .hero-actions .button {
    padding-inline: 15px;
    font-size: 12px;
    gap: 12px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .hero h1 {
    font-size: 8.5vw;
  }
  .hero-album figcaption > span:last-child {
    font-size: 12px;
    max-width: 130px;
  }
  .book-pages {
    padding-inline: 13px;
  }
  .page-heading h3 {
    font-size: 15px;
  }
  .page-heading > span {
    font-size: 12px;
  }
  .day-mark {
    width: 29px;
    height: 29px;
  }
  .book-foot > span:last-child {
    display: none;
  }
}
/* 尊重系统减少动态效果的偏好，同时关闭过渡与平滑滚动。 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* 可读性与触控补充：保持后置覆盖，避免改变前面各断点的级联顺序。 */
main {
  overflow-x: clip;
}
.action-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.text-link .action-icon {
  margin-left: 6px;
}
.inline-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.pet-picker button,
.question-picker button,
.practice-summary .button {
  min-height: 44px;
}
.course-row h3 {
  margin-top: 0;
}
@media (max-width: 760px) {
  .sample-label,
  .panel-intro,
  .timeline-detail p,
  .chat-question,
  .chat-answer > p,
  .chat-boundary,
  .practice-feedback,
  .training-note p,
  .training-disclosure,
  .course-row p,
  .profile-note p,
  .archive-bottom {
    font-size: 13px;
  }
  .book-foot {
    flex-wrap: wrap;
  }
  .pet-picker button,
  .question-picker button,
  .practice-summary .button {
    min-height: 44px;
    font-size: 12px;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .timeline-entry {
    grid-template-columns: 49px 8px minmax(0, 1fr);
    gap: 8px;
  }
  .timeline-entry:not(:last-child):before {
    left: 60px;
  }
  .timeline-category {
    display: block;
    width: fit-content;
    margin: 5px 0 0;
  }
  .day-mark {
    width: 30px;
    height: 30px;
  }
  .practice-week {
    gap: 3px;
  }
  .course-row {
    flex-wrap: wrap;
  }
  .course-tag {
    max-width: none;
    white-space: nowrap;
  }
  .hero-album figcaption {
    flex-wrap: wrap;
  }
  .hero-album figcaption > span:last-child {
    max-width: none;
  }
  .book-foot > span:last-child {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .timeline-entry {
    grid-template-columns: 67px 8px minmax(0, 1fr);
  }
  .timeline-date {
    white-space: nowrap;
  }
  .timeline-entry:not(:last-child):before {
    left: 78px;
  }
}

/* 下载入口沿用官网纸页与葡萄紫体系，二维码保持纯白静区。 */
.feature-overview > img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}
.feature-overview h3 {
  font: 24px/1.4 var(--display);
  margin: 20px 0 12px;
}
.feature-overview p {
  margin: 0;
  color: var(--muted);
}
.feature-list {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.feature-list li:first-child {
  padding-top: 0;
}
.feature-list strong {
  font-size: 18px;
}
.feature-list p {
  margin: 6px 0 0;
  color: var(--muted);
}
.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.download-copy h2 {
  margin: 0;
}
.download-copy > p {
  margin: 16px 0;
}
.release-version {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.download-section .button {
  margin: 8px 0;
}
.download-meta {
  font-size: 14px;
  color: var(--muted);
}
.download-code {
  margin: 0;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
}
.download-code img {
  margin: auto;
  width: 224px;
  height: 224px;
  background: white;
}
.download-code figcaption {
  font-size: 18px;
  font-weight: 600;
  margin-top: 12px;
}
.download-code p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 8px 0 0;
}
.download-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 44px 24px;
}
.download-page .brand {
  font-size: 26px;
  margin-bottom: 40px;
}
.download-page h1 {
  font: 36px/1.45 var(--display);
  margin: 0 0 20px;
}
.download-page .button {
  display: inline-flex;
  margin: 12px 0;
}
.install-steps {
  padding-left: 24px;
  margin: 28px 0;
}
.install-steps li {
  margin-bottom: 12px;
}
.download-page footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 760px) {
  .download-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .download-code {
    justify-self: start;
    width: min(100%, 280px);
  }
  .feature-overview > img {
    height: 140px;
  }
  .feature-list strong {
    font-size: 16px;
  }
  .feature-list p {
    font-size: 14px;
  }
  .download-page h1 {
    font-size: 30px;
  }
}
