/* Landing page only. Tokens, buttons, cards and badges come from ../common/common.css */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.narrow {
    max-width: 760px;
}

.btn-lg {
    padding: 14px 24px;
    font-size: 15px;
}

.btn-light {
    background: #fff;
    color: var(--primary);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
}

.site-header .brand {
    padding: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-weight: 500;
    font-size: 14px;
    color: var(--muted);
}

.site-nav a:not(.btn):hover {
    color: var(--ink);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bg);
    font-size: 18px;
}

/* Hero */
.hero {
    background: linear-gradient(180deg, var(--primary-soft), var(--bg));
    padding: 64px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: center;
}

.pill {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

h1 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
    letter-spacing: -.03em;
    font-weight: 800;
    margin-bottom: 16px;
}

.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 26px;
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.chips {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.chips li::before {
    content: "✓ ";
}

/* Phone mockup */
.phone {
    background: #fff;
    border-radius: 32px;
    padding: 22px;
    box-shadow: 0 24px 60px rgba(13, 90, 85, .18);
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
    border: 8px solid var(--ink);
}

.phone-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}

.phone-top span {
    color: var(--muted);
    font-size: 12px;
}

.slot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
}

.slot i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 12px;
    flex-shrink: 0;
}

.slot div {
    flex: 1;
}

.slot small {
    display: block;
    color: var(--muted);
    font-weight: 500;
    font-size: 11px;
}

.slot .badge {
    font-size: 10px;
    padding: 4px 9px;
}

.phone-link {
    margin-top: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 12px;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

/* Sections */
.section {
    padding: 72px 0;
}

.section.alt {
    background: var(--surface);
}

h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    letter-spacing: -.02em;
    text-align: center;
    margin-bottom: 10px;
}

.sub {
    text-align: center;
    color: var(--muted);
    margin-bottom: 36px;
}

.sub.small {
    font-size: 14px;
    margin: 24px 0 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feat .ic {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.feat h3, .steps h3, .plan h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.feat p, .steps p {
    color: var(--muted);
    font-size: 14px;
}

.tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tags li {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 999px;
}

.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 30px;
    text-align: center;
}

.steps b {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
}

/* Pricing */
.offer {
    text-align: center;
    background: var(--amber-soft);
    color: var(--amber);
    font-weight: 600;
    border-radius: 14px;
    padding: 12px;
    max-width: 520px;
    margin: 0 auto 28px;
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
    max-width: 800px;
    margin: 0 auto;
}

.plan {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.plan.best {
    border: 2px solid var(--primary);
}

.plan .badge {
    align-self: flex-start;
}

.price {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.price small {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
}

.plan ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    flex: 1;
}

.plan li::before {
    content: "✓";
    color: var(--sage);
    font-weight: 700;
    margin-right: 8px;
}

/* FAQ */
details.card {
    margin-bottom: 12px;
    padding: 18px 22px;
}

summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    color: var(--primary);
    font-size: 20px;
    line-height: 1;
}

details[open] summary::after {
    content: "–";
}

details p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

/* CTA + footer */
.cta-band {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.cta-band h2 {
    margin-bottom: 22px;
}

.site-footer {
    padding: 24px 0;
    font-size: 13px;
    color: var(--muted);
}

.foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.foot a:hover {
    color: var(--primary);
}

/* Login hint, section tweaks */
.login-hint {
    font-size: 14px;
    color: var(--muted);
    margin: -8px 0 22px;
}

.login-hint a {
    color: var(--primary);
    font-weight: 600;
}

.section.alt .card {
    border: 1px solid var(--line);
}

.btn-ghost {
    border: 2px solid rgba(255, 255, 255, .7);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .12);
}

.cta-row.center {
    justify-content: center;
    margin-bottom: 0;
}

/* Web portal section */
.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: center;
}

h2.left, .sub.left {
    text-align: left;
}

.sub.left {
    margin-bottom: 20px;
}

.ticks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 500;
}

.ticks li::before {
    content: "✓";
    color: var(--sage);
    font-weight: 700;
    margin-right: 10px;
}

.owner-note {
    background: var(--amber-soft);
    color: var(--amber);
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.browser {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(13, 90, 85, .16);
    overflow: hidden;
    border: 1px solid var(--line);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.browser-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4dfe0;
}

.browser-bar span {
    margin-left: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 3px 12px;
    font-size: 11px;
    color: var(--muted);
}

.browser-body {
    display: grid;
    grid-template-columns: 130px 1fr;
    min-height: 250px;
}

.browser-body aside {
    border-right: 1px solid var(--line);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}

.browser-body aside b {
    color: var(--primary);
    font-size: 18px;
    margin: 0 0 8px 8px;
}

.browser-body aside span {
    padding: 7px 10px;
    border-radius: 8px;
}

.browser-body aside .on {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}

.browser-main {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--bg);
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mini-stats div {
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
}

.mini-stats small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}

.mini-stats b {
    font-size: 18px;
}

.mini-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 600;
}

.mini-row i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 10px;
    flex-shrink: 0;
}

.mini-row span {
    flex: 1;
}

.mini-row small {
    display: block;
    color: var(--muted);
    font-weight: 500;
    font-size: 10px;
}

.mini-row .badge {
    font-size: 9px;
    padding: 3px 8px;
}

.price-text {
    font-size: 20px;
    letter-spacing: 0;
    line-height: 1.3;
}

.price-note {
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    margin-top: 18px;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

/* Responsive */
@media (max-width: 860px) {
    .hero {
        padding: 40px 0 52px;
    }

    .hero-grid, .portal-grid {
        grid-template-columns: 1fr;
    }

    .site-nav .btn {
        text-align: center;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #fff;
        padding: 14px 20px 20px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 10px 4px;
    }

    .section {
        padding: 52px 0;
    }
}

@media (max-width: 480px) {
    .browser-body {
        grid-template-columns: 1fr;
    }

    .browser-body aside {
        display: none;
    }

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

    .foot {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
