:root {
    --ink: #142331;
    --muted: #5d6c79;
    --blue: #077db7;
    --green: #27a844;
    --lime: #7dc244;
    --gold: #f2b441;
    --paper: #ffffff;
    --soft: #f4f8fb;
    --line: #d9e4ec;
    --danger: #b42318;
    --shadow: 0 24px 70px rgba(10, 32, 52, 0.22);
    font-family: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 6vw;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: var(--blue);
    font-size: 1.7rem;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0;
}

.brand span {
    color: var(--green);
    font-weight: 500;
}

.brand strong {
    color: var(--blue);
    font-weight: 800;
}

.brand i {
    width: 14px;
    height: 14px;
    margin-left: 5px;
    border-top: 4px solid var(--green);
    border-right: 4px solid var(--green);
    transform: rotate(45deg);
}

.campaign-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.campaign-nav a,
.return-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--paper);
    font-weight: 700;
    text-decoration: none;
}

.campaign-nav a:hover,
.return-link:hover {
    border-color: var(--blue);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 740px;
    background-image: linear-gradient(90deg, rgba(11, 31, 48, 0.94), rgba(11, 31, 48, 0.77), rgba(11, 31, 48, 0.46)), var(--hero-image);
    background-size: cover;
    background-position: center 18%;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 9px;
    background: linear-gradient(90deg, var(--green), var(--blue), var(--gold));
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.78fr);
    gap: 34px;
    align-items: center;
    width: min(1180px, 88vw);
    min-height: 740px;
    margin: 0 auto;
    padding: 56px 0 64px;
}

.hero-copy {
    color: var(--paper);
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 14px;
    color: #b8f0cc;
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.eyebrow.dark {
    color: var(--blue);
}

h1,
h2,
p {
    letter-spacing: 0;
}

h1 {
    margin: 0;
    font-size: 3.45rem;
    line-height: 1.04;
}

h2 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.15;
}

.hero-subtitle {
    max-width: 650px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.16rem;
}

.vendor-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.vendor-row span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.scoreline {
    max-width: 600px;
    margin: 22px 0 0;
    color: #d8eefb;
    font-weight: 700;
}

.lead-panel {
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
    padding: 28px;
}

.lead-panel h2 {
    color: var(--ink);
    font-size: 1.55rem;
}

.lead-panel > p {
    margin: 8px 0 20px;
    color: var(--muted);
}

.lead-form {
    display: grid;
    gap: 14px;
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}

label span {
    font-size: 0.88rem;
}

input,
select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #c6d4df;
    border-radius: 8px;
    padding: 11px 12px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

input:focus,
select:focus {
    outline: 3px solid rgba(39, 168, 68, 0.2);
    border-color: var(--green);
}

button {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    color: #fff;
    background: linear-gradient(90deg, var(--green), var(--blue));
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

button:hover {
    filter: brightness(0.96);
}

.privacy-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    border: 1px solid rgba(180, 35, 24, 0.22);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--danger);
    background: #fff2f0;
}

.form-alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: min(1180px, 88vw);
    margin: -34px auto 0;
    position: relative;
    z-index: 2;
}

.trust-strip div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 14px 38px rgba(10, 32, 52, 0.08);
}

.trust-strip span {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(242, 180, 65, 0.18);
}

.content-band {
    padding: 82px 0 70px;
    background: var(--soft);
}

.content-inner {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 46px;
    align-items: start;
    width: min(1180px, 88vw);
    margin: 0 auto;
}

.content-inner p {
    color: var(--muted);
    font-size: 1.05rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.feature-list div {
    min-height: 58px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    font-weight: 800;
}

.report-preview {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 44px;
    align-items: center;
    width: min(1180px, 88vw);
    margin: 0 auto;
    padding: 18px 0 86px;
}

.preview-copy p {
    color: var(--muted);
}

.report-preview img {
    display: block;
    width: 100%;
    max-height: 760px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 56px rgba(10, 32, 52, 0.14);
}

.site-footer {
    padding: 24px 6vw;
    color: var(--muted);
    background: #fff;
    border-top: 1px solid var(--line);
    text-align: center;
}

.campaign-payroll {
    --green: #28a745;
    --blue: #0879b7;
}

.campaign-hris {
    --green: #34b54a;
    --blue: #087ebc;
}

.directory-page,
.thank-you-page {
    min-height: 100vh;
    background:
        linear-gradient(140deg, rgba(7, 125, 183, 0.1), rgba(39, 168, 68, 0.12)),
        var(--soft);
}

.directory,
.thank-you {
    width: min(960px, 88vw);
    margin: 0 auto;
    padding: 80px 0;
}

.directory h1,
.thank-you h1 {
    margin: 36px 0 12px;
    font-size: 3rem;
    line-height: 1.05;
}

.directory > p,
.thank-you-panel p {
    color: var(--muted);
    font-size: 1.08rem;
}

.directory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 28px;
}

.directory-link,
.thank-you-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 54px rgba(10, 32, 52, 0.1);
}

.directory-link {
    display: grid;
    gap: 10px;
    padding: 24px;
    text-decoration: none;
}

.directory-link span {
    color: var(--blue);
    font-weight: 900;
}

.directory-link strong {
    font-size: 1.4rem;
}

.directory-link em {
    color: var(--green);
    font-style: normal;
    font-weight: 900;
}

.thank-you-panel {
    margin-top: 34px;
    padding: 34px;
}

@media (max-width: 980px) {
    h1 {
        font-size: 2.72rem;
    }

    .hero,
    .hero-inner {
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 58px 0 72px;
    }

    .lead-panel {
        max-width: 620px;
    }

    .content-inner,
    .report-preview {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        grid-template-columns: 1fr;
        margin-top: 18px;
    }
}

@media (max-width: 680px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand {
        font-size: 1.34rem;
    }

    h1,
    .directory h1,
    .thank-you h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.62rem;
    }

    .hero-inner,
    .content-inner,
    .report-preview,
    .trust-strip {
        width: min(100% - 30px, 1180px);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .lead-panel {
        padding: 22px;
    }

    .field-grid,
    .feature-list,
    .directory-grid {
        grid-template-columns: 1fr;
    }

    .vendor-row span {
        width: 100%;
    }
}
