.app-shell.home-page { padding-top: 24px; padding-bottom: 40px; overflow-wrap: normal; }
.home-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: clamp(24px, 5vw, 72px); padding: 24px 0 64px; }
.home-hero__copy { min-width: 0; }
.home-wordmark { margin: 0 0 20px; font-family: var(--font-display); font-size: clamp(3.5rem, 7.5vw, 6rem); font-weight: 700; line-height: 1; letter-spacing: -0.07em; }
.home-wordmark span { color: var(--color-accent); }
.home-wordmark small { display: inline-block; margin-left: 12px; color: var(--color-muted); font-family: var(--font-main); font-size: clamp(0.75rem, 1.1vw, 1rem); font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.home-page h1, .home-page h2 { margin: 0; font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
.home-page h1 { max-width: 18ch; font-size: clamp(1.7rem, 3.1vw, 2.5rem); line-height: 1.2; }
.home-page h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; }
.home-intro { max-width: 42ch; margin: 20px 0 28px; color: var(--color-muted); font-size: 1.05rem; line-height: 1.65; }
.home-actions { align-items: center; gap: 20px; margin-top: 0; }
.home-play { min-height: 52px; padding: 14px 30px; font-size: 1rem; }
.home-text-link { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; text-decoration: none; font-size: 0.95rem; }
.home-text-link:hover { color: var(--color-accent); }
.home-page a:focus-visible, .home-page button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 5px; }
.home-preview { position: relative; display: block; overflow: hidden; border: 1px solid var(--border-subtle); border-radius: var(--radius-panel); background: var(--color-surface); text-decoration: none; }
.home-preview img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform 300ms ease; }
.home-preview:hover img { transform: scale(1.025); }
.home-preview [hidden] { display: none; }
.home-preview__question { display: flex; flex-direction: column; justify-content: center; min-height: clamp(300px, 33vw, 448px); padding: clamp(20px, 3vw, 36px); background: var(--color-accent-faint); }
.home-preview__prompt { margin: 0; font-family: var(--font-display); font-size: clamp(1rem, 1.8vw, 1.35rem); font-weight: 700; line-height: 1.5; }
.home-preview__question ul { display: grid; gap: 14px; margin: 24px 0 0; padding-left: 20px; font-size: 0.9rem; line-height: 1.5; }
.home-preview__caption { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--color-surface); color: var(--color-text); font-size: 0.95rem; }
.home-preview__title { display: block; font-family: var(--font-display); font-weight: 700; line-height: 1.45; }
.home-preview__play { display: block; margin-top: 6px; color: var(--color-accent); font-size: 0.8rem; }
.home-section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; }
.home-section-heading p { margin: 0; color: var(--color-muted); font-size: 0.9rem; line-height: 1.5; }
.home-formats { scroll-margin-top: 24px; }
.home-format-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.home-format { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 0; padding: 24px 0; border-top: 1px solid var(--border-subtle); text-decoration: none; transition: color 160ms ease; }
.home-format__copy { display: grid; gap: 8px; }
.home-format__title { margin: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.home-format__description { margin: 0; color: var(--color-muted); font-size: 0.9rem; line-height: 1.6; }
.home-format__action { display: inline-flex; gap: 8px; flex-shrink: 0; color: var(--color-accent); font-size: 0.85rem; }
.home-format:hover .home-format__title { color: var(--color-accent); }
.home-mood { margin-top: 48px; padding: 32px 0; border-top: 1px solid var(--border-subtle); }
.home-mood .skin-choice { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px; font-size: 0.82rem; }
.home-skin-swatch { width: 14px; height: 28px; flex-shrink: 0; border-radius: 3px; border: 1px solid currentColor; background: #030603; box-shadow: inset 0 -8px #55ff6a; }
.home-skin-swatch[data-swatch="steampunk-bureau"] { background: #120f0a; box-shadow: inset 0 -8px #e2a84a; }
.home-skin-swatch[data-swatch="indie-zine"] { background: #f4efe3; box-shadow: inset 0 -8px #e4472e; }
.home-skin-swatch[data-swatch="night-lab"] { background: #060814; box-shadow: inset 0 -8px #7cc7ff; }
.home-skin-swatch[data-swatch="paper-archive"] { background: #e9dfca; box-shadow: inset 0 -8px #5c3d21; }
.home-finale { padding: 40px 0 8px; border-top: 1px solid var(--border-subtle); }
.home-finale > .home-play { margin-top: 24px; }
.home-finale .telegram-login-callout { max-width: 760px; margin-top: 32px; }
.home-feedback { margin: 16px 0 0; color: var(--color-warn); line-height: 1.5; }
.home-page [data-home-limit-gate] { margin-top: 20px; }
.home-hero__copy { animation: home-arrive 450ms ease both; }
.home-preview { animation: home-arrive 600ms ease both; }
@keyframes home-arrive { from { transform: translateY(8px); } to { transform: none; } }
@media (max-width: 760px) {
  .app-shell.home-page { padding-top: 12px; }
  .home-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 12px; padding-bottom: 40px; }
  .home-wordmark { font-size: clamp(3.5rem, 15vw, 5rem); }
  .home-intro { margin: 16px 0 24px; }
  .home-preview { max-width: 480px; width: 100%; }
  .home-preview img { aspect-ratio: 1.6; object-position: center; }
  .home-preview__question { min-height: 250px; padding: 24px; }
  .home-format-list { grid-template-columns: 1fr; }
  .home-section-heading { align-items: flex-start; margin-bottom: 16px; }
  .home-mood { margin-top: 32px; }
  .home-mood .home-skin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .home-actions { gap: 12px; }
  .home-play { padding-inline: 22px; }
  .home-format { gap: 12px; }
  .home-format__action { font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__copy, .home-preview { animation: none; }
  .home-preview img, .home-format { transition: none; }
}
