/* =============================================
   Yui — Landing Page Styles
   ============================================= */

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  transition: all var(--transition-normal);
}

.nav.scrolled {
  background: rgba(26, 20, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo .logo-icon {
  font-size: 1.6rem;
  animation: heartbeat 2s infinite;
}

.nav-logo .logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: width var(--transition-normal);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
  position: relative;
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  margin-bottom: var(--space-lg);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta .btn {
  padding: var(--space-md) var(--space-2xl);
  font-size: 1.05rem;
}

/* Floating emoji decorations */
.hero-float {
  position: absolute;
  font-size: 2rem;
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-float:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.hero-float:nth-child(2) { top: 25%; right: 12%; animation-delay: 1.5s; font-size: 1.6rem; }
.hero-float:nth-child(3) { bottom: 20%; left: 15%; animation-delay: 3s; font-size: 2.4rem; }
.hero-float:nth-child(4) { bottom: 30%; right: 10%; animation-delay: 0.8s; }
.hero-float:nth-child(5) { top: 40%; left: 5%; animation-delay: 2.2s; font-size: 1.4rem; }

/* ---------- Features Section ---------- */
.features {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.feature-card .feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-card .feature-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
}

.feature-card.active-feature {
  border-color: rgba(255, 90, 110, 0.3);
  background: rgba(255, 90, 110, 0.05);
}

.feature-card.active-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ---------- How It Works ---------- */
.how-it-works {
  padding: var(--space-4xl) 0;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 600px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
}

.step-content h3 {
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: var(--space-4xl) 0;
  text-align: center;
}

.cta-card {
  padding: var(--space-3xl);
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 90, 110, 0.08) 0%, rgba(255, 90, 110, 0.04) 100%);
  border-color: rgba(255, 90, 110, 0.15);
}

.cta-card:hover {
  transform: none;
}

.cta-card h2 {
  margin-bottom: var(--space-md);
}

.cta-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer .footer-heart {
  color: var(--accent-rose);
  display: inline-block;
  animation: heartbeat 2s infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero {
    padding: var(--space-3xl) var(--space-md);
  }

  .hero-float {
    display: none;
  }

  .nav-links {
    display: none;
  }

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

  .cta-card {
    padding: var(--space-2xl) var(--space-lg);
  }
}

/* ============================================
   Pillars layout (added in v2)
   ============================================ */

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
@media (min-width: 880px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  border: 1px solid var(--bg-glass-border);
}

a.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 90, 110, 0.4);
  box-shadow: var(--shadow-glow-mixed);
}

.pillar-card.pillar-soon { opacity: 0.85; }

.pillar-tag {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 0.7rem;
}

.pillar-icon {
  font-size: 2.6rem;
  line-height: 1;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex: 1;
}

.pillar-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-rose);
  box-shadow: 0 0 8px rgba(255, 90, 110, 0.5);
  flex-shrink: 0;
}
.pillar-dot-soon { background: var(--text-muted); box-shadow: none; }

.pillar-pill {
  margin-left: auto;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 90, 110, 0.15);
  color: var(--accent-rose-light);
  border: 1px solid rgba(255, 90, 110, 0.3);
}
.pill-soon {
  background: var(--bg-glass);
  color: var(--text-muted);
  border-color: var(--bg-glass-border);
}

.pillar-cta {
  margin-top: var(--space-md);
  font-weight: 600;
  color: var(--accent-rose-light);
  font-size: 0.95rem;
}
.pillar-cta-disabled { color: var(--text-muted); }

/* ---------- More-coming row ---------- */

.more-coming {
  margin-top: var(--space-2xl);
  text-align: center;
}

.more-coming-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.more-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ---------- CTA actions update ---------- */
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* =============================================
   v6 — "Three Big Choices" landing layout
   Replaces hero + features + how-it-works + cta
   with one prominent picker.
   ============================================= */

.landing { padding-top: var(--space-xl); }

/* ----- compact intro ----- */
.landing-intro {
  text-align: center;
  padding: var(--space-2xl) 0 var(--space-xl);
}
.landing-intro h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: var(--space-md) 0 var(--space-md);
}
.landing-tagline {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 36ch;
  margin: 0 auto;
}

/* ----- big-choice grid ----- */
.big-choice {
  padding: var(--space-xl) 0 var(--space-3xl);
}
.big-choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 980px) {
  .big-choice-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.bigchoice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-height: 380px;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    background var(--transition-normal),
    box-shadow var(--transition-normal);
  isolation: isolate;
}

.bigchoice-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
}

.bigchoice-glow {
  position: absolute;
  inset: -40% -30% 40% -30%;
  z-index: -1;
  opacity: 0.6;
  filter: blur(40px);
  transition: opacity var(--transition-normal);
  pointer-events: none;
}
.bigchoice-card:hover .bigchoice-glow { opacity: 1; }

/* Variant: rose / dusty rose (Date Questions) */
.bigchoice-rose .bigchoice-glow {
  background: radial-gradient(ellipse at top, rgba(212, 116, 126, 0.55), transparent 70%);
}
.bigchoice-rose:hover {
  border-color: rgba(212, 116, 126, 0.55);
  box-shadow: var(--shadow-glow-rose);
}
.bigchoice-rose .bigchoice-tag {
  background: rgba(212, 116, 126, 0.18);
  color: var(--accent-rose-light);
  border-color: rgba(212, 116, 126, 0.35);
}

/* Variant: amber (Question Cards) */
.bigchoice-amber .bigchoice-glow {
  background: radial-gradient(ellipse at top, rgba(245, 180, 97, 0.50), transparent 70%);
}
.bigchoice-amber:hover {
  border-color: rgba(245, 180, 97, 0.55);
  box-shadow: var(--shadow-glow-amber);
}
.bigchoice-amber .bigchoice-tag {
  background: rgba(245, 180, 97, 0.18);
  color: var(--accent-amber);
  border-color: rgba(245, 180, 97, 0.35);
}

/* Variant: terracotta/coral (Quizzes) */
.bigchoice-coral .bigchoice-glow {
  background: radial-gradient(ellipse at top, rgba(224, 120, 86, 0.55), transparent 70%);
}
.bigchoice-coral:hover {
  border-color: rgba(224, 120, 86, 0.55);
  box-shadow: var(--shadow-glow-terracotta);
}
.bigchoice-coral .bigchoice-tag {
  background: rgba(224, 120, 86, 0.18);
  color: var(--accent-terracotta);
  border-color: rgba(224, 120, 86, 0.35);
}

/* Card content typography */
.bigchoice-icon {
  font-size: 3.4rem;
  line-height: 1;
}
.bigchoice-tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
}
.bigchoice-card h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}
.bigchoice-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}
.bigchoice-meta {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.bigchoice-meta li {
  font-size: 0.86rem;
  color: var(--text-muted);
}
.bigchoice-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-md);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
  transition: transform var(--transition-normal);
}
.bigchoice-card:hover .bigchoice-cta { transform: translateX(4px); }

/* ----- "more coming" footnote ----- */
.landing-coming {
  text-align: center;
  margin-top: var(--space-2xl);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ----- footer ----- */
.landing-footer {
  padding: var(--space-2xl) 0 var(--space-xl);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-heart {
  color: var(--accent-rose);
  display: inline-block;
  animation: heartbeat 2s infinite;
}

/* =============================================
   v7 — Catalog/browse layout (Steam/Spotify style)
   ============================================= */

.catalog { padding-top: var(--space-md); }

/* ----- compact hero ----- */
.catalog-hero {
  text-align: center;
  padding: var(--space-2xl) 0 var(--space-md);
}
.catalog-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: var(--space-md) 0 var(--space-sm);
}
.catalog-hero-tagline {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}

/* ----- section headers ----- */
.catalog-section { padding: var(--space-lg) 0; }
.catalog-featured-section { padding-top: var(--space-md); }

.catalog-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.catalog-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.catalog-section-title {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-primary);
}
.catalog-section-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition-normal);
}
.catalog-section-link:hover { color: var(--text-primary); }

/* ----- featured card (full-width banner) ----- */
.featured-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}
@media (min-width: 720px) {
  .featured-card { grid-template-columns: 1fr 1.4fr; min-height: 280px; }
}
.featured-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 116, 126, 0.45);
  box-shadow: var(--shadow-glow-rose);
}

.featured-art {
  position: relative;
  background: linear-gradient(135deg, #d4747e 0%, #e07856 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  overflow: hidden;
}
.featured-emoji {
  font-size: clamp(4.5rem, 10vw, 7rem);
  line-height: 1;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.25));
  z-index: 1;
}
.featured-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
}

.featured-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  justify-content: center;
}
.featured-body h3 {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.05;
  margin: 6px 0 0;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.featured-body p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}
.featured-cta {
  margin-top: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
  transition: transform var(--transition-normal);
  display: inline-block;
}
.featured-card:hover .featured-cta { transform: translateX(4px); }

/* ----- card grid ----- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (min-width: 720px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .catalog-grid { grid-template-columns: repeat(4, 1fr); } }

.catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  /* Default card-color (used by --card-color CSS var) */
  --card-color: var(--accent-rose-sunset);
  --card-color-2: var(--accent-rose-dark);
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-color);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 24px color-mix(in srgb, var(--card-color) 25%, transparent);
}

/* Top art block — colored gradient with emoji */
.card-art {
  position: relative;
  height: 130px;
  background: linear-gradient(135deg, var(--card-color) 0%, var(--card-color-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-art::after {
  /* subtle radial highlight */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,0.25), transparent 60%);
  pointer-events: none;
}
.card-emoji {
  font-size: 3.4rem;
  line-height: 1;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
  transition: transform var(--transition-spring);
  z-index: 1;
}
.catalog-card:hover .card-emoji { transform: scale(1.08) rotate(-3deg); }

.card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.card-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
  letter-spacing: -0.005em;
}
.card-body p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0;
  flex: 1;
}
.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}
.card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Card tags */
.card-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  white-space: nowrap;
}
.tag-new {
  background: rgba(245, 180, 97, 0.2);
  color: var(--accent-amber);
  border-color: rgba(245, 180, 97, 0.4);
}
.tag-rose {
  background: rgba(212, 116, 126, 0.18);
  color: var(--accent-rose-light);
  border-color: rgba(212, 116, 126, 0.35);
}
.tag-amber {
  background: rgba(245, 180, 97, 0.16);
  color: var(--accent-amber);
  border-color: rgba(245, 180, 97, 0.32);
}
.tag-coral {
  background: rgba(224, 120, 86, 0.16);
  color: var(--accent-terracotta);
  border-color: rgba(224, 120, 86, 0.32);
}
.tag-sage {
  background: rgba(126, 184, 166, 0.14);
  color: var(--accent-mint);
  border-color: rgba(126, 184, 166, 0.32);
}
.tag-sky {
  background: rgba(93, 163, 196, 0.14);
  color: var(--accent-sky);
  border-color: rgba(93, 163, 196, 0.32);
}
.tag-soon {
  background: var(--bg-glass);
  color: var(--text-muted);
  border-color: var(--bg-glass-border);
}

/* "Coming Soon" cards — muted */
.catalog-card-soon { opacity: 0.62; cursor: default; }
.catalog-card-soon:hover { transform: none; box-shadow: none; border-color: var(--bg-glass-border); }
.card-art-soon {
  background: linear-gradient(135deg, #3a3245 0%, #2a2335 100%);
  filter: grayscale(0.3);
}
.catalog-card-soon .card-emoji { filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)) grayscale(0.3); }
.catalog-card-soon:hover .card-emoji { transform: none; }

/* =============================================
   v8 — Home: 3 BIG image+body tile cards
   Hybrid of v6 layout + v7 visual (gradient art header)
   ============================================= */

.home { padding-top: var(--space-md); }

.home-intro {
  text-align: center;
  padding: var(--space-2xl) 0 var(--space-md);
}
.home-intro h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: var(--space-md) 0 var(--space-sm);
}
.home-tagline {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.home-tiles { padding: var(--space-md) 0 var(--space-2xl); }

.home-tiles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 980px) {
  .home-tiles-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.home-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
  /* Default fallback colors */
  --tile-color: var(--accent-rose-sunset);
  --tile-color-2: var(--accent-rose-dark);
}

.home-tile:hover {
  transform: translateY(-6px);
  border-color: var(--tile-color);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.4),
    0 0 32px color-mix(in srgb, var(--tile-color) 35%, transparent);
}

/* Top art block — colored gradient with big emoji */
.home-tile-art {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, var(--tile-color) 0%, var(--tile-color-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.home-tile-art::after {
  /* Subtle radial highlight */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255, 255, 255, 0.22), transparent 60%);
  pointer-events: none;
}
.home-tile-emoji {
  font-size: clamp(4.5rem, 9vw, 6.5rem);
  line-height: 1;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.28));
  z-index: 1;
  transition: transform var(--transition-spring);
}
.home-tile:hover .home-tile-emoji {
  transform: scale(1.1) rotate(-4deg);
}

.home-tile-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.18), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.home-tile:hover .home-tile-glow { opacity: 1; }

/* Body */
.home-tile-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}
.home-tile-tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: color-mix(in srgb, var(--tile-color) 18%, transparent);
  color: color-mix(in srgb, var(--tile-color) 70%, var(--text-primary));
  border: 1px solid color-mix(in srgb, var(--tile-color) 35%, transparent);
}
.home-tile-body h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  margin: 6px 0 0;
  letter-spacing: -0.01em;
}
.home-tile-body p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.home-tile-cta {
  margin-top: var(--space-md);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
  display: inline-block;
  transition: transform var(--transition-normal);
}
.home-tile:hover .home-tile-cta { transform: translateX(4px); }

.home-coming {
  text-align: center;
  margin-top: var(--space-2xl);
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* =============================================
   v11 — Pair-up prompt on homepage
   ============================================= */

.pair-prompt-section, .pair-status-section {
  padding: 0 0 var(--space-md);
}

.pair-prompt {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background: linear-gradient(135deg, rgba(212, 116, 126, 0.12), rgba(245, 180, 97, 0.08));
  border: 1px solid rgba(212, 116, 126, 0.3);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}
.pair-prompt:hover {
  transform: translateY(-2px);
  border-color: var(--accent-rose-sunset);
  box-shadow: var(--shadow-glow-rose);
}
.pair-prompt-icon {
  font-size: 2.4rem;
  line-height: 1;
}
.pair-prompt-body h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
.pair-prompt-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.pair-prompt-cta {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-rose-light);
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .pair-prompt {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pair-prompt-cta { justify-self: center; }
}

/* Paired status pill */
.pair-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--bg-glass);
  border: 1px solid rgba(126, 184, 166, 0.4);
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: all var(--transition-normal);
}
.pair-status:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-mint);
}
.pair-status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-mint);
  box-shadow: 0 0 10px rgba(126, 184, 166, 0.6);
}
.pair-status-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1.25;
}
.pair-status-text { color: var(--text-secondary); }
.pair-status-text strong { color: var(--text-primary); }
.pair-status-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}
.pair-status-cta {
  margin-left: 6px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* =============================================
   v13 — Raw scrapbook / editorial aesthetic
   ============================================= */

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* =============================================
   v14 — Nav: dark editorial
   ============================================= */

/* Override app-shell appearance on landing only */
.nav-raw.app-shell {
  background: rgba(14, 13, 20, 0.82) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(245, 239, 228, 0.06) !important;
}

.nav-raw .app-shell-inner {
  align-items: baseline !important;
  padding: 14px clamp(16px, 4vw, 52px) !important;
  max-width: none !important;
}

.nav-raw-logo {
  display: inline-flex;
  align-items: center;
  color: #FF5A6E;
  text-decoration: none;
  margin-right: auto;
  line-height: 1;
  flex-shrink: 0;
}
/* Reusable logo component */
.logo {
  display: inline-flex;
  align-items: center;
  color: #FF5A6E; /* coral — default */
  text-decoration: none;
  line-height: 0;
}
.logo--cream  { color: #FAF3E8; }
.logo-svg     { display: block; width: auto; }
.logo--sm .logo-svg { height: 28px; }
.logo--md .logo-svg { height: 40px; }
.logo--lg .logo-svg { height: 72px; }

.nav-raw-links {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-right: 32px;
}

.nav-raw-link {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgba(245, 239, 228, 0.80);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 160ms ease;
}
.nav-raw-link:hover { color: #F5EFE4; }

/* Nav CTA — pill, matches hero CTA but smaller */
.nav-raw-cta {
  position: relative;
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: #1A1416;
  background: #FF5A6E;
  padding: 9px 20px;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 0 0 0 transparent;
}
.nav-raw-cta:hover {
  color: #1A1416;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 #D4FF3F;
}

/* =============================================
   v13 — Hero: no grid, everything absolute
   ============================================= */

.hero-raw {
  position: relative;
  min-height: 90vh;
  max-height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: start;
  padding: 80px clamp(24px, 4vw, 56px) 48px;
  gap: clamp(24px, 3vw, 56px);
  background-color: #1A1416;
  background-image:
    radial-gradient(ellipse 80% 90% at 65% 50%, #241B1E 0%, #1A1416 60%);
}

/* Coral glow — bottom right, expanded */
.hr-bg-coral {
  position: absolute;
  right: -15%;
  bottom: -30%;
  width: 95vw;
  height: 95vw;
  max-width: 1200px;
  max-height: 1200px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 90, 110, 0.15) 0%, rgba(255, 90, 110, 0.06) 35%, transparent 65%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Plum glow — upper left, behind headline */
.hr-bg-plum {
  position: absolute;
  left: -12%;
  top: -20%;
  width: 65vw;
  height: 65vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(26, 15, 20, 0.85) 0%, rgba(61, 31, 58, 0.25) 45%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* =============================================
   v15 — Left column
   ============================================= */

.hr-left {
  position: relative;
  z-index: 4;
  max-width: 100%;
  justify-self: start;
  padding-top: 8px;
  /* room for CTA's lime offset shadow */
  padding-bottom: 16px;
}

/* Headline — Boldonse, tuned to the column not the viewport */
.hr-headline {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(44px, 5.6vw, 92px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--cream, #FAF3E8);
  margin: 0 0 28px;
  padding-bottom: 0.08em;
  word-break: normal;
  overflow-wrap: break-word;
}
.hr-headline .hr-word {
  display: inline-block;
  margin-right: 0.18em;
  opacity: 0;
  transform: translateY(12px);
  animation: hr-fade-up 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hr-headline .hr-word:nth-child(1) { animation-delay: 80ms; }
.hr-headline .hr-word:nth-child(2) { animation-delay: 160ms; }
.hr-headline .hr-word:nth-child(3) { animation-delay: 240ms; }
.hr-headline .hr-word:nth-child(4) { animation-delay: 320ms; }
.hr-headline .hr-word:nth-child(5) { animation-delay: 400ms; }

/* "close" gets the lime italic */
.hr-hl-accent {
  font-style: italic;
  color: #D4FF3F;
  letter-spacing: -0.02em;
}

.hr-sub {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--cream, #FAF3E8);
  line-height: 1.55;
  max-width: 36ch;
  margin: 0 0 32px;
  opacity: 0.78;
  animation: hr-fade-up 600ms ease-out 520ms both;
}

/* Hero CTA — coral pill with lime acid offset shadow */
.hr-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: #1A1416;
  background: #FF5A6E;
  padding: 15px 32px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 4px 4px 0 #D4FF3F;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms ease;
  animation: hr-fade-up 700ms ease-out 720ms both;
}
.hr-cta:hover {
  color: #1A1416;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #D4FF3F;
}
.hr-cta:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 #D4FF3F;
}

/* =============================================
   v15 — Right column: distance line + preview
   ============================================= */

.hr-right {
  position: relative;
  z-index: 3;
  height: 100%;
  min-height: 560px;
}

/* Distance line — absolutely positioned across the whole hero,
   stretched to fit so path endpoints align with headline + card */
.hr-distance {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
.hr-distance-path {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: hr-draw 2200ms cubic-bezier(0.4, 0, 0.2, 1) 400ms forwards;
  filter: drop-shadow(0 0 6px rgba(212, 255, 63, 0.35));
}
.hr-dist-dot {
  opacity: 0;
  animation: hr-dot-in 500ms ease-out forwards;
}
.hr-dist-dot-a { animation-delay: 600ms; }
.hr-dist-dot-b { animation-delay: 2400ms; }

.hr-dist-labels text {
  opacity: 0;
  animation: hr-label-in 600ms ease-out forwards;
}
.hr-dist-labels text:nth-child(1) { animation-delay: 900ms; }
.hr-dist-labels text:nth-child(2) { animation-delay: 1100ms; }
.hr-dist-labels text:nth-child(3) { animation-delay: 1350ms; }
.hr-dist-labels text:nth-child(4) { animation-delay: 1600ms; }
.hr-dist-labels text:nth-child(5) { animation-delay: 1850ms; }
.hr-dist-labels text:nth-child(6) { animation-delay: 2050ms; }
.hr-dist-labels text:nth-child(7) { animation-delay: 2250ms; }

@keyframes hr-draw  { to { stroke-dashoffset: 0; } }
@keyframes hr-dot-in   { to { opacity: 1; } }
@keyframes hr-label-in { to { opacity: 0.85; } }

/* Product preview card */
.hr-preview {
  position: absolute;
  right: 2%;
  bottom: 4%;
  width: clamp(280px, 30vw, 380px);
  padding: 18px;
  background: #241B1E;
  border: 1px solid #3D2F33;
  border-radius: 16px;
  transform: rotate(-6deg);
  box-shadow:
    0 30px 60px -20px rgba(255, 90, 110, 0.35),
    0 20px 50px -15px rgba(0, 0, 0, 0.55),
    0 2px 0 rgba(245, 239, 228, 0.04) inset;
  z-index: 5;
  opacity: 0;
  animation: hr-card-in 800ms cubic-bezier(0.16, 1, 0.3, 1) 1100ms forwards;
  font-family: 'Inter', sans-serif;
}
@keyframes hr-card-in {
  from { opacity: 0; transform: rotate(-6deg) translateY(40px); }
  to   { opacity: 1; transform: rotate(-6deg) translateY(0); }
}
.hr-preview:hover {
  animation-play-state: paused;
}

.hpc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.hpc-avatars { display: flex; }
.hpc-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #1A1416;
  border: 2px solid #241B1E;
}
.hpc-avatar-a { background: #FF5A6E; }
.hpc-avatar-b { background: #D4FF3F; margin-left: -10px; }
.hpc-meta {
  font-size: 12px;
  color: rgba(245, 239, 228, 0.55);
  margin-right: auto;
}
.hpc-turn {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1A1416;
  background: #D4FF3F;
  padding: 3px 8px;
  border-radius: 4px;
}

.hpc-prompt {
  padding: 16px 14px;
  background: rgba(245, 239, 228, 0.03);
  border: 1px solid rgba(245, 239, 228, 0.06);
  border-radius: 10px;
  margin-bottom: 12px;
}
.hpc-prompt-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.45);
  margin-bottom: 8px;
}
.hpc-prompt-text {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--cream, #FAF3E8);
  letter-spacing: -0.005em;
  transition: opacity 300ms ease;
  min-height: 2.8em;
}
.hpc-prompt-text.is-fading { opacity: 0; }

.hpc-actions {
  display: flex;
  gap: 8px;
}
.hpc-btn-primary,
.hpc-btn-ghost {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}
.hpc-btn-primary {
  background: #FF5A6E;
  color: #1A1416;
}
.hpc-btn-ghost {
  background: transparent;
  color: rgba(245, 239, 228, 0.75);
  border: 1px solid #3D2F33;
}

/* =============================================
   v15 — Animations
   ============================================= */
@keyframes hr-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   v15 — Mobile
   ============================================= */
@media (max-width: 768px) {
  .hero-raw {
    grid-template-columns: 1fr;
    padding: 88px 20px 48px;
    gap: 32px;
    align-items: start;
  }
  .hr-left { max-width: 100%; }
  .hr-headline { font-size: clamp(40px, 10vw, 64px); line-height: 1.2; }
  .hr-right {
    min-height: 480px;
    order: 2;
  }
  .hr-distance { display: none; }
  .hr-preview {
    right: 50%;
    bottom: 5%;
    transform: translateX(50%) rotate(-4deg);
    width: min(340px, 92%);
  }
  @keyframes hr-card-in {
    from { opacity: 0; transform: translateX(50%) rotate(-4deg) translateY(40px); }
    to   { opacity: 1; transform: translateX(50%) rotate(-4deg) translateY(0); }
  }
}
@media (max-width: 480px) {
  .nav-raw-links { gap: 22px; }
  .nav-raw-cta { padding: 8px 16px; font-size: 13px; }
}

/* =============================================
   v13 — Collage elements (scattered, not a panel)
   ============================================= */

/* v14 dead code removed — replaced by v15 above */

/* =============================================
   v16 — Home page: sections below hero
   ============================================= */

/* Shared section primitives */
.home-section {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
  background: #1A1416;
}
.home-section + .home-section {
  border-top: 1px solid rgba(245, 239, 228, 0.05);
}
.home-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.section-header {
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A89098;
  margin-bottom: 18px;
}
.section-title {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #FAF3E8;
  margin: 0;
  padding-bottom: 0.05em;
}

/* ----- How it works ----- */
.how-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.how-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.how-step-num {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 1;
  color: #D4FF3F;
  letter-spacing: -0.02em;
}
.how-step-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  color: #FAF3E8;
  margin: 0;
}
.how-step-body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #A89098;
  margin: 0;
  max-width: 32ch;
}

/* ----- Three modes ----- */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 28px);
}
.mode-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 3vw, 40px);
  background: #241B1E;
  border: 1px solid #3D2F33;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
  min-height: 280px;
}
.mode-tile:hover {
  transform: translateY(-4px);
  background: #2A1E22;
}
.mode-tile--play:hover  { border-color: #FF5A6E; }
.mode-tile--ask:hover   { border-color: #D4FF3F; }
.mode-tile--feel:hover  { border-color: #2D6BFF; }

.mode-tile-num {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #A89098;
}
.mode-tile-title {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(48px, 5.5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #FAF3E8;
  margin: 6px 0 0;
}
.mode-tile--play  .mode-tile-title { color: #FF5A6E; }
.mode-tile--ask   .mode-tile-title { color: #D4FF3F; }
.mode-tile--feel  .mode-tile-title { color: #FAF3E8; }

.mode-tile-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #A89098;
  margin: 0;
  flex: 1;
}
.mode-tile-cta {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #FAF3E8;
  letter-spacing: -0.005em;
  transition: transform 200ms ease;
}
.mode-tile:hover .mode-tile-cta { transform: translateX(4px); }

/* ----- Tonight's pick ----- */
.tonight-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #241B1E;
  border: 1px solid #3D2F33;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, border-color 200ms ease;
  box-shadow: 0 20px 50px -25px rgba(0,0,0,0.6);
}
.tonight-card:hover {
  transform: translateY(-3px);
  border-color: #FF5A6E;
}
.tonight-art {
  position: relative;
  padding: clamp(36px, 4vw, 56px);
  background:
    radial-gradient(ellipse 80% 70% at 30% 100%, rgba(255, 90, 110, 0.20) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 10%, rgba(45, 107, 255, 0.12) 0%, transparent 55%),
    #1A1416;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 280px;
}
.tonight-art-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A89098;
}
.tonight-art-prompt {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FAF3E8;
  margin: 0;
}
.tonight-art-hint {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #A89098;
  font-style: italic;
}
.tonight-body {
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.tonight-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1A1416;
  background: #D4FF3F;
  padding: 4px 10px;
  border-radius: 4px;
}
.tonight-title {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #FAF3E8;
  margin: 6px 0 0;
}
.tonight-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #A89098;
  margin: 0;
}
.tonight-cta {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #FF5A6E;
  margin-top: 10px;
  transition: transform 200ms ease;
}
.tonight-card:hover .tonight-cta { transform: translateX(4px); }

/* ----- Why yui ----- */
.home-why {
  text-align: left;
  padding: clamp(96px, 12vw, 180px) 0;
}
.why-quote {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FAF3E8;
  margin: 0;
  padding: 0;
  max-width: 14ch;
}
.why-accent {
  font-style: italic;
  color: #D4FF3F;
}
.why-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.6vw, 20px);
  color: #A89098;
  margin: 28px 0 0;
  letter-spacing: -0.005em;
}

/* ----- How it feels ----- */
.feels-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feels-item {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: #FAF3E8;
  padding: clamp(16px, 1.6vw, 22px) 0;
  border-top: 1px solid rgba(245, 239, 228, 0.08);
  transition: color 200ms ease;
}
.feels-item:last-child { border-bottom: 1px solid rgba(245, 239, 228, 0.08); }
.feels-item em {
  font-style: italic;
  color: #D4FF3F;
}
.feels-item:nth-child(2n) {
  color: #A89098;
}

/* ----- FAQ ----- */
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid rgba(245, 239, 228, 0.10);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid rgba(245, 239, 228, 0.10); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 2vw, 26px) 0;
  cursor: pointer;
  list-style: none;
  font-family: 'Inter', sans-serif;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 500;
  color: #FAF3E8;
  letter-spacing: -0.01em;
  transition: color 200ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #FF5A6E; }
.faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #3D2F33;
  border-radius: 50%;
  color: #A89098;
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 200ms ease, border-color 200ms ease, color 200ms ease;
}
.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  border-color: #FF5A6E;
  color: #FF5A6E;
}
.faq-item p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #A89098;
  margin: 0 0 clamp(20px, 2vw, 28px);
  max-width: 60ch;
}

/* ----- CTA final ----- */
.home-cta-final {
  text-align: left;
  background:
    radial-gradient(ellipse 70% 90% at 80% 50%, rgba(255, 90, 110, 0.15) 0%, transparent 60%),
    #1A1416;
}
.cta-final-title {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 108px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FAF3E8;
  margin: 0 0 40px;
  padding-bottom: 0.05em;
}
.cta-final-accent {
  font-style: italic;
  color: #D4FF3F;
}
.cta-final-button {
  /* inherits .hr-cta styles */
}
.cta-final-hint {
  display: block;
  margin-top: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(168, 144, 152, 0.7);
  letter-spacing: 0.06em;
}

/* ----- Site footer ----- */
.site-footer {
  position: relative;
  padding: clamp(48px, 6vw, 80px) 0 clamp(32px, 4vw, 48px);
  background: #1A1416;
  border-top: 1px solid rgba(245, 239, 228, 0.08);
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.site-footer-logo .logo-svg { height: 32px; }
.site-footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #A89098;
  margin: 0;
  font-style: italic;
}
.site-footer-links {
  display: flex;
  gap: 24px;
  justify-self: end;
}
.site-footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #A89098;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 200ms ease;
}
.site-footer-links a:hover { color: #FAF3E8; }
.site-footer-copy {
  grid-column: 1 / -1;
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid rgba(245, 239, 228, 0.06);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(168, 144, 152, 0.6);
  letter-spacing: 0.02em;
}

/* ----- v16 mobile ----- */
@media (max-width: 768px) {
  .home-section { padding: clamp(56px, 12vw, 88px) 0; }
  .how-steps { grid-template-columns: 1fr; gap: 36px; }
  .modes-grid { grid-template-columns: 1fr; }
  .mode-tile { min-height: auto; }
  .tonight-card { grid-template-columns: 1fr; }
  .tonight-art { min-height: 200px; }
  .why-quote { font-size: clamp(48px, 13vw, 84px); }
  .feels-item { font-size: clamp(24px, 7vw, 42px); }
  .cta-final-title { font-size: clamp(40px, 11vw, 72px); }
  .faq-item summary { font-size: 16px; }
  .site-footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 16px;
  }
  .site-footer-logo { justify-self: center; }
  .site-footer-links { justify-self: center; }
  .site-footer-copy { text-align: center; }
}

/* =============================================
   v17 — Link-up page
   ============================================= */

.lu-page {
  position: relative;
  min-height: calc(100vh - 64px);
  padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 112px);
  background:
    radial-gradient(ellipse 80% 80% at 50% 30%, rgba(255, 90, 110, 0.10) 0%, transparent 60%),
    #1A1416;
}
.lu-page .container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.lu-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.lu-headline {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FAF3E8;
  margin: 14px 0 20px;
  /* Boldonse ink descends ~0.39em below the 0.96 line box — this keeps
     the last line's descenders off the subtitle (playtest 2026-07-02 P2). */
  padding-bottom: 0.42em;
}
.lu-headline--sub { font-size: clamp(40px, 5.5vw, 72px); }
.lu-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  color: #A89098;
  margin: 0;
  max-width: 44ch;
}

/* Mode pickers (create / enter) */
.lu-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}
.lu-mode {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 3vw, 36px);
  background: #241B1E;
  border: 1px solid #3D2F33;
  border-radius: 16px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}
.lu-mode:hover {
  transform: translateY(-3px);
  background: #2A1E22;
}
.lu-mode--create:hover { border-color: #FF5A6E; }
.lu-mode--enter:hover  { border-color: #D4FF3F; }
.lu-mode-num {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #A89098;
}
.lu-mode-title {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
  letter-spacing: -0.022em;
  color: #FAF3E8;
  margin-top: 8px;
}
.lu-mode--create .lu-mode-title { color: #FF5A6E; }
.lu-mode--enter  .lu-mode-title { color: #D4FF3F; }
.lu-mode-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #A89098;
  margin-top: 4px;
}

.lu-already {
  margin-top: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #A89098;
}
.lu-already a {
  color: #FAF3E8;
  text-decoration: underline;
  text-decoration-color: #D4FF3F;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Code display */
.lu-code-display {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(56px, 10vw, 120px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #FAF3E8;
  margin: 16px 0 16px;
  padding: clamp(24px, 3vw, 40px);
  background: #241B1E;
  border: 1px solid #3D2F33;
  border-radius: 16px;
  text-align: center;
  user-select: all;
}
.lu-code-hint {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #A89098;
  margin: 0 0 28px;
}

.lu-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 36px;
}

/* Ghost / back / skip / continue / unlink */
.lu-btn-ghost,
.lu-back,
.lu-skip,
.lu-continue {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #A89098;
  background: transparent;
  border: 1px solid #3D2F33;
  padding: 13px 22px;
  border-radius: 9999px;
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}
.lu-btn-ghost:hover,
.lu-back:hover,
.lu-skip:hover,
.lu-continue:hover {
  color: #FAF3E8;
  border-color: #FAF3E8;
}
.lu-back,
.lu-skip {
  background: none;
  border: none;
  padding: 8px 4px;
  margin-top: 16px;
  display: inline-block;
}
.lu-back:hover,
.lu-skip:hover {
  background: none;
  color: #FAF3E8;
}

/* Code input */
.lu-code-input {
  display: block;
  width: 100%;
  margin: 16px 0 16px;
  padding: clamp(20px, 2.6vw, 32px);
  background: #241B1E;
  border: 1px solid #3D2F33;
  border-radius: 16px;
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(36px, 6vw, 64px);
  text-align: center;
  letter-spacing: 0.1em;
  color: #FAF3E8;
  text-transform: uppercase;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease;
}
.lu-code-input:focus {
  border-color: #D4FF3F;
  background: #2A1E22;
}
.lu-code-input::placeholder {
  color: rgba(168, 144, 152, 0.4);
}

.lu-error {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #FF5A6E;
  margin: 0 0 16px;
}

/* Details form */
.lu-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.lu-field label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #A89098;
  letter-spacing: 0.02em;
}
.lu-optional {
  font-style: italic;
  font-weight: 400;
  opacity: 0.7;
}
.lu-text-input {
  width: 100%;
  padding: 14px 18px;
  background: #241B1E;
  border: 1px solid #3D2F33;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #FAF3E8;
  outline: none;
  transition: border-color 200ms ease;
}
.lu-text-input:focus { border-color: #D4FF3F; }
.lu-text-input::placeholder { color: rgba(168, 144, 152, 0.5); }

/* =============================================
   v17 — Together page
   ============================================= */

.t-hero {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0 clamp(40px, 5vw, 64px);
  background:
    radial-gradient(ellipse 80% 80% at 60% 40%, rgba(255, 90, 110, 0.10) 0%, transparent 60%),
    #1A1416;
}
.t-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.t-pair-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  margin-bottom: 28px;
  background: rgba(36, 27, 30, 0.7);
  border: 1px solid #3D2F33;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #FAF3E8;
  letter-spacing: -0.005em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.t-pair-pill strong {
  color: #FAF3E8;
  font-weight: 600;
}
.t-pair-days {
  color: #A89098;
  font-weight: 400;
}

.t-headline {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FAF3E8;
  margin: 0 0 24px;
  padding-bottom: 0.42em; /* descender clearance — see .lu-headline note */
  max-width: 14ch;
}
.t-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  color: #A89098;
  margin: 0;
  max-width: 48ch;
  line-height: 1.55;
}

/* Not-paired fallback */
.t-not-paired {
  padding: clamp(96px, 12vw, 160px) 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 30%, rgba(255, 90, 110, 0.10) 0%, transparent 60%),
    #1A1416;
}
.t-not-paired .container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.t-not-paired .lu-sub { margin-bottom: 32px; }

/* Recent (empty state) */
.t-recent {
  background: #1A1416;
}
.t-recent-empty {
  padding: clamp(40px, 5vw, 64px);
  background: #241B1E;
  border: 1px dashed #3D2F33;
  border-radius: 16px;
  text-align: center;
}
.t-recent-empty-line {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em;
  color: #FAF3E8;
  margin: 0 0 8px;
}
.t-recent-empty-sub {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #A89098;
  margin: 0;
}

/* ----- v17 mobile ----- */
@media (max-width: 640px) {
  .lu-modes { grid-template-columns: 1fr; }
  .lu-code-display { font-size: clamp(48px, 16vw, 80px); }
  .lu-code-input   { font-size: clamp(32px, 12vw, 56px); }
  .t-headline      { font-size: clamp(48px, 13vw, 84px); }
}

/* =============================================
   v18 — Game / session template
   ============================================= */

body[data-section="game"] {
  background: #1A1416;
}

/* Minimal nav — replaces standard app-shell for game pages */
.g-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(26, 20, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 239, 228, 0.06);
}
.g-nav-logo { color: #FF5A6E; }
.g-nav-logo .logo-svg { height: 32px; }
.g-leave {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #A89098;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 200ms ease;
}
.g-leave:hover { color: #FAF3E8; }

/* Main canvas */
.g-main {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: flex-start;
  padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 7vw, 96px);
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(255, 90, 110, 0.08) 0%, transparent 60%),
    #1A1416;
}
.g-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

/* ----- Intro state ----- */
.g-deck-title {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FAF3E8;
  margin: 14px 0 20px;
  padding-bottom: 0.06em;
}
.g-deck-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: #A89098;
  margin: 0 0 28px;
  max-width: 50ch;
}
.g-deck-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 36px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #A89098;
  letter-spacing: 0.02em;
}
.g-deck-meta strong {
  color: #D4FF3F;
  font-weight: 600;
}
.g-deck-dot { color: #3D2F33; }

.g-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ----- Prompt state ----- */
.g-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 2vw, 28px);
}
.g-prompt-progress {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A89098;
}
.g-prompt-of { color: #3D2F33; padding: 0 2px; }
.g-prompt-pause {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #A89098;
  cursor: pointer;
  padding: 6px 0;
  letter-spacing: -0.005em;
  transition: color 200ms ease;
}
.g-prompt-pause:hover { color: #FAF3E8; }

/* The big prompt card */
.g-prompt-card {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  background: #241B1E;
  border: 1px solid #3D2F33;
  border-radius: 20px;
  margin-bottom: clamp(20px, 2vw, 28px);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.55);
}
.g-prompt-text {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #FAF3E8;
  margin: 0 0 clamp(24px, 3vw, 36px);
  padding-bottom: 0.06em;
}
.g-prompt-textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  padding: 16px 18px;
  background: rgba(26, 20, 22, 0.5);
  border: 1px solid #3D2F33;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #FAF3E8;
  resize: vertical;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease;
}
.g-prompt-textarea:focus {
  border-color: #D4FF3F;
  background: rgba(26, 20, 22, 0.8);
}
.g-prompt-textarea::placeholder {
  color: rgba(168, 144, 152, 0.45);
}
.g-prompt-hint {
  display: block;
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(168, 144, 152, 0.7);
  letter-spacing: 0.02em;
  font-style: italic;
}

.g-actions--prompt {
  margin-top: 4px;
}

/* ----- Summary state ----- */
.g-summary-title {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FAF3E8;
  margin: 14px 0 24px;
  padding-bottom: 0.06em;
}
.g-summary-stats {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.5vw, 18px);
  color: #A89098;
  line-height: 1.55;
  margin: 0 0 36px;
  max-width: 50ch;
}

/* ----- Mobile ----- */
@media (max-width: 640px) {
  .g-prompt-text   { font-size: clamp(24px, 7vw, 36px); }
  .g-deck-title    { font-size: clamp(40px, 11vw, 64px); }
  .g-summary-title { font-size: clamp(40px, 11vw, 64px); }
  .g-prompt-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* =============================================
   v19 — Catalog pages (play / ask / feel)
   ============================================= */

/* Catalog hero — compact, options visible above fold */
.cat-hero {
  position: relative;
  padding: clamp(64px, 7vw, 104px) 0 clamp(28px, 3.5vw, 48px);
  background:
    radial-gradient(ellipse 75% 60% at 50% 20%, rgba(255, 90, 110, 0.10) 0%, transparent 60%),
    #1A1416;
}
.cat-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.cat-hero-title {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #FAF3E8;
  margin: 10px 0 14px;
  padding-bottom: 0.42em; /* descender clearance — see .lu-headline note */
  max-width: 14ch;
}
.cat-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.55;
  color: #A89098;
  margin: 0;
  max-width: 52ch;
}

/* Catalog section (reuses .home-section padding rhythm) */
.cat-section .section-header { margin-bottom: clamp(36px, 5vw, 56px); }
.cat-section-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.3vw, 16px);
  color: #A89098;
  margin: 16px 0 0;
  max-width: 44ch;
  line-height: 1.55;
}

/* The grid — tighter, more columns on desktop */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  padding-top: 8px;
}

/* ----- The catalog card ----- */
.cat-card {
  --rot: 0deg;
  --tint: #FF5A6E;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #241B1E;
  border: 1px solid #3D2F33;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transform: rotate(var(--rot));
  transition:
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 240ms ease;
  min-height: 280px;
  isolation: isolate;
}

/* Art zone — top of card, tint-tinted, holds a custom SVG glyph */
.cat-card-art {
  position: relative;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 100% at 50% 110%, color-mix(in srgb, var(--tint) 22%, transparent) 0%, transparent 60%),
    color-mix(in srgb, var(--tint) 10%, #241B1E);
  border-bottom: 1px solid #3D2F33;
  overflow: hidden;
}
.cat-card-art::after {
  /* faint scatter dots — adds texture, scrapbook feel */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 30%, color-mix(in srgb, var(--tint) 50%, transparent) 0%, transparent 6%),
    radial-gradient(circle at 82% 70%, color-mix(in srgb, var(--tint) 40%, transparent) 0%, transparent 5%);
  opacity: 0.5;
  pointer-events: none;
}
.cat-card-glyph {
  width: 56px;
  height: 56px;
  color: var(--tint);
  display: block;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.cat-card:hover .cat-card-glyph {
  transform: scale(1.08) rotate(-4deg);
}
.cat-card--soon .cat-card-art {
  background: #2A2126;
}
.cat-card--soon .cat-card-glyph {
  color: #A89098;
  opacity: 0.5;
}

/* Body padding moved here since card-level padding is 0 now */
.cat-card-body {
  display: flex;
  flex-direction: column;
  padding: 16px 18px 18px;
  flex: 1;
  gap: 6px;
}
.cat-card::before {
  /* soft tint glow that intensifies on hover */
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: radial-gradient(ellipse 80% 70% at 50% 110%, color-mix(in srgb, var(--tint) 14%, transparent) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: -1;
  pointer-events: none;
}
.cat-card:hover {
  transform: rotate(0deg) translateY(-5px);
  background: #2A1E22;
  border-color: var(--tint);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}
.cat-card:hover::before { opacity: 1; }

.cat-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cat-card-tag {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tint);
  background: color-mix(in srgb, var(--tint) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--tint) 30%, transparent);
  padding: 4px 10px;
  border-radius: 4px;
}
.cat-card-tag--spicy {
  background: color-mix(in srgb, var(--tint) 22%, transparent);
}
.cat-card-tag--soon {
  color: #A89098;
  background: rgba(168, 144, 152, 0.10);
  border-color: rgba(168, 144, 152, 0.25);
}

.cat-card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #A89098;
  letter-spacing: 0.02em;
}

.cat-card-title {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: #FAF3E8;
  margin: 0 0 8px;
  padding-bottom: 0.04em;
}

.cat-card-sample {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 13px;
  line-height: 1.4;
  color: #FAF3E8;
  opacity: 0.78;
  margin: 0 0 10px;
  padding: 2px 0 2px 10px;
  border-left: 2px solid var(--tint);
  flex: 1;
}

.cat-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #A89098;
  margin: 0 0 12px;
  flex: 1;
}

.cat-card-cta {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--tint);
  letter-spacing: -0.005em;
  transition: transform 220ms ease;
  align-self: flex-start;
  margin-top: auto;
}
.cat-card:hover .cat-card-cta { transform: translateX(4px); }
.cat-card-cta--soon { color: #A89098; cursor: default; }
/* The "want this?" button on coming-soon cards is the one tappable thing on an otherwise inert card */
.cat-card--soon .cat-card-notify {
  pointer-events: auto;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #FAF3E8;
  text-align: left;
}
.cat-card--soon .cat-card-notify:hover,
.cat-card--soon .cat-card-notify:focus-visible { color: #D4FF3F; outline: none; }

/* Coming-soon variant */
.cat-card--soon {
  --tint: #A89098;
  cursor: default;
  pointer-events: none;
  opacity: 0.55;
}
.cat-card--soon .cat-card-sample {
  border-left-color: rgba(168, 144, 152, 0.4);
}

/* ----- Build-your-own teaser (ask page) ----- */
.cat-byo {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(28px, 3vw, 44px);
  background: #241B1E;
  border: 1px dashed #3D2F33;
  border-radius: 16px;
}
.cat-byo-body { max-width: 56ch; }
.cat-byo-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D4FF3F;
  background: rgba(212, 255, 63, 0.10);
  border: 1px solid rgba(212, 255, 63, 0.30);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.cat-byo-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #FAF3E8;
  opacity: 0.85;
  margin: 0;
}
.cat-byo-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ----- Explore-more strip ----- */
.cat-explore {
  padding: clamp(48px, 7vw, 96px) 0;
  background: #1A1416;
  border-top: 1px solid rgba(245, 239, 228, 0.05);
}
.cat-explore .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.cat-explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.cat-explore-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  background: #241B1E;
  border: 1px solid #3D2F33;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}
.cat-explore-link:hover {
  border-color: #FF5A6E;
  background: #2A1E22;
  transform: translateY(-2px);
}
.cat-explore-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A89098;
}
.cat-explore-title {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.025em;
  color: #FAF3E8;
  line-height: 1;
}
.cat-explore-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #A89098;
}

/* ----- Mobile ----- */
@media (max-width: 640px) {
  .cat-hero-title { font-size: clamp(44px, 12vw, 72px); }
  .cat-card { min-height: auto; transform: rotate(0deg); /* drop rotation on mobile to save space */ }
  .cat-card:hover { transform: translateY(-3px); }
  .cat-byo { flex-direction: column; align-items: stretch; }
  .cat-byo-btn { align-self: flex-start; }
}

/* =============================================
   v20 — Feel page
   ============================================= */

/* Today's prompt card */
.feel-today-section { padding-bottom: clamp(40px, 5vw, 64px); }

.feel-today-card {
  position: relative;
  padding: clamp(28px, 3.5vw, 44px);
  background: #241B1E;
  border: 1px solid #3D2F33;
  border-radius: 20px;
  box-shadow: 0 24px 50px -25px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.feel-today-card::before {
  /* soft coral glow at the corner — atmospheric */
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(255, 90, 110, 0.16) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(20px);
}
.feel-today-cat {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A89098;
  margin-bottom: 14px;
}
.feel-today-prompt {
  position: relative;
  z-index: 1;
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #FAF3E8;
  margin: 0 0 clamp(20px, 2.4vw, 28px);
  padding-bottom: 0.06em;
  max-width: 22ch;
}
.feel-today-textarea {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 110px;
  padding: 14px 16px;
  background: rgba(26, 20, 22, 0.55);
  border: 1px solid #3D2F33;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #FAF3E8;
  outline: none;
  resize: vertical;
  transition: border-color 200ms ease, background 200ms ease;
}
.feel-today-textarea:focus {
  border-color: #D4FF3F;
  background: rgba(26, 20, 22, 0.85);
}
.feel-today-textarea::placeholder { color: rgba(168, 144, 152, 0.45); }
.feel-today-hint {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(168, 144, 152, 0.65);
  letter-spacing: 0.02em;
  font-style: italic;
}
.feel-today-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  align-items: center;
}
.feel-today-saved {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #D4FF3F;
  letter-spacing: 0.02em;
}

/* AI counselor placeholder */
.feel-counselor-section { padding-top: clamp(40px, 5vw, 64px); }
.feel-counselor-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  padding: clamp(28px, 3.5vw, 44px);
  background: #241B1E;
  border: 1px dashed #3D2F33;
  border-radius: 20px;
}
.feel-counselor-art {
  width: clamp(72px, 9vw, 104px);
  height: clamp(72px, 9vw, 104px);
  background:
    radial-gradient(ellipse at center, rgba(45, 107, 255, 0.18) 0%, transparent 65%),
    #1A1416;
  border: 1px solid #3D2F33;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2D6BFF;
}
.feel-counselor-art svg { width: 60%; height: 60%; }

.feel-counselor-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2D6BFF;
  background: rgba(45, 107, 255, 0.12);
  border: 1px solid rgba(45, 107, 255, 0.30);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.feel-counselor-title {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #FAF3E8;
  margin: 0 0 12px;
  padding-bottom: 0.04em;
}
.feel-counselor-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #A89098;
  margin: 0 0 18px;
  max-width: 56ch;
}

@media (max-width: 640px) {
  .feel-counselor-card { grid-template-columns: 1fr; }
  .feel-counselor-art { justify-self: start; }
  .feel-today-prompt { font-size: clamp(22px, 7vw, 32px); }
}

/* =============================================
   v21 — Editorial pages (about / privacy)
   ============================================= */

.prose-hero {
  position: relative;
  padding: clamp(72px, 9vw, 132px) 0 clamp(32px, 4vw, 56px);
  background:
    radial-gradient(ellipse 70% 55% at 18% 12%, rgba(255, 90, 110, 0.12) 0%, transparent 62%),
    #1A1416;
}
.prose-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}
.prose-hero-title {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: #FAF3E8;
  margin: 12px 0 18px;
  padding-bottom: 0.06em;
}
.prose-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.5;
  color: #A89098;
  margin: 0;
  max-width: 48ch;
}

/* Body sections */
.prose-section {
  padding: clamp(32px, 4.5vw, 56px) 0;
  border-top: 1px solid rgba(245, 239, 228, 0.06);
}
.prose-section:first-of-type { border-top: none; }
.prose-lead {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #FAF3E8;
  margin: 0 0 20px;
}
.prose-body {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.7;
  color: #C9BBC0;
  margin: 0 0 18px;
  max-width: 62ch;
}
.prose-body:last-child { margin-bottom: 0; }
.prose-body strong { color: #FAF3E8; font-weight: 600; }
.prose-body em { color: #FF5A6E; font-style: normal; }
.prose-body a { color: #FF5A6E; text-decoration: none; border-bottom: 1px solid rgba(255, 90, 110, 0.4); }
.prose-body a:hover { border-bottom-color: #FF5A6E; }

.prose-section-eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A89098;
  margin-bottom: 16px;
}

/* Pull-quote — brand essence, big and chaotic */
.prose-pull {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #FAF3E8;
  margin: clamp(24px, 4vw, 48px) 0;
  padding-bottom: 0.06em;
}
.prose-pull .hr-hl-accent { color: #FF5A6E; }

/* Privacy: what-we-do cards */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.legal-card {
  --tint: #FF5A6E;
  position: relative;
  padding: 22px 22px 24px;
  background: #241B1E;
  border: 1px solid #3D2F33;
  border-radius: 14px;
  border-top: 2px solid var(--tint);
}
.legal-card-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tint);
  margin-bottom: 12px;
}
.legal-card-title {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #FAF3E8;
  margin: 0 0 10px;
  padding-bottom: 0.04em;
}
.legal-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #A89098;
  margin: 0;
}

/* Closing CTA strip on editorial pages */
.prose-cta {
  padding: clamp(48px, 7vw, 88px) 0;
  background: #1A1416;
  border-top: 1px solid rgba(245, 239, 228, 0.06);
}
.prose-cta-title {
  font-family: 'Boldonse', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #FAF3E8;
  margin: 0 0 24px;
  padding-bottom: 0.06em;
}
