:root {
    --green: #94D196;
    --deep: #2d4f2e;
    --deep-2: #3a6b3c;
    --cream: #f7f3ee;
    --cream-dark: #ede7df;
    --text: #1a2e1b;
    --muted: #5a7a5c;
    --radius: 16px;
}

/* Custom styles */

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.6rem;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    max-width: 1320px;
    padding: 0 4rem;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    color: var(--deep);
}

a {
    color: var(--deep);
}

.top-pad {
    padding-top: 11rem;
}

/* ─── NOISE OVERLAY ──────────────────────────── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* ─── NAV ────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: rgba(247, 243, 238, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(45, 79, 46, 0.08);
    padding: 1.4rem 0;
}

.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep);
    text-decoration: none;
}

.nav-logo-img {
    width: 34px;
    height: 34px;
}

.nav-logo-bee {
    width: 34px;
    height: 34px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

/* Popover trigger wrapper */
.nav-download-wrap {
    position: relative;
    display: inline-block;
}

.btn-nav {
    background: var(--deep);
    color: var(--cream);
    border: none;
    border-radius: 10rem;
    padding: 0.9rem 2.2rem;
    font-size: 1.4rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    height: auto;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 0;
}

.btn-nav:hover,
.btn-nav:focus {
    background: var(--deep-2);
    transform: translateY(-1px);
    color: var(--cream);
    outline: none;
}

/* Popover */
.nav-popover {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--cream);
    border: 1px solid rgba(45, 79, 46, 0.12);
    border-radius: var(--radius);
    box-shadow: 0 16px 48px rgba(45, 79, 46, 0.18);
    padding: 2.4rem 2.4rem;
    min-width: 260px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 600;
}

.nav-popover::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: var(--cream);
    border-left: 1px solid rgba(45, 79, 46, 0.12);
    border-top: 1px solid rgba(45, 79, 46, 0.12);
    transform: rotate(45deg);
}

.nav-popover.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.popover-label {
    font-size: 1.1rem;
    color: var(--muted);
    font-weight: 300;
    margin-bottom: 1.4rem;
    display: block;
}

.popover-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ─── STORE BADGE ────────────────────── */
.store-badge {
    height: 40px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    transition: opacity 0.2s, transform 0.15s;
}

.store-badge:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.store-badge-hero {
    height: 60px;
}

.store-badge-full-width {
    height: auto;
    width: 100%;
}

/* ─── HERO ───────────────────────────────────── */
.hero-section {
    padding-top: 11rem;
    padding-bottom: 8rem;
}

.hero-section .row {
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(148, 209, 150, 0.22);
    border: 1px solid rgba(148, 209, 150, 0.5);
    color: var(--deep);
    padding: 0.5rem 1.3rem;
    border-radius: 10rem;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2.2rem;
}

.hero-h1 {
    font-size: clamp(3.6rem, 5.5vw, 5.4rem);
    line-height: 1.08;
    margin-bottom: 2rem;
}

.hero-h1 em {
    font-style: italic;
    color: var(--deep-2);
}

.hero-sub {
    font-size: 1.7rem;
    line-height: 1.65;
    color: var(--muted);
    font-weight: 300;
    max-width: 44rem;
    margin-bottom: 3.4rem;
}

.hero-store-row {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2.8rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    color: var(--muted);
}

.stars {
    color: #e8a838;
    letter-spacing: 2px;
}

/* Hero visual */
.hero-visual {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    animation: fadeUp 0.8s ease 0.3s both;
}

.screenshot-stack {
    position: relative;
    width: 270px;
    height: 530px;
}

.ss-back {
    position: absolute;
    width: 240px;
    height: 480px;
    top: 50px;
    left: 30px;
    background: linear-gradient(145deg, #dcedc8, #c8e6c9);
    border-radius: 3.2rem;
    opacity: 0.5;
    box-shadow: 0 20px 60px rgba(45, 79, 46, 0.12);
}

.ss-front {
    position: absolute;
    width: 260px;
    height: 500px;
    top: 0;
    left: 0;
    background: linear-gradient(145deg, #e8f5e9, #d4edda);
    border-radius: 3.2rem;
    border: 1px solid rgba(45, 79, 46, 0.1);
    box-shadow: 0 32px 80px rgba(45, 79, 46, 0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.ss-front .ss-icon {
    font-size: 3.2rem;
    opacity: 0.3;
}

.ss-front .ss-hint {
    font-size: 1.2rem;
    color: var(--muted);
    font-style: italic;
    text-align: center;
    padding: 0 2rem;
}

/* ─── PROBLEM STRIP ──────────────────────────── */
.problem-strip {
    background: var(--deep);
    color: var(--cream);
    padding: 2.8rem 0;
    text-align: center;
}

.problem-strip p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-style: italic;
    opacity: 0.92;
    margin: 0;
}

.problem-strip strong {
    font-style: normal;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    color: var(--green);
}

/* ─── SECTION CHROME ─────────────────────────── */
.section-eyebrow {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--deep);
    opacity: 0.55;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.8rem, 4vw, 3.8rem);
    line-height: 1.18;
    margin-bottom: 5.6rem;
    max-width: 46rem;
}

/* ─── FEATURES ───────────────────────────────── */
.features-section {
    padding: 9.6rem 0;
}

.features-grid {
    background: rgba(45, 79, 46, 0.07);
    border-radius: 2rem;
    overflow: hidden;
    gap: 2px !important;
    flex-wrap: wrap;
}

.feature-col {
    background: var(--cream);
    padding: 3.6rem 3rem;
    transition: background 0.2s;
    flex: 0 0 calc(33.333% - 2px);
    max-width: calc(33.333% - 2px);
}

.feature-col:hover {
    background: #f0ece6;
}

.feature-icon-wrap {
    width: 46px;
    height: 46px;
    background: rgba(148, 209, 150, 0.22);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.8rem;
}

.feature-col h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.feature-col p {
    font-size: 1.4rem;
    line-height: 1.65;
    color: var(--muted);
    font-weight: 300;
    margin: 0;
}

/* ─── SCREENSHOTS ────────────────────────────── */
.screenshots-section {
    padding: 9.6rem 0;
}

.screenshots-section .section-title,
.screenshots-section .section-eyebrow {
    text-align: center;
    max-width: 100%;
}

.ss-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2.4rem;
    flex-wrap: wrap;
}

.ss-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
}

.ss-item:nth-child(even) {
    margin-top: 3.2rem;
}

.ss-frame {
    width: 175px;
    height: 340px;
    background: linear-gradient(145deg, #e8f5e9, #c8e6c9);
    border-radius: 2.6rem;
    border: 1px solid rgba(45, 79, 46, 0.1);
    box-shadow: 0 20px 56px rgba(45, 79, 46, 0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: transform 0.3s;
}

.ss-frame:hover {
    transform: translateY(-6px);
}

.ss-frame .icon {
    font-size: 2.4rem;
    opacity: 0.3;
}

.ss-frame .hint {
    font-size: 1.1rem;
    color: var(--muted);
    text-align: center;
    padding: 0 1.4rem;
    font-style: italic;
}

.ss-caption {
    font-size: 1.2rem;
    color: var(--muted);
    text-align: center;
}

/* ─── PREMIUM ────────────────────────────────── */
.premium-wrap {
    padding: 0 4rem 9.6rem;
}

.premium-card {
    background: var(--deep);
    color: var(--cream);
    border-radius: 2.4rem;
    padding: 7.2rem 6.4rem;
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: rgba(148, 209, 150, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.premium-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 180px;
    width: 200px;
    height: 200px;
    background: rgba(148, 209, 150, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.premium-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.8rem;
    align-items: center;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(148, 209, 150, 0.14);
    border: 1px solid rgba(148, 209, 150, 0.28);
    color: var(--green);
    padding: 0.5rem 1.4rem;
    border-radius: 10rem;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 2.2rem;
}

.premium-card h2 {
    color: var(--cream);
    font-size: clamp(2.4rem, 3.5vw, 3.4rem);
    line-height: 1.18;
    margin-bottom: 1.4rem;
}

.premium-sub {
    font-size: 1.6rem;
    line-height: 1.65;
    opacity: 0.72;
    font-weight: 300;
    margin-bottom: 3rem;
}

.premium-highlight {
    color: var(--green);
    font-style: italic;
    font-weight: 500;
}

.premium-store-row {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.perks-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.perks-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    font-size: 1.5rem;
    opacity: 0.88;
    font-weight: 300;
}

.perk-icon {
    width: 30px;
    height: 30px;
    background: rgba(148, 209, 150, 0.18);
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ─── TESTIMONIALS ───────────────────────────── */
.testimonials-section {
    background: var(--cream-dark);
    padding: 9.6rem 0;
}

.testimonials-section .row {
    align-items: stretch;
}

.t-card {
    background: var(--cream);
    border: 1px solid rgba(45, 79, 46, 0.08);
    border-radius: 2rem;
    padding: 3.6rem 3.2rem;
    height: 100%;
}

.t-card.featured {
    background: var(--deep);
    border-color: transparent;
    color: var(--cream);
}

.t-quote {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    line-height: 0.7;
    color: var(--green);
    opacity: 0.45;
    margin-bottom: 1.6rem;
}

.t-text {
    font-size: 1.5rem;
    line-height: 1.72;
    color: var(--text);
    font-weight: 300;
    margin-bottom: 2.4rem;
}

.t-card.featured .t-text {
    color: rgba(247, 243, 238, 0.82);
}

.t-stars {
    color: #e8a838;
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.t-byline {
    font-size: 1.2rem;
    color: var(--muted);
    font-weight: 500;
    margin: 0;
}

.t-card.featured .t-byline {
    color: rgba(247, 243, 238, 0.45);
}

/* ─── FINAL CTA ──────────────────────────────── */
.final-cta {
    padding: 11rem 0;
    text-align: center;
}

.final-cta h2 {
    font-size: clamp(3rem, 4.5vw, 4.4rem);
    line-height: 1.15;
    margin-bottom: 1.6rem;
}

.final-cta .sub {
    font-size: 1.6rem;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 4rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.fine-print {
    font-size: 1.2rem;
    color: var(--muted);
    font-weight: 300;
    margin: 0;
}

/* ─── FOOTER ─────────────────────────────────── */
.site-footer {
    background: var(--deep);
    padding: 2.8rem 0;
}

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.6rem;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--cream);
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 2.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: rgba(247, 243, 238, 0.55);
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-copy {
    font-size: 1.3rem;
    color: rgba(247, 243, 238, 0.35);
    margin: 0;
}

/* ─── ANIMATIONS ─────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content>* {
    animation: fadeUp 0.55s ease both;
}

.hero-content>*:nth-child(1) {
    animation-delay: 0.08s;
}

.hero-content>*:nth-child(2) {
    animation-delay: 0.18s;
}

.hero-content>*:nth-child(3) {
    animation-delay: 0.28s;
}

.hero-content>*:nth-child(4) {
    animation-delay: 0.38s;
}

.hero-content>*:nth-child(5) {
    animation-delay: 0.46s;
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 80rem) {
    .container {
        padding: 0 2.4rem;
    }

    .premium-wrap {
        padding: 0 2.4rem 6.4rem;
    }

    .premium-card {
        padding: 3.6rem 2.8rem;
    }

    .premium-card-inner {
        grid-template-columns: 1fr;
        gap: 3.2rem;
    }

    .premium-store-row {
        flex-direction: column;
    }

    .hero-section .row {
        flex-wrap: wrap;
    }

    .hero-section .column:first-child {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-section .column:last-child {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .feature-col {
        flex: 0 0 calc(50% - 2px);
        max-width: calc(50% - 2px);
    }

    .screenshot-stack {
        width: 220px;
        height: 420px;
    }

    .ss-front {
        width: 210px;
        height: 400px;
    }

    .ss-back {
        width: 190px;
        height: 370px;
    }

    .hero-section .hero-content {
        text-align: center;
    }

    .hero-section .hero-trust,
    .hero-section .hero-store-row {
        justify-content: center;
    }

    .hero-section .hero-sub {
        max-width: 100%;
    }

    .hero-visual {
        margin-top: 4.8rem;
    }
}

@media (max-width: 40rem) {
    .feature-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .premium-card .row {
        flex-direction: column;
    }

    .premium-card .perks-list {
        margin-top: 20px;
    }
}