/* ============================================
   奶蛙 Milky Frog — Design System
   ============================================ */

:root {
  /* —— Colors —— */
  --frog-yellow: #FFD83D;       /* 奶蛙主色 - 身体黄 */
  --frog-yellow-deep: #F5C518;  /* 阴影/hover */
  --frog-yellow-soft: #FFF1B8;  /* 浅黄底色 */
  --milk: #FFFCF2;              /* 奶白 / 页面背景 */
  --milk-warm: #F8F3E4;         /* 卡片浅底 */
  --ink: #1A1612;               /* 主文字 - 不用纯黑 */
  --ink-soft: #4D453B;          /* 次文字 */
  --ink-mute: #948876;          /* 弱文字 */
  --tongue: #FF4D4D;            /* 舌头红 - 强调色 */
  --line: #E8DFC9;              /* 分割线 */
  --line-strong: #1A1612;       /* 描边黑 */

  /* —— Type —— */
  --f-display: "Bricolage Grotesque", "Noto Sans SC", system-ui, sans-serif;
  --f-sans: "Noto Sans SC", "Bricolage Grotesque", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  /* —— Spacing/Radius —— */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* —— Shadow —— */
  --shadow-card: 0 2px 0 var(--line-strong);
  --shadow-card-lg: 0 6px 0 var(--line-strong);
  --shadow-soft: 0 12px 40px -16px rgba(26, 22, 18, 0.18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: var(--milk);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
}

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

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

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

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

/* ============================================
   Layout
   ============================================ */

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
}

section { position: relative; }

/* ============================================
   Navbar
   ============================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 242, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.nav-logo .logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--frog-yellow);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.15s;
}
.nav-logo .logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.nav-logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-soft);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--ink);
  transition: width 0.2s;
}
.nav-links a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  padding: 2px;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
}
.lang-toggle button {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  transition: background 0.15s;
  line-height: 1;
}
.lang-toggle button.active {
  background: var(--ink);
  color: var(--milk);
}

@media (max-width: 720px) {
  .nav-inner { height: 60px; }
  .nav-links { display: none; }
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 56px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: var(--milk);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--tongue);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(48px, 7.6vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero-title .accent {
  display: inline-block;
  position: relative;
  color: var(--ink);
}
.hero-title .accent::before {
  content: "";
  position: absolute;
  inset: -2% -6% -6% -6%;
  background: var(--frog-yellow);
  border-radius: 12px;
  z-index: -1;
  transform: rotate(-1.5deg);
}

.hero-sub {
  margin-top: 28px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 460px;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  border: 2px solid var(--ink);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--milk);
  box-shadow: var(--shadow-card-lg);
}
.btn-primary:hover {
  transform: translate(0, 2px);
  box-shadow: 0 4px 0 var(--line-strong);
}
.btn-primary:active {
  transform: translate(0, 6px);
  box-shadow: 0 0 0 var(--line-strong);
}
.btn-secondary {
  background: var(--milk);
  color: var(--ink);
  box-shadow: var(--shadow-card-lg);
}
.btn-secondary:hover {
  transform: translate(0, 2px);
  box-shadow: 0 4px 0 var(--line-strong);
}
.btn .arrow {
  transition: transform 0.15s;
}
.btn:hover .arrow { transform: translateX(3px); }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px dashed var(--line);
}
.hero-stat .num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-stat .label {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* —— Hero Phone (vertical video shell) —— */

.hero-phone-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  width: min(360px, 84%);
  aspect-ratio: 9 / 19.5;
  background: var(--ink);
  border-radius: 48px;
  padding: 10px;
  box-shadow:
    0 30px 60px -20px rgba(26, 22, 18, 0.45),
    0 0 0 4px var(--ink);
}
.phone::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 38px;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.frog-stage {
  position: absolute;
  inset: 0;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.frog-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  transform: translateY(-6%) scale(1.20);
  transform-origin: center center;
}
.video-shield { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

.phone-screen.laughing { animation: phoneShake 0.18s ease-in-out infinite; }
@keyframes phoneShake {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-1.5px, 1px) rotate(-0.4deg); }
  50% { transform: translate(0, -1px); }
  75% { transform: translate(1.5px, 1px) rotate(0.4deg); }
}

.phone-controls {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: nowrap;
}
.pc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  background: var(--milk);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
  white-space: nowrap;
}
.pc-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.pc-btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.pc-icon { font-size: 16px; line-height: 1; }
.pc-play { background: var(--frog-yellow); }
.pc-loop .pc-label-on { display: none; }
.pc-loop.on { background: var(--ink); color: var(--frog-yellow); }
.pc-loop.on .pc-label-off { display: none; }
.pc-loop.on .pc-label-on { display: inline; }
.pc-loop.on .pc-icon { display: none; }

/* haha bubbles */
.haha {
  position: absolute;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.04em;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}
.phone-screen.laughing .haha { animation: hahaFloat 1.4s ease-out infinite; }
.haha:nth-child(1) { left: 12%; top: 30%; animation-delay: 0s !important; transform: rotate(-12deg); }
.haha:nth-child(2) { right: 12%; top: 26%; animation-delay: 0.4s !important; transform: rotate(8deg); color: var(--tongue); }
.haha:nth-child(3) { left: 18%; top: 55%; animation-delay: 0.8s !important; font-size: 24px; }
.haha:nth-child(4) { right: 16%; top: 50%; animation-delay: 0.2s !important; transform: rotate(-6deg); font-size: 26px; }

@keyframes hahaFloat {
  0% { opacity: 0; transform: translateY(20px) rotate(var(--r, 0deg)) scale(0.5); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-60px) rotate(var(--r, 0deg)) scale(1.2); }
}

/* floating side decorations */
.hero-deco {
  position: absolute;
  pointer-events: none;
}
.hero-deco.d1 {
  top: -10px; left: -40px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 100px;
  color: var(--frog-yellow);
  z-index: -1;
  opacity: 0.6;
  transform: rotate(-12deg);
}
.hero-deco.d2 {
  bottom: 40px; right: -30px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 64px;
  color: var(--frog-yellow);
  z-index: -1;
  opacity: 0.5;
  transform: rotate(8deg);
}

@media (max-width: 960px) {
  .hero-deco { display: none; }
  .phone { width: min(300px, 80%); }
}

/* ============================================
   Marquee ticker (haha 滚动条)
   ============================================ */

.ticker {
  background: var(--ink);
  color: var(--frog-yellow);
  border-block: 2px solid var(--ink);
  overflow: hidden;
  padding: 18px 0;
}
.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll 30s linear infinite;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.ticker-track span::after {
  content: "★";
  color: var(--tongue);
  font-size: 28px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   Section header
   ============================================ */

.section {
  padding: 120px 0;
}
@media (max-width: 720px) {
  .section { padding: 80px 0; }
}

.section-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.section-title .accent-y {
  background: var(--frog-yellow);
  padding: 0 0.12em;
  border-radius: 6px;
}

.section-lead {
  margin-top: 28px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ============================================
   Character section
   ============================================ */

.character {
  background: var(--milk);
  border-block: 2px solid var(--ink);
}

.character-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 72px;
}
@media (max-width: 960px) {
  .character-grid { grid-template-columns: 1fr; gap: 40px; }
}

.character-portrait {
  position: relative;
  aspect-ratio: 1;
  background: var(--milk);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card-lg);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.character-portrait img {
  width: 72%;
  height: auto;
}
.character-portrait .corner-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--milk);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.character-portrait .corner-id {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 12px;
  background: var(--milk);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
}

.traits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.trait {
  padding: 20px;
  background: var(--milk);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: 0 3px 0 var(--ink);
  transition: transform 0.12s;
}
.trait:hover { transform: translate(0, -2px); box-shadow: 0 5px 0 var(--ink); }
.trait-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.trait-value {
  margin-top: 6px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ============================================
   App section
   ============================================ */

.app {
  padding-top: 120px;
}

.app-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 72px;
}
@media (max-width: 960px) {
  .app-head { grid-template-columns: 1fr; gap: 32px; }
}

.app-download {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
@media (max-width: 960px) { .app-download { align-items: flex-start; } }

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px 16px 22px;
  background: var(--ink);
  color: var(--milk);
  border-radius: 18px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-card-lg);
  transition: transform 0.12s, box-shadow 0.12s;
}
.appstore-btn:hover {
  transform: translate(0, 2px);
  box-shadow: 0 4px 0 var(--ink);
}
.appstore-btn svg { flex-shrink: 0; }
.appstore-btn .meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}
.appstore-btn .meta .small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.8;
}
.appstore-btn .meta .big {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: var(--milk);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
}
.rating .stars { color: var(--frog-yellow-deep); letter-spacing: -2px; font-size: 14px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature {
  position: relative;
  padding: 32px 28px;
  background: var(--milk);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card-lg);
  transition: transform 0.15s;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.feature:hover { transform: translate(0, -4px); }
.feature.f-yellow { background: var(--frog-yellow); }
.feature.f-dark { background: var(--ink); color: var(--milk); }
.feature.f-dark .feature-num { color: var(--frog-yellow); }
.feature.f-dark .feature-desc { color: rgba(255, 252, 242, 0.7); }

.feature-num {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.feature-icon {
  margin-top: 24px;
  height: 80px;
  display: flex;
  align-items: center;
}
.feature-title {
  margin-top: auto;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.feature-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ============================================
   Reviews section (社会化证明)
   ============================================ */

.reviews {
  margin-top: 72px;
  padding: 56px;
  background: var(--milk-warm);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
}
@media (max-width: 720px) {
  .reviews { padding: 32px 24px; }
}

.review-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.review-head h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.review-head .meta {
  font-size: 13px;
  color: var(--ink-mute);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .review-grid { grid-template-columns: 1fr; } }

.review {
  padding: 24px;
  background: var(--milk);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-stars { color: var(--frog-yellow-deep); font-size: 14px; letter-spacing: -1px; }
.review-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.review-body {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.review-author {
  margin-top: auto;
  font-size: 12px;
  color: var(--ink-mute);
}

/* ============================================
   Moods / Gallery
   ============================================ */

.moods {
  background: var(--ink);
  color: var(--milk);
  border-block: 2px solid var(--ink);
}
.moods .eyebrow { color: var(--frog-yellow); border-color: rgba(255,255,255,0.18); }
.moods .section-title { color: var(--milk); }
.moods .section-lede { color: rgba(255,252,242,0.72); }
.moods .moods-foot { border-top-color: rgba(255,255,255,0.18); }
.moods .moods-foot p { color: rgba(255,252,242,0.72); }

.mood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}
@media (max-width: 960px) { .mood-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mood-grid { grid-template-columns: 1fr; } }

.mood-card {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--milk);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card-lg);
  overflow: hidden;
  transition: transform 0.18s ease;
  display: flex;
  flex-direction: column;
}
.mood-card:hover { transform: translateY(-4px) rotate(-0.6deg); }
.mood-card:nth-child(even):hover { transform: translateY(-4px) rotate(0.6deg); }

.mood-card { border-color: var(--milk); box-shadow: 6px 6px 0 0 rgba(255,252,242,0.12); }
.mood-card.mood-1 { background: var(--frog-yellow); }
.mood-card.mood-2 { background: var(--milk); }
.mood-card.mood-3 { background: var(--frog-yellow-soft); }
.mood-card.mood-4 { background: var(--milk); }

.mood-card img {
  flex: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px 18px 0;
  user-select: none;
  -webkit-user-drag: none;
}

.mood-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 18px 16px;
  border-top: 1.5px dashed var(--ink);
  background: var(--milk);
  gap: 8px;
}
.mood-num {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.mood-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.moods-foot {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 36px;
  border-top: 1px dashed var(--line);
}
.moods-foot p {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 44ch;
}

/* ============================================
   Business / Licensing (hidden)
   ============================================ */

.business {
  background: var(--ink);
  color: var(--milk);
  border-block: 2px solid var(--ink);
}

.business .section-eyebrow { border-color: var(--milk); color: var(--milk); }
.business .section-title { color: var(--milk); }
.business .section-lead { color: rgba(255, 252, 242, 0.72); }

.biz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}
@media (max-width: 860px) { .biz-grid { grid-template-columns: 1fr; } }

.biz-card {
  position: relative;
  padding: 36px;
  background: rgba(255, 252, 242, 0.04);
  border: 1.5px solid rgba(255, 252, 242, 0.18);
  border-radius: var(--r-lg);
  transition: background 0.2s, border-color 0.2s;
}
.biz-card:hover {
  background: rgba(255, 252, 242, 0.08);
  border-color: var(--frog-yellow);
}
.biz-card .biz-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--frog-yellow);
  text-transform: uppercase;
}
.biz-card h3 {
  margin-top: 14px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.biz-card p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 252, 242, 0.65);
  max-width: 38ch;
}
.biz-card .biz-link {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--frog-yellow);
}
.biz-card .biz-link .arrow { transition: transform 0.15s; }
.biz-card:hover .biz-link .arrow { transform: translateX(4px); }

.copyright-strip {
  margin-top: 72px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 252, 242, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255, 252, 242, 0.55);
  letter-spacing: 0.02em;
}
.copyright-strip .certs {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.copyright-strip .certs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.copyright-strip .certs span::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--frog-yellow);
  border-radius: 50%;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--milk);
  padding: 80px 0 32px;
  border-top: 2px solid var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand .logo-mark {
  width: 64px; height: 64px;
  background: var(--frog-yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  overflow: hidden;
  display: grid; place-items: center;
}
.footer-brand .logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand .blurb {
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 26ch;
  line-height: 1.55;
}

.footer-col h4 {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.12s;
}
.footer-col li a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px dashed var(--line);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-mute);
}

/* ============================================
   Helpers
   ============================================ */

.lang-en { display: none; }
html[lang="en"] .lang-cn { display: none; }
html[lang="en"] .lang-en { display: inline; }
/* allow block-level when needed */
html[lang="en"] .lang-en.lang-block { display: block; }

/* Hide hover-only elements on touch */
@media (hover: none) {
  .btn-primary:hover, .btn-secondary:hover { transform: none; }
}

/* Subtle entry */
[data-fade] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-fade].in {
  opacity: 1;
  transform: none;
}
