:root {
  color-scheme: light;
  --paper: #fffaf7;
  --white: #fff;
  --ink: #28191d;
  --muted: #65535a;
  --accent: #ba284b;
  --accent-dark: #9d1d3b;
  --line: #ecdcd8;
  --blush: #fff1ed;
  --font: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 3px solid #3b314f; outline-offset: 5px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 28px; }

.wrap { width: min(100% - 112px, 1160px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 3; left: 16px; top: 16px; padding: 10px 16px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid #f0e4e0; }
.header-inner { min-height: 77px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 21px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.brand img { border-radius: 27%; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); font-size: 14px; font-weight: 600; color: var(--muted); }
.nav a:hover, .text-link:hover { color: var(--accent); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 23px;
  width: fit-content; min-height: 54px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 100px;
  background: var(--accent); color: var(--white); font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.button:hover { background: var(--accent-dark); transform: translateY(-2px); }
.button span { font-size: 19px; line-height: 1; }
.button-small { justify-self: end; min-height: 43px; padding: 0 17px; gap: 10px; border-color: #edc2c9; color: var(--accent-dark); background: #fff2ef; font-size: 13px; }
.button-small:hover { background: #fae1df; }

.hero { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; gap: clamp(25px, 4vw, 66px); padding-block: 64px 78px; }
.hero-copy { padding-block: 14px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--accent-dark); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #ed6073; box-shadow: 0 0 0 3px #ffdedf; }
.hero h1 { margin: 21px 0 22px; font-size: clamp(39px, 4.12vw, 62px); font-weight: 850; line-height: 1.32; letter-spacing: -.07em; white-space: nowrap; }
.hero h1 span { color: var(--accent); }
.hero-description { max-width: 380px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; min-height: 36px; }
.text-link span { font-size: 17px; }
.hero-art { position: relative; min-width: 0; isolation: isolate; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 1.15; object-fit: cover; border-radius: 32px; background: #f5b6a1; }
.hero-message {
  position: absolute; top: 25px; right: 20px; display: flex; align-items: center; gap: 8px;
  padding: 11px 15px; background: #fff9f4; border-radius: 18px 18px 4px 18px;
  font-size: 12px; font-weight: 750; box-shadow: 0 8px 24px #582a251c;
}
.hero-message span { color: var(--accent); font-size: 15px; }
.hero-voice {
  position: absolute; bottom: 25px; left: -22px; display: flex; align-items: center; gap: 12px;
  padding: 12px 19px 12px 12px; background: #fffaf7; border-radius: 18px;
  box-shadow: 0 13px 35px #511e2a26; border: 1px solid #ffffffb0;
}
.hero-voice strong, .hero-voice small { display: block; }
.hero-voice strong { font-size: 14px; }
.hero-voice small { margin-top: 4px; font-size: 11px; color: var(--muted); }
.voice-icon { width: 37px; height: 37px; display: flex; justify-content: center; align-items: center; gap: 2px; border-radius: 12px; background: #ffdce1; color: #a62948; }
.voice-icon i, .room-wave i { display: block; width: 2px; height: 10px; border-radius: 8px; background: currentColor; }
.voice-icon i:nth-child(2n) { height: 15px; }
.voice-icon i:nth-child(3) { height: 20px; }

.product { background: #fff0ea; border-block: 1px solid #f2e0dc; }
.product-inner { padding-block: 76px 80px; }
.section-intro h2, .download h2 { font-size: clamp(30px, 3.4vw, 47px); font-weight: 850; letter-spacing: -.065em; line-height: 1.25; }
.section-intro .eyebrow { margin-bottom: 14px; }
.section-intro > p:last-child:not(.eyebrow) { margin-top: 14px; max-width: 660px; color: var(--muted); line-height: 1.8; font-size: 15px; }
.tab-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 15px; }
.tab-list:not([role]) { display: none; }
.tab { min-height: 45px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 0 17px; background: #fffbf8; border: 1px solid #ead6d3; border-radius: 32px; font-size: 14px; font-weight: 700; cursor: pointer; }
.tab:hover { border-color: #d89ca8; }
.tab[aria-selected="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.tab[aria-selected="true"] img { filter: brightness(0) invert(1); }
.feature-pane { display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; padding: 12px; gap: 12px; border: 1px solid #f0dcd7; border-radius: 28px; background: #fffdfb; }
.feature-pane + .feature-pane { margin-top: 14px; }
.feature-pane[role="tabpanel"] { margin-top: 0; }
.feature-copy { align-self: center; padding: 28px clamp(20px, 4vw, 55px); }
.feature-copy h3 { font-size: clamp(23px, 2.8vw, 35px); font-weight: 850; letter-spacing: -.05em; line-height: 1.4; }
.feature-copy p { margin-top: 12px; max-width: 340px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.demo {
  position: relative; display: grid; place-items: center; min-height: 300px; padding: 26px 27px 38px;
  border-radius: 19px; background: radial-gradient(ellipse at 84% 12%, #ffe3d7, transparent 57%), #f9dce2;
}
.demo figcaption { position: absolute; bottom: 9px; right: 15px; color: #63505a; font-size: 11px; }
.demo-window { width: min(100%, 278px); overflow: hidden; padding: 12px; border: 1px solid #fff; border-radius: 20px; background: #fffaf8; box-shadow: 0 14px 35px #65394522; }
.demo-heading { display: flex; align-items: center; gap: 6px; margin: 0 2px 8px; font-size: 13px; font-weight: 800; }
.demo-heading i { width: 6px; height: 6px; border-radius: 100%; background: #ec6280; }
.profile-photo { height: 147px; border-radius: 12px; overflow: hidden; background: #e9d7ce; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.profile-info { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; margin: 8px 1px 0; }
.profile-info strong { font-size: 14px; }
.profile-info div { display: flex; gap: 4px; flex-wrap: wrap; }
.profile-info span { display: inline-block; padding: 4px 7px; background: #ffebec; color: #8b2c46; border-radius: 20px; font-size: 10px; font-weight: 700; }

.demo-party { background: radial-gradient(ellipse at 84% 12%, #f8e3cf, transparent 57%), #e9deff; }
.room { border-radius: 12px; padding: 15px 12px; background: #eee2ff; color: #553477; text-align: center; font-size: 14px; }
.room-people { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.room-people span, .post-author span { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: #fff7e8; color: #74372e; font-size: 13px; font-weight: 800; }
.room-people span:nth-child(2) { background: #e9edc8; color: #454b20; }
.room-people span:nth-child(3) { background: #ffe1e8; color: #762843; }
.room-wave { display: flex; justify-content: center; align-items: center; gap: 3px; height: 22px; margin-top: 10px; color: #7959a0; }
.room-wave i:nth-child(2n) { height: 16px; }
.room-wave i:nth-child(3n) { height: 21px; }

.demo-feed { background: radial-gradient(ellipse at 84% 12%, #fff0d6, transparent 57%), #f9e1c7; }
.sample-post { border-radius: 12px; padding: 12px; background: #fff1e5; font-size: 12px; }
.post-author { display: flex; align-items: center; gap: 7px; }
.post-author span { width: 25px; height: 25px; background: #f5d6b8; font-size: 11px; }
.sample-post p { margin: 8px 0; line-height: 1.65; }
.post-comment { border-top: 1px solid #ead7c8; padding-top: 7px; color: #844627; font-weight: 700; }
.post-comment span { color: var(--ink); margin-left: 5px; font-weight: 400; }

.demo-message { background: radial-gradient(ellipse at 83% 12%, #ffe5cd, transparent 57%), #f7d2dc; }
.chat-sample { display: grid; gap: 8px; padding-block: 5px 9px; font-size: 11px; line-height: 1.5; }
.chat-sample > div { width: fit-content; max-width: 94%; padding: 8px 9px; }
.chat-in { border-radius: 2px 11px 11px; background: #f0e9e6; }
.chat-out { justify-self: end; border-radius: 11px 2px 11px 11px; background: #fce0e8; color: #782639; }

.safety { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 100px); padding-block: 85px; align-items: center; }
.safety-items article { display: flex; gap: 13px; border-top: 1px solid var(--line); padding: 17px 0; }
.safety-items article:last-child { border-bottom: 1px solid var(--line); }
.safety-icon { flex: 0 0 42px; height: 42px; display: grid; place-items: center; background: #fbe7e7; border-radius: 13px; }
.safety-items h3 { font-size: 16px; margin: 1px 0 5px; }
.safety-items p { font-size: 13px; line-height: 1.75; color: var(--muted); }

.download { position: relative; display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 24px; padding: clamp(26px, 5vw, 58px); border-radius: 28px; color: var(--white); background: radial-gradient(ellipse at 5% 100%, #d34b61, transparent 65%), #a82647; }
.download-intro { display: flex; align-items: center; gap: 17px; }
.download-intro img { flex: 0 0 58px; border-radius: 18px; border: 1px solid #ffd3d59c; box-shadow: 0 8px 20px #61102235; }
.download h2 { font-size: clamp(23px, 3.2vw, 41px); }
.download p { margin-top: 8px; color: #fff0ee; font-size: 14px; line-height: 1.65; }
.platform-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.platform-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #ffffff19; border: 1px solid #ffffff40; }
.platform-list li span:first-child { font-weight: 800; font-size: 15px; }
.platform-list li span:last-child { font-size: 12px; color: #fff2f2; }

.help { display: grid; grid-template-columns: .55fr 1fr; gap: clamp(24px, 5vw, 80px); padding-block: 82px; }
.questions { border-bottom: 1px solid var(--line); }
.questions details { border-top: 1px solid var(--line); }
.questions summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 0; min-height: 55px; font-size: 15px; font-weight: 750; cursor: pointer; list-style: none; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; display: grid; place-items: center; flex: 0 0 25px; height: 25px; border-radius: 50%; background: #f7e4e4; color: var(--accent-dark); font: 19px/1 sans-serif; }
.questions details[open] summary::after { content: "−"; }
.questions p { padding: 0 29px 17px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 79px; padding-block: 12px; }
.footer-inner > .text-link { justify-self: end; }
.footer-inner .brand { font-size: 15px; }
.footer-inner .text-link { font-size: 13px; color: var(--muted); }
.footer-registration { text-align: center; color: var(--muted); font-size: 13px; }
.footer-registration .text-link { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 72px); }
  .hero { padding-block: 52px 64px; }
  .hero h1 { font-size: clamp(34px, 4.75vw, 46px); }
  .hero-voice { left: -11px; }
  .hero-photo { aspect-ratio: 1; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 0; gap: 0 12px; padding-top: 11px; }
  .brand { font-size: 19px; }
  .brand img { width: 35px; height: 35px; }
  .nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 12px; font-size: 13px; }
  .nav a { display: flex; align-items: center; min-height: 44px; }
  .button-small { min-height: 37px; padding-inline: 12px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 34px 45px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(34px, 8.55vw, 56px); margin: 15px 0; }
  .hero-description { font-size: 15px; }
  .hero-actions { gap: 16px; margin-top: 22px; }
  .hero-actions .button { min-height: 48px; padding-inline: 17px; gap: 12px; }
  .hero-photo { aspect-ratio: 1.2; border-radius: 24px; }
  .hero-message { top: 13px; right: 12px; padding: 7px 10px; }
  .hero-voice { left: 8px; bottom: 10px; padding: 7px 11px 7px 7px; gap: 7px; border-radius: 13px; }
  .voice-icon { width: 32px; height: 32px; border-radius: 9px; }
  .hero-voice strong { font-size: 12px; }
  .hero-voice small { font-size: 10px; }
  .product-inner { padding-block: 47px 51px; }
  .tab-list { gap: 6px; margin-top: 20px; }
  .tab { padding: 0 8px; min-height: 41px; gap: 4px; font-size: 13px; }
  .tab img { width: 16px; height: 16px; }
  .feature-pane { grid-template-columns: 1fr; gap: 4px; }
  .feature-copy { padding: 14px 10px 17px; }
  .feature-copy p { margin-top: 7px; }
  .demo { min-height: 260px; padding: 22px 18px 30px; }
  .safety, .download, .help { grid-template-columns: 1fr; }
  .safety, .help { gap: 20px; padding-block: 47px; }
  .download { gap: 18px; }
  .download-intro { gap: 12px; }
  .download-intro img { width: 46px; height: 46px; flex-basis: 46px; border-radius: 13px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 4px 12px; }
  .footer-registration { grid-column: 1 / -1; grid-row: 2; }
}

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