<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
    <title>Flighty Friends Invite</title>
    <meta name="twitter:card" content="summary_large_image">
    <meta property="og:image" content="https://friends.flighty.com/content/59e6898a-de0d-4ae5-ab66-38db628944d6/flighty-friends-card.png" />
    <meta property="twitter:image" content="https://friends.flighty.com/content/59e6898a-de0d-4ae5-ab66-38db628944d6/flighty-friends-card.png" />
    <meta name="twitter:site" content="@flighty">
    <meta name="twitter:title" content="Flighty Friends Invite">
    <meta name="flighty" content="app-id=1358823008">
    <meta name="apple-itunes-app" content="app-id=1358823008, affiliate-data=ct=FlightyFriendsInviteBanner">
    <style>
        @property --btn-angle {
            syntax: '<angle>';
            initial-value: 145deg;
            inherits: false;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            --text-primary: #000000;
            --text-secondary: rgba(60, 60, 67, 0.6);
            --bg-primary: #ffffff;
            --button-bg: #000000;
            --button-text: #ffffff;
            --button-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
        }

        html, body {
            height: 100%;
            background-color: var(--bg-primary);
        }

        body {
            font-family: ui-rounded, -apple-system, "SF Pro Rounded", "Helvetica Neue", Arial, sans-serif;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            letter-spacing: -0.022em;
            color: var(--text-primary);
            background-color: var(--bg-primary);
        }

        .page {
            max-width: 430px;
            margin: 0 auto;
            min-height: 100dvh;
            display: flex;
            flex-direction: column;
            padding: max(16px, env(safe-area-inset-top)) 20px 24px;
        }

        /* Header */
        .page-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 11px;
            text-decoration: none;
        }

        .logo-icon {
            width: 32px;
            height: 32px;
            border-radius: 7px;
        }

        .logo-wordmark {
            height: 16px;
            width: auto;
        }

        .whats-flighty-btn {
            background: transparent;
            color: rgba(60, 60, 67, 0.64);
            border: 1px solid rgba(60, 60, 67, 0.22);
            border-radius: 1000px;
            padding: 7px 14px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            white-space: nowrap;
            -webkit-tap-highlight-color: transparent;
            transition: background-color 0.2s ease, border-color 0.2s ease;
        }

        .whats-flighty-btn:hover {
            background-color: rgba(60, 60, 67, 0.06);
            border-color: rgba(60, 60, 67, 0.32);
        }

        .whats-flighty-btn:active {
            animation: none;
            transform: translateY(0);
            background-color: rgba(60, 60, 67, 0.1);
        }

        @keyframes btn-spin {
            from {
                --btn-angle: 0deg;
            }
            to {
                --btn-angle: 360deg;
            }
        }

        /* Hero image */
        .hero-image {
            width: 100%;
            display: block;
            object-fit: cover;
            aspect-ratio: 16 / 9;
            margin-top: auto;
        }

        /* Main content */
        .content {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: auto;
        }

        .title {
            font-size: 28px;
            font-weight: 700;
            line-height: 34px;
            color: var(--text-primary);
        }

        .body-content {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .description {
            font-size: 17px;
            font-weight: 500;
            line-height: 22px;
            color: var(--text-secondary);
        }

        .steps-intro {
            font-size: 17px;
            font-weight: 500;
            line-height: 22px;
            color: var(--text-primary);
        }

        .steps-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
            list-style: none;
        }

        .step-item {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            color: var(--text-primary);
        }

        .step-number {
            width: 24px;
            height: 24px;
            min-width: 24px;
            background-color: var(--text-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--bg-primary);
            font-size: 13px;
            font-weight: 600;
            line-height: 1;
        }

        .step-text {
            font-size: 17px;
            font-weight: 500;
            line-height: 22px;
            padding-top: 1px;
        }

        /* CTA */
        .cta-section {
            margin-top: 24px;
            padding-bottom: max(20px, env(safe-area-inset-bottom));
        }

        .cta-button {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            background: linear-gradient(rgb(39, 40, 47) 0%, rgb(13, 12, 15) 100%);
            color: var(--button-text);
            border: none;
            border-radius: 1000px;
            padding: 0 20px;
            height: 50px;
            font-size: 17px;
            font-weight: 500;
            text-align: center;
            cursor: pointer;
            text-decoration: none;
            -webkit-tap-highlight-color: transparent;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2),
            0 8px 18px rgba(0, 0, 0, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
            transition: box-shadow 0.2s ease, opacity 0.15s ease;
        }

        .cta-button:hover {
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2),
            0 12px 24px rgba(0, 0, 0, 0.24),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
        }

        .cta-button:active {
            opacity: 0.75;
        }

        /* Desktop card */
        @media (min-width: 720px) {
            html, body {
                height: auto;
            }

            body {
                background-color: #ffffff;
                display: flex;
                flex-direction: column;
                align-items: center;
                min-height: 100dvh;
                padding: 40px 20px;
            }

            .page {
                max-width: 560px;
                width: calc(100% - 80px);
                min-height: unset;
                margin: auto;
                padding: 24px 20px 24px;
                border-radius: 24px;
                background-color: var(--bg-primary);
                outline: 1px solid rgba(0, 0, 0, 0.07);
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04),
                0 8px 16px rgba(0, 0, 0, 0.06),
                0 24px 48px rgba(0, 0, 0, 0.08);
            }

            .page-header {
                margin-bottom: 16px;
            }

            .hero-image {
                margin-top: 0;
            }

            .content {
                margin-top: 24px;
            }
        }

        /* Dark mode */
        @media (prefers-color-scheme: dark) {
            :root {
                --text-primary: #ffffff;
                --text-secondary: rgba(235, 235, 245, 0.6);
                --bg-primary: #1c1c1e;
                --button-bg: #ffffff;
                --button-text: #000000;
                --button-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
            }

            .logo-wordmark {
                filter: invert(1);
            }

            .whats-flighty-btn {
                color: rgba(235, 235, 245, 0.64);
                border-color: rgba(235, 235, 245, 0.24);
            }

            .whats-flighty-btn:hover {
                background-color: rgba(235, 235, 245, 0.08);
                border-color: rgba(235, 235, 245, 0.34);
            }

            .whats-flighty-btn:active {
                background-color: rgba(235, 235, 245, 0.12);
            }

            .cta-button {
                background: linear-gradient(#ffffff 0%, #f2f2f7 100%);
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.34),
                0 8px 18px rgba(0, 0, 0, 0.38),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
            }

            @media (min-width: 720px) {
                body {
                    background-color: #000000;
                }

                .page {
                    outline: 1px solid rgba(255, 255, 255, 0.08);
                    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3),
                    0 8px 16px rgba(0, 0, 0, 0.4),
                    0 24px 48px rgba(0, 0, 0, 0.5);
                }
            }
        }
    </style>
</head>
<body>
<main class="page">
    <header class="page-header">
        <a class="logo" href="https://www.flighty.com">
            <img class="logo-icon" src="content/59e6898a-de0d-4ae5-ab66-38db628944d6/flighty-icon.png" alt="Flighty icon"/>
            <img class="logo-wordmark" src="content/59e6898a-de0d-4ae5-ab66-38db628944d6/flighty-wordmark.svg" alt="Flighty"/>
        </a>
        <a class="whats-flighty-btn" href="https://www.flighty.com">What is Flighty?</a>
    </header>

    <img class="hero-image" src="content/59e6898a-de0d-4ae5-ab66-38db628944d6/invite-expired.png" alt="Flighty Friends"/>

    
    <div class="content">
        <h1 class="title">Invite Expired</h1>
        <div class="body-content">
            <p class="description">Someone invited you to share flights, but this invite has expired. Download or update Flighty — then ask them to send a new one.</p>
            <p class="steps-intro">To accept this invite:</p>
            <ol class="steps-list" aria-label="Steps to accept invite">
                <li class="step-item">
                    <span class="step-number" aria-hidden="true">1</span>
                    <span class="step-text">Download or update Flighty</span>
                </li>
                <li class="step-item">
                    <span class="step-number" aria-hidden="true">2</span>
                    <span class="step-text">Ask them for a new invite</span>
                </li>
            </ol>
        </div>
    </div>


    <div class="cta-section">
        <a class="cta-button" href="https://apps.apple.com/app/apple-store/id1358823008?pt=118988326&amp;ct=FlightyFriendsInvite&amp;mt=8" role="button">Download or Update Flighty</a>
    </div>
</main>
</body>
</html>
