:root {
  --pink: #f83f88;
  --pink-dark: #d92d70;
  --pink-soft: #fff0f6;
  --blue: #119fe5;
  --blue-dark: #087bb7;
  --blue-soft: #eaf6ff;
  --mint: #dff8f1;
  --white: #ffffff;
  --paper: #f8fbfe;
  --ink: #172033;
  --ink-soft: #4c5870;
  --ink-faint: #758097;
  --line: #dce7f0;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --text-12: 12px;
  --text-14: 14px;
  --text-16: 16px;
  --text-18: 18px;
  --text-22: 22px;
  --text-28: 28px;
  --text-36: 36px;
  --text-48: 48px;
  --text-64: 64px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --shadow-sm: 0 10px 30px rgba(23, 32, 51, 0.08);
  --shadow-md: 0 24px 70px rgba(17, 159, 229, 0.14), 0 8px 24px rgba(23, 32, 51, 0.08);
  --shadow-lg: 0 36px 90px rgba(23, 32, 51, 0.16);
  --container: 1240px;
  --reading: 760px;
  --transition: 240ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: var(--text-16);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(17, 159, 229, 0.34);
  outline-offset: 4px;
}

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(220, 231, 240, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

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

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

.brand img {
  width: 118px;
  height: auto;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle::before,
.menu-toggle::after {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition: transform var(--transition);
}

.menu-toggle::before {
  transform: translateY(-4px);
}

.menu-toggle::after {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

.primary-nav {
  position: absolute;
  top: 68px;
  right: 16px;
  left: 16px;
  display: none;
  padding: var(--space-16);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

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

.primary-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 var(--space-16);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: var(--text-14);
  font-weight: 600;
  transition: color var(--transition), background var(--transition);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.visit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 var(--space-16);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(105deg, var(--pink), var(--blue));
  box-shadow: 0 10px 24px rgba(248, 63, 136, 0.2);
  font-size: var(--text-14);
  font-weight: 700;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.visit-link:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 14px 32px rgba(17, 159, 229, 0.24);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--space-48) 0 var(--space-64);
  background: linear-gradient(155deg, var(--white) 12%, var(--blue-soft) 62%, var(--pink-soft));
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(17, 159, 229, 0.16);
  border-radius: 50%;
  content: "";
}

.hero::before {
  top: -180px;
  right: -180px;
  width: 470px;
  height: 470px;
}

.hero::after {
  right: 8%;
  bottom: -220px;
  width: 390px;
  height: 390px;
  border-color: rgba(248, 63, 136, 0.16);
}

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

.eyebrow {
  margin-bottom: var(--space-12);
  color: var(--pink-dark);
  font-size: var(--text-12);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: var(--space-16);
  font-size: var(--text-36);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.hero-intro {
  max-width: 34em;
  margin-bottom: var(--space-24);
  color: var(--ink-soft);
  font-size: var(--text-16);
}

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

.hero-actions .visit-link {
  min-height: 52px;
  padding-inline: var(--space-24);
  font-size: var(--text-16);
}

.hero-note {
  color: var(--ink-faint);
  font-size: var(--text-12);
}

.hero-device {
  position: relative;
  width: min(76vw, 330px);
  margin-inline: auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

.hero-device img {
  width: 100%;
  border-radius: 30px;
}

.status-pill {
  position: absolute;
  right: -18px;
  bottom: 56px;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-12);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-size: var(--text-12);
  font-weight: 700;
}

.status-pill::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #23b76b;
  content: "";
}

.signal-strip {
  padding: var(--space-16) 0;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  position: relative;
  padding-left: var(--space-16);
  color: var(--ink-soft);
  font-size: var(--text-14);
  font-weight: 600;
}

.signal-list li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  content: "";
}

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

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

.section-blue {
  background: var(--blue-soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: var(--space-32);
}

.section-heading h2 {
  margin-bottom: var(--space-12);
  font-size: var(--text-28);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.split-story,
.screen-feature {
  display: grid;
  align-items: center;
  gap: var(--space-32);
}

.story-copy p,
.screen-copy p {
  color: var(--ink-soft);
}

.text-link {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.image-stage {
  position: relative;
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #dff3ff, #fff2f8);
}

.image-stage img {
  border: 8px solid var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

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

.feature-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-16);
  padding: var(--space-20, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.line-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(17, 159, 229, 0.28);
  border-radius: 50%;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: var(--text-18);
  font-weight: 800;
}

.feature-row h3 {
  margin-bottom: var(--space-4);
  font-size: var(--text-18);
}

.feature-row p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: var(--text-14);
}

.screen-window {
  overflow: hidden;
  padding: var(--space-8);
  border: 1px solid rgba(17, 159, 229, 0.18);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.screen-window::before {
  display: block;
  width: 44px;
  height: 10px;
  margin: var(--space-8) auto var(--space-12);
  border-radius: 999px;
  background: var(--line);
  content: "";
}

.screen-window img {
  border-radius: calc(var(--radius-lg) - 12px);
}

.scene-grid {
  display: grid;
  gap: var(--space-12);
}

.scene-card {
  min-height: 180px;
  padding: var(--space-24);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.scene-card:nth-child(2) {
  background: var(--pink-soft);
}

.scene-card:nth-child(3) {
  background: var(--mint);
}

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

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

.steps {
  display: grid;
  gap: var(--space-24);
  counter-reset: step;
}

.step {
  position: relative;
  padding: 0 0 var(--space-24) 64px;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.step::before {
  position: absolute;
  top: -6px;
  left: 0;
  color: var(--pink);
  content: counter(step, decimal-leading-zero);
  font-size: var(--text-36);
  font-weight: 300;
  line-height: 1;
}

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

.step p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.breadcrumb {
  padding-top: var(--space-24);
  color: var(--ink-faint);
  font-size: var(--text-14);
}

.breadcrumb a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.page-title h1 {
  margin-bottom: var(--space-16);
  font-size: var(--text-28);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.page-title p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: var(--text-18);
}

.article-body {
  width: min(calc(100% - 32px), var(--reading));
  margin-inline: auto;
  padding-bottom: var(--space-64);
}

.content-section {
  position: relative;
  padding: var(--space-48) 0;
  border-top: 1px solid var(--line);
}

.content-section h2 {
  margin-bottom: var(--space-24);
  padding-left: var(--space-16);
  border-left: 3px solid var(--pink);
  font-size: var(--text-22);
  line-height: 1.45;
}

.content-section p,
.content-section li {
  color: var(--ink-soft);
}

.content-section ul {
  display: grid;
  gap: var(--space-8);
  padding-left: var(--space-24);
}

.content-image {
  margin: var(--space-32) 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.content-image img {
  width: 100%;
}

.content-image figcaption {
  padding: var(--space-12) var(--space-16);
  color: var(--ink-faint);
  font-size: var(--text-12);
}

.notice {
  margin: var(--space-24) 0;
  padding: var(--space-20, 20px) var(--space-24);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--blue-soft);
  color: var(--ink-soft);
}

.fact-grid {
  display: grid;
  gap: var(--space-12);
  margin: var(--space-24) 0;
}

.fact-card {
  padding: var(--space-20, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.fact-card strong {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--ink);
}

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

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

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: var(--space-20, 20px) var(--space-40) var(--space-20, 20px) 0;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
}

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

summary::after {
  position: absolute;
  top: 50%;
  right: var(--space-8);
  color: var(--blue-dark);
  content: "+";
  font-size: var(--text-22);
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 var(--space-40) var(--space-20, 20px) 0;
  color: var(--ink-soft);
}

.site-footer {
  padding: var(--space-40) 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

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

.footer-brand {
  font-weight: 800;
}

.site-footer p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-faint);
  font-size: var(--text-14);
}

.adult-note {
  color: var(--pink-dark) !important;
  font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
  .home-main .hero-copy,
  .home-main .hero-device,
  .home-main .feature-row,
  .home-main .scene-card {
    animation: rise-in 560ms both;
  }

  .home-main .hero-device {
    animation-delay: 100ms;
  }

  .home-main .feature-row:nth-child(2),
  .home-main .scene-card:nth-child(2) {
    animation-delay: 80ms;
  }

  .home-main .feature-row:nth-child(3),
  .home-main .scene-card:nth-child(3) {
    animation-delay: 150ms;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
  }
}

@media (min-width: 760px) {
  .container {
    width: min(calc(100% - 64px), var(--container));
  }

  .header-inner {
    min-height: 76px;
  }

  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .primary-nav a {
    padding-inline: var(--space-12);
  }

  .hero {
    min-height: 680px;
    padding: var(--space-80) 0;
  }

  .hero-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-24);
  }

  .hero-copy {
    grid-column: 1 / span 7;
    align-self: center;
  }

  .hero-visual {
    grid-column: 9 / span 4;
  }

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

  .hero-intro {
    font-size: var(--text-18);
  }

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

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

  .section-heading h2 {
    font-size: var(--text-36);
  }

  .split-story,
  .screen-feature {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-40);
  }

  .split-story .story-copy,
  .screen-feature .screen-copy {
    grid-column: 1 / span 6;
  }

  .split-story .image-stage,
  .screen-feature .screen-window {
    grid-column: 8 / span 5;
  }

  .screen-feature .screen-window {
    grid-row: 1;
    grid-column: 1 / span 5;
  }

  .screen-feature .screen-copy {
    grid-column: 7 / span 6;
  }

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

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

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

  .step {
    min-height: 190px;
    padding: 0 var(--space-24) 0 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .step::before {
    position: static;
    display: block;
    margin-bottom: var(--space-24);
  }

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

  .page-title {
    padding: var(--space-48) 0 var(--space-64);
  }

  .page-title h1 {
    font-size: var(--text-36);
  }

  .article-body {
    padding-bottom: var(--space-80);
  }

  .content-section {
    padding: var(--space-56) 0;
  }

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

@media (min-width: 1120px) {
  .brand img {
    width: 148px;
  }

  .primary-nav a {
    padding-inline: var(--space-16);
  }

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

  .hero-device {
    width: 360px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .brand img {
    width: 90px;
  }

  .visit-link {
    justify-self: end;
    padding-inline: var(--space-12);
    font-size: var(--text-12);
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .hero {
    padding-top: var(--space-32);
  }

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

  .hero-intro {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .hero-visual {
    margin-top: -8px;
  }

  .hero-device {
    width: 220px;
  }
}

