:root {
  --frame-width: 1440px;
  --bg-top: #f7ecec;
  --bg-mid: #f5edf1;
  --bg-bottom: #f8f2ef;
  --text: #3d3442;
  --muted: #7b7381;
  --brand: #ff6b88;
  --brand-strong: #ff4f78;
  --brand-light: #ff9cb2;
  --warm: #f5be80;
  --panel: rgba(255, 251, 252, 0.76);
  --line: rgba(255, 255, 255, 0.78);
  --shell-width: 1264px;
  --shadow-lg: 0 22px 56px rgba(58, 40, 55, 0.08);
  --shadow-md: 0 14px 34px rgba(58, 40, 55, 0.08);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Noto Sans TC", sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 107, 136, 0.18), transparent 22%),
    radial-gradient(circle at 82% 72%, rgba(245, 190, 128, 0.22), transparent 24%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 48%, var(--bg-bottom) 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 44% 12%, rgba(255, 255, 255, 0.72), transparent 24%),
    radial-gradient(circle at 58% 84%, rgba(255, 255, 255, 0.46), transparent 32%);
}

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

button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

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

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.45;
  pointer-events: none;
}

.bg-orb-left {
  top: 180px;
  left: -120px;
  width: 280px;
  height: 760px;
  background: linear-gradient(180deg, rgba(255, 120, 160, 0.4), rgba(255, 255, 255, 0));
}

.bg-orb-right {
  right: -140px;
  bottom: 40px;
  width: 360px;
  height: 860px;
  background: linear-gradient(180deg, rgba(245, 177, 94, 0.44), rgba(255, 255, 255, 0));
}

.page-shell {
  position: relative;
  width: min(100%, var(--frame-width));
  margin: 0 auto;
  padding: 92px 0 72px;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 176px), var(--shell-width));
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 252, 0.76);
  box-shadow: 0 14px 40px rgba(61, 52, 66, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.brand-cat {
  width: 58px;
  height: 40px;
}

.brand-wordmark {
  width: 101px;
  height: auto;
  aspect-ratio: 101 / 38;
}

.site-nav {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.site-nav-home {
  display: none;
}

.site-nav-home-image {
  width: 56px;
  height: auto;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
  background: rgba(255, 255, 255, 0.68);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 10px 16px;
  border-radius: 16px;
  color: #fff;
  background: rgba(22, 20, 24, 0.94);
  box-shadow: var(--shadow-md);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(22, 20, 24, 0.24);
}

.store-badge.is-large {
  min-width: 220px;
  padding: 12px 18px;
}

.store-icon {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.store-icon.apple::before {
  position: absolute;
  inset: 0;
  content: "";
  display: grid;
  place-items: center;
  font-size: 32px;
  line-height: 1;
}

.store-icon.play::before {
  position: absolute;
  left: 4px;
  top: 3px;
  width: 0;
  height: 0;
  content: "";
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 24px solid #fff;
}

.store-copy {
  display: grid;
  gap: 2px;
}

.store-copy small {
  font-size: 11px;
  letter-spacing: 0.04em;
}

.store-copy strong {
  font-size: 25px;
  line-height: 1.05;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 491px minmax(0, 1fr);
  align-items: center;
  width: min(calc(100% - 176px), var(--shell-width));
  min-height: 706px;
  margin: 0 auto;
  padding: 42px 32px 0;
}

.hero-copy h1,
.feature-copy h2,
.download-copy h2 {
  margin: 0;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-title-top,
.hero-title-accent,
.feature-copy h2 span {
  display: block;
}

.hero-title-top {
  font-size: clamp(2.5rem, 4.4vw, 60px);
}

.hero-title-accent {
  color: var(--brand);
  font-size: clamp(3.3rem, 5.8vw, 82px);
}

.hero-copy p,
.feature-copy p,
.download-copy p,
.food-note p,
.weight-toast p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-copy p {
  max-width: 491px;
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.67;
}

.hero-downloads {
  display: none;
}

.hero-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-download-image {
  width: 160px;
  height: 44px;
}

.hero-qr-downloads {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  margin-top: 24px;
}

.hero-qr-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(118, 108, 130, 0.12);
  overflow: hidden;
  cursor: zoom-in;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.hero-qr-card:hover,
.hero-qr-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(118, 108, 130, 0.18);
}

.hero-qr-image {
  display: block;
  width: 150px;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.qr-modal .modal-backdrop {
  background: rgba(255, 232, 238, 0.78);
  backdrop-filter: blur(4px);
}

.qr-modal .modal-panel,
.qr-modal-panel {
  width: auto;
  max-width: calc(100vw - 40px);
  max-height: none;
  padding: 20px;
  box-sizing: border-box;
  border: 0;
  border-radius: 33px;
  background: #dfdada;
  box-shadow: none;
}

.qr-modal .modal-content,
.qr-modal-content {
  display: grid;
  justify-items: center;
  gap: 0;
  width: fit-content;
  justify-self: center;
  max-height: none;
  padding-right: 0;
  overflow: visible;
}

.qr-modal .qr-modal-image,
.qr-modal-image {
  display: block;
  width: min(370px, calc(100vw - 80px));
  height: auto;
  border-radius: 0;
}

.qr-modal .modal-close {
  top: 13px;
  right: 20px;
}

.hero-art {
  position: relative;
  min-height: 100%;
}

.hero-cat {
  position: absolute;
  right: 67px;
  bottom: 0;
  width: 548.5px;
  max-width: none;
}

.hero-meow {
  position: absolute;
  top: 67px;
  right: 130px;
  width: 139px;
  height: auto;
}

.testimonials,
.download-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 42px rgba(74, 49, 61, 0.09);
  backdrop-filter: blur(16px);
}

.testimonials {
  position: relative;
  display: block;
  width: min(calc(100% - 56px), calc(var(--shell-width) + 120px));
  margin: -18px auto 0;
  min-height: 319px;
  padding: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.testimonials-intro {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 280px;
  padding: 40px 80px 40px 40px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.96) 74%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: inherit;
}

.testimonials-copy {
  display: grid;
  gap: 12px;
}

.testimonial-cat-art {
  display: none;
}

.testimonials h2 {
  margin: 0;
  color: #2e2436;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 30px;
  line-height: normal;
  font-weight: 700;
}

.testimonial-avatars {
  display: flex;
  align-items: center;
  padding-right: 10px;
}

.testimonial-avatars img,
.testimonial-avatars span {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  border: 2px solid #fff1f4;
  border-radius: 50%;
}

.testimonial-avatars img {
  object-fit: cover;
}

.testimonial-avatars span {
  display: grid;
  place-items: center;
  color: #6b3844;
  font-family: "Space Grotesk", "Noto Sans TC", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  background: #e0beb7;
}

.testimonial-controls {
  display: none;
  gap: 24px;
}

.testimonial-nav {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  color: #7b727f;
  background: transparent;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    color 180ms ease;
}

.testimonial-nav-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.testimonial-nav:disabled {
  opacity: 0.42;
  cursor: default;
  box-shadow: none;
}

.testimonial-nav:not(:disabled):hover,
.testimonial-nav:not(:disabled):focus-visible {
  color: var(--brand);
  transform: translateY(-1px);
}

.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 285px;
  gap: 24px;
  overflow-x: auto;
  align-items: center;
  min-height: 319px;
  padding: 50px 40px 40px 279px;
  scroll-padding-left: 279px;
  scroll-padding-right: 40px;
  scrollbar-width: none;
  will-change: scroll-position;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 285px;
  min-height: 319px;
  padding: 20px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  align-items: center;
  margin-bottom: 20px;
}

.testimonial-stars img {
  width: 12px;
  height: 12px;
}

.testimonial-body {
  margin: 0;
  width: 245px;
  max-width: 100%;
  color: #434147;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  margin-top: 24px;
}

.testimonial-meta {
  flex: 1;
  min-width: 0;
}

.testimonial-name {
  margin: 0;
  color: #3d3842;
  font-size: 16px;
  font-weight: 600;
}

.testimonial-detail {
  margin: 0;
  color: #3d3842;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
  padding: 118px 0 0;
}

.feature-copy h2 {
  font-size: clamp(2.15rem, 3vw, 3.1rem);
}

.feature-copy h2 span {
  color: var(--brand);
}

.feature-copy p {
  max-width: 389px;
  margin-top: 18px;
}

.mission-section {
  display: grid;
  grid-template-columns: 389px 693px;
  column-gap: 118px;
  align-items: center;
  width: 100%;
  min-height: 650px;
  padding: 65px 120px;
}

.mission-copy {
  width: 389px;
}

.mission-title {
  margin: 0;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.mission-title-main,
.mission-title-accent {
  display: block;
  font-size: 48px;
}

.mission-title-main {
  color: #2e2436;
}

.mission-title-accent {
  margin-top: 16px;
  color: #e04f71;
}

.mission-description {
  margin: 30px 0 0;
  width: 389px;
  color: #766c82;
  font-size: 18px;
  line-height: 30px;
}

.mission-stage {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 693px;
  min-height: 520px;
}

.mission-board {
  position: relative;
  width: 693px;
  min-width: 693px;
  height: 520px;
}

.mission-card {
  position: absolute;
  width: 166px;
  height: 215px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.17);
}

.mission-card:nth-child(1) { left: 30px; top: 35px; }
.mission-card:nth-child(2) { left: 216px; top: 35px; }
.mission-card:nth-child(3) { left: 401px; top: 35px; }
.mission-card:nth-child(4) { left: 127px; top: 270px; }
.mission-card:nth-child(5) { left: 312px; top: 270px; }
.mission-card:nth-child(6) { left: 498px; top: 270px; }

.mission-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advice-section {
  display: grid;
  grid-template-columns: 693px 446px;
  column-gap: 61px;
  align-items: center;
  width: 100%;
  min-height: 660px;
  padding: 70px 120px 0;
}

.advice-visual {
  width: 693px;
}

.advice-image {
  display: block;
  width: 100%;
  height: auto;
}

.advice-copy {
  width: 446px;
}

.advice-title {
  margin: 0;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.advice-title-main,
.advice-title-accent {
  display: block;
  font-size: 48px;
}

.advice-title-main {
  color: #2e2436;
}

.advice-title-accent {
  margin-top: 16px;
  color: #e04f71;
}

.advice-title-strike {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: none;
}

.advice-description {
  margin: 30px 0 0;
  width: 390px;
  color: #766c82;
  font-size: 18px;
  line-height: 30px;
}

.trend-section {
  display: grid;
  grid-template-columns: 435px 693px;
  column-gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 660px;
  padding: 70px 120px 0;
}

.trend-copy {
  width: 435px;
}

.trend-title {
  margin: 0;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.trend-title-main,
.trend-title-accent {
  display: block;
  font-size: 48px;
}

.trend-title-main {
  color: #2e2436;
}

.trend-title-accent {
  margin-top: 16px;
  color: #e04f71;
}

.trend-description {
  margin: 30px 0 0;
  width: 389px;
  color: #766c82;
  font-size: 18px;
  line-height: 30px;
}

.trend-visual {
  width: 693px;
}

.trend-image {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  display: grid;
  gap: 18px;
  justify-items: center;
  width: min(calc(100% - 56px), var(--shell-width));
  margin: 96px auto 0;
  padding: 24px 0 10px;
}

.mobile-download-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 26;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(calc(100% - 24px), 360px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: rgba(255, 250, 252, 0.92);
  box-shadow: 0 18px 40px rgba(61, 52, 66, 0.16);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.mobile-download-bar.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mobile-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-download-image {
  width: 100%;
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 4px 10px;
  color: #5d5363;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition:
    transform 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--brand-strong);
  transform: translateY(-1px);
}

.footer-copyright {
  margin: 0;
  padding-top: 2px;
  color: #877e8e;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(53, 39, 50, 0.5);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: min(82vh, 920px);
  padding: 28px 24px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 252, 253, 0.98), rgba(251, 244, 247, 0.98));
  box-shadow: 0 30px 60px rgba(44, 28, 41, 0.22);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #564c5c;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 18px rgba(61, 52, 66, 0.1);
  font-size: 28px;
  line-height: 1;
}

.modal-content {
  overflow-y: auto;
  max-height: calc(min(82vh, 920px) - 56px);
  padding-right: 10px;
}

.modal-content h2 {
  margin: 0 48px 18px 0;
  color: #2e2436;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  line-height: 1.15;
}

.modal-content h3 {
  margin: 26px 0 10px;
  color: #433948;
  font-size: 18px;
  line-height: 1.5;
}

.modal-content p,
.modal-content li {
  color: #665d6b;
  font-size: 15px;
  line-height: 1.9;
}

.modal-content p {
  margin: 0 0 12px;
}

.modal-content ol {
  margin: 0 0 12px;
  padding-left: 22px;
}

.modal-content strong {
  color: #413543;
}

.food-visual,
.weight-visual {
  position: relative;
}

.food-card,
.weight-chart {
  position: relative;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.food-card {
  width: min(100%, 560px);
  padding: 26px;
}

.food-header {
  position: absolute;
  top: 20px;
  right: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.food-dot-group {
  font-size: 12px;
  letter-spacing: 0.42em;
}

.food-kcal {
  font-family: "Space Grotesk", "Noto Sans TC", sans-serif;
  font-size: 18px;
}

.food-photo {
  position: relative;
  min-height: 340px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 42% 58%, rgba(100, 162, 74, 0.55), transparent 16%),
    radial-gradient(circle at 28% 38%, rgba(241, 93, 74, 0.72), transparent 8%),
    linear-gradient(150deg, rgba(130, 104, 74, 0.92), rgba(192, 171, 142, 0.26) 38%, rgba(214, 194, 162, 0.48)),
    linear-gradient(180deg, #d6c1a4, #b78d60);
}

.food-photo::before {
  position: absolute;
  left: 22px;
  right: 112px;
  top: 64px;
  bottom: 28px;
  content: "";
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 16px;
}

.food-photo::after {
  position: absolute;
  left: 80px;
  bottom: 42px;
  width: 220px;
  height: 146px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(76, 141, 52, 0.95), transparent 18%),
    radial-gradient(circle at 38% 58%, rgba(221, 188, 92, 0.9), transparent 12%),
    radial-gradient(circle at 32% 46%, rgba(241, 110, 75, 0.9), transparent 8%),
    linear-gradient(180deg, #fff9f1 0%, #f4ebdf 100%);
  box-shadow: 0 18px 28px rgba(90, 68, 54, 0.26);
}

.pin {
  position: absolute;
  z-index: 2;
  font-size: 34px;
}

.pin::after {
  position: absolute;
  left: 50%;
  top: 34px;
  width: 2px;
  height: 88px;
  content: "";
  background: rgba(255, 255, 255, 0.96);
}

.pin-tomato {
  top: 22px;
  left: 44px;
}

.pin-broccoli {
  top: 10px;
  left: 166px;
}

.pin-chicken {
  right: 38px;
  top: 142px;
}

.pin-chicken::after {
  height: 62px;
}

.food-note {
  position: absolute;
  right: 0;
  bottom: -24px;
  max-width: 330px;
  padding: 20px 18px 18px;
  border-radius: 18px;
  background: #dde4fb;
  box-shadow: var(--shadow-md);
}

.food-note-cat {
  position: absolute;
  right: 18px;
  top: -52px;
  font-size: 58px;
}

.food-note-title {
  margin: 0 0 4px;
  color: #4268d8;
  font-size: 16px;
  font-weight: 900;
}

.feature-food {
  grid-template-columns: minmax(0, 1fr) minmax(0, 446px);
}

.weight-visual {
  min-height: 520px;
}

.weight-toast {
  position: absolute;
  left: 26px;
  top: 36px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 248px;
  padding: 12px 16px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(90deg, #4f7dff, #7d86ff);
  box-shadow: var(--shadow-md);
}

.weight-toast-cat {
  font-size: 34px;
}

.weight-toast p {
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
}

.weight-chart {
  width: min(100%, 560px);
  margin-left: auto;
  padding: 22px 18px 14px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 8px 8px;
}

.chart-header strong {
  font-size: 20px;
  line-height: 1.1;
}

.chart-header span {
  padding: 6px 10px;
  border-radius: 14px;
  background: #f3e9eb;
  font-family: "Space Grotesk", "Noto Sans TC", sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

.weight-chart svg {
  width: 100%;
  height: auto;
}

.chart-line-shadow,
.chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line-shadow {
  stroke: rgba(255, 107, 136, 0.1);
  stroke-width: 16;
}

.chart-line {
  stroke: #ff6b88;
  stroke-width: 3.5;
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
}

.weight-chart.is-visible .chart-line {
  animation: chartDraw 1100ms ease forwards;
}

.chart-points circle {
  fill: #fff;
  stroke: #ff6b88;
  stroke-width: 3;
}

.chart-axis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0 24px 4px 138px;
  color: #9b95a0;
  font-size: 14px;
}

.weight-chart::before,
.weight-chart::after {
  position: absolute;
  content: "";
  background: rgba(157, 151, 160, 0.24);
}

.weight-chart::before {
  left: 150px;
  right: 24px;
  top: 112px;
  bottom: 58px;
  background:
    linear-gradient(180deg, rgba(157, 151, 160, 0.2) 1px, transparent 1px) 0 0 / 100% 70px,
    linear-gradient(90deg, rgba(157, 151, 160, 0.18) 1px, transparent 1px) 0 0 / 68px 100%;
}

.weight-chart::after {
  left: 24px;
  right: 24px;
  bottom: 86px;
  height: 1px;
  background: rgba(129, 94, 108, 0.8);
}

.weight-cat {
  position: absolute;
  left: 18px;
  bottom: -6px;
  z-index: 2;
  width: 290px;
  text-align: center;
}

.weight-cat-body {
  font-size: 174px;
  line-height: 1;
  filter: drop-shadow(0 10px 8px rgba(61, 52, 66, 0.08));
}

.weight-scale {
  width: 138px;
  height: 34px;
  margin: -8px auto 0;
  border: 5px solid #4c4c54;
  border-radius: 16px;
  background: linear-gradient(180deg, #e6edf1, #cfd8dd);
}

.download-section {
  padding-top: 128px;
}

.download-card {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  padding: 38px;
  border-radius: 34px;
}

.download-tag {
  margin-bottom: 8px;
  color: var(--brand);
  font-family: "Space Grotesk", "Noto Sans TC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.download-copy h2 {
  font-size: clamp(2rem, 2.9vw, 3.1rem);
}

.download-copy p:last-child {
  margin-top: 16px;
  max-width: 48ch;
}

.download-actions {
  display: grid;
  gap: 14px;
}

@keyframes ctaBreath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

@keyframes chartDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .weight-chart.is-visible .chart-line {
    animation: none;
  }

  .chart-line {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 1380px) {
}

@media (max-width: 1280px) {
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 10px;
    width: min(calc(100% - 56px), var(--shell-width));
    padding: 72px 24px 0;
  }

  .hero-cat {
    width: min(48vw, 470px);
    right: 12px;
  }

  .hero-meow {
    right: 44px;
  }

  .site-header,
  .testimonials {
    width: min(calc(100% - 56px), var(--shell-width));
  }

  .feature {
    gap: 34px;
  }

  .feature,
  .feature-food {
    grid-template-columns: 1fr;
  }

  .mission-section {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 96px 32px 0;
    gap: 34px;
  }

  .advice-section {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 96px 32px 0;
    gap: 34px;
  }

  .trend-section {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 96px 32px 0;
    gap: 34px;
  }

  .feature-copy,
  .feature-copy p {
    max-width: none;
  }

  .mission-copy,
  .mission-description,
  .mission-stage {
    width: 100%;
    max-width: none;
  }

  .advice-visual,
  .advice-copy,
  .advice-description {
    width: 100%;
    max-width: none;
  }

  .trend-copy,
  .trend-visual,
  .trend-description {
    width: 100%;
    max-width: none;
  }

  .mission-board {
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
  }

  .advice-image {
    max-width: 693px;
    margin: 0 auto;
  }

  .trend-image {
    max-width: 693px;
    margin: 0 auto;
  }

  .food-card,
  .weight-chart {
    width: 100%;
  }

  .download-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    gap: 24px;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .site-header {
    top: 0;
    left: 0;
    width: 100%;
    transform: none;
    justify-content: flex-end;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    pointer-events: none;
  }

  .nav-toggle {
    display: block;
    position: fixed;
    top: 20px;
    right: 12px;
    z-index: 24;
    margin-left: 0;
    padding: 14px;
    box-shadow: 0 12px 28px rgba(61, 52, 66, 0.12);
    pointer-events: auto;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: 84px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: 240px;
    margin-left: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 40px rgba(61, 52, 66, 0.14);
    backdrop-filter: blur(40px);
    pointer-events: auto;
  }

  .brand {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 23;
    transform: translateX(-50%);
    transform-origin: top center;
    pointer-events: auto;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    text-align: left;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.56);
  }

  .site-nav-home {
    display: block;
    align-self: flex-start;
    padding: 0;
    background: transparent;
  }

  .site-nav-home:hover,
  .site-nav-home:focus-visible {
    background: transparent;
    transform: none;
  }

  .site-nav-home-image {
    width: 64px;
  }

  .site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.is-scrolled .brand {
    opacity: 0;
    transform: translateX(-50%) translateY(-16px) scale(0.88);
    pointer-events: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    width: min(calc(100% - 28px), 390px);
    justify-items: center;
    padding: 50px 20px 28px;
  }

  .hero::before {
    left: 36px;
    top: 16px;
    opacity: 0.08;
  }

  .hero-copy {
    order: 2;
    display: grid;
    justify-items: center;
    width: 100%;
    max-width: 350px;
    text-align: center;
  }

  .hero-art {
    display: none;
  }

  .hero-cat {
    left: auto;
    right: 50%;
    width: min(78vw, 460px);
    transform: translateX(50%);
  }

  .hero-meow {
    top: 10px;
    right: 18px;
    width: 104px;
  }

  .hero-copy h1 {
    width: 100%;
  }

  .hero-title-top {
    color: #2e2436;
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0;
  }

  .hero-title-accent {
    margin-top: 2px;
    color: var(--brand);
    font-size: 40px;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0;
  }

  .hero-copy p {
    max-width: 350px;
    margin-top: 14px;
    color: #766c82;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
  }

  .hero-downloads {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 330px;
    margin-top: 28px;
  }

  .hero-download-image {
    width: 100%;
    height: auto;
  }

  .mobile-download-bar {
    display: grid;
  }

  .hero-qr-downloads {
    display: none;
  }

  .testimonials {
    width: 100%;
    margin-top: 100px;
    margin-right: 0;
    margin-left: 0;
    padding: 34px 0 26px;
    border: 0;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
  }

  .testimonials-intro {
    position: static;
    width: auto;
    padding: 12px 20px 12px 20px;
    background: transparent;
  }

  .testimonials h2 {
    font-size: 25px;
  }

  .testimonials h2 br {
    display: none;
  }

  .testimonials-copy {
    gap: 16px;
  }

  .testimonial-cat-art {
    position: absolute;
    top: -37px;
    right: 12px;
    z-index: 1;
    display: block;
    width: 154px;
    height: 157px;
    object-fit: contain;
    object-position: top center;
    pointer-events: none;
  }

  .testimonial-avatars {
    padding-right: 0;
  }

  .testimonial-avatars img,
  .testimonial-avatars span {
    margin-right: -10px;
  }

  .testimonial-track {
    gap: 14px;
    grid-auto-columns: 230px;
    min-height: 0;
    padding: 20px 0 16px;
    scroll-padding-left: 0;
    scroll-padding-right: 0;
  }

  .testimonial-card {
    width: 230px;
    min-height: 280px;
    height: 280px;
  }

  .mission-section {
    justify-items: center;
    padding: 78px 18px 0;
  }

  .advice-section {
    justify-items: center;
    padding: 78px 18px 0;
  }

  .advice-copy {
    order: 1;
  }

  .advice-visual {
    order: 2;
  }

  .trend-section {
    justify-items: center;
    padding: 78px 18px 0;
  }

  .site-footer {
    width: min(calc(100% - 28px), var(--shell-width));
    margin-top: 78px;
    padding: 18px 0 8px;
  }

  .footer-links {
    justify-content: center;
  }

  .modal {
    padding: 14px;
  }

  .modal-panel {
    max-height: 88vh;
    padding: 24px 18px 22px 20px;
    border-radius: 26px;
  }

  .qr-modal-panel {
    padding: 20px;
  }

  .modal-content {
    max-height: calc(88vh - 46px);
    padding-right: 4px;
  }

  .qr-modal-content {
    max-height: none;
    padding-right: 0;
  }

  .mission-copy {
    display: grid;
    gap: 20px;
    width: min(100%, 350px);
    max-width: 350px;
  }

  .advice-copy {
    display: grid;
    gap: 20px;
    width: min(100%, 348px);
    max-width: 348px;
  }

  .trend-copy {
    display: grid;
    gap: 20px;
    width: min(100%, 350px);
    max-width: 350px;
  }

  .mission-title-main,
  .mission-title-accent {
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
  }

  .advice-title-main,
  .advice-title-accent {
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
  }

  .trend-title-main,
  .trend-title-accent {
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
  }

  .mission-title-accent {
    margin-top: 0;
  }

  .advice-title-accent {
    margin-top: 0;
  }

  .trend-title-accent {
    margin-top: 0;
  }

  .mission-description {
    width: 100%;
    margin-top: 0;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
  }

  .mission-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
  }

  .advice-description {
    width: 100%;
    margin-top: 0;
    font-size: 16px;
    line-height: 1.88;
    text-align: center;
  }

  .advice-visual {
    width: min(100%, 390px);
  }

  .advice-image {
    width: min(100%, 390px);
    max-width: 390px;
  }

  .trend-description {
    width: 100%;
    margin-top: 0;
    font-size: 16px;
    line-height: 1.88;
    text-align: center;
  }

  .trend-visual {
    width: min(100%, 390px);
  }

  .trend-image {
    width: min(100%, 390px);
    max-width: 390px;
  }

  .mission-board {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 101px);
    grid-template-rows: auto;
    align-content: center;
    justify-content: center;
    max-width: none;
    gap: 8px;
    width: min(100%, 390px);
    height: 300px;
    padding: 0;
  }

  .mission-card {
    position: static;
    width: 101px;
    height: 130px;
    border-radius: 12px;
  }

  .food-note {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 20px;
    max-width: none;
  }

  .weight-visual {
    min-height: auto;
    padding-top: 82px;
  }

  .weight-toast {
    left: 0;
    top: 0;
  }

  .weight-cat {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -28px auto 0;
    width: 220px;
  }

  .weight-cat-body {
    font-size: 132px;
  }

  .chart-axis {
    padding-left: 118px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding-top: 104px;
  }

  .site-header {
    width: 100%;
  }

  .brand {
    top: 19px;
    gap: 8px;
  }

  .brand-cat {
    width: auto;
    height: 40px;
  }

  .brand-wordmark {
    width: auto;
    height: 40px;
  }

  .nav-toggle {
    top: 14px;
    right: 12px;
    width: 50px;
    height: 50px;
    padding: 13px;
  }

  .site-nav {
    top: 74px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: 220px;
    margin-left: auto;
    border-radius: 24px;
  }

  .hero {
    width: min(calc(100% - 20px), 390px);
    padding-top: 32px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-title-top {
    font-size: 30px;
  }

  .hero-title-accent {
    font-size: 40px;
  }

  .hero-copy p,
  .feature-copy p,
  .download-copy p {
    font-size: 15px;
  }

  .hero-copy p {
    line-height: 1.6;
  }

  .hero-downloads {
    max-width: 330px;
    margin-top: 26px;
  }

  .testimonials {
    width: 100%;
    margin-top: 100px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 24px;
    padding: 28px 0 26px;
    border-radius: 30px;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
  }

  .testimonial-controls {
    display: none;
  }

  .testimonial-track {
    gap: 14px;
    grid-auto-columns: 230px;
    padding: 18px 0 16px;
    scroll-padding-left: 0;
    scroll-padding-right: 0;
  }

  .testimonial-card {
    width: 230px;
    min-height: 280px;
    height: 280px;
  }

  .testimonial-cat-art {
    top: -18px;
    right: 12px;
    width: 132px;
    height: 135px;
  }

  .testimonial-body {
    width: 100%;
  }

  .feature {
    padding-top: 78px;
  }

  .mission-section {
    justify-items: center;
    padding: 78px 10px 0;
  }

  .advice-section {
    justify-items: center;
    padding: 78px 10px 0;
  }

  .advice-copy {
    order: 1;
  }

  .advice-visual {
    order: 2;
  }

  .trend-section {
    justify-items: center;
    padding: 78px 10px 0;
  }

  .site-footer {
    width: min(calc(100% - 20px), var(--shell-width));
    gap: 20px;
    margin-top: 64px;
    padding: 14px 0 6px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-link {
    width: auto;
  }

  .footer-copyright {
    font-size: 13px;
  }

  .modal-panel {
    width: 100%;
    padding: 20px 14px 18px 16px;
    border-radius: 22px;
  }

  .qr-modal-panel {
    padding: 20px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .modal-content h2 {
    margin-right: 40px;
    font-size: 1.5rem;
  }

  .qr-modal-image {
    width: min(370px, calc(100vw - 80px));
  }

  .modal-content h3 {
    font-size: 17px;
  }

  .modal-content p,
  .modal-content li {
    font-size: 14px;
    line-height: 1.8;
  }

  .mission-copy {
    display: grid;
    gap: 20px;
    width: min(100%, 350px);
    max-width: 350px;
  }

  .advice-copy {
    display: grid;
    gap: 20px;
    width: min(100%, 348px);
    max-width: 348px;
  }

  .trend-copy {
    display: grid;
    gap: 20px;
    width: min(100%, 350px);
    max-width: 350px;
  }

  .mission-title-main,
  .mission-title-accent {
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
  }

  .advice-title-main,
  .advice-title-accent {
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
  }

  .trend-title-main,
  .trend-title-accent {
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
  }

  .mission-description {
    width: 100%;
    margin-top: 0;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
  }

  .mission-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
  }

  .advice-description {
    width: 100%;
    margin-top: 0;
    font-size: 16px;
    line-height: 1.88;
    text-align: center;
  }

  .advice-visual {
    width: min(100%, 390px);
  }

  .advice-image {
    width: min(100%, 390px);
    max-width: 390px;
  }

  .trend-description {
    width: 100%;
    margin-top: 0;
    font-size: 16px;
    line-height: 1.88;
    text-align: center;
  }

  .trend-visual {
    width: min(100%, 390px);
  }

  .trend-image {
    width: min(100%, 390px);
    max-width: 390px;
  }


  .mission-board {
    grid-template-columns: repeat(3, 101px);
    align-content: center;
    width: min(100%, 390px);
    height: 300px;
    gap: 8px;
    justify-items: stretch;
    padding: 0;
  }

  .food-card {
    padding: 18px;
  }

  .food-photo {
    min-height: 250px;
  }

  .food-photo::after {
    left: 40px;
    bottom: 32px;
    width: 170px;
    height: 116px;
  }

  .food-header {
    top: 14px;
    right: 18px;
  }

  .pin {
    font-size: 26px;
  }

  .pin::after {
    top: 26px;
    height: 64px;
  }

  .pin-broccoli {
    left: 122px;
  }

  .chart-header {
    flex-direction: column;
    gap: 10px;
  }

  .chart-axis {
    padding: 0 12px 4px 78px;
    font-size: 12px;
  }

  .weight-toast {
    position: relative;
    max-width: none;
    margin-bottom: 12px;
  }

  .download-card {
    padding: 24px 18px;
  }

  .download-actions {
    width: 100%;
  }

  .store-badge,
  .store-badge.is-large {
    width: 100%;
    min-width: 0;
  }

  .store-copy strong {
    font-size: 22px;
  }
}

@media (max-width: 374px) {
  .testimonial-cat-art {
    display: none;
  }
}

@media (min-width: 375px) and (max-width: 480px) {
  .testimonial-cat-art {
    right: -18px;
  }
}

@media (min-width: 561px) and (max-width: 768px) {
  .testimonials-intro {
    padding-left: 60px;
  }

  .testimonial-cat-art {
    right: 60px;
  }

  .mission-stage {
    min-height: 400px;
  }

  .mission-board {
    width: 390px;
    max-width: none;
    transform: scale(1.3333333333);
    transform-origin: top center;
  }

  .advice-visual,
  .advice-image,
  .trend-visual,
  .trend-image {
    width: 520px;
    max-width: 520px;
  }
}
