/* ═══════════════════════════════════════════════════════════════════
   Spamify — marketing site  (light · premium · motion)
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --ink: #0e1526;
    --ink-2: #334155;
    --muted: #5b6478;
    --muted-2: #8b93a7;
    --bg: #ffffff;
    --bg-2: #f6f8fd;
    --surface: #ffffff;
    --border: #e7eaf3;
    --border-2: #eef1f8;
    --brand: #6366f1;
    --brand-d: #4f46e5;
    --violet: #8b5cf6;
    --sky: #3b82f6;
    --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --grad-soft: linear-gradient(135deg, #eef0ff 0%, #f5edff 100%);
    --ok: #10b981;
    --bad: #ef4444;
    --warn: #f59e0b;
    --r: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --sh-sm: 0 1px 2px rgba(16, 24, 40, .06);
    --sh: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 20px -8px rgba(16, 24, 40, .12);
    --sh-md: 0 6px 16px -6px rgba(16, 24, 40, .12), 0 18px 40px -18px rgba(16, 24, 40, .20);
    --sh-lg: 0 20px 40px -16px rgba(16, 24, 40, .20), 0 40px 80px -40px rgba(79, 70, 229, .30);
    --maxw: 1180px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --display: 'Sora', 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
    font-family: var(--display);
    line-height: 1.12;
    letter-spacing: -.02em;
    margin: 0;
}

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.wrap--narrow {
    max-width: 820px;
}

.eyebrow {
    display: inline-block;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-d);
    background: var(--grad-soft);
    padding: 6px 12px;
    border-radius: 100px;
}


/* ── Buttons ─────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    font-family: var(--font);
    font-weight: 600;
    font-size: 14.5px;
    padding: 11px 20px;
    border-radius: 12px;
    transition: transform .18s cubic-bezier(.2, .7, .3, 1), box-shadow .18s, background .18s, color .18s;
    white-space: nowrap;
}

.btn--lg {
    padding: 15px 28px;
    font-size: 16px;
    border-radius: 14px;
}

.btn--block {
    width: 100%;
}

.btn--primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 22px -8px rgba(99, 102, 241, .6);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -8px rgba(99, 102, 241, .7);
}

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

.btn--soft:hover {
    background: #e5e8f3;
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
}

.btn--ghost:hover {
    color: var(--brand-d);
}

.btn--light {
    background: #fff;
    color: var(--brand-d);
    box-shadow: var(--sh);
}

.btn--light:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-md);
}

.btn--outline {
    background: transparent;
    color: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, .12);
}


/* ── Nav ─────────────────────────────────────────────────────────────── */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.nav.is-stuck {
    border-color: var(--border);
    box-shadow: 0 4px 20px -12px rgba(16, 24, 40, .25);
}

.nav__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-weight: 800;
    font-size: 16px;
}

.brand__mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--grad);
    border-radius: 10px;
    box-shadow: 0 6px 14px -4px rgba(99, 102, 241, .6);
}

.brand__mark svg {
    width: 20px;
    height: 20px;
}

.nav__links {
    display: flex;
    gap: 26px;
    margin-left: 8px;
}

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

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

.nav__cta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__burger {
    display: none;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.nav__burger span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: .25s;
}

.nav__burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav__burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    padding: 76px 0 64px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(99, 102, 241, .05) 1px, transparent 1px), linear-gradient(0deg, rgba(99, 102, 241, .05) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: radial-gradient(70% 70% at 50% 20%, #000 40%, transparent 90%);
}

.hero__blob {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
}

.hero__blob--a {
    left: -160px;
    bottom: -160px;
    background: #c7d2fe;
    opacity: .55;
}

.hero__blob--b {
    right: -140px;
    bottom: -140px;
    width: 260px;
    height: 260px;
    background: #fde68a;
    opacity: .45;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 7px 14px;
    box-shadow: var(--sh-sm);
}

.pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .18);
}

.hero h1 {
    font-size: clamp(34px, 4.6vw, 52px);
    margin: 22px 0 0;
}

.underline-wrap {
    position: relative;
    display: inline-block;
}

.underline-svg {
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: .32em;
    z-index: -1;
}

.hero__sub {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--ink-2);
    margin: 14px 0 0;
}

.hero__sub b {
    color: var(--ink);
}

.lead {
    font-size: clamp(16px, 1.4vw, 18px);
    color: var(--muted);
    margin: 16px auto 0;
    max-width: 560px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.hero__icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 52px;
}

.hero__icon-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100px;
}

.hero__icon-badge span {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ic-bg);
    color: var(--ic-fg);
}

.hero__icon-badge span svg {
    width: 26px;
    height: 26px;
}

.hero__icon-badge small {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    text-align: center;
    line-height: 1.3;
}


/* Glass utility */

.glass {
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: var(--sh-lg);
}


.float-chip {
    position: absolute;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 100px;
    z-index: 3;
}

.float-chip--1 {
    top: -18px;
    right: 8px;
    animation: floaty 5s ease-in-out infinite;
}

.float-chip--2 {
    bottom: -16px;
    left: -10px;
    animation: floaty 6s ease-in-out infinite .8s;
}

@keyframes floaty {
    0%,
    100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-9px)
    }
}


/* ── Forms / integrations ────────────────────────────────────────────── */

.forms {
    padding-top: 56px;
}

.forms__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.forms__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 26px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.forms__logo:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
    border-color: #dfe3f2;
}

.forms__logo img {
    height: 34px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.forms__logo span {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    text-align: center;
}

.forms__logo--more {
    background: var(--grad-soft);
    border-style: dashed;
    border-color: rgba(99, 102, 241, .3);
}

.forms__more-count {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-d);
}

.forms__logo--more span:last-child {
    color: var(--brand-d);
}

.forms__custom {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 28px;
    padding: 26px 28px;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: var(--r-lg);
}

.forms__custom-ico {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--brand-d);
    box-shadow: var(--sh-sm);
}

.forms__custom-ico svg {
    width: 24px;
    height: 24px;
}

.forms__custom-copy h3 {
    font-family: var(--display);
    font-size: 17px;
    margin: 4px 0 6px;
}

.forms__custom-copy p {
    color: var(--muted);
    font-size: 14.5px;
    margin: 0;
}

@media (max-width: 720px) {
    .forms__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .forms__custom {
        flex-direction: column;
    }
}


/* ── Stats ───────────────────────────────────────────────────────────── */

.stats {
    padding: 44px 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat {
    text-align: center;
    padding: 26px 16px;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: var(--r-lg);
}

.stat b {
    display: block;
    font-family: var(--display);
    font-size: clamp(28px, 3.4vw, 40px);
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat span {
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 500;
}


/* ── Sections ────────────────────────────────────────────────────────── */

.section {
    padding: 84px 0;
}

.section__head {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

.section__head h2 {
    font-size: clamp(28px, 3.6vw, 40px);
    margin: 16px 0 0;
}

.section__head p {
    color: var(--muted);
    font-size: 17px;
    margin: 16px 0 0;
}


/* ── Engine ──────────────────────────────────────────────────────────── */

.engine {
    background: linear-gradient(180deg, #fff, #f7f9fe);
}

.engine__grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    align-items: start;
}

.layers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.layers li {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: var(--sh-sm);
    transition: transform .18s, box-shadow .18s;
}

.layers li:hover {
    transform: translateX(4px);
    box-shadow: var(--sh);
}

.layers__ico {
    width: 40px;
    height: 40px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-d);
    background: var(--grad-soft);
    border-radius: 11px;
}

.layers__ico svg {
    width: 20px;
    height: 20px;
}

.layers li div {
    flex: 1;
}

.layers li b {
    display: block;
    font-size: 14.5px;
}

.layers li small {
    color: var(--muted);
    font-size: 12.5px;
}

.layers__free,
.layers__pro {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 100px;
}

.layers__free {
    background: #dcfce7;
    color: #047857;
}

.layers__pro {
    background: var(--grad-soft);
    color: var(--brand-d);
}

.engine__panel {
    position: sticky;
    top: 96px;
}

.score {
    border-radius: var(--r-xl);
    padding: 30px;
    text-align: center;
}

.score__ring {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 8px;
}

.score__ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score__track {
    fill: none;
    stroke: #eceffa;
    stroke-width: 12;
}

.score__fill {
    fill: none;
    stroke: url(#none);
    stroke: #6366f1;
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 327;
    stroke-dashoffset: 327;
    transition: stroke-dashoffset 1.1s cubic-bezier(.2, .8, .2, 1), stroke .6s;
}

.score__num {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score__num b {
    font-family: var(--display);
    font-size: 44px;
    line-height: 1;
}

.score__num span {
    font-size: 13px;
    color: var(--muted-2);
}

.score__verdict {
    font-weight: 800;
    font-size: 18px;
    margin-top: 8px;
}

.score__reasons {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.score__reasons span {
    font-size: 12.5px;
    color: var(--muted);
    background: #f7f8fd;
    border-radius: 9px;
    padding: 8px 11px;
    text-align: left;
    opacity: 0;
    transform: translateY(6px);
    transition: .4s;
}

.score__reasons span.on {
    opacity: 1;
    transform: none;
}


/* ── Feature cards ───────────────────────────────────────────────────── */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 26px;
    box-shadow: var(--sh-sm);
    transition: transform .2s cubic-bezier(.2, .7, .3, 1), box-shadow .2s, border-color .2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: #dfe3f2;
}

.card__ico {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 16px;
}

.card__ico svg {
    width: 24px;
    height: 24px;
}

.grad-ico {
    color: var(--brand-d);
    background: var(--grad-soft);
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .12);
}

.card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.card p {
    color: var(--muted);
    font-size: 14.5px;
    margin: 0;
}


/* ── Spam Scan ───────────────────────────────────────────────────────── */

.scan {
    background: linear-gradient(180deg, #fff, #f7f9fe);
}

.scan__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.scan__copy h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    margin: 16px 0 0;
}

.scan__copy p {
    color: var(--muted);
    font-size: 16.5px;
    margin: 16px 0 0;
}

.scan__note {
    font-size: 14px !important;
    color: var(--muted-2) !important;
}

.dotrow {
    display: inline-flex;
    gap: 5px;
}

.dotrow i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e2e6f0;
}

.dotrow i:nth-child(1) {
    background: #ff5f57;
}

.dotrow i:nth-child(2) {
    background: #febc2e;
}

.dotrow i:nth-child(3) {
    background: #28c840;
}

.scancard {
    border-radius: var(--r-lg);
    padding: 20px;
}

.scancard__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.scancard__title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .04em;
}

.scanrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    background: #f7f8fd;
    margin-bottom: 8px;
}

.scanrow__who {
    min-width: 0;
    overflow: hidden;
}

.scanrow__who b {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scanrow__who small {
    font-size: 11px;
    color: var(--muted-2);
}

.scanbadge {
    flex: none;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 100px;
    white-space: nowrap;
}

.scanbadge--spam {
    background: #fee2e2;
    color: #b91c1c;
}

.scanbadge--warn {
    background: #fef3c7;
    color: #b45309;
}

.scanbadge--clean {
    background: #dcfce7;
    color: #047857;
}

.scancard__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-2);
}

.scancard__found {
    font-size: 12.5px;
    color: var(--muted);
}

.scancard__found b {
    color: var(--ink);
}

.scancard__actions {
    display: flex;
    gap: 8px;
}

.scanbtn {
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 100px;
}

.scanbtn--ghost {
    background: #eef0f8;
    color: var(--ink-2);
}

.scanbtn--danger {
    background: #fee2e2;
    color: #b91c1c;
}

@media (max-width:980px) {
    .scan__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}


/* ── Geo ─────────────────────────────────────────────────────────────── */

.geo__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.geo__copy h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    margin: 16px 0 0;
}

.geo__copy p {
    color: var(--muted);
    font-size: 16.5px;
    margin: 16px 0 0;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    gap: 10px;
}

.checklist li {
    position: relative;
    padding-left: 30px;
    font-weight: 500;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: var(--grad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mapcard {
    border-radius: var(--r-lg);
    padding: 16px;
}

.mapcard__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.mapcard__dots {
    display: flex;
    gap: 5px;
}

.mapcard__dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e2e6f0;
}

.mapcard__title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .01em;
}


/* World map + volume markers */

.worldmap {
    position: relative;
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-2);
    background: linear-gradient(180deg, #fbfdff, #eef3fb);
    padding: 0;
    overflow: hidden;
}

.worldmap__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1000 / 363;
}

.mappin {
    position: absolute;
    width: var(--s, 10px);
    height: var(--s, 10px);
    margin: 0;
    border-radius: 50%;
    background: var(--c, #4285f4);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .8), 0 1px 3px rgba(16, 24, 40, .35);
    pointer-events: auto;
    cursor: default;
    z-index: 1;
}

.mappin::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--c, #4285f4);
    transform: translate(-50%, -50%);
    opacity: .45;
    animation: mappinPulse 2.8s ease-out infinite;
    animation-delay: var(--delay, 0s);
    z-index: -1;
}

@keyframes mappinPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: .5;
    }
    70% {
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(3.6);
        opacity: 0;
    }
}

.mappin--l1 {
    --s: 9px;
    --c: #8ab4f8;
}

.mappin--l2 {
    --s: 11px;
    --c: #4285f4;
}

.mappin--l3 {
    --s: 13px;
    --c: #1967d2;
}

.mappin--l4 {
    --s: 15px;
    --c: #174ea6;
}

.mappin--l5 {
    --s: 18px;
    --c: #0f3d86;
}


/* Ranked country breakdown */

.maprank {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.maprank li {
    display: grid;
    grid-template-columns: 92px 1fr auto;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
}

.maprank__n {
    font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.maprank__bar {
    height: 7px;
    border-radius: 100px;
    background: #eceffa;
    overflow: hidden;
}

.maprank__bar i {
    display: block;
    height: 100%;
    border-radius: 100px;
    background: var(--grad);
}

.maprank__v {
    font-variant-numeric: tabular-nums;
    color: var(--muted);
    font-weight: 600;
}

.mapcard__legend {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    font-size: 11px;
    color: var(--muted-2);
}

.mapcard__legend i {
    width: 22px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
    .mappin::after {
        animation: none;
        display: none;
    }
}


/* ── Chips ───────────────────────────────────────────────────────────── */

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

.chip {
    font-size: 14px;
    font-weight: 600;
    padding: 11px 18px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--sh-sm);
}

.chip--pro {
    position: relative;
}

.chip--pro::after {
    content: 'Pro';
    margin-left: 8px;
    font-size: 10px;
    font-weight: 800;
    color: var(--brand-d);
    background: var(--grad-soft);
    padding: 2px 7px;
    border-radius: 100px;
}


/* ── Pricing ─────────────────────────────────────────────────────────── */

.pricing {
    background: linear-gradient(180deg, #f7f9fe, #fff);
}

.tiers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: stretch;
}

.tier {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--sh-sm);
    transition: transform .2s, box-shadow .2s;
}

.tier:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.tier--pop {
    border-color: transparent;
    box-shadow: var(--sh-lg);
    background: linear-gradient(180deg, #fff, #fbfaff);
    outline: 2px solid var(--brand);
    outline-offset: -2px;
}

.tier__flag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    padding: 5px 14px;
    border-radius: 100px;
    box-shadow: 0 8px 18px -6px rgba(99, 102, 241, .6);
}

.tier h3 {
    font-size: 18px;
}

.tier__price {
    margin: 12px 0 2px;
}

.tier__price b {
    font-family: var(--display);
    font-size: 40px;
}

.tier__price span {
    color: var(--muted-2);
    font-size: 14px;
}

.tier__sub {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 18px;
}

.tier ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: grid;
    gap: 10px;
    flex: 1;
}

.tier li {
    position: relative;
    padding-left: 24px;
    font-size: 13.5px;
    color: var(--ink-2);
}

.tier li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 800;
}


/* ── FAQ ─────────────────────────────────────────────────────────────── */

.acc {
    display: grid;
    gap: 12px;
}

.acc details {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 2px 20px;
    box-shadow: var(--sh-sm);
    transition: box-shadow .2s;
}

.acc details[open] {
    box-shadow: var(--sh);
}

.acc summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    font-weight: 700;
    font-size: 16px;
}

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

.acc summary i {
    width: 22px;
    height: 22px;
    flex: none;
    position: relative;
}

.acc summary i::before,
.acc summary i::after {
    content: '';
    position: absolute;
    background: var(--brand);
    border-radius: 2px;
    transition: .25s;
}

.acc summary i::before {
    top: 10px;
    left: 3px;
    right: 3px;
    height: 2px;
}

.acc summary i::after {
    left: 10px;
    top: 3px;
    bottom: 3px;
    width: 2px;
}

.acc details[open] summary i::after {
    transform: scaleY(0);
}

.acc details p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14.5px;
}


/* ── CTA ─────────────────────────────────────────────────────────────── */

.cta {
    padding: 20px 0 90px;
}

.cta__box {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    border-radius: var(--r-xl);
    padding: 64px 32px;
    background: radial-gradient(120% 140% at 0% 0%, #7c74ff 0%, #6366f1 40%, #4f46e5 100%);
    box-shadow: var(--sh-lg);
}

.cta__box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 200px at 90% 10%, rgba(255, 255, 255, .25), transparent 60%);
    pointer-events: none;
}

.cta__box h2 {
    font-size: clamp(28px, 4vw, 44px);
    position: relative;
}

.cta__box p {
    position: relative;
    margin: 14px 0 0;
    font-size: 18px;
    color: rgba(255, 255, 255, .9);
}

.cta__box .hero__actions {
    justify-content: center;
}


/* ── Footer ──────────────────────────────────────────────────────────── */

.foot {
    background: #0e1526;
    color: #c7cede;
    padding: 56px 0 26px;
}

.foot__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
}

.foot .brand {
    color: #fff;
}

.foot .brand__mark {
    box-shadow: none;
}

.foot__brand p {
    color: #8b93a7;
    font-size: 14px;
    max-width: 320px;
    margin: 14px 0 0;
}

.foot nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.foot h4 {
    font-family: var(--font);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #fff;
    margin-bottom: 4px;
}

.foot nav a {
    color: #9aa3b8;
    font-size: 14px;
    transition: color .15s;
}

.foot nav a:hover {
    color: #fff;
}

.foot__bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #6b7488;
    font-size: 13px;
}


/* ── Reveal on scroll ────────────────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}

.reveal[data-d="1"] {
    transition-delay: .08s;
}

.reveal[data-d="2"] {
    transition-delay: .16s;
}

.reveal[data-d="3"] {
    transition-delay: .24s;
}

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

.no-js .reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion:reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
    .float-chip {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}


/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width:980px) {
    .engine__grid {
        grid-template-columns: 1fr;
    }
    .engine__panel {
        position: static;
    }
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .tiers {
        grid-template-columns: repeat(2, 1fr);
    }
    .geo__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .foot__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:720px) {
    .nav__links,
    .nav__cta {
        display: none;
    }
    .nav__burger {
        display: flex;
    }
    .nav.is-open .nav__links {
        display: flex;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 8px 24px 16px;
        box-shadow: var(--sh-md);
    }
    .nav.is-open .nav__links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-2);
    }
    .nav.is-open .nav__cta {
        display: flex;
        position: absolute;
        top: calc(68px + 220px);
        left: 0;
        right: 0;
        padding: 0 24px 16px;
        background: #fff;
    }
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section {
        padding: 64px 0;
    }
}

@media (max-width:560px) {
    .cards,
    .tiers {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 48px 0 40px;
    }
    .foot__grid {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════════════════════════════════
   Blog  (list + article — reuses the site design tokens)
   ═══════════════════════════════════════════════════════════════════ */

.pagehead {
    padding: 60px 0 26px;
    text-align: center;
}

.pagehead .eyebrow {
    margin-bottom: 14px;
}

.pagehead h1 {
    font-size: clamp(32px, 5vw, 52px);
}

.pagehead p {
    color: var(--muted);
    max-width: 620px;
    margin: 16px auto 0;
    font-size: clamp(16px, 1.6vw, 19px);
}

.crumb {
    font-size: 13px;
    color: var(--muted-2);
    margin: 0 0 18px;
}

.crumb a {
    color: var(--brand-d);
    font-weight: 600;
}

.crumb span {
    margin: 0 7px;
    opacity: .6;
}


/* ── Post grid / cards ───────────────────────────────────────────── */

.postgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 20px 0 70px;
}

.postcard {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    transition: transform .2s cubic-bezier(.2, .7, .3, 1), box-shadow .2s, border-color .2s;
}

.postcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: #dfe3f2;
}

.postcard__thumb {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    background: var(--grad);
    color: #fff;
}

.postcard__body {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 20px 22px 24px;
    flex: 1;
}

.wrap.wrap--narrow.morereads .postcard__body h2 {
    margin: 0 0 4px !important;
}

.postcard__cat {
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand-d);
}

.postcard h2 {
    font-size: 18.5px;
    line-height: 1.32;
}

.postcard p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
    flex: 1;
}

.postcard__meta {
    display: flex;
    gap: 10px;
    font-size: 12.5px;
    color: var(--muted-2);
    margin-top: 4px;
}

.postcard__meta span::after {
    content: '·';
    margin-left: 10px;
    opacity: .6;
}

.postcard__meta span:last-child::after {
    content: '';
    margin: 0;
}

/* Featured image thumbnails (replace emoji icons) */
.postcard__thumb {
    padding: 0;
}

.postcard__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ── Pagination ──────────────────────────────────────────────────── */

.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 4px 0 78px;
}

.pager button {
    min-width: 42px;
    height: 42px;
    padding: 0 13px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink-2);
    border-radius: 11px;
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform .15s, border-color .15s, color .15s, background .15s;
}

.pager button:hover:not(:disabled) {
    border-color: var(--brand);
    color: var(--ink);
    transform: translateY(-1px);
}

.pager button.on {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.pager button:disabled {
    opacity: .4;
    cursor: default;
}

.pager .gap {
    color: var(--muted-2);
    padding: 0 4px;
    user-select: none;
}


/* ── Post featured hero ──────────────────────────────────────────── */

.posthero {
    margin: 4px 0 8px;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--sh-sm);
    aspect-ratio: 16 / 9;
    background: var(--grad);
}

.posthero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ── Article ─────────────────────────────────────────────────────── */

.article {
    padding: 46px 0 40px;
}

.posthead {
    margin: 0 0 8px;
}

.posthead h1 {
    font-size: clamp(30px, 4.4vw, 46px);
    margin: 14px 0 0;
}

.posthead__sub {
    font-size: clamp(17px, 1.7vw, 20px);
    color: var(--muted);
    margin: 16px 0 0;
}

.postmeta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    margin-top: 22px;
    padding: 14px 0;
    border-top: 1px solid var(--border-2);
    border-bottom: 1px solid var(--border-2);
    font-size: 13.5px;
    color: var(--muted);
}

.postmeta b {
    color: var(--ink-2);
    font-weight: 600;
}


/* Prose typography */

.prose {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink-2);
    margin-top: 30px;
}

.prose h2 {
    font-family: var(--display);
    font-size: clamp(22px, 2.4vw, 28px);
    color: var(--ink);
    margin: 42px 0 14px;
    letter-spacing: -.01em;
}

.prose h3 {
    font-size: 19px;
    color: var(--ink);
    margin: 30px 0 10px;
}

.prose p {
    margin: 0 0 18px;
}

.prose ul,
.prose ol {
    margin: 0 0 18px;
    padding-left: 22px;
}

.prose li {
    margin: 7px 0;
}

.prose a {
    color: var(--brand-d);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.prose strong {
    color: var(--ink);
    font-weight: 700;
}

.prose blockquote {
    margin: 24px 0;
    padding: 14px 22px;
    border-left: 3px solid var(--brand);
    background: var(--bg-2);
    border-radius: 0 12px 12px 0;
    color: var(--muted);
    font-style: italic;
}

.prose code {
    background: #f1f3fb;
    border: 1px solid var(--border-2);
    border-radius: 6px;
    padding: 1px 6px;
    font-size: .88em;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

.prose figure {
    margin: 0 0 18px;
}

.prose .tablewrap {
    overflow-x: auto;
    margin: 0 0 20px;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    min-width: 420px;
}

.prose th,
.prose td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-2);
    vertical-align: top;
}

.prose thead th,
.prose tr:first-child th {
    background: var(--bg-2);
    color: var(--ink);
    font-weight: 700;
}

.prose pre {
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: 12px;
    padding: 16px 18px;
    overflow-x: auto;
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.6;
}

.prose pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 13.5px;
}

.callout {
    display: flex;
    gap: 14px;
    margin: 26px 0;
    padding: 18px 20px;
    background: var(--grad-soft);
    border: 1px solid var(--border-2);
    border-radius: var(--r);
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--ink-2);
}

.callout__ico {
    font-size: 22px;
    line-height: 1.2;
    flex: none;
}

.callout p {
    margin: 0;
}


/* Bottom CTA inside a post */

.postcta {
    margin: 44px 0 0;
    padding: 34px;
    border-radius: var(--r-xl);
    background: var(--grad);
    color: #fff;
    text-align: center;
}

.postcta h3 {
    font-family: var(--display);
    font-size: clamp(22px, 2.6vw, 27px);
    color: #fff;
}

.postcta p {
    color: rgba(255, 255, 255, .9);
    margin: 10px auto 22px;
    max-width: 460px;
}


/* More-reading strip */

.morereads {
    padding: 8px 0 72px;
}

.morereads h2 {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 600;
    margin: 60px 0 10px;
}

@media (max-width: 900px) {
    .postgrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .postgrid {
        grid-template-columns: 1fr;
    }
}
