:root {
  color-scheme: dark;
  --night: #151319;
  --night-soft: #1e1a23;
  --paper: #f4ede9;
  --ink: #272329;
  --muted: #a99da4;
  --rose: #d6a5b7;
  --rose-bright: #f1ccd8;
  --wine: #805668;
  --line: rgba(255, 255, 255, 0.1);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  --jp: "Noto Sans JP", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  color: #f7f1f3;
  font-family: var(--sans);
  background:
    radial-gradient(circle at 16% 7%, rgba(132, 85, 106, 0.2), transparent 28%),
    radial-gradient(circle at 87% 18%, rgba(112, 87, 126, 0.16), transparent 27%),
    var(--night);
  overflow-x: hidden;
}
img, video { max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-glow {
  position: fixed;
  z-index: -1;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.15;
}
.page-glow-a { left: -22vw; top: 48vh; background: #b87491; }
.page-glow-b { right: -20vw; top: 4vh; background: #8975a4; }

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  width: min(1240px, calc(100% - 32px));
  margin: 16px auto 0;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(24, 21, 28, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(241, 204, 216, 0.3);
  border-radius: 50%;
  color: var(--rose-bright);
  font-family: var(--serif);
  font-size: 18px;
}
.brand strong { display: block; font-family: var(--serif); font-size: 14px; font-weight: 500; letter-spacing: 0.14em; }
.brand small { display: block; margin-top: 3px; color: #8e828a; font-size: 7px; letter-spacing: 0.18em; }
.site-nav { display: flex; gap: 26px; }
.site-nav a { color: #bdb1b7; font-size: 11px; text-decoration: none; }
.site-nav a:hover { color: white; }
.header-download {
  justify-self: end;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: 38px;
  padding-block: 72px 52px;
}
.eyebrow, .section-index { color: var(--rose); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 32px; height: 1px; background: var(--rose); }
.hero-jp { margin: 22px 0 4px; color: #bd8da1; font-family: var(--jp); font-size: 13px; letter-spacing: 0.28em; }
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6.4vw, 86px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.hero h1 em { color: var(--rose-bright); font-style: normal; }
.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: #bdb2b8;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-color: transparent;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 14px 45px rgba(0,0,0,0.18);
}
.button.primary span { font-size: 13px; font-weight: 700; }
.button.primary small { color: #7e7178; font-size: 9px; }
.button.ghost { color: #e8dde1; background: rgba(255,255,255,0.035); }
.play-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-size: 8px;
}
.release-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  color: #8e838a;
  font-size: 9px;
}
.release-strip span::before { content: "·"; margin-right: 18px; color: #655b61; }
.release-strip span:first-child::before { display: none; }

.hero-visual {
  position: relative;
  min-height: 610px;
}
.hero-character {
  position: absolute;
  z-index: 3;
  right: 10%;
  bottom: 7%;
  height: 84%;
  width: auto;
  filter: drop-shadow(0 30px 42px rgba(0,0,0,0.38));
}
.character-halo {
  position: absolute;
  right: 7%;
  bottom: 9%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,169,188,0.18), rgba(129,86,104,0.06) 54%, transparent 70%);
  filter: blur(3px);
}
.hero-orbit {
  position: absolute;
  right: 3%;
  bottom: 4%;
  border: 1px solid rgba(235,193,208,0.12);
  border-radius: 50%;
}
.orbit-one { width: 470px; height: 470px; }
.orbit-two { right: -5%; bottom: -7%; width: 590px; height: 590px; }
.floating-chat {
  position: absolute;
  z-index: 5;
  width: 250px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  background: rgba(31,27,35,0.88);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  backdrop-filter: blur(16px);
}
.chat-a { top: 9%; left: -2%; }
.chat-b { right: -3%; bottom: 3%; }
.chat-head { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.chat-head img { width: 30px; height: 30px; border-radius: 50%; background: white; object-fit: cover; }
.chat-head b { display: block; font-size: 10px; }
.chat-head small { display: block; margin-top: 2px; color: #8e858a; font-size: 8px; }
.floating-chat p { margin: 0; color: #eee4e8; font-family: var(--serif); font-size: 12px; line-height: 1.8; }
.voice-mini {
  display: flex;
  width: 132px;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #a99da3;
  font-size: 8px;
}
.voice-mini i { width: 0; height: 0; border-block: 4px solid transparent; border-left: 6px solid var(--rose); }
.voice-mini span { letter-spacing: 0.08em; }
.narration-sample { display: block; margin-bottom: 7px; color: #9b8e96; font-family: var(--serif); font-size: 9px; font-style: italic; }
.hero-stamp {
  position: absolute;
  z-index: 6;
  left: 12%;
  bottom: 7%;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(241,204,216,0.22);
  border-radius: 50%;
  background: rgba(24,20,28,0.72);
  backdrop-filter: blur(12px);
}
.hero-stamp b { color: var(--rose-bright); font-family: var(--serif); font-size: 28px; font-weight: 400; }
.hero-stamp span { color: #a7959d; font-size: 8px; }

.promise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 30px;
  border-block: 1px solid var(--line);
}
.promise p { margin: 0; color: #e3d7dc; font-family: var(--serif); font-size: 19px; }
.promise span { color: #847980; font-size: 9px; letter-spacing: 0.1em; }

.feature-section { padding-block: 112px; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 42px;
}
.section-heading h2, .install-copy h2, .emotion-band h2 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  letter-spacing: -0.035em;
}
.section-heading > p { margin: 0; color: #91868d; font-size: 12px; line-height: 1.9; }
.compact-heading { align-items: end; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    rgba(29,25,33,0.72);
  transition: transform 180ms ease, border-color 180ms ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(221,171,190,0.24); }
.feature-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 0.9fr; gap: 18px 34px; }
.feature-wide h3, .feature-wide p { grid-column: 1; }
.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(225,177,194,0.18);
  border-radius: 13px;
  color: var(--rose-bright);
  background: rgba(213,157,177,0.06);
  font-family: var(--serif);
  font-size: 19px;
}
.feature-card h3 { margin: 24px 0 10px; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.feature-card p { margin: 0; color: #968b91; font-size: 11px; line-height: 1.9; }
.dialogue-demo {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  padding: 18px;
  border-radius: 17px;
  background: rgba(10,8,12,0.22);
}
.dialogue-demo div {
  width: fit-content;
  max-width: 100%;
  margin-top: 7px;
  padding: 9px 12px;
  border-radius: 4px 13px 13px 13px;
  background: rgba(255,255,255,0.07);
  color: #e8dce1;
  font-family: var(--serif);
  font-size: 10px;
  line-height: 1.65;
}

.emotion-band {
  padding-block: 76px;
  background:
    linear-gradient(110deg, rgba(130,86,104,0.22), rgba(34,28,39,0.5)),
    var(--night-soft);
  border-block: 1px solid var(--line);
}
.emotion-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 64px; }
.emotion-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.emotion-chips span {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: #cbbfc5;
  background: rgba(255,255,255,0.035);
  font-size: 10px;
}

.trailer-section, .screens-section, .install-section, .faq-section { padding-block: 104px; }
.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  background: #0e0c10;
  box-shadow: 0 40px 100px rgba(0,0,0,0.28);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: white;
  background: linear-gradient(180deg, rgba(10,8,12,0.12), rgba(10,8,12,0.48));
  cursor: pointer;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.08em;
}
.large-play {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  padding-left: 4px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  background: rgba(20,16,22,0.35);
  backdrop-filter: blur(10px);
}
.video-cover.hidden { display: none; }

.screen-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 1fr; gap: 16px; align-items: start; }
.screen-card {
  overflow: hidden;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  background: rgba(255,255,255,0.035);
}
.screen-card.tall { transform: translateY(-24px); }
.screen-card img { display: block; width: 100%; max-height: 520px; border-radius: 13px; object-fit: cover; object-position: top; }
.screen-card figcaption { display: grid; gap: 4px; padding: 15px 8px 7px; }
.screen-card b { font-family: var(--serif); font-size: 15px; font-weight: 500; }
.screen-card span { color: #8f8389; font-size: 9px; line-height: 1.6; }

.install-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.install-copy > p { color: #988c92; font-size: 12px; line-height: 1.9; }
.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
}
.download-card > div { display: grid; gap: 5px; }
.download-card b { font-family: var(--serif); font-size: 17px; font-weight: 500; }
.download-card span { color: #9b8f95; font-size: 9px; }
.download-card .button { min-height: 44px; flex: 0 0 auto; }
.download-card .button span { color: var(--ink); font-weight: 700; }
.hash-button {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  margin-top: 10px;
  padding: 11px 13px;
  border: 0;
  border-radius: 11px;
  color: #a89ba1;
  background: rgba(255,255,255,0.025);
  cursor: pointer;
  text-align: left;
}
.hash-button span, .hash-button small { font-size: 8px; }
.hash-button code { overflow: hidden; color: #c5b9be; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.install-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.install-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 18px;
  background: rgba(255,255,255,0.025);
}
.install-steps > li > b { color: var(--rose); font-family: var(--serif); font-size: 20px; font-weight: 400; }
.install-steps h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 17px; font-weight: 500; }
.install-steps p { margin: 0; color: #91858c; font-size: 10px; line-height: 1.75; }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.faq-grid details {
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
}
.faq-grid summary { cursor: pointer; font-family: var(--serif); font-size: 16px; }
.faq-grid p { margin: 14px 0 0; color: #91858c; font-size: 10px; line-height: 1.9; }

footer { padding-block: 34px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; }
.footer-brand { display: grid; gap: 3px; }
.footer-brand b { font-family: var(--serif); font-size: 15px; font-weight: 500; }
.footer-brand span { color: #776c72; font-size: 7px; letter-spacing: 0.15em; }
.footer-inner p { max-width: 620px; margin: 0; color: #756b70; font-size: 8px; line-height: 1.7; }
.footer-inner a { color: #a4939b; font-size: 9px; text-decoration: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 58px; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .release-strip { justify-content: center; }
  .hero-visual { width: min(620px, 100%); margin-inline: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-wide { grid-column: span 2; }
  .emotion-inner, .install-section { grid-template-columns: 1fr; gap: 36px; }
  .screen-grid { grid-template-columns: repeat(2, 1fr); }
  .screen-card.tall { transform: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 640px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .site-header { width: calc(100% - 20px); margin-top: 10px; border-radius: 15px; }
  .brand small { display: none; }
  .header-download { padding: 9px 12px; font-size: 10px; }
  .hero { min-height: auto; padding-block: 52px 28px; }
  .hero h1 { font-size: clamp(43px, 14vw, 64px); }
  .hero-lead { font-size: 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button.primary { align-items: center; }
  .hero-visual { min-height: 500px; margin-top: 20px; }
  .hero-character { right: 5%; height: 78%; }
  .orbit-one { width: 360px; height: 360px; }
  .orbit-two { width: 440px; height: 440px; }
  .chat-a { left: 0; top: 4%; width: 210px; }
  .chat-b { right: 0; bottom: 0; width: 215px; }
  .hero-stamp { left: 2%; bottom: 3%; width: 72px; height: 72px; }
  .promise { flex-direction: column; align-items: flex-start; }
  .promise p { font-size: 16px; }
  .feature-section, .trailer-section, .screens-section, .install-section, .faq-section { padding-block: 72px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; display: block; }
  .dialogue-demo { margin-top: 20px; }
  .section-heading h2, .install-copy h2, .emotion-band h2 { font-size: 38px; }
  .emotion-inner { gap: 28px; }
  .video-frame { border-radius: 16px; }
  .screen-grid, .faq-grid { grid-template-columns: 1fr; }
  .screen-card img { max-height: 520px; }
  .download-card { align-items: stretch; flex-direction: column; }
  .footer-inner { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
