:root {
  --ink: #24111e;
  --plum: #3f1634;
  --plum-deep: #281020;
  --text: #563f4d;
  --muted: #806d78;
  --paper: #fffdf9;
  --cream: #f8f0e7;
  --line: #eadedc;
  --coral: #ff5d72;
  --coral-deep: #e73d5d;
  --pink: #ff9fa9;
  --blue: #5f6ee8;
  --radius: 28px;
  --shadow: 0 26px 70px rgba(63, 22, 52, 0.12);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px clamp(22px, 5vw, 76px);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-logo {
  width: 46px;
  height: 46px;
  display: block;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(255, 61, 98, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 36px);
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--coral-deep);
}

.header-action {
  padding: 11px 19px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-action:hover {
  transform: translateY(-2px);
  background: var(--coral-deep);
}

.hero {
  position: relative;
  min-height: 820px;
  height: min(94vh, 940px);
  overflow: hidden;
  background: #f3c1be;
}

.hero-backdrop,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  background: url("assets/hero-yixin-todo.png") center / cover no-repeat;
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(255, 247, 241, 0.98) 0%, rgba(255, 242, 235, 0.93) 31%, rgba(255, 231, 223, 0.48) 52%, rgba(43, 17, 44, 0.04) 74%),
    linear-gradient(0deg, rgba(39, 13, 34, 0.12), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - clamp(44px, 10vw, 152px)));
  height: 100%;
  margin: 0 auto;
  padding-top: clamp(150px, 17vh, 190px);
}

.eyebrow,
.section-kicker {
  margin-bottom: 18px;
  color: var(--coral-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow span {
  width: 24px;
  height: 2px;
  background: currentColor;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  color: var(--ink);
  font-size: clamp(48px, 6.1vw, 84px);
  line-height: 1.07;
  letter-spacing: -0.055em;
}

h1 span {
  position: relative;
  display: inline-block;
  color: var(--coral-deep);
}

h1 span::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 0;
  bottom: 0.03em;
  height: 0.12em;
  z-index: -1;
  border-radius: 999px;
  background: var(--pink);
  transform: rotate(-2deg);
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 30px;
  color: #5e394a;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid rgba(36, 17, 30, 0.16);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(63, 22, 52, 0.14);
}

.button-primary {
  color: #fff;
  background: var(--coral-deep);
  border-color: var(--coral-deep);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.hero-proof {
  position: absolute;
  left: 0;
  bottom: 34px;
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  min-width: 170px;
  padding: 0 24px;
  border-left: 1px solid rgba(59, 23, 47, 0.2);
}

.hero-proof li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
}

.hero-proof span {
  color: #755a67;
  font-size: 12px;
}

.section,
.statement,
.closing {
  padding: clamp(78px, 9vw, 128px) clamp(22px, 5vw, 76px);
}

.section-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.statement {
  background: var(--paper);
}

.statement-grid {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: clamp(38px, 7vw, 110px);
  align-items: start;
}

h2 {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.lead {
  margin: 0;
  color: var(--text);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.9;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.compact-heading h2 {
  margin-bottom: 0;
}

.bento-section {
  background: var(--cream);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(310px, auto));
  gap: 18px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
  overflow: hidden;
  padding: clamp(26px, 3.4vw, 42px);
  border: 1px solid rgba(63, 22, 52, 0.08);
  border-radius: var(--radius);
}

.bento-card-large {
  grid-row: span 2;
  min-height: 638px;
}

.bento-card-wide {
  grid-column: 1 / -1;
  min-height: 340px;
}

.card-label {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.bento-card h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.bento-card p {
  position: relative;
  z-index: 2;
  max-width: 510px;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.75;
}

.card-coral {
  color: #6e243a;
  background: linear-gradient(145deg, #ff7f8e 0%, #ffb59f 100%);
}

.card-cream {
  background: #fffaf3;
}

.card-plum {
  color: #ead7e2;
  background: var(--plum);
}

.card-plum h3,
.card-plum .card-label {
  color: #fff;
}

.card-white {
  background: #fff;
}

.orbit {
  position: relative;
  width: min(390px, 90%);
  aspect-ratio: 1;
  margin: 10px auto 30px;
  border: 1px solid rgba(79, 22, 45, 0.22);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(79, 22, 45, 0.16);
  border-radius: 50%;
}

.orbit::before {
  inset: 17%;
}

.orbit::after {
  inset: 34%;
  background: rgba(255, 255, 255, 0.3);
}

.orbit span {
  position: absolute;
  z-index: 2;
  padding: 9px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(79, 22, 45, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(87, 30, 52, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.orbit span:nth-child(1) { top: 4%; left: 39%; }
.orbit span:nth-child(2) { top: 36%; right: -4%; }
.orbit span:nth-child(3) { bottom: 4%; left: 44%; }
.orbit span:nth-child(4) { top: 38%; left: -4%; }
.orbit span:nth-child(5) { top: 43%; left: 38%; }

.status-note {
  align-self: flex-end;
  max-width: 330px;
  margin: 25px 0;
  padding: 20px 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px 20px 4px 20px;
  box-shadow: 0 18px 38px rgba(65, 29, 51, 0.1);
}

.status-dot {
  display: block;
  width: 8px;
  height: 8px;
  margin-bottom: 10px;
  background: #69b981;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(105, 185, 129, 0.13);
}

.status-note p {
  color: var(--ink);
  font-weight: 700;
}

.mini-chat {
  display: grid;
  gap: 10px;
  margin: 26px 0;
}

.mini-chat p {
  width: fit-content;
  max-width: 88%;
  padding: 12px 16px;
  color: var(--ink);
  background: #fff;
  border-radius: 17px 17px 17px 4px;
  font-weight: 700;
}

.mini-chat p:last-child {
  justify-self: end;
  color: #fff;
  background: var(--coral);
  border-radius: 17px 17px 4px 17px;
}

.profile-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin: 22px 0 28px;
  padding: 16px;
  background: var(--cream);
  border-radius: 20px;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  background: var(--coral);
  border-radius: 16px;
  font-weight: 900;
}

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

.profile-strip strong {
  color: var(--ink);
  font-size: 15px;
}

.profile-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.profile-strip em {
  padding: 6px 10px;
  color: var(--coral-deep);
  background: #ffe2e6;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.steps-section {
  background: var(--paper);
}

.steps-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: end;
}

.steps-heading h2 {
  margin-bottom: 0;
}

.steps-heading > p {
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.8;
}

.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps-list li {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: clamp(22px, 5vw, 72px);
  align-items: center;
  padding: 31px 8px;
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 900;
}

.steps-list h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 23px;
}

.steps-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--ink);
  background: var(--cream);
  border-radius: 50%;
  font-size: 23px;
}

.moments-section {
  background: #f2d8dc;
}

.moments-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.prompt-cloud {
  position: relative;
  min-height: 500px;
}

.prompt {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 14px 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(63, 22, 52, 0.1);
  border-radius: 999px 999px 999px 8px;
  box-shadow: 0 18px 42px rgba(63, 22, 52, 0.1);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 800;
}

.prompt::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: var(--coral);
  border-radius: 50%;
}

.prompt-a { top: 2%; left: 17%; transform: rotate(-3deg); }
.prompt-b { top: 22%; right: 4%; color: #fff; background: var(--plum); transform: rotate(2deg); }
.prompt-c { top: 39%; left: 2%; transform: rotate(2deg); }
.prompt-d { top: 57%; right: 8%; background: #ff907f; transform: rotate(-2deg); }
.prompt-e { bottom: 15%; left: 12%; color: #fff; background: var(--blue); transform: rotate(3deg); }
.prompt-f { bottom: 1%; right: 3%; transform: rotate(-2deg); }

.safety-section {
  background: var(--paper);
}

.safety-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(46px, 8vw, 110px);
  padding: clamp(36px, 6vw, 76px);
  color: #e9dfe5;
  background:
    radial-gradient(circle at 9% 8%, rgba(255, 93, 114, 0.36), transparent 24%),
    var(--plum-deep);
  border-radius: 36px;
}

.light-kicker {
  color: var(--pink);
}

.safety-intro h2,
.safety-list h3 {
  color: #fff;
}

.safety-intro p:last-child {
  margin-bottom: 0;
  color: #cbbac4;
  font-size: 16px;
  line-height: 1.8;
}

.safety-list article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.safety-list article:first-child {
  border-top: 0;
}

.safety-list > article > span {
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
}

.safety-list h3 {
  margin-bottom: 7px;
  font-size: 20px;
}

.safety-list p {
  margin-bottom: 0;
  color: #cbbac4;
  font-size: 14px;
  line-height: 1.75;
}

.closing {
  text-align: center;
  background: var(--cream);
}

.closing-inner img {
  width: 76px;
  height: 76px;
  margin-bottom: 15px;
  border-radius: 22px;
  box-shadow: 0 15px 40px rgba(255, 61, 102, 0.2);
}

.closing-inner > p {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
}

.closing-inner h2 {
  margin-bottom: 12px;
}

.closing-inner > span {
  color: var(--muted);
}

.site-footer {
  padding: 40px clamp(22px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--plum-deep);
}

.footer-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.footer-brand + p {
  margin-top: 8px;
}

.footer-legal {
  display: grid;
  gap: 8px;
  text-align: right;
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  color: #fff;
  font-weight: 700;
}

.footer-links a:hover,
.icp-link:hover {
  text-decoration: underline;
}

.icp-link {
  color: inherit;
}

/* 协议页面 */
.legal-page {
  background: #fbf6f2;
}

.legal-page .site-header {
  position: absolute;
  background: rgba(255, 253, 249, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.legal-main {
  padding: 132px clamp(22px, 5vw, 76px) 78px;
}

.legal-shell {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.legal-shell h1 {
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 54px);
}

.legal-subtitle {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 15px;
}

.legal-document {
  white-space: pre-wrap;
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
}

.legal-actions {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.legal-actions a {
  color: var(--coral-deep);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 780px;
    height: auto;
  }

  .hero-content {
    min-height: 780px;
    padding-bottom: 150px;
  }

  .hero-backdrop {
    background-position: 60% center;
  }

  .hero-wash {
    background: linear-gradient(90deg, rgba(255, 246, 240, 0.98) 0%, rgba(255, 238, 229, 0.89) 52%, rgba(255, 228, 220, 0.2) 100%);
  }

  .statement-grid,
  .moments-grid,
  .safety-shell {
    grid-template-columns: 1fr;
  }

  .statement-grid,
  .moments-grid {
    gap: 34px;
  }

  .steps-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .prompt-cloud {
    min-height: 430px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 16px 20px;
  }

  .header-action {
    display: none;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 790px;
  }

  .hero-backdrop {
    background-position: 64% center;
  }

  .hero-wash {
    background:
      linear-gradient(180deg, rgba(255, 242, 234, 0.98) 0%, rgba(255, 238, 229, 0.92) 47%, rgba(44, 17, 39, 0.28) 100%);
  }

  .hero-content {
    width: calc(100% - 40px);
    min-height: 790px;
    padding-top: 118px;
    padding-bottom: 186px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-proof {
    right: 0;
    bottom: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-proof li {
    min-width: 0;
    padding: 0 10px;
  }

  .hero-proof strong {
    font-size: 13px;
  }

  .hero-proof span {
    display: none;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-card,
  .bento-card-large {
    grid-row: auto;
    min-height: 330px;
  }

  .bento-card-large {
    min-height: 580px;
  }

  .steps-list li {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .step-icon {
    display: none;
  }

  .prompt-cloud {
    min-height: 520px;
  }

  .prompt-a { left: 1%; }
  .prompt-b { right: 0; }
  .prompt-c { left: 4%; }
  .prompt-d { right: 0; }
  .prompt-e { left: 0; }
  .prompt-f { right: 1%; }

  .safety-shell {
    border-radius: 26px;
  }

  .footer-inner {
    display: block;
  }

  .footer-legal {
    margin-top: 24px;
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .legal-main {
    padding: 108px 18px 54px;
  }

  .legal-shell {
    padding: 25px 20px;
    border-radius: 18px;
  }

  .legal-document {
    font-size: 15px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
