/* ═══════════════════════════════════════════════════════════
   ZimRewardCards — landing page styles
   Flat design. No gradients, no shadows. Depth comes from
   colour contrast and 2px borders.
   ═══════════════════════════════════════════════════════════ */

/* ─────────────  TOKENS  ───────────── */
:root {
    --green: #00843D;
    --green-deep: #005C2E;
    --green-bright: #00A651;
    --yellow: #FFC72C;
    --ink: #0D2A18;
    --paper: #FFFFFF;
    --mist: #F2F5F2;
    --line: #DDE4DE;
    --muted: #5A6B60;

    --radius: 14px;
    --radius-lg: 22px;
    --maxw: 1140px;
    --pad: clamp(20px, 5vw, 40px);

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul,
figure {
    margin: 0;
}

ul {
    padding: 0;
    list-style: none;
}

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

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

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ─────────────  LAYOUT  ───────────── */
.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--pad);
}

section {
    padding-block: clamp(64px, 9vw, 110px);
}

/* ─────────────  TYPE  ───────────── */
.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--mist);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(36px, 6.2vw, 62px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 800;
}

h2 {
    font-size: clamp(28px, 4.4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 800;
}

h3 {
    font-size: clamp(18px, 2.2vw, 21px);
    line-height: 1.3;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.lede {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--muted);
    max-width: 56ch;
}

.section-head {
    max-width: 640px;
    margin-bottom: clamp(36px, 5vw, 56px);
}

/* ─────────────  BUTTONS  ───────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.005em;
    transition: transform .12s ease, background .15s ease, color .15s ease;
}

.btn:active {
    transform: translateY(2px);
}

.btn--solid {
    background: var(--green);
    color: #fff;
}

.btn--solid:hover {
    background: var(--green-deep);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 2px solid var(--line);
}

.btn--ghost:hover {
    border-color: var(--ink);
}

.btn--ink {
    background: var(--ink);
    color: #fff;
}

.btn--ink:hover {
    background: #163a22;
}

/* ─────────────  NAV  ───────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid transparent;
    transition: border-color .2s ease;
}

.nav.is-stuck {
    border-bottom-color: var(--line);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.02em;
}

.logo__mark {
    width: 34px;
    height: 34px;
    background: var(--green);
    border-radius: 10px;
    display: grid;
    place-items: center;
    position: relative;
    flex-shrink: 0;
}

.logo__mark span {
    width: 18px;
    height: 4px;
    background: #fff;
    border-radius: 1px;
    box-shadow: 0 6px 0 #fff, 0 12px 0 #fff;
    position: relative;
    top: -6px;
}

.logo__mark::after {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--yellow);
    border: 3px solid var(--green);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav__links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
    transition: color .15s ease;
}

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

.nav__cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav__cta .btn {
    padding: 11px 22px;
    font-size: 14px;
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}

.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    position: relative;
    transition: background .15s ease;
}

.burger span::before,
.burger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s ease, top .2s ease;
}

.burger span::before {
    top: -6px;
}

.burger span::after {
    top: 6px;
}

.burger.is-open span {
    background: transparent;
}

.burger.is-open span::before {
    top: 0;
    transform: rotate(45deg);
}

.burger.is-open span::after {
    top: 0;
    transform: rotate(-45deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0 24px;
    border-top: 2px solid var(--line);
}

.mobile-menu.is-open {
    display: flex;
}

.mobile-menu a {
    padding: 14px 4px;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
}

/* ─────────────  HERO  ───────────── */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--mist);
    padding-block: clamp(56px, 8vw, 96px) clamp(72px, 10vw, 120px);
}

.hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(0, 166, 81, .10);
    top: -160px;
    right: -120px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 36px;
    background: rgba(255, 199, 44, .22);
    transform: rotate(18deg);
    bottom: -80px;
    left: -60px;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero h1 em {
    font-style: normal;
    color: var(--green);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    margin-top: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green-bright);
    flex-shrink: 0;
}

/* ── Phone mockup ── */
.phone-stage {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone {
    width: min(300px, 100%);
    aspect-ratio: 9 / 18.5;
    background: var(--ink);
    border-radius: 40px;
    padding: 12px;
    position: relative;
}

.phone__notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 22px;
    background: var(--ink);
    border-radius: 0 0 14px 14px;
    z-index: 3;
}

.phone__screen {
    width: 100%;
    height: 100%;
    background: #0A1F12;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ps__top {
    padding: 34px 16px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.ps__top small {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: .9;
}

.ps__top .pill {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
}

.ps__body {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 0 14px 20px;
}

.ps__card {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 18px 16px 16px;
    text-align: center;
}

.ps__store {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.ps__bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2.5px;
    height: 68px;
    margin-bottom: 14px;
}

.ps__bars i {
    display: block;
    background: var(--ink);
    border-radius: 1px;
}

.ps__num {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.22em;
    font-variant-numeric: tabular-nums;
}

.ps__hint {
    margin-top: 8px;
    font-size: 10px;
    color: var(--muted);
}

.ps__foot {
    padding: 0 14px 16px;
    display: flex;
    gap: 8px;
}

.ps__foot span {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
}

/* ─────────────  STORE STRIP  ───────────── */
.stores {
    padding-block: clamp(44px, 5vw, 62px);
    border-block: 2px solid var(--line);
}

.stores__label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 26px;
}

.stores__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.store-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--mist);
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: -0.01em;
}

.store-pill i {
    width: 9px;
    height: 9px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* ─────────────  FEATURES  ───────────── */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feat {
    background: var(--paper);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 26px 28px;
    transition: border-color .18s ease;
}

.feat:hover {
    border-color: var(--green);
}

.feat__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    background: var(--mist);
    color: var(--green);
}

.feat__icon svg {
    width: 26px;
    height: 26px;
}

.feat p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
}

.feat--accent {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.feat--accent p {
    color: rgba(255, 255, 255, .86);
}

.feat--accent .feat__icon {
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

/* ─────────────  HOW IT WORKS  ───────────── */
.how {
    background: var(--mist);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    counter-reset: step;
}

.step {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 34px 26px 30px;
    position: relative;
}

.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--paper);
    background: var(--green);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
}

.step p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
}

.step--last::before {
    background: var(--yellow);
    color: var(--ink);
}

/* ─────────────  FAQ  ───────────── */
.faq__list {
    border-top: 2px solid var(--line);
}

details {
    border-bottom: 2px solid var(--line);
}

summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 4px;
    font-weight: 700;
    font-size: clamp(16px, 1.9vw, 18px);
    letter-spacing: -0.01em;
    cursor: pointer;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "";
    width: 13px;
    height: 13px;
    border-right: 2.5px solid var(--green);
    border-bottom: 2.5px solid var(--green);
    transform: rotate(45deg) translateY(-3px);
    transition: transform .2s ease;
    flex-shrink: 0;
}

details[open] summary::after {
    transform: rotate(-135deg) translateY(-3px);
}

details p {
    padding: 0 4px 26px;
    color: var(--muted);
    max-width: 72ch;
}

/* ─────────────  CTA  ───────────── */
.cta {
    background: var(--ink);
    color: #fff;
}

.cta__box {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.cta h2 {
    color: #fff;
}

.cta .lede {
    color: rgba(255, 255, 255, .72);
    margin-top: 16px;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    transition: transform .12s ease;
}

.store-badge:hover {
    transform: translateY(-2px);
}

.store-badge svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.store-badge b {
    display: block;
    font-size: 14.5px;
    line-height: 1.2;
}

.store-badge small {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
}

.cta__art {
    display: flex;
    justify-content: center;
}

.stack {
    position: relative;
    width: min(300px, 100%);
    aspect-ratio: 1 / 1;
}

.stack__card {
    position: absolute;
    inset: 12% 6%;
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stack__card:nth-child(1) {
    background: rgba(255, 255, 255, .08);
    transform: rotate(-9deg) translate(-16px, 10px);
}

.stack__card:nth-child(2) {
    background: rgba(255, 255, 255, .14);
    transform: rotate(5deg) translate(14px, -6px);
}

.stack__card:nth-child(3) {
    background: var(--yellow);
    color: var(--ink);
    transform: rotate(-2deg);
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.stack__card:nth-child(3) b {
    font-size: 22px;
    letter-spacing: 0.04em;
}

.stack__card:nth-child(3) svg {
    width: 44px;
    height: 44px;
}

/* ─────────────  FOOTER  ───────────── */
footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .62);
    padding-block: 44px;
    border-top: 2px solid rgba(255, 255, 255, .10);
}

.foot {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.foot__brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    color: #fff;
    font-size: 16px;
}

.foot__links {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    font-size: 14px;
    font-weight: 600;
}

.foot__links a:hover {
    color: #fff;
}

.foot small {
    display: block;
    width: 100%;
    font-size: 13px;
}

/* ─────────────  REVEAL  ───────────── */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ─────────────  RESPONSIVE  ───────────── */
@media (max-width: 960px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .phone-stage {
        order: -1;
    }

    .grid-3,
    .steps {
        grid-template-columns: 1fr 1fr;
    }

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

    .cta__art {
        order: -1;
    }

    .stack {
        width: min(260px, 70vw);
    }
}

@media (max-width: 720px) {

    .nav__links,
    .nav__cta {
        display: none;
    }

    .burger {
        display: flex;
    }

    .grid-3,
    .steps {
        grid-template-columns: 1fr;
    }
}