/* =============================================
   Homepage — Apple-style scroll-driven layout
   ============================================= */

/* Override baseof.html container for full-bleed homepage */
.is-home .container {
    max-width: none;
    padding: 0;
}

/* =============================================
   Keyframes
   ============================================= */

@keyframes hp-fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hp-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes hp-bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50%      { transform: rotate(45deg) translateY(8px); }
}

/* =============================================
   Section 1: Hero
   ============================================= */

.hp-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.hp-hero-logo {
    width: 120px;
    height: 120px;
    max-width: 120px;
    max-height: 120px;
    margin-bottom: 0.75rem;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(91, 76, 219, 0.15);
    opacity: 0;
    animation: hp-fade-up 0.8s ease forwards 0.1s;
}

.hp-hero-title {
    font-size: clamp(2rem, 5vw + 0.5rem, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    opacity: 0;
    animation: hp-fade-up 0.8s ease forwards 0.3s;
}

.hp-hero-headline {
    font-size: clamp(1.15rem, 1.5vw + 0.5rem, 1.6rem);
    color: var(--color-text);
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.3;
    max-width: 560px;
    margin: 0 auto 0.4rem;
    opacity: 0;
    animation: hp-fade-up 0.8s ease forwards 0.5s;
}

.hp-hero-subhead {
    font-size: clamp(0.95rem, 0.5vw + 0.75rem, 1.1rem);
    color: var(--color-text-secondary);
    font-weight: 400;
    line-height: 1.5;
    max-width: 520px;
    margin: 0 auto 2.25rem;
    opacity: 0;
    animation: hp-fade-up 0.8s ease forwards 0.6s;
}

.hp-hero-cta-copy {
    font-size: clamp(1.05rem, 1vw + 0.65rem, 1.35rem);
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.4;
    max-width: 520px;
    margin: 0 auto 0.5rem;
    opacity: 0;
    animation: hp-fade-up 0.8s ease forwards 0.65s;
}

.hp-hero-counter {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    margin: 0 auto 1.5rem;
    opacity: 0;
    animation: hp-fade-up 0.8s ease forwards 0.75s;
}

.hp-hero-counter strong {
    color: var(--color-primary);
    font-weight: 700;
}

.hp-hero-notify {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.55;
    max-width: 560px;
    margin: 1.25rem auto 0;
    opacity: 0;
    animation: hp-fade-up 0.8s ease forwards 1s;
}

.hp-store-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: hp-fade-up 0.8s ease forwards 0.85s;
}

.hp-store-buttons .store-button {
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hp-store-buttons .store-button:hover {
    transform: scale(1.03);
    opacity: 0.92;
}

.hp-store-buttons .store-button img {
    height: 44px;
    width: auto;
    display: block;
}

/* Scroll-down indicator */
.hp-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: hp-fade-in 1s ease forwards 1.5s;
    transition: opacity 0.4s ease;
}

.hp-scroll-indicator.is-hidden {
    opacity: 0 !important;
}

.hp-scroll-arrow {
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-text-secondary);
    border-bottom: 2px solid var(--color-text-secondary);
    transform: rotate(45deg);
    animation: hp-bounce 2s ease infinite 2s;
}

/* =============================================
   Section 2: Feature Showcase
   ============================================= */

.hp-showcase {
    position: relative;
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-background) 100%);
}

.hp-showcase-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Phone — JS toggles is-visible, is-fixed, is-bottom */
.hp-showcase-phone {
    width: 280px;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    /* Default: absolute, pinned to top-left of showcase-inner */
    position: absolute;
    top: 50vh;
    transform: translateY(-50%);
}

.hp-showcase-phone.is-visible {
    opacity: 1;
}

/* Fixed in viewport center while scrolling through steps */
.hp-showcase-phone.is-fixed {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    /* left is set dynamically by JS to align with container */
}

/* Pinned to bottom of showcase when user scrolls past */
.hp-showcase-phone.is-bottom {
    position: absolute;
    top: auto;
    bottom: 0;
    transform: none;
}

.hp-phone-frame {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(0, 0, 0, 0.05);
    background: #000;
    position: relative;
}

.hp-phone-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-phone-img.is-active {
    opacity: 1;
}

/* Text column — offset left to leave room for phone */
.hp-showcase-text {
    margin-left: calc(280px + 4rem);
    min-width: 0;
}

.hp-showcase-step {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
    opacity: 0.15;
    transition: opacity 0.5s ease;
}

.hp-showcase-step.is-active {
    opacity: 1;
}

.hp-step-number {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(91, 76, 219, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    width: fit-content;
}

.hp-step-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hp-step-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 0;
}

/* Mobile inline phone — hidden on desktop */
.hp-step-phone-mobile {
    display: none;
}

/* =============================================
   Section 3: Mission
   ============================================= */

.hp-mission {
    padding: 8rem 2rem;
    text-align: center;
}

.hp-mission-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.hp-mission-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
}

.hp-mission-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    text-align: left;
}

.hp-mission-card {
    flex: 0 1 calc(25% - 1.5rem);
    min-width: 0;
}

.hp-mission-card {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hp-mission-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.hp-mission-icon {
    width: 48px;
    height: 48px;
    background: rgba(91, 76, 219, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.hp-mission-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.hp-mission-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hp-mission-card p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* =============================================
   Scroll-reveal animation
   ============================================= */

.hp-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Stagger mission cards */
.hp-mission-card:nth-child(1) { transition-delay: 0s; }
.hp-mission-card:nth-child(2) { transition-delay: 0.1s; }
.hp-mission-card:nth-child(3) { transition-delay: 0.2s; }
.hp-mission-card:nth-child(4) { transition-delay: 0.3s; }

/* =============================================
   Section 4: Waitlist
   ============================================= */

.hp-waitlist {
    padding: 8rem 2rem;
    background: linear-gradient(160deg, #f0ecff 0%, #e8f4fb 50%, #f3e8fa 100%);
    text-align: center;
}

.hp-waitlist-inner {
    max-width: 600px;
    margin: 0 auto;
}

.hp-waitlist-counter {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.hp-waitlist-counter #waitlist-count {
    font-weight: 700;
    color: var(--color-primary);
}

.hp-waitlist-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.hp-waitlist-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.hp-bottom-cta-line {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.75rem;
}

.hp-rewards-heading {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 3.5rem 0 0.75rem;
    color: var(--color-text);
}

.hp-tier-footnote {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-top: 1rem;
    line-height: 1.6;
}

.hp-tier-terms {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.hp-tier-terms a {
    color: var(--color-text-secondary);
    text-decoration: underline;
}

.hp-waitlist-form {
    display: flex;
    align-items: center;
    max-width: 460px;
    margin: 0 auto;
    background: #fff;
    border-radius: 100px;
    padding: 6px;
    box-shadow: 0 4px 24px rgba(91, 76, 219, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.hp-waitlist-form:focus-within {
    box-shadow: 0 4px 32px rgba(91, 76, 219, 0.15), 0 0 0 2px var(--color-primary);
}

.hp-waitlist-form input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
    color: var(--color-text);
    min-width: 0;
}

.hp-waitlist-form input::placeholder {
    color: #9ca3af;
}

.hp-waitlist-form button {
    flex-shrink: 0;
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: 100px;
    background: var(--color-primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.hp-waitlist-form button:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.hp-waitlist-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.hp-waitlist-form.is-success {
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.12), 0 0 0 2px #10b981;
}

.hp-waitlist-msg {
    font-size: 0.9rem;
    margin-top: 1rem;
    min-height: 1.4em;
    transition: color 0.2s ease;
}

.hp-waitlist-msg.is-success {
    color: #059669;
}

.hp-waitlist-msg.is-error {
    color: #dc2626;
}

/* ── Waitlist success panel ── */

.hp-waitlist-success {
    text-align: left;
    max-width: 460px;
    margin: 0 auto;
}

.hp-success-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hp-success-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #059669;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.hp-success-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.hp-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.hp-tier-label {
    color: var(--color-text-secondary);
}

.hp-tier-name {
    font-weight: 700;
    color: var(--color-primary);
}

.hp-tier-pts {
    color: var(--color-text-secondary);
    font-weight: 500;
}

.hp-tier-next {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

/* Rank CTA banner */
.hp-rank-cta {
    background: var(--color-primary, #5B4CDB);
    color: #fff;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.hp-rank-text {
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.hp-rank-text strong {
    font-size: 1.2rem;
    color: #fff;
}

.hp-rank-jump {
    font-size: 0.9rem;
    margin: 0.25rem 0 0.5rem;
    opacity: 0.9;
}

.hp-rank-cta-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 0.75rem;
    opacity: 0.9;
}

.hp-rank-cta-text strong {
    color: #fff;
}

.hp-rank-cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--color-primary, #5B4CDB);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.hp-rank-cta-btn:hover {
    opacity: 0.9;
}

.status-badge {
    color: var(--color-primary, #5B4CDB);
    font-weight: 700;
}

.hp-cta-tagline {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hp-cta-rewards {
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 0;
    font-size: 0.88rem;
}

.hp-cta-rewards li {
    padding: 0.1rem 0;
}

.hp-cta-rewards li::before {
    content: "•  ";
}

.hp-referral-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.hp-referral-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 0.5rem;
}

.hp-referral-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hp-referral-url {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    word-break: break-all;
    text-decoration: none;
    min-width: 0;
}

.hp-referral-url:hover {
    text-decoration: underline;
}

.hp-referral-copy {
    flex-shrink: 0;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--color-primary);
    border-radius: 100px;
    background: transparent;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.hp-referral-copy:hover {
    background: var(--color-primary);
    color: #fff;
}

.hp-qr-box {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hp-qr-box canvas {
    border-radius: 12px;
    border: 2px solid #e0dff0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.hp-qr-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.hp-qr-label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin: 0;
}

.hp-qr-download {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-primary);
    background: none;
    border: 1.5px solid var(--color-primary);
    border-radius: 6px;
    padding: 0.25em 0.7em;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.hp-qr-download:hover {
    background: var(--color-primary);
    color: #fff;
}

.hp-tier-note {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
}

.hp-free-highlight {
    font-weight: 800;
    color: var(--color-primary);
    background: rgba(91, 76, 219, 0.1);
    padding: 0.1em 0.4em;
    border-radius: 4px;
}

.hp-tier-table {
    font-size: 0.82rem;
    max-width: 460px;
    margin: 0 auto 1.5rem;
}

.hp-tier-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.hp-tier-row:last-child {
    border-bottom: none;
}

.hp-tier-pts-col {
    width: 60px;
    flex-shrink: 0;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.hp-tier-name-col {
    width: 95px;
    flex-shrink: 0;
    font-weight: 600;
}

.hp-tier-reward-col {
    color: var(--color-text-secondary);
}

.hp-tier-winner .hp-tier-name-col {
    color: #FFB300;
    font-weight: 700;
}

.hp-tier-winner .hp-tier-pts-col {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.hp-success-email-note {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0;
    text-align: center;
}

.hp-waitlist-terms {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-top: 0.75rem;
}

.hp-waitlist-terms a {
    color: var(--color-text-secondary);
    text-decoration: underline;
}

.hp-waitlist-or {
    margin: 2rem 0 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =============================================
   Responsive — Tablet (1024px)
   ============================================= */

@media (max-width: 1024px) {
    .hp-showcase-phone {
        width: 220px;
    }

    .hp-showcase-text {
        margin-left: calc(220px + 2.5rem);
    }

    .hp-phone-frame {
        border-radius: 26px;
    }

    .hp-mission-card {
        flex: 0 1 calc(50% - 1rem);
    }

}

/* =============================================
   Responsive — Mobile (768px)
   ============================================= */

@media (max-width: 768px) {
    .hp-hero {
        min-height: 90vh;
        padding: 1.5rem 1rem;
    }

    .hp-hero-logo {
        width: 96px;
        height: 96px;
    }

    .hp-hero-headline {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .hp-hero-subhead {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .hp-hero-counter {
        padding: 0 0.5rem;
    }

    .hp-hero-cta-copy {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .hp-hero-notify {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .hp-scroll-indicator {
        bottom: 1.5rem;
    }

    /* Showcase: stacked layout */
    .hp-showcase {
        background: var(--color-surface);
    }

    .hp-showcase-inner {
        padding: 0 1rem;
    }

    .hp-showcase-phone {
        display: none !important;
    }

    .hp-showcase-text {
        margin-left: 0;
        display: flex;
        flex-direction: column;
        gap: 3rem;
        padding: 4rem 0;
    }

    .hp-showcase-step {
        min-height: auto;
        opacity: 1;
        text-align: center;
        padding: 0;
    }

    /* Show inline phone on mobile */
    .hp-step-phone-mobile {
        display: block;
        width: 220px;
        margin: 2rem auto 0;
    }

    .hp-step-phone-mobile .hp-phone-frame {
        position: relative;
        top: auto;
        transform: none;
        aspect-ratio: 9 / 19.5;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        background: #000;
    }

    .hp-step-phone-mobile img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Store buttons — smaller on mobile */
    .hp-store-buttons .store-button img {
        height: 40px;
    }

    /* Each step fades in on mobile */
    .hp-showcase-step {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .hp-showcase-step.is-visible,
    .hp-showcase-step.is-active {
        opacity: 1;
        transform: translateY(0);
    }

    .hp-step-desc {
        max-width: 100%;
    }

    /* Mission */
    .hp-mission {
        padding: 4rem 1rem;
    }

    .hp-mission-heading {
        margin-bottom: 2.5rem;
    }

    .hp-mission-grid {
        gap: 1.5rem;
    }

    .hp-mission-card {
        flex: 0 0 100%;
        text-align: center;
    }

    .hp-mission-icon {
        margin: 0 auto 1.25rem;
    }

    /* Waitlist */
    .hp-waitlist {
        padding: 4rem 1rem;
    }

    .hp-waitlist-form {
        flex-direction: column;
        border-radius: 16px;
        padding: 8px;
    }

    .hp-waitlist-form input {
        width: 100%;
        text-align: center;
        padding: 0.85rem 1rem;
    }

    .hp-waitlist-form button {
        width: 100%;
        margin-top: 4px;
    }

    .hp-waitlist-success {
        text-align: left;
    }

    .hp-referral-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hp-referral-copy {
        text-align: center;
    }

    .hp-tier-name-col {
        width: 70px;
    }
}

/* =============================================
   Responsive — Small phones (480px)
   ============================================= */

@media (max-width: 480px) {
    .hp-hero {
        min-height: 85vh;
    }

    .hp-hero-logo {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .hp-store-buttons .store-button img {
        height: 36px;
    }

    .hp-step-phone-mobile {
        width: 180px;
    }

    .hp-step-phone-mobile .hp-phone-frame {
        border-radius: 18px;
    }

    .hp-mission {
        padding: 3rem 1rem;
    }

    .hp-waitlist {
        padding: 3rem 1rem;
    }
}

/* =============================================
   Reduced motion
   ============================================= */

@media (prefers-reduced-motion: reduce) {
    .hp-hero-logo,
    .hp-hero-title,
    .hp-hero-headline,
    .hp-hero-subhead,
    .hp-hero-counter,
    .hp-hero-cta-copy,
    .hp-hero-notify,
    .hp-store-buttons,
    .hp-qr-fallback,
    .hp-scroll-indicator {
        animation: none;
        opacity: 1;
    }

    .hp-scroll-arrow {
        animation: none;
    }

    .hp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hp-showcase-step {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hp-phone-img {
        transition: none;
    }
}
