/*
 * CheckoutPartners.com public pages (home, contact, partner login).
 * Plain CSS, no build step, so the server needs no Node.
 */
:root {
    --navy-950: #041127;
    --navy-900: #071a35;
    --navy-800: #0b2547;
    --navy-700: #12345f;
    --blue-600: #1d4fd8;
    --blue-500: #2563eb;
    --green-700: #157a1f;
    --green-600: #1e9a2a;
    --green-500: #2eb82f;
    --lime-400: #8fe33b;
    --lime-300: #b7f23f;
    --ink: #0b1b33;
    --muted: #4a5a72;
    --line: #dbe3ee;
    --bg-soft: #f3f6fa;
    --danger: #c62828;
    --danger-bg: #fdecec;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(7, 26, 53, 0.12);
    --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: #fff;
    line-height: 1.55;
    font-size: 16px;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue-600); }

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--navy-900);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible {
    outline: 3px solid var(--lime-400);
    outline-offset: 2px;
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 44px; width: auto; }

/* ---------- Header ---------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}
.site-nav__links {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav__link {
    color: var(--navy-900);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
}
.site-nav__link:hover { color: var(--blue-600); }
.site-nav__link[aria-current="page"] { border-bottom-color: var(--blue-600); }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px;
    color: var(--navy-900);
    cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    border: 0;
    border-radius: 999px;
    padding: 13px 26px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--green {
    background: linear-gradient(180deg, var(--green-500), var(--green-700));
    color: #fff;
    box-shadow: 0 6px 16px rgba(30, 154, 42, 0.3);
}
.btn--lime {
    background: linear-gradient(180deg, var(--lime-300), var(--lime-400));
    color: var(--navy-900);
    box-shadow: 0 8px 22px rgba(143, 227, 59, 0.35);
    padding: 16px 32px;
    font-size: 18px;
}
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(60% 80% at 85% 30%, rgba(46, 184, 47, 0.35), transparent 70%),
        radial-gradient(50% 70% at 55% 100%, rgba(37, 99, 235, 0.35), transparent 70%),
        linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 55%, #0b4a52 100%);
    padding: 64px 0 110px;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 40px;
}
.hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    font-weight: 800;
    margin: 0 0 18px;
    letter-spacing: -1px;
}
.hero h1 .accent {
    display: block;
    color: var(--lime-300);
    font-size: 1.12em;
}
.hero p {
    font-size: 18px;
    color: #d8e3f3;
    max-width: 30em;
    margin: 0 0 30px;
}
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.45)); }

/* ---------- Feature strip ---------- */
.features {
    position: relative;
    margin-top: -56px;
    z-index: 2;
}
.features__card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 12px;
}
.feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 22px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.25;
    color: var(--navy-900);
}
.feature + .feature { border-left: 1px solid var(--line); }
.feature svg { width: 40px; height: 40px; flex: none; color: var(--navy-900); }
.feature:last-child svg { color: var(--green-500); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-title {
    text-align: center;
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 12px;
    color: var(--navy-900);
    letter-spacing: -0.5px;
}
.section-title em { color: var(--green-500); font-style: italic; }
.section-lead {
    text-align: center;
    color: var(--muted);
    font-size: 18px;
    max-width: 36em;
    margin: 0 auto 40px;
}

.profit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}
.checklist li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
    font-size: 17px;
}
.checklist svg { width: 28px; height: 28px; flex: none; color: var(--green-500); }

/* Checkout mock-up (decorative) */
.checkout-mock {
    background: #fff;
    border: 10px solid var(--navy-900);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow);
    transform: rotate(-3deg);
}
.checkout-mock__title { font-weight: 800; font-style: italic; font-size: 20px; margin-bottom: 14px; }
.checkout-mock__steps {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}
.checkout-mock__steps .done { color: var(--green-600); font-weight: 600; }
.checkout-mock__steps .dash { flex: 1; height: 2px; background: var(--line); }
.checkout-mock__body { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; align-items: center; }
.checkout-mock__lines span {
    display: block;
    height: 10px;
    border-radius: 6px;
    background: #e3e8ef;
    margin-bottom: 10px;
}
.checkout-mock__lines span:nth-child(2) { width: 70%; }
.checkout-mock__lines span:nth-child(3) { width: 85%; }
.checkout-mock__offer {
    border: 3px solid var(--lime-400);
    background: #effbe2;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 0 6px rgba(143, 227, 59, 0.18);
}
.checkout-mock__offer svg { width: 56px; height: 56px; }

/* Results band */
.results {
    background:
        radial-gradient(60% 120% at 100% 50%, rgba(46, 184, 47, 0.45), transparent 70%),
        linear-gradient(110deg, var(--navy-950), var(--navy-800));
    color: #fff;
    border-radius: 22px;
    padding: 30px 36px;
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    align-items: center;
    gap: 20px;
}
.results h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
    font-weight: 800;
}
.results h2 span { color: var(--lime-300); }
.result {
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    padding: 4px 10px;
}
.result svg { width: 34px; height: 34px; margin: 0 auto 6px; color: var(--lime-400); }
.result strong { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; }
.result span { color: #d8e3f3; font-size: 15px; }

/* Industries */
.industries-title {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
}
.industries-title::before,
.industries-title::after {
    content: "";
    flex: 0 1 120px;
    height: 3px;
    background: var(--green-500);
    border-radius: 2px;
}
.industries {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}
.industry {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 18px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.25;
}
.industry svg { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--green-600); }

/* CTA band */
.cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(70% 140% at 0% 100%, rgba(46, 184, 47, 0.55), transparent 60%),
        radial-gradient(50% 120% at 100% 0%, rgba(46, 184, 47, 0.35), transparent 60%),
        linear-gradient(110deg, var(--navy-950), var(--navy-800));
    padding: 60px 0;
}
.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.cta h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 10px; font-weight: 800; line-height: 1.15; }
.cta h2 span { color: var(--lime-300); }
.cta p { margin: 0; color: #d8e3f3; font-size: 18px; max-width: 34em; }

/* Footer */
.site-footer {
    background: var(--navy-950);
    color: #9fb0c8;
    font-size: 14px;
    padding: 26px 0;
}
.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}
.site-footer a { color: #d8e3f3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer nav { display: flex; gap: 22px; }

/* ---------- Form pages (contact, login) ---------- */
.page-band {
    background:
        radial-gradient(60% 120% at 100% 0%, rgba(46, 184, 47, 0.35), transparent 65%),
        linear-gradient(120deg, var(--navy-950), var(--navy-800));
    color: #fff;
    padding: 48px 0 120px;
    text-align: center;
}
.page-band h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.15; }
.page-band p { margin: 0 auto; color: #d8e3f3; font-size: 17px; max-width: 34em; }

.form-wrap {
    margin-top: -84px;
    padding-bottom: 72px;
}
.form-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 36px;
    max-width: 720px;
    margin: 0 auto;
}
.form-card--narrow { max-width: 440px; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; color: var(--navy-900); }
.field .req { color: var(--green-600); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input,
.field textarea {
    font: inherit;
    font-size: 16px;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    width: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.field.has-error input,
.field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.field-help { color: var(--muted); font-size: 13px; }

.form-actions { margin-top: 26px; }
.form-note { color: var(--muted); font-size: 13px; margin: 14px 0 0; text-align: center; }

.row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
}
.checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.checkbox input { width: 18px; height: 18px; accent-color: var(--green-600); }

.alert {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 20px;
}
.alert--error { background: var(--danger-bg); color: #8e1b1b; border: 1px solid #f5c2c2; }
.alert--info { background: #eaf1fe; color: #173d8f; border: 1px solid #c8d9fb; }
.alert--success { background: #e9f8e5; color: #155d1c; border: 1px solid #bfe8b5; }
.alert--warn { background: #fff7e0; color: #7a5300; border: 1px solid #f3dc9b; }

/* Honeypot: hidden from people, visible to naive bots. */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.thanks { text-align: center; }
.thanks__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    color: var(--green-500);
}
.thanks h2 { margin: 0 0 10px; font-size: 28px; font-weight: 800; color: var(--navy-900); }
.thanks p { color: var(--muted); margin: 0 auto 22px; max-width: 30em; }

.form-card h2.card-title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    color: var(--navy-900);
}
.form-card .card-lead { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.form-card .stack { display: grid; gap: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__art { max-width: 520px; margin: 0 auto; }
    .features__card { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
    .feature:nth-child(3) { border-left: 0; }
    .profit { grid-template-columns: 1fr; }
    .checkout-mock { max-width: 520px; margin: 0 auto; }
    .results { grid-template-columns: repeat(3, 1fr); }
    .results h2 { grid-column: 1 / -1; text-align: center; }
    .result:nth-of-type(1) { border-left: 0; }
    .industries { grid-template-columns: repeat(4, 1fr); }
    .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 24px rgba(7, 26, 53, 0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px 20px 20px;
    }
    .site-nav.is-open { display: flex; }
    .site-nav__links { flex-direction: column; gap: 0; }
    .site-nav__link { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .site-nav__link[aria-current="page"] { border-bottom-color: var(--line); color: var(--blue-600); }
    .site-nav .btn { margin-top: 8px; }
    .logo img { height: 34px; }
    .hero { padding: 40px 0 96px; }
    .hero p { font-size: 16px; }
    .section { padding: 52px 0; }
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 24px 20px; }
    .results { grid-template-columns: 1fr; padding: 26px 22px; }
    .result { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 14px; }
    .industries { grid-template-columns: repeat(2, 1fr); }
    .checklist li { font-size: 16px; }
}

@media (max-width: 420px) {
    .features__card { grid-template-columns: 1fr; }
    .feature + .feature { border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .btn { transition: none; }
    .btn:hover { transform: none; }
}
