/* WhalePet product site — warm paper + ocean ink (not dark AI slop) */

:root {
  color-scheme: light;
  --bg: #f6f3ec;
  --bg-deep: #ebe6dc;
  --surface: #fffdf8;
  --surface-2: #f0ebe3;
  --text: #102a43;
  --muted: #4a6175;
  --muted-2: #6b7f92;
  --accent: #1a6b8c;
  --accent-ink: #f8fcff;
  --accent-soft: rgba(26, 107, 140, 0.08);
  --biolume: #2a9d8f;
  --line: rgba(16, 42, 67, 0.1);
  --line-strong: rgba(16, 42, 67, 0.16);
  --shadow: 0 28px 70px rgba(16, 42, 67, 0.12);
  --max: 1180px;
  --header: 72px;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Noto Sans SC", "PingFang SC", sans-serif;
  --display: "Bricolage Grotesque", "Noto Sans SC", "PingFang SC", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --foam: var(--text);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(90rem 40rem at 12% -8rem, rgba(42, 157, 143, 0.07), transparent 62%),
    radial-gradient(60rem 30rem at 88% 0%, rgba(26, 107, 140, 0.06), transparent 55%),
    linear-gradient(180deg, #faf8f4 0%, var(--bg) 24rem, var(--bg-deep) 100%);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

code {
  font-family: var(--mono);
}

::selection {
  color: var(--accent-ink);
  background: var(--accent);
}

.shell,
.wrap {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 8px;
  font-weight: 700;
}

.skip:focus {
  top: 1rem;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(250, 248, 244, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.top.scrolled {
  background: rgba(255, 253, 248, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 32px rgba(16, 42, 67, 0.06);
}

.top-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-pet {
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
}

.brand-pet img {
  width: 1.9rem;
  height: 1.9rem;
  max-width: none;
  border-radius: 9px;
  filter: drop-shadow(0 3px 10px rgba(26, 107, 140, 0.28));
}

.top .nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.top .nav a:not(.btn) {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color 180ms ease;
}

.top .nav a:not(.btn):hover {
  color: var(--text);
}

.btn {
  min-height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.015em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease), box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent) 0%, #155a75 100%);
  box-shadow: 0 10px 28px rgba(26, 107, 140, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(26, 107, 140, 0.3);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line-strong);
}

.btn-lg {
  min-height: 3.2rem;
  padding-inline: 1.4rem;
  font-size: 0.96rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Hero */
.hero {
  min-height: calc(100svh - var(--header));
  padding-block: clamp(2.3rem, 5vh, 4.5rem) 2rem;
  display: grid;
  grid-template-rows: auto minmax(17rem, 1fr);
  align-content: center;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 6rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.hero-title-block > .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-title-block > .eyebrow span {
  width: 1.8rem;
  height: 1px;
  background: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 0;
  font-size: clamp(2.55rem, 5.6vw, 4.6rem);
  font-weight: 650;
  font-stretch: 90%;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 em {
  color: var(--biolume);
  font-style: normal;
  font-weight: 650;
}

.hero-action-block {
  max-width: 29rem;
  padding-bottom: 0.35rem;
}

.hero-lede {
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1rem;
}

.text-link {
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 650;
  border-bottom: 1px solid var(--line-strong);
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.installer-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-bottom: 0;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.015em;
}

.installer-line code {
  color: var(--muted);
}

.installer-line span::before {
  content: "·";
  margin-right: 0.9rem;
  color: var(--accent);
}

.hero-shot {
  min-height: 0;
  margin: clamp(1.8rem, 4vh, 3rem) 0 0;
  animation: surface-in 900ms var(--ease) 100ms both;
}

.screen-frame {
  position: relative;
  height: clamp(17rem, 44vh, 36rem);
  overflow: hidden;
  background: #c9d2d4;
  border: 1px solid rgba(234, 245, 241, 0.25);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.screen-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: inherit;
  box-shadow: inset 0 -6rem 7rem rgba(3, 9, 14, 0.08);
}

.screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 23%;
}

.hero-shot figcaption,
.presence-shot figcaption,
.panel-shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.66rem;
  line-height: 1.45;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

@keyframes surface-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Shared section rhythm */
.section {
  padding-top: clamp(5.5rem, 11vw, 9.5rem);
  scroll-margin-top: calc(var(--header) + 1rem);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  column-gap: clamp(2rem, 8vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
}

.section h2,
.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5.5vw, 4.9rem);
  font-weight: 620;
  font-stretch: 88%;
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-intro > p:last-child,
.section-lede {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Signal rail */
.signal-rail {
  border-top: 1px solid var(--line-strong);
}

.signal-row {
  display: grid;
  grid-template-columns: minmax(8rem, 0.32fr) minmax(0, 1fr);
  gap: 2rem;
  padding-block: clamp(2rem, 5vw, 3.7rem);
  border-bottom: 1px solid var(--line);
}

.signal-code {
  margin-bottom: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.signal-row > div {
  max-width: 47rem;
}

.signal-trigger {
  margin-bottom: 0.45rem;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-row h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.signal-row div > p:last-child {
  max-width: 43rem;
  margin-bottom: 0;
  color: var(--muted);
}

.quiet-truth {
  display: grid;
  grid-template-columns: minmax(8rem, 0.32fr) minmax(0, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
  padding: 1.7rem 1.8rem;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
}

.quiet-truth p {
  margin-bottom: 0;
}

.quiet-label {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiet-truth p:last-child {
  color: var(--muted);
}

.quiet-truth strong {
  color: var(--text);
}

/* Desktop presence */
.presence {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: clamp(3rem, 8vw, 7.5rem);
  align-items: center;
}

.presence-shot {
  margin: 0;
  min-width: 0;
}

.presence-shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 83% center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.presence-shot figcaption {
  display: block;
  max-width: 35rem;
  text-transform: none;
}

.presence-copy h2,
.panel-copy h2,
.advanced-copy h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.3rem, 4.7vw, 4.25rem);
}

.interaction-list {
  margin: 2.2rem 0 0;
  border-top: 1px solid var(--line-strong);
}

.interaction-list > div {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.25rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.interaction-list dt {
  color: var(--text);
  font-family: var(--display);
  font-weight: 650;
}

.interaction-list dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.presence blockquote {
  margin: 2rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 2px solid var(--accent);
}

.presence blockquote strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--display);
  font-size: 1.2rem;
}

.presence blockquote p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Menu panel */
.panel-section {
  display: grid;
  grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 9vw, 8rem);
  align-items: center;
}

.panel-index {
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.panel-index li {
  display: block;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.panel-index h3 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.panel-index p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.panel-footnote {
  margin: 1.3rem 0 0;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.65;
}

.panel-shot {
  margin: 0;
  min-width: 0;
}

.panel-crop {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  padding: 1.15rem 1rem 1.35rem;
  background:
    radial-gradient(28rem 18rem at 50% 10%, rgba(26, 107, 140, 0.06), transparent 70%),
    var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-crop img {
  width: min(100%, 22rem);
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(16, 42, 67, 0.14));
}

.panel-shot figcaption {
  display: block;
}

/* Default whale and advanced studio */
.advanced {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 9vw, 8rem);
  align-items: center;
  margin-top: clamp(5.5rem, 11vw, 9.5rem);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.default-pet {
  position: relative;
  min-height: 20rem;
  margin: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 48% 48%, rgba(42, 157, 143, 0.1), transparent 56%);
}

.default-pet::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.default-pet img {
  position: relative;
  z-index: 1;
  width: min(90%, 25rem);
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.45));
}

.default-pet figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.advanced-copy > p:not(.eyebrow) {
  max-width: 48rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.advanced-copy .access-note {
  margin-top: 1.4rem;
  margin-bottom: 0;
  padding-left: 1rem;
  color: #c7d7d5;
  border-left: 2px solid var(--accent);
  font-size: 0.9rem;
}

/* Final download */
.final-cta {
  min-height: 24rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.final-cta h2 {
  margin-bottom: 0.75rem;
}

.final-cta > div:first-child > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.final-action {
  min-width: 19rem;
  text-align: right;
}

.final-action .btn {
  margin-bottom: 0.8rem;
}

.final-action p {
  margin-bottom: 0;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.7;
}

.final-action code {
  color: var(--muted);
}

#release-status {
  color: var(--accent);
}

/* Inner pages with the current header */
.page {
  width: min(44rem, calc(100% - 3rem));
  min-height: calc(100svh - var(--header) - 9rem);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.page h1,
.page-hero h1 {
  max-width: none;
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  font-weight: 630;
  line-height: 1;
  letter-spacing: -0.055em;
}

.page .lede,
.page-hero .lede,
.section-sub {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 1rem;
}

.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 1.4rem;
  margin: 1.7rem 0 0;
  font-size: 0.92rem;
}

.facts dt {
  padding-top: 0.15rem;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

#release-filename {
  margin-top: 0.8rem;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.82rem;
  word-break: break-all;
}

.log-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.log-item,
.card,
.price-card {
  padding: 1.35rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.log-item h3,
.price-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 650;
}

.log-item .when {
  margin-bottom: 0.8rem;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.69rem;
}

.log-item ul,
.price-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.log-item li + li,
.price-card li + li {
  margin-top: 0.35rem;
}

.log-item code {
  color: var(--accent);
  font-size: 0.82em;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.price-card p {
  color: var(--muted);
}

.price {
  margin: 0.3rem 0 1rem;
  color: var(--text) !important;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.price span {
  color: var(--muted-2);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
}

.sub {
  color: var(--muted);
}

/* Footer */
.foot {
  padding-block: 2.2rem 2.8rem;
  border-top: 1px solid var(--line);
}

.foot-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.foot strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--display);
  font-size: 1.02rem;
}

.foot p {
  margin: 0.1rem 0;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
}

.foot nav a {
  color: var(--muted);
  font-size: 0.83rem;
}

.foot a:hover {
  color: var(--accent);
}

/* Compatibility for the older pricing and legal page markup. */
.bg-depth,
.bg-grid {
  display: none;
}

header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

header.nav .nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

header.nav .nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

header.nav a:not(.btn) {
  color: var(--muted);
  font-size: 0.86rem;
}

header.nav a:not(.btn):hover {
  color: var(--text);
}

.brand-mark,
.brand mark {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-block;
  flex: 0 0 auto;
  margin-right: 0.15rem;
  background: radial-gradient(circle at 35% 30%, #7ec8e3, var(--accent) 54%, #134d66);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(26, 107, 140, 0.25);
}

.page-hero {
  width: min(48rem, calc(100% - 3rem));
  min-height: calc(100svh - var(--header) - 8rem);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.page-hero.legal {
  width: min(43rem, calc(100% - 3rem));
}

.legal .note {
  margin: 0 0 2rem;
  padding: 0.85rem 1rem;
  color: var(--muted);
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  font-size: 0.86rem;
}

.legal h2 {
  margin: 2rem 0 0.55rem;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.legal p:not(.note) {
  color: var(--muted);
}

.legal a,
.section-sub a {
  color: var(--accent) !important;
}

/* 自助充值：按钮行与提示（手机上按钮占满一行，便于单手点击） */
.pay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block: 1rem 0.25rem;
}

.pay-actions .btn {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.pay-actions .btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

@media (max-width: 430px) {
  .pay-actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }
}

.footer {
  padding-block: 2rem 2.5rem;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer a:hover {
  color: var(--accent);
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    grid-template-rows: auto auto;
  }

  .hero-copy,
  .section-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-action-block {
    max-width: 38rem;
  }

  .presence,
  .panel-section,
  .advanced {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .presence-copy,
  .panel-copy,
  .advanced-copy {
    max-width: 44rem;
  }

  .presence-shot {
    max-width: 43rem;
  }

  .panel-shot {
    max-width: 38rem;
  }

  .advanced {
    margin-top: 6rem;
  }

  .default-pet {
    max-width: 35rem;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 62px;
  }

  .shell,
  .wrap {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .top-inner {
    gap: 0.75rem;
  }

  .top .nav {
    gap: 0.5rem;
  }

  .top .nav a:not(.btn) {
    display: none;
  }

  .top .nav .btn {
    min-height: 2.35rem;
    padding-inline: 0.85rem;
    font-size: 0.78rem;
  }

  .brand {
    font-size: 0.98rem;
  }

  .hero {
    padding-top: 2.1rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .hero-lede {
    font-size: 1.03rem;
  }

  .screen-frame {
    height: clamp(16rem, 48vw, 22rem);
    border-radius: 12px;
  }

  .screen-frame img {
    object-position: 68% center;
  }

  .hero-shot figcaption {
    display: block;
  }

  .hero-shot figcaption span {
    display: block;
  }

  .hero-shot figcaption span + span {
    margin-top: 0.2rem;
  }

  .section {
    padding-top: 5.5rem;
  }

  .section h2,
  .final-cta h2 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .signal-row,
  .quiet-truth {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .signal-row {
    padding-block: 2rem;
  }

  .quiet-truth {
    padding: 1.3rem;
  }

  .presence-shot img {
    aspect-ratio: 4 / 4.5;
  }

  .interaction-list > div {
    grid-template-columns: 5rem 1fr;
  }

  .panel-crop {
    aspect-ratio: 4 / 4.5;
  }

  .advanced {
    margin-top: 5.5rem;
    padding-block: 4rem;
  }

  .default-pet {
    min-height: 16rem;
  }

  .final-cta {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: 0;
  }

  .final-action {
    min-width: 0;
    text-align: left;
  }

  .foot-inner {
    flex-direction: column;
  }

  header.nav .nav-links a:not(.btn) {
    display: none;
  }

  .page,
  .page-hero,
  .page-hero.legal {
    width: calc(100% - 1.5rem);
  }
}

@media (max-width: 430px) {
  .brand-pet {
    width: 1.65rem;
    height: 1.65rem;
  }

  .brand-pet img {
    width: 1.65rem;
    height: 1.65rem;
  }

  .cta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .installer-line span::before {
    margin-right: 0.45rem;
  }

  .interaction-list > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .panel-index li {
    display: block;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }
}

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

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

/* ============================================================
   产品 mockup（CSS 手绘，替代真机截图——不再放用户桌面截图，
   浅色主题与官网品牌一致；宠物用干净的荧光鲸渲染图叠加）
   ============================================================ */
.mock-stage {
  position: relative;
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(42, 157, 143, 0.10), transparent 60%),
    linear-gradient(160deg, #fbf9f3 0%, #eee8dd 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 16 / 11;
}
/* 顶部一条极简 macOS 菜单栏暗示 */
.mock-stage::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 30px;
  background: rgba(255, 253, 248, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.mock-menudots {
  position: absolute; top: 10px; left: 16px; display: flex; gap: 7px; z-index: 3;
}
.mock-menudots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mock-menudots i:nth-child(1) { background: #e6a2a0; }
.mock-menudots i:nth-child(2) { background: #e6c98a; }
.mock-menudots i:nth-child(3) { background: #9fce9f; }
.mock-menuicon {
  position: absolute; top: 6px; right: 16px; z-index: 3;
  width: 20px; height: 20px; image-rendering: pixelated; opacity: 0.9;
}

/* 悬浮的菜单栏面板卡片 */
.mock-panel {
  position: absolute; top: 46px; right: 20px; width: min(58%, 300px); z-index: 2;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(16, 42, 67, 0.16);
  overflow: hidden;
}
.mock-panel-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.mock-panel-head img { width: 30px; height: 30px; }
.mock-panel-head b { font-size: 0.92rem; color: var(--text); font-weight: 650; }
.mock-panel-head span { font-size: 0.72rem; color: var(--biolume); display: block; margin-top: 1px; }
.mock-tabs { display: flex; gap: 6px; padding: 10px 12px 4px; }
.mock-tabs u {
  font-style: normal; text-decoration: none; font-size: 0.72rem; color: var(--muted);
  padding: 5px 12px; border-radius: 999px; background: var(--surface-2);
}
.mock-tabs u.on { background: var(--accent); color: var(--accent-ink); }
.mock-chat { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mock-bubble {
  max-width: 82%; font-size: 0.78rem; line-height: 1.5; padding: 8px 11px; border-radius: 13px;
}
.mock-bubble.them { align-self: flex-start; background: var(--surface-2); color: var(--text); border-bottom-left-radius: 4px; }
.mock-bubble.you { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; }
.mock-input {
  margin: 4px 12px 12px; height: 30px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 12px;
  font-size: 0.72rem; color: var(--muted-2);
}

/* 桌宠（干净鲸渲染，浮在窗口下方，带柔和倒影光） */
.mock-pet {
  position: absolute; bottom: 6%; left: 8%; width: 34%; z-index: 2;
  filter: drop-shadow(0 14px 22px rgba(16, 42, 67, 0.22));
  animation: mock-float 6s var(--ease) infinite;
}
.mock-pet img { width: 100%; height: auto; display: block; }
.mock-bubble-float {
  position: absolute; bottom: calc(6% + 30%); left: 6%; z-index: 3;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 13px; padding: 7px 12px; font-size: 0.76rem; color: var(--text);
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.14); max-width: 46%;
}
@keyframes mock-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) { .mock-pet { animation: none; } }

/* 独立面板 mockup（面板小节用，浅色，不带整机舞台） */
.mock-panel.standalone {
  position: static; width: 100%; max-width: 340px; margin: 0 auto;
  box-shadow: 0 28px 60px rgba(16, 42, 67, 0.14);
}
.mock-vitals { display: flex; gap: 8px; padding: 4px 12px 14px; }
.mock-vitals span { flex: 1; }
.mock-vitals b { display: block; font-size: 0.64rem; color: var(--muted-2); margin-bottom: 4px; font-weight: 500; }
.mock-bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.mock-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--biolume)); }

@media (max-width: 720px) {
  .mock-panel { width: 66%; }
  .mock-pet { width: 40%; }
}

/* 公司标识（老板 2026-07-30）：页脚放公司 logo，点击回公司主站。
   放页脚而不是页头 —— 页头是 WhalePet 产品自己的身份，公司标识属于"出品方"信息，
   和备案号、公司全名在一起才对。 */
.foot-company {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.7rem;
  text-decoration: none;
  color: var(--muted-2);
  font-size: 0.8rem;
  transition: color 0.15s ease, opacity 0.15s ease;
}
.foot-company img {
  width: 26px;
  height: 26px;
  display: block;
}
.foot-company:hover { color: var(--ink); }
.foot-company:hover img { opacity: 0.85; }
