/* MyStamps marketing site — builds on app.css tokens. */
body.mkt { background: #fff; }
.mkt-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .mkt-wrap { padding: 0 24px; } }
.skip { position: absolute; left: 8px; top: 8px; z-index: 3000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }

/* header */
.mkt-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px);
              -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--ms-line); }
.mkt-header > .mkt-wrap { height: 68px; }
.mkt-nav { gap: 1.75rem; }
.mkt-nav a, .mkt-login { color: var(--ms-ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.mkt-nav a:hover, .mkt-login:hover, .mkt-nav a.active { color: var(--ms-primary); }
.mkt-nav a.active { font-weight: 800; }
.mkt-login { padding: .5rem .75rem; }
.mkt-offcanvas { max-width: 320px; }
.mobile-link { padding: .9rem 1rem; border-radius: 12px; font-weight: 700; font-size: 1.1rem; color: var(--ms-ink); text-decoration: none; }
.mobile-link:hover, .mobile-link.active { background: var(--ms-primary-50); color: var(--ms-primary-700); }

/* sections */
.sec { padding: 64px 0; }
.sec-tint { background: var(--ms-bg); }
.sec-dark { background: var(--ms-ink); color: #fff; }
@media (min-width: 992px) { .sec { padding: 96px 0; } }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sec-head h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); margin: .6rem 0 .6rem; }
.sec-head p { color: var(--ms-muted); font-size: 1.1rem; margin: 0; }
.eyebrow-chip { display: inline-block; background: var(--ms-primary-50); color: var(--ms-primary-700); border-radius: 999px; padding: .3rem .8rem;
                font-size: .8rem; font-weight: 800; letter-spacing: .02em; }
.sec-dark .eyebrow-chip { background: rgba(255,255,255,.12); color: #fff; }
.lead-muted { color: var(--ms-muted); font-size: 1.12rem; }

/* hero */
.hero { padding: 40px 0 56px; overflow: hidden; }
@media (min-width: 992px) { .hero { padding: 72px 0 88px; } }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.9rem); line-height: 1.05; margin: 1rem 0; }
.hero h1 .accent { color: var(--ms-primary); display: block; }
.hero .sub { font-size: 1.15rem; color: var(--ms-muted); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.25rem; color: var(--ms-muted); font-size: .92rem; font-weight: 600; }
.hero-points i { color: var(--ms-success); }
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-visual::before { content: ""; position: absolute; width: min(460px, 92vw); aspect-ratio: 1; border-radius: 50%;
                       background: radial-gradient(circle, var(--ms-primary-50) 0%, rgba(239,236,254,.4) 60%, transparent 70%); top: 50%; left: 50%;
                       transform: translate(-50%, -54%); z-index: 0; }
.hero-visual > * { position: relative; z-index: 1; }

/* phone demo */
.phone { width: 280px; max-width: 82vw; border-radius: 40px; background: #17152B; padding: 12px; box-shadow: 0 30px 60px rgba(23,21,43,.22); }
.phone-screen { background: var(--ms-bg); border-radius: 30px; min-height: 500px; padding: 34px 14px 14px; position: relative; display: flex; flex-direction: column; }
.phone-screen::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; border-radius: 12px; background: #17152B; }
.phone .p-brand { display: flex; align-items: center; justify-content: center; gap: .35rem; font-size: .95rem; margin-bottom: .75rem; }
.phone .p-brand .brand-mark { width: 20px; height: 20px; }
.phone .p-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--ms-shadow); }
.phone .p-head { background: var(--ms-primary); color: #fff; padding: .8rem 1rem; }
.phone .p-head small { display: block; opacity: .8; font-size: .72rem; font-weight: 600; }
.phone .p-head strong { font-size: 1.05rem; }
.phone .p-body { padding: .9rem; }
.phone .stamp-grid { gap: .45rem; }
.phone .stamp { font-size: .7rem; }
.phone .stamp.filled { font-size: 1rem; }
.phone .p-progress { font-size: .78rem; margin-top: .7rem; }
.phone .p-progress b { display: block; font-size: .85rem; }
.phone .p-progress span { color: var(--ms-muted); }
.phone .p-unlocked { margin-top: .6rem; background: var(--ms-gold-50); color: #7A5200; border-radius: 10px; padding: .45rem .6rem; font-size: .75rem; font-weight: 700; display: none; }
.phone .p-unlocked.show { display: block; animation: stamp-pop .35s ease-out; }
.phone .p-tap { margin-top: auto; width: 100%; }
.demo-toggle { margin-top: .9rem; background: none; border: 0; color: var(--ms-muted); font-weight: 700; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.demo-toggle:hover { color: var(--ms-primary); }

/* step / feature cards */
.step-card { background: #fff; border-radius: 22px; box-shadow: var(--ms-shadow); overflow: hidden; height: 100%; position: relative; display: flex; flex-direction: column; }
.step-card .art { aspect-ratio: 4/3; background: var(--ms-primary-50); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.step-card .art img { width: 100%; height: 100%; object-fit: cover; }
.step-card .txt { padding: 1.25rem 1.4rem 1.5rem; position: relative; }
.step-card .num { position: absolute; right: 1.1rem; top: .4rem; font-size: 4rem; font-weight: 800; color: var(--ms-primary-50); line-height: 1; }
.step-card h3 { font-size: 1.2rem; margin: .6rem 0 .4rem; position: relative; }
.step-card p { color: var(--ms-muted); margin: 0; position: relative; }
.ico-round { width: 44px; height: 44px; border-radius: 12px; background: var(--ms-primary-50); color: var(--ms-primary); display: inline-flex;
             align-items: center; justify-content: center; font-size: 1.3rem; flex: none; }
.ico-gold { background: var(--ms-gold-50); color: var(--ms-gold-600); }
.ico-coral { background: var(--ms-coral-50); color: #C9442A; }
.ico-green { background: var(--ms-success-50); color: var(--ms-success); }
.why h3 { font-size: 1.1rem; margin: .9rem 0 .35rem; }
.why p { color: var(--ms-muted); margin: 0; }
.prod-card { background: #fff; border-radius: 22px; box-shadow: var(--ms-shadow); overflow: hidden; height: 100%; }
.prod-card .art { background: linear-gradient(160deg, var(--ms-primary-50), #fff); aspect-ratio: 5/4; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.prod-card .art img { max-width: 100%; max-height: 100%; }
.prod-card .txt { padding: 1.2rem 1.4rem 1.5rem; }
.prod-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.prod-card p { color: var(--ms-muted); margin: 0; }
.cat-tile { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--ms-line); border-radius: 16px;
            text-decoration: none; color: var(--ms-ink); font-weight: 700; transition: border-color .15s, transform .15s; height: 100%; }
.cat-tile:hover { border-color: var(--ms-primary-100); transform: translateY(-2px); color: var(--ms-ink); }
.cat-tile .bi-arrow-right { margin-left: auto; color: var(--ms-muted); }

/* bands */
.band { border-radius: 26px; padding: 2rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; justify-content: space-between; }
@media (min-width: 768px) { .band { padding: 2.5rem 3rem; } }
.band-brand { background: linear-gradient(120deg, var(--ms-primary), #6E57F0); color: #fff; }
.band-brand h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; }
.band-brand p { margin: .35rem 0 0; opacity: .85; }
.band-brand .btn-light { --bs-btn-color: var(--ms-primary-700); }
.cta-dark { text-align: center; }
.cta-dark h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.cta-dark p { color: rgba(255,255,255,.75); font-size: 1.1rem; }
.cta-dark .btn-outline-light { border-color: rgba(255,255,255,.35); }

/* faq */
.faq-acc .accordion-item { border: 1px solid var(--ms-line); border-radius: 14px !important; overflow: hidden; margin-bottom: .6rem; background: #fff; }
.faq-acc .accordion-button { font-weight: 700; font-size: 1rem; padding: 1rem 1.15rem; color: var(--ms-ink); background: #fff; box-shadow: none; }
.faq-acc .accordion-button:not(.collapsed) { color: var(--ms-primary-700); background: var(--ms-primary-50); }
.faq-acc .accordion-button:focus { box-shadow: 0 0 0 .2rem var(--ms-primary-50); }
.faq-acc .accordion-body { color: var(--ms-muted); padding: .9rem 1.15rem 1.15rem; }
.faq-search { max-width: 560px; margin: 0 auto; position: relative; }
.faq-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ms-muted); }
.faq-search input { padding-left: 2.6rem; min-height: 56px; border-radius: 16px; }
.faq-sec-title { display: flex; align-items: center; gap: .7rem; font-size: 1.3rem; margin: 2.25rem 0 1rem; scroll-margin-top: 90px; }
.faq-empty { display: none; }

/* pricing */
.plan { background: #fff; border-radius: 24px; border: 1px solid var(--ms-line); padding: 1.75rem; height: 100%; display: flex; flex-direction: column; position: relative; }
.plan.popular { background: var(--ms-ink); color: #fff; border-color: var(--ms-ink); box-shadow: 0 24px 50px rgba(23,21,43,.25); }
@media (min-width: 992px) { .plan.popular { transform: translateY(-14px); } }
.plan .badge-pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--ms-gold); color: #2B1D00; border-radius: 999px;
                   font-size: .78rem; font-weight: 800; padding: .25rem .8rem; white-space: nowrap; }
.plan h3 { font-size: 1.3rem; margin: 0; }
.plan .tag { color: var(--ms-muted); font-size: .92rem; margin: .35rem 0 1.1rem; min-height: 2.6em; }
.plan.popular .tag, .plan.popular .per, .plan.popular .loc { color: rgba(255,255,255,.7); }
.plan .price { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.plan .per { color: var(--ms-muted); font-weight: 600; font-size: .95rem; }
.plan .loc { color: var(--ms-muted); font-size: .9rem; margin: .4rem 0 1.25rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.plan li { display: flex; gap: .55rem; padding: .32rem 0; font-size: .95rem; }
.plan li i { color: var(--ms-success); }
.plan.popular li i { color: #7EE0B0; }
.plan .btn { margin-top: auto; }
.enterprise { background: var(--ms-bg); border-radius: 22px; padding: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.compare { font-size: .95rem; }
.compare th, .compare td { padding: .85rem .75rem; vertical-align: middle; border-color: var(--ms-line); }
.compare thead th { font-weight: 800; }
.compare .col-pop { background: var(--ms-primary-50); }
.compare td.center, .compare th.center { text-align: center; }
.compare .bi-check-circle-fill { color: var(--ms-success); font-size: 1.1rem; }
.compare .bi-dash { color: #B9B6C9; }

/* how it works */
.seg { display: inline-flex; background: var(--ms-bg); border-radius: 999px; padding: 4px; border: 1px solid var(--ms-line); }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: .6rem 1.2rem; font-weight: 700; color: var(--ms-muted); min-height: 44px; }
.seg button.active { background: #fff; color: var(--ms-primary-700); box-shadow: var(--ms-shadow); }
.seg-sticky { position: sticky; top: 68px; z-index: 1000; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); padding: .75rem 0; text-align: center; }
.timeline { position: relative; display: grid; gap: 1.25rem; }
@media (min-width: 992px) { .timeline { grid-template-columns: repeat(4, 1fr); } .timeline::before { content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px; background: var(--ms-primary-100); } }
.tl-step { position: relative; text-align: left; }
@media (min-width: 992px) { .tl-step { text-align: center; } }
.tl-step .dot { width: 56px; height: 56px; border-radius: 50%; background: var(--ms-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center;
                font-size: 1.4rem; position: relative; box-shadow: 0 0 0 6px #fff; }
.tl-step .n { font-size: .78rem; font-weight: 800; color: var(--ms-primary); margin-top: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.tl-step h3 { font-size: 1.1rem; margin: .25rem 0 .35rem; }
.tl-step p { color: var(--ms-muted); margin: 0; }
@media (max-width: 991.98px) { .tl-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; } .tl-step .dot { grid-row: span 3; } .tl-step .n { margin-top: 0; } }

/* for businesses */
.pf-card { background: #fff; border: 1px solid var(--ms-line); border-radius: 18px; padding: 1.25rem; height: 100%; }
.pf-card h3 { font-size: 1.05rem; margin: .8rem 0 .3rem; }
.pf-card p { color: var(--ms-muted); margin: 0; font-size: .95rem; }
.pf-card .was { text-decoration: line-through; color: var(--ms-danger); font-weight: 700; font-size: .85rem; }
.feat-row { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--ms-line); }
.feat-row:last-child { border-bottom: 0; }
.feat-row h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.feat-row p { color: var(--ms-muted); margin: 0; }
.tier { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--ms-line); border-radius: 16px; padding: .9rem 1rem; }
.tier + .tier { margin-top: .7rem; }
.tier .cnt { background: var(--ms-gold); color: #2B1D00; font-weight: 800; border-radius: 12px; min-width: 52px; height: 52px; display: flex; flex-direction: column;
             align-items: center; justify-content: center; line-height: 1; font-size: 1.2rem; }
.tier .cnt small { font-size: .62rem; font-weight: 700; margin-top: 2px; }
.checks { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.checks li { display: flex; gap: .6rem; padding: .3rem 0; }
.checks li i { color: var(--ms-success); }
.device-img { width: 100%; height: auto; border-radius: 20px; }

/* contact */
.contact-card { background: #fff; border-radius: 22px; box-shadow: var(--ms-shadow); padding: 1.5rem; }
@media (min-width: 768px) { .contact-card { padding: 2rem; } }
.side-card { background: var(--ms-bg); border-radius: 22px; padding: 1.5rem; }
.side-card + .side-card { margin-top: 1rem; }
.hours dt { font-weight: 600; }
.hours dd { color: var(--ms-muted); }

/* legal */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p, .legal li { color: #3D3A52; line-height: 1.7; }
.todo-legal { background: var(--ms-gold-50); border: 1px dashed var(--ms-gold); color: #7A5200; border-radius: 12px; padding: .75rem 1rem; font-weight: 700; font-size: .9rem; }

/* footer */
.mkt-footer { background: var(--ms-ink); color: rgba(255,255,255,.8); padding: 56px 0 96px; }
@media (min-width: 768px) { .mkt-footer { padding-bottom: 32px; } }
.brand-light { color: #fff; }
.brand-light .brand-word b { color: #A99BFF; }
.foot-tag { max-width: 320px; }
.foot-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); font-weight: 800; margin-bottom: .9rem; }
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { padding: .3rem 0; }
.foot-list a, .foot-bottom a { color: rgba(255,255,255,.85); text-decoration: none; }
.foot-list a:hover, .foot-bottom a:hover { color: #fff; text-decoration: underline; }
.foot-social { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; display: inline-flex; align-items: center;
               justify-content: center; font-size: 1.1rem; }
.foot-social:hover { background: rgba(255,255,255,.2); color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem;
               justify-content: space-between; font-size: .9rem; }

/* whatsapp fab */
.wa-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 1040; background: var(--ms-wa); color: #fff; border-radius: 999px;
          padding: .75rem 1.15rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(37,211,102,.35); min-height: 52px; }
.wa-fab i { font-size: 1.35rem; }
.wa-fab:hover { color: #fff; background: #1EB457; }
@media (max-width: 575.98px) { .wa-fab span { display: none; } .wa-fab { padding: .8rem; width: 56px; height: 56px; justify-content: center; } }
