/* 问问 · 作品引导页
   一套系统：浅蓝底、单一品牌蓝、20/14/999 三档圆角、一种按钮、一种卡片。 */

:root {
  --ink: #0d1b2a;
  --ink-soft: #26364a;
  --muted: #5a6b80;
  --muted-2: #7d8ba0;
  --brand: #1f5dff;
  --brand-deep: #0b3fd0;
  --brand-wash: #eaf1ff;
  --ground: #f6f9ff;
  --surface: #ffffff;
  --line: #e2ebf8;
  --line-strong: #cfdcf0;
  --radius: 20px;
  --radius-sm: 14px;
  --pill: 999px;
  --wrap: 1160px;
  --nav-h: 68px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, 0.05), 0 6px 18px rgba(13, 27, 42, 0.05);
  --shadow-md: 0 2px 4px rgba(13, 27, 42, 0.04), 0 18px 48px rgba(13, 27, 42, 0.09);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
  text-wrap: balance;
}

h1 {
  font-size: clamp(32px, 3.55vw, 51px);
}

h2 {
  font-size: clamp(28px, 3vw, 42px);
}

h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

p {
  margin: 0;
}

code {
  font-family: "Cascadia Mono", "Consolas", ui-monospace, monospace;
  font-size: 0.92em;
  background: var(--brand-wash);
  color: var(--brand-deep);
  border-radius: 6px;
  padding: 1px 6px;
  white-space: nowrap;
}

.mono {
  font-family: "Cascadia Mono", "Consolas", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.01em;
  word-break: break-all;
}

/* 布局 ─────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  border-top: 1px solid var(--line);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--pill);
  text-decoration: none;
  transition: top 0.18s ease;
}

.skip:focus-visible {
  top: 12px;
}

:focus-visible {
  outline: 3px solid rgba(31, 93, 255, 0.55);
  outline-offset: 3px;
  border-radius: 8px;
}

/* 导航 ─────────────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(246, 249, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-in {
  height: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand img {
  width: 34px;
  height: 34px;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-en {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  padding-top: 4px;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.nav-links a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* 按钮 ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--brand);
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(31, 93, 255, 0.18);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(31, 93, 255, 0.24);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(31, 93, 255, 0.2);
}

.btn-sm {
  margin-left: 4px;
  padding: 9px 18px;
  font-size: 14.5px;
  min-height: 40px;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 16.5px;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--brand-deep);
  border-color: #b9cdf0;
  box-shadow: var(--shadow-sm);
}

/* 首屏 ─────────────────────────────────────────────── */

.hero {
  border-top: 0;
  padding: calc(var(--nav-h) + 40px) 0 72px;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: radial-gradient(120% 90% at 88% 18%, #e8f0ff 0%, rgba(246, 249, 255, 0) 58%),
    linear-gradient(180deg, #fbfdff 0%, var(--ground) 100%);
}

.hero-in {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--brand-deep);
  background: var(--brand-wash);
  border-radius: var(--pill);
  padding: 6px 14px;
  margin-bottom: 22px;
}

.hero h1 {
  margin-bottom: 22px;
}

.lede {
  font-size: 18px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 33em;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 0;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}

.facts li {
  position: relative;
  padding-left: 16px;
}

.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.55;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}

.halo {
  position: absolute;
  width: min(560px, 92%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 93, 255, 0.16), rgba(31, 93, 255, 0.04) 62%, transparent 76%);
  filter: blur(2px);
}

.art {
  position: relative;
  width: min(520px, 88%);
  height: auto;
  filter: drop-shadow(0 28px 44px rgba(13, 27, 42, 0.16));
  transform-origin: 50% 90%;
  animation: breathe 7s ease-in-out infinite;
}

.chip {
  position: absolute;
  padding: 7px 14px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  color: var(--ink-soft);
}

.chip-1 {
  top: 14%;
  left: -6%;
}

.chip-2 {
  top: 40%;
  left: -9%;
}

.chip-3 {
  top: 66%;
  left: -3%;
}

@keyframes breathe {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

[data-enter] {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy [data-enter]:nth-child(1) {
  animation-delay: 0.05s;
}
.hero-copy [data-enter]:nth-child(2) {
  animation-delay: 0.12s;
}
.hero-copy [data-enter]:nth-child(3) {
  animation-delay: 0.2s;
}
.hero-copy [data-enter]:nth-child(4) {
  animation-delay: 0.28s;
}
.hero-copy [data-enter]:nth-child(5) {
  animation-delay: 0.36s;
}
.hero-art[data-enter] {
  animation-delay: 0.18s;
}

/* 通用区块 ─────────────────────────────────────────── */

section:not(.hero):not(.dl) {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 88px 0;
}

.kicker {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 16px;
}

.sec-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.sec-lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

/* 左右分栏 ─────────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.split-copy > p {
  margin-top: 18px;
  color: var(--muted);
  max-width: 32em;
}

.split-rev .split-copy {
  order: 2;
}

.steps {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
}

.steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}

.steps .num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--brand-wash);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 700;
}

.steps h3 {
  margin-bottom: 6px;
}

.steps p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

/* 截图框 ───────────────────────────────────────────── */

.shot {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shot:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(13, 27, 42, 0.04), 0 26px 60px rgba(13, 27, 42, 0.12);
}

.shot img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.shot:hover img {
  transform: scale(1.02);
}

.shot-pet {
  padding: 34px 24px;
}

.shot-pet img {
  width: min(420px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 18px 26px rgba(13, 27, 42, 0.14));
}

.shot-wide {
  margin-top: 44px;
}

/* 卡片与图带 ───────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 26px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #cddcf5;
  box-shadow: 0 2px 4px rgba(13, 27, 42, 0.04), 0 16px 34px rgba(13, 27, 42, 0.08);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.72;
}

.strip {
  display: none;
}

/* 姿态一览 ─────────────────────────────────────────── */

.band {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 60px 0 68px;
}

.band-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 26px;
}

.posecard {
  margin: 0;
  background: #fff;
}

.posecard img {
  width: 100%;
  max-width: 1080px;
  height: auto;
  margin: 0 auto;
}

/* 来源示例 ─────────────────────────────────────────── */

.srcrow {
  margin-top: 32px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: #fbfdff;
  padding: 24px 26px;
}

.srcrow-label {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.srcrow-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.srctag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--pill);
  background: var(--brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.srctext {
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 600;
}

.srcmeta {
  font-size: 13.5px;
  color: var(--muted-2);
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
}

.srcrow-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted-2);
}

/* 语音面板 ─────────────────────────────────────────── */

.ticks {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.panel {
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.panel-kicker {
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.bubble {
  border-radius: 18px;
  padding: 14px 18px;
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 92%;
}

.bubble-q {
  margin-left: auto;
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: 6px;
  box-shadow: 0 10px 22px rgba(31, 93, 255, 0.18);
}

.bubble-a {
  margin-top: 14px;
  background: #f3f7ff;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}

.src {
  display: inline-block;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--brand-deep);
  border-top: 1px dashed #c9d8f2;
  padding-top: 8px;
}

.panel-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.65;
}

/* 三条通道 ─────────────────────────────────────────── */

.lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.lane {
  padding: 28px 26px 26px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid var(--line);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.lane:hover {
  transform: translateY(-2px);
  border-color: #cddcf5;
}

.lane-n {
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--brand);
  margin-bottom: 14px;
}

.lane h3 {
  margin-bottom: 10px;
}

.lane p:last-child {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.72;
}

/* 上手步骤 ─────────────────────────────────────────── */

.run-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}

.run-steps li {
  padding: 26px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
}

.step-n {
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--brand);
  margin-bottom: 14px;
}

.run-steps h3 {
  margin-bottom: 10px;
}

.run-steps p:last-child {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.72;
}

.reqs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background: #fbfdff;
}

.reqs h3 {
  font-size: 17px;
  margin-bottom: 14px;
}

.reqs ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.reqs li::marker {
  color: var(--line-strong);
}

/* 下载 ─────────────────────────────────────────────── */

.dl {
  padding: 96px 0 72px;
}

.dl-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  padding: 44px 44px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: var(--shadow-md);
}

.dl-main h2 {
  margin-bottom: 12px;
}

.dl-meta {
  color: var(--muted);
  font-size: 15.5px;
}

.dl-main .cta {
  margin-top: 28px;
}

.dl-hint {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted-2);
  line-height: 1.7;
  max-width: 40em;
}

.dl-facts {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  align-content: start;
  border-left: 1px solid var(--line);
  padding-left: 40px;
}

.dl-facts > div {
  display: grid;
  gap: 4px;
}

.dl-facts dt {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

.dl-facts dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.faq {
  margin-top: 32px;
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 16px 20px;
  transition: border-color 0.16s ease;
}

.faq details:hover {
  border-color: #cddcf5;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--brand);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

/* 页脚 ─────────────────────────────────────────────── */

.foot {
  border-top: 1px solid var(--line);
  background: #f1f6ff;
}

.foot-in {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  padding-top: 36px;
  padding-bottom: 40px;
}

.foot-brand {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.foot-brand span {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  margin-left: 8px;
  font-weight: 400;
}

.foot-note {
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.7;
  max-width: 46em;
}

/* 响应式 ───────────────────────────────────────────── */

@media (max-width: 1080px) {
  .hero-in {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-art {
    min-height: 380px;
    order: -1;
  }

  .art {
    width: min(360px, 74%);
  }

  .chip {
    display: none;
  }

  .split,
  .split-rev {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split-rev .split-copy {
    order: 0;
  }

  .dl-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .dl-facts {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 24px;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 16px;
  }

  .wrap,
  .nav-in {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-in .btn-sm {
    margin-left: auto;
  }

  .brand-en {
    display: none;
  }

  section:not(.hero):not(.dl) {
    min-height: 0;
    padding: 64px 0;
  }

  .hero {
    min-height: 0;
    padding: calc(var(--nav-h) + 32px) 0 56px;
  }

  h1 {
    font-size: clamp(26px, 7.2vw, 34px);
  }

  h2 {
    font-size: clamp(24px, 6vw, 32px);
  }

  .cards,
  .lanes,
  .run-steps,
  .reqs {
    grid-template-columns: 1fr;
  }

  .cta {
    gap: 10px;
  }

  .cta .btn {
    width: 100%;
  }

  .strip img {
    width: 32vw;
  }

  .dl {
    padding: 64px 0 48px;
  }

  .dl-card {
    padding: 28px 22px;
  }

  .foot-in {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 28px;
    padding-bottom: 32px;
  }

  .shot-wide {
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-enter] {
    opacity: 1;
    transform: none;
  }

  .shot:hover,
  .card:hover,
  .lane:hover,
  .btn:hover,
  .strip img:hover {
    transform: none;
  }

  .shot:hover img {
    transform: none;
  }
}
