/*
 * 致心 DearIntus 官网 · 预览版（2026-11-11）
 *
 * 整页是一天的天色：清晨（首屏）→ 白天（内在天气）→ 黄昏（塔罗）→ 夜里（占星、写信）
 * → 深夜（隐私）→ 天快亮（会员、问答）→ 第二天清晨（下载、页脚）。
 * 每段的颜色都取自 App：内在天气四时天空（globals.css 的 --color-day-* / --wx-paper-*）、
 * 塔罗的烛金（--color-gild）、占星的夜空（--color-sky-*）。
 */

@font-face {
  font-family: "Cormorant";
  src: url("/assets/fonts/cormorant-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("/assets/fonts/cormorant-latin-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 清晨（内在天气 dawn） */
  --dawn-rose: #d9a39f;
  --dawn-peach: #f0b9a6;
  --dawn-horizon: #f6d2b4;
  --dawn-paper: #f4efe8;
  --dawn-ink: #3b2839;
  --dawn-cloud: #fde8da;
  /* 白天（内在天气 day） */
  --day-sky: #a9c6de;
  --day-sky-pale: #cddfec;
  --day-paper: #f3f0e6;
  --day-card: #fbf9f3;
  --day-ink: #28364c;
  --day-muted: #4a5466;
  --day-line: rgba(40, 54, 76, 0.16);
  /* 黄昏 · 塔罗（烛金） */
  --candle: #141317;
  --candle-deep: #0e0d10;
  --gold: #e2c87f;
  --gold-deep: #c5ad67;
  --candle-copy: #efe8d8;
  --candle-muted: #a9a192;
  --candle-line: rgba(226, 200, 127, 0.22);
  /* 夜里 · 占星 */
  --night: #07090f;
  --night-surface: #101521;
  --night-copy: #e8edf5;
  --night-muted: #95a3b9;
  --night-accent: #b7c7eb;
  --night-line: rgba(183, 199, 235, 0.18);
  /* 深夜（内在天气 night） */
  --teal: #10262a;
  --teal-card: #163135;
  --teal-copy: #efeadb;
  --teal-muted: #afbdb4;
  --teal-accent: #98cbb6;
  --teal-line: rgba(152, 203, 182, 0.2);
  /* 天快亮 */
  --predawn: #171b2c;
  --predawn-card: #1f2438;
  --predawn-copy: #ece6ee;
  --predawn-muted: #a9a3b8;
  --predawn-accent: #e8bfae;
  --predawn-line: rgba(232, 191, 174, 0.2);
  /* 信纸 */
  --parchment: #ece1c8;
  --parchment-edge: #d9c9a6;
  --parchment-ink: #3a3024;
  --parchment-muted: #7a6a52;

  --f-display: "Cormorant", "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", Georgia, serif;
  --f-body: "Hanken Grotesk", "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--day-ink);
  background: var(--dawn-paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--f-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0;
  text-wrap: balance;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 小号大写字：App 首页那行「SATURDAY · 15 AUGUST 2026」的写法 */
.eyebrow {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.78;
}
html[lang="zh-Hans"] .eyebrow {
  letter-spacing: 0.12em;
}

/* ───────── 顶栏：照 Rosebud 排（logo 左、目录居中、两颗胶囊键在右），颜色跟着当前时段走 ───────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--hdr-ink, var(--dawn-ink));
  transition: color 0.6s ease, background-color 0.6s ease, box-shadow 0.6s ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: var(--hdr-bg, rgba(244, 239, 232, 0.86));
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--hdr-line, rgba(59, 40, 57, 0.12));
}
html[data-phase="dawn"] {
  --hdr-ink: var(--dawn-ink);
  --hdr-bg: rgba(244, 228, 220, 0.86);
  --hdr-solid: #f6e7de;
  --hdr-line: rgba(59, 40, 57, 0.12);
  --hdr-accent: #9a4257;
}
html[data-phase="day"] {
  --hdr-ink: var(--day-ink);
  --hdr-bg: rgba(243, 240, 230, 0.88);
  --hdr-solid: var(--day-paper);
  --hdr-line: var(--day-line);
  --hdr-accent: #2e5a8a;
}
html[data-phase="dusk"] {
  --hdr-ink: var(--candle-copy);
  --hdr-bg: rgba(20, 19, 23, 0.82);
  --hdr-solid: #18171b;
  --hdr-line: var(--candle-line);
  --hdr-accent: var(--gold);
}
html[data-phase="night"] {
  --hdr-ink: var(--night-copy);
  --hdr-bg: rgba(7, 9, 15, 0.8);
  --hdr-solid: #0b0e16;
  --hdr-line: var(--night-line);
  --hdr-accent: var(--night-accent);
}
html[data-phase="deep"] {
  --hdr-ink: var(--teal-copy);
  --hdr-bg: rgba(16, 38, 42, 0.84);
  --hdr-solid: var(--teal);
  --hdr-line: var(--teal-line);
  --hdr-accent: var(--teal-accent);
}
html[data-phase="predawn"] {
  --hdr-ink: var(--predawn-copy);
  --hdr-bg: rgba(23, 27, 44, 0.84);
  --hdr-solid: var(--predawn);
  --hdr-line: var(--predawn-line);
  --hdr-accent: var(--predawn-accent);
}
.site-header > .wrap {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
}
.brand-mark {
  width: 22px;
  height: 27px;
  background: currentColor;
  -webkit-mask: url("/assets/logo-mark.svg") center / contain no-repeat;
  mask: url("/assets/logo-mark.svg") center / contain no-repeat;
}
.brand small {
  font-size: 0.8em;
  font-weight: 500;
  opacity: 0.7;
  margin-left: 2px;
}
/* 目录：滚到哪一段，哪一格就亮（Rosebud 的做法） */
.site-nav {
  display: flex;
  gap: 4px;
  font-size: 15.5px;
}
.site-nav a {
  position: relative;
  padding: 8px 12px;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.3s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.site-nav a:hover {
  opacity: 1;
}
.site-nav a.is-active {
  opacity: 1;
  color: var(--hdr-accent);
  font-weight: 600;
}
.site-nav a.is-active::after {
  transform: scaleX(1);
}
.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* 签名：随滚动走的时刻 */
.clock {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  min-width: 7.6em;
  margin-right: 6px;
  text-align: right;
  font-variant-numeric: lining-nums tabular-nums;
  opacity: 0.85;
}
.clock-time {
  display: inline-block;
  transition: opacity 0.35s ease;
}
.clock.is-changing .clock-time {
  opacity: 0;
}
/* 胶囊键：一颗描边（像 Rosebud 的 Login），一颗实心（像 Start Free Trial），实心那颗跟着时段反色 */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.pill-line {
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
}
.pill-line:hover {
  border-color: currentColor;
}
.pill-solid {
  background: var(--hdr-ink, var(--dawn-ink));
  color: var(--hdr-solid, var(--dawn-paper));
}
.pill-solid:hover {
  transform: translateY(-1px);
}
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, top 0.3s ease;
}
.menu-btn span:first-child {
  top: 16px;
}
.menu-btn span:last-child {
  top: 24px;
}
.menu-btn[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}
/* 窄屏的目录：从顶栏下面落下来一块 */
.site-menu {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--hdr-solid, var(--dawn-paper));
  box-shadow: 0 1px 0 var(--hdr-line), 0 24px 40px -24px rgba(0, 0, 0, 0.35);
  animation: menu-in 0.25s ease;
}
.site-menu[hidden] {
  display: none;
}
.site-menu nav {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  padding-bottom: 24px;
}
.site-menu nav a:not(.pill) {
  padding: 13px 0;
  font-size: 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--hdr-line);
}
.site-menu nav a.is-active {
  color: var(--hdr-accent);
  font-weight: 600;
}
.site-menu .pill {
  height: 48px;
  margin-top: 12px;
  font-size: 16px;
}
.site-menu .pill-line {
  margin-top: 20px;
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* Apple 官方徽标：照原样用，不改色、不加动画 */
.badge {
  display: inline-block;
  line-height: 0;
  border-radius: 10px;
}
.badge img {
  height: 54px;
  width: auto;
}
/* 徽标下面那颗说明胶囊（Rosebud 放评分的位置；我们没有评分，只写事实） */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-size: 14px;
  background: color-mix(in srgb, currentColor 7%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}
.chip-dot {
  width: 18px;
  height: 22px;
  background: currentColor;
  opacity: 0.8;
  -webkit-mask: url("/assets/logo-mark.svg") center / contain no-repeat;
  mask: url("/assets/logo-mark.svg") center / contain no-repeat;
}

/* 手机框：截图是 1320×2868，按 App Store 规格留好了灵动岛和底部横条 */
.phone {
  position: relative;
  width: var(--phone-w, 300px);
  aspect-ratio: 1320 / 2868;
  padding: 9px;
  border-radius: calc(var(--phone-w, 300px) * 0.16);
  background: #111114;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 40px 70px -30px rgba(20, 14, 24, 0.55),
    0 12px 24px -12px rgba(20, 14, 24, 0.35);
  flex: none;
}
.phone::before {
  content: "";
  position: absolute;
  top: calc(var(--phone-w, 300px) * 0.045);
  left: 50%;
  width: 30%;
  height: calc(var(--phone-w, 300px) * 0.085);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050506;
  z-index: 2;
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--phone-w, 300px) * 0.135);
}

/* 时段记号：放在每段底色真正换过去的那一行（site.js 读它） */
.phase-mark {
  position: absolute;
  left: 0;
  top: var(--at, 0px);
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* ───────── 清晨：首屏 ───────── */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--dawn-ink);
  background: linear-gradient(
    180deg,
    var(--dawn-rose) 0%,
    var(--dawn-peach) 26%,
    var(--dawn-horizon) 58%,
    var(--dawn-paper) 100%
  );
  padding: calc(var(--header-h) + 72px) 0 96px;
}
.sky-lines {
  position: absolute;
  inset: 0 0 auto 0;
  height: 460px;
  background: var(--dawn-ink);
  opacity: 0.2;
  -webkit-mask: url("/assets/sky/sky-lines.svg") 0 0 / 780px 468px repeat-x;
  mask: url("/assets/sky/sky-lines.svg") 0 0 / 780px 468px repeat-x;
  pointer-events: none;
}
.clouds {
  position: absolute;
  top: -10px;
  right: -120px;
  width: min(1180px, 110vw);
  aspect-ratio: 390 / 234;
  pointer-events: none;
}
.clouds i {
  position: absolute;
  inset: 0;
}
.clouds .c-fill {
  background: var(--dawn-cloud);
  -webkit-mask: url("/assets/sky/clouds-fill.svg") center / 100% 100% no-repeat;
  mask: url("/assets/sky/clouds-fill.svg") center / 100% 100% no-repeat;
}
.clouds .c-hatch {
  background: var(--dawn-ink);
  opacity: 0.35;
  -webkit-mask: url("/assets/sky/clouds-hatch.svg") center / 100% 100% no-repeat;
  mask: url("/assets/sky/clouds-hatch.svg") center / 100% 100% no-repeat;
}
.clouds .c-lines {
  background: var(--dawn-ink);
  opacity: 0.6;
  -webkit-mask: url("/assets/sky/clouds-lines.svg") center / 100% 100% no-repeat;
  mask: url("/assets/sky/clouds-lines.svg") center / 100% 100% no-repeat;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
}
.hero h1 {
  font-size: clamp(48px, 7.4vw, 96px);
  line-height: 1.04;
  margin: 18px 0 26px;
  font-weight: 600;
}
html[lang="en"] .hero h1 {
  font-size: clamp(44px, 6vw, 80px);
}
html[lang="zh-Hans"] .hero h1 {
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.hero-lead {
  font-size: 19px;
  max-width: 34em;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero-cta.is-center {
  align-items: center;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  --phone-w: 290px;
}
.dandelion {
  position: absolute;
  left: -14px;
  bottom: -40px;
  width: 120px;
  aspect-ratio: 58 / 96.5;
  background: var(--dawn-ink);
  opacity: 0.85;
  -webkit-mask: url("/assets/sky/head-a.svg") center / contain no-repeat;
  mask: url("/assets/sky/head-a.svg") center / contain no-repeat;
  z-index: 3;
}
.seed {
  position: absolute;
  width: 26px;
  aspect-ratio: 16 / 18;
  background: var(--dawn-ink);
  opacity: 0.7;
  -webkit-mask: var(--seed) center / contain no-repeat;
  mask: var(--seed) center / contain no-repeat;
  animation: drift var(--dur, 16s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  z-index: 3;
}
.seed.s1 {
  --seed: url("/assets/sky/drift-1.svg");
  left: 40px;
  bottom: 160px;
}
.seed.s2 {
  --seed: url("/assets/sky/drift-2.svg");
  left: -40px;
  bottom: 260px;
  width: 20px;
  --dur: 19s;
  --delay: -6s;
}
.seed.s3 {
  --seed: url("/assets/sky/drift-3.svg");
  left: 70px;
  bottom: 340px;
  width: 16px;
  --dur: 22s;
  --delay: -11s;
}
@keyframes drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-46px, -38px) rotate(-14deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* ───────── 段落通用 ───────── */
.section {
  position: relative;
  padding: 120px 0;
}
.section-head {
  max-width: 880px;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.12;
  margin-top: 14px;
}
html[lang="zh-Hans"] .section-head h2 {
  line-height: 1.3;
}
.section-head p {
  margin-top: 18px;
  font-size: 18px;
  opacity: 0.85;
}

/* ───────── 三间房 ───────── */
.room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.room + .room {
  margin-top: 0;
}
.room-name {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.room-name h3 {
  font-size: clamp(54px, 6.4vw, 84px);
  line-height: 1;
}
.room-lead {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.3vw, 27px);
  line-height: 1.45;
  font-weight: 500;
  margin: 26px 0 18px;
}
html[lang="zh-Hans"] .room-lead {
  font-weight: 600;
  line-height: 1.6;
}
.room-body {
  font-size: 17px;
  opacity: 0.88;
  max-width: 32em;
}
.room-visual {
  position: relative;
  display: flex;
  justify-content: center;
  --phone-w: 280px;
}

/* 白天 · 内在天气 */
.day {
  background: linear-gradient(180deg, var(--dawn-paper) 0%, var(--day-paper) 220px, var(--day-paper) 100%);
  color: var(--day-ink);
  padding-top: 64px;
  padding-bottom: 150px;
}
.feature-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}
.feature-list li {
  padding-top: 14px;
  border-top: 1px solid var(--day-line);
  font-size: 15.5px;
  line-height: 1.6;
}
.feature-list strong {
  display: block;
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 2px;
}
.phone-pair {
  position: relative;
  width: 420px;
  height: 640px;
}
.phone-pair .phone {
  position: absolute;
}
.phone-pair .back {
  --phone-w: 248px;
  right: 0;
  top: 64px;
  transform: rotate(4deg);
  opacity: 0.96;
}
.phone-pair .front {
  --phone-w: 280px;
  left: 0;
  top: 0;
  transform: rotate(-2deg);
}

/* 黄昏 · 塔罗：上沿那一段是日落 */
.dusk {
  color: var(--candle-copy);
  background: linear-gradient(
    180deg,
    var(--day-paper) 0,
    #f6e5d6 60px,
    #e7b7a4 130px,
    #9b6574 200px,
    #3b2839 260px,
    var(--candle) 340px,
    var(--candle) 100%
  );
  padding-top: 380px;
}
.dusk .glow {
  position: absolute;
  inset: 340px 0 0 0;
  background: radial-gradient(60% 50% at 70% 40%, rgba(226, 200, 127, 0.14), transparent 70%);
  pointer-events: none;
}
.dusk .eyebrow,
.dusk .room-lead {
  color: var(--gold);
}
.dusk .room-visual {
  order: -1;
}
.deck-line {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--candle-line);
  font-size: 15px;
  color: var(--candle-muted);
}
.deck-line strong {
  color: var(--candle-copy);
  font-weight: 600;
}

/* 夜里 · 占星 */
.night {
  color: var(--night-copy);
  background: linear-gradient(180deg, var(--candle) 0, var(--night) 280px, var(--night) 100%);
  overflow: hidden;
  padding-top: 72px;
}
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 18%, rgba(232, 237, 245, 0.9), transparent 60%),
    radial-gradient(1px 1px at 28% 42%, rgba(232, 237, 245, 0.7), transparent 60%),
    radial-gradient(1.4px 1.4px at 46% 12%, rgba(232, 237, 245, 0.85), transparent 60%),
    radial-gradient(1px 1px at 64% 30%, rgba(232, 237, 245, 0.6), transparent 60%),
    radial-gradient(1.6px 1.6px at 82% 16%, rgba(232, 237, 245, 0.9), transparent 60%),
    radial-gradient(1px 1px at 90% 52%, rgba(232, 237, 245, 0.55), transparent 60%),
    radial-gradient(1.2px 1.2px at 7% 66%, rgba(232, 237, 245, 0.7), transparent 60%),
    radial-gradient(1px 1px at 36% 78%, rgba(232, 237, 245, 0.5), transparent 60%),
    radial-gradient(1.3px 1.3px at 58% 64%, rgba(232, 237, 245, 0.75), transparent 60%),
    radial-gradient(1px 1px at 76% 86%, rgba(232, 237, 245, 0.55), transparent 60%);
  background-size: 640px 520px;
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 260px);
  mask: linear-gradient(180deg, transparent 0, #000 260px);
}
.moon {
  position: absolute;
  top: 120px;
  right: 6%;
  width: 380px;
  aspect-ratio: 390 / 234;
  background: var(--night-accent);
  opacity: 0.75;
  -webkit-mask: url("/assets/sky/night-sky-light.svg") center / contain no-repeat;
  mask: url("/assets/sky/night-sky-light.svg") center / contain no-repeat;
  pointer-events: none;
}
.night .eyebrow,
.night .room-lead {
  color: var(--night-accent);
}

/* 夜里 · 写信：信是夜里的光 */
.letters {
  color: var(--night-copy);
  background: var(--night);
  padding-top: 40px;
  overflow: hidden;
}
.letters .section-head {
  max-width: 940px;
}
.letters-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.letters .eyebrow {
  color: var(--night-accent);
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 14px;
  padding: 20px 0;
  border-top: 1px solid var(--night-line);
}
.steps li:last-child {
  border-bottom: 1px solid var(--night-line);
}
.steps .num {
  grid-row: span 2;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.4;
}
.steps strong {
  font-family: var(--f-display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
}
.steps p {
  font-size: 15.5px;
  color: var(--night-muted);
}
.letter-stage {
  position: relative;
}
.letter-stage::before {
  content: "";
  position: absolute;
  inset: -80px -60px;
  background: radial-gradient(50% 50% at 50% 45%, rgba(226, 200, 127, 0.2), transparent 70%);
  pointer-events: none;
}
.letter {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(180deg, #efe5cd, var(--parchment) 40%, #e4d6b8);
  color: var(--parchment-ink);
  border-radius: 6px;
  padding: 40px 44px 46px;
  box-shadow:
    0 0 0 1px var(--parchment-edge) inset,
    0 40px 80px -30px rgba(0, 0, 0, 0.8);
  transform: rotate(0.8deg);
}
.letter-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(58, 48, 36, 0.25);
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.letter-head span:first-child::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: #9d8a5c;
  vertical-align: 1px;
}
.ai-chip {
  display: inline-block;
  margin: 16px 0 22px;
  padding: 2px 12px;
  border: 1.5px solid rgba(58, 48, 36, 0.55);
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.letter-body {
  font-family: var(--f-display);
  font-size: 21px;
  line-height: 1.7;
  font-weight: 500;
}
html[lang="zh-Hans"] .letter-body {
  font-size: 19px;
  line-height: 1.9;
}
.letter-body p + p,
.letter-body blockquote + p {
  margin-top: 16px;
}
.letter-body blockquote {
  margin: 16px 0 0;
  padding-left: 20px;
  border-left: 3px solid #a08c5b;
  font-weight: 700;
}
.letter-caption {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--night-muted);
  text-align: right;
}
/* 深夜 · 特色：六张卡（照 Rosebud 的功能卡排法） */
.features {
  color: var(--teal-copy);
  background: linear-gradient(180deg, var(--night) 0, var(--teal) 260px, var(--teal) 100%);
  padding-top: 150px;
}
.features .eyebrow {
  color: var(--teal-accent);
}
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.feat {
  display: flex;
  flex-direction: column;
  background: var(--teal-card);
  border: 1px solid var(--teal-line);
  border-radius: 22px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.feat:hover {
  border-color: color-mix(in srgb, var(--teal-accent) 45%, transparent);
}
.feat.span-2 {
  grid-column: span 2;
}
.feat.span-3 {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
}
.feat-art {
  position: relative;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 26px 0;
}
.feat-copy {
  padding: 22px 28px 28px;
}
.feat h3 {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.feat-copy p {
  color: var(--teal-muted);
  font-size: 15.5px;
  line-height: 1.7;
}
/* 开关和清单：照 App 设置页的样子画一小块 */
.mini-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
}
.switch {
  position: relative;
  flex: none;
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: var(--teal-accent);
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}
.feat-memory .feat-art {
  flex-direction: column;
  gap: 10px;
}
.mem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.mem-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 4px;
  border-bottom: 1px solid var(--teal-line);
  font-size: 14px;
}
.mem-list em {
  font-style: normal;
  color: var(--teal-accent);
  font-size: 13px;
}
/* 五套牌组：三套付费的牌扇 */
.feat-decks {
  justify-content: center;
}
.feat-decks .feat-art {
  height: auto;
  padding-top: 30px;
}
.fans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}
.fans figure {
  margin: 0;
  text-align: center;
}
.fans img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  transition: transform 0.5s ease;
}
.feat-decks:hover .fans figure:nth-child(1) img {
  transform: translateY(-4px) rotate(-1deg);
}
.feat-decks:hover .fans figure:nth-child(2) img {
  transform: translateY(-6px);
}
.feat-decks:hover .fans figure:nth-child(3) img {
  transform: translateY(-4px) rotate(1deg);
}
.fans figcaption {
  margin-top: 10px;
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
}
/* 有出处的解读：「随信附上」那张小卡 */
.feat-sources .feat-art {
  flex-direction: column;
  gap: 12px;
}
.enclosed {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--teal-line);
  background: rgba(0, 0, 0, 0.18);
}
.enclosed p {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.enc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.enc-cards {
  display: flex;
}
.enc-cards img {
  width: 40px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.7);
}
.enc-cards img + img {
  margin-left: -6px;
}
.enc-meta {
  text-align: right;
  font-size: 14px;
  line-height: 1.5;
}
.enc-meta b {
  display: block;
  font-family: var(--f-display);
  color: var(--gold);
  font-size: 18px;
}
.enc-meta span {
  color: var(--teal-muted);
}
/* 安顿一下：吸 4 秒、呼 6 秒的呼吸圈 */
.breath {
  position: relative;
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
}
.breath i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--teal-accent);
  animation: breathe 10s ease-in-out infinite;
}
.breath i:nth-child(2) {
  inset: 18px;
  opacity: 0.6;
  animation-delay: 0.25s;
}
.breath i:nth-child(3) {
  inset: 36px;
  opacity: 0.35;
  background: color-mix(in srgb, var(--teal-accent) 18%, transparent);
  animation-delay: 0.5s;
}
.breath .cue {
  position: absolute;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  animation: 10s linear infinite;
}
.cue-in {
  animation-name: cue-in !important;
}
.cue-out {
  animation-name: cue-out !important;
  opacity: 0;
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(0.62);
  }
  40% {
    transform: scale(1);
  }
}
@keyframes cue-in {
  0%,
  36% {
    opacity: 1;
  }
  42%,
  96% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes cue-out {
  0%,
  36% {
    opacity: 0;
  }
  42%,
  94% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* 此刻的一句：天空、云和中间一张纸，照 App 谚语图的样子 */
.proverb {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.pv-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #9fb4c8 0%, #c9d6df 60%, #dfe3dc 100%);
}
.pv-cloud {
  position: absolute;
  left: -30%;
  top: -18%;
  width: 160%;
  aspect-ratio: 390 / 234;
  background: #fbfaf6;
  opacity: 0.9;
  -webkit-mask: url("/assets/sky/clouds-fill.svg") center / 100% 100% no-repeat;
  mask: url("/assets/sky/clouds-fill.svg") center / 100% 100% no-repeat;
}
.pv-card {
  position: relative;
  width: 78%;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f5efe2;
  color: #2c2a26;
  text-align: center;
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.5);
}
.pv-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #6f6758;
  margin-bottom: 4px;
}
.pv-text {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}
.pv-word {
  position: absolute;
  left: 10px;
  bottom: 9px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(245, 239, 226, 0.85);
  color: #3a3630;
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.pv-d {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 14px;
  height: 17px;
  background: #3a3630;
  -webkit-mask: url("/assets/logo-mark.svg") center / contain no-repeat;
  mask: url("/assets/logo-mark.svg") center / contain no-repeat;
}
/* 回头看看：一条横着的时间线 */
.feat-look .feat-copy {
  order: -1;
  flex: 0 0 38%;
  padding: 32px 28px 32px 32px;
}
.feat-look .feat-art {
  flex: 1;
  height: auto;
  padding: 32px 36px 32px 8px;
}
.tl {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.tl::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 7px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--teal-accent), color-mix(in srgb, var(--teal-accent) 30%, transparent));
}
.tl li {
  position: relative;
  padding: 28px 14px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
}
.tl li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--teal-accent);
  background: var(--teal-card);
}
.tl li:nth-child(2)::before {
  background: var(--teal-accent);
}
.tl b {
  display: block;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.tl span {
  color: var(--teal-muted);
}

/* 天快亮 · 会员 */
.membership {
  color: var(--predawn-copy);
  background: linear-gradient(180deg, var(--teal) 0, var(--predawn) 240px, var(--predawn) 100%);
  padding-top: 120px;
}
.membership .eyebrow {
  color: var(--predawn-accent);
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--predawn-card);
  border: 1px solid var(--predawn-line);
  border-radius: 20px;
  padding: 26px 24px 28px;
}
.plan h3 {
  font-size: 30px;
}
.plan .price {
  margin: 10px 0 18px;
  font-family: var(--f-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
}
.plan .price small {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--predawn-muted);
  margin-left: 4px;
}
.plan ul {
  margin: 0 0 20px;
  padding: 16px 0 0 1.1em;
  border-top: 1px solid var(--predawn-line);
  color: var(--predawn-muted);
  font-size: 15px;
  line-height: 1.6;
}
.plan li + li {
  margin-top: 8px;
}
.plan-tag {
  align-self: flex-start;
  margin-top: auto;
  font-size: 12.5px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--predawn-accent);
  color: var(--predawn-accent);
}
.plans-note {
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--predawn-muted);
  max-width: 56em;
}
.plans-note p + p {
  margin-top: 6px;
}

/* 问答 */
.faq {
  color: var(--predawn-copy);
  background: var(--predawn);
  padding-top: 40px;
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
}
.faq .section-head h2 {
  font-size: clamp(32px, 3.4vw, 44px);
}
.faq .eyebrow {
  color: var(--predawn-accent);
}
.faq-list details {
  border-top: 1px solid var(--predawn-line);
  padding: 4px 0;
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--predawn-line);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--f-display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 26px;
  line-height: 1;
  color: var(--predawn-accent);
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  padding: 0 40px 22px 0;
  color: var(--predawn-muted);
  font-size: 16px;
}
.faq-list a {
  color: var(--predawn-accent);
}

/* 第二天清晨：下载 */
.morning {
  position: relative;
  overflow: hidden;
  color: var(--dawn-ink);
  background: linear-gradient(
    180deg,
    var(--predawn) 0,
    #3a2f48 120px,
    #7d5a6e 220px,
    var(--dawn-rose) 320px,
    var(--dawn-peach) 420px,
    var(--dawn-horizon) 560px,
    var(--dawn-paper) 100%
  );
  padding: 400px 0 110px;
  text-align: center;
}
.morning .sky-lines {
  top: 300px;
  opacity: 0.14;
}
.morning-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 26px;
  box-shadow: 0 18px 36px -18px rgba(59, 40, 57, 0.6);
}
.morning h2 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.2;
  max-width: 16em;
  margin: 0 auto 30px;
}
.morning .hero-cta {
  justify-content: center;
}

/* 页脚：照 Rosebud，logo＋链接一行，下面「关注我们」一排图标键 */
.site-footer {
  background: var(--dawn-paper);
  color: var(--dawn-ink);
  padding: 0 0 44px;
  font-size: 15px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 32px;
  padding-top: 36px;
  border-top: 1px solid rgba(59, 40, 57, 0.16);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}
.footer-links a {
  text-decoration: none;
  opacity: 0.85;
}
.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: 40px;
}
.follow p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 12px;
}
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(59, 40, 57, 0.18);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social a:hover {
  background: var(--dawn-ink);
  border-color: var(--dawn-ink);
  color: var(--dawn-paper);
}
.social i {
  width: 17px;
  height: 17px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.footer-fine {
  font-size: 13.5px;
  opacity: 0.7;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: flex-end;
}

/* ───────── 动效 ───────── */
/* 首屏下面那条横向滚动带：三间房里能做的事 */
.ticker {
  position: relative;
  overflow: hidden;
  background: var(--dawn-paper);
  color: var(--dawn-ink);
  padding: 22px 0 26px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker 60s linear infinite;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker span {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0.72;
  padding: 0 22px;
}
.ticker i {
  font-style: normal;
  font-size: 14px;
  color: #b0829c;
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}
/* 塔罗：手机前面，三列牌面在后面一上一下地走 */
.deck-stage {
  position: relative;
  width: 540px;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.deck-cols {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  overflow: hidden;
  opacity: 0.4;
  filter: saturate(0.8);
  -webkit-mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.deck-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: col-up 70s linear infinite;
}
.deck-col.down {
  animation-name: col-down;
  animation-duration: 80s;
}
.deck-col img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.8);
}
@keyframes col-up {
  to {
    transform: translateY(-50%);
  }
}
@keyframes col-down {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}
.deck-stage .phone {
  position: relative;
  z-index: 2;
  --phone-w: 270px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 0 14px rgba(20, 19, 23, 0.55),
    0 40px 80px -20px rgba(0, 0, 0, 0.9);
}
/* 滚到才浮现 */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.plan {
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--predawn-accent) 45%, transparent);
}

/* ───────── 文档页（隐私、条款、支持）：白天的纸 ───────── */
.doc-page {
  background: var(--day-paper);
  color: var(--day-ink);
}
.doc-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--day-sky-pale) 0%, var(--day-paper) 100%);
  padding: calc(var(--header-h) + 56px) 0 24px;
}
.doc-hero .sky-lines {
  background: var(--day-ink);
  opacity: 0.12;
  height: 300px;
}
.doc {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter) 100px;
  font-size: 16.5px;
  line-height: 1.8;
}
.doc h1 {
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.15;
  margin: 0 0 6px;
}
.doc .meta {
  color: var(--day-muted);
  font-size: 14px;
  margin: 0 0 28px;
}
.doc h2 {
  font-size: 28px;
  line-height: 1.3;
  margin: 48px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--day-line);
}
.doc h3 {
  font-size: 21px;
  margin: 28px 0 8px;
}
.doc p,
.doc li {
  margin: 0 0 12px;
}
.doc ul,
.doc ol {
  padding-left: 22px;
  margin: 0 0 14px;
}
.doc a {
  color: var(--day-ink);
  text-underline-offset: 4px;
}
.doc .box {
  background: var(--day-card);
  border: 1px solid var(--day-line);
  border-radius: 16px;
  padding: 18px 22px;
  margin: 22px 0;
}
.doc .box p:last-child,
.doc .box ul:last-child {
  margin-bottom: 0;
}
.doc mark.ph {
  background: #ffe9a8;
  color: #4d3a00;
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 600;
}
.doc .tbl {
  overflow-x: auto;
  margin: 12px 0 16px;
}
.doc table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14.5px;
}
.doc th,
.doc td {
  border: 1px solid var(--day-line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.doc .small {
  font-size: 14px;
  color: var(--day-muted);
}
.doc-page .site-footer {
  background: var(--day-paper);
  color: var(--day-ink);
}

/* ───────── 窄屏 ───────── */
@media (max-width: 1020px) {
  .site-nav,
  .header-tools .pill {
    display: none;
  }
  .site-header > .wrap {
    grid-template-columns: 1fr auto;
  }
  .menu-btn {
    display: block;
  }
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feat.span-3 {
    grid-column: span 2;
  }
}
@media (min-width: 1021px) {
  .site-menu {
    display: none !important;
  }
}
@media (max-width: 860px) {
  body {
    font-size: 16px;
  }
  .hero {
    padding-top: calc(var(--header-h) + 40px);
  }
  .hero-grid,
  .room,
  .letters-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    gap: 56px;
  }
  .hero-visual {
    --phone-w: 250px;
  }
  .room {
    gap: 40px;
  }
  .dusk .room-visual {
    order: 0;
  }
  .room-visual {
    --phone-w: 250px;
  }
  .phone-pair {
    width: 340px;
    height: 560px;
  }
  .phone-pair .front {
    --phone-w: 240px;
  }
  .phone-pair .back {
    --phone-w: 210px;
  }
  .deck-stage {
    width: min(100%, 420px);
    height: 540px;
  }
  .deck-stage .phone {
    --phone-w: 230px;
  }
  .section {
    padding: 88px 0;
  }
  .dusk {
    padding-top: 340px;
  }
  .features,
  .membership {
    padding-top: 160px;
  }
  .feat.span-3 {
    flex-direction: column;
    align-items: stretch;
  }
  .feat-look .feat-copy {
    flex: none;
    padding: 22px 28px 0;
    order: -1;
  }
  .feat-look .feat-art {
    padding: 26px 28px 30px;
  }
  .letter {
    padding: 28px 24px 32px;
    transform: none;
  }
  .clouds {
    top: auto;
    bottom: 300px;
    right: -380px;
    width: 860px;
  }
  .moon {
    width: 260px;
    right: -40px;
  }
  .clock {
    min-width: 0;
  }
  .ticker span {
    font-size: 21px;
    padding: 0 16px;
  }
  .footer-fine {
    justify-content: flex-start;
  }
}
@media (max-width: 560px) {
  :root {
    --header-h: 60px;
  }
  .brand small {
    display: none;
  }
  .clock {
    font-size: 13px;
    margin-right: 0;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .plans,
  .bento {
    grid-template-columns: 1fr;
  }
  .feat.span-2,
  .feat.span-3 {
    grid-column: auto;
  }
  .tl {
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
  }
  .tl::before {
    display: none;
  }
  .phone-pair {
    width: 300px;
    height: 500px;
  }
  .phone-pair .front {
    --phone-w: 214px;
  }
  .phone-pair .back {
    --phone-w: 186px;
  }
  .deck-stage {
    height: 480px;
  }
  .deck-stage .phone {
    --phone-w: 206px;
  }
  .faq-list summary {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .seed,
  .ticker-track,
  .deck-col,
  .breath i {
    animation: none;
  }
  .breath .cue {
    animation: none !important;
  }
  .cue-out {
    display: none;
  }
  .ticker-track {
    flex-wrap: wrap;
    width: auto;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-header,
  .clock-time,
  .pill,
  .plan,
  .site-menu {
    transition: none;
    animation: none;
  }
}
