/* Holy 官网（/）面级样式。CSP-safe：无外链字体、无内联 style。
   设计令牌、reset、品牌块与顶栏骨架都在 tokens.css，这里只写官网独有的东西。
   不要在本文件重新声明 :root 令牌——官网和老板端曾经因此跑出两套字体。 */
body { background: var(--paper); }

/* 几何来自 tokens.css 的 .shell-header；官网只补毛玻璃和更宽的留白 */
.site-header {
  z-index: 40;
  padding: 0 28px;
  background: rgba(247, 247, 245, .86);
  backdrop-filter: blur(16px);
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav a {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
}
.nav a:hover { color: var(--ink); background: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
}
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-lime { background: var(--lime); color: #2a4208; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-sm { padding: 9px 14px; font-size: 13px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.display {
  margin: 0;
  font-size: clamp(42px, 8vw, 76px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.lede {
  margin: 20px 0 0;
  max-width: 540px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 450;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero {
  padding: 72px 0 48px;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, #fff 0%, transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 550;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-l { background: var(--lime); }
.dot-p { background: var(--pink); }
.dot-s { background: var(--sky); }

.night {
  border: 1px solid #2e2e2e;
  border-radius: 20px;
  overflow: hidden;
  color: #ededed;
  background: linear-gradient(160deg, #262626, #161616 80%);
  box-shadow: 0 24px 70px rgba(18, 18, 18, .22);
}
.night-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #2e2e2e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.night-h small { color: #8a8a8a; font-weight: 500; }
.night-r {
  display: flex;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid #232323;
  align-items: baseline;
}
.night-r:last-child { border-bottom: 0; }
.night-r time {
  flex: 0 0 52px;
  color: #8a8a8a;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.night-r p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.night-r strong {
  color: #fff;
  font-weight: 600;
}
.chip {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}
.chip-l { color: #1c2e05; background: var(--lime); }
.chip-p { color: #4a1245; background: var(--pink); }
.chip-s { color: #14315e; background: var(--sky); }

.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.section-dark {
  background: var(--dark);
  color: #f3f3f2;
  padding: 80px 0;
}
.section-dark .muted { color: #a3a3a3; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.section-head p {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}
.section-dark .section-head p { color: #a3a3a3; }
.section-center { text-align: center; }
.section-center .section-head {
  margin-left: auto;
  margin-right: auto;
}
.section-center .lede {
  margin-left: auto;
  margin-right: auto;
}

.tri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(33, 33, 33, .03);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}
.card .k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.card.dark {
  background: #1d1d1d;
  border-color: #2e2e2e;
  color: #f0f0f0;
}
.card.dark p { color: #a8a8a8; }
.card.dark .k { color: #6f6f6f; }
.card:hover { border-color: #d0d0d0; }
.card.featured {
  box-shadow: 0 0 0 1px #212121, 0 16px 40px rgba(0, 0, 0, .06);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.metrics div {
  background: #fafafa;
  border-radius: 12px;
  padding: 12px;
}
.card.dark .metrics div { background: #141414; }
.metrics b {
  display: block;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.03em;
}
.metrics small {
  color: var(--muted);
  font-size: 11px;
}
.card.dark .metrics small { color: #777; }

.sleep-title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: 0 0 8px;
}
.sleep-title span { color: var(--lime); }
.timeline-wide {
  max-width: 640px;
  margin: 36px auto 0;
  text-align: left;
}
.sleep-copy {
  max-width: 480px;
  margin: 12px auto 0;
  font-size: 15px;
  line-height: 1.6;
  color: #a3a3a3;
}

.engine-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.card.dark .engine-note {
  border-color: #2e2e2e;
  color: #777;
}

.who {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.price {
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -.03em;
  margin: 0;
}
.price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.price-body { margin-top: 12px; }

.cta-band {
  padding: 80px 0 100px;
  text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, #fff 0%, transparent 55%);
}
.cta-band .display {
  max-width: 800px;
  margin: 0 auto;
}
.cta-band .lede {
  margin-left: auto;
  margin-right: auto;
}
.cta-band .actions { justify-content: center; }
.addon-head { margin-top: 3rem; }
.addon-row { margin-top: 1rem; }
.addon-note { margin-top: 1rem; text-align: center; }

.fine {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}
.site-footer .links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--ink-2); }

.stack {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.stack .card h3 { font-size: 16px; }

@media (max-width: 900px) {
  .site-header { padding: 0 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 28px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .nav .hide-m { display: none; }
}
@media (max-width: 800px) {
  .tri,
  .who { grid-template-columns: 1fr; }
}
