/* KidsCanvas (小小美术馆) — Premium Landing Page Design System */

:root {
  /* Brand Theme Colors (Synchronized with Mobile App Theme Tokens) */
  --c-ink: #1A1C1E;
  --c-ink-soft: #57534E;
  --c-ink-muted: #78716C;
  --c-canvas: #F6F6F7;
  --c-canvas-raised: #FFFFFF;
  --c-paper: #FFFFFF;
  --c-paper-warm: #FAF8F5;
  --c-line: rgba(231, 229, 228, 0.75);
  --c-line-strong: #E7E5E4;

  /* Accents */
  --c-coral: #FF6B6B;
  --c-coral-dark: #E25555;
  --c-coral-pale: #FFF1F0;

  --c-yellow: #FFD166;
  --c-yellow-pale: #FFF9EE;

  --c-blue: #4E8CAE;
  --c-blue-pale: #EBF4F9;

  --c-green: #4ECDC4;
  --c-green-pale: #E7F8F6;

  --c-lilac: #9A8EAA;
  --c-lilac-pale: #F3EEF7;

  /* Shadows */
  --shadow-subtle: 0 4px 20px -2px rgba(28, 25, 23, 0.05);
  --shadow-card: 0 12px 32px -4px rgba(28, 25, 23, 0.08);
  --shadow-lifted: 0 20px 48px -8px rgba(28, 25, 23, 0.12);
  --shadow-art: 0 16px 40px -6px rgba(28, 25, 23, 0.15);

  /* Fonts */
  --font-display: 'Outfit', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --font-body: 'Noto Sans SC', 'Outfit', -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Lora', 'Noto Serif SC', 'Playfair Display', Georgia, serif;

  /* Border Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 9999px;

  /* Max widths */
  --max-content: 1240px;
  --max-header: 1400px;
}

/* ═══════════════════════════════════════════ */
/*  RESET & BASE                              */
/* ═══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--c-canvas);
  color: var(--c-ink);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Background Glow (Subtle & Elegant, Replaces Emojis) */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  z-index: 0;
  opacity: 0.45;
}

.glow-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(231, 106, 84, 0.18) 0%, transparent 70%);
}

.glow-2 {
  width: 600px;
  height: 600px;
  top: 35%;
  left: -200px;
  background: radial-gradient(circle, rgba(232, 186, 69, 0.15) 0%, transparent 70%);
}

.glow-3 {
  width: 550px;
  height: 550px;
  bottom: 5%;
  right: -150px;
  background: radial-gradient(circle, rgba(85, 145, 170, 0.14) 0%, transparent 70%);
}

/* ═══════════════════════════════════════════ */
/*  LAYOUT HELPERS                             */
/* ═══════════════════════════════════════════ */
.section-container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 96px 32px;
  position: relative;
  z-index: 1;
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.tag-blue { background: var(--c-blue-pale); color: #2C6E87; border: 1px solid rgba(85, 145, 170, 0.25); }
.tag-coral { background: var(--c-coral-pale); color: var(--c-coral-dark); border: 1px solid rgba(231, 106, 84, 0.25); }
.tag-yellow { background: var(--c-yellow-pale); color: #9A7718; border: 1px solid rgba(232, 186, 69, 0.3); }

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--c-ink);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--c-ink-soft);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════ */
/*  BUTTONS & ICONS                            */
/* ══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--c-coral);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(231, 106, 84, 0.28);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
  background: var(--c-coral-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(231, 106, 84, 0.38);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--c-canvas-raised);
  color: var(--c-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--c-line-strong);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-subtle);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--c-coral);
  color: var(--c-coral);
  background: #FFFFFF;
  transform: translateY(-2px);
}

.btn-large {
  padding: 15px 30px;
  font-size: 1.05rem;
}

.btn-icon {
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════ */
/*  HEADER                                     */
/* ═══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(246, 246, 247, 0.88);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid rgba(231, 229, 228, 0.85);
  z-index: 100;
  transition: all 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px -2px rgba(28, 25, 23, 0.06);
  border-bottom-color: rgba(214, 211, 209, 0.8);
}

.header-container {
  max-width: var(--max-header);
  width: 100%;
  margin: 0 auto;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-sizing: border-box;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}

.brand-logo:hover .logo-img {
  transform: rotate(-6deg) scale(1.06);
}

.logo-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--c-ink);
  line-height: 1.15;
  white-space: nowrap;
}

.logo-sub {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-coral);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.nav-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c-ink-soft);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--c-coral);
  background: var(--c-coral-pale);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.btn-header {
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: var(--r-pill);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.28);
}

/* ═══════════════════════════════════════════ */
/*  HERO SECTION                               */
/* ═══════════════════════════════════════════ */
.hero-section {
  padding: 64px 32px 88px;
  position: relative;
  z-index: 1;
}

.hero-container {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-yellow-pale);
  color: #946B00;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(232, 186, 69, 0.35);
  margin-bottom: 22px;
}

.badge-svg {
  color: #D49718;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1.22;
  color: var(--c-ink);
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.highlight-crayon {
  position: relative;
  color: var(--c-coral);
  display: inline-block;
}

.highlight-crayon::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: -4px;
  right: -4px;
  height: 12px;
  background: var(--c-yellow);
  opacity: 0.4;
  border-radius: 6px;
  z-index: -1;
  transform: rotate(-1deg);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--c-ink-soft);
  line-height: 1.8;
  margin-bottom: 30px;
}

.hero-description strong {
  color: var(--c-ink);
  font-weight: 800;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--c-ink);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: 7px 16px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-subtle);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 42px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--c-coral);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--c-ink-soft);
  font-weight: 600;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: var(--c-line);
}

/* Hero Gallery Stack with Real Generated Art */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-gallery-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 480px;
}

.hero-art-card {
  position: absolute;
  background: var(--c-paper);
  border-radius: var(--r-lg);
  padding: 12px;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-art);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-art-card .art-frame {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: var(--c-canvas);
}

.hero-art-card .art-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.card-primary {
  width: 320px;
  left: 10px;
  top: 30px;
  z-index: 3;
  transform: rotate(-2.5deg);
}

.card-primary .art-img {
  aspect-ratio: 4/3;
}

.card-primary:hover {
  transform: rotate(-1deg) translateY(-8px) scale(1.02);
}

.card-caption {
  padding: 14px 8px 6px;
}

.caption-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.artwork-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--c-ink);
}

.artwork-age {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-coral);
  background: var(--c-coral-pale);
  padding: 2px 8px;
  border-radius: var(--r-pill);
}

.artwork-quote {
  font-size: 0.84rem;
  color: var(--c-ink-soft);
  line-height: 1.5;
  font-style: italic;
}

.card-secondary-top {
  width: 200px;
  top: 0;
  right: 10px;
  z-index: 2;
  transform: rotate(5deg);
}

.card-secondary-top .art-img {
  aspect-ratio: 4/3;
}

.card-secondary-top:hover {
  transform: rotate(2deg) translateY(-6px) scale(1.03);
}

.card-secondary-bottom {
  width: 210px;
  bottom: 10px;
  right: 0;
  z-index: 1;
  transform: rotate(-4deg);
}

.card-secondary-bottom .art-img {
  aspect-ratio: 4/3;
}

.card-secondary-bottom:hover {
  transform: rotate(-2deg) translateY(-6px) scale(1.03);
}

.card-caption.mini {
  padding: 10px 4px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-caption.mini .artwork-name {
  font-size: 0.82rem;
}

.card-caption.mini .artwork-age {
  font-size: 0.72rem;
}

/* ═══════════════════════════════════════════ */
/*  SHOWCASE: 什么是作品集 (THE ART BOOK)      */
/* ═══════════════════════════════════════════ */
.artbook-showcase-section {
  background: linear-gradient(180deg, transparent 0%, rgba(255, 253, 249, 0.7) 30%, transparent 100%);
  padding-top: 80px;
  padding-bottom: 100px;
}

.artbook-hero-mockup-wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.artbook-photo-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px -12px rgba(43, 38, 35, 0.18);
  border: 1px solid var(--c-line);
  background: #000;
}

.artbook-photo {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.artbook-photo-frame:hover .artbook-photo {
  transform: scale(1.015);
}

.photo-overlay-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 38, 35, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.photo-overlay-tag.top-left {
  top: 24px;
  left: 24px;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #68D391;
  box-shadow: 0 0 10px #68D391;
}

.artbook-features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.book-spec-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-subtle);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.book-spec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--c-line-strong);
}

.spec-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--c-canvas);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.spec-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 10px;
}

.spec-desc {
  font-size: 0.88rem;
  color: var(--c-ink-soft);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════ */
/*  INTERACTIVE BOOKLET SPREAD                 */
/* ═══════════════════════════════════════════ */
.yearbook-preview-section {
  padding-top: 60px;
  padding-bottom: 100px;
}

/* ═══════════════════════════════════════════ */
/*  3D HARDCOVER FLIP BOOK ENGINE (APP PARITY - ZERO DISTORTION) */
/* ═══════════════════════════════════════════ */

.booklet-interactive-container {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

.booklet-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.booklet-tab {
  background: var(--c-paper);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-subtle);
}

.booklet-tab:hover {
  color: var(--c-ink);
  border-color: var(--c-ink-soft);
  transform: translateY(-1px);
}

.booklet-tab.active {
  background: var(--c-ink);
  color: #FFFFFF;
  border-color: var(--c-ink);
  box-shadow: 0 4px 14px rgba(43, 38, 35, 0.2);
}

/* 3D Viewport & Stage Wrapper */
.book-3d-viewport {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.flip-book-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
  padding: 10px 0 20px;
  overflow: visible;
}

/* Desk floor ambient shadow */
.flip-book-shadow {
  position: absolute;
  bottom: 12px;
  width: 880px;
  max-width: 90%;
  height: 38px;
  background: radial-gradient(ellipse at 50% 50%, rgba(38, 26, 18, 0.32) 0%, rgba(38, 26, 18, 0.10) 50%, transparent 75%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 1;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), width 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.flip-book-wrapper.is-cover .flip-book-shadow,
.flip-book-wrapper.is-back-cover .flip-book-shadow {
  width: 440px;
}

.flip-book-wrapper.is-open .flip-book-shadow {
  width: 880px;
}

/* Book Stage Container (Animated for single cover centering) */
.book-flip-stage {
  margin: 0 auto;
  position: relative;
  z-index: 2;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Pre-initialization fallback: prevent vertical stacking of uninitialized pages */
.book-flip-stage:not(.stf__parent) {
  width: 460px !important;
  max-width: 90vw !important;
  height: 540px !important;
  margin: 0 auto !important;
  transform: none !important;
}

.book-flip-stage:not(.stf__parent) .flip-page {
  display: none !important;
}

.book-flip-stage:not(.stf__parent) .flip-page:first-child {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.book-flip-stage.is-cover {
  transform: translateX(-230px);
}

.book-flip-stage.is-open {
  transform: translateX(0);
}

.book-flip-stage.is-back-cover {
  transform: translateX(230px);
}

@media (max-width: 992px) {
  .book-flip-stage.is-cover {
    transform: translateX(-160px);
  }
  .book-flip-stage.is-back-cover {
    transform: translateX(160px);
  }
}

@media (max-width: 768px) {
  .book-flip-stage.is-cover,
  .book-flip-stage.is-back-cover {
    transform: translateX(0);
  }
}

/* St.PageFlip internal elements and pages:
   CRITICAL: .stf__parent MUST be transparent with NO box-shadow!
   Otherwise StPageFlip's empty left half on Page 0 displays as a massive blank white page! */
.stf__parent {
  margin: 0 auto;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.stf__wrapper {
  background: transparent !important;
}

.stf__block {
  background: transparent !important;
}

/* Base style for each page: pure archival white paper matching our app */
.flip-page {
  background-color: #FFFFFF !important;
  color: var(--c-ink);
  overflow: hidden;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 4px;
}

/* Hardcover Front Cover (Page 0) */
.flip-page[data-density="hard"].page-cover-front {
  border-radius: 4px 14px 14px 4px;
  border: 1px solid rgba(72, 50, 31, 0.12);
  box-shadow: 
    -4px 0 12px rgba(0, 0, 0, 0.08),
    16px 24px 50px -6px rgba(28, 25, 23, 0.22),
    0 4px 14px rgba(28, 25, 23, 0.10);
  background: #FFFFFF !important;
}

/* Hardcover Back Cover (Page 9) */
.flip-page[data-density="hard"].page-cover-bottom {
  border-radius: 14px 4px 4px 14px;
  border: 1px solid rgba(72, 50, 31, 0.12);
  box-shadow: 
    -16px 24px 50px -6px rgba(28, 25, 23, 0.22),
    0 4px 14px rgba(28, 25, 23, 0.10);
  background: #FFFFFF !important;
}

/* Open page spine shadows matching real books */
.flip-page:nth-child(odd):not(:first-child) {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-right: none;
  box-shadow: 
    -8px 18px 40px -8px rgba(28, 25, 23, 0.16),
    inset -16px 0 24px -10px rgba(0, 0, 0, 0.06);
}

.flip-page:nth-child(even):not(:last-child) {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: none;
  box-shadow: 
    8px 18px 40px -8px rgba(28, 25, 23, 0.16),
    inset 16px 0 24px -10px rgba(0, 0, 0, 0.06);
}

.page-content {
  width: 100%;
  height: 100%;
  padding: 22px 26px 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: #FFFFFF;
}

/* Page footer page numbering */
.page-foot-num {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  color: #A89F91;
  letter-spacing: 2px;
  pointer-events: none;
}

/* ── Hardcover Cover Features (matching HardcoverBook.tsx in mobile app) ── */
.cover-spine-hinge {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 22px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.02) 60%, transparent 100%);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  z-index: 10;
}

.cover-spine-groove {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.08) 50%, rgba(255, 255, 255, 0.85) 50%);
  z-index: 10;
}

.cover-bookmark-ribbon {
  position: absolute;
  top: -2px;
  left: 32px;
  width: 9px;
  height: 38px;
  background: linear-gradient(135deg, #FF6B6B 0%, #D4543C 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
  pointer-events: none;
  z-index: 11;
}

.cover-header-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
}

.cover-badge-pill {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: var(--c-coral);
  text-transform: uppercase;
}

.cover-main-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: #1F1B18;
  line-height: 1.25;
  letter-spacing: 0.5px;
}

.cover-red-line {
  width: 28px;
  height: 2px;
  background: var(--c-coral);
  margin: 6px auto;
  border-radius: 1px;
}

.cover-meta-subtitle {
  font-size: 0.80rem;
  color: #6E655C;
  letter-spacing: 0.5px;
}

.cover-artwork-hero-box {
  width: 100%;
  max-width: 320px;
  height: 235px;
  background: #FAF7F2;
  padding: 8px;
  border-radius: var(--r-md);
  box-shadow: 
    0 8px 24px -4px rgba(28, 25, 23, 0.10),
    0 2px 6px rgba(28, 25, 23, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.cover-artwork-hero-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--r-sm);
  display: block;
}

.cover-open-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.cover-pill-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF8F6;
  color: var(--c-coral);
  border: 1px solid rgba(217, 107, 79, 0.28);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--r-pill);
}

/* ── Editorial Top Header (Page 1..6) ── */
.page-top-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.edition-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.edition-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-coral);
}

.page-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1F1B18;
  line-height: 1.3;
}

.page-meta-line {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  color: #7A7067;
  letter-spacing: 0.3px;
}

/* ── Artwork Canvas Frame ── */
.page-artwork-container {
  width: 100%;
  height: 250px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #FAF7F2;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-sizing: border-box;
}

.page-artwork-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

/* ── Editorial Bottom Story & Voice Quote ── */
.page-bottom-story {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 2px;
}

.child-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #2C2622;
  border-left: 2.5px solid var(--c-coral);
  padding-left: 10px;
  margin: 0;
}

.parent-note {
  font-size: 0.72rem;
  line-height: 1.45;
  color: #7A7067;
  margin: 0;
}

/* ── Color Palette Strip (Plate 05) ── */
.companion-palette-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #FAF7F2;
  padding: 8px 12px;
  border-radius: var(--r-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.palette-section-title {
  font-family: var(--font-display);
  font-size: 0.70rem;
  font-weight: 800;
  color: #7A7067;
  letter-spacing: 0.5px;
}

.palette-swatches-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.swatch-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  border: 1.5px solid #FFFFFF;
}

.swatch-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--c-ink-soft);
}

/* ── In-App Voice Player ── */
.plate-voice-pill.inapp-voice-player {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  background: #FFF8F6;
  border: 1px solid rgba(217, 107, 79, 0.25);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  margin-top: 2px;
}

.plate-voice-pill.inapp-voice-player:hover {
  background: #FFFFFF;
  border-color: var(--c-coral);
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.15);
}

.voice-play-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.voice-play-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-coral);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.voice-waveform-strip {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}

.voice-waveform-strip span {
  display: inline-block;
  width: 2px;
  height: 5px;
  background: var(--c-ink-soft);
  border-radius: 1px;
}

.inapp-voice-player.playing .voice-waveform-strip span {
  background: var(--c-coral);
}

.voice-duration {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--c-ink-soft);
}

.voice-quote-text {
  font-size: 0.70rem;
  color: var(--c-ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

@keyframes soundDance {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* ── Title Page (扉页) Layout ── */
.title-page-layout {
  padding: 34px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
}

.title-page-crest {
  font-family: var(--font-display);
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: #8C8278;
  text-transform: uppercase;
}

.title-page-heading {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 800;
  color: #1F1B18;
  line-height: 1.3;
}

.title-page-divider {
  width: 28px;
  height: 2px;
  background: var(--c-coral);
  margin: 10px auto;
  border-radius: 1px;
}

.title-page-dedication {
  font-size: 0.84rem;
  color: #5C5248;
  line-height: 1.65;
  max-width: 300px;
  font-style: italic;
}

.title-page-meta-tags {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.title-meta-card {
  flex: 1;
  background: #FAF7F2;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--r-md);
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-meta-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-coral);
}

.title-meta-lbl {
  font-size: 0.68rem;
  color: #7A7067;
  margin-top: 2px;
}

/* ── Dedication Letter (Page 7) ── */
.dedication-letter-box {
  display: flex;
  flex-direction: column;
  height: calc(100% - 24px);
  justify-content: space-between;
  padding: 6px 4px;
}

.dedication-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-coral);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
}

.dedication-text {
  font-size: 0.88rem;
  line-height: 1.75;
  color: #4A4036;
  font-style: italic;
  margin: 12px 0;
}

.dedication-sign {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: #1F1B18;
}

/* ── Archive Colophon (Page 8) ── */
.archive-colophon-box {
  display: flex;
  flex-direction: column;
  height: calc(100% - 24px);
  justify-content: space-between;
}

.archive-colophon-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #1F1B18;
  letter-spacing: 0.5px;
}

.archive-stats-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0;
}

.archive-stat-card {
  background: #FAF7F2;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--r-md);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}

.archive-stat-val {
  font-family: var(--font-display);
  font-size: 1.10rem;
  font-weight: 800;
  color: var(--c-coral);
}

.archive-stat-lbl {
  font-size: 0.68rem;
  color: #7A7067;
  margin-top: 2px;
}

.archive-export-pills {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.export-badge-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FAF7F2;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--r-sm);
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #2C2622;
}

.export-badge-pill svg {
  color: #2BA89E;
  flex-shrink: 0;
}

/* ── Back Cover (Page 9) ── */
.back-cover-layout {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.back-cover-logo-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 30px;
}

.back-cover-logo-mark {
  font-size: 2.2rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}

.back-cover-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #1F1B18;
  letter-spacing: 0.8px;
}

.back-cover-motto {
  font-size: 0.78rem;
  color: #7A7067;
  max-width: 250px;
  line-height: 1.5;
  margin-top: 4px;
}

.back-cover-barcode-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 18px;
  background: #FAF7F2;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.back-barcode-lines {
  display: flex;
  gap: 2.5px;
  height: 30px;
  align-items: flex-end;
}

.back-barcode-lines span {
  display: inline-block;
  background-color: #2D2522;
  width: 2px;
  height: 100%;
}

.back-barcode-lines span:nth-child(2n) { width: 3px; }
.back-barcode-lines span:nth-child(3n) { width: 1.5px; }
.back-barcode-lines span:nth-child(4n) { width: 4px; }
.back-barcode-lines span:nth-child(5n) { height: 90%; }
.back-barcode-lines span:nth-child(7n) { height: 80%; }

.back-barcode-number {
  font-family: monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #6B6258;
}

.back-cover-footer-text {
  font-size: 0.68rem;
  color: #A89F91;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

/* ── Booklet Navigation Controls Bar ── */
.booklet-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.booklet-nav-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-paper);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--c-ink);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-subtle);
}

.booklet-nav-arrow:hover:not(:disabled) {
  border-color: var(--c-ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(43, 38, 35, 0.12);
}

.booklet-nav-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.booklet-page-counter {
  font-family: var(--font-display);
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--c-ink-soft);
  min-width: 240px;
  text-align: center;
}

.booklet-indicator-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.b-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-line);
  cursor: pointer;
  transition: all 0.25s ease;
}

.b-dot:hover {
  background: var(--c-ink-soft);
  transform: scale(1.2);
}

.b-dot.active {
  width: 22px;
  border-radius: var(--r-pill);
  background: var(--c-ink);
}

/* ═══════════════════════════════════════════ */
/*  CORE FEATURES                              */
/* ═══════════════════════════════════════════ */
.features-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.f-green .feature-icon-badge { background: var(--c-green-pale); color: #1E8278; }

.multi-child-preview-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--c-canvas);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 14px;
}

.child-avatar-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  transition: all 0.2s ease;
}

.child-avatar-pill.active {
  border-color: var(--c-green);
  box-shadow: 0 4px 12px rgba(78, 205, 196, 0.18);
}

.child-avatar-pill .c-emoji {
  font-size: 1.4rem;
  line-height: 1;
}

.child-avatar-pill .c-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.child-avatar-pill .c-info strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--c-ink);
}

.child-avatar-pill .c-info span {
  font-size: 0.74rem;
  color: var(--c-ink-soft);
}

.child-avatar-pill .c-check {
  font-size: 0.72rem;
  font-weight: 800;
  color: #1E8278;
  background: #E8F9F8;
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.child-avatar-pill .c-switch {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-ink-soft);
  background: var(--c-canvas);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.feature-card {
  background: var(--c-paper);
  border-radius: var(--r-lg);
  padding: 36px 28px 28px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--c-line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lifted);
}

.feature-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.feature-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.f-yellow .feature-icon-badge { background: var(--c-yellow-pale); color: #B38600; }
.f-coral .feature-icon-badge { background: var(--c-coral-pale); color: var(--c-coral); }
.f-blue .feature-icon-badge { background: var(--c-blue-pale); color: var(--c-blue); }

.feature-chip {
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--c-canvas);
  color: var(--c-ink-soft);
}

.feature-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--c-ink-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-visual-wrap {
  margin-top: auto;
}

/* Feature 1: Scanner preview */
.interactive-scanner-preview {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-subtle);
}

.interactive-scanner-preview img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.scanner-quad-box {
  position: absolute;
  inset: 12px;
  border: 1.5px dashed rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  pointer-events: none;
}

.scanner-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--c-coral);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}

.scanner-dot.tl { top: -5px; left: -5px; }
.scanner-dot.tr { top: -5px; right: -5px; }
.scanner-dot.bl { bottom: -5px; left: -5px; }
.scanner-dot.br { bottom: -5px; right: -5px; }

.scanner-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFFFFF, transparent);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  animation: scanLine 2.5s ease-in-out infinite alternate;
}

@keyframes scanLine {
  0% { top: 10%; }
  100% { top: 90%; }
}

/* Feature 2: Voice quote player */
.interactive-quote-player {
  background: var(--c-canvas);
  border-radius: var(--r-md);
  padding: 16px;
}

.quote-bubble {
  background: var(--c-paper);
  border-radius: var(--r-md);
  padding: 14px 16px;
  border: 1px solid var(--c-line);
  margin-bottom: 12px;
}

.quote-mark {
  font-size: 2rem;
  color: var(--c-coral);
  font-family: Georgia, serif;
  line-height: 0.5;
  vertical-align: -0.2em;
  margin-right: 4px;
}

.quote-bubble p {
  display: inline;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-ink);
}

.audio-pill-demo {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-paper);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  border: 1px solid var(--c-line);
}

.mini-play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-coral);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-waves {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}

.mini-waves span {
  width: 3px;
  border-radius: 2px;
  background: var(--c-coral);
  opacity: 0.6;
}

.mini-waves span:nth-child(1) { height: 6px; }
.mini-waves span:nth-child(2) { height: 14px; }
.mini-waves span:nth-child(3) { height: 18px; }
.mini-waves span:nth-child(4) { height: 10px; }
.mini-waves span:nth-child(5) { height: 15px; }
.mini-waves span:nth-child(6) { height: 8px; }

.mini-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-ink-soft);
}

/* Feature 3: PDF book preview */
.pdf-book-preview {
  display: flex;
  gap: 10px;
}

.pdf-page {
  flex: 1;
  background: var(--c-paper);
  border-radius: var(--r-sm);
  border: 1px solid var(--c-line);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.page-1 img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.pdf-hdr, .pdf-ftr {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  padding: 5px 6px;
  color: var(--c-ink-soft);
}

.pdf-hdr {
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  background: var(--c-canvas);
}

.page-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--c-canvas);
}

.pdf-quote-block {
  font-size: 0.75rem;
  font-weight: 600;
  font-style: italic;
  color: var(--c-ink-soft);
  text-align: center;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════ */
/*  TRUST & PRIVACY                            */
/* ═══════════════════════════════════════════ */
.trust-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.trust-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 56px 64px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 48px;
  align-items: center;
}

.shield-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--c-green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-headline {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--c-ink);
  margin-bottom: 12px;
}

.trust-body {
  font-size: 1rem;
  color: var(--c-ink-soft);
  line-height: 1.8;
  margin-bottom: 28px;
}

.trust-points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.trust-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-ink);
}

/* ═══════════════════════════════════════════ */
/*  DOWNLOAD CTA                               */
/* ═══════════════════════════════════════════ */
.download-section {
  padding-top: 40px;
  padding-bottom: 96px;
}

.download-card-box {
  background: var(--c-paper);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.download-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding: 64px 64px;
  gap: 48px;
}

.download-headline {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--c-ink);
  margin-bottom: 16px;
}

.download-subline {
  font-size: 1.05rem;
  color: var(--c-ink-soft);
  line-height: 1.8;
  margin-bottom: 32px;
}

.download-button-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #1C1917;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--r-md);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.store-btn:hover {
  background: #2D2724;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.store-vector-icon {
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
}

.store-small {
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  opacity: 0.75;
  text-transform: uppercase;
}

.store-large {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
}

/* Download Gallery Peek */
.download-art-side {
  display: flex;
  justify-content: center;
}

.download-gallery-peek {
  position: relative;
  width: 280px;
  height: 220px;
}

.peek-img {
  position: absolute;
  width: 170px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 4px solid #FFFFFF;
  box-shadow: var(--shadow-art);
  transition: transform 0.3s ease;
}

.peek-1 {
  top: 10px;
  left: 0;
  transform: rotate(-8deg);
  z-index: 1;
}

.peek-2 {
  top: 30px;
  right: 10px;
  transform: rotate(6deg);
  z-index: 2;
}

.peek-3 {
  bottom: 0;
  left: 45px;
  transform: rotate(-1deg);
  z-index: 3;
}

.download-card-box:hover .peek-1 { transform: rotate(-12deg) translateY(-4px); }
.download-card-box:hover .peek-2 { transform: rotate(10deg) translateY(-4px); }
.download-card-box:hover .peek-3 { transform: rotate(0) translateY(-6px); }

/* ═══════════════════════════════════════════ */
/*  FOOTER                                     */
/* ═══════════════════════════════════════════ */
.site-footer {
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
  padding: 64px 32px 36px;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 360px;
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--c-ink-soft);
  margin-top: 14px;
  line-height: 1.7;
}

.footer-links-group {
  display: flex;
  gap: 64px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--c-ink-soft);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--c-coral);
}

.footer-bottom {
  max-width: var(--max-content);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
  text-align: center;
  font-size: 0.82rem;
  color: var(--c-ink-muted);
}

/* ═══════════════════════════════════════════ */
/*  RESPONSIVE BREAKPOINTS                     */
/* ═══════════════════════════════════════════ */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badge,
  .hero-pills,
  .hero-cta-group,
  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 32px;
  }

  .artbook-features-row {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .inner-spread-layout {
    grid-template-columns: 1fr;
  }

  .book-spine-line {
    display: none;
  }

  .spread-left-page {
    border-right: none;
    border-bottom: 1px solid var(--c-line);
    padding: 32px 20px;
  }

  .spread-right-page {
    padding: 32px 24px;
  }

  .trust-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .trust-points-grid {
    text-align: left;
  }

  .download-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 48px 32px;
  }

  .download-button-row {
    justify-content: center;
  }
}

@media (max-width: 1140px) {
  .header-container {
    padding: 12px 20px;
    gap: 12px;
  }

  .nav-menu {
    gap: 2px;
  }

  .nav-link {
    padding: 6px 10px;
    font-size: 0.84rem;
  }

  .btn-header {
    padding: 8px 14px;
    font-size: 0.84rem;
  }
}

@media (max-width: 960px) {
  .nav-menu {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-container {
    padding: 12px 16px;
    gap: 10px;
  }

  .nav-menu {
    display: none;
  }

  .brand-logo {
    gap: 10px;
  }

  .logo-img {
    width: 38px;
    height: 38px;
  }

  .logo-title {
    font-size: 1.12rem;
  }

  .logo-sub {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }

  .btn-header {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .hero-section {
    padding: 40px 20px 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-container {
    padding: 64px 20px;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .artbook-features-row {
    grid-template-columns: 1fr;
  }

  .trust-points-grid {
    grid-template-columns: 1fr;
  }

  .curation-summary-strip {
    flex-direction: column;
    gap: 16px;
    border-radius: var(--r-lg);
  }

  .c-stat-div {
    display: none;
  }

  /* Responsive 3D Book Stage */
  .book-3d-viewport {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
  }

  .book-3d-stage {
    min-width: 620px;
    height: 490px;
    max-width: 100%;
  }

  .book-object {
    height: 470px;
    min-height: 470px;
    max-height: 470px;
  }

  .book-object.is-closed {
    min-width: 300px;
    max-width: 340px;
  }

  .book-page,
  .book-turning-leaf,
  .leaf-face,
  .book-page-inner,
  .cover-page-layout {
    height: 470px;
    min-height: 470px;
    max-height: 470px;
  }

  .cover-page-layout {
    padding: 20px 16px 16px;
  }

  .cover-artwork-hero-box {
    max-width: 260px;
    height: 180px;
  }

  .cover-main-title {
    font-size: 1.3rem;
  }

  .artwork-frame-box img {
    height: 155px;
    max-height: 155px;
  }

  .booklet-nav-controls {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
}

@media (max-width: 440px) {
  .header-container {
    padding: 10px 12px;
    gap: 8px;
  }

  .logo-img {
    width: 34px;
    height: 34px;
  }

  .logo-title {
    font-size: 1rem;
  }

  .logo-sub {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .lang-switch-btn {
    padding: 6px 9px;
    font-size: 0.78rem;
    gap: 4px;
  }

  .btn-header {
    padding: 6px 11px;
    font-size: 0.8rem;
    gap: 4px;
  }

  .btn-header svg {
    display: none;
  }
}

/* ═══════════════════════════════════════════ */
/*  CONTACT PAGE STYLES                        */
/* ═══════════════════════════════════════════ */
.contact-page-container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 64px 32px 96px;
  position: relative;
  z-index: 1;
}

.contact-hero-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-bottom: 80px;
}

.contact-form-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}

.form-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.form-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--c-coral-pale);
  color: var(--c-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-ink);
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--c-ink-soft);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-ink);
}

.required {
  color: var(--c-coral);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--c-canvas);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--c-ink);
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-coral);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(231, 106, 84, 0.15);
}

.category-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--c-canvas);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-pill);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--c-ink-soft);
  transition: all 0.2s ease;
}

.radio-chip input {
  display: none;
}

.radio-chip:hover {
  border-color: var(--c-ink-soft);
}

.radio-chip.active,
.radio-chip:has(input:checked) {
  background: var(--c-ink);
  color: #FFFFFF;
  border-color: var(--c-ink);
}

.btn-submit-feedback {
  margin-top: 10px;
  width: 100%;
}

.contact-success-card {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.contact-success-card.active {
  display: block;
}

.success-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--c-green-pale);
  color: var(--c-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-channels-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.channel-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease;
}

.channel-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.ch-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ch-coral .ch-icon-box { background: var(--c-coral-pale); color: var(--c-coral); }
.ch-green .ch-icon-box { background: var(--c-green-pale); color: var(--c-green); }
.ch-blue .ch-icon-box { background: var(--c-blue-pale); color: var(--c-blue); }
.ch-yellow .ch-icon-box { background: var(--c-yellow-pale); color: #B38600; }

.ch-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 4px;
}

.ch-link {
  color: var(--c-coral);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 4px;
}

.ch-text {
  font-size: 0.92rem;
  color: var(--c-ink);
  display: inline-block;
  margin-bottom: 4px;
}

.ch-tip {
  font-size: 0.8rem;
  color: var(--c-ink-soft);
}

/* FAQ */
.faq-section-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--c-ink);
  cursor: pointer;
  text-align: left;
}

.faq-icon-arrow {
  transition: transform 0.25s ease;
  color: var(--c-ink-soft);
}

.faq-item.open .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--c-coral);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--c-ink-soft);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  display: block;
}

@media (max-width: 992px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-page-container {
    padding: 40px 20px 64px;
  }

  .form-group-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 28px 20px;
  }
}

/* ═══════════════════════════════════════════ */
/*  STORAGE SHOWCASE SECTION                   */
/* ═══════════════════════════════════════════ */
.storage-showcase-section {
  padding: 80px 24px;
  position: relative;
}

.storage-showcase-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.storage-visual-col {
  position: relative;
}

.storage-photo-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lifted);
  background: var(--c-paper);
  border: 1px solid var(--c-line);
}

.storage-photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.storage-photo-card:hover .storage-photo {
  transform: scale(1.025);
}

.storage-live-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--c-ink);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.storage-scan-chip {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(26, 28, 30, 0.88);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.storage-scan-chip .qr-mini-icon {
  color: #4ECDC4;
}

/* Storage Features List */
.storage-features-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.storage-feature-row {
  display: flex;
  gap: 18px;
  padding: 18px;
  background: var(--c-paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.storage-feature-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--c-line-strong);
}

.storage-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.storage-icon-circle.c-teal {
  background: #E8F9F8;
  color: #2BA89E;
}

.storage-icon-circle.c-coral {
  background: var(--c-coral-pale);
  color: var(--c-coral);
}

.storage-icon-circle.c-yellow {
  background: var(--c-yellow-pale);
  color: var(--c-yellow);
}

.storage-icon-circle.c-blue {
  background: var(--c-blue-pale);
  color: var(--c-blue);
}

.storage-row-content {
  flex: 1;
}

.storage-row-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.storage-row-desc {
  font-size: 0.9rem;
  color: var(--c-ink-soft);
  line-height: 1.6;
}

.storage-cta-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--c-paper);
  color: var(--c-ink);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-subtle);
}

.btn-secondary-link:hover {
  border-color: var(--c-ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}




/* ═══════════════════════════════════════════ */
/*  PREMIUM SECTION STYLES                     */
/* ═══════════════════════════════════════════ */

.premium-section {
  padding-top: 80px;
  padding-bottom: 90px;
  position: relative;
}

.premium-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 40px;
}

.premium-card {
  background: var(--c-paper);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-subtle);
}

.premium-card:hover {
  transform: translateY(-6px);
  border-color: rgba(238, 118, 95, 0.4);
  box-shadow: var(--shadow-hover);
}

.premium-card.highlight-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #FFF7F4 100%);
  border-color: rgba(238, 118, 95, 0.35);
  box-shadow: 0 8px 28px rgba(238, 118, 95, 0.12);
}

.premium-badge-pro {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #EE765F;
  background: rgba(238, 118, 95, 0.12);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

.premium-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.premium-icon-wrap.mint { background: #E8F9F8; color: #2BA89E; }
.premium-icon-wrap.coral { background: #FEECE8; color: #EE765F; }
.premium-icon-wrap.yellow { background: #FEF6E4; color: #D49B1E; }
.premium-icon-wrap.blue { background: #EAF3FB; color: #4388B9; }
.premium-icon-wrap.purple { background: #F3EEFA; color: #7B52AB; }
.premium-icon-wrap.teal { background: #E6F7F5; color: #1E8278; }

.premium-card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 10px;
}

.premium-card-desc {
  font-size: 0.88rem;
  color: var(--c-ink-soft);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.premium-chip {
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--c-ink-soft);
  background: var(--c-canvas);
  border: 1px solid var(--c-line);
  padding: 4px 12px;
  border-radius: var(--r-pill);
}

.premium-guarantee-banner {
  background: #FFFFFF;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-xl);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-art);
}

.guarantee-col {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.g-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.g-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.g-text strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--c-ink);
}

.g-text span {
  font-size: 0.82rem;
  color: var(--c-ink-soft);
  line-height: 1.45;
}

.g-divider {
  width: 1px;
  height: 44px;
  background: var(--c-line);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .premium-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .premium-guarantee-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .g-divider {
    display: none;
  }
}

@media (max-width: 600px) {
  .premium-features-grid {
    grid-template-columns: 1fr;
  }
}

.ai-product-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--c-line);
  margin-top: 4px;
}

.price-item {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--c-coral);
  font-family: var(--font-display);
}

.price-sub {
  font-size: 0.78rem;
  color: var(--c-ink-muted);
}

.turnaround-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-green);
  background: var(--c-green-pale);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

/* Secondary Merch Mini Cards */
.ai-merch-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 36px auto 0;
}

.mini-merch-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-merch-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.mini-merch-icon {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.mini-merch-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--c-ink);
}

.mini-merch-desc {
  font-size: 0.8rem;
  color: var(--c-ink-soft);
  line-height: 1.5;
  flex: 1;
}

.mini-merch-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed var(--c-line);
}

.mini-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--c-coral);
}

.mini-tag {
  font-size: 0.72rem;
  color: var(--c-ink-muted);
  font-weight: 700;
}

/* ═══════════════════════════════════════════ */
/*  RESPONSIVE QUERIES FOR NEW SECTIONS        */
/* ═══════════════════════════════════════════ */
@media (max-width: 992px) {
  .storage-showcase-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .storage-photo {
    height: 360px;
  }

  .ai-product-panel {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 28px;
  }

  .ai-product-img {
    height: 320px;
  }

  .ai-merch-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .storage-showcase-section {
    padding: 60px 16px;
  }

  .storage-photo {
    height: 280px;
  }

  .storage-box-mini-selector {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════ */
/*  LANGUAGE SWITCHER & I18N STYLES           */
/* ═══════════════════════════════════════════ */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-switch-dropdown {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-paper);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-pill);
  padding: 7px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-ink);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  user-select: none;
  white-space: nowrap;
}

.lang-switch-btn:hover,
.lang-switch-dropdown.open .lang-switch-btn {
  border-color: var(--c-coral);
  color: var(--c-coral);
  background: var(--c-coral-pale);
}

.lang-globe-icon {
  color: var(--c-ink-soft);
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.lang-switch-btn:hover .lang-globe-icon,
.lang-switch-dropdown.open .lang-globe-icon {
  color: var(--c-coral);
}

.lang-caret-icon {
  transition: transform 0.2s ease;
  color: var(--c-ink-muted);
}

.lang-switch-dropdown.open .lang-caret-icon {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lifted);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 200;
  animation: fadeInLangMenu 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-switch-dropdown.open .lang-menu {
  display: flex;
}

@keyframes fadeInLangMenu {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-ink-soft);
  text-decoration: none;
  transition: all 0.15s ease;
}

.lang-menu-item:hover {
  background: var(--c-canvas);
  color: var(--c-coral);
}

.lang-menu-item.active {
  background: var(--c-coral-pale);
  color: var(--c-coral);
}

.lang-check-icon {
  opacity: 0;
  color: var(--c-coral);
}

.lang-menu-item.active .lang-check-icon {
  opacity: 1;
}

/* Footer Language Switch */
.footer-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--c-ink-muted);
}

.footer-lang-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-lang-link {
  color: var(--c-ink-soft);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-lang-link:hover,
.footer-lang-link.active {
  color: var(--c-coral);
}

.footer-lang-sep {
  color: var(--c-line-strong);
}

/* ═══════════════════════════════════════════ */
/*  LANGUAGE SPECIFIC TYPOGRAPHY & LAYOUT      */
/* ═══════════════════════════════════════════ */
html[lang="en"] {
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html[lang="en"] .logo-title {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

html[lang="en"] .hero-title {
  letter-spacing: -0.02em;
  line-height: 1.15;
}

html[lang="en"] .hero-description {
  line-height: 1.65;
}

html[lang="en"] .section-title {
  line-height: 1.25;
  letter-spacing: -0.015em;
}

html[lang="ja"] {
  --font-display: 'Outfit', 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  word-break: normal;
  line-break: strict;
}

html[lang="ja"] .logo-title {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

html[lang="ja"] .hero-title {
  letter-spacing: -0.015em;
  line-height: 1.35;
}

html[lang="ja"] .hero-description {
  line-height: 1.8;
}

html[lang="ja"] .section-title {
  line-height: 1.36;
  letter-spacing: -0.01em;
}

html[lang="ja"] .feature-desc,
html[lang="ja"] .storage-row-desc,
html[lang="ja"] .ai-product-sub {
  line-height: 1.75;
}

@media (max-width: 640px) {
  .lang-switch-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════ */
/*  LEGAL PAGES (Privacy, Terms, Deletion)     */
/* ═══════════════════════════════════════════ */
.legal-page-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 24px 100px;
  position: relative;
  z-index: 1;
}

.legal-card-wrapper {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: 56px 48px;
}

.legal-header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 28px;
}

.legal-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--c-ink);
  margin: 12px 0 8px;
  line-height: 1.25;
}

.legal-meta {
  font-size: 0.88rem;
  color: var(--c-ink-muted);
  font-weight: 500;
}

.legal-highlight-box {
  display: flex;
  gap: 16px;
  background: var(--c-green-pale);
  border: 1px solid rgba(92, 143, 102, 0.25);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-bottom: 36px;
}

.hl-icon {
  flex-shrink: 0;
  color: var(--c-green);
  margin-top: 2px;
}

.hl-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #2D5A35;
  margin-bottom: 6px;
}

.hl-content p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--c-ink-soft);
}

.legal-article {
  display: flex;
  flex-direction: column;
  gap: 32px;
  /* Cap the measure so long-form legal copy stays comfortable to read in
     both Latin scripts (~75ch) and CJK, which wraps far denser. */
  max-width: 72ch;
  margin-inline: auto;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 12px;
  /* Keep anchored headings clear of the sticky site header. */
  scroll-margin-top: 96px;
}

/* Eyebrow tag above the legal page title.
   The legal pages predate the marketing pages' `.section-tag-pill`
   convention and use `.section-tag` + a colour modifier, which had no
   rules at all — the pill rendered as unstyled body text. Mirror the
   marketing pill so both spellings render identically. */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.green-tag {
  background: var(--c-green-pale);
  color: #2D5A35;
  border: 1px solid rgba(92, 143, 102, 0.25);
}

.blue-tag {
  background: var(--c-blue-pale);
  color: #2C6E87;
  border: 1px solid rgba(85, 145, 170, 0.25);
}

.coral-tag {
  background: var(--c-coral-pale);
  color: var(--c-coral-dark);
  border: 1px solid rgba(231, 106, 84, 0.25);
}

/* `tag-teal` is used by the marketing pages but was never defined. */
.tag-teal {
  background: var(--c-green-pale);
  color: #2D5A35;
  border: 1px solid rgba(92, 143, 102, 0.25);
}

.tag-green {
  background: var(--c-green-pale);
  color: #2D5A35;
  border: 1px solid rgba(92, 143, 102, 0.25);
}

/* Numbered sub-block inside a section (e.g. Terms 2.1 / 2.2).
   Only descendant selectors existed, so the "card" had no container of
   its own and read as undifferentiated body copy. */
.legal-card-block {
  background: var(--c-canvas);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-blue);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.legal-card-block:last-child {
  margin-bottom: 0;
}

.legal-card-block > h3:first-child {
  margin-top: 0;
}

/* Inline advisory callout inside a section. Previously unstyled, so the
   lead-in sentence and its body copy ran together as one plain paragraph. */
.legal-notice-box {
  background: var(--c-blue-pale);
  border: 1px solid rgba(85, 145, 170, 0.25);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin: 16px 0;
}

.legal-notice-box > strong:first-child {
  display: block;
  color: #2C6E87;
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.legal-notice-box p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.legal-section h3,
.legal-card-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-ink);
  margin: 16px 0 8px;
}

.legal-section p,
.legal-card-block p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--c-ink-soft);
  margin-bottom: 12px;
}

.legal-section ul,
.legal-section ol,
.legal-card-block ul {
  padding-left: 20px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section li,
.legal-card-block li {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--c-ink-soft);
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.permission-item {
  background: var(--c-canvas);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 18px 20px;
}

.perm-badge {
  display: inline-block;
  background: var(--c-coral-pale);
  color: var(--c-coral-dark);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 10px;
}

.permission-item p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--c-ink-soft);
  margin: 0;
}

.contact-info-card {
  background: var(--c-canvas);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-top: 14px;
}

.contact-info-card p {
  margin-bottom: 8px;
  font-size: 0.92rem;
}

/* Legal copy contains long emails, share URLs and model IDs. Without this
   they force horizontal scroll on narrow phones. */
.legal-article,
.legal-highlight-box,
.contact-info-card,
.permission-item {
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;
}

.legal-article a,
.contact-info-card a {
  overflow-wrap: anywhere;
}

/* The whole legal card is a single `.reveal` element that starts at
   opacity 0 and is only shown once IntersectionObserver adds `.visible`.
   If the script fails, is blocked, or is slow, the entire policy — the one
   page that must always be readable — would render blank. */
.no-js .reveal,
.no-js .reveal-left,
.no-js .reveal-right,
.no-js .reveal-scale,
.no-js .reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
}

.legal-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .legal-page-container {
    padding: 36px 16px 64px;
  }
  .legal-card-wrapper {
    padding: 32px 20px;
    border-radius: var(--r-lg);
  }
  .legal-title {
    font-size: 1.7rem;
  }
  .legal-article {
    gap: 26px;
  }
  .permission-grid {
    grid-template-columns: 1fr;
  }
  .legal-card-block,
  .legal-notice-box {
    padding: 16px 18px;
  }
  .legal-highlight-box {
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
  }
  /* Stack the prev/next document links instead of stretching them apart. */
  .legal-footer-nav {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* Legal pages are frequently printed or saved as PDF by parents, and both
   stores require a readable printed copy of them. */
@media print {
  .site-header,
  .site-footer,
  .legal-footer-nav,
  .ambient-glow,
  .is-unreleased {
    display: none !important;
  }

  body {
    background: #FFFFFF;
  }

  .legal-page-container {
    max-width: none;
    padding: 0;
  }

  .legal-card-wrapper {
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .legal-article {
    max-width: none;
    gap: 20px;
  }

  .section-tag,
  .legal-highlight-box,
  .legal-card-block,
  .legal-notice-box,
  .permission-item,
  .contact-info-card {
    break-inside: avoid;
  }

  .legal-section h2,
  .legal-section h3 {
    break-after: avoid;
  }
}




/* ═══════════════════════════════════════════ */
/*  PREMIUM POLISH & MICRO-INTERACTIONS        */
/* ═══════════════════════════════════════════ */

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

/* --- Enhanced Card Hover Depth --- */
.feature-card,
.book-spec-card,
.channel-card,
.storage-feature-row,
.mini-merch-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}

.feature-card:hover,
.book-spec-card:hover {
  box-shadow: 0 20px 48px -8px rgba(43, 38, 35, 0.12),
              0 8px 16px -4px rgba(43, 38, 35, 0.06);
}

/* --- Gradient Shimmer on Primary CTA --- */
.btn-primary {
  background: linear-gradient(135deg, #E76A54 0%, #D45742 50%, #E76A54 100%);
  background-size: 200% 200%;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(231, 106, 84, 0.3);
}

/* --- Hero Text Gradient Accent --- */
.highlight-crayon {
  background: linear-gradient(135deg, #E76A54, #D45742);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-crayon::after {
  background: linear-gradient(90deg, var(--c-yellow), rgba(232, 186, 69, 0.6));
  opacity: 0.35;
  height: 10px;
  bottom: 2px;
}

/* --- Smooth Image Treatments --- */
.artbook-photo,
.storage-photo,
.ai-product-img,
.hero-art-card .art-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.6s ease;
}

.artbook-photo-frame:hover .artbook-photo,
.storage-photo-card:hover .storage-photo,
.ai-product-visual:hover .ai-product-img {
  filter: brightness(1.02) saturate(1.05);
}

/* --- Section Divider Gradients --- */
.features-section,
.trust-section,
.storage-showcase-section {
  position: relative;
}

.features-section::before,
.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-line), transparent);
}

/* --- Download CTA Premium Gradient Border --- */
.download-card-box {
  border: none;
  position: relative;
  background: var(--c-paper);
}

.download-card-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--c-line-strong), var(--c-coral-pale), var(--c-yellow-pale), var(--c-line-strong));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* --- Trust Card Premium Glow --- */
.trust-card {
  position: relative;
  border: 1px solid transparent;
  background: var(--c-paper);
  background-clip: padding-box;
}

.trust-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--r-xl) + 1px);
  background: linear-gradient(135deg, var(--c-green-pale), var(--c-blue-pale), var(--c-green-pale));
  z-index: -1;
}

/* --- Store Button Premium Shine --- */
.store-btn {
  position: relative;
  overflow: hidden;
}

.store-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.6s ease;
}

.store-btn:hover::after {
  left: 150%;
}

/* --- Nav Link Underline Effect --- */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--c-coral);
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
  width: 60%;
  left: 20%;
}

/* --- Footer Premium Elevation --- */
.site-footer {
  border-top: none;
  box-shadow: 0 -1px 0 var(--c-line),
              0 -20px 60px -20px rgba(43, 38, 35, 0.04);
}

/* --- FAQ Item Refined Hover --- */
.faq-item {
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--c-line-strong);
}


/* --- Smooth focus outlines for accessibility --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--c-coral);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════ */
/*  UNRELEASED FEATURES TOGGLE                 */
/* ═══════════════════════════════════════════ */
/*  Marketing for features that are not shipping in the current build
    (hard-copy prints, tote merchandise, 3D figurines) is parked rather
    than deleted, so it can be restored for a later version.

    To re-enable a parked block: remove `is-unreleased` from its markup.
    To park a new block: add `is-unreleased` to any element. It is also
    honoured in print, so parked sections never leak onto paper. */
.is-unreleased {
  display: none !important;
}


/* Layout corrections only. All brand colors come from the app-aligned
   tokens at the top of this file (src/designTokens.ts). */
:root { --c-paper-warm: #FFFFFF; }
.ambient-glow { display: none; }
html { scroll-padding-top: 88px; }
body { overflow-x: clip; }
img { max-width: 100%; }
.hero-container,
.storage-visual-col,
.storage-features-col,
.hero-content,
.hero-visual,
.download-text-side,
.download-art-side,
.contact-form-card,
.contact-channels-side { min-width: 0; }

/* Match the native app: dark primary action, white secondary action,
   coral used only as an accent. */
.btn-primary {
  background: var(--c-ink);
  border-radius: 16px;
  box-shadow: none;
}
.btn-primary:hover {
  background: #30353A;
  box-shadow: none;
  transform: none;
}
.btn-secondary, .btn-secondary-link {
  border-radius: 16px;
  box-shadow: none;
}
.btn-secondary:hover, .btn-secondary-link:hover {
  transform: none;
  box-shadow: none;
}
.btn-header { box-shadow: none; }
.hero-cta-group .btn-primary .btn-icon { display: none; }
/* Remove generic gradient/glow treatments, not the app's brand accents. */
.btn-primary { background-image: none; background-size: auto; }
.btn-primary::before, .store-btn::after { display: none; }
.highlight-crayon {
  color: var(--c-coral);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: currentColor;
}
.highlight-crayon::after {
  background: var(--c-yellow);
  opacity: .38;
}
.premium-card.highlight-card {
  background: var(--c-paper);
  border-color: var(--c-line-strong);
}
.trust-card {
  border: 1px solid var(--c-line);
  background: var(--c-paper);
}
.trust-card::after,
.download-card-box::before,
.features-section::before,
.trust-section::before { display: none; }
.download-card-box { border: 1px solid var(--c-line); }
.feature-card:hover,
.premium-card:hover,
.storage-feature-row:hover { transform: none; box-shadow: var(--shadow-card); }


/* Consistent layout and image geometry, without changing visual styling. */
.header-container { gap: 20px; }
.nav-menu { min-width: 0; gap: 4px; }
.nav-link { padding: 8px 11px; }
.hero-section { padding: 68px clamp(20px, 3vw, 40px) 80px; }
.hero-container {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(26px, 4vw, 58px);
}
.hero-title { font-size: clamp(2.15rem, 3.4vw, 3.15rem); }
.hero-gallery-stack { width: 100%; max-width: 440px; height: 450px; }
.hero-art-card .art-img { max-width: 100%; }
.card-primary { width: min(76%, 320px); }
.card-secondary-top { width: min(47%, 200px); }
.card-secondary-bottom { width: min(49%, 210px); }
.caption-header { gap: 8px; }
.artwork-name { overflow-wrap: anywhere; }
.artwork-age { flex-shrink: 0; }
.section-container { padding: 84px clamp(20px, 3vw, 40px); }
.section-header-center { margin-bottom: 44px; }
.section-title { font-size: clamp(1.95rem, 2.9vw, 2.5rem); }
.features-grid, .premium-features-grid { gap: 20px; }
.feature-card, .premium-card { min-width: 0; }
.feature-card img, .premium-card img { max-width: 100%; }
.storage-showcase-section { padding: 72px clamp(20px, 3vw, 40px); }
.storage-showcase-wrapper {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.storage-photo { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.storage-feature-row { min-width: 0; }
.flip-book-wrapper { max-width: 100%; }
.booklet-interactive-container { min-width: 0; }
.booklet-tabs-bar { gap: 8px; }
.download-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.legal-page-container { width: min(calc(100% - 40px), 960px); margin-inline: auto; }

/* Tablet and phone widths: preserve app colors, stack content naturally. */
@media (max-width: 992px) {
  .hero-container { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-visual { margin-top: 6px; }
  .storage-showcase-wrapper { grid-template-columns: minmax(0, 1fr); }
  .storage-photo-card { max-width: 640px; margin-inline: auto; }
  .premium-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero-section { padding: 42px 18px 50px; }
  .hero-title { font-size: clamp(1.9rem, 8.1vw, 2.4rem); }
  .hero-description { font-size: .98rem; }
  .hero-gallery-stack { width: min(100%, 390px); height: 400px; }
  .hero-stats { flex-wrap: wrap; }
  .section-container { padding: 54px 18px; }
  .section-title { font-size: 1.85rem; }
  .storage-showcase-section { padding: 52px 18px; }
  .storage-photo { aspect-ratio: 4 / 3; }
  .premium-features-grid { grid-template-columns: minmax(0, 1fr); }
  .book-3d-viewport { width: 100%; overflow: hidden; }
  .flip-book-wrapper { width: 100%; min-width: 0; }
  .book-flip-stage { max-width: 100%; }
  .book-flip-stage.is-cover, .book-flip-stage.is-back-cover { transform: none; }
  .booklet-tabs-bar { justify-content: flex-start; }
  .download-inner { padding: 28px 18px; }
  .legal-page-container { width: calc(100% - 28px); padding: 30px 0 50px; }
}

/* Honest release availability and portable archive note. */
.availability-note {
  max-width: 42rem;
  padding: 14px 17px;
  border: 1px solid var(--c-line-strong);
  border-radius: 12px;
  background: var(--c-paper-warm);
  color: var(--c-ink-soft);
  font-size: .92rem;
  line-height: 1.65;
}
.archive-note.section-container {
  padding: 18px 24px 24px;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  width: min(calc(100% - 48px), var(--max-content));
}
.archive-note strong { display: block; margin-bottom: 5px; font-size: 1rem; font-weight: 650; }
.archive-note p { color: var(--c-ink-soft); font-size: .92rem; line-height: 1.8; max-width: 80ch; }
.hero-art-card .art-img, .shelf-thumb img, .peek-img { object-position: center; }
.premium-guarantee-banner { box-shadow: none; }
.premium-guarantee-banner .g-icon { filter: grayscale(1); opacity: .62; }
@media (max-width: 640px) {
 .archive-note.section-container { width: min(calc(100% - 32px), var(--max-content)); padding: 20px 4px; }
 .flip-book-wrapper { min-height: 480px; }
 .book-3d-viewport { overscroll-behavior-x: contain; }
}
/* --- Reduced Motion Respect --- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn-primary::before,
  .store-btn::after {
    display: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* ═══════════════════════════════════════════ */
/*  PREMIUM POLISH (2026-11)                   */
/* ═══════════════════════════════════════════ */
/* Same palette, fonts and layout as above. This layer only removes the
   generic "AI landing page" decoration: tinted pill labels, rainbow icon
   tiles, emoji, marker swipes and floating-card hovers. Hierarchy comes
   from type, hairlines and the brand coral instead. */

/* Eyebrow labels: plain coral text instead of tinted pills with icons. */
.section-tag-pill,
.hero-badge,
.section-tag {
  display: inline-block;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: var(--c-coral-dark) !important;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section-tag-pill svg,
.hero-badge svg,
.section-tag svg { display: none; }
:lang(zh) .section-tag-pill, :lang(zh) .hero-badge, :lang(zh) .section-tag,
:lang(ja) .section-tag-pill, :lang(ja) .hero-badge, :lang(ja) .section-tag { letter-spacing: 0.12em; font-size: 0.82rem; }
.hero-badge { margin-bottom: 22px; }

/* Brand word in the hero keeps its coral, without the highlighter swipe. */
.highlight-crayon::after { display: none; }

/* Calm surfaces: border first, no lift on hover. */
.feature-card,
.trust-card,
.premium-guarantee-banner,
.download-card-box { box-shadow: none; }
.feature-card:hover,
.storage-feature-row:hover,
.store-btn:hover { transform: none; box-shadow: none; }
.download-card-box:hover .peek-1,
.download-card-box:hover .peek-2,
.download-card-box:hover .peek-3 { transform: none; }

/* Features: the chip becomes a small label; no coloured icon tile. */
.feature-top { margin-bottom: 12px; }
.feature-chip {
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--c-ink-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.feature-name { font-size: 1.32rem; letter-spacing: -0.2px; }

/* Multi-child preview (was unstyled). */
.multi-child-preview-card { gap: 12px; }
.child-avatar-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.child-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--c-paper);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-pill);
  font-size: 0.84rem;
}
.child-pill.active { border-color: var(--c-green); }
.child-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); }
.child-dot.dot-leo { background: var(--c-yellow); }
.child-name { font-weight: 700; color: var(--c-ink); }
.child-count { color: var(--c-ink-muted); font-size: 0.78rem; }
.child-shelf-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shelf-thumb { margin: 0; }
.shelf-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}
.shelf-tag { display: block; margin-top: 6px; font-size: 0.76rem; color: var(--c-ink-muted); }

/* Storage: a numbered list with hairlines instead of four icon cards. */
.storage-features-col {
  gap: 0;
  counter-reset: storage-row;
  border-top: 1px solid var(--c-line-strong);
}
.storage-feature-row {
  counter-increment: storage-row;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--c-line-strong);
  border-radius: 0;
  box-shadow: none;
}
.storage-feature-row::before {
  content: counter(storage-row, decimal-leading-zero);
  min-width: 28px;
  padding-top: 2px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--c-coral);
}
.storage-photo-card { box-shadow: none; }

/* Premium: one numbered list instead of six coloured cards with chips. */
.premium-list {
  list-style: none;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  counter-reset: premium-item;
  border-top: 1px solid var(--c-line-strong);
}
.premium-item {
  position: relative;
  counter-increment: premium-item;
  padding: 26px 0 26px 44px;
  border-bottom: 1px solid var(--c-line-strong);
}
.premium-item::before {
  content: counter(premium-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 28px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--c-coral);
}
.premium-item .premium-card-title { font-size: 1.1rem; margin-bottom: 6px; }
.premium-item .premium-card-desc { font-size: 0.92rem; line-height: 1.7; color: var(--c-ink-soft); margin: 0; }
.premium-guarantee-banner { max-width: 1000px; margin: 40px auto 0; }
.premium-guarantee-banner .g-icon {
  display: flex;
  filter: none;
  opacity: 1;
  color: var(--c-ink-soft);
}

/* Trust: the text carries it; no badge circle. */
.trust-icon-col { display: none; }

/* Booklet: the tab pills are gone; brand mark on the back cover. */
.back-cover-logo-mark { filter: none; }
.back-cover-logo-mark img { display: block; width: 52px; height: 52px; border-radius: 13px; margin: 0 auto; }

/* Download: real store buttons. */
.download-button-row { margin-top: 4px; }
.store-btn { background: var(--c-ink); box-shadow: none; border-radius: 14px; }
.store-btn:hover { background: #30353A; }

@media (max-width: 760px) {
  .premium-list { grid-template-columns: minmax(0, 1fr); }
  .premium-item { padding-left: 40px; }
}

/* Feature cards: every demo sits in the same-height frame, so the 2×2
   grid has no uneven empty space. */
.feature-visual-wrap {
  height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  background: var(--c-canvas);
  border-radius: var(--r-md);
}
.feature-visual-wrap .interactive-scanner-preview { height: 100%; border: 0; }
.feature-visual-wrap .interactive-scanner-preview img { height: 100%; aspect-ratio: auto; }
.feature-visual-wrap:has(.interactive-scanner-preview) { padding: 0; }
.feature-visual-wrap .interactive-quote-player { background: none; padding: 0; }
.feature-visual-wrap .multi-child-preview-card { background: none; border: 0; padding: 0; }
.feature-visual-wrap .child-shelf-preview img { aspect-ratio: 16 / 10; }

/* Archive note now lives inside the trust card. */
.trust-card .archive-note {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
}
.trust-card .archive-note strong { display: block; margin-bottom: 4px; font-size: 0.95rem; font-weight: 800; }
.trust-card .archive-note p { margin: 0; color: var(--c-ink-soft); font-size: 0.9rem; line-height: 1.75; }

/* Sample book: quiet hint text instead of a coral pill. */
.cover-pill-hint {
  background: none;
  border: 0;
  padding: 0;
  color: #8A8178;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .feature-visual-wrap { height: 220px; }
}

/* ═══════════════════════════════════════════ */
/*  PREMIUM SHOWCASE + LAYOUT TIDY (2026-11)   */
/* ═══════════════════════════════════════════ */
/* Premium uses the app's own dark creative-workspace tokens
   (src/designTokens.ts → palette.dark) with butter as the premium accent,
   as defined in docs/DESIGN_SYSTEM.md. */
:root {
  --dk-canvas: #17181C;
  --dk-surface: #24282C;
  --dk-raised: #1F2126;
  --dk-text: #FFFFFF;
  --dk-muted: #CFD2D1;
  --dk-soft: #9EA3A8;
  --dk-line: rgba(255, 255, 255, 0.10);
  --butter: #FFD166;
}

/* Consistent rhythm between sections. */
.section-container { padding-top: 104px; padding-bottom: 104px; }
.section-header-center { margin-bottom: 56px; }
.section-title { margin-bottom: 14px; }
.features-section { padding-top: 72px; }

/* Hero: three cards that no longer crop each other's captions. */
.hero-gallery-stack { width: 100%; max-width: 500px; height: 470px; margin-left: auto; }
.hero-art-card { transition: none; box-shadow: 0 18px 40px -18px rgba(28, 25, 23, 0.28); }
.card-primary { width: min(64%, 316px); left: 0; top: 52px; transform: rotate(-2deg); }
.card-secondary-top { width: min(40%, 196px); right: 4px; top: 0; transform: rotate(4deg); }
.card-secondary-bottom { width: min(42%, 206px); right: 18px; bottom: 6px; top: auto; transform: rotate(-3deg); }
.card-primary:hover { transform: rotate(-2deg); }
.card-secondary-top:hover { transform: rotate(4deg); }
.card-secondary-bottom:hover { transform: rotate(-3deg); }
.card-caption.mini { gap: 6px; }
.card-caption.mini .artwork-name { line-height: 1.25; }

/* ── Premium showcase ─────────────────────── */
.premium-section { max-width: none; padding-left: clamp(16px, 3vw, 40px); padding-right: clamp(16px, 3vw, 40px); }
.premium-showcase {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px);
  background: var(--dk-canvas);
  border-radius: 28px;
  color: var(--dk-text);
}
.pm-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 44px;
}
.pm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--butter);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pm-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--dk-text);
}
.pm-desc { color: var(--dk-muted); font-size: 1.02rem; line-height: 1.75; margin-bottom: 22px; }
.pm-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.pm-cta {
  display: inline-flex;
  align-items: center;
  padding: 13px 22px;
  border-radius: 16px;
  background: var(--butter);
  color: #1A1C1E;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.pm-cta:hover { background: #FFDB85; }
.pm-note { color: var(--dk-soft); font-size: 0.82rem; line-height: 1.5; max-width: 26em; }

.pm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pm-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--dk-surface);
  border: 1px solid var(--dk-line);
  border-radius: 20px;
  overflow: hidden;
}
.pm-book { grid-column: span 2; }
.pm-media { height: 260px; overflow: hidden; }
.pm-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pm-copy { padding: 20px 22px 24px; }
.pm-copy h3 {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--dk-text);
}
.pm-copy p { margin: 0; color: var(--dk-muted); font-size: 0.9rem; line-height: 1.65; }

/* Small app-style demos inside the tiles. */
.pm-demo {
  height: 190px;
  margin: 14px 14px 0;
  padding: 16px;
  background: var(--dk-raised);
  border: 1px solid var(--dk-line);
  border-radius: 14px;
}
.pm-demo-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--butter);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pm-ai { display: flex; gap: 14px; align-items: center; }
.pm-ai img { width: 42%; height: 100%; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.pm-ai-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pm-ai-body strong { font-family: var(--font-display); font-weight: 800; font-size: 0.98rem; line-height: 1.3; color: var(--dk-text); }
.pm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-tag {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--dk-muted);
  font-size: 0.74rem;
  font-weight: 700;
}
.pm-voice { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.pm-voice p { margin: 0; color: var(--dk-text); font-size: 0.95rem; font-weight: 600; line-height: 1.5; }
.pm-wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.pm-wave span { flex: 1; max-width: 4px; height: 40%; border-radius: 2px; background: var(--dk-soft); }
.pm-wave span:nth-child(3n) { height: 85%; }
.pm-wave span:nth-child(4n+1) { height: 60%; }
.pm-wave span:nth-child(5n) { height: 25%; }
.pm-backup { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.pm-backup-row { display: flex; align-items: center; gap: 12px; }
.pm-backup-row strong { display: block; color: var(--dk-text); font-size: 0.95rem; font-weight: 800; }
.pm-backup-row span { color: var(--dk-soft); font-size: 0.8rem; }
.pm-backup-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(78, 205, 196, 0.15);
  color: var(--c-green);
}
.pm-progress { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.pm-progress span { display: block; width: 100%; height: 100%; background: var(--c-green); }

/* Guarantees sit directly under the panel, in the same width. */
.premium-section .premium-guarantee-banner { max-width: var(--max-content); margin-top: 20px; }

@media (max-width: 992px) {
  .pm-intro { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .pm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-book { grid-column: span 2; }
}
@media (max-width: 640px) {
  .premium-showcase { border-radius: 22px; padding: 28px 18px; }
  .pm-grid { grid-template-columns: minmax(0, 1fr); }
  .pm-book { grid-column: auto; }
  .pm-media { height: 200px; }
  .hero-gallery-stack { height: 420px; margin: 0 auto; }
  .section-container { padding-top: 64px; padding-bottom: 64px; }
}

/* One content width for every block on the page. */
.premium-section { max-width: var(--max-content); padding-left: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); }
.premium-showcase,
.premium-section .premium-guarantee-banner { max-width: none; }
.pm-intro { align-items: center; }

/* Privacy and download read as one closing block, without a dead gap. */
.premium-section { padding-bottom: 72px; }
.trust-section { padding-top: 72px; padding-bottom: 28px; }
.download-section { padding-top: 28px; }
.trust-card,
.download-card-box { border-radius: 28px; }
.download-headline { font-size: clamp(1.9rem, 2.8vw, 2.4rem); line-height: 1.2; }
.download-inner { padding: clamp(36px, 5vw, 64px); }

/* ═══════════════════════════════════════════ */
/*  HERO + SAMPLE BOOK (2026-11)               */
/* ═══════════════════════════════════════════ */
/* Hero is as tall as its content. A short cue leads into the next
   section, instead of a viewport-sized empty gap. */
.hero-section {
  padding: 48px clamp(24px, 4vw, 56px) 8px;
}
.hero-container {
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
}
.hero-content { max-width: 36rem; }
.hero-cta-group { margin-bottom: 0; }
.hero-visual {
  justify-content: center;
  padding: 12px;
}
.hero-gallery-stack {
  width: min(100%, 440px);
  height: 456px;
  margin: 0 auto;
}
.card-primary {
  width: 66%;
  left: 0;
  top: 52px;
  transform: rotate(-1.5deg);
}
.card-secondary-top {
  width: 40%;
  right: 0;
  top: 0;
  transform: rotate(2.5deg);
}
.card-secondary-bottom {
  width: 42%;
  right: 0;
  bottom: 0;
  top: auto;
  transform: rotate(-2deg);
}
.card-primary:hover { transform: rotate(-1.5deg); }
.card-secondary-top:hover { transform: rotate(2.5deg); }
.card-secondary-bottom:hover { transform: rotate(-2deg); }

.hero-next {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  margin: 28px auto 8px;
  color: var(--c-ink-muted);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.hero-next svg { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-next:hover { color: var(--c-ink); }
.hero-next:hover svg { transform: translateY(3px); }

@media (prefers-reduced-motion: no-preference) {
  .hero-art-card {
    animation: heroCardIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .card-secondary-top { animation-delay: 0.1s; }
  .card-secondary-bottom { animation-delay: 0.18s; }
}
@keyframes heroCardIn {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}

/* Child's voice on the main hero card. */
.hero-voice {
  margin-top: 12px;
  max-width: 100%;
}
.hero-voice .voice-quote-text { max-width: 9.5em; }

.features-section { padding-top: 56px; }
.feature-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--max-content);
  margin: 0 auto 36px;
  padding: 0;
  list-style: none;
}
.feature-steps li {
  min-width: 0;
  padding: 16px 16px 18px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 16px;
}
.feature-steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--c-coral);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.feature-steps strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
}
.feature-steps p {
  margin: 0;
  color: var(--c-ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}
.feature-steps li.is-optional {
  background: transparent;
  border-style: dashed;
}
.feature-steps li.is-optional span { color: var(--c-ink-muted); }

/* Shelf of finished books. One of them opens the sample reader. */
.art-shelf { margin: 0 auto 8px; max-width: 920px; }
.art-shelf-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--c-ink-soft);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
}
.art-shelf-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.shelf-volume {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: center;
}
.shelf-volume-book {
  position: relative;
  width: min(100%, 148px);
  aspect-ratio: 3 / 4;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.shelf-volume:hover .shelf-volume-book,
.shelf-volume.is-picked .shelf-volume-book { transform: translateY(-16px); }
.shelf-volume-edge {
  position: absolute;
  top: 4px;
  right: 0;
  bottom: 4px;
  width: 7px;
  border: 1px solid #D4CEBF;
  border-left: 0;
  border-radius: 0 4px 4px 0;
  background: #FAF7F0;
}
.shelf-volume-cover {
  position: absolute;
  inset: 0 6px 0 0;
  overflow: hidden;
  border-radius: 3px 8px 8px 3px;
  border: 1px solid rgba(72, 50, 31, 0.16);
  background: #F7F2E8;
  box-shadow: 0 8px 16px -8px rgba(36, 26, 19, 0.45);
}
.shelf-volume-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shelf-volume-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, rgba(0,0,0,0.28), rgba(0,0,0,0.05) 70%, transparent);
}
.shelf-volume-ribbon {
  position: absolute;
  top: 0;
  right: 12px;
  width: 7px;
  height: 22px;
  background: #FF6B6B;
  border-radius: 0 0 2px 2px;
}
.shelf-ribbon-blue { background: #4E8CAE; }
.shelf-ribbon-green { background: #4ECDC4; }
.shelf-ribbon-lilac { background: #9A8EAA; }
.shelf-volume-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.92);
  color: #55595A;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
}
.shelf-volume-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}
.shelf-volume.is-picked .shelf-volume-title { color: #C9842A; }
.shelf-volume-meta {
  color: var(--c-ink-muted);
  font-size: 0.75rem;
}
.art-shelf-note {
  margin: 14px 0 0;
  text-align: center;
  color: var(--c-ink-soft);
  font-size: 0.9rem;
}
.shelf-return {
  display: inline-flex;
  margin: 0 auto 16px;
  padding: 8px 14px;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--c-ink);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
}
.book-3d-viewport { display: flex; flex-direction: column; align-items: center; }
.book-3d-viewport[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .book-3d-viewport:not([hidden]) { animation: readerIn 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
}
@keyframes readerIn {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
@media (max-width: 720px) {
  .art-shelf-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .shelf-volume { width: 132px; flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .shelf-volume-book { transition: none; }
}
@media (max-width: 992px) {
  .feature-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .feature-steps { grid-template-columns: minmax(0, 1fr); }
  .hero-gallery-stack { height: 420px; }
}

/* Closed cover slides with the page turn instead of jumping afterwards. */
.book-flip-stage {
  transition: transform 650ms linear;
}
.book-flip-stage.is-cover {
  transform: translateX(calc(var(--book-shift, 230px) * -1));
}
.book-flip-stage.is-back-cover {
  transform: translateX(var(--book-shift, 230px));
}
@media (max-width: 768px) {
  .book-flip-stage.is-cover,
  .book-flip-stage.is-back-cover { transform: none; }
}

/* Cover: title, drawing, and hint as one centered stack. */
.page-cover-front .page-content {
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 34px 28px 28px 42px;
}
.cover-header-group { gap: 4px; }
.cover-main-title {
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}
.cover-artwork-hero-box {
  width: min(88%, 348px);
  max-width: 348px;
  height: auto;
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  align-self: center;
  flex: 0 0 auto;
  padding: 8px;
}
.cover-artwork-hero-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.cover-open-action-bar { margin-top: 2px; }

/* Open spreads: drawing sits in the middle of the page, not in a hole. */
.flip-page .page-content:has(.page-artwork-container) {
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  padding: 28px 22px 36px;
}
.page-artwork-container {
  height: auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 236px;
  margin-inline: auto;
}
.page-artwork-img {
  object-fit: contain;
  object-position: center;
}
