:root {
    --primary: #10b981;
    --primary-dark: #047857;
    --text: #0f172a;
    --muted: #475569;
    --bg: #f8fafc;
    --card: #ffffff;
    --border: #e2e8f0;
    --blue: #2563eb;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #ecfdf5 0%, var(--bg) 180px);
    color: var(--text);
}

.hero {
    padding: 56px 0 24px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.hero-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    flex-shrink: 0;
}

.badge-soft {
    background: #d1fae5;
    color: var(--primary-dark);
    font-weight: 600;
}

h1,
h2,
h3 {
    letter-spacing: 0;
}

p,
li {
    color: var(--muted);
    line-height: 1.7;
}

.nav-links a {
    color: var(--primary-dark);
    font-weight: 600;
    margin-right: 1rem;
    text-decoration: none;
}

.download-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.download-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 2rem;
    align-items: stretch;
}

.download-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.android-mark {
    align-items: center;
    background: #d1fae5;
    border-radius: 16px;
    color: var(--primary-dark);
    display: inline-flex;
    font-size: 2rem;
    height: 64px;
    justify-content: center;
    margin-bottom: 1.25rem;
    width: 64px;
}

.download-main h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}

.download-main p {
    font-size: 1.05rem;
    max-width: 640px;
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 1.5rem 0 1rem;
}

.btn-download,
.btn-playstore,
.btn-secondary-link {
    align-items: center;
    border-radius: 12px;
    display: inline-flex;
    font-weight: 700;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
    text-decoration: none;
}

.btn-download {
    background: var(--primary-dark);
    border: 0;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(4, 120, 87, 0.22);
}

.btn-download:hover {
    background: #065f46;
    color: #ffffff;
}

.btn-download.is-disabled {
    background: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-playstore {
    background: #0f172a;
    border: 0;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.15);
}

.btn-playstore:hover {
    background: #1e293b;
    color: #ffffff;
}

.btn-secondary-link {
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary-link:hover {
    border-color: #bfdbfe;
    color: var(--blue);
}

.release-note {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--muted);
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
    max-width: 640px;
    padding: 1rem;
}

.release-note i {
    color: var(--blue);
    margin-top: 0.25rem;
}

.install-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
}

.install-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.install-card ol {
    margin: 0;
    padding-left: 1.25rem;
}

.install-card li + li {
    margin-top: 0.75rem;
}

.feature-row {
    border-top: 1px solid var(--border);
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.feature-item {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    display: flex;
    font-weight: 700;
    gap: 0.75rem;
    min-height: 56px;
    padding: 0.9rem 1rem;
}

.feature-item i {
    color: var(--primary-dark);
}

.site-footer {
    margin-top: 2rem;
    padding: 1.25rem 0 0.5rem;
    text-align: center;
}

.site-footer p {
    color: #64748b;
    margin-bottom: 0.35rem;
}

.site-footer a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 900px) {
    .download-grid,
    .feature-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 32px;
    }

    .hero-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-logo {
        align-self: flex-end;
        height: 80px;
        width: 80px;
    }

    .download-actions {
        flex-direction: column;
    }

    .btn-download,
    .btn-playstore,
    .btn-secondary-link {
        justify-content: center;
        width: 100%;
    }
}
