/**
 * Clone of the reference printer-setup lander (no top header).
 */

:root {
    --blue: #2563EB;
    --blue-dark: #1D4ED8;
    --blue-deep: #1E3A8A;
    --blue-soft: #DBEAFE;
    --blue-mist: #F0F7FF;
    --wa: #25D366;
    --wa-hover: #1EBE5A;
    --green: #16A34A;
    --orange: #EA580C;
    --ink: #0F172A;
    --body: #334155;
    --muted: #64748B;
    --line: #E2E8F0;
    --card: #fff;
    --font: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--body);
    background: #fff;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { color: var(--ink); font-weight: 800; line-height: 1.15; }
button, input, select { font: inherit; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 20;
    background: var(--blue); color: #fff; padding: 8px 12px;
}
.skip-link:focus { left: 0; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font-weight: 700; border: 0; border-radius: 10px; cursor: pointer;
    padding: .85em 1.2em; color: #fff; text-decoration: none; line-height: 1.2;
    transition: filter .15s ease, transform .15s ease;
}
.btn:hover { text-decoration: none; filter: brightness(.95); transform: translateY(-1px); }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-blue { background: var(--blue); box-shadow: 0 8px 18px rgba(37, 99, 235, .28); }
.btn-wa { background: var(--wa); box-shadow: 0 8px 18px rgba(37, 211, 102, .32); }
.btn-lg { width: 100%; }
.btn-hero { padding: .95em 1.6em; font-size: 1.02rem; margin: 6px 0 18px; }

/* Hero */
.hero {
    background: #fcfcfa;
    padding: 36px 0 28px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
}
.badge {
    display: inline-block;
    background: #E0ECFF;
    color: var(--blue);
    font-size: .78rem;
    font-weight: 700;
    padding: .35em .8em;
    border-radius: 999px;
    margin-bottom: 12px;
}
.hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.15rem);
    letter-spacing: -.03em;
    margin-bottom: 6px;
}
.hero-sub {
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 10px;
}
.hero-copy { max-width: 46ch; color: var(--muted); margin-bottom: 16px; }

.perk-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 18px;
}
.perk-row span {
    display: flex; align-items: center; gap: 6px;
    font-size: .86rem; font-weight: 600; color: var(--ink);
}
.perk-row i {
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--green);
    position: relative; flex: none;
}
.perk-row i::after {
    content: "";
    position: absolute; left: 4px; top: 3px;
    width: 6px; height: 8px;
    border: 2px solid #fff; border-top: 0; border-left: 0;
    transform: rotate(45deg);
}

.hero-visual {
    max-width: 480px;
}
.hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Form */
.lead-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .12);
    padding: 22px 22px 18px;
}
.lead-card h2 { font-size: 1.28rem; margin-bottom: 4px; }
.lead-kicker { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }

.status-row {
    display: flex; align-items: center; gap: 10px;
    background: #F0FDF4;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 14px;
}
.avatars { display: flex; }
.avatars img {
    width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid #fff; object-fit: cover; margin-left: -8px;
}
.avatars img:first-child { margin-left: 0; }
.status-copy strong { display: block; color: var(--green); font-size: .88rem; }
.status-copy span { font-size: .75rem; color: var(--muted); }

.field { margin-bottom: 10px; }
.field input, .field select {
    width: 100%;
    border: 1px solid #D6DEE8;
    background: #F8FAFC;
    border-radius: 10px;
    padding: .78em .9em;
    color: var(--ink);
    outline: none;
}
.field input:focus, .field select:focus {
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.hp-field { position: absolute; left: -9999px; }

.or-split {
    display: flex; align-items: center; gap: 10px;
    margin: 8px 0;
    color: var(--muted); font-size: .78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
}
.or-split::before, .or-split::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.form-note { text-align: center; margin-top: 10px; font-size: .78rem; color: var(--muted); }
.form-error {
    background: #FEE2E2; color: #991B1B; border-radius: 8px;
    padding: 8px 10px; font-size: .85rem; margin-bottom: 8px;
}
.form-success { text-align: center; padding: 16px 8px; }
.form-success h3 { margin: 8px 0 4px; }
.success-check {
    width: 44px; height: 44px; margin: 0 auto; border-radius: 50%;
    background: #DCFCE7; color: var(--green); display: grid; place-items: center;
    font-size: 1.2rem; font-weight: 800;
}

/* Trust */
.trust { background: #F8FAFC; border-block: 1px solid var(--line); padding: 14px 0; }
.trust-row {
    display: grid; grid-template-columns: repeat(5, 1fr);
    list-style: none; gap: 0;
}
.trust-row li {
    text-align: center; font-size: .86rem; font-weight: 700; color: var(--ink);
    padding: 4px 10px;
    border-right: 1px solid var(--line);
}
.trust-row li:last-child { border-right: 0; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: #F8FAFC; }
.section-head { text-align: center; margin-bottom: 32px; }
.eyebrow {
    display: block; color: var(--orange); font-size: .78rem; font-weight: 800;
    letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); }

.services {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.service {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 22px 16px 18px; text-align: center;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}
.service-ic {
    width: 48px; height: 48px; margin: 0 auto 12px;
    border-radius: 12px; background: var(--blue-mist); color: var(--blue);
    display: grid; place-items: center;
}
.service-ic svg { width: 24px; height: 24px; }
.service:last-child .service-ic { background: #DCFCE7; color: var(--green); }
.service h3 { font-size: .95rem; margin-bottom: 6px; }
.service p { font-size: .82rem; color: var(--muted); }

.steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    list-style: none; gap: 18px; position: relative;
}
.steps li { text-align: center; position: relative; padding-top: 8px; }
.steps li:not(:last-child)::after {
    content: "";
    position: absolute; top: 22px; left: calc(50% + 28px);
    width: calc(100% - 20px); border-top: 2px dashed #BFDBFE;
}
.step-num {
    display: grid; place-items: center;
    width: 28px; height: 28px; margin: 0 auto 10px;
    border-radius: 50%; background: var(--blue); color: #fff;
    font-size: .8rem; font-weight: 800; position: relative; z-index: 1;
}
.step-ic {
    width: 52px; height: 52px; margin: 0 auto 10px;
    border-radius: 50%; background: var(--blue-mist); color: var(--blue);
    display: grid; place-items: center;
}
.step-ic svg { width: 26px; height: 26px; }
.step-ic-green { background: #DCFCE7; color: var(--green); }
.steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps p { font-size: .86rem; color: var(--muted); }

.reviews {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.review {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 22px 20px; box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}
.review p { font-style: italic; color: var(--body); margin-bottom: 14px; }
.review strong { font-size: .92rem; }
.review-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.review-dots span { width: 8px; height: 8px; border-radius: 50%; background: #CBD5E1; }
.review-dots .is-on { background: var(--blue); }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.faq-item button {
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    padding: 14px 16px; font-weight: 700; color: var(--ink);
    display: flex; justify-content: space-between; gap: 10px; align-items: center;
}
.faq-item button span { color: var(--blue); }
.faq-item .faq-a { display: none; padding: 0 16px 14px; color: var(--muted); font-size: .9rem; }
.faq-item.is-open .faq-a { display: block; }

/* Footer CTA */
.bottom-cta { background: #0F2744; color: #fff; padding: 28px 0 22px; }
.bottom-cta-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.cta-left { display: flex; align-items: center; gap: 14px; }
.cta-people { display: flex; }
.cta-people img {
    width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
    border: 3px solid #fff; margin-left: -10px;
}
.cta-people img:first-child { margin-left: 0; }
.bottom-cta h2 { color: #fff; font-size: 1.35rem; margin-bottom: 2px; }
.bottom-cta p { color: rgba(255,255,255,.82); }
.bottom-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.online-pill {
    margin-top: 14px; color: #86EFAC; font-weight: 700; font-size: .92rem;
}
.online-pill .dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: #22C55E; margin-right: 6px;
}

.site-end { background: #0B1C30; color: #94A3B8; padding: 22px 0 28px; }
.disclaimer { font-size: .72rem; line-height: 1.55; max-width: 980px; }
.disclaimer strong { color: #E2E8F0; }
.copy { margin-top: 12px; font-size: .78rem; }
.copy a { color: #93C5FD; }

.ui-ic { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.15em; }
.badge { display: inline-flex; align-items: center; gap: .4em; }
.badge .ui-ic { color: var(--blue); width: .95em; height: .95em; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; }
.form-note .ui-ic { color: var(--green); }
.success-check { display: grid; place-items: center; }
.success-check .ui-ic { width: 22px; height: 22px; }
.trust-row li {
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.trust-row .ui-ic { color: var(--blue); width: 16px; height: 16px; }
.faq-item button .ui-chev { color: var(--blue); transition: transform .18s ease; }
.faq-item.is-open button .ui-chev { transform: rotate(90deg); }

/* Setup overlay */
.setup-overlay {
    position: fixed; inset: 0; z-index: 80;
    background: rgba(15, 23, 42, .72);
    backdrop-filter: blur(8px);
    display: grid; place-items: center;
    padding: 20px;
}
.setup-overlay[hidden] { display: none; }
.setup-modal {
    width: min(440px, 100%);
    background: #fff;
    border-radius: 16px;
    padding: 28px 26px 24px;
    box-shadow: 0 24px 60px rgba(0,0,0,.28);
    text-align: center;
}
.setup-modal h2 { font-size: 1.45rem; margin-bottom: 6px; }
.setup-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.setup-sub { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.setup-modal .field { text-align: left; }
.setup-modal .field label { display: block; font-size: .78rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.setup-monitor { width: 150px; margin: 8px auto 16px; }
.setup-monitor svg { width: 100%; height: auto; }
.progress-track {
    height: 10px; background: #E2E8F0; border-radius: 999px; overflow: hidden; margin-bottom: 8px;
}
.progress-bar { height: 100%; width: 0; background: var(--blue); border-radius: 999px; transition: width .2s linear; }
.progress-pct { font-weight: 800; color: var(--blue); }
.setup-issues-title { font-size: 1.05rem; margin: 8px 0 10px; text-align: left; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.setup-issues { list-style: none; text-align: left; margin-bottom: 16px; }
.setup-modal .btn-lg + .btn-lg { margin-top: 10px; }
body.setup-lock { overflow: hidden; }

.float-help {
    position: fixed; right: 18px; bottom: 18px; z-index: 40;
    width: 54px; height: 54px; border-radius: 50%; border: 0;
    background: var(--blue); color: #fff; cursor: pointer;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .4);
    display: grid; place-items: center;
}
.float-help svg { width: 26px; height: 26px; }

@media (max-width: 980px) {
    .hero-grid, .services, .steps, .reviews, .faq-grid, .trust-row { grid-template-columns: 1fr 1fr; }
    .trust-row { gap: 10px; }
    .trust-row li { border: 0; }
    .steps li:not(:last-child)::after { display: none; }
    .bottom-cta-inner { flex-direction: column; text-align: center; }
    .cta-left { flex-direction: column; }
}
@media (max-width: 720px) {
    .hero { padding: 22px 0 18px; }
    .hero-grid, .services, .steps, .reviews, .faq-grid, .trust-row { grid-template-columns: 1fr; }
    .hero-visual { max-width: none; }
    .bottom-cta-actions { width: 100%; }
    .bottom-cta-actions .btn { flex: 1; }
}
