:root {
  --pink: #f653c6;
  --pink-soft: #ffe0f6;
  --pink-pale: #fff2fb;
  --green: #9be31b;
  --green-soft: #ebffc8;
  --ink: #171717;
  --ink-soft: #2a2928;
  --muted: #5d5a58;
  --muted-light: #807c78;
  --paper: #f7f3ec;
  --paper-light: #fffdf8;
  --white: #ffffff;
  --line: #d9d2c8;
  --line-dark: #b9b0a5;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --text-12: 0.75rem;
  --text-14: 0.875rem;
  --text-16: 1rem;
  --text-18: 1.125rem;
  --text-22: 1.375rem;
  --text-28: 1.75rem;
  --text-36: 2.25rem;
  --text-48: 3rem;
  --text-64: 4rem;
  --space-4: 0.25rem;
  --space-8: 0.5rem;
  --space-12: 0.75rem;
  --space-16: 1rem;
  --space-20: 1.25rem;
  --space-24: 1.5rem;
  --space-32: 2rem;
  --space-40: 2.5rem;
  --space-48: 3rem;
  --space-56: 3.5rem;
  --space-64: 4rem;
  --space-80: 5rem;
  --space-96: 6rem;
  --space-120: 7.5rem;
  --radius-small: 0.75rem;
  --radius-medium: 1.25rem;
  --radius-large: 2rem;
  --shadow-small: 0 0.5rem 1.4rem rgba(23, 23, 23, 0.08);
  --shadow-medium: 0 1rem 2.6rem rgba(23, 23, 23, 0.12);
  --shadow-phone: 0 1.6rem 4rem rgba(23, 23, 23, 0.22);
  --content: 78rem;
  --reading: 45rem;
  --ease: 240ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 0.1rem;
  text-underline-offset: 0.22rem;
}

a:hover {
  text-decoration-color: var(--green);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 0.2rem solid var(--green);
  outline-offset: 0.2rem;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 0.0625rem solid rgba(23, 23, 23, 0.14);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 0.25rem 1.2rem rgba(23, 23, 23, 0.04);
}

.header-inner {
  min-height: 4.75rem;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: var(--space-12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
  font-size: var(--text-16);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-small);
}

.site-nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.0625rem);
  left: 1rem;
  right: 1rem;
  padding: var(--space-12);
  background: var(--paper-light);
  border: 0.0625rem solid var(--line-dark);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
}

.site-nav.is-open {
  display: grid;
}

.site-nav a {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  padding: 0 var(--space-16);
  border-radius: 999px;
  color: var(--muted);
  font-size: var(--text-14);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  background: var(--pink-soft);
  color: var(--ink);
}

.menu-button {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 0.0625rem solid var(--line-dark);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  width: 1.1rem;
  height: 0.1rem;
  background: currentColor;
}

.menu-button {
  gap: 0.22rem;
}

.visit-button,
.hero-button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0.0625rem solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0.3rem 0 var(--pink);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.visit-button {
  padding: 0 var(--space-16);
  font-size: var(--text-14);
  white-space: nowrap;
}

.hero-button {
  min-height: 3.5rem;
  padding: 0 var(--space-24);
}

.visit-button:hover,
.hero-button:hover {
  transform: translateY(-0.15rem);
  background: var(--ink-soft);
  box-shadow: 0 0.45rem 0 var(--green);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-56) 0 var(--space-80);
  border-bottom: 0.0625rem solid var(--ink);
  background:
    linear-gradient(rgba(23, 23, 23, 0.055) 0.0625rem, transparent 0.0625rem),
    linear-gradient(90deg, rgba(23, 23, 23, 0.055) 0.0625rem, transparent 0.0625rem),
    var(--paper);
  background-size: 2rem 2rem;
}

.hero-grid {
  display: grid;
  gap: var(--space-48);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  margin: 0 0 var(--space-16);
  color: var(--muted);
  font-size: var(--text-12);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 0.35rem;
  background: var(--green);
}

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

.home-hero h1 {
  max-width: 12ch;
  margin-bottom: var(--space-20);
  font-size: clamp(var(--text-36), 10vw, var(--text-64));
  line-height: 1.14;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 34rem;
  margin-bottom: var(--space-24);
  color: var(--muted);
  font-size: var(--text-18);
  line-height: 1.75;
}

.hero-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-16);
}

.hero-note {
  max-width: 14rem;
  margin: 0;
  font-size: var(--text-14);
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 29rem;
}

.phone-frame {
  width: min(66vw, 15rem);
  padding: 0.55rem;
  border: 0.12rem solid var(--ink);
  border-radius: 2.2rem;
  background: var(--ink);
  box-shadow: var(--shadow-phone);
}

.phone-frame img {
  width: 100%;
  border-radius: 1.65rem;
}

.hero-phone-primary {
  position: absolute;
  top: 0;
  left: 5%;
  transform: rotate(-4deg);
}

.hero-phone-secondary {
  position: absolute;
  right: 3%;
  bottom: 0;
  transform: rotate(5deg);
}

.visual-tag {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 2.5rem;
  padding: var(--space-8) var(--space-12);
  background: var(--green);
  border: 0.0625rem solid var(--ink);
  font-size: var(--text-12);
  font-weight: 800;
  transform: rotate(3deg);
}

.highlight-rail {
  border-bottom: 0.0625rem solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.highlight-list {
  display: grid;
}

.highlight-item {
  padding: var(--space-20) 0;
  border-bottom: 0.0625rem solid #3f3f3f;
}

.highlight-item:last-child {
  border-bottom: 0;
}

.highlight-item strong {
  display: block;
  color: var(--green);
  font-size: var(--text-14);
}

.highlight-item span {
  color: #dddddd;
  font-size: var(--text-14);
}

.home-section {
  padding: var(--space-80) 0;
}

.home-section + .home-section {
  border-top: 0.0625rem solid var(--line);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: var(--space-40);
}

.section-heading h2 {
  margin-bottom: var(--space-16);
  font-size: clamp(var(--text-28), 7vw, var(--text-48));
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.section-heading p {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--muted);
}

.editorial-split,
.showcase-grid,
.scene-grid {
  display: grid;
  gap: var(--space-32);
}

.editorial-copy {
  align-self: center;
}

.editorial-copy h2 {
  margin-bottom: var(--space-20);
  font-size: clamp(var(--text-28), 7vw, var(--text-48));
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.editorial-copy p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--ink);
  font-weight: 700;
}

.text-link::after {
  content: "→";
  color: var(--pink);
}

.image-stage {
  min-height: 30rem;
  display: grid;
  place-items: center;
  padding: var(--space-32);
  border: 0.0625rem solid var(--ink);
  background: var(--pink-soft);
}

.image-stage .phone-frame {
  transform: rotate(2deg);
}

.feature-board {
  display: grid;
  gap: var(--space-16);
}

.feature-card {
  min-height: 13rem;
  padding: var(--space-24);
  border: 0.0625rem solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-small);
  transition: transform var(--ease), box-shadow var(--ease);
}

.feature-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-medium);
}

.feature-card:nth-child(2) {
  background: var(--green-soft);
}

.feature-card:nth-child(3) {
  background: var(--pink-soft);
}

.feature-card .card-index {
  display: block;
  margin-bottom: var(--space-24);
  color: var(--muted-light);
  font-size: var(--text-14);
  font-weight: 700;
}

.feature-card h3 {
  margin-bottom: var(--space-12);
  font-size: var(--text-22);
  line-height: 1.4;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.showcase-grid {
  align-items: end;
}

.showcase-copy {
  padding-bottom: var(--space-24);
}

.showcase-copy h2 {
  font-size: clamp(var(--text-28), 7vw, var(--text-48));
  line-height: 1.25;
}

.showcase-copy p {
  color: var(--muted);
}

.phone-pair {
  min-height: 33rem;
  position: relative;
}

.phone-pair .phone-frame:first-child {
  position: absolute;
  left: 0;
  top: 0;
  transform: rotate(-5deg);
}

.phone-pair .phone-frame:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  transform: rotate(5deg);
}

.steps-list {
  counter-reset: step;
  display: grid;
  border-top: 0.0625rem solid var(--ink);
}

.step-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--space-16);
  padding: var(--space-24) 0;
  border-bottom: 0.0625rem solid var(--ink);
}

.step-item::before {
  content: "0" counter(step);
  color: var(--pink);
  font-size: var(--text-18);
  font-weight: 800;
}

.step-item h3 {
  margin-bottom: var(--space-8);
  font-size: var(--text-22);
}

.step-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.scene-grid {
  grid-template-columns: 1fr;
}

.scene-card {
  padding: var(--space-24);
  border-left: 0.45rem solid var(--green);
  background: var(--paper);
}

.scene-card:nth-child(2) {
  border-left-color: var(--pink);
  background: var(--pink-pale);
}

.scene-card h3 {
  margin-bottom: var(--space-8);
  font-size: var(--text-18);
}

.scene-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.breadcrumb {
  padding-top: var(--space-32);
  font-size: var(--text-14);
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: var(--space-8);
  color: var(--line-dark);
}

.page-heading {
  max-width: var(--reading);
  padding: var(--space-40) 0 var(--space-48);
}

.page-heading h1 {
  margin-bottom: var(--space-16);
  font-size: clamp(var(--text-28), 8vw, var(--text-36));
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.page-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: var(--text-18);
}

.article-body {
  width: min(100%, var(--reading));
  padding-bottom: var(--space-64);
}

.article-section {
  padding: var(--space-48) 0;
  border-top: 0.0625rem solid var(--line);
}

.article-section h2 {
  position: relative;
  margin-bottom: var(--space-20);
  padding-left: var(--space-24);
  font-size: var(--text-28);
  line-height: 1.4;
}

.article-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.85rem;
  height: 0.4rem;
  background: var(--green);
}

.article-section:nth-child(even) h2::before {
  background: var(--pink);
}

.article-section p,
.article-section li {
  color: var(--muted);
}

.article-section p {
  margin-bottom: var(--space-16);
}

.article-section p:last-child {
  margin-bottom: 0;
}

.article-section ul {
  margin: var(--space-20) 0 0;
  padding-left: var(--space-24);
}

.article-section li + li {
  margin-top: var(--space-8);
}

.article-image {
  display: grid;
  place-items: center;
  margin: var(--space-24) 0;
  padding: var(--space-24);
  border: 0.0625rem solid var(--line-dark);
  background: var(--paper);
}

.article-image .phone-frame {
  width: min(70vw, 14rem);
}

.note-box {
  margin-top: var(--space-24);
  padding: var(--space-20);
  border-left: 0.4rem solid var(--pink);
  background: var(--pink-pale);
  color: var(--muted);
}

.content-table {
  width: 100%;
  margin-top: var(--space-24);
  border-collapse: collapse;
  font-size: var(--text-14);
}

.content-table th,
.content-table td {
  padding: var(--space-12);
  border: 0.0625rem solid var(--line-dark);
  text-align: left;
  vertical-align: top;
}

.content-table th {
  background: var(--green-soft);
  color: var(--ink);
}

.faq-groups {
  width: min(100%, var(--reading));
  padding-bottom: var(--space-64);
}

.faq-group {
  padding: var(--space-40) 0;
  border-top: 0.0625rem solid var(--line);
}

.faq-group h2 {
  margin-bottom: var(--space-20);
  font-size: var(--text-28);
}

details {
  border-top: 0.0625rem solid var(--line-dark);
}

details:last-child {
  border-bottom: 0.0625rem solid var(--line-dark);
}

summary {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

summary::after {
  content: "+";
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pink-soft);
}

details[open] summary::after {
  content: "−";
  background: var(--green-soft);
}

details p {
  max-width: 40rem;
  padding-bottom: var(--space-20);
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding: var(--space-48) 0;
  border-top: 0.0625rem solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: grid;
  gap: var(--space-16);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  font-weight: 700;
}

.footer-brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-small);
}

.footer-copy,
.footer-note,
.copyright {
  max-width: 42rem;
  margin: 0;
  color: #cfcfcf;
  font-size: var(--text-14);
}

.footer-note {
  color: var(--green);
}

@media (min-width: 60rem) {
  .container {
    width: min(calc(100% - 4rem), var(--content));
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .menu-button {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    justify-self: center;
    padding: var(--space-4);
    border-color: var(--line);
    border-radius: 999px;
    box-shadow: none;
    background: var(--paper);
  }

  .site-nav a {
    padding: 0 var(--space-12);
  }

  .home-hero {
    padding: var(--space-96) 0 var(--space-120);
  }

  .hero-grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
  }

  .hero-content {
    grid-column: 1 / span 6;
  }

  .hero-visual {
    grid-column: 7 / span 6;
    min-height: 38rem;
  }

  .phone-frame {
    width: min(27vw, 17rem);
  }

  .highlight-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .highlight-item {
    padding: var(--space-24);
    border-right: 0.0625rem solid #3f3f3f;
    border-bottom: 0;
  }

  .highlight-item:first-child {
    padding-left: 0;
  }

  .highlight-item:last-child {
    border-right: 0;
  }

  .home-section {
    padding: var(--space-120) 0;
  }

  .editorial-split {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-64);
  }

  .image-stage {
    min-height: 41rem;
  }

  .feature-board {
    grid-template-columns: repeat(12, 1fr);
  }

  .feature-card:nth-child(1) {
    grid-column: 1 / span 5;
  }

  .feature-card:nth-child(2) {
    grid-column: 6 / span 7;
  }

  .feature-card:nth-child(3) {
    grid-column: 1 / span 7;
  }

  .feature-card:nth-child(4) {
    grid-column: 8 / span 5;
  }

  .showcase-grid {
    grid-template-columns: 4fr 8fr;
    gap: var(--space-64);
  }

  .phone-pair {
    min-height: 39rem;
  }

  .steps-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .step-item {
    grid-template-columns: 1fr;
    padding: var(--space-32);
    border-right: 0.0625rem solid var(--ink);
  }

  .step-item:first-child {
    padding-left: 0;
  }

  .step-item:last-child {
    border-right: 0;
  }

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

  .page-heading {
    padding: var(--space-56) 0 var(--space-64);
  }

  .article-section {
    padding: var(--space-64) 0;
  }

  .article-image {
    float: right;
    width: 44%;
    margin: var(--space-8) 0 var(--space-24) var(--space-32);
  }

  .article-section::after {
    content: "";
    display: block;
    clear: both;
  }
}

@media (min-width: 68rem) {
  .site-nav a {
    padding: 0 var(--space-16);
  }

  .home-hero h1 {
    font-size: var(--text-64);
  }

  .hero-phone-primary {
    left: 10%;
  }

  .hero-phone-secondary {
    right: 8%;
  }

  .feature-card {
    padding: var(--space-32);
  }
}

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

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