:root {
  --paper: #eef2ec;
  --paper-strong: #fffdf7;
  --ink: #1c1b18;
  --ink-muted: #5c5750;
  --line: #c9d2c8;
  --red: #b43d2f;
  --red-dark: #84291f;
  --green: #2f6f5e;
  --blue: #2f5f7a;
  --gold: #b9852f;
  --white: #fffdf8;
  --shadow: 0 22px 80px rgba(55, 42, 23, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(28, 27, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 27, 24, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  font-family:
    "Noto Serif SC",
    "Songti SC",
    "Microsoft YaHei",
    serif;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid rgba(117, 91, 51, 0.18);
  background: rgba(238, 242, 236, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(132, 41, 31, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--ink-muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 11px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  color: var(--ink-muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.site-nav a,
.nav-cta,
.button {
  border-radius: 8px;
}

.site-nav a {
  padding: 9px 12px;
}

.site-nav a:hover {
  color: var(--red-dark);
  background: rgba(180, 61, 47, 0.08);
}

.nav-cta {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.section-band {
  padding: clamp(56px, 9vw, 112px) clamp(18px, 5vw, 56px);
}

main section[id] {
  scroll-margin-top: 92px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  max-width: 1320px;
  margin: 0 auto;
  padding-top: clamp(34px, 7vw, 76px);
  padding-bottom: clamp(28px, 6vw, 68px);
}

.hero-copy,
.hero-media {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red-dark);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 118px;
  line-height: 0.96;
  font-weight: 900;
}

h2 {
  margin-bottom: 14px;
  font-size: 54px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: min(650px, 100%);
  color: #38332d;
  font-size: 30px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 560px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 28px rgba(180, 61, 47, 0.22);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  border-color: rgba(28, 27, 24, 0.18);
  background: rgba(255, 253, 248, 0.68);
}

.button.secondary:hover {
  box-shadow: 0 10px 24px rgba(55, 42, 23, 0.11);
}

.button.tertiary {
  border-color: rgba(47, 111, 94, 0.26);
  color: var(--green);
  background: rgba(255, 253, 248, 0.42);
}

.button.tertiary:hover {
  background: rgba(47, 111, 94, 0.1);
}

.hero-note {
  max-width: 560px;
  margin-top: 22px;
  color: var(--ink-muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

.hero-media {
  position: relative;
  margin: 0;
}

.hero-media::before {
  position: absolute;
  inset: 8% -4% auto auto;
  z-index: -1;
  width: 70%;
  height: 78%;
  border: 2px solid rgba(180, 61, 47, 0.28);
  content: "";
  transform: rotate(3deg);
}

.hero-media img {
  width: 100%;
  border: 1px solid rgba(117, 91, 51, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto 28px;
  overflow: hidden;
  border: 1px solid rgba(117, 91, 51, 0.2);
  border-radius: 8px;
  background: var(--line);
}

.signal-strip div {
  padding: 22px;
  background: rgba(255, 253, 248, 0.74);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.signal-strip span {
  color: var(--ink-muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.section-heading {
  max-width: 790px;
  margin: 0 auto clamp(28px, 5vw, 48px);
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--ink-muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.85;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.story-copy,
.story-video {
  min-width: 0;
}

.story-copy p:not(.eyebrow) {
  color: var(--ink-muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.85;
}

.story-copy h2 {
  overflow-wrap: anywhere;
}

.story-video {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(117, 91, 51, 0.22);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: var(--shadow);
}

.story-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: var(--ink);
}

.start-guide {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.62), rgba(238, 242, 236, 0.8)),
    #f3ead7;
}

.start-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto clamp(28px, 5vw, 50px);
}

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

.access-card,
.install-panel,
.shot-card {
  border: 1px solid rgba(117, 91, 51, 0.22);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.8);
}

.access-card {
  display: flex;
  flex-direction: column;
  min-height: 284px;
  padding: 24px;
}

.access-card > span,
.shot-card div > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 42px;
  height: 32px;
  margin-bottom: 18px;
  padding: 0 11px;
  border: 1px solid rgba(180, 61, 47, 0.28);
  border-radius: 999px;
  color: var(--red-dark);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.access-card p,
.install-panel li,
.install-note,
.shot-card p {
  color: var(--ink-muted);
  font-family: "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}

.access-card p {
  flex: 1;
  margin-bottom: 20px;
  font-size: 14px;
}

.access-card .button {
  width: 100%;
}

.install-panel {
  padding: 24px;
  box-shadow: 0 18px 48px rgba(55, 42, 23, 0.1);
}

.install-panel h3 {
  font-size: 28px;
}

.install-panel ol {
  display: grid;
  gap: 13px;
  margin: 18px 0;
  padding-left: 22px;
}

.install-panel li::marker {
  color: var(--red-dark);
  font-weight: 800;
}

.install-note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(117, 91, 51, 0.18);
  font-size: 13px;
}

.screenshot-guide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.shot-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(55, 42, 23, 0.08);
}

.phone-frame {
  position: relative;
  width: min(74%, 260px);
  margin: 24px auto 0;
  padding: 8px;
  border: 1px solid rgba(28, 27, 24, 0.14);
  border-radius: 28px;
  background: #14161a;
  box-shadow: 0 18px 42px rgba(28, 27, 24, 0.2);
}

.phone-frame::before {
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 1;
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  content: "";
  transform: translateX(-50%);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 9 / 19.7;
  object-fit: cover;
  border-radius: 22px;
  background: #edf1f7;
}

.shot-card div {
  padding: 22px 22px 24px;
}

.shot-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.shot-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.loop {
  background: #e3ede5;
}

.loop-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.loop-track article,
.feature-card,
.trust-grid article,
.exam-card {
  border: 1px solid rgba(117, 91, 51, 0.22);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
}

.loop-track article {
  min-height: 240px;
  padding: 24px;
}

.loop-track span,
.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  border: 1px solid rgba(180, 61, 47, 0.35);
  border-radius: 50%;
  color: var(--red-dark);
  font-family: Georgia, serif;
  font-weight: 800;
}

.loop-track p,
.feature-card p,
.trust-grid p,
.use-case-panel li,
.beta-inner p,
.site-footer p {
  color: var(--ink-muted);
  font-family: "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}

.features {
  max-width: var(--max);
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 238px;
  padding: 28px;
}

.feature-card:nth-child(2) .feature-index {
  color: var(--green);
  border-color: rgba(47, 111, 94, 0.35);
}

.feature-card:nth-child(3) .feature-index {
  color: var(--blue);
  border-color: rgba(47, 95, 122, 0.35);
}

.feature-card:nth-child(4) .feature-index {
  color: var(--gold);
  border-color: rgba(185, 133, 47, 0.4);
}

.use-cases {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.use-case-panel ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.use-case-panel li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-top: 1px solid rgba(117, 91, 51, 0.18);
}

.use-case-panel li::before {
  position: absolute;
  top: 22px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--red);
  border-radius: 50%;
  content: "";
}

.exam-card {
  padding: 24px;
  box-shadow: 0 16px 42px rgba(55, 42, 23, 0.11);
}

.exam-card-header {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(117, 91, 51, 0.18);
}

.exam-card-header span,
.task-row span {
  color: var(--red-dark);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.exam-card-header strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
}

.task-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(117, 91, 51, 0.15);
}

.task-row:last-child {
  border-bottom: 0;
}

.task-row p {
  margin: 0;
  font-family: "Microsoft YaHei", sans-serif;
}

.trust {
  background: #e3edf1;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.trust-grid article {
  min-height: 212px;
  padding: 26px;
  background: rgba(255, 253, 248, 0.64);
}

.beta {
  padding-top: clamp(52px, 8vw, 96px);
  padding-bottom: clamp(52px, 8vw, 96px);
}

.beta-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid rgba(117, 91, 51, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(180, 61, 47, 0.11), transparent 38%),
    linear-gradient(315deg, rgba(47, 111, 94, 0.12), transparent 44%),
    rgba(255, 253, 248, 0.8);
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 5vw, 56px);
  border-top: 1px solid rgba(117, 91, 51, 0.2);
  background: #201e1a;
  color: var(--white);
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 253, 248, 0.66);
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
}

.legal-hero {
  padding-bottom: 36px;
}

.legal-hero h1 {
  font-size: 76px;
}

.legal-hero p,
.legal-section p {
  color: var(--ink-muted);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.9;
}

.legal-section {
  margin: 0 24px 18px;
  padding: 30px;
  border: 1px solid rgba(117, 91, 51, 0.22);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
}

.legal-section h2 {
  font-size: 34px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  max-width: 680px;
  color: rgba(255, 253, 248, 0.8);
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .button,
  .reveal {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .story,
  .start-layout,
  .use-cases {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 76px;
  }

  h2 {
    font-size: 44px;
  }

  .hero-subtitle {
    font-size: 25px;
  }

  .hero-media {
    max-width: 720px;
  }

  .story-video {
    max-width: 760px;
  }

  .legal-hero h1 {
    font-size: 56px;
  }

  .loop-track,
  .screenshot-guide,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .section-band {
    padding-top: 34px;
    padding-bottom: 34px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .site-header {
    position: relative;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .nav-cta {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .hero-copy {
    width: 100%;
    max-width: 342px;
  }

  .story-copy {
    width: 100%;
    max-width: 342px;
  }

  .story-copy p:not(.eyebrow) {
    word-break: break-all;
  }

  .hero {
    gap: 20px;
    padding-bottom: 18px;
  }

  .legal-hero h1 {
    font-size: 42px;
  }

  .legal-section {
    margin-right: 18px;
    margin-left: 18px;
    padding: 22px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-subtitle {
    width: 100%;
    max-width: 100%;
    font-size: 19px;
    word-break: break-all;
  }

  .hero-actions,
  .hero-note,
  .hero-media,
  .story-video {
    width: 100%;
    max-width: 100%;
  }

  .hero-media {
    overflow: hidden;
    border-radius: 8px;
  }

  .hero-media img {
    height: 96px;
    object-fit: cover;
    object-position: top center;
  }

  .button {
    max-width: 100%;
  }

  .signal-strip,
  .access-grid,
  .feature-grid,
  .loop-track,
  .screenshot-guide,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    margin: 0 24px 18px;
  }

  .story-copy h2 {
    font-size: 31px;
    word-break: break-all;
  }

  .button {
    width: 100%;
  }

  .section-heading {
    text-align: left;
  }

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

  .install-panel h3 {
    font-size: 25px;
  }

  .phone-frame {
    width: min(82%, 300px);
    border-radius: 24px;
  }

  .phone-frame img {
    border-radius: 18px;
  }
}
