:root {
  --ink: #1a2433;
  --ink-soft: #3d4a5c;
  --paper: #f3faf8;
  --mist: #e4f2ef;
  --foam: rgba(255, 255, 255, 0.72);
  --coral: #e85a4f;
  --coral-deep: #c43f36;
  --teal: #1a8a84;
  --teal-deep: #0f5f5b;
  --sun: #f6c26b;
  --line: rgba(26, 36, 51, 0.08);
  --shadow: 0 18px 40px rgba(26, 36, 51, 0.08);
  --radius: 22px;
  --max: 1120px;
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #d8f3ee 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ffe8df 0%, transparent 50%),
    linear-gradient(180deg, var(--paper), #eef6f4 40%, #f7fbfa 100%);
  line-height: 1.75;
  font-size: 16px;
}

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

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral-deep);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.site-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.top-promo {
  background: linear-gradient(90deg, rgba(26, 138, 132, 0.12), rgba(232, 90, 79, 0.1));
  border-bottom: 1px solid var(--line);
  padding: 14px 0 8px;
}

.promo-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-align: center;
  margin: 0 0 10px;
}

.promo-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  padding: 0 12px 8px;
}

.promo-tile {
  margin: 0;
  width: 72px;
  text-align: center;
}

.promo-tile img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: #fff;
}

.promo-tile figcaption {
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: var(--foam);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 8px 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-lockup img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(232, 90, 79, 0.25);
}

.brand-lockup strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
  color: var(--ink);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 8px 18px;
}

.nav-panel a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding: 6px 2px;
  position: relative;
}

.nav-panel a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--coral));
  transition: width 0.25s ease;
}

.nav-panel a:hover,
.nav-panel a.is-active {
  color: var(--ink);
}

.nav-panel a:hover::after,
.nav-panel a.is-active::after {
  width: 100%;
}

.sticky-dock {
  position: sticky;
  top: 64px;
  z-index: 35;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.sticky-dock.is-visible {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
  border-bottom-color: var(--line);
}

.dock-inner {
  width: min(100% - 24px, var(--max));
  margin: 0 auto;
  padding: 10px 0 12px;
}

.dock-title {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.dock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
}

.dock-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 11px;
}

.dock-chip img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(26, 36, 51, 0.1);
  transition: transform 0.2s ease;
}

.dock-chip:hover img {
  transform: translateY(-3px) scale(1.04);
}

.dock-chip span {
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-ribbon {
  position: relative;
  overflow: hidden;
  padding: 42px 0 28px;
}

.hero-ribbon::before {
  content: "";
  position: absolute;
  inset: 8% -20% auto;
  height: 70%;
  background:
    linear-gradient(135deg, rgba(26, 138, 132, 0.18), rgba(232, 90, 79, 0.16)),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.35) 18px,
      rgba(255, 255, 255, 0.35) 19px
    );
  border-radius: 40% 60% 50% 50%;
  filter: blur(0.2px);
  animation: drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from {
    transform: translateX(-2%) rotate(-1deg);
  }
  to {
    transform: translateX(2%) rotate(1deg);
  }
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.25;
  font-weight: 400;
  margin: 0 0 14px;
  color: var(--ink);
}

.hero-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 36em;
}

.hero-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.hero-brand-mark img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.hero-brand-mark span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--coral-deep);
}

.hero-visual {
  position: relative;
  justify-self: center;
}

.hero-visual img {
  width: min(280px, 70vw);
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 4px solid rgba(255, 255, 255, 0.8);
  transform: rotate(3deg);
  animation: floaty 5s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: rotate(3deg) translateY(0);
  }
  50% {
    transform: rotate(2deg) translateY(-8px);
  }
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding: 18px 0 6px;
}

.crumb a {
  text-decoration: none;
}

.crumb span {
  opacity: 0.45;
}

.section-block {
  padding: 34px 0;
}

.section-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  font-weight: 400;
  margin: 0 0 12px;
}

.section-block h3 {
  font-size: 1.15rem;
  margin: 22px 0 10px;
  color: var(--teal-deep);
}

.section-lead {
  color: var(--ink-soft);
  margin: 0 0 18px;
  max-width: 46em;
}

.prose p {
  margin: 0 0 1em;
  color: var(--ink);
}

.prose p:last-child {
  margin-bottom: 0;
}

.split-duo {
  display: grid;
  gap: 22px;
  align-items: center;
}

.split-duo.is-flip .shot-frame {
  order: -1;
}

.shot-frame {
  margin: 0;
  position: relative;
}

.shot-frame img {
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 3px solid rgba(255, 255, 255, 0.85);
}

.shot-frame figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.mosaic-board {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.mosaic-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mosaic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(26, 36, 51, 0.12);
}

.mosaic-card img {
  border-radius: 16px;
  margin-bottom: 12px;
}

.mosaic-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.mosaic-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pulse-strip {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.pulse-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(26, 138, 132, 0.08), rgba(255, 255, 255, 0.6));
  border: 1px solid var(--line);
}

.pulse-item strong {
  display: block;
  margin-bottom: 4px;
}

.pulse-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.num-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(145deg, var(--teal), var(--coral));
}

.text-river {
  columns: 1;
  column-gap: 28px;
}

.text-river p {
  break-inside: avoid;
}

.cta-panel {
  margin: 28px 0;
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(26, 138, 132, 0.16), rgba(232, 90, 79, 0.14)),
    #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.cta-panel h2 {
  margin-top: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.btn-fill,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-fill {
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(232, 90, 79, 0.28);
}

.btn-ghost {
  background: #fff;
  color: var(--teal-deep);
  border: 1px solid rgba(26, 138, 132, 0.35);
}

.btn-fill:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
  color: inherit;
}

.btn-fill:hover {
  color: #fff;
}

.legal-wrap h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 8px 0 16px;
}

.legal-wrap h2 {
  font-size: 1.2rem;
  margin: 28px 0 10px;
  color: var(--teal-deep);
}

.legal-wrap p,
.legal-wrap li {
  color: var(--ink-soft);
}

.legal-wrap ul {
  padding-left: 1.2em;
}

.error-stage {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0;
}

.error-stage h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.4rem);
  margin: 0 0 10px;
  font-weight: 400;
}

.error-stage p {
  color: var(--ink-soft);
  max-width: 28em;
  margin: 0 auto 20px;
}

.site-footer {
  margin-top: 40px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.footer-grid h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 8px;
  font-weight: 400;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

@media (min-width: 720px) {
  .dock-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .split-duo {
    grid-template-columns: 1fr 1fr;
  }

  .split-duo.is-flip .shot-frame {
    order: 0;
  }

  .mosaic-board {
    grid-template-columns: repeat(3, 1fr);
  }

  .text-river {
    columns: 2;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

@media (max-width: 719px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav-panel.is-open {
    display: flex;
  }

  .header-row {
    position: relative;
  }

  .split-duo.is-flip .shot-frame {
    order: 0;
  }
}
