:root {
    --bg: #f6f8f5;
    --surface: #ffffff;
    --surface-soft: #f0f5f1;
    --dark: #07150f;
    --dark-soft: #0d2117;
    --ink: #101813;
    --ink-soft: #526158;
    --muted: #728078;
    --line: #e0e7e2;

    --green: #16c767;
    --green-bright: #42e889;
    --green-dark: #087a42;
    --green-soft: #e5f9ec;

    --yellow: #ffcd3c;
    --red: #ee5d60;

    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;

    --shadow-sm:
        0 8px 24px rgba(7, 21, 15, .06);

    --shadow-md:
        0 22px 60px rgba(7, 21, 15, .10);

    --shadow-lg:
        0 40px 100px rgba(7, 21, 15, .16);

    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img,
svg {
    display: block;
}

.container {
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
}

.section {
    padding: 100px 0;
}

.section-tight {
    padding: 72px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 750;
    color: var(--green-dark);
    letter-spacing: .02em;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(22,199,103,.10);
}

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

.section-head h2 {
    margin: 14px 0 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.section-head p {
    margin: 22px 0 0;
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1.75;
}


/* ================================================================
   HEADER
================================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(246,248,245,.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(224,231,226,.78);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 21px;
    font-weight: 850;
    letter-spacing: -.04em;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--dark);
    color: var(--green-bright);
    font-weight: 900;
    letter-spacing: -.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 27px;
    margin-left: 18px;
}

.nav-links a {
    color: #536259;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.signin {
    padding: 11px 14px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.app-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 17px;
    border-radius: 999px;
    background: var(--dark);
    color: white;
    font-size: 14px;
    font-weight: 750;
}

.app-button svg {
    width: 16px;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: white;
    border-radius: 12px;
}

.mobile-menu-button svg {
    width: 20px;
    margin: auto;
}

.mobile-nav {
    display: none;
}


/* ================================================================
   HERO
================================================================ */

.hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 94px;
}

.hero::before {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -180px;
    top: -250px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(66,232,137,.22) 0%,
            rgba(66,232,137,0) 67%
        );
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    gap: 74px;
    align-items: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid #d6eadc;
    background: white;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    color: #3a4b40;
    font-size: 13px;
    font-weight: 650;
}

.hero-label-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.hero h1 {
    margin: 26px 0 0;
    max-width: 720px;
    font-size: clamp(54px, 6.4vw, 88px);
    line-height: .96;
    letter-spacing: -.067em;
    font-weight: 880;
}

.hero h1 .accent {
    color: var(--green-dark);
}

.hero-copy {
    max-width: 665px;
    margin: 28px 0 0;
    color: var(--ink-soft);
    font-size: 19px;
    line-height: 1.7;
}

.smart-search {
    margin-top: 36px;
    padding: 7px;
    display: grid;
    grid-template-columns: 175px 1fr auto;
    gap: 7px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.location-field {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    border-right: 1px solid var(--line);
    color: #435147;
    font-size: 14px;
    font-weight: 650;
}

.location-field svg {
    width: 18px;
    color: var(--green-dark);
}

.smart-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 17px 14px;
    background: transparent;
    color: var(--ink);
}

.smart-search input::placeholder {
    color: #8b9690;
}

.search-submit {
    border: 0;
    padding: 0 22px;
    border-radius: 14px;
    background: var(--green);
    color: #04120a;
    font-weight: 800;
}

.search-submit:hover {
    background: var(--green-bright);
}

.quick-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.64);
    color: #526158;
    font-size: 13px;
}

.quick-chip:hover {
    background: white;
    color: var(--ink);
}


/* ================================================================
   HERO PRODUCT INTELLIGENCE CARD
================================================================ */

.hero-product-wrap {
    position: relative;
}

.hero-product-wrap::before {
    content: "";
    position: absolute;
    width: 92%;
    height: 90%;
    left: 4%;
    top: 10%;
    border-radius: 34px;
    background: var(--green-soft);
    transform: rotate(5deg);
}

.hero-product {
    position: relative;
    background: white;
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 25px;
    box-shadow: var(--shadow-lg);
}

.product-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.product-eyebrow {
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.product-title {
    margin-top: 7px;
    font-size: 25px;
    font-weight: 830;
    letter-spacing: -.035em;
}

.product-sub {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.verified-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 750;
}

.verified-pill svg {
    width: 15px;
}

.product-visual {
    margin: 22px 0;
    min-height: 176px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background:
        linear-gradient(145deg, #f4f8f5, #eaf4ed);
}

.phone-visual {
    width: 105px;
    height: 154px;
    padding: 7px;
    border-radius: 23px;
    background: #121713;
    box-shadow:
        0 20px 35px rgba(7,21,15,.22);
    transform: rotate(-7deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 17px;
    background:
        radial-gradient(circle at 70% 20%, #5ef09b, transparent 28%),
        radial-gradient(circle at 20% 80%, #28503b, transparent 34%),
        linear-gradient(145deg, #14261b, #07110c);
}

.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.price-box {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.price-box.best {
    background: var(--green-soft);
    border-color: #cbeed7;
}

.price-label {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.price-number {
    margin-top: 5px;
    font-size: 20px;
    font-weight: 820;
}

.price-box.best .price-number {
    color: var(--green-dark);
}

.savings-row {
    margin-top: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 15px;
    border-radius: 16px;
    background: var(--dark);
    color: white;
}

.savings-label {
    color: #a9b7ae;
    font-size: 12px;
}

.savings-number {
    color: var(--green-bright);
    font-size: 20px;
    font-weight: 830;
}

.product-footer {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
}

.rating {
    color: #6a5a15;
}


/* ================================================================
   TRUST STRIP
================================================================ */

.trust-strip {
    padding: 23px 0;
    background: white;
    border-block: 1px solid var(--line);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 7px 20px;
    color: #4b5a50;
    font-size: 13px;
    font-weight: 650;
    border-right: 1px solid var(--line);
}

.trust-item:last-child {
    border-right: 0;
}

.trust-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
}

.trust-icon svg {
    width: 16px;
}


/* ================================================================
   CATEGORIES
================================================================ */

.categories-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.category-card {
    min-height: 185px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: #bedbc8;
    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--surface-soft);
    color: var(--green-dark);
}

.category-icon svg {
    width: 23px;
}

.category-name {
    margin-top: 28px;
    font-size: 16px;
    font-weight: 780;
}

.category-desc {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}


/* ================================================================
   I WANT THIS
================================================================ */

.want-section {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    color: white;
}

.want-section::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -170px;
    bottom: -260px;
    border-radius: 50%;
    background: rgba(66,232,137,.11);
}

.want-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr .95fr;
    gap: 75px;
    align-items: center;
}

.want-section .eyebrow {
    color: var(--green-bright);
}

.want-section h2 {
    margin: 16px 0 0;
    max-width: 650px;
    font-size: clamp(42px, 5vw, 67px);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.want-copy {
    margin-top: 22px;
    max-width: 620px;
    color: #aabbb0;
    font-size: 18px;
    line-height: 1.75;
}

.want-steps {
    margin-top: 28px;
    display: grid;
    gap: 12px;
}

.want-step {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    color: #dce7e0;
    font-size: 14px;
}

.step-number {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(66,232,137,.15);
    color: var(--green-bright);
    font-size: 12px;
    font-weight: 800;
}

.request-demo {
    padding: 22px;
    border: 1px solid rgba(255,255,255,.12);
    background: #10251a;
    border-radius: 27px;
    box-shadow: 0 35px 80px rgba(0,0,0,.22);
}

.request-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.request-label {
    color: #94a79b;
    font-size: 12px;
}

.request-status {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(66,232,137,.12);
    color: var(--green-bright);
    font-size: 11px;
    font-weight: 750;
}

.request-text {
    margin-top: 14px;
    padding: 18px;
    border-radius: 17px;
    background: rgba(255,255,255,.06);
    font-weight: 700;
    line-height: 1.5;
}

.seller-list {
    margin-top: 14px;
    display: grid;
    gap: 9px;
}

.seller-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px;
    border-radius: 15px;
    background: rgba(255,255,255,.055);
}

.seller-name {
    font-size: 13px;
    font-weight: 700;
}

.seller-distance {
    margin-top: 3px;
    color: #8ea096;
    font-size: 11px;
}

.seller-offer {
    text-align: right;
    color: var(--green-bright);
    font-weight: 800;
}


/* ================================================================
   REAL DEAL / PRICE INTELLIGENCE
================================================================ */

.price-section {
    background: white;
}

.price-intel-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: stretch;
}

.price-story {
    padding: 38px;
    border-radius: 28px;
    background: var(--surface-soft);
}

.price-story h3 {
    margin: 0;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.price-story p {
    margin: 16px 0 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.price-features {
    margin-top: 28px;
    display: grid;
    gap: 13px;
}

.price-feature {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 14px;
    font-weight: 650;
}

.check {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
}

.check svg {
    width: 14px;
}

.effective-price-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: white;
    box-shadow: var(--shadow-md);
}

.effective-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.effective-title {
    font-size: 16px;
    font-weight: 800;
}

.effective-sub {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.deal-score {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 16px;
    font-weight: 850;
}

.breakdown {
    margin-top: 24px;
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--line);
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
    background: white;
    font-size: 13px;
}

.breakdown-row span:first-child {
    color: var(--muted);
}

.breakdown-row.discount strong {
    color: var(--green-dark);
}

.effective-total {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 19px;
    border-radius: 18px;
    background: var(--dark);
    color: white;
}

.effective-total span {
    color: #aebbb3;
    font-size: 12px;
}

.effective-total strong {
    color: var(--green-bright);
    font-size: 28px;
}


/* ================================================================
   NEARBY
================================================================ */

.nearby-layout {
    margin-top: 46px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    min-height: 480px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: white;
    box-shadow: var(--shadow-md);
}

.map-panel {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    background:
        linear-gradient(rgba(230,237,232,.75) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230,237,232,.75) 1px, transparent 1px),
        #f3f6f4;
    background-size: 42px 42px;
}

.map-road {
    position: absolute;
    height: 16px;
    border-radius: 999px;
    background: white;
    box-shadow: 0 0 0 1px #e6ece8;
}

.road-a {
    width: 78%;
    top: 42%;
    left: 7%;
    transform: rotate(-18deg);
}

.road-b {
    width: 73%;
    top: 58%;
    left: 16%;
    transform: rotate(27deg);
}

.road-c {
    width: 52%;
    top: 24%;
    left: 25%;
    transform: rotate(71deg);
}

.map-pin {
    position: absolute;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 4px solid white;
    border-radius: 50% 50% 50% 12px;
    background: var(--green);
    color: #06120b;
    box-shadow: var(--shadow-sm);
    transform: rotate(-45deg);
}

.map-pin span {
    font-size: 11px;
    font-weight: 850;
    transform: rotate(45deg);
}

.pin-a {
    top: 23%;
    left: 29%;
}

.pin-b {
    top: 56%;
    left: 58%;
}

.pin-c {
    top: 70%;
    left: 31%;
}

.user-location {
    position: absolute;
    top: 47%;
    left: 45%;
    width: 19px;
    height: 19px;
    border: 4px solid white;
    border-radius: 50%;
    background: #3478f6;
    box-shadow:
        0 0 0 8px rgba(52,120,246,.15),
        var(--shadow-sm);
}

.nearby-list {
    padding: 27px;
}

.nearby-list h3 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -.035em;
}

.nearby-list > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.nearby-deals {
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

.nearby-deal {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 17px;
}

.nearby-deal-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.nearby-deal-name {
    font-size: 14px;
    font-weight: 780;
}

.nearby-deal-distance {
    color: var(--muted);
    font-size: 11px;
}

.nearby-deal-offer {
    margin-top: 10px;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 750;
}


/* ================================================================
   MERCHANT
================================================================ */

.merchant-section {
    background: var(--green-soft);
}

.merchant-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    padding: 54px;
    border-radius: 32px;
    background: white;
    box-shadow: var(--shadow-md);
}

.merchant-panel h2 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(37px, 4.5vw, 61px);
    line-height: 1.03;
    letter-spacing: -.055em;
}

.merchant-panel p {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.merchant-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 21px;
    border-radius: 14px;
    background: var(--dark);
    color: white;
    font-weight: 760;
    white-space: nowrap;
}


/* ================================================================
   APP SECTION
================================================================ */

.app-section {
    overflow: hidden;
    background: var(--dark);
    color: white;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 80px;
    align-items: center;
}

.app-section h2 {
    margin: 15px 0 0;
    font-size: clamp(43px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -.057em;
}

.app-section p {
    margin: 20px 0 0;
    max-width: 650px;
    color: #a9bbb0;
    line-height: 1.75;
    font-size: 17px;
}

.store-buttons {
    display: flex;
    gap: 11px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 11px 15px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 13px;
    background: rgba(255,255,255,.055);
}

.store-button svg {
    width: 25px;
}

.store-small {
    color: #9dadA3;
    font-size: 10px;
}

.store-name {
    margin-top: 1px;
    font-size: 14px;
    font-weight: 700;
}

.app-phone-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 480px;
}

.app-phone {
    width: 245px;
    height: 480px;
    padding: 10px;
    border-radius: 40px 40px 0 0;
    background: #f7f9f7;
    box-shadow: 0 30px 100px rgba(0,0,0,.28);
    transform: translateY(65px);
}

.app-phone-screen {
    height: 100%;
    padding: 28px 15px;
    border-radius: 31px 31px 0 0;
    background: #eef4ef;
    color: var(--ink);
}

.phone-mini-brand {
    font-size: 13px;
    font-weight: 850;
}

.phone-mini-search {
    margin-top: 20px;
    padding: 12px;
    border-radius: 12px;
    background: white;
    color: #89958d;
    font-size: 10px;
}

.phone-mini-title {
    margin-top: 23px;
    font-size: 15px;
    font-weight: 800;
}

.phone-mini-card {
    margin-top: 11px;
    padding: 13px;
    border-radius: 14px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.phone-mini-offer {
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 800;
}

.phone-mini-copy {
    margin-top: 5px;
    color: #76827a;
    font-size: 9px;
    line-height: 1.5;
}


/* ================================================================
   FOOTER
================================================================ */

.footer {
    background: #050d09;
    color: white;
}

.footer-main {
    padding: 68px 0 48px;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 60px;
}

.footer-brand-copy {
    margin-top: 18px;
    max-width: 340px;
    color: #83948a;
    font-size: 13px;
    line-height: 1.7;
}

.footer-column-title {
    color: #e6eee9;
    font-size: 13px;
    font-weight: 800;
}

.footer-links {
    margin-top: 17px;
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: #819188;
    font-size: 13px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #718078;
    font-size: 12px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}


/* ================================================================
   TOAST
================================================================ */

.toast {
    position: fixed;
    z-index: 2000;
    right: 24px;
    bottom: 24px;
    max-width: 350px;
    padding: 15px 17px;
    border-radius: 14px;
    background: var(--dark);
    color: white;
    box-shadow: var(--shadow-lg);
    font-size: 13px;
    transform: translateY(30px);
    opacity: 0;
    pointer-events: none;
    transition:
        transform .25s ease,
        opacity .25s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}


/* ================================================================
   RESPONSIVE
================================================================ */

@media (max-width: 1080px) {

    .nav-links {
        gap: 18px;
    }

    .hero-grid {
        grid-template-columns: 1fr .88fr;
        gap: 44px;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


@media (max-width: 900px) {

    .nav-links,
    .signin {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-nav.active {
        display: grid;
        gap: 5px;
        padding: 10px 0 20px;
    }

    .mobile-nav a {
        padding: 12px 4px;
        color: #516057;
        font-size: 14px;
        font-weight: 650;
    }

    .hero {
        padding-top: 55px;
    }

    .hero-grid,
    .want-grid,
    .app-grid {
        grid-template-columns: 1fr;
    }

    .hero-product-wrap {
        max-width: 570px;
        margin-inline: auto;
    }

    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .price-intel-grid,
    .nearby-layout {
        grid-template-columns: 1fr;
    }

    .merchant-panel {
        grid-template-columns: 1fr;
    }

    .map-panel {
        min-height: 390px;
    }

    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-main > div:last-child {
        grid-column: 2;
    }
}


@media (max-width: 640px) {

    .container {
        width: min(calc(100% - 24px), var(--max));
    }

    .section {
        padding: 72px 0;
    }

    .section-tight {
        padding: 56px 0;
    }

    .nav {
        min-height: 68px;
        gap: 14px;
    }

    .app-button {
        display: none;
    }

    .mobile-menu-button {
        margin-left: auto;
    }

    .hero {
        padding: 42px 0 64px;
    }

    .hero h1 {
        font-size: clamp(49px, 15vw, 67px);
    }

    .hero-copy {
        font-size: 16px;
    }

    .smart-search {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .location-field {
        min-height: 45px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .search-submit {
        min-height: 51px;
    }

    .quick-actions {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .quick-chip {
        white-space: nowrap;
    }

    .hero-product {
        padding: 19px;
        border-radius: 25px;
    }

    .price-grid {
        grid-template-columns: 1fr;
    }

    .trust-items {
        grid-template-columns: 1fr;
    }

    .trust-item {
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        min-height: 165px;
        padding: 17px;
    }

    .want-section h2,
    .section-head h2,
    .app-section h2 {
        letter-spacing: -.045em;
    }

    .price-story,
    .effective-price-card,
    .merchant-panel {
        padding: 25px;
    }

    .nearby-layout {
        border-radius: 23px;
    }

    .map-panel {
        min-height: 320px;
    }

    .app-phone-wrap {
        min-height: 410px;
    }

    .app-phone {
        width: 220px;
        height: 430px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 38px 25px;
    }

    .footer-main > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-main > div:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        padding: 24px 0;
        align-items: flex-start;
        flex-direction: column;
    }
}


@media (max-width: 400px) {

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }
}


/* ================================================================
   STAGE 1A-R8 — FINAL VISUAL POLISH
   Brand tokens locked for current public foundation.
================================================================ */

.hero h1 {
    max-width: 680px;
    text-wrap: balance;
}

.hero-line {
    display: block;
}

.hero-label {
    padding-inline: 14px;
    letter-spacing: -.01em;
}

.smart-search {
    width: min(100%, 690px);
}

.quick-actions {
    width: min(100%, 690px);
}

.nav-links {
    gap: 30px;
}

.nav-links a:last-child {
    margin-left: 5px;
}

.hero-product {
    box-shadow:
        0 28px 70px rgba(7, 21, 15, .11),
        0 8px 24px rgba(7, 21, 15, .05);
}

.hero-product-wrap::before {
    opacity: .78;
}

.product-visual {
    background:
        radial-gradient(
            circle at 62% 36%,
            rgba(66,232,137,.12),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #f6f9f7,
            #eaf4ed
        );
}

.section-head h2,
.want-section h2,
.merchant-panel h2,
.app-section h2 {
    text-wrap: balance;
}

.category-card,
.nearby-deal,
.price-box,
.effective-price-card,
.request-demo {
    -webkit-font-smoothing: antialiased;
}

.search-submit,
.app-button,
.merchant-action {
    transition:
        transform .18s ease,
        background-color .18s ease,
        box-shadow .18s ease;
}

.search-submit:hover,
.merchant-action:hover {
    transform: translateY(-1px);
}

.app-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(7,21,15,.14);
}


@media (max-width: 1080px) {

    .nav-links {
        gap: 22px;
    }

    .nav-links a:last-child {
        margin-left: 0;
    }
}


@media (max-width: 640px) {

    .hero h1 {
        max-width: 100%;
        font-size: clamp(47px, 14.2vw, 64px);
        line-height: .98;
    }

    .hero-line {
        display: block;
    }

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

    .smart-search,
    .quick-actions {
        width: 100%;
    }

    .hero-product {
        box-shadow:
            0 20px 50px rgba(7,21,15,.10);
    }
}
