/* Presentation page of Pandi (no scripts). Same palette as the app. */
:root {
    --bg: #f5f6fb;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --text: #1e293b;
    --muted: #64748b;
    --border: #e2e8f0;
    --primary: #6366f1;
    --primary-2: #8b5cf6;
    --soft: rgba(99, 102, 241, 0.1);
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b1120;
        --surface: #111a2e;
        --surface-2: #1b2338;
        --text: #e2e8f0;
        --muted: #94a3b8;
        --border: #24304a;
        --primary: #818cf8;
        --primary-2: #a78bfa;
        --soft: rgba(129, 140, 248, 0.16);
        --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    }
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

a {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

.top {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: calc(0.7rem + env(safe-area-inset-top)) 1.25rem 0.7rem;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text);
    text-decoration: none;
}

.brand img {
    border-radius: 22.4%;
}

.brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand strong {
    font-size: 1.25rem;
    font-weight: 800;
}

.brand small {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600;
}

main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

section {
    padding: 3rem 0;
}

h1 {
    font-size: clamp(2rem, 6vw, 3.1rem);
    line-height: 1.12;
    margin: 0.4rem 0 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.2;
    margin: 0 0 1.5rem;
    font-weight: 800;
    text-align: center;
}

h3 {
    font-size: 1.1rem;
    margin: 0.8rem 0 0.3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform .15s, box-shadow .15s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 35%, transparent);
}

.btn--secondary {
    color: var(--text);
    background: var(--surface);
    border-color: var(--border);
}

.btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--primary) 50%, transparent);
    outline-offset: 3px;
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
    padding-top: 3.5rem;
}

.kicker {
    display: inline-block;
    margin: 0;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: var(--soft);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--muted);
    margin: 0 0 1.5rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.phone {
    margin: 0;
    justify-self: center;
}

.phone img,
.feature img {
    display: block;
    border-radius: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: var(--surface);
}

.phone img {
    width: 320px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.feature {
    padding: 1.1rem;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.feature img {
    width: 100%;
    border-radius: 18px;
    box-shadow: none;
}

.feature p,
.extra p,
.step p {
    margin: 0;
    color: var(--muted);
}

.extra-grid,
.install-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.install-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
}

.extra,
.step {
    padding: 1.2rem 1.3rem;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.extra h3,
.step h3 {
    margin-top: 0;
}

.privacy {
    max-width: 760px;
    margin: 0 auto;
}

.checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.checks li {
    padding: 0.9rem 1.1rem 0.9rem 3rem;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    position: relative;
}

.checks li::before {
    content: '✓';
    position: absolute;
    left: 1.1rem;
    top: 0.85rem;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.8rem;
}

.faq {
    max-width: 760px;
    margin: 0 auto;
}

.faq details {
    border-bottom: 1px solid var(--border);
    padding: 0.4rem 0;
}

.faq summary {
    cursor: pointer;
    font-weight: 800;
    padding: 0.6rem 0;
}

.faq p {
    margin: 0 0 0.8rem;
    color: var(--muted);
}

.cta {
    text-align: center;
}

.cta .actions {
    justify-content: center;
}

.footer {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2rem 1.25rem calc(2.5rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
}

.footer p {
    margin: 0.4rem 0;
}

.disclaimer {
    max-width: 640px;
    margin: 0 auto 0.8rem !important;
}

@media (max-width: 820px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 2rem;
        text-align: center;
    }

    .hero .actions {
        justify-content: center;
    }

    .phone img {
        width: 260px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .install-grid,
    .extra-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature img {
        max-width: 280px;
        margin: 0 auto;
    }

    .actions .btn {
        width: 100%;
    }
}
