:root {
  --story-bg: oklch(10.5% 0.012 155);
  --story-ink: oklch(95% 0.014 92);
  --story-muted: oklch(76% 0.018 112 / 0.72);
  --story-leaf: oklch(67% 0.078 137);
  --story-copper: oklch(69% 0.083 61);
  --story-line: oklch(91% 0.014 95 / 0.13);
  --story-paper: oklch(92% 0.012 155);
  --story-paper-ink: oklch(17% 0.018 155);
  --story-gutter: clamp(24px, 5vw, 88px);
  --story-copy-width: min(38vw, 560px);
  --story-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-padding-top: 84px; }

html.story-scene-navigation {
  scroll-behavior: auto !important;
}

body {
  overflow-x: clip;
  background:
    radial-gradient(circle at 74% 20%, oklch(26% 0.045 143 / 0.22), transparent 34%),
    radial-gradient(circle at 12% 74%, oklch(27% 0.05 57 / 0.15), transparent 32%),
    var(--story-bg);
}

.entrance-stage {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.hero {
  isolation: auto;
  z-index: auto;
  min-height: 112svh;
}

.hero-content {
  position: relative;
  z-index: 6;
}

.hero-visual,
.hero-floating-container,
.hero-ticker-wrap {
  display: block;
  visibility: visible;
}

.hero-visual { display: grid; }

.hero-ticker-wrap {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  margin: 0;
  z-index: 5;
}

.hero-static-card,
.hero-floating-container,
.hero-ticker-wrap {
  transition: opacity 280ms var(--story-ease), filter 280ms var(--story-ease);
}

body.story-handoff .hero-static-card { animation-play-state: paused; }
body.story-active .hero-static-card { pointer-events: none; }

.revival-progress {
  position: fixed;
  left: 0;
  top: 0;
  width: 2px;
  height: 100svh;
  z-index: 120;
  background: oklch(92% 0.012 100 / 0.07);
  pointer-events: none;
}

.revival-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleY(0);
  transform-origin: top;
  background: linear-gradient(to bottom, var(--story-leaf), var(--story-copper));
  will-change: transform;
}

.device-canvas {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms var(--story-ease);
}

body.device-ready .device-canvas {
  opacity: 1;
}

.device-story {
  position: relative;
  z-index: auto;
  margin-top: -1px;
}

.story-chapter {
  position: relative;
  background: transparent;
  border: 0;
  contain: layout style;
}

.story-chapter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 72% 45%, oklch(37% 0.04 140 / 0.06), transparent 31%);
}

.story-chapter--music::before {
  opacity: calc(0.32 + var(--giant-entry-backdrop, 1) * 0.68);
  transform: scale(calc(0.82 + var(--giant-entry-backdrop, 1) * 0.18));
  transform-origin: 72% 45%;
  will-change: opacity, transform;
}

.story-chapter--fitness::before {
  background: radial-gradient(circle at 74% 50%, oklch(58% 0.1 145 / 0.075), transparent 33%);
}

.story-chapter--reading::before {
  background: radial-gradient(circle at 72% 48%, oklch(65% 0.06 68 / 0.065), transparent 31%);
}

.story-chapter--widgets::before {
  background: radial-gradient(circle at 72% 50%, oklch(66% 0.1 55 / 0.06), transparent 32%);
}

.story-beat {
  --beat-height: 118svh;
  position: relative;
  min-height: var(--beat-height);
  width: 100%;
  display: flex;
  align-items: center;
  padding: 16svh var(--story-gutter);
  pointer-events: none;
}

.story-beat--lead { --beat-height: 132svh; }
.story-beat--landscape { --beat-height: 148svh; }

.story-beat[data-shot="music-menu"] .music-copy-stage {
  opacity: var(--giant-entry-copy, 1);
  will-change: opacity;
}

.story-chapter--music .story-beat--lead {
  --beat-height: 200svh;
  display: block;
  padding: 0 var(--story-gutter);
}

.music-copy-stage {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  width: min(40vw, 620px);
  min-height: 100svh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--nav-height, 72px) + 4svh) 0 7svh;
  pointer-events: none;
}

.story-copy {
  position: relative;
  z-index: 4;
  width: var(--story-copy-width);
  color: var(--story-ink);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: none;
  will-change: opacity, transform;
}

.story-beat.align-right .story-copy { margin-left: auto; }
.story-beat.align-right .story-copy { text-align: left; }
.story-beat.align-right .story-copy p { margin-left: auto; }

.story-kicker,
.story-step {
  display: block;
  margin-bottom: clamp(14px, 2vw, 24px);
  color: var(--story-copper);
  font: 700 clamp(10px, 0.8vw, 13px)/1.2 var(--font-body, sans-serif);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-step { color: var(--story-leaf); }

.story-copy h2,
.tail-copy h2,
.pricing-intro h2,
.faq-header h2,
.chapter-floating-heading h2 {
  margin: 0;
  max-width: 11ch;
  color: var(--story-ink);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.story-copy h3 {
  margin: 0;
  color: var(--story-ink);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(32px, 3.4vw, 58px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.story-copy p,
.tail-copy p,
.pricing-intro p {
  max-width: 56ch;
  margin: clamp(20px, 2.5vw, 34px) 0 0;
  color: var(--story-muted);
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.68;
}

.story-copy--compact { width: min(32vw, 470px); }
.story-copy--compact p { font-size: clamp(15px, 1.15vw, 18px); }

.story-chapter--themes {
  min-height: 240svh;
  padding-top: 0;
  isolation: isolate;
  overflow: clip;
}

.story-chapter--themes::before {
  background: radial-gradient(circle at 64% 48%, oklch(69% 0.083 61 / 0.07), transparent 26%);
}

.theme-explosion {
  --burst-visibility: 0;
  --burst-progress: 0;
  --copper-stage-opacity: 0;
  --copper-stage-inset: 49.8%;
  --copper-stage-scale: 0.965;
  position: sticky;
  top: 0;
  z-index: 2;
  height: 100svh;
  margin-bottom: -100svh;
  overflow: hidden;
  pointer-events: none;
}

.theme-copper-stage {
  position: absolute;
  inset: -1px;
  z-index: 0;
  background:
    radial-gradient(circle at 63% 42%, oklch(75% 0.07 68 / 0.52), transparent 34%),
    linear-gradient(118deg, oklch(64% 0.09 56), var(--story-copper) 48%, oklch(61% 0.085 54));
  opacity: var(--copper-stage-opacity);
  clip-path: inset(0 var(--copper-stage-inset) 0 var(--copper-stage-inset));
  transform: scale(var(--copper-stage-scale));
  transform-origin: center;
  will-change: clip-path, opacity, transform;
}

.theme-explosion__field {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-style: preserve-3d;
}

.theme-dial {
  --theme-dial-size: min(40vw, 560px);
  position: absolute;
  left: 64%;
  top: 50%;
  z-index: 2;
  width: var(--theme-dial-size);
  aspect-ratio: 1;
  opacity: 0;
  transform-origin: center;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.theme-dial__track {
  position: absolute;
  inset: 4%;
  border: 1px solid oklch(29% 0.04 57 / 0.38);
  border-radius: 50%;
}

.theme-dial__item {
  position: absolute;
  inset: 0;
  transform: rotate(var(--theme-angle));
  transform-origin: center;
}

.theme-dial__orient {
  position: absolute;
  top: 50%;
  left: 96%;
  transform: translate3d(-50%, -50%, 0) rotate(var(--theme-angle-inverse));
  transform-origin: center;
}

.theme-dial__icon {
  display: block;
  width: clamp(46px, 4.4vw, 72px);
  height: auto;
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  contain: layout style paint;
}

.theme-subject-icon {
  position: absolute;
  left: 64%;
  top: 50%;
  z-index: 3;
  width: clamp(112px, 9vw, 156px);
  height: auto;
  opacity: 0;
  transform-origin: center;
  will-change: transform, opacity;
  pointer-events: none;
}

.theme-explosion__count {
  position: absolute;
  left: 64%;
  top: calc(50% + clamp(180px, 20vw, 270px));
  z-index: 4;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--story-ink);
  opacity: var(--burst-visibility);
  transform: translate3d(-50%, -50%, 0);
}

.theme-explosion__count span {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(38px, 4vw, 62px);
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.theme-explosion__count strong {
  color: var(--story-copper);
  font: 700 clamp(10px, 0.78vw, 13px)/1 var(--font-body, sans-serif);
  letter-spacing: 0.32em;
}

.chapter-floating-heading {
  position: sticky;
  top: 18svh;
  z-index: 1;
  width: min(38vw, 560px);
  margin-left: var(--story-gutter);
  pointer-events: none;
}

.story-chapter--themes .chapter-floating-heading {
  top: 27svh;
  z-index: 5;
  width: min(36vw, 540px);
}

.story-chapter--themes .chapter-floating-heading h2 {
  max-width: 9ch;
  font-size: clamp(48px, 4.8vw, 76px);
  line-height: 0.93;
  letter-spacing: -0.035em;
}

.story-chapter--themes .chapter-floating-heading p {
  max-width: 36ch;
  margin-top: clamp(20px, 2.2vw, 30px);
  font-size: clamp(15px, 1.05vw, 17px);
}

.story-chapter--themes .chapter-floating-heading h2,
.story-chapter--themes .chapter-floating-heading p,
.story-chapter--themes .theme-explosion__count,
.story-chapter--themes .theme-explosion__count strong {
  transition: color 320ms var(--story-ease);
}

.story-chapter--themes.is-copper-stage .chapter-floating-heading h2 {
  color: var(--story-paper-ink);
}

.story-chapter--themes.is-copper-stage .chapter-floating-heading p {
  color: oklch(27% 0.028 56 / 0.72);
}

.story-chapter--themes.is-copper-stage .theme-explosion__count {
  color: oklch(18% 0.025 54 / 0.78);
}

.story-chapter--themes.is-copper-stage .theme-explosion__count strong {
  color: oklch(96% 0.018 86 / 0.82);
}

.chapter-floating-heading h2 { font-size: clamp(44px, 5.2vw, 82px); }
.chapter-floating-heading p {
  max-width: 48ch;
  color: var(--story-muted);
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.65;
}

.theme-shot-anchor {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.theme-shot-anchor--entry { top: 0; }
.theme-shot-anchor--mid { top: 50%; }
.theme-shot-anchor--exit { bottom: 0; }
.theme-burst-spacer { height: 240svh; pointer-events: none; }

.story-tail {
  position: relative;
  z-index: 4;
  min-height: 145svh;
  display: flex;
  align-items: center;
  padding: 20svh var(--story-gutter);
  background: transparent;
}

.tail-copy {
  width: min(48vw, 700px);
}

.tail-copy h2,
.pricing-intro h2,
.faq-header h2 { max-width: 13ch; }
.tail-copy--right { margin-left: auto; text-align: right; }
.tail-copy--right p { margin-left: auto; }

.text-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--story-ink);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--story-line);
  padding-bottom: 5px;
  pointer-events: auto;
}

.pricing-section-new {
  min-height: 170svh;
  display: block;
  padding-top: 24svh;
}

.pricing-intro { width: min(58vw, 760px); }

.pricing-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(64px, 10vw, 140px);
  border-top: 1px solid var(--story-line);
  border-bottom: 1px solid var(--story-line);
}

.price-tier {
  position: relative;
  min-height: 360px;
  padding: 34px clamp(22px, 3vw, 48px) 44px;
  color: var(--story-ink);
}

.price-tier + .price-tier { border-left: 1px solid var(--story-line); }

.price-tier > span {
  color: var(--story-copper);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.price-tier h3 {
  margin: 42px 0 10px;
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(36px, 4vw, 62px);
}

.price-tier strong { display: block; font-size: clamp(24px, 2.4vw, 38px); }
.price-tier p { max-width: 32ch; color: var(--story-muted); line-height: 1.6; }

.price-tier--ultimate::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: var(--story-copper);
  box-shadow: 0 0 18px oklch(69% 0.083 61 / 0.28);
}

.pricing-cta { margin-top: 48px; pointer-events: auto; }

.faq-section-new {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(60px, 10vw, 160px);
  padding: 22svh var(--story-gutter);
  background: transparent;
  border-top: 1px solid var(--story-line);
}

.faq-header h2 { font-size: clamp(44px, 5vw, 78px); }
.faq-list { border-top: 1px solid var(--story-line); }

.faq-list details { border-bottom: 1px solid var(--story-line); }
.faq-list summary {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--story-ink);
  font-size: clamp(18px, 1.5vw, 23px);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { font-style: normal; transition: transform 240ms var(--story-ease); }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p {
  max-width: 65ch;
  margin: 0;
  padding: 0 48px 34px 0;
  color: var(--story-muted);
  line-height: 1.7;
}

.story-footer {
  position: relative;
  z-index: 6;
  background: transparent;
}

.product-hunt-badge {
  display: inline-flex;
  max-width: 100%;
  border-radius: 10px;
  line-height: 0;
  transition: transform 220ms var(--story-ease), opacity 220ms var(--story-ease);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: clamp(12px, 1.35vw, 22px);
  width: max-content;
  max-width: 100%;
}

.hero-actions > * { flex: 0 0 auto; }
.hero-actions .btn,
.hero-actions .explore-scroll-btn { white-space: nowrap; }

.product-hunt-badge img {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
}

.product-hunt-badge:hover {
  opacity: 0.88;
  transform: translate3d(0, -2px, 0);
}

.product-hunt-badge:active { transform: translate3d(0, 0, 0) scale(0.98); }

.product-hunt-badge:focus-visible {
  outline: 2px solid var(--story-leaf);
  outline-offset: 5px;
}

/* Non-home public pages keep the same hardware without loading the home story layout. */
body[data-device-page]:not([data-device-page="home"]):not([data-device-page="admin"]):not([data-device-page="announcement-admin"]) main,
body[data-device-page]:not([data-device-page="home"]):not([data-device-page="admin"]):not([data-device-page="announcement-admin"]) .support-main,
body[data-device-page]:not([data-device-page="home"]):not([data-device-page="admin"]):not([data-device-page="announcement-admin"]) .legal-main {
  position: relative;
  z-index: 4;
}

body[data-device-page="support"] .support-hero,
body[data-device-page="privacy"] .legal-hero,
body[data-device-page="terms"] .legal-hero {
  max-width: 52%;
}

/* ============================================================
   A QUIET RECORD · spatial typography art direction
   The WebGL device lives at z=2. Back type sits at z=1 and
   foreground type at z=3; readable copy remains at z=4.
   ============================================================ */

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.reading-paper-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, oklch(96% 0.01 104 / 0.78), transparent 54%),
    linear-gradient(112deg, oklch(90% 0.014 153), var(--story-paper) 48%, oklch(88% 0.018 145));
  color: oklch(30% 0.018 155 / 0.42);
  pointer-events: none;
  will-change: clip-path, opacity;
}

.reading-paper-field::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 49.96%, oklch(28% 0.018 153 / 0.08) 50%, transparent 50.08%);
}

.reading-book-stage {
  position: absolute;
  inset: clamp(88px, 10svh, 124px) clamp(28px, 3.2vw, 62px) clamp(58px, 7svh, 84px);
  perspective: 1800px;
  transform-style: preserve-3d;
}

.reading-book {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44%;
  isolation: isolate;
  transform-style: preserve-3d;
  transform-origin: center bottom;
  will-change: transform, opacity;
}

.reading-book--copy {
  left: 0;
  transform: rotate(-1.6deg) rotateY(2.4deg);
}

.reading-book--device {
  right: 0;
  transform: rotate(1.2deg) rotateY(-2.2deg);
}

.reading-book__cover {
  position: absolute;
  z-index: 0;
  inset: 9px -13px -17px 7px;
  border-radius: 5px 13px 15px 6px;
  background:
    radial-gradient(circle at 76% 18%, oklch(43% 0.043 147 / 0.44), transparent 32%),
    linear-gradient(128deg, oklch(28% 0.037 153), oklch(20% 0.03 151) 58%, oklch(15% 0.025 148));
  box-shadow:
    0 28px 48px oklch(18% 0.02 153 / 0.24),
    0 9px 14px oklch(18% 0.02 153 / 0.18),
    inset 0 0 0 1px oklch(76% 0.07 62 / 0.42),
    inset -5px 0 0 oklch(9% 0.018 150 / 0.3);
}

.reading-book--device .reading-book__cover {
  inset: 9px 7px -17px -13px;
  border-radius: 13px 5px 6px 15px;
  background:
    radial-gradient(circle at 24% 18%, oklch(43% 0.043 147 / 0.44), transparent 32%),
    linear-gradient(232deg, oklch(28% 0.037 153), oklch(20% 0.03 151) 58%, oklch(15% 0.025 148));
  box-shadow:
    0 28px 48px oklch(18% 0.02 153 / 0.24),
    0 9px 14px oklch(18% 0.02 153 / 0.18),
    inset 0 0 0 1px oklch(76% 0.07 62 / 0.42),
    inset 5px 0 0 oklch(9% 0.018 150 / 0.3);
}

.reading-book__cover::after {
  content: '';
  position: absolute;
  top: 2%;
  bottom: 2%;
  right: 16px;
  width: 1px;
  background: oklch(78% 0.075 64 / 0.48);
  box-shadow: -3px 0 8px oklch(7% 0.018 151 / 0.46);
}

.reading-book--device .reading-book__cover::after {
  right: auto;
  left: 16px;
  box-shadow: 3px 0 8px oklch(7% 0.018 151 / 0.46);
}

.reading-book__page-stack,
.reading-book__page-edge,
.reading-book__sheet {
  position: absolute;
  inset: 0;
}

.reading-book__page-stack {
  z-index: 2;
  transform: translateZ(8px);
}

.reading-book__page-edge {
  border-radius: 4px 12px 11px 4px;
  background:
    repeating-linear-gradient(0deg, oklch(82% 0.021 83) 0 1px, oklch(90% 0.015 90) 1px 3px);
  box-shadow: 0 7px 11px oklch(20% 0.025 151 / 0.16);
}

.reading-book--device .reading-book__page-edge {
  border-radius: 12px 4px 4px 11px;
}

.reading-book__page-edge--back {
  transform: translate3d(5px, 10px, -6px);
  background-color: oklch(78% 0.023 82);
}

.reading-book--device .reading-book__page-edge--back {
  transform: translate3d(-5px, 10px, -6px);
}

.reading-book__page-edge--middle {
  transform: translate3d(2px, 5px, -3px);
  background-color: oklch(85% 0.019 84);
}

.reading-book--device .reading-book__page-edge--middle {
  transform: translate3d(-2px, 5px, -3px);
}

.reading-book__sheet {
  overflow: hidden;
  border-radius: 3px 11px 9px 3px;
  background:
    linear-gradient(96deg, oklch(95% 0.018 86), oklch(93% 0.022 83) 72%, oklch(84% 0.024 80));
  box-shadow:
    0 6px 12px oklch(20% 0.024 151 / 0.13),
    inset -20px 0 28px oklch(42% 0.025 86 / 0.1),
    inset 0 0 0 1px oklch(52% 0.03 83 / 0.12);
}

.reading-book--device .reading-book__sheet {
  border-radius: 11px 3px 3px 9px;
  background:
    linear-gradient(264deg, oklch(95% 0.018 86), oklch(93% 0.022 83) 72%, oklch(84% 0.024 80));
  box-shadow:
    0 6px 12px oklch(20% 0.024 151 / 0.13),
    inset 20px 0 28px oklch(42% 0.025 86 / 0.1),
    inset 0 0 0 1px oklch(52% 0.03 83 / 0.12);
}

.reading-book__sheet::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(22px, 3vw, 52px);
  background: linear-gradient(90deg, transparent, oklch(28% 0.028 86 / 0.16));
}

.reading-book--device .reading-book__sheet::before {
  right: auto;
  left: 0;
  background: linear-gradient(-90deg, transparent, oklch(28% 0.028 86 / 0.16));
}

.reading-book__sheet::after {
  content: '';
  position: absolute;
  top: clamp(54px, 7svh, 76px);
  left: clamp(24px, 2.5vw, 42px);
  right: clamp(30px, 3.4vw, 58px);
  height: 1px;
  background: oklch(59% 0.058 62 / 0.42);
}

.reading-book--device .reading-book__sheet::after {
  left: clamp(30px, 3.4vw, 58px);
  right: clamp(24px, 2.5vw, 42px);
}

.reading-book__running-title,
.reading-book__folio,
.reading-paper-caption {
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.2em;
}

.reading-book__running-title {
  position: absolute;
  top: clamp(28px, 3.8svh, 42px);
  left: clamp(24px, 2.5vw, 42px);
  color: oklch(30% 0.026 153 / 0.58);
  font-weight: 700;
}

.reading-book--device .reading-book__running-title {
  right: clamp(24px, 2.5vw, 42px);
  left: auto;
}

.reading-book__folio {
  position: absolute;
  right: clamp(32px, 3.8vw, 64px);
  bottom: clamp(24px, 3.3svh, 38px);
  color: oklch(31% 0.026 153 / 0.45);
}

.reading-book--device .reading-book__folio {
  right: auto;
  left: clamp(32px, 3.8vw, 64px);
}

.reading-book__curl {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(42px, 4vw, 68px);
  aspect-ratio: 1;
  background: linear-gradient(135deg, oklch(73% 0.025 82 / 0.62), oklch(97% 0.015 88) 62%);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  filter: drop-shadow(-4px -4px 5px oklch(31% 0.022 86 / 0.12));
}

.reading-book--device .reading-book__curl {
  right: auto;
  left: 0;
  background: linear-gradient(225deg, oklch(73% 0.025 82 / 0.62), oklch(97% 0.015 88) 62%);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  filter: drop-shadow(4px -4px 5px oklch(31% 0.022 86 / 0.12));
}

.reading-book__bookmark {
  position: absolute;
  z-index: 1;
  left: 22%;
  bottom: -36px;
  width: 18px;
  height: 54px;
  background: linear-gradient(90deg, oklch(53% 0.09 50), var(--story-copper), oklch(49% 0.08 49));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  box-shadow: 0 8px 12px oklch(18% 0.024 151 / 0.2);
}

.reading-paper-caption {
  position: absolute;
  right: clamp(24px, 4vw, 72px);
  bottom: clamp(24px, 3.4vw, 58px);
  color: oklch(30% 0.018 155 / 0.42);
}

body.is-reading-quiet {
  --story-ink: var(--story-paper-ink);
  --story-muted: oklch(36% 0.018 155 / 0.76);
  --story-line: oklch(25% 0.018 155 / 0.16);
}

body.is-reading-quiet .navbar {
  color: var(--story-paper-ink);
  background: oklch(92% 0.012 155 / 0.84);
  border-color: oklch(25% 0.018 155 / 0.12);
}

body.is-reading-quiet .navbar a,
body.is-reading-quiet .brand,
body.is-reading-quiet .menu-toggle {
  color: var(--story-paper-ink);
}

body.is-reading-quiet .logo-img { filter: invert(1); }
body.is-reading-quiet .menu-toggle span { background: var(--story-paper-ink); }

.hero--album {
  min-height: 112svh;
  padding-top: var(--nav-height);
  overflow: clip;
}

.hero--album .hero-container {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  min-height: calc(112svh - var(--nav-height));
  margin: 0;
  padding: 0;
}

.hero-edition {
  position: absolute;
  top: clamp(32px, 6svh, 72px);
  left: var(--story-gutter);
  right: var(--story-gutter);
  z-index: 6;
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.22em;
}

.hero-title-lockup {
  position: absolute;
  top: 31%;
  left: var(--story-gutter);
  z-index: 7;
  display: flex;
  align-items: baseline;
  gap: 0.13em;
  max-width: 42vw;
  white-space: nowrap;
  pointer-events: none;
}

.hero-title-plane {
  position: relative;
  inset: auto;
  margin: 0;
  color: var(--story-ink);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(62px, 6.2vw, 92px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.035em;
  white-space: nowrap;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-title-plane--back {
  z-index: 1;
}

.hero-title-plane--front {
  z-index: 7;
}

.hero--album .hero-visual {
  position: absolute;
  top: 17%;
  right: 3vw;
  width: min(54vw, 820px);
  height: 76%;
}

.hero-content--album-note {
  position: absolute;
  top: 54%;
  left: var(--story-gutter);
  bottom: auto;
  z-index: 6;
  width: min(54vw, 780px);
}

.hero-content--album-note .hero-subtitle {
  max-width: 42ch;
  margin: 0 0 30px;
  color: var(--story-muted);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.72;
}

.hero-content--album-note .btn { padding: 14px 26px; font-size: 14px; }

.music-spatial-title {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  pointer-events: none;
}

.music-spatial-line {
  position: relative;
  inset: auto;
  color: var(--story-ink);
  font-family: var(--font-display, Georgia, serif);
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
  will-change: transform, opacity;
}

.music-spatial-line--back {
  z-index: 1;
  max-width: none;
  font-size: clamp(62px, 6.1vw, 92px);
  line-height: 0.9;
  white-space: nowrap;
}

.music-spatial-line--front {
  z-index: 3;
  max-width: 13ch;
  margin-top: clamp(18px, 2.6svh, 30px);
  margin-left: 0;
  color: oklch(91% 0.014 95 / 0.9);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.028em;
}

.story-copy--spatial-proof {
  position: relative;
  width: min(31vw, 440px);
  margin-top: clamp(48px, 7svh, 82px);
}

.story-copy--spatial-proof p {
  margin-top: 0;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.68;
}

.story-copy--word-score h3 {
  max-width: 9ch;
  line-height: 1.08;
}

.story-copy--staccato h2 {
  max-width: 9ch;
  line-height: 0.9;
}

.story-copy--long-form {
  width: min(46vw, 660px);
}

.story-copy--long-form h2,
.story-copy--long-form h3 {
  max-width: 12ch;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.story-copy--long-form h2 { font-size: clamp(48px, 5.4vw, 82px); }

.story-chapter--reading {
  contain: style;
}

.story-chapter--reading .reading-script {
  position: fixed;
  top: 34svh;
  bottom: auto;
  width: min(36.5vw, 560px);
  max-width: none;
  margin: 0;
}

.story-chapter--reading .reading-script--left {
  right: auto;
  left: 4.5vw;
}

.story-chapter--reading .reading-script--right,
.story-chapter--reading .story-beat.align-right .reading-script--right {
  right: 5.8vw;
  left: auto;
  width: min(34.5vw, 530px);
  margin: 0;
}

.reading-script h2,
.reading-script h3,
.reading-script p {
  max-width: none;
}

.reading-script-line {
  display: block;
  overflow: hidden;
  padding: 0.03em 0 0.09em;
}

.reading-script-line > span {
  display: inline-block;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path, opacity, transform;
}

.reading-script p .reading-script-line {
  padding-bottom: 0.04em;
}

.reading-script .story-step {
  margin-bottom: clamp(16px, 2vw, 26px);
}

.story-copy--assembled h2 {
  max-width: 10ch;
}

.more-tracklist {
  position: sticky;
  top: 18svh;
  z-index: 3;
  width: min(24vw, 310px);
  height: 0;
  margin-left: var(--story-gutter);
  display: grid;
  gap: 9px;
  color: var(--story-ink);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(22px, 2.2vw, 34px);
  pointer-events: none;
}

.more-tracklist span {
  opacity: 0.16;
  transform: translate3d(0, 0, 0);
  transition: opacity 420ms var(--story-ease), transform 620ms var(--story-ease);
}

.more-tracklist span.is-current {
  opacity: 1;
  transform: translate3d(28px, 0, 0);
}

.story-copy--track-note {
  width: min(22vw, 360px);
  margin-left: clamp(330px, 28vw, 560px);
  margin-top: 32svh;
}

.story-chapter--more .story-beat.align-right .story-copy--track-note {
  margin-right: 0;
  margin-left: clamp(330px, 28vw, 560px);
}

.story-chapter--more [data-shot="more-watch"].story-beat.align-right .story-copy--track-note {
  width: min(26vw, 440px);
  margin-right: 0;
  margin-left: clamp(480px, 42vw, 860px);
}

.tail-copy--manifesto h2 {
  max-width: 18ch;
  font-size: clamp(46px, 5.6vw, 88px);
}

.tail-copy--manifesto p { max-width: 58ch; font-size: clamp(14px, 1.05vw, 17px); }
.tail-copy--reuse h2 { max-width: 11ch; }

html[lang="zh-CN"] .hero-title-plane,
html[lang="zh-CN"] .music-spatial-line,
html[lang="zh-CN"] .story-copy h2,
html[lang="zh-CN"] .story-copy h3,
html[lang="zh-CN"] .tail-copy h2,
html[lang="zh-CN"] .pricing-intro h2,
html[lang="zh-CN"] .faq-header h2,
html[lang="zh-CN"] .chapter-floating-heading h2,
html[lang="zh-CN"] .more-tracklist {
  font-family: "Songti SC", "STSong", var(--font-display, Georgia, serif);
}

html[lang="zh-CN"] .hero-title-lockup {
  gap: 0.08em;
  top: 38%;
}

html[lang="zh-CN"] .hero-title-plane {
  font-size: clamp(68px, 6.7vw, 102px);
  letter-spacing: -0.06em;
}

html[lang="en"] .hero-title-lockup {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

html[lang="en"] .hero-title-plane {
  font-size: clamp(62px, 6vw, 90px);
  line-height: 0.86;
}

html[lang="en"] .hero-title-plane--front {
  margin-left: 0;
}

html[lang="zh-CN"] .story-copy p,
html[lang="zh-CN"] .tail-copy p,
html[lang="zh-CN"] .pricing-intro p {
  max-width: 30em;
}

html[lang="zh-CN"] .music-spatial-line { white-space: nowrap; }

@media (max-width: 1024px) {
  :root { --story-copy-width: min(44vw, 520px); }
  .story-copy h2, .tail-copy h2, .pricing-intro h2, .faq-header h2, .chapter-floating-heading h2 { font-size: clamp(42px, 6.6vw, 74px); }
  .chapter-floating-heading { width: 43vw; }
  .story-copy--compact { width: 38vw; }
  .price-tier { min-height: 330px; }
  .hero-actions { gap: 10px; }
  .hero-actions .product-hunt-badge img { width: 190px; }
  .hero-content--album-note .btn { padding: 12px 18px; font-size: 12px; }
  .hero-actions .explore-scroll-btn { font-size: 12px; }
}

@media (max-width: 768px) {
  :root {
    --story-gutter: clamp(20px, 6vw, 36px);
    --story-copy-width: 100%;
  }

  .story-chapter { contain: style; }
  .floating-case { filter: none; }
  .story-copy,
  .music-copy-stage,
  .chapter-floating-heading { z-index: 4; }

  .hero { min-height: 118svh; }
  .hero-container { padding-bottom: 10svh; }
  .hero-ticker-wrap { margin-top: 8px; }

  .story-beat {
    --beat-height: 125svh;
    align-items: flex-end;
    padding-top: 58svh;
    padding-bottom: 12svh;
  }

  .story-beat--lead { --beat-height: 142svh; }
  .story-beat--landscape { --beat-height: 156svh; }

  .story-copy,
  .story-copy--compact,
  .story-beat.align-right .story-copy {
    width: 100%;
    max-width: 620px;
    margin: 0;
    text-align: left;
  }

  .story-copy h2 { max-width: 12ch; font-size: clamp(42px, 13vw, 66px); }
  .story-copy h3 { max-width: 12ch; font-size: clamp(31px, 9vw, 46px); }
  .story-copy p { max-width: 52ch; font-size: 16px; line-height: 1.62; }

  .reading-book-stage {
    inset: 8svh 4vw 3.5svh;
    perspective: 1200px;
  }

  .reading-book {
    top: auto;
    bottom: auto;
    width: auto;
  }

  .reading-book--device {
    top: 0;
    right: 3vw;
    left: 3vw;
    height: 64%;
    transform: rotate(1deg) rotateX(-1.5deg);
  }

  .reading-book--copy {
    right: 0;
    bottom: 0;
    left: 0;
    height: 34%;
    transform: rotate(-1.1deg) rotateX(1.2deg);
  }

  .reading-book__cover {
    inset: 7px -8px -12px 5px;
    box-shadow:
      0 18px 30px oklch(18% 0.02 153 / 0.22),
      0 6px 10px oklch(18% 0.02 153 / 0.16),
      inset 0 0 0 1px oklch(76% 0.07 62 / 0.42),
      inset -4px 0 0 oklch(9% 0.018 150 / 0.3);
  }

  .reading-book--device .reading-book__cover {
    inset: 7px 5px -12px -8px;
    box-shadow:
      0 18px 30px oklch(18% 0.02 153 / 0.22),
      0 6px 10px oklch(18% 0.02 153 / 0.16),
      inset 0 0 0 1px oklch(76% 0.07 62 / 0.42),
      inset 4px 0 0 oklch(9% 0.018 150 / 0.3);
  }

  .reading-book__running-title,
  .reading-book__folio { font-size: 8px; }

  .reading-book__sheet::after { top: 48px; }
  .reading-book__running-title { top: 26px; }
  .reading-book--copy .reading-book__running-title,
  .reading-book--copy .reading-book__sheet::after { display: none; }
  .reading-book__bookmark { bottom: -27px; width: 14px; height: 42px; }
  .reading-paper-caption { display: none; }

  .story-chapter--reading .story-beat {
    align-items: flex-end;
    padding-bottom: 5svh;
  }

  .story-chapter--reading .reading-script,
  .story-chapter--reading .reading-script--left,
  .story-chapter--reading .reading-script--right,
  .story-chapter--reading .story-beat.align-right .reading-script--right {
    top: auto;
    right: var(--story-gutter);
    bottom: 5.5svh;
    left: var(--story-gutter);
    width: auto;
    max-width: none;
    margin: 0;
  }

  .story-chapter--reading .story-copy h2 {
    font-size: clamp(38px, 10.4vw, 48px);
  }

  .story-chapter--reading .story-copy p {
    max-width: 36ch;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.52;
  }

  .story-chapter--themes { min-height: 210svh; padding-top: 0; }
  .theme-explosion {
    perspective-origin: 50% 48%;
  }
  .theme-dial {
    --theme-dial-size: min(78vw, 360px);
    left: 50%;
    top: 48%;
  }
  .theme-dial__icon { width: clamp(34px, 10.5vw, 48px); }
  .theme-subject-icon {
    left: 50%;
    top: 48%;
    width: min(26vw, 112px);
  }
  .theme-explosion__count {
    top: calc(48% + min(43vw, 190px));
    bottom: auto;
    left: 50%;
    right: auto;
    gap: 10px;
    transform: translate3d(-50%, -50%, 0);
  }
  .theme-explosion__count span { font-size: 42px; }
  .theme-explosion__count strong { font-size: 9px; }
  .chapter-floating-heading {
    top: 11svh;
    bottom: auto;
    width: 62vw;
    margin: 0 var(--story-gutter);
  }
  .chapter-floating-heading h2 { font-size: clamp(34px, 9.2vw, 44px); }
  .chapter-floating-heading p { display: none; }
  .story-chapter--themes .chapter-floating-heading {
    top: 18svh;
    width: 68vw;
  }
  .story-chapter--themes .chapter-floating-heading h2 {
    max-width: 9ch;
    font-size: clamp(34px, 9.2vw, 44px);
  }
  .theme-burst-spacer { height: 210svh; }

  .story-tail { min-height: 135svh; align-items: flex-end; padding-top: 60svh; padding-bottom: 14svh; }
  .tail-copy, .tail-copy--right { width: 100%; margin: 0; text-align: left; }
  .tail-copy--right p { margin-left: 0; }
  .tail-copy h2, .pricing-intro h2, .faq-header h2 { font-size: clamp(40px, 12vw, 62px); }

  .pricing-section-new { min-height: auto; padding-top: 90svh; }
  .pricing-intro { width: 100%; }
  .pricing-rail { grid-template-columns: 1fr; }
  .price-tier { min-height: 0; padding-block: 32px 42px; }
  .price-tier + .price-tier { border-left: 0; border-top: 1px solid var(--story-line); }
  .price-tier h3 { margin-top: 24px; }

  .faq-section-new { grid-template-columns: 1fr; gap: 56px; padding-block: 18svh; }
  .faq-list summary { min-height: 76px; font-size: 18px; }

  .hero--album,
  .hero--album .hero-container { min-height: 110svh; }
  .hero--album .hero-container { padding: 0; }
  .hero-edition { top: 30px; }
  .hero--album .hero-visual {
    top: 11%;
    right: 0;
    width: 100%;
    height: 62%;
  }
  .hero-title-lockup {
    top: 55%;
    left: var(--story-gutter);
    right: var(--story-gutter);
    max-width: none;
    gap: 0.1em;
  }
  .hero-title-plane {
    font-size: clamp(42px, 13vw, 54px);
    line-height: 0.94;
  }
  .hero-title-plane--back,
  .hero-title-plane--front { inset: auto; }
  html[lang="en"] .hero-title-plane--front { margin-left: 0; }
  html[lang="zh-CN"] .hero-title-lockup { top: 59%; }
  .hero-content--album-note {
    left: var(--story-gutter);
    right: var(--story-gutter);
    top: 68%;
    bottom: auto;
    width: auto;
    text-align: left;
  }
  .hero-content--album-note .hero-subtitle {
    max-width: 34ch;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.66;
  }
  .hero-actions {
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    width: 100%;
  }
  .hero-actions .product-hunt-badge {
    flex-basis: 100%;
  }
  .hero-actions .product-hunt-badge img { width: 190px; }
  .hero-content--album-note .btn { padding: 13px 22px; }

  .story-chapter--music .story-beat--lead {
    --beat-height: 210svh;
    padding: 0 var(--story-gutter);
  }
  .music-copy-stage {
    width: 100%;
    min-height: 100svh;
    justify-content: flex-end;
    padding: calc(var(--nav-height, 72px) + 4svh) 0 7svh;
  }
  .music-spatial-title {
    width: 100%;
  }
  .music-spatial-line {
    max-width: 9ch;
    font-size: clamp(42px, 12.5vw, 60px);
  }
  .music-spatial-line--back { max-width: none; }
  .music-spatial-line--front {
    max-width: 11ch;
    margin-top: 14px;
    margin-left: 0;
    font-size: clamp(30px, 8.6vw, 42px);
  }
  .story-copy--spatial-proof {
    width: min(70vw, 360px);
    margin-top: clamp(24px, 4svh, 38px);
  }
  .story-copy--spatial-proof p { max-width: 31ch; font-size: 15px; }
  .story-copy--long-form { width: 100%; }

  .more-tracklist { display: none; }
  .story-copy--track-note { width: 100%; margin-top: 0; }
  .tail-copy--manifesto h2 { font-size: clamp(38px, 10.8vw, 56px); }

  body[data-device-page="support"] .support-hero,
  body[data-device-page="privacy"] .legal-hero,
  body[data-device-page="terms"] .legal-hero { max-width: none; padding-top: 48svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .product-hunt-badge { transition: none; }
  .product-hunt-badge:hover { transform: none; }
  .device-canvas, .story-copy, .theme-dial, .theme-dial__icon, .hero-static-card, .hero-floating-container, .hero-ticker-wrap, .more-tracklist span { transition: none !important; }
  .story-copy, .theme-dial__icon { filter: none; }
  .hero-title-plane, .music-spatial-line, .reading-paper-field, .reading-book { transform: none !important; }
  .story-beat { min-height: 100svh; }
  .story-chapter--themes { min-height: 150svh; }
  .theme-burst-spacer { height: 150svh; }
}
