/* 用户用途：AudioRecord 介绍页样式，强调清晰安装路径和可读说明。 */
:root {
  --paper: #f7f8f4;
  --ink: #1d2420;
  --muted: #5c665f;
  --line: #d8ded6;
  --panel: #ffffff;
  --mint: #3ab795;
  --coral: #ff6b4a;
  --amber: #f5b842;
  --blue: #2d79c7;
  --shadow: 0 18px 50px rgba(29, 36, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(29, 36, 32, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(29, 36, 32, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: "Avenir Next", "Hiragino Sans GB", "PingFang SC", sans-serif;
  letter-spacing: 0;
}

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

.hero {
  min-height: 92vh;
  padding: 28px;
}

.topbar,
.hero-grid,
.section,
.footer {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(29, 36, 32, 0.18);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.navlinks a:hover,
.footer-links a:hover {
  color: var(--coral);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  gap: 54px;
  align-items: center;
  padding: 82px 0 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(64px, 12vw, 132px);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 29px);
  line-height: 1.55;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  padding: 0 22px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-action {
  background: var(--ink);
  color: #fff;
  box-shadow: 8px 8px 0 var(--amber);
}

.secondary-action {
  background: #fff;
  color: var(--ink);
}

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

.microcopy {
  color: var(--muted);
  font-size: 14px;
}

.promise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 12px;
  padding: 0;
  list-style: none;
}

.promise-list li {
  border: 2px solid var(--ink);
  background: #fff;
  padding: 9px 12px;
  font-weight: 800;
  box-shadow: 4px 4px 0 rgba(245, 184, 66, 0.8);
}

.hero-panel {
  position: relative;
  border: 2px solid var(--ink);
  background: var(--panel);
  padding: 34px;
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 2px solid var(--ink);
  background: repeating-linear-gradient(135deg, var(--mint) 0 10px, transparent 10px 20px);
}

.app-icon {
  display: block;
  width: 168px;
  height: 168px;
  margin: 0 auto 28px;
  border-radius: 34px;
  box-shadow: 0 24px 54px rgba(45, 121, 199, 0.24);
}

.signal-board {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.signal-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.meter {
  display: block;
  height: 13px;
  border: 2px solid var(--ink);
  background: #eef1eb;
}

.meter-fill {
  display: block;
  height: 100%;
}

.meter-system {
  width: 72%;
  background: var(--mint);
}

.meter-mic {
  width: 44%;
  background: var(--coral);
}

.mini-flow {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  font-weight: 800;
}

.section {
  padding: 78px 0;
}

.section-title {
  max-width: 740px;
  margin-bottom: 34px;
}

.feature-grid,
.steps,
.guide-grid,
.workflow,
.faq-list {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.step-card,
.guide-grid article,
.workflow,
.faq-list details {
  border: 2px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  padding: 22px;
}

.feature-card {
  min-height: 260px;
}

.feature-number {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--blue);
  font-weight: 900;
}

.feature-card p,
.step-card p,
.guide-grid p,
.workflow p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

.output-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  border: 2px solid var(--ink);
  background: var(--ink);
}

.output-strip div {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #fff;
  border-right: 2px solid var(--ink);
}

.output-strip div:last-child {
  border-right: 0;
}

.output-strip span {
  color: var(--muted);
}

.install-section {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

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

.step-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
}

.step-card span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  background: var(--amber);
  font-weight: 900;
}

.step-card h3,
.step-card p {
  grid-column: 2;
}

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

.guide-grid article:nth-child(2n) {
  border-color: var(--mint);
}

.guide-grid article:nth-child(3n) {
  border-color: var(--coral);
}

.workflow {
  grid-template-columns: 1fr 1fr;
  align-items: start;
  border-color: var(--ink);
}

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

.checklist li {
  border-left: 7px solid var(--mint);
  background: #f4fbf7;
  padding: 14px 16px;
  font-weight: 800;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 900;
}

.faq-list p {
  padding: 0 22px 22px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 2px solid var(--ink);
  padding: 30px 0 46px;
}

.footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

@media (max-width: 920px) {
  .navlinks {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 18px 0;
  }

  .hero-grid,
  .feature-grid,
  .output-strip,
  .steps,
  .guide-grid,
  .workflow,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
    padding-top: 46px;
  }

  .feature-card {
    min-height: auto;
  }

  .output-strip div {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .output-strip div:last-child {
    border-bottom: 0;
  }

  .footer {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .topbar,
  .hero-grid,
  .section,
  .footer {
    width: min(100vw - 24px, 1120px);
  }

  .actions,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .step-card {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 18px;
  }

  .step-card span {
    width: 44px;
    height: 44px;
  }
}
