/* ---- Reset ---- */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
    background-color: #CC6600;
    color: #FFFFFF;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #FFFFFF;
    text-underline-offset: 2px;
}

a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ---- Two-Column Layout (Home) ---- */

.page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    overflow: hidden;
}

/* ---- Left Column: Phone ---- */

.left {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 60px 32px 60px 40px;
}

.phone-screenshot {
    max-width: 300px;
    width: 100%;
    border-radius: 0;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7));
}

/* ---- Right Column: Content ---- */

.right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 60px 48px 32px;
    gap: 40px;
}

/* ---- Hero ---- */

.hero-name {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 400;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 0;
}

.hero-description {
    font-size: 1.05rem;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.6;
    max-width: 420px;
}

.app-store-badge {
    display: inline-block;
}

.app-store-badge img {
    height: 48px;
    width: auto;
}

/* ---- How It Works ---- */

.how-it-works-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

.step {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1;
    flex-shrink: 0;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.step-desc {
    font-size: 1rem;
    color: #FFFFFF;
    font-weight: 500;
    line-height: 1.4;
}

/* ---- Footer ---- */

.footer {
    padding-top: 16px;
}

.footer-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
}

.footer-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ---- Article Pages (Privacy, Terms) ---- */

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 48px 24px;
}

.header a {
    text-decoration: none;
    color: #FFFFFF;
}

.app-name {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.page-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 4px;
}

.effective-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 8px;
}

p {
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 12px;
}

ul {
    margin: 0 0 12px 20px;
    color: #FFFFFF;
}

li {
    margin-bottom: 4px;
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.back-link:hover {
    color: rgba(255, 255, 255, 0.95);
}

/* ---- Responsive: Stack on Mobile ---- */

@media (max-width: 768px) {
    .page {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow: visible;
    }

    .left {
        justify-content: center;
        padding: 48px 24px 16px;
    }

    .phone-screenshot {
        max-width: 200px;
        border-radius: 24px;
    }

    .right {
        padding: 16px 24px 48px;
        gap: 24px;
        text-align: center;
        align-items: center;
    }

    .hero-name {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .how-it-works-section {
        gap: 16px;
    }

    .steps {
        gap: 12px;
    }

    .step-number {
        font-size: 1.5rem;
    }

    .step {
        justify-content: center;
    }
}
