* { box-sizing: border-box; }
body {
    margin: 0;
    color: #17212f;
    background: #f5f7fa;
    font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.55;
}
a { color: inherit; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(245, 247, 250, 0.94);
    border-bottom: 1px solid #d9e0ea;
    overflow-x: clip;
}
.nav {
    width: min(820px, 100%);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 1;
}
.brand img {
    display: block;
    width: clamp(110px, 14vw, 165px);
    height: auto;
    max-height: 32px;
    object-fit: contain;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #596579;
    font-size: 13px;
    font-weight: 500;
}
.nav-links a {
    text-decoration: none;
    white-space: nowrap;
}
.nav-links a:hover { color: #17212f; }
.nav-action {
    padding: 7px 10px;
    border: 1px solid #d9e0ea;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.62);
    color: #17212f;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.page {
    width: min(820px, 100%);
    margin: 0 auto;
    padding: 30px 24px 44px;
    overflow-x: clip;
}
.hero {
    padding: 28px 0 22px;
    text-align: center;
}
.campaign-media {
    display: flex;
    justify-content: center;
    margin: 0 0 14px;
}
.campaign-image {
    width: 116px;
    height: 116px;
    border: 4px solid #fff;
    border-radius: 999px;
    object-fit: cover;
    background: #e7edf2;
    box-shadow: 0 10px 28px rgba(23, 33, 47, 0.14);
}
.campaign-image-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #238F87;
    background: linear-gradient(135deg, #edf5f2, #dbe7ef);
    font-size: 42px;
    font-weight: 700;
}
.eyebrow {
    margin: 0 0 10px;
    color: #596579;
    font-size: 13px;
    text-transform: uppercase;
}
h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 8vw, 48px);
    line-height: 1.08;
    font-weight: 800;
    overflow-wrap: anywhere;
}
h2 {
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 800;
}
.offer {
    font-size: 18px;
    line-height: 1.56;
    text-align: left;
    overflow-wrap: anywhere;
}
.offer-wrap {
    max-width: 680px;
    margin: 14px auto 0;
    text-align: left;
}
.offer-clamp {
    display: block;
    margin: 0;
    max-height: calc(1.56em * 3);
    overflow: hidden;
}
.offer-clamp.is-expanded {
    display: block;
    max-height: none;
    overflow: visible;
}
.offer-more {
    display: inline-flex;
    margin: 6px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #238F87;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.offer-more[hidden] {
    display: none;
}
.offer-more:hover,
.offer-more:focus {
    color: #1a6f69;
    text-decoration: underline;
}
.offer-more:focus {
    outline: 3px solid rgba(31, 122, 97, 0.22);
    outline-offset: 3px;
}
.hero-progress {
    margin: 22px 0 18px;
    padding: 18px;
    background: #fff;
    border: 1px solid #d9e0ea;
    border-radius: 8px;
}
.hero-progress strong {
    display: block;
    font-size: 24px;
    overflow-wrap: anywhere;
    white-space: normal;
    word-break: break-word;
}
.hero-progress span {
    color: #4b596b;
}
.hero-progress small {
    display: block;
    margin-top: 4px;
    color: #667385;
}
.campaign-release-note {
    max-width: 680px;
    margin: 10px auto 0;
    overflow-wrap: anywhere;
}
.business-provider {
    color: #238F87;
    font-weight: 800;
}
.campaign-deadline {
    display: grid;
    justify-items: center;
    gap: 7px;
    margin: 18px 0 6px;
    text-align: center;
}
.countdown-value {
    color: #17212f;
    font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
    font-size: clamp(28px, 7vw, 42px);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}
.countdown-labels {
    display: grid;
    width: min(340px, 100%);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    color: #667385;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}
.campaign-deadline.is-expired .countdown-labels {
    display: none;
}
.campaign-deadline small {
    color: #667385;
    font-size: 14px;
    font-weight: 600;
}
.panel {
    background: #fff;
    border: 1px solid #d9e0ea;
    border-radius: 8px;
    padding: 22px;
    margin: 18px 0;
}
.panel p,
.trust p,
.trust small {
    overflow-wrap: anywhere;
}
.status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.hero-status {
    margin: 12px 0 0;
}
.badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 9px;
    background: #e8edf4;
    color: #263648;
    font-size: 13px;
}
.badge.good { background: #dff4e7; color: #166534; }
.badge.warm { background: #fff1c9; color: #854d0e; }
.badge.danger { background: #ffe0df; color: #991b1b; }
.badge.quiet { background: #f1f4f8; color: #506075; }
.badge.public-badge {
    background: #f3efe5;
    color: #755315;
    font-weight: 800;
    text-transform: uppercase;
}
.badge a { color: inherit; font-weight: 800; }
.filter-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f1f4f8;
    color: #506075;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
a.filter-pill:hover { background: #e4ebf3; text-decoration: none; }
.business-name {
    color: #4b596b;
    font-size: 14px;
    font-weight: 700;
}
.progress {
    height: 12px;
    width: 100%;
    background: #e5eaf1;
    border-radius: 999px;
    overflow: hidden;
}
.progress span {
    display: block;
    height: 100%;
    background: #24715d;
}
.progress.near span { background: #b7791f; }
.highlight {
    margin: 10px 0 0;
    font-weight: 700;
}
.metric {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
    border-radius: 6px;
    background: #238F87;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
}
.hero-cta { margin-top: 4px; }
.cta span {
    display: inline-flex;
    padding: 3px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
}
.cta:hover { background: #1a6f69; }
.lookup-form,
.redeem-list {
    display: grid;
    gap: 10px;
}
.lookup-form input {
    width: 100%;
    min-height: 44px;
    margin-top: 6px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 12px;
    font: inherit;
}
.field-label {
    display: grid;
    gap: 4px;
    color: #4b596b;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}
.redemption-code {
    margin: 14px 0;
    padding: 14px;
    border: 1px dashed #93a3b8;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0;
    text-align: center;
}
.redeem-list {
    grid-template-columns: minmax(110px, 0.4fr) 1fr;
    margin: 16px 0;
}
.redeem-list dt {
    color: #667385;
    font-weight: 700;
}
.redeem-list dd {
    margin: 0;
}
.notice {
    padding: 12px;
    border-radius: 6px;
    background: #eef2f7;
    color: #455365;
}
.muted {
    color: #667385;
    font-size: 13px;
}
.steps {
    margin: 0;
    padding-left: 22px;
}
.steps li { margin: 8px 0; }
.trust {
    margin: 24px 0 38px;
    padding: 0 4px;
    color: #4b596b;
    text-align: center;
}
.trust p {
    margin: 0;
    font-size: 13px;
}
.trust span {
    padding: 0 6px;
    color: #9aa4b2;
}
.trust small {
    display: block;
    margin-top: 6px;
    color: #667385;
}
.site-footer {
    border-top: 1px solid #d9e0ea;
    color: #596579;
    background: #fbfcfd;
}
.footer-inner {
    width: min(820px, 100%);
    margin: 0 auto;
    padding: 30px 24px 40px;
    display: grid;
    grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
    gap: 28px;
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
}
.footer-brand img {
    display: block;
    width: clamp(120px, 12vw, 140px);
    height: auto;
    max-height: 30px;
    object-fit: contain;
}
.footer-inner p {
    max-width: 320px;
    font-weight: 600;
}
.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 12px 16px;
    flex-wrap: wrap;
}
.footer-links a {
    text-decoration: none;
}
.cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    width: min(680px, calc(100% - 36px));
    padding: 14px;
    border: 1px solid #d9e0ea;
    border-radius: 8px;
    background: #fff;
    color: #405065;
    box-shadow: 0 14px 38px rgba(23, 33, 47, 0.12);
}
.cookie-banner p {
    margin: 0;
    font-size: 13px;
}
.cookie-banner a {
    color: #1a6f69;
    font-weight: 700;
}
.cookie-actions {
    display: flex;
    gap: 8px;
}
.cookie-actions button {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #d9e0ea;
    border-radius: 6px;
    background: #fff;
    color: #17212f;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.cookie-actions button[data-cookie-choice="accepted"] {
    border-color: #238F87;
    background: #238F87;
    color: #fff;
}
@media (max-width: 760px) {
    .nav,
    .footer-inner {
        align-items: flex-start;
        grid-template-columns: 1fr;
        padding-left: 16px;
        padding-right: 16px;
    }
    .nav {
        width: 100vw;
        max-width: 100vw;
        position: relative;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 12px;
    }
    .brand { order: 1; }
    .brand img {
        width: 96px;
    }
    .nav-action {
        order: 2;
        position: absolute;
        top: 14px;
        right: 16px;
        flex: 0 0 auto;
        padding: 7px 8px;
        font-size: 13px;
        line-height: 1.15;
        text-align: center;
        white-space: nowrap;
    }
    .nav-links {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2px;
        flex-wrap: nowrap;
        gap: 16px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links a {
        flex: 0 0 auto;
        min-height: 30px;
        padding: 4px 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        line-height: 1.25;
        white-space: nowrap;
    }
    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: flex-start;
        gap: 10px 14px;
    }
    .footer-links a {
        min-height: 34px;
        display: inline-flex;
        align-items: center;
    }
    .page {
        width: 100vw;
        max-width: 100vw;
        padding: 20px 16px 34px;
    }
    .hero { padding-top: 20px; }
    .campaign-image {
        width: 96px;
        height: 96px;
    }
    h1 { font-size: 31px; }
    .offer { font-size: 16px; }
    .offer-wrap {
        width: 100%;
        max-width: 300px;
    }
    .hero > .muted,
    .campaign-release-note {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .offer,
    .metric,
    .panel p {
        white-space: normal;
        word-break: break-word;
    }
    .offer-clamp { -webkit-line-clamp: 3; }
    .hero-status {
        align-items: center;
        justify-content: center;
    }
    .business-name {
        width: 100%;
        text-align: center;
    }
    .hero-progress strong {
        font-size: 20px;
        line-height: 1.2;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .panel,
    .hero-progress {
        padding: 18px;
    }
    .cta { min-height: 54px; }
    .redeem-list { grid-template-columns: 1fr; }
    .redemption-code { font-size: 24px; }
    .trust p { line-height: 1.8; }
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        grid-template-columns: 1fr;
    }
    .cookie-actions {
        justify-content: flex-start;
    }
}
