@charset "UTF-8";

:root {
  --night: #1E1B4B;
  --night-2: #17143D;
  --night-3: #241F55;
  --panel: #262054;
  --lilac: #C4B5FD;
  --lilac-soft: #DDD4FE;
  --ink: #EDEBFF;
  --muted: #A9A4CE;
  --line: rgba(196, 181, 253, .2);
  --line-2: rgba(196, 181, 253, .42);
  --shell: 1160px;
  --header-height: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.76;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
svg { display: block; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--lilac); outline-offset: 4px; }
.page-shell { width: min(calc(100% - 56px), var(--shell)); margin: 0 auto; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--lilac);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow::before { width: 20px; height: 1px; content: ""; background: currentColor; }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(30, 27, 75, .95);
  backdrop-filter: blur(12px);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 56px), var(--shell));
  min-height: var(--header-height);
  margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; flex: none; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: 1.5px; }
.brand img { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 12px; object-fit: contain; background: var(--night-2); }
.brand-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lilac);
  color: var(--night);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(12px, 1.9vw, 26px); padding: 0; margin: 0; list-style: none; }
.primary-nav a { display: block; padding: 7px 0; border-bottom: 1px solid transparent; color: var(--muted); font-size: 13px; }
.primary-nav a:hover { border-bottom-color: var(--lilac); color: var(--ink); }
.nav-actions { display: flex; align-items: center; flex: none; gap: 10px; }
.nav-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(196, 181, 253, .12);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .5px;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease;
}
.nav-download:hover { background: var(--lilac); border-color: var(--lilac); color: var(--night); }
.nav-download svg, .button svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 17px; height: 1.5px; margin: 5px auto; background: var(--lilac); transition: transform .18s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.2px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.2px) rotate(-45deg); }

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(680px 480px at 78% 18%, rgba(196, 181, 253, .18), transparent 66%),
    radial-gradient(520px 420px at 6% 88%, rgba(124, 105, 214, .22), transparent 70%),
    var(--night);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: 62px 0 40px;
}
.hero-copy { min-width: 0; }
.hero-kicker {
  margin: 0 0 14px;
  color: var(--lilac);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 900;
  letter-spacing: 4px;
  line-height: 1.1;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--lilac-soft) 62%, #9C8BE0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--lilac-soft);
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  margin: 0 0 16px;
  color: var(--lilac-soft);
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 700;
  letter-spacing: 2px;
}
.hero-lead { max-width: 460px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 12px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .6px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button-primary { background: var(--lilac); color: #241F55; box-shadow: 0 14px 30px rgba(196, 181, 253, .22); }
.button-primary:hover { background: #D6CCFF; transform: translateY(-2px); }
.button-large { min-height: 54px; padding: 0 34px; font-size: 14.5px; }
.text-link { color: var(--muted); border-bottom: 1px dashed var(--line-2); font-size: 13px; }
.text-link span { display: inline-block; margin-left: 4px; color: var(--lilac); }

.dream-window {
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 30px;
  background:
    radial-gradient(2px 2px at 18% 22%, rgba(255, 255, 255, .9), transparent 60%),
    radial-gradient(2px 2px at 72% 14%, rgba(255, 255, 255, .75), transparent 60%),
    radial-gradient(1.6px 1.6px at 46% 38%, rgba(255, 255, 255, .7), transparent 60%),
    radial-gradient(1.6px 1.6px at 84% 48%, rgba(255, 255, 255, .6), transparent 60%),
    radial-gradient(1.4px 1.4px at 28% 62%, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(120% 90% at 74% 8%, #4B3E8F 0%, #2C2668 42%, #191542 100%);
  box-shadow: 0 30px 60px rgba(8, 6, 30, .55), inset 0 0 60px rgba(196, 181, 253, .16);
}
.dream-window::before {
  position: absolute;
  inset: 14px;
  content: "";
  border: 1px solid rgba(196, 181, 253, .22);
  border-radius: 22px;
}
.window-moon {
  position: absolute;
  top: 22%;
  right: 16%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #FFFDF2, #F3E6BE 58%, #D7C08A 100%);
  box-shadow: 0 0 34px rgba(243, 230, 190, .45);
}
.window-sill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26%;
  background: linear-gradient(180deg, rgba(196, 181, 253, .05), rgba(196, 181, 253, .22));
  border-top: 1px solid rgba(196, 181, 253, .28);
}
.star { position: absolute; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 8px rgba(255, 255, 255, .9); }
.star-a { top: 16%; left: 24%; width: 4px; height: 4px; }
.star-b { top: 30%; left: 62%; width: 3px; height: 3px; }
.star-c { top: 46%; left: 18%; width: 3px; height: 3px; }
.star-d { top: 54%; left: 74%; width: 4px; height: 4px; }
.window-tag {
  position: absolute;
  bottom: 12%;
  left: 50%;
  padding: 5px 14px;
  border: 1px solid rgba(196, 181, 253, .34);
  border-radius: 999px;
  background: rgba(23, 20, 61, .72);
  color: var(--lilac-soft);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  white-space: nowrap;
  transform: translateX(-50%);
}
.sleep-chart { position: relative; z-index: 2; padding: 0 0 8px; }
.sleep-chart svg { width: 100%; height: clamp(70px, 11vw, 132px); }
.sleep-labels {
  display: flex;
  justify-content: space-between;
  width: min(calc(100% - 56px), var(--shell));
  margin: 0 auto;
  padding: 6px clamp(0px, 8vw, 120px) 16px 0;
  color: rgba(196, 181, 253, .62);
  font-size: 10.5px;
  letter-spacing: 2px;
}

/* features */
.features { padding: 72px 0 76px; border-bottom: 1px solid var(--line); background: var(--night-2); }
.section-heading { margin-bottom: 30px; }
.section-heading h2, .download h2 { margin: 0; font-size: clamp(23px, 2.6vw, 33px); font-weight: 800; letter-spacing: 1px; line-height: 1.34; }
.section-heading > p:last-child { max-width: 600px; margin: 10px 0 0; color: var(--muted); font-size: 13.5px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature-card {
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(196, 181, 253, .1), rgba(36, 31, 85, .5));
}
.feature-no { display: block; margin-bottom: 10px; color: var(--lilac); font-size: 11px; font-weight: 700; letter-spacing: 3px; }
.feature-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; letter-spacing: .5px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* shots */
.shots { padding: 72px 0 78px; }
.shot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.shot-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--night-3);
}
.shot-card img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; object-position: center top; }
.shot-card figcaption { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.shot-card figcaption b { color: var(--lilac); font-size: 10px; letter-spacing: 2px; }
.shot-card figcaption span { font-size: 12.8px; font-weight: 700; line-height: 1.4; }
.shot-card figcaption small { color: var(--muted); font-size: 10.5px; font-weight: 400; }

/* faq */
.faq { padding: 70px 0 76px; border-top: 1px solid var(--line); background: var(--night-2); }
.faq .page-shell { max-width: 880px; }
.faq-heading { text-align: center; }
.faq-heading .eyebrow { justify-content: center; }
.faq-heading > p:last-child { margin-left: auto; margin-right: auto; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: rgba(36, 31, 85, .55); }
.faq-list details[open] { border-color: var(--line-2); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 20px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { margin: 0; font-size: 14.8px; font-weight: 800; letter-spacing: .4px; }
.faq-list summary i { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(196, 181, 253, .18); }
.faq-list summary i::before,
.faq-list summary i::after { position: absolute; top: 50%; left: 50%; width: 8px; height: 1px; content: ""; background: var(--lilac); transform: translate(-50%, -50%); }
.faq-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq-list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list details p { padding: 0 20px 16px; margin: 0; color: var(--muted); font-size: 13.2px; line-height: 1.85; }

/* reviews */
.reviews { padding: 72px 0 80px; }
.review-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.review-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: baseline;
  gap: 6px 22px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(36, 31, 85, .42);
}
.review-meta { display: flex; flex-direction: column; gap: 2px; }
.review-meta b { color: var(--lilac-soft); font-size: 13px; letter-spacing: 1px; }
.review-meta time { color: rgba(169, 164, 206, .78); font-size: 10px; letter-spacing: .3px; }
.review-card p { margin: 0; color: #C4C0E4; font-size: 13.2px; line-height: 1.8; }

/* steps */
.steps { padding: 70px 0 76px; border-top: 1px solid var(--line); background: var(--night-2); }
.step-list { display: grid; gap: 26px; padding: 4px 0 4px 34px; margin: 0; list-style: none; border-left: 1px solid var(--line-2); }
.step-list li { position: relative; }
.step-list li::before {
  position: absolute;
  top: 7px;
  left: -40px;
  width: 11px;
  height: 11px;
  content: "";
  border: 1px solid var(--lilac);
  border-radius: 50%;
  background: var(--night-2);
}
.step-list span { display: block; margin-bottom: 2px; color: var(--lilac); font-size: 10.5px; font-weight: 700; letter-spacing: 3px; }
.step-list h3 { margin: 0 0 4px; font-size: 16.5px; font-weight: 800; letter-spacing: .6px; }
.step-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

/* download */
.download { padding: 26px 0 34px; }
.download-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 46px clamp(20px, 4vw, 56px);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  text-align: center;
  background:
    radial-gradient(420px 260px at 50% 0%, rgba(196, 181, 253, .2), transparent 74%),
    rgba(36, 31, 85, .6);
}
.download .eyebrow { margin-bottom: 4px; }
.download h2 { max-width: 700px; }
.download-inner > p:not(.eyebrow) { max-width: 560px; margin: 0; color: var(--muted); font-size: 13.5px; }
.download-inner .button { margin-top: 8px; }
.download-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 16px 0 0; margin: 6px 0 0; border-top: 1px solid var(--line); list-style: none; }
.download-notes li { color: rgba(169, 164, 206, .92); font-size: 11.5px; letter-spacing: .5px; }
.download-notes li::before { margin-right: 7px; content: "·"; color: var(--lilac); }

/* footer */
.site-footer { padding: 40px 0 52px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: start; }
.footer-brand strong { color: var(--lilac-soft); font-size: 17px; letter-spacing: 1.4px; }
.footer-brand p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { color: var(--muted); font-size: 12px; }
.footer-nav a:hover { color: var(--lilac); }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: rgba(169, 164, 206, .9); font-size: 11.5px; }
.footer-meta p { margin: 0; }
.disclaimer { grid-column: 1 / -1; margin: 0; color: rgba(169, 164, 206, .78); font-size: 11px; line-height: 1.8; }

/* responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 32px; }
  .shot-grid { gap: 10px; }
  .shot-card figcaption small { display: none; }
  .review-card { grid-template-columns: 140px minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-card figcaption small { display: block; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 8px 28px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--night-2);
    box-shadow: 0 18px 28px rgba(8, 6, 30, .6);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding: 40px 0 26px; gap: 30px; }
  .dream-window { width: min(100%, 320px); justify-self: start; }
  .review-card { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .review-meta { flex-direction: row; align-items: baseline; gap: 12px; }
}
@media (max-width: 768px) {
  .page-shell, .nav-shell, .sleep-labels { width: calc(100% - 40px); }
  .feature-grid { gap: 12px; }
  .features, .shots, .faq, .reviews, .steps { padding-left: 0; padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .page-shell, .nav-shell, .sleep-labels { width: calc(100% - 32px); }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand-tag { display: none; }
  .nav-download { min-height: 36px; padding: 0 10px; font-size: 11px; gap: 5px; }
  .nav-download svg { width: 13px; height: 13px; }
  .menu-toggle { width: 36px; height: 36px; }
  .hero h1 { font-size: clamp(34px, 12vw, 46px); letter-spacing: 2px; }
  .hero-subtitle { font-size: 15px; letter-spacing: 1px; }
  .hero-lead { font-size: 13.2px; }
  .button { width: 100%; min-height: 46px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-card { padding: 20px 18px; }
  .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .faq-list summary { padding: 13px 16px; }
  .faq-list details p { padding: 0 16px 14px; }
  .review-card { padding: 16px 16px; }
  .step-list { padding-left: 24px; }
  .step-list li::before { left: -30px; }
  .download-inner { padding: 32px 20px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 32px; }
  .brand { font-size: 14px; }
  .shot-grid { grid-template-columns: minmax(0, 1fr); }
  .dream-window { border-radius: 22px; }
  .window-moon { width: 58px; height: 58px; }
}
