:root {
    --ink: #071813;
    --night: #061712;
    --night-2: #0a2b22;
    --emerald: #16b981;
    --mint: #72e8bf;
    --paper: #f4fbf7;
    --gold: #f6c85f;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
    background: #dde5e1;
    color: #fff;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.web-toolbar {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 18px;
}

.web-toolbar a,
.web-toolbar button {
    appearance: none;
    background: #fff;
    border: 0;
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    font: 700 13px/1 Inter, sans-serif;
    padding: 12px 18px;
    text-decoration: none;
}

.web-toolbar button { background: var(--emerald); color: #04130e; }
.web-toolbar .theme-toggle { background: #123e31; color: #fff; }

.sheet {
    display: flex;
    margin: 0 auto 32px;
    width: 4.5in;
}

.flyer {
    background:
        radial-gradient(circle at 92% 18%, rgba(45, 212, 164, .18), transparent 26%),
        linear-gradient(157deg, var(--night) 0%, #061c16 62%, #08281f 100%);
    box-shadow: 0 24px 60px rgba(7, 24, 19, .28);
    color: #fff;
    display: flex;
    flex: 0 0 4.5in;
    flex-direction: column;
    height: 11in;
    overflow: hidden;
    padding: .34in .35in .3in;
    position: relative;
}

.flyer--print-copy { display: none; }

.flyer__glow {
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    position: absolute;
}

.flyer__glow--top {
    border: 1px solid rgba(114, 232, 191, .16);
    height: 2.3in;
    right: -1.35in;
    top: .5in;
    width: 2.3in;
}

.flyer__glow--bottom {
    background: rgba(29, 158, 117, .12);
    bottom: -1in;
    height: 2.5in;
    left: -.8in;
    width: 2.5in;
}

.brand {
    align-items: center;
    display: flex;
    min-height: .52in;
    position: relative;
    z-index: 2;
}

.brand__mark {
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 9px;
    height: .46in;
    width: .46in;
}

.brand__text { display: flex; flex-direction: column; margin-left: 10px; }
.brand__text strong { font-size: 14px; letter-spacing: -.02em; }
.brand__text span { color: #9cc5b5; font-size: 6.6px; letter-spacing: .07em; margin-top: 3px; text-transform: uppercase; }

.brand__badge {
    border: 1px solid rgba(114, 232, 191, .34);
    border-radius: 99px;
    color: var(--mint);
    font-size: 6.6px;
    font-weight: 800;
    letter-spacing: .11em;
    margin-left: auto;
    padding: 5px 7px;
}

.hero-copy { margin-top: .29in; position: relative; z-index: 1; }

.eyebrow {
    align-items: center;
    color: var(--mint);
    display: flex;
    font-size: 7.5px;
    font-weight: 800;
    letter-spacing: .16em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.eyebrow span { background: var(--emerald); border-radius: 50%; height: 5px; margin-right: 7px; width: 5px; }

.hero-title {
    font-size: .54in;
    font-weight: 900;
    letter-spacing: -.065em;
    line-height: .85;
    margin: 0;
}

.hero-title em { color: var(--mint); font-style: normal; }

.hero-copy__lead {
    color: #c2d9d0;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.48;
    margin: 14px 0 0;
    max-width: 2.7in;
}

.product-visual {
    background: #eef7f3;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 13px;
    box-shadow: 0 18px 45px rgba(0,0,0,.24);
    height: 2.28in;
    margin-top: .24in;
    overflow: hidden;
    position: relative;
    transform: rotate(-1.2deg);
    z-index: 2;
}

.product-visual__bar {
    align-items: center;
    background: #fff;
    color: #7b8c85;
    display: flex;
    font-size: 6px;
    gap: 4px;
    height: .29in;
    padding: 0 10px;
}

.product-visual__bar strong { color: #486159; font-size: 6.5px; margin-left: 4px; }
.product-visual__dot { background: #c7d5d0; border-radius: 50%; height: 4px; width: 4px; }
.product-visual__dot:first-child { background: #ff8278; }

.product-visual__body { display: flex; height: calc(100% - .29in); }

.mini-nav {
    align-items: center;
    background: #09251d;
    display: flex;
    flex: 0 0 .45in;
    flex-direction: column;
    gap: 13px;
    padding-top: 10px;
}

.mini-nav img { border-radius: 4px; height: 20px; width: 20px; }
.mini-nav i { background: #5b7d70; border-radius: 2px; display: block; height: 4px; opacity: .65; width: 14px; }
.mini-nav i:first-of-type { background: var(--mint); opacity: 1; }

.mini-dashboard { color: var(--ink); flex: 1; padding: 12px 13px 10px; }

.mini-dashboard__heading { align-items: center; display: flex; justify-content: space-between; }
.mini-dashboard__heading div { display: flex; flex-direction: column; }
.mini-dashboard__heading span { color: #869890; font-size: 5.7px; }
.mini-dashboard__heading strong { font-size: 9px; margin-top: 2px; }
.mini-dashboard__heading b { background: #d7f8eb; border-radius: 99px; color: #0a7d58; font-size: 5px; letter-spacing: .08em; padding: 4px 6px; }

.mini-stats { display: grid; gap: 7px; grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
.mini-stats > div { background: #fff; border: 1px solid #e2ebe7; border-radius: 7px; min-height: 45px; padding: 7px; position: relative; }
.mini-stats span { color: #71857c; display: block; font-size: 5.5px; }
.mini-stats strong { display: block; font-size: 8px; margin-top: 4px; }
.spark { border-radius: 3px 3px 0 0; bottom: 6px; display: block; height: 9px; opacity: .25; position: absolute; right: 7px; width: 18px; }
.spark--green { background: var(--emerald); }
.spark--blue { background: #4196e1; }
.spark--gold { background: var(--gold); }

.mini-chart { background: #fff; border: 1px solid #e2ebe7; border-radius: 7px; height: 70px; margin-top: 8px; overflow: hidden; padding: 7px 9px 0; }
.mini-chart span { color: #71857c; display: block; font-size: 5.5px; }
.mini-chart svg { display: block; height: 47px; margin-top: 2px; width: 100%; }
.chart-fill { fill: url(#chart-fill); }
.chart-line { fill: none; stroke: #13a978; stroke-linecap: round; stroke-width: 3; }

.benefits {
    display: grid;
    gap: 15px 15px;
    grid-template-columns: 1fr 1fr;
    margin-top: .26in;
    position: relative;
    z-index: 2;
}

.benefit { align-items: center; display: flex; min-width: 0; }
.benefit__icon { align-items: center; background: rgba(114, 232, 191, .11); border: 1px solid rgba(114, 232, 191, .18); border-radius: 9px; display: flex; flex: 0 0 35px; height: 35px; justify-content: center; }
.benefit__icon svg { fill: var(--mint); height: 17px; width: 17px; }
.benefit div { display: flex; flex-direction: column; margin-left: 9px; min-width: 0; }
.benefit strong { font-size: 12.5px; line-height: 1.18; }
.benefit span:not(.benefit__icon) { color: #c0d5cd; font-size: 9.5px; line-height: 1.35; margin-top: 4px; }

.value-callout {
    background: linear-gradient(120deg, rgba(114, 232, 191, .12), rgba(22, 185, 129, .04));
    border: 1px solid rgba(114, 232, 191, .18);
    border-radius: 12px;
    margin-top: .25in;
    padding: 13px 16px 12px;
    position: relative;
    z-index: 2;
}

.value-callout p {
    color: #d9ebe4;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -.02em;
    margin: 0;
}

.value-callout p strong { color: var(--mint); font-weight: 800; }

.value-callout__items {
    display: grid;
    gap: 11px 13px;
    grid-template-columns: 1fr 1fr;
    margin-top: 14px;
}

.value-callout__items span {
    align-items: center;
    color: #b4cec4;
    display: flex;
    font-size: 10.2px;
    font-weight: 700;
    line-height: 1.25;
}

.value-callout__items svg {
    fill: var(--mint);
    flex: 0 0 15px;
    height: 15px;
    margin-right: 7px;
    width: 15px;
}

.payment-callout {
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(246, 200, 95, .26);
    border-radius: 12px;
    margin-top: .14in;
    padding: 11px 15px;
    position: relative;
    z-index: 2;
}

.payment-callout__heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.payment-callout__heading div { display: flex; flex-direction: column; }
.payment-callout__heading span { color: #b9cec6; font-size: 8.5px; font-weight: 600; }
.payment-callout__heading strong { color: #fff; font-size: 12.5px; margin-top: 2px; }
.payment-callout__heading b { background: rgba(246, 200, 95, .14); border-radius: 99px; color: #ffdc85; font-size: 8px; padding: 5px 7px; }

.payment-callout__methods {
    display: grid;
    gap: 10px;
    grid-template-columns: 1.35fr .9fr;
    margin-top: 11px;
}

.payment-callout__methods span {
    align-items: center;
    color: #d1e2db;
    display: flex;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.25;
}

.payment-callout__methods svg {
    fill: #ffdc85;
    flex: 0 0 16px;
    height: 16px;
    margin-right: 7px;
    width: 16px;
}

/* Variante clara: conserva el contraste de marca y reduce drásticamente
   la cobertura de tinta al imprimir. */
.theme-light { background: #e9efec; }

.theme-light .flyer {
    background:
        radial-gradient(circle at 92% 16%, rgba(22, 185, 129, .10), transparent 25%),
        linear-gradient(155deg, #fbfdfc 0%, #f4faf7 62%, #eef8f3 100%);
    box-shadow: 0 24px 60px rgba(7, 24, 19, .16);
    color: #0a2018;
}

.theme-light .flyer__glow--top { border-color: rgba(15, 110, 86, .12); }
.theme-light .flyer__glow--bottom { background: rgba(29, 158, 117, .07); }
.theme-light .brand__mark { border-color: rgba(7, 24, 19, .10); }
.theme-light .brand__text strong { color: #09251d; }
.theme-light .brand__text span { color: #4e7164; }
.theme-light .brand__badge { background: #e0f6ed; border-color: #b5e6d3; color: #087452; }
.theme-light .eyebrow { color: #087b57; }
.theme-light .hero-title { color: #09251d; }
.theme-light .hero-title em { color: #0b9b6e; }
.theme-light .hero-copy__lead { color: #46695c; }
.theme-light .benefit__icon { background: #e0f6ed; border-color: #c3eadb; }
.theme-light .benefit__icon svg { fill: #087b57; }
.theme-light .benefit strong { color: #09251d; }
.theme-light .benefit span:not(.benefit__icon) { color: #2f5145; }

.theme-light .value-callout {
    background: linear-gradient(120deg, #e5f7ef, #f2faf6);
    border-color: #bde5d5;
}

.theme-light .value-callout p { color: #183d30; }
.theme-light .value-callout p strong { color: #087b57; }
.theme-light .value-callout__items span { color: #1f4e3d; }
.theme-light .value-callout__items svg { fill: #0b8a62; }
.theme-light .payment-callout { background: #fffaf0; border-color: #ead39b; }
.theme-light .payment-callout__heading span { color: #665c42; }
.theme-light .payment-callout__heading strong { color: #302a1b; }
.theme-light .payment-callout__heading b { background: #f6e7bd; color: #6e4b00; }
.theme-light .payment-callout__methods span { color: #3e392b; }
.theme-light .payment-callout__methods svg { fill: #8a5d00; }
.theme-light .cta { border-color: #cfe2da; }
.theme-light .cta__copy > span { color: #35584b; }
.theme-light .cta__copy strong { color: #09251d; }
.theme-light .cta__copy a { color: #006e4a; }
.theme-light .qr { border: 1px solid #d9e6e1; box-shadow: 0 5px 15px rgba(7, 24, 19, .12); }

.cta {
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.13);
    display: flex;
    margin-top: auto;
    padding-top: .16in;
    position: relative;
    z-index: 2;
}

.cta__copy { display: flex; flex: 1; flex-direction: column; padding-right: 10px; }
.cta__copy > span { color: #aec7bd; font-size: 9.5px; line-height: 1.3; }
.cta__copy strong { font-size: 14.5px; letter-spacing: -.02em; margin-top: 5px; }
.cta__copy a { color: var(--mint); font-size: 11.5px; font-weight: 800; margin-top: 8px; text-decoration: none; }
.cta__copy b { font-size: 13px; }

.qr {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
    display: block;
    flex: 0 0 .77in;
    height: .77in;
    padding: 5px;
}

.qr img { display: block; height: 100%; image-rendering: pixelated; width: 100%; }

@media (max-width: 520px) {
    .web-toolbar { padding: 10px; }
    .sheet { transform: scale(calc((100vw - 20px) / 432)); transform-origin: top center; }
    body { overflow-x: hidden; }
    .benefit strong { font-size: 13px; }
    .benefit span:not(.benefit__icon) { font-size: 10px; }
    .value-callout p { font-size: 13.5px; }
    .value-callout__items span { font-size: 10.7px; }
    .payment-callout__heading strong { font-size: 13px; }
    .payment-callout__methods span { font-size: 9.5px; }
    .cta__copy > span { font-size: 10px; }
    .cta__copy strong { font-size: 15px; }
    .cta__copy a { font-size: 12px; }
}

@media print {
    @page { margin: 0; size: 9in 11in; }

    html, body {
        background: #fff;
        height: 11in;
        margin: 0;
        padding: 0;
        width: 9in;
    }

    body { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .web-toolbar { display: none !important; }

    .sheet {
        display: flex;
        height: 11in;
        margin: 0;
        position: relative;
        width: 9in;
    }

    .sheet::after {
        border-left: .5pt dashed rgba(255,255,255,.38);
        bottom: 0;
        content: "";
        left: 4.5in;
        pointer-events: none;
        position: absolute;
        top: 0;
        z-index: 10;
    }

    .flyer,
    .flyer--print-copy {
        box-shadow: none;
        display: flex;
        page-break-inside: avoid;
    }
}
