/* Guga Container · 极地冰蓝 + 企鹅喙黄（与可可暖色区分） */
:root {
  --bg: #f4f8fb;
  --bg-soft: #e8f1f7;
  --ink: #15202b;
  --ink-soft: #4b6478;
  --ice: #3a9fd8;
  --ice-deep: #1f6fa8;
  --sky: #7ec8e3;
  --beak: #f0a02c;
  --link: #1f6fa8;
  --retro: #e8960c;
  --line: rgba(58, 159, 216, 0.22);
  --line-strong: rgba(58, 159, 216, 0.42);
  --card: #ffffff;
  --card-solid: #ffffff;
  --card-hover: #f7fbfd;
  --radius: 14px;
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, "Courier New", monospace;
  --shadow: 0 4px 16px rgba(21, 32, 43, 0.07);
  --shadow-hover: 0 12px 28px rgba(21, 32, 43, 0.1), 0 0 0 1px rgba(58, 159, 216, 0.4);
  /* 兼容旧变量名 */
  --beam: #3a9fd8;
  --beam-dim: #1f6fa8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(58, 159, 216, 0.1), transparent 55%),
    radial-gradient(700px 300px at 0% 15%, rgba(126, 200, 227, 0.12), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--beam);
}

:focus-visible {
  outline: 2px solid var(--beam);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 1.75rem, var(--max));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(243, 247, 246, 0.9);
  border-bottom: 1px solid rgba(58, 159, 216, 0.22);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand span {
  font-family: var(--font);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.35rem 1.15rem;
  border-radius: 999px;
  background: var(--beam);
  color: #06201e !important;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav-cta:hover {
  background: #5fe0d8;
  color: #06201e !important;
}

.nav-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
}

.nav-drawer {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.65rem 0 1rem;
  background: rgba(243, 247, 246, 0.97);
  border-top: 1px solid rgba(58, 159, 216, 0.22);
}

.nav-drawer.open {
  display: block;
}

.nav-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.nav-drawer a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0.5rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
}

.nav-drawer .nav-cta {
  justify-content: center;
  color: #06201e !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(120deg, var(--beam), var(--link));
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(58, 159, 216, 0.32);
}

.btn-primary:hover {
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(58, 159, 216, 0.42);
}

.btn-ghost {
  background: #ffffff;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--beam);
  background: #f0faf8;
}

.btn-wide {
  min-width: 11rem;
  letter-spacing: 0.03em;
}

/* Hero */
.hero {
  position: relative;
  padding: 1.75rem 0 2rem;
  overflow: visible;
  perspective: 1400px;
  perspective-origin: 50% 40%;
}

/* 极地氛围：冰山 + 落雪 —— 全站固定背景，冰山保持画面中段 */
.polar-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.iceberg {
  position: absolute;
  bottom: 28%;
  background: linear-gradient(180deg, rgba(126, 200, 227, 0.55) 0%, rgba(58, 159, 216, 0.28) 55%, transparent 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  opacity: 0.85;
}

.ice-a {
  left: 3%;
  width: min(42vw, 380px);
  height: min(28vw, 240px);
}

.ice-b {
  left: 30%;
  width: min(28vw, 240px);
  height: min(18vw, 150px);
  opacity: 0.65;
}

.ice-c {
  right: 6%;
  width: min(48vw, 440px);
  height: min(30vw, 260px);
  opacity: 0.75;
  background: linear-gradient(180deg, rgba(58, 159, 216, 0.4) 0%, rgba(126, 200, 227, 0.18) 100%);
}

.flake {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(58, 159, 216, 0.75);
  opacity: 0.7;
  animation: snowDrift 14s linear infinite;
  box-shadow: 0 0 0 1.5px rgba(126, 200, 227, 0.35);
}

.flake.big {
  width: 9px;
  height: 9px;
  background: rgba(90, 180, 220, 0.85);
  box-shadow: 0 0 0 3px rgba(126, 200, 227, 0.45);
  filter: blur(0.3px);
}

.flake.f1 { left: 6%; top: 10%; animation-duration: 12s; }
.flake.f2 { left: 15%; top: 30%; width: 3px; height: 3px; animation-delay: 1.5s; animation-duration: 14s; }
.flake.f3 { left: 28%; top: 6%; width: 6px; height: 6px; opacity: 0.55; animation-delay: 3s; }
.flake.f4 { left: 40%; top: 42%; animation-delay: 0.5s; animation-duration: 11s; }
.flake.f5 { left: 55%; top: 18%; width: 4px; height: 4px; animation-delay: 4s; animation-duration: 16s; }
.flake.f6 { left: 35%; top: 55%; opacity: 0.4; animation-delay: 7s; }
.flake.f7 { left: 72%; top: 8%; animation-delay: 2s; animation-duration: 13s; }
.flake.f8 { left: 88%; top: 36%; width: 4px; height: 4px; animation-delay: 5s; }
.flake.f9 { left: 48%; top: 70%; width: 3px; height: 3px; animation-delay: 6s; animation-duration: 15s; }
.flake.f10 { left: 10%; top: 55%; animation-delay: 3.5s; animation-duration: 17s; }
.flake.f11 { left: 62%; top: 48%; width: 6px; height: 6px; animation-delay: 0.8s; }
.flake.f12 { left: 78%; top: 62%; opacity: 0.5; animation-delay: 8s; animation-duration: 12s; }
.flake.f13 { left: 20%; top: 72%; animation-delay: 2.5s; }
.flake.f14 { left: 94%; top: 58%; width: 3px; height: 3px; animation-delay: 9s; }

.flake.big.b1 { left: 18%; top: 14%; animation-duration: 10s; }
.flake.big.b2 { left: 58%; top: 24%; animation-delay: 2.2s; animation-duration: 11s; }
.flake.big.b3 { left: 82%; top: 16%; animation-delay: 4.5s; animation-duration: 9s; }
.flake.big.b4 { left: 44%; top: 6%; animation-delay: 6.5s; animation-duration: 13s; }

@keyframes snowDrift {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  12% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(140px) translateX(16px);
    opacity: 0;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(58, 159, 216, 0.14);
  color: var(--beam);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--mono);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--beam);
}

.hero-copy {
  position: relative;
}

.phone-frame.phone-front {
  overflow: visible;
}

/* 盖章：极大，盖住两机下半，右下 */
.stamp-mascot {
  position: absolute;
  right: -18%;
  bottom: -12%;
  left: auto;
  top: auto;
  width: 88%;
  max-width: 340px;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center center;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
  animation: stampIn 0.9s cubic-bezier(0.25, 1.2, 0.35, 1) 3.2s both;
  transform-origin: center center;
}

.phone-stack {
  position: relative;
}

@keyframes stampIn {
  0% {
    opacity: 0;
    transform: scale(2.8) rotate(-40deg);
    filter: blur(5px);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) rotate(5deg);
    filter: blur(0);
  }
  70% {
    transform: scale(0.9) rotate(-4deg);
  }
  85% {
    transform: scale(1.06) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(-7deg);
    filter: blur(0) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
  }
}

.hero-lead {
  margin: 0 0 1.35rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 36em;
}

/* 关键词：划入后单字一直跳 */
.mark {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  font-weight: 700;
  color: var(--ink, #14231c);
  background: linear-gradient(transparent 62%, rgba(58, 159, 216, 0.42) 62%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  padding: 0 0.12em;
  opacity: 1;
  animation: markWipe 0.55s ease 4.2s forwards;
}

.mark-cost {
  background-image: linear-gradient(transparent 62%, rgba(245, 166, 35, 0.55) 62%);
  color: #8a4b00;
  animation: markWipe 0.55s ease 4.6s forwards;
}

.mark .ch {
  display: inline-block;
  transform-origin: center center;
  will-change: transform;
  opacity: 1;
  animation: chJump 1.15s ease-in-out infinite;
}

@keyframes markWipe {
  to {
    background-size: 100% 100%;
  }
}

@keyframes chJump {
  0%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-7px);
  }
  75% {
    transform: translateY(0);
  }
}

.mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: currentColor;
  opacity: 0.4;
  transform: scaleX(0);
  transform-origin: left;
  animation: markLine 0.4s ease 5.8s forwards;
}

.mark-cost::after {
  animation-delay: 6.2s;
  background: #c2783a;
}

@keyframes markLine {
  to {
    transform: scaleX(1);
  }
}

/* 入场：主标题约 3s 起（每档独立完整 animation，避免延迟被冲掉） */
.fly-in {
  opacity: 0;
  animation-name: flyFront;
  animation-duration: 2.2s;
  animation-timing-function: cubic-bezier(0.16, 0.84, 0.28, 1);
  animation-fill-mode: both;
}

.fly-1 {
  animation: flyFront 2.2s cubic-bezier(0.16, 0.84, 0.28, 1) 0.5s both;
  --from-scale: 1.35;
  --from-y: -10px;
}

.fly-2 {
  animation: flyFront 2.2s cubic-bezier(0.16, 0.84, 0.28, 1) 1.5s both;
  --from-scale: 1.5;
  --from-y: 2px;
}

.fly-3 {
  animation: flyFront 2.2s cubic-bezier(0.16, 0.84, 0.28, 1) 2.6s both;
  --from-scale: 1.4;
  --from-y: 0;
}

.fly-4 {
  animation: flyFront 2.2s cubic-bezier(0.16, 0.84, 0.28, 1) 3.4s both;
  --from-scale: 1.3;
  --from-y: 8px;
}

.fly-5 {
  animation: flyFront 2.2s cubic-bezier(0.16, 0.84, 0.28, 1) 4s both;
  --from-scale: 1.25;
  --from-y: 10px;
}

.fly-p1 {
  animation: flyFront 2.2s cubic-bezier(0.16, 0.84, 0.28, 1) 2s both;
  --from-scale: 1.7;
  --from-y: -20px;
}

@keyframes flyFront {
  0% {
    opacity: 0;
    transform: scale(var(--from-scale, 1.4)) translateY(var(--from-y, 8px));
    filter: blur(5px);
  }
  45% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark {
    animation-name: none;
    background-size: 100% 100%;
  }

  .mark-cost {
    animation-name: none;
    background-size: 100% 100%;
  }

  .mark::after {
    animation: none;
    transform: none;
  }

  .mark .ch {
    animation-name: none;
    transform: none;
    opacity: 1;
  }

  .fly-in {
    opacity: 1;
    animation-name: none;
    transform: none;
    filter: none;
  }

  .stamp-mascot {
    opacity: 1;
    animation: none;
    transform: rotate(-7deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-family: var(--mono);
  box-shadow: var(--shadow);
}

/* Hero phone mock — 双机叠卡 */
.hero-phone-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 3.75rem;
  padding-left: 0.75rem;
  perspective: 900px;
}

.phone-stack {
  position: relative;
  z-index: 2;
  width: min(100%, 240px);
  margin-bottom: -5.5rem;
  min-height: 470px;
}

.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 12px 10px 16px;
  border-radius: 28px;
  background: linear-gradient(160deg, #1a2438 0%, #0d1524 100%);
  border: 2px solid rgba(58, 159, 216, 0.48);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d;
}

.phone-front {
  z-index: 2;
  animation: phoneRock 5.5s ease-in-out infinite;
}

.phone-back {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 1;
  width: 94%;
  margin-top: 28%;
  margin-left: 52%;
  opacity: 0.97;
  filter: brightness(0.95);
  animation: phoneRockBack 6.5s ease-in-out infinite;
  animation-delay: 0.4s;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 10px;
  border-radius: 999px;
  background: #0a0f1a;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(58, 159, 216, 0.3);
}

.phone-frame::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 4px;
  border-radius: 999px;
  background: rgba(58, 159, 216, 0.4);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #f4f6fc;
  border: 1px solid rgba(58, 159, 216, 0.2);
}

.phone-screen img,
.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.phone-video {
  display: block;
  background: #0a0f18;
}

@keyframes phoneRock {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }
  50% {
    transform: rotate(1.5deg) translateY(-5px);
  }
}

@keyframes phoneRockBack {
  0%,
  100% {
    transform: rotate(4deg) translateY(0);
  }
  50% {
    transform: rotate(5.5deg) translateY(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-front,
  .phone-back {
    animation: none;
  }

  .phone-front {
    transform: rotate(-1deg);
  }

  .phone-back {
    transform: rotate(3deg);
  }
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-band {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #dde9f2 100%);
  border-block: 1px solid rgba(58, 159, 216, 0.14);
}

.section-label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--beam);
  text-transform: uppercase;
}

.section-head {
  margin-bottom: 1.5rem;
  max-width: 40em;
}

.section-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  margin: 1.75rem 0 1rem;
}

.subhead:first-of-type {
  margin-top: 0;
}

.subhead h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--beam);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.sub-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.mesh-note {
  margin-top: 1.15rem;
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(58, 159, 216, 0.12), #ffffff 55%);
  border: 1px solid rgba(58, 159, 216, 0.35);
}

.value-story {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.value-step {
  padding: 1.15rem 1.25rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(58, 159, 216, 0.22);
  box-shadow: var(--shadow-sm, 0 2px 10px rgba(20, 33, 43, 0.05));
}

.value-step h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.02rem;
}

.value-step p {
  margin: 0;
  color: #3d5260;
  font-size: 0.94rem;
}

.value-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: rgba(58, 159, 216, 0.55);
  font-weight: 700;
}

.sub-h {
  margin: 1.75rem 0 0.45rem;
  font-size: 1.1rem;
  color: var(--ink, #14231c);
}

.table-hint {
  margin: 0 0 0.75rem;
  color: #5a7384;
  font-size: 0.9rem;
}

@media (min-width: 960px) {
  .value-story {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
  }

  .value-arrow {
    display: flex;
  }
}

.mesh-note h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: var(--ink, #14231c);
}

.mesh-note p {
  margin: 0 0 0.65rem;
  color: #3d5260;
  font-size: 0.95rem;
  line-height: 1.6;
}

.mesh-note p:last-child {
  margin-bottom: 0;
}

.mesh-note .fine-print {
  margin-top: 0.35rem;
  color: #5a7384;
}

.fine-print {
  margin: 1.15rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.arch-tip {
  margin: 0 0 1.15rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  background: #fff8e8;
  border: 1px solid rgba(240, 160, 44, 0.45);
  color: var(--ink);
  font-size: 0.95rem;
}

.docs-cta {
  margin-top: 1.5rem;
  text-align: center;
}

.docs-cta .btn {
  min-width: 16rem;
}

/* 卡片：flex 居中包裹，末行不吊角 */
.grid-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.grid-3 > .card {
  flex: 1 1 240px;
  max-width: 300px;
  min-width: min(100%, 240px);
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: var(--card-solid);
  border: 1px solid rgba(58, 159, 216, 0.16);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background-color: var(--card-hover);
  box-shadow: var(--shadow-hover);
}

.card:active {
  transform: translateY(-1px);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  flex: 1;
}

.card .tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.55rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: rgba(58, 159, 216, 0.12);
  color: var(--ice-deep);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  border: 1px solid rgba(58, 159, 216, 0.28);
}

/* Compare table */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--card-solid);
}

.compare th,
.compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.compare th {
  font-family: var(--mono);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.compare th.reco,
.compare td.reco {
  background: rgba(58, 159, 216, 0.1);
}

.compare .badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  background: var(--beak);
  color: #15202b;
  font-size: 0.7rem;
  font-weight: 800;
}

.compare td.retro {
  color: var(--retro);
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
}

.step {
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card-solid);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.step:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.step-n {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--beam);
  color: #06201e;
  font-weight: 800;
  font-family: var(--mono);
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Download */
.dl-grid {
  display: grid;
  gap: 0.85rem;
}

.dl-card {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
  display: grid;
  gap: 0.65rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dl-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.dl-card.primary {
  border-color: var(--beam);
  box-shadow: 0 0 0 1px var(--beam);
}

.dl-card h3 {
  margin: 0;
  font-size: 1rem;
}

.dl-meta {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.dl-card .btn {
  width: 100%;
}

.dl-how {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ice-deep, var(--lagoon-deep, #0284c7));
  text-decoration: none;
}

.dl-how:hover {
  text-decoration: underline;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card-solid);
  padding: 0.85rem 1.1rem;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.faq details:hover {
  border-color: var(--line-strong);
  background-color: var(--card-hover);
}

.faq details[open] {
  border-color: var(--line-strong);
  background-color: var(--card-hover);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
}

/* Legal / footer */
.legal-box {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card-solid);
  color: var(--ink-soft);
  font-size: 0.92rem;
  box-shadow: var(--shadow);
}

.legal-box strong {
  color: var(--ink);
}

.site-footer {
  padding: 2.5rem 0 1.75rem;
  border-top: 1px solid var(--line);
  background: #152b3c;
  color: rgba(240, 253, 250, 0.92);
}

.footer-intro {
  margin: 0 0 1.15rem;
  color: rgba(240, 253, 250, 0.8);
  max-width: 36em;
}

.cta-row {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.site-footer .btn-primary {
  background: #7ec8e3;
  color: #152b3c !important;
  box-shadow: none;
}

.site-footer .btn-ghost {
  background: transparent;
  color: #f0fdfa;
  border-color: rgba(240, 253, 250, 0.45);
}

.site-footer .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f0fdfa;
  border-color: #7ec8e3;
}

.cta-row .btn {
  width: 100%;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(240, 253, 250, 0.15);
  font-size: 0.88rem;
  color: rgba(240, 253, 250, 0.75);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(240, 253, 250, 0.8);
}

.footer-links a:hover {
  color: #7ec8e3;
}

.footer-meta {
  margin: 0;
  opacity: 0.75;
}

/* Tech fold */
.tech-box {
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  padding: 1rem 1.2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  background: #ffffff;
}

/* ========== 三端 ========== */
@media (min-width: 640px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .dl-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-row .btn {
    width: auto;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-drawer {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
  }

  .hero-phone-wrap {
    justify-content: center;
    align-items: flex-start;
    padding-top: 4.5rem;
    padding-left: 0;
    padding-right: 2rem;
    position: relative;
    z-index: 2;
  }

  .phone-stack {
    width: 240px;
    margin-left: auto;
    margin-bottom: -7rem;
    min-height: 480px;
  }

  .grid-3 > .card {
    max-width: 320px;
  }

  .steps {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .dl-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .section {
    padding: 3.25rem 0;
  }

  .hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .flake {
    animation: none;
    opacity: 0.35;
  }

  .phone-front,
  .phone-back {
    animation: none;
  }
}

/* 滚动显现：下滚飞入，上滚飞出 */
.scroll-reveal {
  opacity: 0;
  transform: translateY(48px);
  transition:
    opacity 0.7s ease,
    transform 0.75s cubic-bezier(0.16, 0.84, 0.28, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal.is-out {
  opacity: 0;
  transform: translateY(36px);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========== docs.html ========== */
.docs-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.docs-toc {
  display: none;
  border-right: 1px solid rgba(58, 159, 216, 0.2);
  padding: 1.25rem 0.75rem 2rem;
  position: sticky;
  top: 60px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  background: #eef5fa;
}

.toc-label {
  margin: 0 0 0.5rem;
  padding: 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--copper, #c2783a);
  text-transform: uppercase;
}

.docs-toc a {
  display: block;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  color: #3a5568;
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.35;
}

.docs-toc a.is-on {
  background: rgba(58, 159, 216, 0.18);
  color: #14231c;
  font-weight: 700;
}

.docs-main {
  padding: 1.25rem 1rem 3rem;
  max-width: 920px;
  margin: 0 auto;
}

.docs-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.docs-hero p {
  margin: 0 0 1.5rem;
  color: #3a5568;
}

.doc-part {
  margin-bottom: 2.5rem;
  padding-top: 0.5rem;
}

.doc-part > h2 {
  margin: 0 0 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(58, 159, 216, 0.25);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.part-lead {
  margin: -0.5rem 0 1.25rem;
  color: #3a5568;
}

.doc-sec {
  margin-bottom: 1.5rem;
  padding: 1.1rem 1.15rem;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(58, 159, 216, 0.18);
}

.doc-sec.highlight {
  border-color: rgba(240, 160, 44, 0.45);
  background: #fffdf6;
  border-color: rgba(240, 160, 44, 0.55);
}

.doc-sec h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.doc-sec h4 {
  margin: 1rem 0 0.45rem;
  font-size: 0.98rem;
  color: #3a5568;
}

.doc-sec p,
.doc-sec li {
  color: #3a5568;
  font-size: 0.95rem;
}

.doc-sec ul,
.doc-sec ol {
  padding-left: 1.25rem;
}

.doc-sec li {
  margin-bottom: 0.35rem;
}

.doc-sec .mono,
.doc-sec code,
.docs-main .mono {
  font-family: var(--mono, Consolas, monospace);
  font-size: 0.9em;
}

.codebox {
  position: relative;
  margin: 0.65rem 0;
  border-radius: 8px;
  border: 1px solid rgba(139, 146, 158, 0.25);
  background: #0a0e18;
  overflow: hidden;
}

.codebox pre {
  margin: 0;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  font-family: var(--mono, Consolas, monospace);
  font-size: 0.84rem;
  line-height: 1.55;
  color: #d5e0f0;
}

.codebox code {
  font-family: inherit;
  background: none;
  padding: 0;
}

.copy-btn {
  position: absolute;
  top: 6px;
  right: 8px;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(240, 160, 44, 0.5);
  background: rgba(20, 16, 8, 0.85);
  color: #f0c078;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.copy-btn:hover {
  background: rgba(240, 160, 44, 0.25);
}

.callout {
  margin: 0.75rem 0;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  font-size: 0.92rem;
}

.callout.tip {
  background: #eef6fc;
  border: 1px solid rgba(58, 159, 216, 0.4);
  color: #0e4a66;
}

.callout.warn {
  background: #fff4f0;
  border: 1px solid rgba(200, 70, 50, 0.4);
  color: #8a3020;
}

.table-wrap {
  overflow-x: auto;
  margin: 0.65rem 0;
  border-radius: 8px;
  border: 1px solid rgba(139, 146, 158, 0.22);
}

.table-wrap table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #ffffff;
}

.table-wrap th,
.table-wrap td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(139, 146, 158, 0.15);
  vertical-align: top;
  color: #3a5568;
}

.table-wrap th {
  color: #14231c;
  font-weight: 700;
  background: #eef5fa;
}

.ver-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.ver-tab {
  min-height: 40px;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(139, 146, 158, 0.3);
  background: transparent;
  color: #3a5568;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.ver-tab.is-on {
  background: rgba(240, 160, 44, 0.15);
  border-color: rgba(240, 160, 44, 0.55);
  color: #14231c;
}

.ver-pane[hidden] {
  display: none;
}

.pit-list {
  padding-left: 1.2rem;
  color: #3a5568;
}

.pit-list li {
  margin-bottom: 0.75rem;
}

.docs-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(139, 146, 158, 0.2);
  color: #3a5568;
  font-size: 0.92rem;
}

@media (min-width: 960px) {
  .docs-layout {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }

  .docs-toc {
    display: block;
  }

  .docs-main {
    margin: 0;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
}

