:root {
  --page-bg: #fff5e8;
  --paper: #fffaf1;
  --ink: #5a330f;
  --muted: #bda58c;
  --line: rgba(111, 74, 35, 0.16);
  --accent: #ff9a34;
  --accent-soft: #ffc276;
  --sage: #b7c6a7;
  --rose: #f6a7a0;
  --shadow: 0 22px 60px rgba(104, 70, 30, 0.14);
  --header-gutter: clamp(24px, 2.4vw, 34px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 194, 118, 0.28), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(183, 198, 167, 0.18), transparent 28%),
    linear-gradient(180deg, #fff8ee 0%, var(--page-bg) 48%, #fff7ec 100%);
  font-family:
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

body::before,
body::after {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 0;
  display: none;
  width: min(22vw, 430px);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: "";
  opacity: 0.92;
  pointer-events: none;
}

body::before {
  left: 0;
  background-image: url("./assets/side-decor-left.svg");
  background-position: left center;
}

body::after {
  right: 0;
  background-image: url("./assets/side-decor-right.svg");
  background-position: right center;
}

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

.site-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  margin: 0 auto;
  overflow: visible;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 88px);
  width: auto;
  min-height: 150px;
  margin: 0 var(--header-gutter);
  padding: 34px 0 22px;
}

.site-header::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  background: rgba(255, 248, 238, 0.58);
  box-shadow: 0 14px 32px rgba(104, 70, 30, 0.08);
  content: "";
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 180ms ease;
  backdrop-filter: blur(16px);
}

.site-header.is-stuck::before {
  opacity: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(160px, 17vw, 250px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.8vw, 52px);
  flex: 1 1 auto;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  color: rgba(57, 35, 18, 0.9);
  font-size: clamp(15px, 1.22vw, 18px);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.nav-item:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.language-toggle,
.login-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  font-family: inherit;
  font-size: clamp(15px, 1.22vw, 18px);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
}

.language-toggle {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 154, 52, 0.48);
  border-radius: 999px;
  color: #d8731f;
  background: rgba(255, 255, 255, 0.28);
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.login-action {
  min-width: 76px;
  min-height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fffaf2;
  background: linear-gradient(135deg, #ffad42, #ff8a2a);
  box-shadow: 0 12px 24px rgba(255, 138, 42, 0.2);
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.language-toggle:hover {
  border-color: rgba(255, 138, 42, 0.82);
  color: #b95813;
  background: rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}

.login-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(255, 138, 42, 0.28);
}

.nav-item.active::after {
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  transform: translateX(-50%);
}

.page-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.1vw, 14px);
  margin-top: clamp(10px, 1.6vw, 22px);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.5);
  box-shadow: 0 12px 28px rgba(104, 70, 30, 0.08);
  backdrop-filter: blur(12px);
}

.page-indicator-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.page-indicator-link:focus-visible {
  outline: 2px solid rgba(255, 154, 52, 0.45);
  outline-offset: 2px;
}

.page-indicator-link::before,
.page-indicator-link::after {
  position: absolute;
  inset: 0;
  margin: auto;
  content: "";
  pointer-events: none;
}

.page-indicator-link::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(90, 51, 15, 0.28);
  opacity: 1;
  transition: opacity 200ms linear;
}

.page-indicator-link::after {
  width: 24px;
  height: 24px;
  background: url("./assets/paw-print.svg") center / contain no-repeat;
  opacity: 0;
  filter: drop-shadow(0 6px 8px rgba(255, 154, 52, 0.2));
  transition: opacity 200ms linear;
}

.page-indicator-link.active::before {
  opacity: 0;
}

.page-indicator-link.active::after {
  opacity: 1;
}

#software,
#planned-products,
#about {
  scroll-margin-top: 128px;
}

#hero {
  scroll-margin-top: 180px;
}

.hero-section {
  position: relative;
  width: auto;
  margin: 0 var(--header-gutter);
  padding: clamp(8px, 1.2vw, 18px) 0 clamp(52px, 6vw, 78px);
}

.hero-carousel {
  position: relative;
  padding-bottom: clamp(40px, 4.8vw, 56px);
}

.hero-carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  isolation: isolate;
  transform: translateZ(0);
}

.hero-carousel-viewport:active {
  cursor: grabbing;
}

.hero-carousel-viewport:focus-visible {
  outline: 3px solid rgba(255, 154, 52, 0.38);
  outline-offset: 4px;
  border-radius: 14px;
}

.hero-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 560ms linear;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-track {
    transition-duration: 120ms;
  }
}

@media (min-width: 1680px) {
  body::before,
  body::after {
    display: block;
  }
}

.hero-carousel-slide {
  flex: 0 0 auto;
  box-sizing: border-box;
  min-height: clamp(420px, 58vw, 760px);
  backface-visibility: hidden;
}

.hero-carousel-slide--clone {
  pointer-events: none;
}

.hero-carousel-slide--home {
  overflow: visible;
  contain: layout style;
}

.hero-carousel-slide--photo {
  display: flex;
  align-items: stretch;
}

.hero-carousel:has(.hero-carousel-slide--photo) .page-indicator {
  display: flex;
}

.hero-carousel:not(:has(.hero-carousel-slide--photo)) .page-indicator {
  display: none;
}

.hero-slide-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, min(34vw, 42%));
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding-inline: clamp(0px, 0.5vw, 8px);
  min-height: clamp(420px, 58vw, 760px);
}

.hero-slide-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(420px, 58vw, 760px);
  object-fit: cover;
  object-position: center;
}

.hero-carousel .page-indicator {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  justify-self: center;
  width: fit-content;
  margin: 0 auto;
  pointer-events: auto;
}

.hero-carousel .page-indicator-link {
  pointer-events: auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(18px, 2vw, 28px);
  min-width: 0;
  max-width: 660px;
  transform: translateY(-10px);
}

.eyebrow-line,
.heading-line,
.footer-line {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: rgba(90, 51, 15, 0.28);
}

.eyebrow-line {
  display: none;
  width: 36%;
}

.hero-title {
  display: grid;
  gap: clamp(6px, 0.8vw, 10px);
  max-width: 660px;
  margin: 0;
  color: var(--ink);
  font-family:
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    system-ui,
    sans-serif;
  font-size: clamp(40px, 5.5vw, 86px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.03;
  text-wrap: balance;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.32),
    0 8px 18px rgba(104, 70, 30, 0.08);
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-title-primary {
  padding-left: 0.04em;
  font-size: 0.88em;
  letter-spacing: 0.04em;
}

.hero-title-lift {
  transform: none;
}

.hero-title-secondary {
  padding-left: 0.08em;
  margin-top: 0;
  font-size: 1.02em;
  letter-spacing: 0.01em;
}

.title-paw {
  display: inline-block;
  width: 0.38em;
  height: 0.38em;
  margin-left: 0.12em;
  vertical-align: 0.02em;
  transform: rotate(-8deg);
  opacity: 0.84;
}

.hero-subtitle-spacer {
  margin: -2px 0 0;
  font-size: clamp(14px, 1.6vw, 24px);
  line-height: 1.6;
  visibility: hidden;
}

.hero-subtitle-spacer::before {
  content: " ";
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(10px, 3vw, 44px);
  width: 100%;
  visibility: hidden;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(112px, 16vw, 230px);
  height: clamp(48px, 5vw, 72px);
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: clamp(15px, 1.74vw, 25px);
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.primary-action {
  color: #fffaf2;
  background: linear-gradient(135deg, #ffae42, #ff8a2a);
  box-shadow: 0 16px 28px rgba(255, 138, 42, 0.2);
}

.secondary-action {
  border: 2px solid rgba(255, 154, 52, 0.55);
  background: rgba(255, 255, 255, 0.28);
  color: #e17920;
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

.primary-action:hover {
  box-shadow: 0 20px 34px rgba(255, 138, 42, 0.28);
}

.secondary-action:hover {
  border-color: rgba(255, 138, 42, 0.8);
  background: rgba(255, 255, 255, 0.42);
  color: #c96012;
}

.primary-action:focus-visible,
.secondary-action:focus-visible {
  outline: 3px solid rgba(255, 154, 52, 0.38);
  outline-offset: 4px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: block;
  justify-self: end;
  width: 100%;
  max-width: 100%;
  min-height: clamp(290px, 34vw, 500px);
  transform: translateX(5%);
}

.hero-cat-illustration {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.motion-trail {
  position: absolute;
  display: none;
  pointer-events: none;
}

.motion-trail::before {
  position: absolute;
  inset: 0;
  border: 3px dashed rgba(255, 154, 52, 0.45);
  border-color: transparent transparent rgba(255, 154, 52, 0.45) rgba(255, 154, 52, 0.45);
  border-radius: 50%;
  content: "";
  transform: rotate(-15deg);
}

.motion-trail span {
  position: absolute;
  width: clamp(16px, 1.95vw, 28px);
  aspect-ratio: 1;
  background: url("./assets/paw-print.svg") center / contain no-repeat;
}

.trail-one {
  left: 33%;
  bottom: 76px;
  width: min(36vw, 430px);
  height: min(24vw, 280px);
}

.trail-one span:nth-child(1) {
  left: 2%;
  top: 32%;
}

.trail-one span:nth-child(2) {
  right: 16%;
  top: 12%;
}

.trail-one span:nth-child(3) {
  left: 35%;
  bottom: 2%;
}

.software-section {
  position: relative;
  width: min(calc(100% - clamp(36px, 6.6vw, 96px)), 1260px);
  margin: 0 auto;
  padding: clamp(8px, 1.1vw, 16px) 0 clamp(58px, 6.7vw, 96px);
}

.section-heading {
  display: grid;
  gap: 14px;
  width: fit-content;
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-inline: auto;
  place-items: center;
}

.heading-line {
  width: clamp(132px, 20vw, 320px);
  height: clamp(28px, 3.2vw, 46px);
  border-radius: 16px;
  background: rgba(90, 51, 15, 0.88);
}

.heading-line.wide {
  width: clamp(180px, 28vw, 430px);
}

.heading-accent {
  display: block;
  width: 32px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
}

.software-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 210px);
  align-items: end;
  gap: clamp(28px, 4vw, 54px);
}

.software-heading {
  gap: 12px;
  margin-bottom: clamp(24px, 3vw, 42px);
}

.desktop-frame {
  display: grid;
  grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
  min-height: clamp(240px, 35vw, 500px);
  overflow: hidden;
  border: 2px solid rgba(90, 51, 15, 0.34);
  border-radius: 14px;
  background: rgba(255, 251, 245, 0.92);
  box-shadow: var(--shadow);
}

.desktop-sidebar {
  display: grid;
  align-content: start;
  grid-template-rows: auto 1fr;
  gap: clamp(18px, 2.2vw, 28px);
  padding: clamp(22px, 3vw, 38px) clamp(14px, 1.7vw, 24px);
  border-right: 1px solid var(--line);
  background: rgba(255, 243, 225, 0.72);
}

.app-logo img {
  display: block;
  width: min(118px, 100%);
  height: auto;
}

.app-menu {
  display: grid;
  gap: clamp(8px, 1.1vw, 14px);
}

.app-menu span {
  display: flex;
  align-items: center;
  min-height: clamp(26px, 2.8vw, 38px);
  padding: 0 clamp(10px, 1.3vw, 16px);
  border-radius: 9px;
  color: rgba(90, 51, 15, 0.72);
  font-size: clamp(12px, 1.1vw, 16px);
  font-weight: 700;
  white-space: nowrap;
}

.app-menu span.active {
  color: #d8731f;
  background: rgba(255, 154, 52, 0.17);
}

.desktop-content {
  display: grid;
  grid-template-rows: clamp(38px, 4vw, 56px) minmax(70px, 0.22fr) 1fr;
  gap: clamp(18px, 2vw, 28px);
  padding: clamp(22px, 2.5vw, 36px);
}

.desktop-topbar {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
  min-width: 0;
  padding: 0 clamp(12px, 1.5vw, 18px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.desktop-topbar span {
  color: rgba(90, 51, 15, 0.54);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 800;
  white-space: nowrap;
}

.desktop-topbar span.active {
  color: var(--accent);
}

.dashboard-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto clamp(74px, 8vw, 112px);
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  min-height: clamp(74px, 8vw, 108px);
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-banner strong {
  display: block;
  color: var(--ink);
  font-size: clamp(14px, 1.35vw, 20px);
  font-weight: 900;
}

.dashboard-banner span {
  display: block;
  margin-top: 6px;
  color: rgba(90, 51, 15, 0.58);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 700;
}

.dashboard-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.weather-card {
  text-align: right;
}

.weather-card strong {
  font-size: clamp(22px, 2.2vw, 32px);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

.dashboard-card {
  display: grid;
  align-content: start;
  gap: clamp(8px, 1vw, 14px);
  min-height: clamp(100px, 13vw, 170px);
  padding: clamp(14px, 1.6vw, 22px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-card h3 {
  margin: 0;
  color: rgba(90, 51, 15, 0.9);
  font-size: clamp(12px, 1.05vw, 16px);
  font-weight: 900;
}

.dashboard-card span {
  color: rgba(90, 51, 15, 0.58);
  font-size: clamp(11px, 0.95vw, 14px);
  font-weight: 700;
}

.task-card span {
  position: relative;
  padding-left: 16px;
}

.task-card span::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.progress-card,
.focus-card {
  place-items: center;
  text-align: center;
}

.progress-ring {
  display: grid;
  place-items: center;
  width: clamp(62px, 7vw, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.94) 0 58%, transparent 59%),
    conic-gradient(var(--accent) 0 68%, rgba(255, 154, 52, 0.18) 68% 100%);
}

.focus-card img {
  width: clamp(36px, 4vw, 56px);
  height: auto;
}

.focus-card strong {
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
}

.focus-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(26px, 2.8vw, 38px);
  padding: 0 clamp(14px, 1.6vw, 22px);
  border-radius: 999px;
  color: #fffaf2;
  background: linear-gradient(135deg, #ffad42, #ff8a2a);
}

.stats-card {
  gap: clamp(10px, 1.1vw, 16px);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.stats-row span {
  display: grid;
  gap: 3px;
  text-align: center;
}

.stats-row strong {
  color: var(--ink);
  font-size: clamp(15px, 1.4vw, 20px);
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: clamp(5px, 0.6vw, 8px);
  min-height: clamp(36px, 4.6vw, 66px);
}

.bar-chart span {
  flex: 1;
  min-width: 0;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #ffc276, #ff9a34);
}

.bar-chart span:nth-child(1) { height: 45%; }
.bar-chart span:nth-child(2) { height: 72%; }
.bar-chart span:nth-child(3) { height: 34%; }
.bar-chart span:nth-child(4) { height: 58%; }
.bar-chart span:nth-child(5) { height: 42%; }
.bar-chart span:nth-child(6) { height: 82%; }

.phone-header,
.phone-calendar,
.phone-list span,
.phone-tabbar {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.mobile-frame {
  position: relative;
  display: grid;
  grid-template-rows: 18px 42px minmax(128px, 1fr) minmax(100px, 0.8fr) 38px;
  gap: clamp(12px, 1.5vw, 18px);
  width: 100%;
  min-height: clamp(280px, 40vw, 510px);
  padding: clamp(18px, 2vw, 24px) clamp(14px, 1.6vw, 18px);
  border: 8px solid #2f2b2b;
  border-radius: 36px;
  background: #fffaf4;
  box-shadow: var(--shadow);
}

.phone-speaker {
  justify-self: center;
  width: 52px;
  height: 12px;
  border-radius: 999px;
  background: #2f2b2b;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 0 12px;
  border: 0;
  background: transparent;
}

.phone-header strong {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.phone-header span {
  width: 18px;
  aspect-ratio: 1;
  border: 2px solid rgba(90, 51, 15, 0.22);
  border-radius: 50%;
}

.phone-calendar {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px;
}

.phone-calendar strong,
.phone-list strong {
  color: rgba(90, 51, 15, 0.86);
  font-size: 13px;
  font-weight: 900;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-grid span {
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(90, 51, 15, 0.08);
}

.calendar-grid span.today {
  background: var(--accent);
}

.phone-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.phone-list span {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: rgba(90, 51, 15, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.phone-tabbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 0;
  background: transparent;
}

.phone-tabbar span {
  justify-self: center;
  width: 16px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(90, 51, 15, 0.2);
}

.phone-tabbar span.active {
  background: var(--accent);
}

.products-section {
  position: relative;
  width: min(calc(100% - clamp(32px, 5vw, 72px)), 1300px);
  margin: 0 auto;
  padding: clamp(56px, 6vw, 86px) 0 clamp(50px, 4.9vw, 70px);
}

.product-heading {
  gap: 12px;
  margin-bottom: clamp(26px, 3vw, 42px);
}

.trail-two {
  left: 28%;
  top: -74px;
  width: min(30vw, 380px);
  height: min(18vw, 220px);
}

.trail-two span:nth-child(1) {
  left: 7%;
  top: 18%;
}

.trail-two span:nth-child(2) {
  left: 40%;
  bottom: 5%;
}

.trail-two span:nth-child(3) {
  right: 12%;
  top: 40%;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.7vw, 24px);
}

.product-card {
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 1.04;
  border: 1px solid rgba(90, 51, 15, 0.18);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 194, 118, 0.22)),
    #f7e5c8;
  box-shadow: 0 18px 34px rgba(104, 70, 30, 0.1);
}

.product-card::before,
.product-card::after {
  position: absolute;
  content: "";
}

.product-brand {
  position: absolute;
  z-index: 3;
  display: block;
  width: clamp(54px, 7vw, 94px);
  aspect-ratio: 250 / 77;
  background: url("./assets/zhuazhua-logo.webp") center / contain no-repeat;
  filter: drop-shadow(0 4px 6px rgba(104, 70, 30, 0.08));
}

.product-card--notebook {
  background:
    radial-gradient(circle at 76% 16%, rgba(255, 255, 255, 0.42), transparent 22%),
    linear-gradient(135deg, #e4c08d, #f4dfbd 72%);
}

.product-card--notebook::before {
  left: 16%;
  top: 8%;
  width: 62%;
  height: 86%;
  border: 1px solid rgba(90, 51, 15, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(90, 51, 15, 0.1) 0 10%, transparent 10%),
    linear-gradient(135deg, #d9b77f, #f1d49f);
  box-shadow: 0 18px 30px rgba(104, 70, 30, 0.16);
  transform: rotate(-8deg);
}

.product-card--notebook::after {
  left: 12%;
  top: 9%;
  width: 7%;
  height: 82%;
  border-radius: 999px;
  background: repeating-linear-gradient(
    180deg,
    rgba(90, 51, 15, 0.44) 0 5px,
    transparent 5px 14px
  );
  transform: rotate(-8deg);
}

.product-brand--notebook {
  left: 28%;
  top: 37%;
  transform: rotate(-8deg);
}

.product-card--memo {
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.58), transparent 24%),
    linear-gradient(135deg, #e9cf9d, #f9edcd 68%);
}

.product-card--memo::before {
  left: 24%;
  top: 28%;
  width: 58%;
  height: 45%;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 34%),
    #f7d988;
  box-shadow: 0 16px 26px rgba(104, 70, 30, 0.14);
  transform: rotate(-5deg);
}

.product-card--memo::after {
  right: 7%;
  bottom: 9%;
  width: 26%;
  height: 18%;
  border: 2px solid rgba(190, 130, 46, 0.7);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  opacity: 0.7;
  transform: rotate(-16deg);
}

.product-brand--memo {
  left: 35%;
  top: 42%;
  width: clamp(50px, 6.4vw, 82px);
  transform: rotate(-5deg);
}

.product-card--plush {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.44), transparent 34%),
    linear-gradient(135deg, #f3d8bd, #eec39f);
}

.product-card--plush::before {
  inset: 0;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 36%, rgba(255, 255, 255, 0.16) 0 2px, transparent 3px);
  background-size: 26px 26px, 34px 34px;
  opacity: 0.34;
}

.product-cat {
  position: absolute;
  left: 11%;
  bottom: 8%;
  z-index: 2;
  display: block;
  width: 82%;
  height: auto;
  filter: drop-shadow(0 16px 20px rgba(104, 70, 30, 0.14));
}

.product-card--mug {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.6), transparent 24%),
    linear-gradient(135deg, #e6c49c, #f4e0bf 70%);
}

.product-card--mug::before {
  left: 21%;
  top: 28%;
  width: 56%;
  height: 46%;
  border: 2px solid rgba(218, 116, 33, 0.78);
  border-radius: 10px 10px 30px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 249, 238, 0.9)),
    #fff7e9;
  box-shadow: 0 18px 28px rgba(104, 70, 30, 0.12);
}

.product-card--mug::after {
  right: 13%;
  top: 38%;
  width: 21%;
  height: 26%;
  border: 8px solid rgba(255, 248, 238, 0.95);
  border-left: 0;
  border-radius: 0 22px 22px 0;
  box-shadow: inset -2px 0 0 rgba(218, 116, 33, 0.42);
}

.product-brand--mug {
  left: 33%;
  top: 44%;
  width: clamp(46px, 5.8vw, 76px);
}

.about-section {
  position: relative;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: clamp(44px, 5vw, 72px) 0 0;
}

.about-shell {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.54);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 194, 118, 0.1), transparent 20%),
    radial-gradient(circle at 84% 18%, rgba(255, 174, 95, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 246, 233, 0.26) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 16px 42px rgba(104, 70, 30, 0.06);
  backdrop-filter: blur(22px) saturate(135%);
}

.about-shell::before,
.about-shell::after {
  display: none;
}

.about-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.45fr) minmax(270px, 0.88fr);
  align-items: end;
  width: min(calc(100% - clamp(32px, 5vw, 72px)), 1320px);
  margin: 0 auto;
  gap: clamp(26px, 3vw, 44px);
  padding: clamp(30px, 3.3vw, 44px) 0 0;
}

.about-scene {
  position: relative;
  min-height: clamp(236px, 18vw, 262px);
}

.about-scene::after {
  content: none;
}

.about-cat-illustration {
  position: absolute;
  left: 18px;
  bottom: 0;
  z-index: 1;
  display: block;
  width: min(72%, 280px);
  height: auto;
  filter: drop-shadow(0 20px 24px rgba(104, 70, 30, 0.14));
  transform: scaleX(-1);
  transform-origin: center;
}

.about-center {
  align-self: end;
  display: grid;
  align-content: start;
  gap: clamp(18px, 2vw, 24px);
  padding-top: 0;
}

.about-branding {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.about-brand-logo {
  display: block;
  width: clamp(200px, 20vw, 320px);
  height: auto;
}

.about-tagline {
  margin: 0;
  color: rgba(90, 51, 15, 0.56);
  font-size: clamp(16px, 1.28vw, 20px);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.about-branding--scene {
  justify-items: start;
  text-align: left;
  padding-top: 0;
}

.about-branding--scene .about-brand-logo {
  width: clamp(190px, 18vw, 288px);
}

.about-branding--scene .about-tagline {
  padding-left: 12px;
  letter-spacing: 0.12em;
}

.about-columns {
  position: relative;
  top: -34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

.about-column {
  min-width: 0;
  padding-left: clamp(12px, 1.4vw, 18px);
  border-left: 1px dashed rgba(255, 176, 103, 0.56);
}

.about-column:first-child {
  padding-left: 0;
  border-left: 0;
}

.about-column h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(17px, 1.24vw, 20px);
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.about-column h3::before {
  width: 18px;
  aspect-ratio: 1;
  background: url("./assets/paw-print.svg") center / contain no-repeat;
  content: "";
  flex: 0 0 auto;
}

.about-column a,
.about-column span {
  display: block;
  margin-top: 12px;
  color: rgba(90, 51, 15, 0.72);
  font-size: clamp(14px, 1.02vw, 16px);
  font-weight: 700;
  line-height: 1.45;
}

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

.about-social-row {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 202, 150, 0.48);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 10px 24px rgba(104, 70, 30, 0.04);
  backdrop-filter: blur(18px) saturate(140%);
}

.about-social-label {
  color: var(--ink);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 800;
  white-space: nowrap;
}

.about-social-icons {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 10px;
}

.about-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 8px 16px rgba(104, 70, 30, 0.08);
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.about-social-link:hover {
  background: rgba(255, 255, 255, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 10px 18px rgba(104, 70, 30, 0.1);
  transform: translateY(-1px);
}

.about-social-link img {
  display: block;
  width: 18px;
  height: 18px;
}

.about-contact-card {
  align-self: end;
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 24px;
  background: rgba(255, 252, 248, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 18px 34px rgba(104, 70, 30, 0.06);
  backdrop-filter: blur(22px) saturate(145%);
}

.about-contact-card::before {
  position: absolute;
  top: 12px;
  right: 18px;
  left: 18px;
  border-top: 1px dashed rgba(255, 176, 103, 0.72);
  content: "";
}

.about-contact-card h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(18px, 1.34vw, 24px);
  font-weight: 900;
  line-height: 1.28;
}

.about-contact-card h3 span {
  display: block;
}

.about-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.about-qr-card {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 176, 103, 0.4);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.about-qr-card span {
  color: rgba(90, 51, 15, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.about-qr {
  position: relative;
  width: min(100%, 82px);
  aspect-ratio: 1;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 242, 1)),
    #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 186, 133, 0.34);
}

.about-qr::before,
.about-qr::after {
  position: absolute;
  content: "";
}

.about-qr::before {
  inset: 8px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(47, 30, 20, 0.96) 0 7px, transparent 7px 14px),
    linear-gradient(rgba(47, 30, 20, 0.96) 0 7px, transparent 7px 14px),
    linear-gradient(90deg, transparent 0 28px, rgba(47, 30, 20, 0.96) 28px 35px, transparent 35px 42px, rgba(47, 30, 20, 0.96) 42px 49px, transparent 49px),
    linear-gradient(transparent 0 28px, rgba(47, 30, 20, 0.96) 28px 35px, transparent 35px 42px, rgba(47, 30, 20, 0.96) 42px 49px, transparent 49px);
  background-size: 14px 100%, 100% 14px, 100% 100%, 100% 100%;
  opacity: 0.92;
}

.about-qr::after {
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #fff8f1 url("./assets/paw-print.svg") center / 14px no-repeat;
  box-shadow: 0 6px 12px rgba(104, 70, 30, 0.1);
  transform: translate(-50%, -50%);
}

.about-qr--alt::after {
  background-color: #fff6ee;
}

.about-contact-list {
  display: grid;
  gap: 0;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 176, 103, 0.72);
  justify-items: center;
}

.about-contact-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  min-width: 0;
  color: rgba(90, 51, 15, 0.74);
  font-size: clamp(13px, 0.96vw, 15px);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.about-contact-item span {
  white-space: nowrap;
}

.about-contact-item svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: #d97e2f;
}

.about-bottom-bar {
  position: relative;
  z-index: 1;
  margin-top: clamp(30px, 3.4vw, 44px);
  color: #fff8ef;
  background: linear-gradient(90deg, #ffb16c 0%, #ff9c48 52%, #f79854 100%);
}

.about-bottom-bar::before {
  position: absolute;
  left: 20px;
  bottom: 16px;
  width: 120px;
  height: 42px;
  background:
    radial-gradient(circle, rgba(255, 248, 239, 0.72) 0 4px, transparent 5px) 0 0 / 34px 24px,
    radial-gradient(circle, rgba(255, 248, 239, 0.62) 0 3px, transparent 4px) 16px 12px / 34px 24px;
  content: "";
  opacity: 0.55;
}

.about-bottom-bar-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - clamp(32px, 5vw, 72px)), 1320px);
  margin: 0 auto;
  gap: 18px;
  padding: 22px 0;
}

.about-legal {
  position: relative;
  z-index: 1;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 700;
}

.about-bottom-links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
  color: rgba(255, 248, 239, 0.94);
  font-size: clamp(13px, 0.94vw, 15px);
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    min-height: 132px;
    padding: 32px 0 18px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 18px 28px;
  }

  .brand-logo {
    width: clamp(150px, 24vw, 220px);
  }

  .hero-section {
    padding: clamp(16px, 2.2vw, 24px) 0 clamp(56px, 7vw, 78px);
  }

  .hero-slide-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, min(38vw, 44%));
    gap: clamp(6px, 1.8vw, 18px);
    min-height: clamp(360px, 60vw, 580px);
  }

  .hero-slide-photo {
    min-height: clamp(360px, 60vw, 580px);
  }

  .hero-copy {
    max-width: none;
    transform: translateY(-8px);
  }

  .hero-visual {
    min-height: clamp(250px, 36vw, 420px);
    transform: translateX(-2%);
  }


  .trail-one {
    left: 14%;
    bottom: 50px;
    width: 54vw;
    height: 30vw;
  }

  .software-showcase {
    grid-template-columns: 1fr;
  }

  .mobile-frame {
    justify-self: center;
    width: min(260px, 58vw);
  }

  .about-layout {
    grid-template-columns: 1fr;
    align-items: start;
    width: min(calc(100% - 32px), 1320px);
  }

  .about-scene {
    min-height: clamp(240px, 50vw, 320px);
    justify-content: center;
  }

  .about-center,
  .about-contact-card {
    max-width: 100%;
  }

  .about-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-social-row {
    grid-template-columns: 1fr;
    border-radius: 24px;
    justify-items: start;
  }

  .about-social-icons {
    justify-content: flex-start;
  }

}

@media (max-width: 680px) {
  .hero-section {
    margin: 0 16px;
  }

  .software-section {
    width: min(100% - 28px, 1260px);
  }

  .site-header {
    display: grid;
    align-items: center;
    gap: clamp(10px, 3vw, 16px);
    margin: 0 16px;
    min-height: clamp(112px, 28vw, 136px);
    padding: clamp(18px, 4.8vw, 26px) 0 clamp(10px, 3vw, 16px);
  }

  .brand {
    width: fit-content;
  }

  .site-nav {
    justify-content: flex-start;
    gap: clamp(7px, 2.1vw, 12px);
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .nav-item {
    flex: 0 0 auto;
    min-height: clamp(24px, 6vw, 32px);
    font-size: clamp(11px, 3vw, 14px);
  }

  .brand-logo {
    width: clamp(118px, 34vw, 160px);
  }

  .language-toggle,
  .login-action {
    flex: 0 0 auto;
    min-height: clamp(26px, 7vw, 34px);
    font-size: clamp(11px, 3vw, 14px);
  }

  .language-toggle {
    padding: 0 clamp(8px, 2.4vw, 12px);
  }

  .login-action {
    min-width: clamp(44px, 12vw, 58px);
    padding: 0 clamp(10px, 3vw, 16px);
  }

  .page-indicator {
    gap: 8px;
    margin-top: 8px;
    padding: 6px 10px;
  }

  .page-indicator-link {
    width: 18px;
  }

  .hero-copy {
    gap: clamp(10px, 2.6vw, 18px);
    transform: translateY(clamp(42px, 12vw, 60px));
  }

  .hero-section {
    padding: clamp(14px, 3.8vw, 20px) 0 clamp(30px, 8vw, 44px);
  }

  .hero-slide-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 52vw);
    align-items: start;
    gap: clamp(4px, 1.8vw, 10px);
    padding-inline: 8px;
    min-height: clamp(300px, 78vw, 350px);
  }

  .hero-slide-photo {
    min-height: clamp(300px, 78vw, 350px);
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(22px, 6.2vw, 38px);
    gap: 0;
    line-height: 1.06;
  }

  .hero-title-primary {
    font-size: 0.9em;
    padding-left: 0.04em;
  }

  .hero-title-lift {
    transform: none;
  }

  .hero-title-secondary {
    padding-left: 0.12em;
    margin-top: -0.03em;
    font-size: 1.1em;
  }

  .hero-subtitle-spacer {
    display: none;
  }

  .hero-visual {
    position: absolute;
    grid-column: 2;
    grid-row: 1;
    top: clamp(38px, 10vw, 52px);
    right: 8px;
    left: auto;
    width: min(52vw, 240px);
    max-width: calc(100% - 8px);
    min-height: 0;
    margin-top: 0;
  }

  .hero-actions {
    gap: clamp(10px, 2.4vw, 16px);
  }

  .primary-action,
  .secondary-action {
    width: min(clamp(64px, 17vw, 112px), calc((100% - 10px) / 2));
    height: clamp(30px, 7.1vw, 48px);
    border-width: 1px;
    font-size: clamp(10px, 2.4vw, 15px);
  }

  .hero-cat-illustration {
    width: 100%;
    height: auto;
  }

  .software-section {
    padding-bottom: 70px;
  }

  .center-on-mobile {
    margin-inline: auto;
    place-items: center;
  }

  .desktop-frame {
    grid-template-columns: 74px minmax(0, 1fr);
    min-height: clamp(280px, 58vw, 430px);
  }

  .desktop-sidebar {
    gap: 18px;
    padding: 32px 14px;
  }

  .desktop-sidebar span {
    width: 100%;
  }

  .desktop-content {
    grid-template-rows: 42px 80px 1fr;
    padding: 18px;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-card {
    min-height: clamp(78px, 16vw, 112px);
  }

  .products-section {
    width: min(100% - 40px, 1300px);
  }

  .trail-two {
    left: 10%;
    width: 70vw;
    height: 34vw;
  }

  .about-layout {
    width: min(calc(100% - 32px), 1320px);
    padding: 26px 0 0;
    gap: 24px;
  }

  .about-scene {
    min-height: 220px;
    justify-content: center;
  }

  .about-cat-illustration {
    width: min(62%, 210px);
    left: 50%;
    transform: translateX(-50%) scaleX(-1);
  }

  .about-branding--scene {
    justify-items: center;
    text-align: center;
  }

  .about-branding--scene .about-tagline {
    padding-left: 0;
  }

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

  .about-column {
    padding-bottom: 12px;
    padding-left: 0;
    border-bottom: 1px dashed rgba(255, 176, 103, 0.48);
    border-left: 0;
  }

  .about-column:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .about-qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-bottom-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: min(calc(100% - 32px), 1320px);
  }

  .about-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-qr-grid {
    grid-template-columns: 1fr;
  }
}
