:root {
    --deep: #022a20;
    --deep-2: #0b4c3c;
    --lime: #65fc70;
    --lime-soft: #effcf1;
    --mist: #f7faf8;
    --ink: #17211e;
    --ink-soft: #65726d;
    --border: #e4ebe6;
    --border-strong: #d6e0da;
    --white: #ffffff;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 18px;
    --shadow-soft: 0 8px 24px rgba(16, 52, 41, .07);
    --shadow-lift: 0 14px 36px rgba(16, 52, 41, .10);
    --shadow-device: 0 28px 70px rgba(2, 42, 32, .24);
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-sans) !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, button, input {
    font-family: inherit;
}

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

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    border: 0;
}

svg {
    display: block;
}

.metem-page {
    width: 100%;
    overflow-x: clip;
    background: #fff;
}

.container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 76px 0;
}

.section-white {
    background: #fff;
}

.section-mist {
    background: var(--mist);
}

.section-deep {
    position: relative;
    overflow: hidden;
    background: var(--deep);
    color: #fff;
}

    .section-deep::before,
    .download-cta::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(55% 70% at 7% 0%, rgba(101,252,112,.08), transparent 68%), radial-gradient(45% 55% at 100% 100%, rgba(55,180,145,.10), transparent 72%);
    }

    .section-deep > .container,
    .download-cta > .container {
        position: relative;
        z-index: 1;
    }

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 8px;
    left: 8px;
    transform: translateY(-160%);
    padding: 9px 13px;
    border-radius: 8px;
    background: var(--deep);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

    .skip-link:focus {
        transform: none;
    }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

    .site-header.scrolled {
        border-bottom-color: rgba(228,235,230,.9);
        box-shadow: 0 7px 22px rgba(16,52,41,.06);
    }

.navbar {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

    .brand img {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

.brand-title {
    display: block;
    font-size: 14px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.015em;
}

.brand-sub {
    display: block;
    margin-top: 2px;
    color: var(--ink-soft);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: .035em;
}

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

    .nav-links a {
        padding: 9px 12px;
        border-radius: 9px;
        color: #54635d;
        font-size: 13px;
        line-height: 1;
        font-weight: 500;
        transition: background .2s ease, color .2s ease;
    }

        .nav-links a:hover,
        .nav-links a:focus-visible {
            background: var(--mist);
            color: var(--ink);
        }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.btn-lime {
    background: var(--lime);
    color: var(--deep);
    box-shadow: 0 5px 14px rgba(39,124,59,.12);
}

    .btn-lime:hover {
        box-shadow: 0 8px 20px rgba(39,124,59,.16);
    }

.nav-download {
    margin-left: 4px;
}

.menu-btn {
    display: none;
    margin-left: auto;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
    background: rgba(255,255,255,.99);
}

    .mobile-nav.open {
        display: block;
    }

.mobile-nav-inner {
    padding-top: 6px;
    padding-bottom: 16px;
}

.mobile-nav a:not(.btn) {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: 500;
}

.mobile-nav .btn {
    width: 100%;
    margin-top: 14px;
}

/* Typography */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: #64736d;
    font-size: 10px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

    .eyebrow::before {
        content: "";
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--lime);
    }

.eyebrow-dark {
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
    color: #9df5a5;
}

.section-heading {
    max-width: 650px;
}

    .section-heading.center {
        margin-inline: auto;
        text-align: center;
    }

    .section-heading h2,
    .team-copy h2,
    .download-copy h2 {
        margin: 14px 0 0;
        font-size: clamp(32px, 3.65vw, 44px);
        line-height: 1.12;
        letter-spacing: -.035em;
        font-weight: 700;
        text-wrap: balance;
    }

    .section-heading p,
    .team-copy > p,
    .download-copy > p {
        margin: 14px 0 0;
        color: var(--ink-soft);
        font-size: 15px;
        line-height: 1.72;
        font-weight: 400;
    }

.section-deep .section-heading p,
.team-copy > p,
.download-copy > p {
    color: rgba(255,255,255,.66);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--mist);
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(62% 70% at 0% 0%, rgba(101,252,112,.10), transparent 66%), radial-gradient(48% 56% at 96% 10%, rgba(77,172,204,.07), transparent 70%);
    }

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr);
    align-items: center;
    gap: 54px;
    padding: 64px 0 70px;
}

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

.hero h1 {
    margin: 18px 0 0;
    max-width: 720px;
    font-size: clamp(42px, 5vw, 60px);
    line-height: 1.045;
    letter-spacing: -.05em;
    font-weight: 700;
    text-wrap: balance;
}

    .hero h1 span {
        color: var(--deep-2);
    }

.hero-copy > p {
    max-width: 600px;
    margin: 18px 0 0;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.72;
}

.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.store-badge {
    min-width: 168px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease;
}

    .store-badge:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lift);
    }

    .store-badge.primary {
        background: var(--lime);
        color: var(--deep);
    }

    .store-badge.dark {
        background: #18221f;
        color: #fff;
    }

    .store-badge.glass {
        border: 1px solid rgba(255,255,255,.17);
        background: rgba(255,255,255,.06);
        color: #fff;
        box-shadow: none;
    }

    .store-badge .small {
        display: block;
        font-size: 9px;
        line-height: 1.05;
        font-weight: 500;
        opacity: .72;
    }

    .store-badge .large {
        display: block;
        margin-top: 3px;
        font-size: 13px;
        line-height: 1.1;
        font-weight: 600;
    }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 17px;
    margin-top: 20px;
    color: #66746f;
    font-size: 12px;
    font-weight: 500;
}

    .hero-points li {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .hero-points svg {
        width: 14px;
        height: 14px;
        color: var(--deep-2);
        stroke-width: 2;
    }

.hero-device {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
}

.hero-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(101,252,112,.14);
    filter: blur(72px);
}

.hero-phone {
    position: relative;
    z-index: 2;
    width: 265px;
    animation: float 7s ease-in-out infinite;
}

.float-card {
    position: absolute;
    z-index: 3;
    width: 182px;
    padding: 12px;
    border: 1px solid rgba(225,234,228,.92);
    border-radius: 13px;
    background: rgba(255,255,255,.95);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

    .float-card.one {
        top: 66px;
        left: 6px;
        animation: float 8s ease-in-out infinite -1.5s;
    }

    .float-card.two {
        right: 2px;
        bottom: 72px;
        animation: float 7s ease-in-out infinite -2.5s;
    }

.mini-row {
    display: flex;
    align-items: center;
    gap: 9px;
}

.mini-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--deep);
    color: var(--lime);
}

    .mini-icon.soft {
        background: var(--lime-soft);
        color: var(--deep);
    }

.mini-row b {
    display: block;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
}

.mini-row small {
    display: block;
    margin-top: 2px;
    color: var(--ink-soft);
    font-size: 9px;
    line-height: 1.35;
}

/* Value strip */
.value-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fff;
}

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

.value-item {
    min-width: 0;
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 21px 19px;
    border-right: 1px solid var(--border);
}

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

.icon-box {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--lime-soft);
    color: var(--deep);
}

    .icon-box svg {
        width: 18px;
        height: 18px;
        stroke-width: 1.8;
    }

.value-item h2 {
    margin: 1px 0 0;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: -.01em;
    font-weight: 600;
}

.value-item p {
    margin: 4px 0 0;
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.5;
}

/* Features */
.feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 62px;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 30px;
}

.feature-card {
    display: flex;
    gap: 12px;
    min-height: 124px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

    .feature-card .icon-box {
        width: 36px;
        height: 36px;
    }

    .feature-card h3 {
        margin: 1px 0 0;
        font-size: 14px;
        line-height: 1.35;
        font-weight: 600;
        letter-spacing: -.01em;
    }

    .feature-card p {
        margin: 6px 0 0;
        color: var(--ink-soft);
        font-size: 12px;
        line-height: 1.58;
    }

.card-lift {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

    .card-lift:hover {
        transform: translateY(-2px);
        border-color: var(--border-strong);
        box-shadow: var(--shadow-lift);
    }

.feature-preview {
    position: relative;
}

    .feature-preview .phone-wrap {
        width: 255px;
    }

.preview-note {
    position: absolute;
    right: -4px;
    bottom: 32px;
    width: 208px;
    display: flex;
    gap: 9px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-soft);
}

    .preview-note b {
        display: block;
        font-size: 11px;
        line-height: 1.35;
        font-weight: 600;
    }

    .preview-note small {
        display: block;
        margin-top: 2px;
        color: var(--ink-soft);
        font-size: 9px;
        line-height: 1.4;
    }

/* Hero depth interaction */
.hero-device {
    perspective: 1000px;
}

    .hero-phone .phone,
    .hero-device .float-card {
        transform-style: preserve-3d;
        will-change: transform;
    }

/* Teams */
.team-layout {
    display: grid;
    grid-template-columns: 1.16fr .84fr;
    gap: 74px;
    align-items: center;
}

.team-copy h2 {
    max-width: 660px;
    color: #fff;
}

.team-copy > p {
    max-width: 620px;
}

.permission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 27px;
}

    .permission-grid article {
        display: flex;
        gap: 10px;
        padding: 14px;
        border: 1px solid rgba(255,255,255,.11);
        border-radius: 13px;
        background: rgba(255,255,255,.045);
    }

        .permission-grid article > svg {
            width: 19px;
            height: 19px;
            flex: 0 0 auto;
            color: var(--lime);
            stroke-width: 1.8;
        }

    .permission-grid h3 {
        margin: 0;
        color: #fff;
        font-size: 12px;
        line-height: 1.4;
        font-weight: 600;
    }

    .permission-grid p {
        margin: 4px 0 0;
        color: rgba(255,255,255,.58);
        font-size: 10.5px;
        line-height: 1.55;
    }

.team-preview .phone-wrap {
    width: 255px;
}

/* Use cases */
.use-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 32px;
}

.use-card {
    min-height: 164px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--mist);
}

    .use-card .icon-box {
        background: var(--deep);
        color: var(--lime);
    }

    .use-card h3 {
        margin: 14px 0 0;
        font-size: 15px;
        line-height: 1.35;
        font-weight: 600;
        letter-spacing: -.01em;
    }

    .use-card p {
        margin: 7px 0 0;
        color: var(--ink-soft);
        font-size: 12px;
        line-height: 1.58;
    }

.benefit-band {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 13px;
}

    .benefit-band span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 9px;
        color: var(--deep-2);
        font-size: 11px;
        font-weight: 600;
    }

    .benefit-band svg {
        width: 15px;
        height: 15px;
    }

/* FAQ */
.faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 66px;
    align-items: start;
}

.faq-list {
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    position: relative;
    width: 100%;
    padding: 17px 36px 17px 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    cursor: pointer;
}

    .faq-question::after {
        content: "+";
        position: absolute;
        right: 3px;
        top: 12px;
        color: var(--deep);
        font-size: 23px;
        line-height: 1;
        font-weight: 400;
    }

.faq-item.open .faq-question::after {
    content: "−";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: var(--ink-soft);
    font-size: 12.5px;
    line-height: 1.68;
    transition: max-height .3s ease, opacity .2s ease, padding .3s ease;
}

    .faq-answer p {
        margin: 0;
    }

.faq-item.open .faq-answer {
    max-height: 220px;
    padding: 0 26px 17px 0;
    opacity: 1;
}



/* Video showcase */
.video-showcase {
    position: relative;
    overflow: hidden;
    padding: 76px 0 84px;
    background: #fff;
    border-top: 1px solid var(--border);
}

    .video-showcase::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        right: -210px;
        top: -220px;
        border-radius: 50%;
        background: rgba(101,252,112,.08);
        filter: blur(25px);
        pointer-events: none;
    }

.video-showcase-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
}

.video-swipe-note {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 4px;
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1;
    font-weight: 500;
}

    .video-swipe-note svg {
        width: 16px;
        height: 16px;
        stroke-width: 1.7;
    }

.video-carousel-shell {
    position: relative;
    z-index: 2;
    width: 100%;
}

    .video-carousel-shell::before,
    .video-carousel-shell::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 5;
        width: clamp(18px, 4vw, 64px);
        pointer-events: none;
    }

    .video-carousel-shell::before {
        left: 0;
        background: linear-gradient(90deg, #fff 4%, rgba(255,255,255,0));
    }

    .video-carousel-shell::after {
        right: 0;
        background: linear-gradient(270deg, #fff 4%, rgba(255,255,255,0));
    }

.video-carousel-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    outline: none;
    touch-action: pan-y;
    cursor: grab;
}

    .video-carousel-viewport:active {
        cursor: grabbing;
    }

    .video-carousel-viewport:focus-visible {
        box-shadow: inset 0 0 0 2px rgba(11,76,60,.18);
    }

.video-carousel-track {
    display: flex;
    align-items: stretch;
    gap: 16px;
    width: max-content;
    padding: 4px max(24px, calc((100vw - 1160px) / 2)) 8px;
    will-change: transform;
}

.video-slide {
    flex: 0 0 clamp(330px, 38vw, 500px);
    width: clamp(330px, 38vw, 500px);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 10px 30px rgba(16,52,41,.07);
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .video-slide:hover {
        border-color: var(--border-strong);
        box-shadow: 0 16px 38px rgba(16,52,41,.10);
    }

.video-slide {
    opacity: .58;
    transform: scale(.94);
    transform-origin: center;
    transition: opacity .35s ease, transform .45s cubic-bezier(.22,1,.36,1), border-color .2s ease, box-shadow .25s ease;
}

    .video-slide.is-current {
        opacity: 1;
        transform: scale(1);
        border-color: var(--border-strong);
        box-shadow: 0 20px 46px rgba(16,52,41,.12);
    }

.video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #061c16;
}

    .video-frame iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

.video-slide-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 15px 14px;
    cursor: grab;
}

    .video-slide-meta span {
        color: var(--deep-2);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .video-slide-meta strong {
        color: var(--ink);
        font-size: 12px;
        line-height: 1.35;
        font-weight: 600;
        text-align: right;
    }

.video-carousel-dots {
    position: relative;
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 18px;
    margin-top: 18px;
}

.video-carousel-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd7d1;
    cursor: pointer;
    transition: width .25s ease, background-color .25s ease, transform .2s ease;
}

    .video-carousel-dot:hover {
        transform: scale(1.15);
        background: #9db1a8;
    }

    .video-carousel-dot.active {
        width: 22px;
        background: var(--deep-2);
    }

    .video-carousel-dot:focus-visible {
        outline: 2px solid rgba(11,76,60,.28);
        outline-offset: 3px;
    }

/* GSAP progressive enhancement */
.gsap-enabled .reveal,
.gsap-enabled .hero-copy > .eyebrow,
.gsap-enabled .hero-copy > h1,
.gsap-enabled .hero-copy > p,
.gsap-enabled .hero-copy > .hero-main-cta,
.gsap-enabled .hero-copy > .store-buttons,
.gsap-enabled .hero-copy > .hero-points,
.gsap-enabled .hero-device {
    opacity: 0;
    transform: translateY(18px);
}

/* Download */
.download-cta {
    position: relative;
    overflow: hidden;
    background: var(--deep);
    color: #fff;
}

.download-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 56px;
    padding: 72px 0;
}

.download-copy h2 {
    max-width: 650px;
    color: #fff;
}

.download-copy > p {
    max-width: 560px;
}

.download-phone .phone-wrap {
    width: 235px;
}

/* Footer */
.site-footer {
    padding: 40px 0 22px;
    background: #011f18;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .footer-brand img {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .footer-brand b {
        display: block;
        font-size: 14px;
        line-height: 1.3;
        font-weight: 600;
    }

    .footer-brand small {
        display: block;
        margin-top: 2px;
        color: rgba(255,255,255,.52);
        font-size: 10px;
    }

.footer-copy {
    max-width: 420px;
    margin: 13px 0 0;
    color: rgba(255,255,255,.56);
    font-size: 11px;
    line-height: 1.65;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    align-content: start;
}

    .footer-links a {
        color: rgba(255,255,255,.66);
        font-size: 11px;
        font-weight: 500;
    }

        .footer-links a:hover, .footer-links a:focus-visible {
            color: var(--lime);
        }

.footer-bottom {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.09);
    color: rgba(255,255,255,.42);
    font-size: 10px;
}

/* Motion */
.reveal {
    opacity: 1;
    transform: none;
}

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes scan {
    0%,100% {
        transform: translateY(0);
        opacity: .25;
    }

    50% {
        transform: translateY(108px);
        opacity: .95;
    }
}

/* Tablet */
@media (max-width: 1020px) {
    .section {
        padding: 68px 0;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr);
        gap: 28px;
    }

    .hero h1 {
        font-size: clamp(40px, 5.8vw, 54px);
    }

    .hero-device {
        min-height: 490px;
    }

    .hero-phone {
        width: 248px;
    }

    .float-card.one {
        left: -8px;
    }

    .float-card.two {
        right: -8px;
    }

    .feature-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 36px;
    }

    .feature-preview .phone-wrap {
        width: 235px;
    }

    .preview-note {
        right: -6px;
        width: 188px;
    }

    .how-layout, .team-layout, .faq-layout {
        gap: 44px;
    }

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

/* Mobile navigation + one-column primary layouts */
@media (max-width: 900px) {
    .container {
        width: min(760px, calc(100% - 36px));
    }

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

    .menu-btn {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 50px 0 58px;
        text-align: center;
    }

    .hero-copy {
        margin-inline: auto;
    }

        .hero-copy > p {
            margin-left: auto;
            margin-right: auto;
        }

    .hero .store-buttons, .hero-points {
        justify-content: center;
    }

    .hero-device {
        min-height: 470px;
    }

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

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

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

    .feature-layout, .how-layout, .team-layout, .faq-layout, .download-grid {
        grid-template-columns: 1fr;
    }

    .feature-layout {
        gap: 46px;
    }

    .feature-preview {
        width: min(350px, 100%);
        margin-inline: auto;
    }

        .feature-preview .phone-wrap {
            width: 240px;
        }

    .preview-note {
        right: 0;
    }

    .how-layout {
        gap: 48px;
    }

    .how-visual {
        order: 2;
    }

    .team-layout {
        gap: 46px;
    }

    .team-preview {
        order: 2;
    }

    .faq-layout {
        gap: 30px;
    }

    .download-grid {
        padding: 64px 0;
        text-align: center;
    }

    .download-copy > p {
        margin-left: auto;
        margin-right: auto;
    }

    .download-copy .store-buttons {
        justify-content: center;
    }

    .download-phone {
        display: none;
    }
}

/* Phones */
@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 560px);
    }

    .section {
        padding: 54px 0;
    }

    .navbar {
        min-height: 62px;
    }

    .brand img {
        width: 34px;
        height: 34px;
    }

    .brand-title {
        font-size: 13px;
    }

    .section-heading h2, .team-copy h2, .download-copy h2 {
        font-size: 30px;
        line-height: 1.15;
    }

    .section-heading p, .team-copy > p, .download-copy > p {
        font-size: 14px;
        line-height: 1.68;
    }

    .hero-grid {
        padding: 40px 0 48px;
    }

    .hero h1 {
        font-size: clamp(36px, 10.5vw, 44px);
        line-height: 1.06;
    }

    .hero-copy > p {
        font-size: 14px;
        line-height: 1.68;
    }

    .store-buttons {
        width: 100%;
    }

    .hero .store-badge, .download-copy .store-badge {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
    }

    .hero-points {
        gap: 7px 12px;
        font-size: 10.5px;
    }

    .hero-device {
        min-height: 400px;
    }

    .hero-phone {
        width: 215px;
    }

    .hero-glow {
        width: 260px;
        height: 260px;
    }

    .float-card {
        display: none;
    }

    .value-item {
        padding: 16px 12px;
        gap: 9px;
    }

        .value-item .icon-box {
            width: 33px;
            height: 33px;
            border-radius: 9px;
        }

        .value-item h2 {
            font-size: 12.5px;
        }

        .value-item p {
            font-size: 10px;
        }

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

    .feature-card {
        min-height: 0;
        padding: 15px;
    }

    .feature-preview {
        margin-top: 0;
    }

        .feature-preview .phone-wrap {
            width: 215px;
        }

    .preview-note {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 292px;
        margin: -20px auto 0;
        z-index: 5;
    }

    .how-visual .phone-wrap, .team-preview .phone-wrap {
        width: 215px;
    }

    .compact-steps li {
        grid-template-columns: 40px 1fr;
        gap: 10px;
        padding: 12px;
    }

    .compact-steps > li > span {
        width: 36px;
        height: 36px;
    }

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

    .use-grid {
        gap: 10px;
    }

    .use-card {
        min-height: 145px;
        padding: 15px;
    }

    .benefit-band {
        justify-content: flex-start;
        padding: 10px;
    }

        .benefit-band span {
            width: calc(50% - 4px);
            padding: 5px;
            font-size: 10.5px;
        }

    .faq-question {
        font-size: 13px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 400px) {
    .container {
        width: calc(100% - 24px);
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero .store-buttons, .download-copy .store-buttons {
        flex-direction: column;
    }

    .hero .store-badge, .download-copy .store-badge {
        width: 100%;
    }

    .hero-points {
        display: grid;
        justify-content: start;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

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

    .value-item {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

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

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

    .benefit-band span {
        width: 100%;
    }

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


@media (max-width: 1020px) {
    .story-scroll {
        grid-template-columns: minmax(330px, .88fr) minmax(0, 1.12fr);
        gap: 44px;
    }

    .story-stage {
        min-height: 540px;
    }

    .story-phone-stack {
        width: 238px;
    }

    .orbit-one {
        width: 350px;
        height: 350px;
    }

    .orbit-two {
        width: 420px;
        height: 420px;
    }

    .story-network-node {
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 900px) {
    .story-experience {
        padding: 66px 0 58px;
    }

    .story-scroll {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 34px;
    }

    .story-visual {
        position: relative;
        top: auto;
        min-height: auto;
    }

    .story-stage {
        min-height: 500px;
        margin-inline: auto;
    }

    .story-steps {
        display: grid;
        gap: 12px;
        margin-top: 6px;
    }

    .story-step {
        min-height: 0;
        padding: 20px;
        border: 1px solid var(--border);
        border-radius: 16px;
        background: rgba(255,255,255,.8);
        opacity: 1;
        transform: none;
    }

        .story-step h3 {
            font-size: 25px;
        }

        .story-step p {
            font-size: 13px;
        }
}

@media (max-width: 600px) {
    .story-experience {
        padding: 54px 0 48px;
    }

    .story-stage {
        width: 100%;
        min-height: 500px;
    }

    .story-phone-stack {
        width: 205px;
    }

    .orbit-one {
        width: 290px;
        height: 290px;
    }

    .orbit-two {
        width: 345px;
        height: 345px;
    }

    .story-business-card {
        left: -3px;
        top: 45%;
        width: 150px;
        padding: 10px;
        gap: 8px;
    }

    .story-card-mark {
        width: 35px;
        height: 35px;
        border-radius: 9px;
        font-size: 7px;
    }

    .story-saved-toast {
        right: -3px;
        top: 22%;
        min-width: 145px;
        padding: 9px 10px;
    }

    .story-folder-chip {
        padding: 7px 8px;
        font-size: 8px;
    }

        .story-folder-chip.chip-one {
            left: 1px;
            bottom: 21%;
        }

        .story-folder-chip.chip-two {
            right: 1px;
            bottom: 13%;
        }

    .story-network-node {
        width: 49px;
        height: 49px;
    }

        .story-network-node b {
            width: 23px;
            height: 23px;
            font-size: 7px;
        }

    .story-line {
        width: 105px;
    }

    .story-progress {
        bottom: 2px;
    }

    .story-step {
        grid-template-columns: 40px 1fr;
        gap: 12px;
        padding: 16px;
    }

    .story-step-no {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .story-step h3 {
        font-size: 22px;
    }
}


@media (max-width: 900px) {
    .video-showcase {
        padding: 68px 0 74px;
    }

    .video-showcase-head {
        align-items: flex-start;
        margin-bottom: 26px;
    }

    .video-swipe-note {
        padding-top: 6px;
    }

    .video-slide {
        flex-basis: min(72vw, 460px);
        width: min(72vw, 460px);
    }
}

@media (max-width: 600px) {
    .video-showcase {
        padding: 54px 0 60px;
    }

    .video-showcase-head {
        display: block;
        margin-bottom: 22px;
    }

    .video-swipe-note {
        margin-top: 14px;
        padding: 0;
    }

    .video-carousel-track {
        gap: 11px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .video-slide {
        flex-basis: 86vw;
        width: 86vw;
        border-radius: 14px;
    }

    .video-slide-meta {
        padding: 11px 12px 12px;
    }

        .video-slide-meta strong {
            font-size: 11px;
        }

    .video-carousel-shell::before,
    .video-carousel-shell::after {
        width: 12px;
    }
}

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

    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .reveal, .gsap-enabled .reveal, .gsap-enabled .hero-copy > *, .gsap-enabled .hero-device {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =========================================================
   METEM — REFERENCE WEBSITE THEME OVERRIDES
   Palette:
   Navy       #001532
   Primary    #0069FF
   Light Blue #3EA1FF
   Pale Blue  #E9F3FE
   Success    #21C65F
   ========================================================= */

:root {
    --deep: #001532;
    --deep-2: #0069FF;
    /* Keep green for app UI / success states only */
    --lime: #21C65F;
    --lime-soft: #EAFBF0;
    --primary: #0069FF;
    --primary-hover: #005BE0;
    --primary-light: #3EA1FF;
    --primary-soft: #E9F3FE;
    --success: #21C65F;
    --mist: #E9F3FE;
    --ink: #001532;
    --ink-soft: #64788F;
    --border: #D9E8F7;
    --border-strong: #BDD7F0;
    --white: #FFFFFF;
    --shadow-soft: 0 8px 24px rgba(0, 21, 50, .07);
    --shadow-lift: 0 14px 36px rgba(0, 21, 50, .11);
    --shadow-device: 0 28px 70px rgba(0, 21, 50, .22);
}

/* ---------- Global ---------- */
body,
.metem-page {
    background: #FFFFFF;
    color: var(--ink);
}

.section-white {
    background: #FFFFFF;
}

.section-mist {
    background: var(--primary-soft);
}

.section-deep,
.download-cta {
    background: var(--deep);
    color: #FFFFFF;
}

    .section-deep::before,
    .download-cta::before {
        background: radial-gradient(55% 70% at 7% 0%, rgba(0,105,255,.17), transparent 68%), radial-gradient(45% 55% at 100% 100%, rgba(62,161,255,.12), transparent 72%);
    }

/* ---------- Header / Navigation ---------- */
.site-header {
    background: rgba(255,255,255,.95);
}

    .site-header.scrolled {
        border-bottom-color: rgba(217,232,247,.95);
        box-shadow: 0 7px 22px rgba(0,21,50,.07);
    }

.nav-links a {
    color: #536A82;
}

    .nav-links a:hover,
    .nav-links a:focus-visible {
        background: var(--primary-soft);
        color: var(--primary);
    }

.menu-btn {
    border-color: var(--border);
    color: var(--deep);
}

/* ---------- Main CTA buttons ---------- */
.btn-lime,
.store-badge.primary {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(0,105,255,.22);
}

    .btn-lime:hover,
    .store-badge.primary:hover {
        background: var(--primary-hover);
        box-shadow: 0 10px 26px rgba(0,105,255,.28);
    }

.store-badge.dark {
    background: var(--deep);
    color: #FFFFFF;
}

/* ---------- Eyebrows / labels ---------- */
.eyebrow {
    border-color: #CFE1F3;
    background: rgba(255,255,255,.88);
    color: #5B7188;
}

    .eyebrow::before {
        background: var(--primary);
    }

.eyebrow-dark {
    border-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
    color: #8FC9FF;
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(180deg, #F6FBFF 0%, var(--primary-soft) 100%);
}

    .hero::before {
        background: radial-gradient(62% 70% at 0% 0%, rgba(0,105,255,.13), transparent 66%), radial-gradient(48% 56% at 96% 10%, rgba(62,161,255,.14), transparent 70%);
    }

    .hero h1,
    .section-heading h2 {
        color: var(--deep);
    }

        .hero h1 span {
            color: var(--primary);
        }

.hero-copy > p,
.section-heading p {
    color: var(--ink-soft);
}

.hero-points {
    color: #60758B;
}

    .hero-points svg {
        color: var(--primary);
    }

.hero-glow {
    background: rgba(62,161,255,.18);
}

.float-card {
    border-color: #D5E6F6;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 32px rgba(0,21,50,.09);
}

.mini-icon {
    background: var(--deep);
    color: var(--primary-light);
}

    .mini-icon.soft {
        background: var(--primary-soft);
        color: var(--primary);
    }

/* ---------- Value strip ---------- */
.value-strip {
    border-color: var(--border);
    background: #FFFFFF;
}

.value-item {
    border-color: var(--border);
}

.icon-box {
    background: var(--primary-soft);
    color: var(--primary);
}

/* ---------- Feature cards ---------- */
.feature-card,
.preview-note {
    border-color: var(--border);
    background: #FFFFFF;
}

.card-lift:hover {
    border-color: var(--border-strong);
    box-shadow: 0 14px 36px rgba(0,21,50,.10);
}

/* ---------- Product story section ---------- */
.story-experience {
    background: radial-gradient(70% 50% at 12% 20%, rgba(62,161,255,.12), transparent 72%), linear-gradient(180deg, #F7FBFF 0%, var(--primary-soft) 100%);
    border-color: var(--border);
}

.story-stage::before {
    background: rgba(62,161,255,.18);
}

.story-orbit {
    border-color: rgba(0,105,255,.14);
}

.story-business-card,
.story-saved-toast,
.story-folder-chip,
.story-network-node {
    border-color: rgba(0,105,255,.15);
    box-shadow: 0 16px 38px rgba(0,21,50,.11);
}

.story-card-mark {
    background: var(--deep);
    color: var(--primary-light);
}

.story-folder-chip {
    color: var(--primary);
}

.story-network-node b {
    background: var(--deep);
    color: var(--primary-light);
}

.story-line {
    background: linear-gradient( 90deg, rgba(0,105,255,.08), rgba(62,161,255,.78) );
}

.story-progress span {
    background: #C7DAED;
}

    .story-progress span.is-active {
        background: var(--primary);
    }

.story-step-no {
    border-color: var(--border-strong);
    color: var(--primary);
}

.story-step.is-active .story-step-no {
    border-color: var(--primary);
    background: var(--primary);
    color: #FFFFFF;
}

.story-kicker {
    color: var(--primary);
}

.story-step h3 {
    color: var(--deep);
}

/* Keep scan/save as green success feedback */
.story-scan-beam {
    background: var(--success);
    box-shadow: 0 0 18px rgba(33,198,95,.85);
}

.story-saved-toast > span {
    background: var(--success);
    color: #FFFFFF;
}

/* ---------- Phone / app mockups ----------
   Keep green inside the actual app UI, matching the reference screenshots. */
.phone {
    background: var(--deep);
}

.app-pill,
.quick i,
.folder-icon {
    background: var(--lime-soft);
    color: #087A35;
}

.app-card.green {
    background: var(--deep);
}

.app-card.lime,
.app-button {
    background: var(--success);
    color: #FFFFFF;
}

.scan-box {
    border-color: var(--success);
}

.contact-avatar {
    background: linear-gradient(145deg, #0F8D44, #66E993);
}

.qr-box {
    background: repeating-linear-gradient( 45deg, #001532 0 4px, #FFFFFF 4px 8px );
}

/* ---------- Team / dark section ---------- */
.team-copy h2 {
    color: #FFFFFF;
}

.permission-grid article {
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
}

    .permission-grid article > svg {
        color: var(--primary-light);
    }

/* ---------- Use cases ---------- */
.use-card {
    border-color: var(--border);
    background: #F7FBFF;
}

    .use-card .icon-box {
        background: var(--deep);
        color: var(--primary-light);
    }

.benefit-band {
    border-color: var(--border);
}

    .benefit-band span {
        color: var(--primary);
    }

/* ---------- FAQ ---------- */
.faq-list,
.faq-item {
    border-color: var(--border);
}

.faq-question {
    color: var(--deep);
}

    .faq-question::after {
        color: var(--primary);
    }

/* ---------- Video showcase ---------- */
.video-showcase {
    background: #FFFFFF;
    border-color: var(--border);
}

    .video-showcase::before {
        background: rgba(62,161,255,.10);
    }

.video-slide {
    border-color: var(--border);
    box-shadow: 0 10px 30px rgba(0,21,50,.07);
}

    .video-slide:hover,
    .video-slide.is-current {
        border-color: var(--border-strong);
        box-shadow: 0 18px 42px rgba(0,21,50,.11);
    }

.video-frame {
    background: var(--deep);
}

.video-slide-meta span {
    color: var(--primary);
}

.video-carousel-dot {
    background: #C7DAED;
}

    .video-carousel-dot:hover {
        background: #8DBCE8;
    }

    .video-carousel-dot.active {
        background: var(--primary);
    }

    .video-carousel-dot:focus-visible {
        outline-color: rgba(0,105,255,.28);
    }

/* ---------- Download CTA ---------- */
.download-copy h2 {
    color: #FFFFFF;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--deep);
    color: #FFFFFF;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--primary-light);
}

/* ---------- Focus / interaction accents ---------- */
a:focus-visible,
button:focus-visible {
    outline-color: rgba(0,105,255,.45);
}

/* ---------- Mobile story cards ---------- */
@media (max-width: 900px) {
    .story-step {
        border-color: var(--border);
        background: rgba(255,255,255,.88);
    }
}


/* =========================================================
   Met'em — official screenshot presentation and interactive tour
   Official product images are supplied by the client, NOT HTML mockups.
   ========================================================= */
.hero-device { min-height: 560px; isolation: isolate; }
.hero-glow { z-index: 0; width: 430px; height: 430px; }
.hero-art-splash,
.hero-art-pass { position: absolute; z-index: 2; display: block; object-fit: contain; max-width: none; filter: drop-shadow(0 25px 34px rgba(0,21,50,.15)); }
.hero-art-splash { width: min(75%, 345px); height: auto; left: 5%; top: 4%; animation: metem-bob 7s ease-in-out infinite; }
.hero-art-pass { width: min(65%, 310px); height: auto; right: -3%; top: 18%; animation: metem-bob 8s ease-in-out infinite -2.2s; }
.hero-device .float-card { z-index: 4; }
.hero-device .float-card.one { top: 28px; left: -12px; }
.hero-device .float-card.two { right: -8px; bottom: 24px; }
.app-screen-img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 16px 25px rgba(0,21,50,.11)); }
.feature-preview .phone-wrap { width: 270px; }
.team-preview .phone-wrap { width: min(100%, 285px); }
.download-phone .phone-wrap { width: min(100%, 390px); }
.download-phones-img { width: 100%; height: auto; max-height: 475px; object-fit: contain; filter: drop-shadow(0 12px 26px rgba(0,0,0,.13)); }

.product-tour { overflow: hidden; background: linear-gradient(150deg,#F8FBFF 0%,#EBF4FF 95%); }
.product-tour .section-heading { max-width: 680px; margin-bottom: 34px; }
.tour-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 560px; overflow: hidden; border: 1px solid #D9E8F7; border-radius: 28px; background: #FFF; box-shadow: 0 22px 55px rgba(0,45,94,.075); }
.tour-copy { padding: clamp(26px,5.2vw,66px); }
.tour-index { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--primary); }
.tour-index::before { content: ''; width: 22px; height: 2px; border-radius: 5px; background: currentColor; }
.tour-copy h3 { margin: 20px 0 0; max-width: 500px; font-size: clamp(28px,3.5vw,43px); line-height: 1.13; letter-spacing: -.035em; color: var(--deep); }
.tour-copy p { margin: 17px 0 0; max-width: 475px; font-size: 15px; line-height: 1.72; color: var(--ink-soft); }
.tour-perks { display: grid; gap: 12px; margin-top: 25px; }
.tour-perks > span { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #324966; font-weight: 600; }
.tour-check { display: inline-flex; justify-content: center; align-items: center; width: 19px; height: 19px; flex: 0 0 19px; border-radius: 50%; color: var(--primary); background: var(--primary-soft); font-weight: 900; font-size: 12px; }
.tour-controls { margin-top: 34px; display: flex; align-items: center; gap: 10px; }
.tour-arrow { min-width: 43px; height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 14px; border: 1px solid var(--border); border-radius: 12px; background: white; color: var(--deep); cursor: pointer; transition: transform .18s ease, background .18s ease; }
.tour-arrow:hover { transform: translateY(-2px); background: var(--primary-soft); }
.tour-arrow svg { width: 17px; height: 17px; }
.tour-arrow-primary { padding: 0 18px; background: var(--primary); color: white; border-color: var(--primary); font-size: 12px; font-weight: 700; }
.tour-arrow-primary:hover { background: var(--primary-hover); }
.tour-visual { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 560px; padding: 30px 24px 45px; background: radial-gradient(circle at 50% 42%, #D7E9FF 0%,#EDF6FF 49%,#F7FAFF 100%); touch-action: pan-y; user-select: none; }
.tour-image-halo { position: absolute; width: 62%; aspect-ratio: 1; max-width: 340px; border: 1px solid rgba(0,105,255,.10); border-radius: 50%; box-shadow: 0 0 0 50px rgba(0,105,255,.035), 0 0 0 100px rgba(0,105,255,.02); }
.tour-image { position: relative; z-index: 1; display: block; height: 465px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(0,21,50,.13)); }
.tour-image[data-tour-kind="dashboard"] { width: min(100%,430px); height: auto; max-height: 470px; }
.tour-screen-label { position: absolute; z-index: 2; bottom: 18px; left: 50%; transform: translateX(-50%); padding: 7px 13px; border-radius: 99px; background: rgba(255,255,255,.95); color: var(--deep); border: 1px solid #DAEAF9; box-shadow: 0 4px 16px rgba(0,21,50,.05); font-size: 11px; font-weight: 700; white-space: nowrap; }
.tour-tabs { display: flex; align-items: stretch; gap: 8px; margin-top: 18px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: thin; }
.tour-tab { flex: 1 0 0; min-width: 135px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 12px; border: 1px solid #DAE8F7; border-radius: 12px; background: #FFF; color: #556C85; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 700; white-space: nowrap; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.tour-tab svg { width: 17px; height: 17px; flex: 0 0 17px; }
.tour-tab:hover { border-color: var(--primary); color: var(--primary); }
.tour-tab.is-active { border-color: var(--primary); background: var(--primary); color: #FFF; box-shadow: 0 7px 18px rgba(0,105,255,.18); }
.tour-mobile-cta { display: none; }
@keyframes metem-bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 1100px) {
  .hero-art-splash { left: 0; width: min(76%,310px); }
  .hero-art-pass { right: -5%; width: min(66%,285px); }
  .tour-tab { min-width: 125px; }
}
@media (max-width: 900px) {
  .hero-device { min-height: 530px; max-width: 520px; width: 100%; margin: auto; }
  .hero-art-splash { left: 8%; width: min(72%,340px); }
  .hero-art-pass { right: 0%; width: min(60%,290px); }
  .tour-shell { grid-template-columns: 1fr; }
  .tour-copy { padding: 32px 32px 22px; }
  .tour-copy h3 { max-width: none; font-size: 32px; }
  .tour-visual { min-height: 475px; padding: 18px 22px 42px; }
  .tour-image { height: 415px; }
  .tour-image[data-tour-kind="dashboard"] { max-height: 430px; }
  .tour-tabs { margin-top: 13px; }
  .download-phone { display: block; }
  .download-grid { gap: 10px; }
  .download-phones-img { max-height: 400px; }
}
@media (max-width: 600px) {
  .hero-device { min-height: 400px; margin-top: 10px; }
  .hero-art-splash { left: 50%; top: 0; width: min(95%,300px); transform: translateX(-50%); }
  .hero-art-pass { display: none; }
  .hero-device .float-card { display: none; }
  .hero-glow { width: 250px; height: 250px; }
  .feature-preview .phone-wrap { width: min(230px,65vw); }
  .team-preview .phone-wrap { width: min(235px,65vw); }
  .product-tour .section-heading { margin-bottom: 22px; }
  .tour-shell { border-radius: 21px; min-height: 0; }
  .tour-copy { padding: 26px 23px 12px; }
  .tour-copy h3 { margin-top: 14px; font-size: clamp(25px, 7vw, 31px); }
  .tour-copy p { margin-top: 11px; font-size: 13px; line-height: 1.65; }
  .tour-perks { margin-top: 16px; gap: 9px; }
  .tour-perks > span { font-size: 11px; }
  .tour-controls { margin-top: 20px; }
  .tour-visual { min-height: 345px; padding: 9px 18px 37px; }
  .tour-image { height: 310px; }
  .tour-image[data-tour-kind="dashboard"] { max-height: 330px; width: min(100%,330px); }
  .tour-screen-label { bottom: 10px; }
  .tour-tabs { gap: 7px; margin-top: 9px; padding-bottom: 9px; }
  .tour-tab { flex: 0 0 auto; min-width: 125px; padding: 13px 12px; font-size: 11px; }
  .tour-mobile-cta { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 5px; padding: 13px 15px; border-radius: 15px; background: var(--primary); color: #FFF; }
  .tour-mobile-cta span { font-size: 11px; line-height: 1.4; }
  .tour-mobile-cta a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: #FFF; font-size: 12px; font-weight: 700; }
  .tour-mobile-cta svg { width: 16px; height: 16px; }
  .download-phones-img { max-height: 350px; }
}
@media (max-width: 400px) {
  .hero-device { min-height: 350px; }
  .hero-art-splash { width: min(95%,265px); }
  .tour-tabs { margin-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art-splash, .hero-art-pass { animation: none; }
}


/* ===== Met'em integrated header / footer + responsive clean-up ===== */
:root {
    --primary: #0B68FF;
    --primary-hover: #0551D1;
    --primary-soft: #ECF4FF;
    --navy: #001E54;
    --navy-2: #012B73;
}

.metem-topbar {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: linear-gradient(90deg, var(--navy) 0%, #002967 58%, #01317C 100%);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.metem-topbar.scrolled {
    box-shadow: 0 12px 32px rgba(0, 19, 58, .28);
    border-bottom-color: rgba(255,255,255,.12);
}
.metem-topbar .navbar { min-height: 92px; gap: 18px; }
.brand-metem { color: #fff; gap: 14px; }
.brand-metem .brand-mark { display: inline-flex; width: 74px; flex: 0 0 74px; }
.brand-metem .brand-mark svg { width: 100%; height: auto; display: block; }
.brand-metem .brand-copy { min-width: 0; }
.brand-title-lg { font-size: clamp(36px, 4.2vw, 54px); line-height: .9; font-weight: 800; letter-spacing: -.04em; color: #fff; }
.brand-title-lg span { color: #0B7BFF; }
.brand-sub-light { margin-top: 7px; color: rgba(255,255,255,.9); font-size: 10px; letter-spacing: .01em; text-transform: none; }
.metem-topbar .nav-links { margin-left: auto; gap: 8px; }
.metem-topbar .nav-links a { color: rgba(255,255,255,.92); font-size: 18px; font-weight: 600; padding: 12px 14px; }
.metem-topbar .nav-links a:hover,
.metem-topbar .nav-links a:focus-visible { background: rgba(255,255,255,.08); color: #fff; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 26px rgba(11, 104, 255, .28); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(11,104,255,.32); }
.metem-topbar .nav-download { min-height: 52px; padding: 0 24px; border-radius: 14px; font-size: 18px; }
.metem-topbar .menu-btn { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.metem-topbar .mobile-nav { background: linear-gradient(180deg, #01255F 0%, #001E54 100%); border-top-color: rgba(255,255,255,.08); }
.metem-topbar .mobile-nav a:not(.btn) { color: #fff; border-bottom-color: rgba(255,255,255,.1); }
.metem-topbar .mobile-nav .btn { margin-top: 16px; }

.hero { padding-top: 18px; }
.hero-grid { align-items: center; gap: clamp(28px, 5vw, 54px); padding: 54px 0 70px; }
.hero-copy { max-width: 620px; }
.hero h1 { max-width: 650px; font-size: clamp(38px, 4.7vw, 58px); }
.hero-copy > p { max-width: 560px; font-size: 17px; }
.hero-points { gap: 10px 18px; margin-top: 24px; }
.hero-points li { padding: 8px 12px; border-radius: 999px; background: rgba(11,104,255,.06); }
.store-buttons { gap: 12px; }
.store-badge { min-height: 54px; }

.metem-footer { background: linear-gradient(90deg, var(--navy) 0%, #00245E 62%, #012B73 100%); padding: 46px 0; margin-top: 0; }
.footer-shell { display: grid; grid-template-columns: minmax(0, 1.25fr) auto auto; align-items: center; gap: 24px; }
.footer-brand { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer-links a { color: rgba(255,255,255,.88); font-size: 15px; font-weight: 600; }
.footer-note { color: rgba(255,255,255,.82); font-size: 15px; text-align: right; font-weight: 500; }

@media (max-width: 1100px) {
    .metem-topbar .navbar { min-height: 84px; }
    .brand-metem .brand-mark { width: 62px; flex-basis: 62px; }
    .brand-title-lg { font-size: clamp(32px, 4vw, 46px); }
    .metem-topbar .nav-links a { font-size: 16px; }
    .metem-topbar .nav-download { font-size: 16px; padding: 0 18px; min-height: 48px; }
}

@media (max-width: 900px) {
    .metem-topbar .nav-links, .metem-topbar .nav-download { display: none; }
    .metem-topbar .menu-btn { display: inline-flex; }
    .metem-topbar .navbar { min-height: 82px; }
    .brand-metem { gap: 10px; }
    .brand-metem .brand-mark { width: 54px; flex-basis: 54px; }
    .brand-title-lg { font-size: 32px; }
    .brand-sub-light { font-size: 9px; }
    .container { width: min(1160px, calc(100% - 32px)); }
    .hero-grid { grid-template-columns: 1fr; padding: 34px 0 50px; text-align: center; }
    .hero-copy { max-width: none; }
    .hero-copy > p, .hero h1 { max-width: none; }
    .store-buttons { justify-content: center; }
    .hero-points { justify-content: center; }
    .footer-shell { grid-template-columns: 1fr; text-align: center; }
    .footer-links { justify-content: center; }
    .footer-note { text-align: center; }
}

@media (max-width: 600px) {
    .container { width: min(1160px, calc(100% - 24px)); }
    .metem-topbar .navbar { min-height: 74px; }
    .brand-metem .brand-mark { width: 48px; flex-basis: 48px; }
    .brand-title-lg { font-size: 24px; }
    .brand-sub-light { font-size: 8px; margin-top: 4px; }
    .hero { padding-top: 6px; }
    .hero-grid { gap: 18px; padding: 26px 0 34px; }
    .hero-copy { order: 2; }
    .hero-device { order: 1; width: 100%; min-height: 365px; margin-top: 0; }
    .hero-copy .eyebrow { margin-inline: auto; }
    .hero h1 { margin-top: 14px; font-size: clamp(30px, 8vw, 36px); line-height: 1.08; }
    .hero-copy > p { margin-top: 12px; font-size: 14px; line-height: 1.7; }
    .store-buttons { flex-direction: column; align-items: stretch; }
    .store-badge { width: 100%; min-width: 0; justify-content: center; }
    .hero-points { margin-top: 18px; gap: 8px; }
    .hero-points li { width: 100%; justify-content: center; font-size: 12px; }
    .value-grid { grid-template-columns: 1fr; }
    .value-item { border-right: 0; border-bottom: 1px solid var(--border); }
    .value-item:last-child { border-bottom: 0; }
    .tour-copy { text-align: left; }
    .tour-controls { flex-wrap: wrap; }
    .tour-arrow, .tour-arrow-primary { flex: 1 1 0; min-height: 44px; }
    .download-copy .store-buttons { align-items: stretch; }
    .metem-footer { padding: 34px 0; }
}

/* === Final master merge: original master markup, Met'em dark header/footer === */
html { scroll-padding-top: 92px; }
body { overflow-x: hidden; }
.metem-topbar { background: #001532; }
.metem-topbar .navbar { min-height: 92px; }
.metem-topbar .brand { flex: 0 0 auto; min-width: 0; }
.metem-topbar .metem-logo { display: block; width: 250px; height: auto; max-width: 100%; border-radius: 0; }
.metem-topbar .nav-links a { font-size: 16px; white-space: nowrap; padding-inline: 10px; }
.metem-topbar .nav-download { font-size: 14px; white-space: nowrap; min-height: 45px; padding: 0 18px; }
.metem-topbar .menu-btn { flex: 0 0 42px; }
.metem-footer { background: #001532; padding: 46px 0 24px; }
.metem-footer .footer-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.8fr); gap: 50px; align-items: start; }
.metem-footer .footer-brand { display: inline-flex; }
.metem-footer .metem-logo { display: block; width: 230px; height: auto; max-width: 100%; border-radius: 0; }
.metem-footer .footer-copy { max-width: 410px; margin: 18px 0 0; font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.75; }
.metem-footer .footer-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 25px; justify-content: initial; }
.metem-footer .footer-links a { font-size: 13px; line-height: 1.4; text-align: left; }
.metem-footer .footer-bottom { text-align: center; font-size: 12px; color: rgba(255,255,255,.63); padding-top: 18px; margin-top: 34px; }
.metem-page .hero-grid, .metem-page .feature-layout, .metem-page .team-layout, .metem-page .download-grid { min-width: 0; }
.metem-page .hero-copy, .metem-page .feature-copy, .metem-page .team-copy, .metem-page .download-copy { min-width: 0; }
.metem-page .hero-art-splash, .metem-page .hero-art-pass { image-rendering: auto; }

@media(max-width: 1100px) {
  .metem-topbar .metem-logo { width: 215px; }
  .metem-topbar .nav-links { gap: 1px; }
  .metem-topbar .nav-links a { font-size: 13px; padding-inline: 7px; }
  .metem-topbar .nav-download { font-size: 13px; padding-inline: 12px; }
}
@media(max-width: 900px) {
  html { scroll-padding-top: 80px; }
  .metem-topbar .navbar { min-height: 78px; }
  .metem-topbar .metem-logo { width: 202px; }
  .metem-topbar .nav-links, .metem-topbar .nav-download { display: none; }
  .metem-topbar .menu-btn { display: inline-flex; }
  .metem-topbar .mobile-nav .btn { font-size: 14px; }
  .metem-footer .footer-grid { gap: 30px; }
}
@media(max-width: 600px) {
  html { scroll-padding-top: 72px; }
  .metem-topbar .navbar { min-height: 68px; }
  .metem-topbar .metem-logo { width: 169px; }
  .metem-topbar .menu-btn { width: 40px; height: 40px; margin-left: auto; }
  .metem-page .container { width: min(100% - 32px, 1160px); }
  .metem-page .section { padding-block: 54px; }
  .metem-page .hero { padding-top: 0; }
  .metem-page .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 15px; padding: 32px 0 36px; }
  .metem-page .hero-copy { order: 1; text-align: center; }
  .metem-page .hero-copy > .eyebrow { margin-inline: auto; }
  .metem-page .hero h1 { font-size: clamp(32px, 8vw, 40px); line-height: 1.11; max-width: 400px; margin-inline: auto; }
  .metem-page .hero-copy > p { font-size: 16px; line-height: 1.62; max-width: 380px; margin-inline: auto; }
  .metem-page .hero-copy .store-buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; width: 100%; margin: 20px auto 0; }
  .metem-page .hero-copy .store-badge { min-width: 0; padding: 9px 7px; min-height: 48px; width: 100%; gap: 8px; }
  .metem-page .hero-copy .store-badge svg { width: 17px; height: 17px; }
  .metem-page .hero-copy .store-badge .large { font-size: 11px; }
  .metem-page .hero-copy .store-badge .small { font-size: 9px; }
  .metem-page .hero-points { display: flex; justify-content: center; gap: 7px; margin-top: 15px; }
  .metem-page .hero-points li { width: auto; padding: 7px 9px; font-size: 10px; line-height: 1.25; }
  .metem-page .hero-device { order: 2; margin: 0 auto; min-height: 355px; width: min(100%,360px); max-width: 360px; overflow: visible; }
  .metem-page .hero-art-splash { top: 0; left: 47%; width: min(74%,250px); max-width: 250px; transform: translateX(-50%); }
  .metem-page .hero-art-pass { display: block; z-index: 1; top: 47px; right: 1%; width: min(53%,185px); max-width: 185px; opacity: .82; }
  .metem-page .hero-device .float-card { display: none; }
  .metem-page .hero-glow { top: 20px; width: 255px; height: 255px; }
  .metem-page .value-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metem-page .value-item { min-width: 0; padding: 16px 11px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); gap: 7px; }
  .metem-page .value-item:nth-child(even) { border-right: 0; }
  .metem-page .value-item h2 { font-size: 12px; }
  .metem-page .value-item p { font-size: 10px; }
  .metem-page .icon-box { width: 31px; height: 31px; flex-basis: 31px; }
  .metem-page .feature-layout, .metem-page .team-layout, .metem-page .download-grid { grid-template-columns: 1fr; }
  .metem-page .section-heading h2 { font-size: clamp(27px,7.2vw,36px); }
  .metem-page .features-grid { grid-template-columns: 1fr; }
  .metem-page .feature-card { min-height: 0; }
  .metem-page .tour-shell { margin-inline: 0; }
  .metem-page .tour-copy { padding: 25px 20px 18px; }
  .metem-page .tour-visual { min-height: 340px; padding: 12px 14px 39px; }
  .metem-page .tour-image { height: 290px; max-width: 100%; }
  .metem-page .tour-image[data-tour-kind="dashboard"] { max-height: 305px; }
  .metem-page .download-copy { text-align: center; }
  .metem-page .download-copy .store-buttons { flex-direction: row; }
  .metem-page .download-copy .store-badge { flex: 1 1 0; min-width: 0; }
  .metem-footer .footer-grid { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .metem-footer .footer-brand { justify-content: center; }
  .metem-footer .footer-copy { max-width: 360px; margin-inline: auto; }
  .metem-footer .footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 10px; }
  .metem-footer .footer-links a { text-align: center; }
  .metem-footer .footer-bottom { margin-top: 26px; }
}
@media(max-width: 380px) {
  .metem-page .hero-copy .store-buttons { gap: 6px; }
  .metem-page .hero-copy .store-badge { gap: 5px; }
  .metem-page .hero-device { min-height: 323px; }
  .metem-page .hero-art-splash { width: 76%; max-width: 238px; }
  .metem-page .hero-art-pass { width: 51%; }
}


/* ===== Mobile floating CTA bar ===== */

.mobile-float-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 0;
    border-radius: 999px;
    background: linear-gradient( 135deg, #0B68FF 0%, #0060EB 50%, #0047C7 100% );
    box-shadow: 0 12px 30px rgba(0, 105, 255, 0.28);
    overflow: hidden;
}

.mobile-float-cta__btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    text-align: center;
    text-decoration: none;
}

    .mobile-float-cta__btn:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
    }

.mobile-float-cta__divider {
    width: 1px;
    align-self: stretch;
    margin: 12px 0;
    background: rgba(255, 255, 255, 0.45);
}

@media (max-width: 768px) {
    .mobile-float-cta {
        display: flex;
    }

    body {
        padding-bottom: 96px;
    }
}

@media (max-width: 768px) {
    body { padding-bottom: 96px; }
    .mobile-float-cta { display: flex; }
}
@media (max-width: 420px) {
    .mobile-float-cta__btn { font-size: 14px; gap: 8px; padding: 13px 12px; }
    .mobile-float-cta__btn svg { width: 17px; height: 17px; }
}


/* ===== Mobile card grids: consistently 2 cards per row (including small phones) ===== */
@media (max-width: 600px) {
    /* Apply only to the actual card collections, not hero/layout/video carousels. */
    .metem-page .value-grid,
    .metem-page .features-grid,
    .metem-page .permission-grid,
    .metem-page .use-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        align-items: stretch;
    }

    /* The value strip has shared divider lines, rather than separated cards. */
    .metem-page .value-grid { gap: 0; }
    .metem-page .value-item {
        min-width: 0;
        min-height: 118px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 11px;
        border-right: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }
    .metem-page .value-item:nth-child(2n) { border-right: 0; }
    .metem-page .value-item:nth-last-child(-n+2) { border-bottom: 0; }
    .metem-page .value-item h2 { margin-top: 0; font-size: 12px; }
    .metem-page .value-item p { font-size: 10.5px; line-height: 1.45; }

    /* Stacking icons above text prevents narrow cards from squeezing the copy. */
    .metem-page .feature-card {
        min-width: 0;
        min-height: 154px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        padding: 13px 12px;
    }
    .metem-page .feature-card > div,
    .metem-page .permission-grid article > div { min-width: 0; }
    .metem-page .feature-card h3 { margin: 0; font-size: 12px; line-height: 1.35; }
    .metem-page .feature-card p { margin-top: 5px; font-size: 11px; line-height: 1.48; }

    .metem-page .permission-grid article {
        min-width: 0;
        min-height: 136px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        padding: 13px 12px;
    }
    .metem-page .permission-grid h3 { font-size: 12px; line-height: 1.35; }
    .metem-page .permission-grid p { font-size: 10.5px; line-height: 1.5; }

    .metem-page .use-card { min-width: 0; min-height: 160px; padding: 13px 12px; }
    .metem-page .use-card h3 { margin-top: 11px; font-size: 12.5px; line-height: 1.35; }
    .metem-page .use-card p { margin-top: 6px; font-size: 11px; line-height: 1.48; }

    .metem-page .value-item,
    .metem-page .feature-card,
    .metem-page .permission-grid article,
    .metem-page .use-card { overflow-wrap: break-word; }

    /* Additional benefit chips also stay 2 across. */
    .metem-page .benefit-band {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        padding: 9px;
    }
    .metem-page .benefit-band span {
        min-width: 0;
        width: auto;
        padding: 7px 5px;
        font-size: 10px;
        line-height: 1.35;
    }
}

@media (max-width: 360px) {
    .metem-page .features-grid,
    .metem-page .permission-grid,
    .metem-page .use-grid { gap: 8px; }
    .metem-page .feature-card,
    .metem-page .permission-grid article,
    .metem-page .use-card { padding: 11px 9px; }
    .metem-page .feature-card p,
    .metem-page .permission-grid p,
    .metem-page .use-card p { font-size: 10.5px; }
}


/* ================================================================
   SCROLL STORY PRODUCT TOUR — scoped to #how-it-works
   Sticky native scroll: no wheel preventDefault, no GSAP pinning.
   ================================================================ */
.product-tour.product-tour-scroll {
    --tour-header-offset: 92px;
    --tour-mobile-cta-offset: 0px;
    position: relative;
    padding: 0 !important;
    overflow: clip; /* unlike hidden, clip does not create a sticky-breaking scroll container */
    background: #eff6ff;
}
.product-tour-scroll .tour-scroll-track {
    --tour-steps: 6;
    position: relative;
    height: calc(var(--tour-steps) * 100svh);
}
.product-tour-scroll .tour-sticky {
    position: sticky;
    z-index: 1;
    top: var(--tour-header-offset);
    height: calc(100svh - var(--tour-header-offset) - var(--tour-mobile-cta-offset));
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f9fbff 0%, #eaf3ff 100%);
}
.product-tour-scroll .tour-stage {
    position: relative;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(10px, 2.1svh, 24px);
    gap: clamp(9px, 1.8svh, 18px);
}
.product-tour-scroll .tour-stage-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    flex-shrink: 0;
}
.product-tour-scroll .tour-stage-head .eyebrow { font-size: 10px; background: #fff; }
.product-tour-scroll .tour-stage-head h2 {
    color: #002b67;
    margin: 8px 0 0;
    font-size: clamp(24px, 3vw, 37px);
    line-height: 1.12;
    letter-spacing: -.035em;
}
.product-tour-scroll .tour-stage-head > p {
    max-width: 340px;
    margin: 0 0 2px;
    text-align: right;
    font-size: 13px;
    line-height: 1.4;
    color: #54729a;
}
.product-tour-scroll .tour-shell {
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(0,.92fr) minmax(190px,.66fr);
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 610px;
    overflow: hidden;
    border: 1px solid #d4e5ff;
    border-radius: 25px;
    background: #f1f7ff;
    box-shadow: none;
}
.product-tour-scroll .tour-copy {
    min-width: 0;
    padding: clamp(18px, 3vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: transparent;
}
.product-tour-scroll .tour-index { color: #0b68ff; font-size: 11px; }
.product-tour-scroll .tour-copy h3 {
    max-width: 510px;
    margin: clamp(13px, 2.2svh, 23px) 0 0;
    font-size: clamp(27px, 3vw, 41px);
    line-height: 1.13;
    letter-spacing: -.035em;
    color: #022b60;
}
.product-tour-scroll .tour-copy p {
    margin: clamp(10px, 1.9svh, 19px) 0 0;
    max-width: 470px;
    font-size: clamp(13px, 1.25vw, 16px);
    line-height: 1.7;
    color: #547093;
}
.product-tour-scroll .tour-perks { margin-top: clamp(12px, 2.5svh, 24px); gap: 10px; }
.product-tour-scroll .tour-perks > span { color: #365a86; font-size: 12px; }
.product-tour-scroll .tour-check { background: #e5f1ff; color: #0066f5; }
.product-tour-scroll .tour-controls { margin-top: clamp(16px, 3svh, 34px); }
.product-tour-scroll .tour-arrow { border-color: #c8ddfa; color: #003a80; background: #fff; }
.product-tour-scroll .tour-arrow-primary { color: #fff; background: #0b68ff; border-color: #0b68ff; }
.product-tour-scroll .tour-arrow-primary:hover { background: #0854cf; }
.product-tour-scroll .tour-arrow:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.product-tour-scroll .tour-visual {
    position: relative;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: clamp(10px, 2svh, 25px) 7px clamp(24px, 3.7svh, 42px);
    background: transparent;
    touch-action: pan-y;
}
.product-tour-scroll .tour-image-halo {
    width: min(85%, 340px);
    max-width: 340px;
    background: radial-gradient(circle, rgba(95,162,255,.1), rgba(95,162,255,.01));
    border-color: rgba(66,133,232,.1);
    box-shadow: 0 0 0 50px rgba(66,133,232,.035), 0 0 0 95px rgba(66,133,232,.02);
}
.product-tour-scroll .tour-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-height: 500px;
    max-width: 370px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 16px 20px rgba(22,69,145,.12));
    will-change: opacity, transform;
}
.product-tour-scroll .tour-image[data-tour-kind="dashboard"] {
    width: 100%;
    height: 100%;
    max-width: 370px;
    max-height: 500px;
}
.product-tour-scroll .tour-screen-label {
    bottom: clamp(5px, 1svh, 15px);
    border-color: #d0e1f7;
    color: #003c87;
    font-size: 10px;
    padding: 5px 12px;
}
.product-tour-scroll .tour-highlights {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: clamp(10px, 1.8svh, 26px);
    padding: 26px clamp(10px,2vw,26px) 26px 0;
    background: transparent;
}
.product-tour-scroll .tour-highlight {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: clamp(10px, 1.4vw, 15px);
    border: 1px solid #dae8fa;
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 5px 13px rgba(26,69,144,.07);
}
.product-tour-scroll .tour-highlight::before {
    content: '';
    position: absolute;
    width: clamp(13px,2.9vw,41px);
    right: 100%;
    top: 50%;
    border-top: 2px dashed #bad1ff;
    pointer-events: none;
}
.product-tour-scroll .tour-highlight-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #0964ef;
    background: #e5f0ff;
}
.product-tour-scroll .tour-highlight-icon svg { width: 19px; height: 19px; stroke-width: 2; }
.product-tour-scroll .tour-highlight div { min-width: 0; }
.product-tour-scroll .tour-highlight b { display: block; font-size: clamp(10px,1vw,13px); line-height: 1.22; color: #063568; }
.product-tour-scroll .tour-highlight small { display: block; margin-top: 3px; font-size: clamp(9px,.84vw,11px); line-height: 1.3; color: #597394; }
.product-tour-scroll .tour-stage-bottom {
    position: relative;
    flex: 0 0 auto;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.product-tour-scroll .tour-tabs.tour-dots {
    position: absolute;
    z-index: 10;
    top: 54%;
    left: -27px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 16px;
    padding: 0;
    margin: 0;
    overflow: visible;
}
.product-tour-scroll .tour-tabs.tour-dots .tour-tab {
    position: relative;
    display: block;
    flex: none;
    min-width: 0;
    width: 14px;
    height: 14px;
    padding: 0;
    border: 2px solid #a3c7ff;
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .22s, transform .22s;
}
.product-tour-scroll .tour-tabs.tour-dots .tour-tab.is-active { background: #0b68ff; transform: scale(1.1); }
.product-tour-scroll .tour-tabs.tour-dots .tour-tab:focus-visible { outline: 3px solid #03449c; outline-offset: 3px; }
.product-tour-scroll .tour-tabs.tour-dots .tour-tab:hover { transform: scale(1.25); }
.product-tour-scroll .tour-scroll-tip { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #607ba0; }
.product-tour-scroll .tour-scroll-tip svg { width: 15px; height: 15px; }
.product-tour-scroll .tour-tip-mobile { display: none; }
.product-tour-scroll .tour-progress { width: 125px; height: 4px; overflow: hidden; border-radius: 99px; background: #d9eaff; }
.product-tour-scroll .tour-progress span { display: block; width: 16.6667%; height: 100%; background: #0b68ff; border-radius: inherit; transition: width .2s ease; }
.product-tour-scroll .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


@media (max-width: 1050px) {
    .product-tour-scroll .tour-shell { grid-template-columns: minmax(0,1.06fr) minmax(0,.85fr) minmax(155px,.64fr); }
    .product-tour-scroll .tour-copy { padding: clamp(15px, 2.4vw, 32px); }
    .product-tour-scroll .tour-copy h3 { font-size: clamp(23px, 3.4vw, 35px); }
    .product-tour-scroll .tour-highlight { gap: 7px; padding: 9px; }
    .product-tour-scroll .tour-highlight-icon { flex-basis: 29px; width: 29px; height: 29px; }
    .product-tour-scroll .tour-highlight-icon svg { width: 16px; height: 16px; }
}
@media (max-width: 900px) {
    .product-tour.product-tour-scroll { --tour-header-offset: 78px; --tour-mobile-cta-offset: 0px; }
    .product-tour-scroll .tour-shell { grid-template-columns: minmax(0,1fr) minmax(0,.8fr); }
    /* On tablets the left-side rail would sit beyond the viewport. */
    .product-tour-scroll .tour-tabs.tour-dots {
        position: absolute;
        top: auto;
        bottom: 9px;
        left: 10px;
        transform: none;
        flex-direction: row;
        width: auto;
        gap: 11px;
    }
    .product-tour-scroll .tour-copy { padding: 25px; }
    .product-tour-scroll .tour-copy h3 { font-size: clamp(24px, 3.6vw, 33px); }
    .product-tour-scroll .tour-highlights { grid-column: 1/-1; flex-direction: row; align-items: stretch; gap: 8px; padding: 0 16px 13px; }
    .product-tour-scroll .tour-highlight { flex: 1 1 0; }
    .product-tour-scroll .tour-highlight::before { display: none; }
    .product-tour-scroll .tour-highlight small { font-size: 10px; }
    .product-tour-scroll .tour-visual { padding-bottom: 30px; }
    .product-tour-scroll .tour-shell { grid-template-rows: minmax(0,1fr) auto; }
    .product-tour-scroll .tour-stage-head h2 { font-size: 28px; }
}
@media (max-width: 768px) {
    .product-tour.product-tour-scroll { --tour-mobile-cta-offset: 90px; }
}
@media (max-width: 600px) {
    .product-tour.product-tour-scroll { --tour-header-offset: 68px; --tour-mobile-cta-offset: 82px; }
    .product-tour-scroll .tour-stage { gap: 6px; padding-block: 6px; }
    .product-tour-scroll .tour-stage-head { align-items: center; }
    .product-tour-scroll .tour-stage-head .eyebrow { font-size: 8px; padding: 5px 9px; }
    .product-tour-scroll .tour-stage-head h2 { font-size: clamp(18px, 5vw, 23px); margin-top: 5px; }
    .product-tour-scroll .tour-stage-head > p { display: none; }
    .product-tour-scroll .tour-shell {
        display: grid;
        grid-template-columns: minmax(0,1fr);
        grid-template-rows: auto minmax(0,1fr) auto;
        max-height: none;
        border-radius: 18px;
    }
    .product-tour-scroll .tour-copy {
        padding: 13px 16px 4px;
        display: block;
    }
    .product-tour-scroll .tour-index { font-size: 9px; }
    .product-tour-scroll .tour-index::before { width: 14px; }
    .product-tour-scroll .tour-copy h3 { margin-top: 5px; font-size: clamp(18px, 5.25vw, 23px); line-height: 1.12; }
    .product-tour-scroll .tour-copy p { margin-top: 6px; font-size: 11px; line-height: 1.42; display: block; overflow: visible; }
    .product-tour-scroll .tour-perks, .product-tour-scroll .tour-controls { display: none; }
    .product-tour-scroll .tour-visual { grid-row: 2; height: auto; min-height: 0; padding: 2px 8px 16px; }
    .product-tour-scroll .tour-image, .product-tour-scroll .tour-image[data-tour-kind="dashboard"] { height: 100%; max-height: none; width: 100%; max-width: 100%; object-fit: contain; }
    .product-tour-scroll .tour-image-halo { max-width: 180px; box-shadow: 0 0 0 25px rgba(66,133,232,.035), 0 0 0 52px rgba(66,133,232,.02); }
    .product-tour-scroll .tour-screen-label { bottom: 2px; padding: 3px 10px; font-size: 9px; }
    .product-tour-scroll .tour-highlights { grid-row: 3; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; padding: 4px 7px 8px; }
    .product-tour-scroll .tour-highlight { padding: 6px 5px; border-radius: 9px; gap: 5px; box-shadow: none; }
    .product-tour-scroll .tour-highlight-icon { flex: 0 0 22px; width: 22px; height: 22px; }
    .product-tour-scroll .tour-highlight-icon svg { width: 12px; height: 12px; }
    .product-tour-scroll .tour-highlight b { font-size: 9px; line-height: 1.15; overflow-wrap: anywhere; }
    .product-tour-scroll .tour-highlight small { display: none; }
    .product-tour-scroll .tour-stage-bottom { min-height: 23px; gap: 7px; }
    .product-tour-scroll .tour-tabs.tour-dots { position: absolute; left: 8px; bottom: 9px; top: auto; transform: none; flex-direction: row; width: auto; gap: 9px; }
    .product-tour-scroll .tour-tabs.tour-dots .tour-tab { height: 11px; width: 11px; }
    .product-tour-scroll .tour-scroll-tip { margin-left: auto; font-size: 9px; gap: 4px; }
    .product-tour-scroll .tour-scroll-tip svg { width: 12px; height: 12px; }
    .product-tour-scroll .tour-tip-desktop { display: none; }
    .product-tour-scroll .tour-tip-mobile { display: inline; }
    .product-tour-scroll .tour-progress { display: none; }
}
@media (max-width: 600px) and (max-height: 700px) {
    .product-tour-scroll .tour-stage-head h2 { font-size: 17px; }
    .product-tour-scroll .tour-copy { padding: 8px 12px 2px; }
    .product-tour-scroll .tour-copy h3 { font-size: 17px; }
    .product-tour-scroll .tour-copy p { font-size: 10px; line-height: 1.32; }
    .product-tour-scroll .tour-highlight { padding: 4px; }
    .product-tour-scroll .tour-highlight-icon { width: 19px; height: 19px; flex-basis: 19px; }
    .product-tour-scroll .tour-highlight b { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .product-tour-scroll .tour-scroll-track { height: auto; }
    .product-tour-scroll .tour-sticky { position: relative; top: auto; height: auto; min-height: 560px; padding-block: 25px; }
    .product-tour-scroll .tour-stage { min-height: 510px; }
    .product-tour-scroll .tour-image, .product-tour-scroll .tour-tab { transition: none !important; }
}


/* ===========================================================
   ZOOM-SAFE SCROLL STORY FALLBACK
   At short CSS viewports (Chrome zoom 150%/200%, split windows,
   landscape phones), don't force large content into a sticky
   card. Show all six real screens in normal document flow.
   =========================================================== */
.product-tour-scroll .tour-flow-list { display: none; }
.product-tour-scroll.is-flow-mode { overflow: visible; }
.product-tour-scroll.is-flow-mode .tour-scroll-track { height: auto !important; }
.product-tour-scroll.is-flow-mode .tour-sticky { display: none !important; }
.product-tour-scroll.is-flow-mode .tour-flow-list {
    display: block;
    padding-top: clamp(24px, 3vw, 48px);
    padding-bottom: clamp(32px, 5vw, 70px);
}
.product-tour-scroll .tour-flow-heading { margin: 0 0 23px; }
.product-tour-scroll .tour-flow-heading h2 {
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -.035em;
    margin: 10px 0 7px;
    color: #002b67;
}
.product-tour-scroll .tour-flow-heading p { color: #54729a; font-size: 13px; line-height: 1.6; margin: 0; }
.product-tour-scroll .tour-flow-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}
.product-tour-scroll .tour-flow-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid #d2e3fc;
    border-radius: 99px;
    background: #fff;
    color: #0d438b;
    font-weight: 600;
    font-size: 11px;
}
.product-tour-scroll .tour-flow-nav a:focus-visible { outline: 2px solid #0964ef; outline-offset: 3px; }
.product-tour-scroll .tour-flow-card {
    scroll-margin-top: 95px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(200px, .75fr);
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
    min-width: 0;
    padding: clamp(16px, 3vw, 34px);
    margin: 0 0 20px;
    border: 1px solid #d4e5ff;
    border-radius: 22px;
    background: #f7fbff;
}
.product-tour-scroll .tour-flow-card:last-child { margin-bottom: 0; }
.product-tour-scroll .tour-flow-card-copy { min-width: 0; }
.product-tour-scroll .tour-flow-card-number {
    display: inline-block;
    color: #0b68ff;
    font-weight: 750;
    font-size: 11px;
    letter-spacing: .08em;
}
.product-tour-scroll .tour-flow-card h3 {
    color: #022b60;
    font-size: clamp(23px, 2.4vw, 35px);
    line-height: 1.15;
    letter-spacing: -.035em;
    margin: 13px 0 12px;
    overflow-wrap: break-word;
}
.product-tour-scroll .tour-flow-card-copy p {
    color: #547093;
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.7;
    margin: 0;
}
.product-tour-scroll .tour-flow-card-perks { margin: 16px 0 0; display: grid; gap: 7px; }
.product-tour-scroll .tour-flow-card-perks li { font-size: 12px; color: #30598b; }
.product-tour-scroll .tour-flow-card-perks li::before { content:'✓'; color:#0765f4; margin-right:9px; }
.product-tour-scroll .tour-flow-card-phone {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.product-tour-scroll .tour-flow-card-phone img {
    display: block;
    width: auto;
    max-width: min(100%, 320px);
    height: auto;
    max-height: 390px;
    object-fit: contain;
    filter: drop-shadow(0 13px 15px rgba(22,69,145,.10));
}
.product-tour-scroll .tour-flow-card-phone figcaption {
    color: #064585;
    background: #fff;
    border: 1px solid #d4e5ff;
    border-radius: 999px;
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 650;
}
.product-tour-scroll .tour-flow-card-notes {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}
.product-tour-scroll .tour-flow-card-note {
    padding: 11px 13px;
    min-width: 0;
    border: 1px solid #dae8fa;
    border-radius: 12px;
    background: #fff;
}
.product-tour-scroll .tour-flow-card-note strong { display: block; font-size: 12px; color: #063568; }
.product-tour-scroll .tour-flow-card-note small { display: block; font-size: 11px; line-height: 1.4; margin-top: 3px; color: #597394; }
@media (max-width: 700px) {
    .product-tour-scroll .tour-flow-card { grid-template-columns: minmax(0,1fr); }
    .product-tour-scroll .tour-flow-card-phone { margin: 0; }
    .product-tour-scroll .tour-flow-card-phone img { max-height: 335px; max-width: 85%; }
}
@media (max-width: 420px) {
    .product-tour-scroll .tour-flow-list { padding-inline: 0; }
    .product-tour-scroll .tour-flow-card { padding: 16px 13px; gap: 14px; border-radius: 16px; }
    .product-tour-scroll .tour-flow-card h3 { font-size: 22px; }
    .product-tour-scroll .tour-flow-card-notes { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .product-tour-scroll .tour-flow-card-note { padding: 9px 11px; }
    .product-tour-scroll .tour-flow-card-note small { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .product-tour.product-tour-scroll { scroll-behavior: auto; }
}

/* Give variable-length mobile copy its intrinsic height; the phone shrinks
   slightly instead of clipping longer titles/descriptions. */
@media (max-width: 600px) {
    .product-tour-scroll:not(.is-flow-mode) .tour-copy {
        min-height: max-content;
    }
}


/* ================================================================
   MOBILE SWIPE STORY — keep native sticky scroll on portrait phones.
   6 real app screenshots advance as the user scrolls/swipes up, with
   horizontal swipe on the screenshot and clickable navigation dots.
   Very short / high-zoom viewports still use the accessible flow mode.
   ================================================================ */
@media (max-width: 600px) and (min-height: 530px) {
    .product-tour-scroll:not(.is-flow-mode) .tour-scroll-track {
        /* One screen per natural finger swipe; the page remains scrollable. */
        height: calc(var(--tour-steps) * 78svh);
    }
    .product-tour-scroll:not(.is-flow-mode) .tour-sticky {
        position: sticky;
        top: var(--tour-header-offset);
    }
    .product-tour-scroll:not(.is-flow-mode) .tour-stage {
        min-height: 0;
        overflow: visible;
    }
    .product-tour-scroll:not(.is-flow-mode) .tour-shell {
        min-height: 0;
        min-width: 0;
        overflow: hidden;
    }
    .product-tour-scroll:not(.is-flow-mode) .tour-image {
        display: block;
        min-width: 0;
        min-height: 0;
    }
}

/* ===== Official image badges for both app stores =====
   Overrides the former icon/text pills, preserving the 2-up mobile layout.
   Badges are 3:1 responsive PNGs: no stretched images or cropped text.
*/
.metem-page .store-buttons .store-badge.store-badge-image {
    display: inline-flex;
    flex: 0 1 186px;
    width: min(186px, 100%);
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 0;
    gap: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    line-height: 0;
    align-items: center;
    justify-content: center;
}
.metem-page .store-buttons .store-badge.store-badge-image:hover {
    background: transparent;
    box-shadow: none;
    transform: translateY(-2px);
}
.metem-page .store-buttons .store-badge.store-badge-image:focus-visible {
    outline: 3px solid #58a6ff;
    outline-offset: 3px;
}
.metem-page .store-buttons .store-badge.store-badge-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
    object-fit: contain;
    border-radius: 8px;
}
/* Previous mobile styles allocated fixed padding to the text-based buttons.
   Remove that padding and keep two true image badges in the same row. */
@media (max-width: 600px) {
    .metem-page .hero-copy .store-buttons,
    .metem-page .download-copy .store-buttons {
        gap: 10px;
        align-items: center;
        justify-content: center;
    }
    .metem-page .hero-copy .store-buttons .store-badge.store-badge-image,
    .metem-page .download-copy .store-buttons .store-badge.store-badge-image {
        flex: 0 1 auto;
        width: 100%;
        max-width: 186px;
        min-width: 0;
        min-height: 0;
        padding: 0;
    }
    .metem-page .download-copy .store-buttons { flex-direction: row; }
    .metem-page .download-copy .store-buttons .store-badge.store-badge-image {
        flex: 0 1 calc(50% - 5px);
    }
}
@media (max-width: 380px) {
    .metem-page .hero-copy .store-buttons,
    .metem-page .download-copy .store-buttons { gap: 7px; }
}


/* =============================================================
   MET'EM FINAL — hero messaging, compact official download badges
   and an animated, layered screen-over-screen product tour.
   Existing desktop/mobile layout, zoom-safe fallback and 2×2 cards
   remain untouched.
   ============================================================= */
.metem-page .hero-copy .hero-main-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 47px;
    margin-top: 22px;
    padding: 11px 23px;
    border-radius: 11px;
    background: #0868fa;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 94, 221, .18);
    transition: background-color .2s ease, transform .2s ease;
}
.metem-page .hero-copy .hero-main-cta:hover { background: #0052d7; transform: translateY(-2px); }
.metem-page .hero-copy .hero-main-cta:focus-visible { outline: 3px solid #8cbbff; outline-offset: 3px; }
.metem-page .hero-copy .hero-main-cta svg { width: 17px; height: 17px; }
.metem-page .hero-copy > .store-buttons { margin-top: 16px; }
.metem-page .hero h1 { max-width: 800px; }
.metem-page .hero h1 span { color: #0868fa; }
/* Keep the store images physically smaller than the former text buttons
   on mobile, with enough breathing room even at 320px. */
@media (max-width: 600px) {
    .metem-page .hero-copy .hero-main-cta { min-height: 41px; margin-top: 15px; font-size: 13px; padding: 10px 17px; }
    .metem-page .hero-copy .store-buttons,
    .metem-page .download-copy .store-buttons { gap: 9px; }
    .metem-page .hero-copy .store-buttons .store-badge.store-badge-image,
    .metem-page .download-copy .store-buttons .store-badge.store-badge-image {
        width: clamp(120px, 34vw, 145px);
        max-width: 145px;
        flex: 0 1 clamp(120px, 34vw, 145px);
        min-width: 0;
    }
}
@media (max-width: 350px) {
    .metem-page .hero-copy .store-buttons,
    .metem-page .download-copy .store-buttons { gap: 7px; }
    .metem-page .hero-copy .store-buttons .store-badge.store-badge-image,
    .metem-page .download-copy .store-buttons .store-badge.store-badge-image {
        width: 120px;
        flex-basis: 120px;
    }
}

/* The transition snapshot uses the same grid as the visible card.
   On each scroll threshold / swipe, its entire previous layer peels away,
   revealing the incoming screen below: text, screenshot and notes together. */
.product-tour-scroll:not(.is-flow-mode) .tour-shell { position: relative; isolation: isolate; }
.product-tour-scroll .tour-shell > .tour-transition-layer {
    position: absolute;
    inset: 0;
    z-index: 6;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: none;
    border-radius: inherit;
    background: #f1f7ff;
    box-shadow: none;
    pointer-events: none;
    will-change: transform, clip-path;
}
/* No obscuring duplicate controls or tooltip layers in transition snapshots. */
.product-tour-scroll .tour-transition-layer .tour-controls { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
    .product-tour-scroll .tour-transition-layer { display: none !important; }
}


/* ============================================================
   MET'EM APP TOUR: COMPACT, ZOOM-SAFE LAYERED SCROLL
   The browser scrolls normally; each card stacks on the last.
   Avoid decorative effects that compete with small viewports.
   ============================================================ */
.metem-page .metem-stack-story {
    --stack-top: 94px;
    --stack-bottom: 18px;
    --stack-gap: 12px;
    --stack-height: calc(100svh - var(--stack-top) - var(--stack-bottom));
    position: relative;
    padding: clamp(32px, 4.5vw, 62px) 0 48px;
    background: #fff;
    overflow: visible;
    isolation: isolate;
}
.metem-stack-heading { text-align: center; padding-bottom: 22px; }
.metem-stack-heading .eyebrow { color: #365b94; }
.metem-stack-heading h2 {
    margin: 10px auto 7px;
    color: #082347;
    font-size: clamp(26px, 3.1vw, 41px);
    font-weight: 750;
    line-height: 1.13;
    letter-spacing: -.035em;
}
.metem-stack-heading p {
    margin: 0 auto;
    max-width: 560px;
    color: #647791;
    font-size: clamp(12px, 1.06vw, 14px);
    line-height: 1.5;
}
.metem-stack-layout {
    position: relative;
    width: min(1260px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}
.metem-stack-rail {
    position: sticky;
    top: max(120px, calc(50svh - 92px));
    align-self: start;
    z-index: 25;
}
.metem-stack-rail-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.metem-stack-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #afc6e9;
    background: #fff;
    color: #3361aa;
    transition: background-color .18s ease, border-color .18s ease;
}
.metem-stack-dot span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; font-size: 0; }
.metem-stack-dot.is-active { color: #fff; background: #0867ef; border-color: #0867ef; }
.metem-stack-dot:focus-visible { outline: 3px solid #80b2ff; outline-offset: 2px; }
.metem-stack-panels { position: relative; min-width: 0; }
.metem-stack-card {
    position: sticky;
    top: var(--stack-top);
    z-index: var(--stack-order);
    height: var(--stack-height);
    min-height: 0;
    margin: 0 0 var(--stack-gap);
    border: 1px solid #d9e5f3;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: none !important;
    scroll-margin-top: var(--stack-top);
}
.metem-stack-tone-1 { background: #f1f6fd; }
.metem-stack-tone-2 { background: #f5f3fc; }
.metem-stack-tone-3 { background: #eff8f5; }
.metem-stack-inner {
    width: 100%;
    height: 100%;
    min-height: 0;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .8fr) minmax(150px, .55fr);
    align-items: center;
    gap: clamp(12px, 1.7vw, 24px);
    padding: clamp(16px, 2.5vw, 32px);
}
.metem-stack-copy { min-width: 0; }
.metem-stack-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .1em;
    color: #0867ef;
}
.metem-stack-count span { color: #8198b7; font-size: 11px; font-weight: 700; }
.metem-stack-copy h3 {
    max-width: 480px;
    margin: 11px 0 9px;
    font-size: clamp(23px, 2.5vw, 38px);
    line-height: 1.15;
    letter-spacing: -.03em;
    color: #0b2a55;
    font-weight: 740;
    overflow-wrap: anywhere;
}
.metem-stack-copy > p {
    margin: 0;
    color: #4d6583;
    font-size: clamp(12px, 1vw, 15px);
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.metem-stack-caption {
    display: inline-flex;
    margin-top: 15px;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #dbe8f8;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #1868bf;
}
.metem-stack-phone {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.metem-stack-halo {
    position: absolute;
    width: min(78%, 300px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(66,130,237,.055);
    box-shadow: none;
    pointer-events: none;
}
.metem-stack-phone img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 330px;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    filter: none !important;
    max-width: 200px
}
.first{
    max-width:330px !important
}

.metem-stack-highlights {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}
.metem-stack-callout {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 10px;
    border: 1px solid #dee8f4;
    border-radius: 11px;
    background: rgba(255,255,255,.92);
    box-shadow: none !important;
}
.metem-stack-callout::before { display: none; }
.metem-stack-icon {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    color: #0867ef;
    background: #edf3fd;
    border-radius: 8px;
}
.metem-stack-icon svg { width: 16px; height: 16px; }
.metem-stack-callout-copy { min-width: 0; }
.metem-stack-callout strong { display: block; color: #143b6d; font-size: 11px; line-height: 1.3; overflow-wrap: anywhere; }
.metem-stack-callout small { display: block; margin-top: 2px; color: #667f9e; font-size: 10px; line-height: 1.3; overflow-wrap: anywhere; }
.metem-stack-mobile-hint { display: none; }

/* Moderate screens: two-column headline/phone and three callouts below. */
@media (max-width: 1060px) {
    .metem-stack-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
        grid-template-rows: minmax(0, 1fr) auto;
        gap: 10px 15px;
        padding: 17px;
    }
    .metem-stack-highlights {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }
    .metem-stack-callout { gap: 7px; padding: 7px; }
    .metem-stack-icon { flex-basis: 25px; width: 25px; height: 25px; }
    .metem-stack-icon svg { width: 14px; height: 14px; }
    .metem-stack-copy h3 { font-size: clamp(21px, 2.9vw, 33px); }
    .metem-stack-caption { margin-top: 9px; }
}

/* Portrait phone: content gets reserved rows; image *scales down* rather than crops. */
@media (max-width: 650px) {
    .metem-page .metem-stack-story {
        --stack-top: 72px;
        --stack-bottom: 82px; /* keep the bottom floating CTA unobscured */
        --stack-gap: 9px;
        padding: 27px 0 34px;
    }
    .metem-stack-heading { padding-bottom: 15px; }
    .metem-stack-heading h2 { font-size: clamp(23px, 6.3vw, 30px); margin: 7px auto; }
    .metem-stack-heading p { max-width: 325px; font-size: 11px; line-height: 1.4; }
    .metem-stack-layout { width: calc(100% - 16px); grid-template-columns: 13px minmax(0, 1fr); gap: 5px; }
    .metem-stack-rail { top: max(100px, calc(50svh - 60px)); }
    .metem-stack-rail-inner { gap: 7px; }
    .metem-stack-dot { width: 12px; height: 12px; }
    .metem-stack-dot span { width: 4px; height: 4px; }
    .metem-stack-card { border-radius: 12px; }
    .metem-stack-inner {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr) auto;
        gap: 7px;
        align-items: stretch;
        padding: 12px;
    }
    .metem-stack-copy { align-self: start; }
    .metem-stack-count, .metem-stack-count span { font-size: 10px; }
    .metem-stack-copy h3 {
        margin: 4px 0 5px;
        font-size: clamp(19px, 5vw, 25px);
        line-height: 1.15;
    }
    .metem-stack-copy > p { font-size: clamp(11px, 2.7vw, 12px); line-height: 1.38; }
    .metem-stack-caption { display: none; }
    .metem-stack-phone { height: 100%; }
    .metem-stack-phone img { max-width: min(100%, 275px); max-height: 100%;max-width:125px }
    .first{
        max-width:250px !important;
    }
    .metem-stack-highlights {
        grid-column: 1;
        gap: 5px;
    }
    .metem-stack-callout { border-radius: 8px; padding: 6px; gap: 4px; }
    .metem-stack-icon { display: none; }
    .metem-stack-callout strong { font-size: clamp(9px, 2.35vw, 11px); line-height: 1.25; text-align: center; }
    .metem-stack-callout small { display: none; }
}

/* Natural-height flow is used for extreme zoom, small heights, reduced motion,
   and any content-overflow case detected by the resize fit check.
   No information disappears and the photo is never clipped. */
.metem-stack-story.is-flow-mode .metem-stack-layout { display: block; width: min(1180px, calc(100% - 24px)); }
.metem-stack-story.is-flow-mode .metem-stack-rail { display: none; }
.metem-stack-story.is-flow-mode .metem-stack-card {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 16px;
    overflow: visible;
}
.metem-stack-story.is-flow-mode .metem-stack-inner {
    height: auto;
    min-height: 0;
    padding: clamp(15px, 2.5vw, 28px);
}
.metem-stack-story.is-flow-mode .metem-stack-phone { height: min(62svh, 520px); min-height: 270px; }
.metem-stack-story.is-flow-mode .metem-stack-phone img { max-width: 270px; }
@media (max-width: 650px) {
    .metem-stack-story.is-flow-mode .metem-stack-layout { width: calc(100% - 20px); }
    .metem-stack-story.is-flow-mode .metem-stack-inner { grid-template-rows: auto auto auto; gap: 12px; padding: 16px; }
    .metem-stack-story.is-flow-mode .metem-stack-copy h3 { font-size: clamp(21px, 5vw, 26px); }
    .metem-stack-story.is-flow-mode .metem-stack-copy > p { font-size: 12px; line-height: 1.5; }
    .metem-stack-story.is-flow-mode .metem-stack-phone { height: clamp(295px, 55svh, 470px); min-height: 0; }
    .metem-stack-story.is-flow-mode .metem-stack-highlights { grid-template-columns: 1fr; }
    .metem-stack-story.is-flow-mode .metem-stack-callout { padding: 9px 11px; justify-content: flex-start; }
    .metem-stack-story.is-flow-mode .metem-stack-icon { display: grid; }
    .metem-stack-story.is-flow-mode .metem-stack-callout strong { font-size: 12px; text-align: left; }
    .metem-stack-story.is-flow-mode .metem-stack-callout small { display: block; }
}
@media (max-height: 540px), (prefers-reduced-motion: reduce) {
    .metem-stack-story .metem-stack-layout { display: block; width: min(1180px, calc(100% - 24px)); }
    .metem-stack-story .metem-stack-rail { display: none; }
    .metem-stack-story .metem-stack-card {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 16px;
        overflow: visible;
    }
    .metem-stack-story .metem-stack-inner { height: auto; min-height: 0; padding: clamp(15px, 2.5vw, 28px); }
    .metem-stack-story .metem-stack-phone { height: min(62svh, 520px); min-height: 270px; }
}
@media (max-width: 650px) and (max-height: 540px) {
    .metem-stack-story .metem-stack-layout { width: calc(100% - 20px); }
    .metem-stack-story .metem-stack-inner { grid-template-rows: auto auto auto; gap: 12px; padding: 16px; }
    .metem-stack-story .metem-stack-copy h3 { font-size: clamp(21px, 5vw, 26px); }
    .metem-stack-story .metem-stack-copy > p { font-size: 12px; line-height: 1.5; }
    .metem-stack-story .metem-stack-phone { height: clamp(295px, 55svh, 470px); min-height: 0; }
    .metem-stack-story .metem-stack-highlights { grid-template-columns: 1fr; }
    .metem-stack-story .metem-stack-callout { padding: 9px 11px; justify-content: flex-start; }
    .metem-stack-story .metem-stack-icon { display: grid; }
    .metem-stack-story .metem-stack-callout strong { font-size: 12px; text-align: left; }
    .metem-stack-story .metem-stack-callout small { display: block; }
}

/* Keep other Met'em interface surfaces visually light, too. */
.metem-topbar.scrolled { box-shadow: 0 2px 9px rgba(0,19,58,.09); }
.metem-page .card-lift:hover { box-shadow: 0 4px 13px rgba(16,52,41,.06); }
.metem-page .hero-main-cta { box-shadow: none; }
.mobile-float-cta { box-shadow: 0 3px 12px rgba(0,75,180,.13); }
