:root {
    --brand: #16a34a;
    --brand-light: #22c55e;
    --brand-dark: #15803d;
    --accent: #f97316;
    --dark: #111827;
    --ink: #111827;
    --muted: #6b7280;
    --bg: #f8fafc;
    --card: #ffffff;
    --border: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04), 0 1px 3px rgba(17, 24, 39, 0.06);
    --shadow-md: 0 4px 6px rgba(17, 24, 39, 0.04), 0 10px 20px rgba(17, 24, 39, 0.06);
    --shadow-lg: 0 12px 24px rgba(17, 24, 39, 0.08), 0 24px 48px rgba(17, 24, 39, 0.08);
    --radius-lg: 20px;
    --radius-xl: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand-dark);
    text-decoration: none;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Public site ---------- */

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

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 56px;
}

.section-head h2 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.section-head p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(248, 250, 252, 0.72);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--dark);
    cursor: pointer;
}

.site-header .logo {
    font-weight: 800;
    font-size: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    height: 34px;
    display: block;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-header nav a {
    padding: 9px 14px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-header nav a:hover {
    background: rgba(17, 24, 39, 0.06);
}

.site-header nav a.btn,
.site-header nav a.btn:hover {
    background: var(--brand);
    color: #fff;
}

.site-header nav a.is-active {
    background: rgba(17, 24, 39, 0.06);
}

/* Sub-page hero (About / How it works / FAQ / Delivery partner) */

.page-hero {
    padding: 64px 24px 56px;
    text-align: center;
    background: linear-gradient(180deg, #ecfdf5 0%, var(--bg) 100%);
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
    color: var(--dark);
}

.page-hero p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
}

.page-hero p a {
    font-weight: 600;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand);
    color: #fff;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--brand-dark);
}

.btn.secondary {
    background: #fff;
    color: var(--dark);
    border: 1.5px solid var(--border);
    box-shadow: none;
}

.btn.secondary:hover {
    border-color: var(--brand);
    color: var(--brand-dark);
    box-shadow: var(--shadow-sm);
}

.btn.dark {
    background: var(--dark);
}

.btn.dark:hover {
    background: #000;
}

.cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero */

.hero {
    position: relative;
    padding: 120px 24px 100px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    filter: blur(10px);
    z-index: -1;
    opacity: 0.35;
}

.hero::before {
    background: radial-gradient(circle, #86efac 0%, transparent 70%);
    top: -220px;
    left: -160px;
}

.hero::after {
    background: radial-gradient(circle, #bbf7d0 0%, transparent 70%);
    top: -160px;
    right: -200px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: var(--brand-dark);
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    padding: 7px 16px 7px 10px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
}

.badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-light);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.hero h1 {
    font-size: 58px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin: 0 0 20px;
    color: var(--dark);
}

.hero h1 .accent {
    color: var(--brand);
}

.hero p {
    font-size: 18px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 32px;
}

.hero .cta-row {
    margin-bottom: 56px;
}

.trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.trust-row span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-row svg {
    flex-shrink: 0;
    color: var(--brand);
}

/* Phone mockup (hero + app-screens section) */

.phone-showcase {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 72px auto 0;
    perspective: 1400px;
}

.phone-frame {
    width: 240px;
    height: 500px;
    border-radius: 36px;
    background: var(--dark);
    padding: 10px;
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
}

.phone-frame.tilt-left {
    transform: rotate(-6deg) translateY(18px);
}

.phone-frame.tilt-right {
    transform: rotate(6deg) translateY(18px);
}

@media (max-width: 760px) {
    .phone-frame.tilt-left,
    .phone-frame.tilt-right {
        display: none;
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-screen .ps-topbar {
    background: var(--card);
    padding: 16px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.phone-screen .ps-pill {
    height: 30px;
    border-radius: 10px;
    background: #f1f3f4;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.phone-screen .ps-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
}

.phone-screen .ps-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ecfdf5;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-screen .ps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 10px 14px;
}

.phone-screen .ps-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    height: 96px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.phone-screen .ps-card-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: #ecfdf5;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screen .ps-card .ps-line {
    margin: 0;
}

.phone-screen .ps-card .ps-line.short {
    width: 55%;
}

.phone-screen .ps-card .ps-price {
    margin-top: auto;
    font-size: 11px;
    font-weight: 800;
    color: var(--dark);
}

.phone-screen .ps-band {
    margin: 4px 14px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, #86efac, #4ade80);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    color: #fff;
}

.phone-screen .ps-band span {
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.3;
}

.phone-screen .ps-line {
    height: 10px;
    border-radius: 6px;
    background: #e5e9ec;
    margin: 0 14px 8px;
}

.phone-screen .ps-line.short {
    width: 40%;
}

/* Stats */

.stats {
    padding: 64px 24px;
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

@media (max-width: 760px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.stat-value .suffix {
    color: var(--brand);
}

.stat-label {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

/* Features */

.features {
    padding: 96px 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1160px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #ecfdf5;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* How it works */

.how {
    padding: 96px 24px;
    background: var(--card);
}

.how-steps {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

@media (max-width: 800px) {
    .how-steps {
        grid-template-columns: 1fr;
    }
}

.how-step {
    text-align: center;
    position: relative;
}

.how-step .step-num {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.how-step h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
}

.how-step p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 260px;
    margin-inline: auto;
}

/* Benefits (split layout) */

.benefits {
    padding: 96px 24px;
}

.benefits-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 800px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.benefits-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.benefits-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--ink);
}

.benefits-list li strong {
    display: block;
    margin-bottom: 2px;
}

.benefits-list .check {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ecfdf5;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-visual {
    background: linear-gradient(160deg, #111827 0%, #14532d 130%);
    border-radius: var(--radius-xl);
    min-height: 380px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.benefits-visual .phone-frame {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* Testimonials */

.testimonials {
    padding: 96px 24px;
    background: var(--card);
}

.testimonials-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.testimonial-card .stars {
    color: #f59e0b;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 14px;
}

.testimonial-card p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}

.testimonial-author .name {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
}

.testimonial-author .role {
    font-size: 13px;
    color: var(--muted);
}

/* FAQ */

.faq {
    padding: 96px 24px;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 4px 22px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 15.5px;
    color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary .chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: var(--muted);
}

.faq-item[open] summary .chevron {
    transform: rotate(180deg);
}

.faq-item p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

/* Download CTA band */

.download-cta {
    margin: 0 24px 96px;
    max-width: 1160px;
    margin-inline: auto;
    background: linear-gradient(135deg, #111827 0%, #14532d 100%);
    border-radius: var(--radius-xl);
    padding: 72px 48px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.download-cta h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.download-cta p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    margin: 0 0 32px;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 11px 20px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.15s ease;
}

.store-badge:hover {
    background: rgba(255, 255, 255, 0.16);
}

.store-badge .store-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-badge .store-label small {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.6);
}

/* Contact */

.contact {
    padding: 0 24px 96px;
}

.contact-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.contact-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    text-align: center;
}

.contact-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ecfdf5;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.contact-card h3 {
    margin: 0 0 4px;
    font-size: 15px;
}

.contact-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* Footer */

.site-footer {
    padding: 56px 24px 32px;
    border-top: 1px solid var(--border);
    background: var(--card);
}

.footer-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    text-align: left;
    padding-bottom: 32px;
}

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

.footer-grid .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.footer-grid p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 260px;
    margin: 0;
}

.footer-col h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin: 0 0 14px;
}

.footer-col a {
    display: block;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--brand-dark);
}

.footer-bottom {
    max-width: 1160px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    text-align: left;
}

.site-footer .credit a {
    font-weight: 700;
}

/* ---------- Delivery panel ---------- */

.delivery-splash {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--brand-dark);
    color: #fff;
    text-align: center;
    gap: 12px;
}

.delivery-splash .logo-mark {
    background: #fff;
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.delivery-splash .logo-mark img {
    display: block;
    height: 96px;
    width: 96px;
}

.delivery-splash .tagline {
    opacity: 0.85;
    font-size: 14px;
}

.delivery-splash .spinner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-top: 12px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.splash-credit {
    position: absolute;
    bottom: 28px;
    font-size: 12px;
    opacity: 0.8;
}

.splash-credit a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

.delivery-shell {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--card);
    display: flex;
    flex-direction: column;
}

.delivery-topbar {
    background: var(--brand-dark);
    color: #fff;
    padding: 18px 20px;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.delivery-topbar form button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

.delivery-content {
    flex: 1;
    padding: 20px;
}

.delivery-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
}

.availability-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status-pill.online {
    background: #ecfdf5;
    color: var(--brand-dark);
}

.status-pill.offline {
    background: #f3f4f6;
    color: var(--muted);
}

.toggle-btn {
    border: none;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
}

.toggle-btn.go-online {
    background: var(--brand);
    color: #fff;
}

.toggle-btn.go-offline {
    background: #fee2e2;
    color: #b91c1c;
}

.earnings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
}

.earnings-grid .stat-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-dark);
}

.earnings-grid .stat-label {
    font-size: 12px;
    color: var(--muted);
}

.login-shell {
    max-width: 420px;
    margin: 60px auto;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
}

.login-shell h1 {
    font-size: 22px;
    margin-top: 0;
}

.login-shell input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 14px;
}

.error-text {
    color: #b91c1c;
    font-size: 13px;
    margin-bottom: 12px;
}

.status-text {
    color: var(--brand-dark);
    font-size: 13px;
    margin-bottom: 12px;
}

/* ---------- Setup wizard ---------- */

.setup-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.setup-card {
    width: 100%;
    max-width: 440px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.setup-logo {
    display: block;
    height: 48px;
    margin: 0 auto 20px;
}

.setup-steps {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 24px;
}

.setup-step {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    padding-bottom: 8px;
    border-bottom: 3px solid var(--border);
}

.setup-step.current {
    color: var(--brand-dark);
    border-bottom-color: var(--brand);
}

.setup-step.done {
    color: var(--brand-dark);
    border-bottom-color: var(--brand-dark);
}

.setup-card h1 {
    font-size: 20px;
    margin: 0 0 8px;
}

.setup-lede {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px;
}

.setup-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.setup-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 16px;
}

.setup-btn {
    display: block;
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.setup-btn-link {
    text-decoration: none;
}

.setup-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.setup-error p {
    color: #b91c1c;
    font-size: 13px;
    margin: 0;
    white-space: pre-wrap;
}

/* ---------- Mobile responsiveness (public marketing site) ---------- */
/* Appended last on purpose: these @media rules need to win over every earlier declaration
   of the same selector at the same specificity, and later-in-file wins ties in CSS. */

@media (max-width: 760px) {
    .nav-toggle {
        display: flex;
    }

    .site-header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: var(--card);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        padding: 8px 16px 16px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .site-header nav.is-open {
        max-height: 70vh;
        overflow-y: auto;
    }

    .site-header nav a {
        padding: 12px 10px;
        border-radius: 10px;
    }

    .site-header nav a.btn {
        margin-top: 8px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 18px;
    }

    /* Header */
    .site-header {
        padding: 12px 16px;
    }

    .site-header .logo {
        font-size: 17px;
    }

    .brand-mark {
        height: 28px;
    }

    /* Hero */
    .hero {
        padding: 52px 18px 64px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.15;
    }

    .hero p {
        font-size: 15.5px;
    }

    .hero .cta-row {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 40px;
    }

    .hero .cta-row .btn {
        width: 100%;
    }

    .trust-row {
        gap: 14px;
        font-size: 12px;
    }

    .phone-showcase {
        margin-top: 40px;
    }

    .phone-frame {
        width: 180px;
        height: 376px;
    }

    /* Sub-page hero */
    .page-hero {
        padding: 44px 18px 40px;
    }

    .page-hero h1 {
        font-size: 30px;
    }

    .page-hero p {
        font-size: 15.5px;
    }

    /* Section spacing/type, shared across sections */
    .stats {
        padding: 40px 18px;
    }

    .stat-value {
        font-size: 30px;
    }

    .features,
    .how,
    .benefits,
    .testimonials,
    .faq {
        padding: 56px 18px;
    }

    .section-head {
        margin-bottom: 36px;
    }

    .section-head h2 {
        font-size: 26px;
    }

    .section-head p {
        font-size: 15px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .benefits-grid {
        gap: 32px;
    }

    .benefits-visual {
        min-height: 280px;
        padding: 20px;
    }

    .how-step .step-num {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }

    /* Download CTA band */
    .download-cta {
        margin: 0 18px 64px;
        padding: 44px 24px;
    }

    .download-cta h2 {
        font-size: 26px;
    }

    .store-badges {
        flex-direction: column;
        align-items: stretch;
    }

    .store-badge {
        justify-content: center;
    }

    /* Contact */
    .contact {
        padding: 0 18px 64px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        text-align: left;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 29px;
    }

    .phone-showcase {
        gap: 16px;
    }

    .phone-frame {
        width: 150px;
        height: 314px;
    }
}
