/* =============================================================================
   motto-landing.css — DA FRONT-END REVAMP, Phase 1 (First-Impression Shell)
   -----------------------------------------------------------------------------
   The public marketing landing page (research/03 §4.2) and its motto Text
   Reel mechanic (motto-slot-machine-brief.md §2/§9). Per the brief's decision
   log and INDEX.md §5.3, this imagery is placed ONLY on the unauthenticated
   marketing landing — never the Play Store listing, never the cold-start
   splash. Token-only: every color/spacing value resolves an EXISTING token
   already defined in site.css / v2-primitives.css. Zero new hex.
   ============================================================================= */

.landing-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-12, 48px);
    max-width: var(--content-max-w, 1280px);
    margin: 0 auto;
    padding: var(--space-12, 48px) var(--space-4, 16px);
    text-align: center;
}

.landing-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6, 24px);
}

/* .v2-display (site.css) already provides Sora 700 / 32px / --text-primary —
   the exact --fs-display token research/03 §4.2 calls for. This class only
   adds the flex layout needed to lay the reel inline with the static text. */
.landing-motto {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.35em;
    margin: 0;
    line-height: 1.25;
}

/* The Text Reel: one word tall viewport, a vertical track of words scrolled
   into view — brief §9's "spin -> settle -> resolve" beats, expressed as a
   CSS transform driven by motto-landing.js toggling data-index. Motion
   vocabulary matches the rest of the app (ease-out, no bounce/spring) and is
   fully killed under prefers-reduced-motion (settles straight on "money"). */
.motto-reel {
    display: inline-block;
    overflow: hidden;
    height: 1.25em;
    vertical-align: bottom;
}

.motto-reel-track {
    display: flex;
    flex-direction: column;
    transition: transform 280ms ease-out;
}

.motto-reel-word {
    display: block;
    height: 1.25em;
    line-height: 1.25em;
    color: var(--accent-primary);
    font-weight: 700;
}

.motto-reel-word--jackpot {
    color: var(--accent-hero, var(--accent-primary));
}

@media (prefers-reduced-motion: reduce) {
    .motto-reel-track {
        transition: none;
    }
}

/* Decorative reel-symbol row (see Landing.cshtml's comment on the
   Image Slot Machine asset gap). Flat, single-color glyphs only. */
.landing-reel-window {
    display: flex;
    gap: var(--space-4, 16px);
}

.landing-reel-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    font-size: 24px;
}

.landing-cta {
    min-height: 48px;
    padding: 0 var(--space-6, 24px);
    display: inline-flex;
    align-items: center;
}

.landing-value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-8, 32px);
    width: 100%;
}

.landing-value-prop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2, 8px);
}

.landing-value-icon {
    font-size: 28px;
    color: var(--accent-primary);
}

.landing-community-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3, 12px);
}

.landing-lineage-teaser {
    display: flex;
    align-items: center;
    gap: var(--space-2, 8px);
}

.landing-lineage-node {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-subtle);
}

.landing-lineage-node--you {
    border-color: var(--accent-hero, var(--accent-primary));
    background: var(--accent-hero, var(--accent-primary));
}

.landing-lineage-line {
    width: 32px;
    height: 2px;
    background: var(--border-subtle);
}

.landing-community-quote {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-style: italic;
}
