:root {
    color-scheme: light;
    --ink: #07151d;
    --ink-soft: #263b42;
    --muted: #607178;
    --green: #138a34;
    --green-deep: #075025;
    --lime: #8ac63f;
    --gold: #f2c230;
    --red: #e64235;
    --surface: #f5f7f4;
    --paper: #ffffff;
    --line: rgba(7, 21, 29, 0.13);
    --shadow: 0 22px 60px rgba(5, 40, 22, 0.18);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--surface);
    color: var(--ink);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

body.locked {
    overflow: hidden;
}

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

a {
    color: inherit;
}

.site-header {
    align-items: center;
    background: rgba(245, 247, 244, 0.9);
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 12px clamp(18px, 5vw, 64px);
    position: sticky;
    top: 0;
    z-index: 20;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.brand-link {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    font-weight: 900;
    text-decoration: none;
}

.brand-link img {
    border-radius: 8px;
    height: 38px;
    width: 38px;
}

.brand-link span {
    font-size: 1.12rem;
}

.site-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.site-nav a {
    color: var(--ink-soft);
    font-size: 0.94rem;
    font-weight: 800;
    padding: 8px 10px;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--green);
}

.nav-cta {
    background: var(--ink);
    border-radius: 8px;
    color: #fff !important;
    padding-inline: 14px !important;
}

.hero {
    background:
        linear-gradient(90deg, rgba(245, 247, 244, 1) 0%, rgba(245, 247, 244, 0.99) 43%, rgba(245, 247, 244, 0.74) 66%, rgba(245, 247, 244, 0.2) 100%),
        url("matchlogr-promo.png") right -96px center / auto 112% no-repeat,
        linear-gradient(135deg, #f6faf5 0%, #e6f1e7 100%);
    min-height: min(760px, 86svh);
    overflow: hidden;
    position: relative;
}

.hero::before {
    background: linear-gradient(135deg, var(--green) 0%, var(--lime) 100%);
    content: "";
    height: 8px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.hero-inner {
    align-items: center;
    display: grid;
    min-height: inherit;
    padding: clamp(58px, 9vw, 104px) clamp(20px, 6vw, 76px);
}

.hero-copy {
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.eyebrow {
    align-items: center;
    color: var(--green-deep);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 900;
    gap: 8px;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.eyebrow::before {
    background: var(--green);
    border-radius: 999px;
    content: "";
    height: 10px;
    width: 10px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(3.1rem, 8vw, 7.4rem);
    line-height: 0.88;
    margin-bottom: 18px;
}

.logo-green {
    color: var(--green);
}

.hero-lede {
    color: var(--ink-soft);
    font-size: clamp(1.25rem, 2.6vw, 2.05rem);
    font-weight: 900;
    line-height: 1.16;
    margin-bottom: 18px;
    max-width: 620px;
}

.hero-text {
    color: var(--ink-soft);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: 550px;
}

.hero-actions,
.form-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 900;
    justify-content: center;
    min-height: 50px;
    padding: 14px 18px;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--green);
    box-shadow: 0 12px 30px rgba(19, 138, 52, 0.28);
    color: #fff;
}

.button-primary:hover {
    background: var(--green-deep);
}

.button-gold {
    background: var(--gold);
    box-shadow: 0 12px 28px rgba(166, 119, 0, 0.18);
    color: #1d1a0a;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.88);
    border-color: var(--line);
    color: var(--ink);
}

.button-wide {
    width: 100%;
}

.mini-proof {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.93rem;
    font-weight: 800;
    gap: 10px;
    margin-top: 18px;
}

.mini-proof span {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 10px;
}

.section {
    padding: clamp(46px, 7vw, 88px) clamp(20px, 6vw, 76px);
}

.section-header {
    max-width: 760px;
}

.section h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
    margin-bottom: 14px;
}

.section-header p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.55;
}

.feature-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.feature-grid li,
.shot,
.promo-panel,
.form-panel,
.result-panel,
.notice {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(7, 21, 29, 0.06);
}

.feature-grid li {
    min-height: 132px;
    padding: 20px;
}

.feature-icon {
    align-items: center;
    background: var(--green);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 950;
    height: 38px;
    justify-content: center;
    margin-bottom: 16px;
    width: 38px;
}

.feature-grid h3 {
    font-size: 1.04rem;
    margin-bottom: 8px;
}

.feature-grid p {
    color: var(--muted);
    line-height: 1.46;
    margin-bottom: 0;
}

.screens {
    background: #101820;
    color: #fff;
}

.screens .section-header p {
    color: rgba(255, 255, 255, 0.74);
}

.shot-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 30px;
}

.shot {
    background: #17232b;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
    overflow: hidden;
}

.shot img {
    aspect-ratio: 4 / 3;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.offer {
    align-items: center;
    display: grid;
    gap: clamp(22px, 5vw, 56px);
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
}

.promo-panel {
    overflow: hidden;
}

.promo-panel img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.offer-copy p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.58;
}

.offer-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 22px 0 28px;
    padding: 0;
}

.offer-list li {
    align-items: center;
    display: flex;
    gap: 10px;
    font-weight: 850;
}

.offer-list li::before {
    background: var(--green);
    border-radius: 999px;
    content: "";
    flex: 0 0 9px;
    height: 9px;
    width: 9px;
}

.feedback-strip {
    align-items: center;
    background: #fff;
    border-block: 1px solid var(--line);
    display: flex;
    gap: 22px;
    justify-content: space-between;
    padding: clamp(28px, 5vw, 46px) clamp(20px, 6vw, 76px);
}

.feedback-strip div {
    max-width: 760px;
}

.feedback-strip h2 {
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    line-height: 1;
    margin-bottom: 10px;
}

.feedback-strip p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.55;
    margin-bottom: 0;
}

.promo-page {
    background:
        linear-gradient(120deg, rgba(245, 247, 244, 0.95), rgba(245, 247, 244, 0.78)),
        url("matchlogr-promo.png") right top / auto 100% no-repeat;
    min-height: calc(100svh - 63px);
}

.promo-shell {
    display: grid;
    gap: clamp(22px, 5vw, 58px);
    grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.62fr);
    padding: clamp(46px, 7vw, 86px) clamp(20px, 6vw, 76px);
}

.promo-intro {
    max-width: 700px;
}

.promo-intro h1 {
    font-size: clamp(2.7rem, 6.5vw, 5.5rem);
}

.promo-intro p {
    color: var(--ink-soft);
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
    line-height: 1.58;
    max-width: 570px;
}

.form-panel,
.result-panel {
    align-self: start;
    padding: clamp(20px, 4vw, 30px);
}

.form-panel h2,
.result-panel h2 {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    line-height: 1.06;
    margin-bottom: 12px;
}

.form-panel p,
.result-panel p {
    color: var(--muted);
    line-height: 1.5;
}

.field {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}

.field label {
    font-weight: 900;
}

.field input {
    background: #fbfcfb;
    border: 1px solid rgba(7, 21, 29, 0.18);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    min-height: 52px;
    padding: 13px 14px;
    width: 100%;
}

.field input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(19, 138, 52, 0.14);
    outline: 0;
}

.hp {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.fine-print {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
    margin: 14px 0 0;
}

.notice {
    border-color: rgba(230, 66, 53, 0.22);
    color: #612018;
    margin-bottom: 16px;
    padding: 13px 14px;
}

.notice.success {
    border-color: rgba(19, 138, 52, 0.24);
    color: var(--green-deep);
}

.claim-link {
    background: #f3f6f2;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink-soft);
    display: block;
    font-size: 0.9rem;
    margin: 18px 0;
    overflow-wrap: anywhere;
    padding: 12px;
}

.site-footer {
    align-items: center;
    background: #07151d;
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    padding: 22px clamp(20px, 6vw, 76px);
}

.site-footer a {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 920px) {
    .hero {
        background:
            linear-gradient(180deg, rgba(245, 247, 244, 1) 0%, rgba(245, 247, 244, 0.96) 56%, rgba(245, 247, 244, 0.84) 100%),
            url("matchlogr-promo.png") center bottom / auto 66% no-repeat,
            linear-gradient(135deg, #f6faf5 0%, #e6f1e7 100%);
        min-height: 84svh;
    }

    .hero-inner {
        align-items: start;
    }

    .hero-copy {
        max-width: 620px;
    }

    .feature-grid,
    .shot-grid,
    .offer,
    .promo-shell {
        grid-template-columns: 1fr;
    }

    .promo-page {
        background:
            linear-gradient(180deg, rgba(245, 247, 244, 0.98), rgba(245, 247, 244, 0.9)),
            url("matchlogr-promo.png") center bottom / auto 72% no-repeat;
    }

    .feedback-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    .site-nav {
        justify-content: flex-start;
        width: 100%;
    }

    .site-nav a {
        font-size: 0.86rem;
        padding-inline: 7px;
    }

    .hero {
        min-height: 82svh;
    }

    .hero-actions,
    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .feature-grid {
        gap: 10px;
    }

    .feature-grid li {
        min-height: auto;
    }
}
