/* ==========================================================================
   AdMedia — New home page
   Page stylesheet. Loaded after style.css / responsive.css / admedia-new-style.css,
   so it only carries the components of this page — the grid (.container / .row /
   .col-*), the header, the footer and the Poppins/Questrial families come from
   the site stylesheets. All classes here are prefixed "am-".
   ========================================================================== */

:root {
    --am-grad: linear-gradient(90deg, #e7005a 0%, #ff4b00 100%);
    --am-grad-diag: linear-gradient(135deg, #e7005a 0%, #ff4b00 100%);
    --am-red: #e7005a;
    --am-orange: #ff4b00;

    --am-ink: #1b1422;
    --am-text: #4b4452;
    --am-muted: #7b7282;

    --am-peach: #fdf0e7;
    --am-peach-soft: #fff8f3;
    --am-tint: #fff0ea;
    --am-blush: #f8b4bd;
    --am-coral: #fbc3a6;
    --am-line: #efe4dc;
    --am-dark: #17111c;

    --am-radius-sm: 14px;
    --am-radius: 20px;
    --am-radius-lg: 28px;

    --am-shadow: 0 1px 2px rgba(27, 20, 34, .04), 0 12px 32px -14px rgba(27, 20, 34, .16);
    --am-shadow-lg: 0 34px 64px -28px rgba(120, 24, 44, .32);
    --am-shadow-btn: 0 12px 24px -12px rgba(231, 0, 90, .65);

    --am-font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --am-font-body: "Questrial", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

    --am-container: 1200px;
    --am-header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 {
    margin: 0;
    text-wrap: balance;
    font-family: var(--am-font-head);
    font-weight: 400;
    color: var(--am-ink);
    line-height: 1.15;
    letter-spacing: -.02em;
}
p { margin: 0 0 1em; font-family: var(--am-font-body); }
:focus-visible { outline: 2px solid var(--am-red); outline-offset: 3px; border-radius: 6px; }

.am-svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.am-bg-peach { background: var(--am-peach-soft); }

/* Body layout utilities formerly bundled with the unscoped header CSS. */
.am-container { width: 100%; max-width: var(--am-container); margin: 0 auto; padding-inline: 24px; }
.am-section { padding-block: clamp(56px, 6.5vw, 96px); }
@media (max-width: 1024px) {
    .am-split--flip .am-split__media { order: 0; }
}
@media (max-width: 768px) {
    .am-container { padding-inline: 20px; }
}
@media (max-width: 560px) {
    .am-hero__ctas .am-btn { flex: 1 1 100%; }
    .am-tab .am-ico { flex-basis: 14px; width: 14px; height: 14px; }
}

/* ---------- Type helpers ---------- */
.am-grad-text {
    background: var(--am-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.am-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
    font-family: var(--am-font-head); font-weight: 500;
    font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--am-red);
}
.am-eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--am-grad); }
.center-am-eyebrow::after { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--am-grad); }
.am-eyebrow--light { color: #fff; }
.am-eyebrow--light::before { background: #fff; }

.am-h2 { font-size: clamp(30px, 3.6vw, 46px); }
.am-lead { font-size: clamp(17px, 1.35vw, 19px); max-width: 600px; }

.am-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.am-head .am-h2 { margin-bottom: 14px; }
.am-head .am-lead { margin-bottom: 0; }
.am-head--center { margin-inline: auto; text-align: center; }
.am-head--center .am-lead { margin-inline: auto; }
.am-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }
.am-head--split > div { max-width: 680px; }

/* ---------- Buttons ---------- */
.am-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 26px;
    border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
    font-family: var(--am-font-head); font-weight: 500; font-size: 15px; line-height: 1;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.am-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.am-btn:hover svg { transform: translateX(3px); }
.am-btn--grad { background: var(--am-grad); color: #fff !important; box-shadow: var(--am-shadow-btn); }
.am-btn--grad:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(231, 0, 90, .75); }
.am-btn--outline { background: #fff; color: var(--am-ink); box-shadow: inset 0 0 0 1.5px var(--am-ink); }
.am-btn--outline:hover { background: var(--am-ink); color: #fff; }
.am-btn--white { background: #fff; color: var(--am-red); }
.am-btn--white:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .4); }
.am-btn--ghost { background: transparent; color: var(--am-ink); padding: 0 16px; }
.am-btn--ghost:hover { background: var(--am-peach); }
.am-btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }

.am-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--am-font-head); font-weight: 500; font-size: 15px;
    color: var(--am-red);
}
.am-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.am-link:hover svg { transform: translateX(4px); }

/* ---------- Icons ---------- */
.am-ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.am-icon {
    flex: 0 0 auto;
    display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: var(--am-radius-sm);
    background: var(--am-grad-diag); color: #fff;
    box-shadow: 0 12px 22px -12px rgba(231, 0, 90, .6);
}
.am-icon--soft { width: 46px; height: 46px; border-radius: 12px; background: var(--am-tint); color: var(--am-red); box-shadow: none; }
.am-icon--soft .am-ico { width: 22px; height: 22px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.am-hero {
    position: relative; overflow: hidden;
    background: var(--am-peach);
    padding-block: clamp(32px, 3.6vw, 52px) clamp(40px, 4.2vw, 60px);
}
.am-blob { position: absolute; border-radius: 50%; pointer-events: none; }
/* hero circles removed on every page (brand feedback) */
.am-hero .am-blob { display: none; }
.am-hero .am-blob--a { width: 640px; height: 640px; left: -260px; top: -340px; background: radial-gradient(circle at 60% 65%, #f8a9ba 0%, #fbc3a6 75%); opacity: .75; }
.am-hero .am-blob--b { width: 560px; height: 560px; right: -200px; bottom: -300px; background: radial-gradient(circle at 35% 30%, #fbc3a6 0%, #f7a7b8 80%); opacity: .65; }
.am-hero h1 { font-size: clamp(38px, 4.3vw, 56px); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 20px; }
.am-hero .am-lead { font-size: clamp(17px, 1.4vw, 19px); max-width: 580px; margin-bottom: 30px; }
.am-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.am-pill {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 22px; padding: 6px 16px 6px 6px;
    background: #fff; border-radius: 999px; box-shadow: var(--am-shadow);
    font-size: 14px; color: var(--am-ink);
}
@media (max-width: 560px) { .am-pill { font-size: 13px; } }
.am-pill b {
    padding: 4px 11px; border-radius: 999px; background: var(--am-grad); color: #fff;
    font-family: var(--am-font-head); font-weight: 500; font-size: 12px; letter-spacing: .02em;
}

/* Product showcase (Display / Search / Shopping) */
.am-showcase { position: relative; width: 100%; max-width: 480px; margin-left: auto; }
.am-showcase::before {
    content: ""; position: absolute; z-index: 0; inset: 22px -18px -18px 22px; border-radius: 30px;
    background: linear-gradient(135deg, rgba(231, 0, 90, .22), rgba(255, 75, 0, .16));
    transform: rotate(3deg);
}
.am-showcase__card {
    position: relative; z-index: 1;
    padding: 10px; border-radius: 26px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 2px 6px rgba(120, 24, 44, .06), 0 40px 70px -34px rgba(120, 24, 44, .45);
}
.am-showcase__bar { padding: 0 0 10px; }
.am-tabs { display: flex; align-items: center; gap: 2px; width: 100%; padding: 4px; border-radius: 999px; background: var(--am-peach); }
.am-tab {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; gap: 7px;
    height: 36px; padding: 0 14px; margin: 0; /* reset Bootstrap label margin-bottom that pushed the pill off-centre */
    line-height: 1; max-width: none;
    border: 0; border-radius: 999px; background: none; cursor: pointer;
    font-family: var(--am-font-head); font-weight: 500; font-size: 13.5px; color: var(--am-muted);
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.am-tab .am-ico { flex: 0 0 16px; width: 16px; height: 16px; stroke-width: 2; }
.am-tab { flex: 1 1 0; justify-content: center; min-width: 0; }
.am-tab:hover { color: var(--am-ink); }
.am-showcase__frame { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: 18px; background: #fce5d9; }
.am-showcase__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s ease, transform 1s ease; }
.am-showcase__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.am-showcase__foot { display: flex; align-items: flex-start; gap: 14px; padding: 14px 8px 6px; }
.am-showcase__icon { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--am-tint); }
.am-showcase__icon .am-ico { width: 20px; height: 20px; }
.am-showcase__info { flex: 1; min-width: 0; }
.am-showcase__title { display: block; font-family: var(--am-font-head); font-weight: 500; font-size: 14.5px; line-height: 1.3; color: var(--am-ink); }
.am-showcase__desc { margin: 2px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--am-text); min-height: 4.35em; }
.am-showcase__count { flex: 0 0 auto; align-self: flex-start; padding-top: 2px; font-family: var(--am-font-head); font-size: 12.5px; letter-spacing: .06em; color: #b9aca4; }
.am-showcase__count b { font-weight: 500; color: var(--am-ink); }

/* ==========================================================================
   Clients marquee
   ========================================================================== */
.am-clients { padding-block: clamp(40px, 4.5vw, 60px); border-bottom: 1px solid var(--am-line); }
.am-clients .am-head { margin-bottom: 24px; }
.am-clients .am-head h2 { font-size: clamp(22px, 2.3vw, 30px); }
.am-marquee {
    position: relative; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.am-marquee__track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: am-marquee 50s linear infinite; }
.am-marquee:hover .am-marquee__track { animation-play-state: paused; }
.am-marquee__item { flex: 0 0 auto; display: grid; place-items: center; width: 150px; height: 110px; margin: 0 14px; }
.am-marquee__item img { width: 116px; height: auto; filter: brightness(0) invert(.55); opacity: .9; transition: filter .3s ease, opacity .3s ease; }
.am-marquee__item:hover img { filter: none; opacity: 1; }
@keyframes am-marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   About + video
   ========================================================================== */
.am-about__copy .am-h2 { margin-bottom: 18px; }
.am-about__copy p { max-width: 540px; }
.am-about__copy .am-link { margin-top: 12px; }
.am-about__media { position: relative; padding: 0 24px 24px 0; }
.am-about__media::before {
    content: ""; position: absolute; top: 24px; left: 24px; right: 0; bottom: 0;
    border-radius: var(--am-radius-lg); background: var(--am-grad-diag);
}
.am-video { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--am-radius-lg); background: #000; box-shadow: var(--am-shadow-lg); }
.am-video video { width: 100%; height: 100%; object-fit: cover; }
.am-about__caption { position: relative; z-index: 1; margin: 18px 0 0; font-family: var(--am-font-head); font-size: 15px; color: var(--am-ink); }

/* ==========================================================================
   Stats band
   ========================================================================== */
.am-stats { position: relative; overflow: hidden; background: var(--am-grad); color: #fff; padding-block: clamp(48px, 5.5vw, 76px); }
.am-stats .am-blob--a { width: 420px; height: 420px; left: -140px; top: -220px; background: rgba(255, 255, 255, .08); }
.am-stats .am-blob--b { width: 520px; height: 520px; right: -180px; bottom: -320px; background: rgba(255, 255, 255, .08); }
.am-stats .am-h2 { color: #fff; text-align: center; }
.am-stat { padding: 6px 18px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .28); }
.am-stat:first-child { border-left: 0; }
.am-stat__num { display: block; white-space: nowrap; font-family: var(--am-font-head); font-size: clamp(40px, 4.4vw, 60px); line-height: 1; letter-spacing: -.03em; color: #fff; }
.am-stat__label { display: block; margin-top: 12px; font-size: 16px; line-height: 1.4; opacity: .92; }

/* ==========================================================================
   Advertising solutions — cards
   ========================================================================== */
.am-card {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; width: 100%;
    padding: 22px 22px 20px;
    border: 1px solid transparent; border-radius: 18px;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(160deg, #f0e2d9, #f7ede7) border-box;
    box-shadow: 0 1px 2px rgba(27, 20, 34, .04), 0 8px 24px -18px rgba(27, 20, 34, .18);
    transition: transform .3s ease, box-shadow .3s ease;
}
.am-card::before {
    content: ""; position: absolute; z-index: -1; width: 200px; height: 200px; right: -80px; top: -80px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 75, 0, .16), rgba(231, 0, 90, .07) 45%, transparent 70%);
    opacity: 0; transition: opacity .35s ease;
}
.am-card:hover {
    transform: translateY(-3px);
    background: linear-gradient(#fff, #fff) padding-box, var(--am-grad) border-box;
    box-shadow: 0 26px 48px -26px rgba(231, 0, 90, .42);
}
.am-card:hover::before { opacity: 1; }
.am-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.am-card__icon {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
    background: var(--am-tint); transition: background .3s ease, box-shadow .3s ease;
}
.am-card__icon .am-ico { width: 23px; height: 23px; }
.am-card:hover .am-card__icon { background: var(--am-grad-diag); box-shadow: 0 10px 20px -10px rgba(231, 0, 90, .6); }
.am-card:hover .am-card__icon .am-ico { stroke: #fff; }
.am-card__num { font-family: var(--am-font-head); font-weight: 500; font-size: 12.5px; letter-spacing: .14em; color: #c7b9b1; }
.am-card h3 { font-size: 20px; margin-bottom: 8px; }
.am-card p { flex: 1; margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--am-text); }
.am-card__cta {
    display: inline-flex; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid #f3e9e3;
    font-family: var(--am-font-head); font-weight: 500; font-size: 14px; color: var(--am-ink);
    transition: color .2s ease;
}
.am-card__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.am-card:hover .am-card__cta { color: var(--am-red); }
.am-card:hover .am-card__cta svg { transform: translateX(4px); }
.am-ico--grad { stroke: url(#amGrad); }

/* ==========================================================================
   Split feature rows (Publisher / Influencer)
   ========================================================================== */
.am-split__copy .am-h2 { margin-bottom: 14px; }
.am-split__copy .am-btn { margin-top: 28px; }
.am-features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.am-features--stack { grid-template-columns: 1fr; gap: 20px; }
.am-feature { display: flex; gap: 16px; align-items: flex-start; }
.am-feature h3 { font-size: 18px; margin: 4px 0 6px; letter-spacing: -.01em; }
.am-feature p { margin: 0; font-size: 15.5px; }

/* Mockup shell */
.am-stage { position: relative; padding: clamp(24px, 4vw, 48px); border-radius: var(--am-radius-lg); background: var(--am-peach); overflow: hidden; }
.am-stage .am-blob--a { width: 340px; height: 340px; right: -120px; top: -140px; background: radial-gradient(circle at 40% 60%, #f8a9ba, #fbc3a6 80%); opacity: .7; }
.am-stage .am-blob--b { width: 260px; height: 260px; left: -110px; bottom: -130px; background: radial-gradient(circle, #fbc3a6, #f7a7b8); opacity: .55; }
.am-mock { position: relative; z-index: 1; background: #fff; border-radius: 18px; box-shadow: var(--am-shadow-lg); overflow: hidden; }
.am-mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--am-line); background: #fffaf7; }
.am-mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #efd9cd; }
.am-mock__url { margin-left: 10px; flex: 1; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--am-line); font-size: 12.5px; color: var(--am-muted); }
.am-mock__body { padding: 20px; }
.am-mock__search { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 6px 0 14px; border: 1.5px solid var(--am-ink); border-radius: 12px; font-size: 15px; color: var(--am-ink); }
.am-mock__search .am-ico { width: 18px; height: 18px; color: var(--am-muted); }
.am-mock__search span { flex: 1; }
.am-mock__search em { font-style: normal; height: 34px; padding: 0 14px; display: grid; place-items: center; border-radius: 8px; background: var(--am-ink); color: #fff; font-family: var(--am-font-head); font-size: 13px; }
.am-result { padding: 14px 0; border-bottom: 1px solid var(--am-line); }
.am-result:last-child { border-bottom: 0; padding-bottom: 0; }
.am-result__tag { display: inline-block; margin-bottom: 4px; font-family: var(--am-font-head); font-weight: 500; font-size: 11.5px; color: var(--am-ink); }
.am-result__tag::after { content: " ·"; color: var(--am-muted); }
.am-result__site { font-size: 12.5px; color: var(--am-muted); }
.am-result__title { font-family: var(--am-font-head); font-size: 15.5px; color: #1f4ed8; line-height: 1.35; }
.am-result__desc { font-size: 13.5px; color: var(--am-text); line-height: 1.45; }
.am-skel { height: 9px; border-radius: 6px; background: #f3ebe6; margin-top: 8px; }
.am-skel--60 { width: 60%; } .am-skel--80 { width: 80%; } .am-skel--40 { width: 40%; }

.am-float {
    position: absolute; z-index: 2;
    padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: var(--am-shadow-lg);
}
.am-float__label { font-family: var(--am-font-head); font-weight: 500; font-size: 12.5px; color: var(--am-ink); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.am-float__label .am-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--am-grad); }
.am-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.am-bars i { width: 14px; height: var(--h); border-radius: 4px 4px 2px 2px; background: var(--am-grad-diag); opacity: .35; }
.am-bars i:nth-last-child(-n+3) { opacity: 1; }
.am-float--revenue { right: clamp(10px, 2vw, 22px); bottom: clamp(10px, 2vw, 22px); }

/* Creator mockup */
.am-creators__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--am-line); }
.am-creators__title { font-family: var(--am-font-head); font-size: 15px; color: var(--am-ink); }
.am-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-family: var(--am-font-head); font-weight: 500; font-size: 11.5px; }
.am-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.am-status--live { background: #ffe9ee; color: var(--am-red); }
.am-status--ok { background: #e7f7ee; color: #178a4c; }
.am-status--review { background: #fff4e0; color: #b86e00; }
.am-creator { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--am-line); }
.am-avatar { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--am-grad-diag); color: #fff; font-family: var(--am-font-head); font-size: 14px; }
.am-avatar--b { background: linear-gradient(135deg, #ff4b00, #ffb36b); }
.am-avatar--c { background: linear-gradient(135deg, #8a2be2, #e7005a); }
.am-creator__who { flex: 1; min-width: 0; }
.am-creator__name { font-family: var(--am-font-head); font-size: 14.5px; color: var(--am-ink); }
.am-creator__meta { font-size: 13px; color: var(--am-muted); }
.am-creators__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 20px 20px; }
.am-metric__label { font-size: 12.5px; color: var(--am-muted); margin-bottom: 8px; }
.am-metric__track { height: 6px; border-radius: 6px; background: #f3ebe6; overflow: hidden; }
.am-metric__track i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--am-grad); }
.am-float--approve { left: clamp(-8px, -1vw, 0px); top: clamp(-8px, -1vw, 0px); display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-family: var(--am-font-head); font-size: 13px; color: var(--am-ink); }
.am-float--approve .am-ico { width: 20px; height: 20px; color: #178a4c; }

/* ==========================================================================
   AI solutions — dark band
   ========================================================================== */
.am-ai { position: relative; overflow: hidden; background: var(--am-dark); color: rgba(255, 255, 255, .74); }
.am-ai .am-blob--a { width: 620px; height: 620px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(231, 0, 90, .35), transparent 65%); }
.am-ai .am-blob--b { width: 520px; height: 520px; left: -240px; bottom: -280px; background: radial-gradient(circle, rgba(255, 75, 0, .28), transparent 65%); }
.am-ai .am-h2, .am-ai h3 { color: #fff; }
.am-ai .am-split { position: relative; z-index: 1; }
.am-ai .am-feature p, .p-text-light { color: rgba(255, 255, 255, .7); }
.am-ai .am-icon--soft { background: rgba(255, 255, 255, .08); color: #ff7a59; }

.am-chat { position: relative; z-index: 1; max-width: 480px; margin-left: auto; padding: 20px; border-radius: 22px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); color: var(--am-text); }
.am-chat__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--am-line); font-family: var(--am-font-head); font-size: 14px; color: var(--am-ink); }
.am-chat__head .am-icon { width: 30px; height: 30px; border-radius: 9px; box-shadow: none; }
.am-chat__head .am-icon .am-ico { width: 16px; height: 16px; }
.am-bubble { max-width: 86%; padding: 12px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; margin-bottom: 12px; }
.am-bubble--user { margin-left: auto; background: var(--am-ink); color: #fff; border-bottom-right-radius: 6px; }
.am-bubble--ai { background: #f6f0ec; color: var(--am-ink); border-bottom-left-radius: 6px; }
.am-product { display: flex; align-items: center; gap: 14px; padding: 12px; margin-bottom: 16px; border: 1px solid var(--am-line); border-radius: 16px; }
.am-product__img { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; background: var(--am-peach); color: var(--am-red); }
.am-product__img .am-ico { width: 32px; height: 32px; }
.am-product__info { flex: 1; min-width: 0; }
.am-product__tag { font-family: var(--am-font-head); font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--am-muted); }
.am-product__name { font-family: var(--am-font-head); font-size: 15px; color: var(--am-ink); }
.am-product__meta { font-size: 13px; color: var(--am-muted); }
.am-product__btn { height: 34px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; background: var(--am-grad); color: #fff; font-family: var(--am-font-head); font-weight: 500; font-size: 13px; }
.am-chat__input { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 8px 0 16px; border-radius: 999px; background: #f6f0ec; font-size: 14px; color: var(--am-muted); }
.am-chat__send { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--am-grad); color: #fff; }
.am-chat__send .am-ico { width: 16px; height: 16px; }

/* ==========================================================================
   Why AdMedia
   ========================================================================== */
.am-why__intro { position: sticky; top: calc(var(--am-header-h) + 40px); }
.am-why__intro .am-h2 { margin-bottom: 18px; }
.am-why__intro .am-btn { margin-top: 18px; }
.am-why__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--am-line); }
.am-why__item { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--am-line); }
.am-why__item h3 { font-size: 22px; margin-bottom: 6px; }
.am-why__item p { margin: 0; font-size: 16px; }
.am-why__num { font-family: var(--am-font-head); font-size: 14px; letter-spacing: .1em; color: var(--am-muted); }
.am-why__item:hover .am-icon--soft { background: var(--am-grad-diag); color: #fff; }
.am-why__item .am-icon--soft { transition: background .25s ease, color .25s ease; }

/* ==========================================================================
   Verticals / case studies
   ========================================================================== */
.am-case {
    display: flex; flex-direction: column; height: 100%; overflow: hidden;
    border: 1px solid transparent; border-radius: 18px;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(160deg, #f0e2d9, #f7ede7) border-box;
    box-shadow: 0 1px 2px rgba(27, 20, 34, .04), 0 8px 24px -18px rgba(27, 20, 34, .18);
    transition: transform .3s ease, box-shadow .3s ease;
}
.am-case:hover { transform: translateY(-3px); background: linear-gradient(#fff, #fff) padding-box, var(--am-grad) border-box; box-shadow: 0 26px 48px -26px rgba(231, 0, 90, .42); }
.am-case__top { position: relative; overflow: hidden; padding: 22px 24px 20px; background: var(--am-peach); }
.am-case__top::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -90px; border-radius: 50%; background: radial-gradient(circle at 40% 60%, #f8a9ba, #fbc3a6 80%); opacity: .7; }
.am-case__row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.am-case__brand { font-family: var(--am-font-head); font-weight: 500; font-size: 15px; color: var(--am-ink); }
.am-case__vertical { padding: 5px 12px; border-radius: 999px; background: #fff; font-family: var(--am-font-head); font-weight: 500; font-size: 12px; color: var(--am-red); }
.am-case__metric { position: relative; z-index: 1; display: block; font-family: var(--am-font-head); font-size: clamp(52px, 5vw, 68px); line-height: 1; letter-spacing: -.04em; }
.am-case__metric-label { position: relative; z-index: 1; display: block; margin-top: 8px; font-size: 15px; color: var(--am-ink); }
.am-case__body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 22px; }
.am-case__body h3 {
    font-size: 19px;
    line-height: 1.35;
    margin-bottom: 12px;
    letter-spacing: -.01em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}
.am-case__body p { flex: 1; font-size: 15.5px; }
.am-case__body .am-link { margin-top: 8px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.am-cta { padding-block: 0 clamp(56px, 6.5vw, 96px); }
.am-cta__box {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding: clamp(32px, 4.5vw, 56px);
    border-radius: 28px; background: var(--am-grad); color: #fff;
}
.am-cta__box .am-blob--a { width: 380px; height: 380px; right: 8%; top: -220px; background: rgba(255, 255, 255, .1); }
.am-cta__box .am-blob--b { width: 300px; height: 300px; right: -120px; bottom: -180px; background: rgba(255, 255, 255, .1); }
.am-cta__copy { position: relative; z-index: 1; max-width: 640px; }
.am-cta__box .am-h2 { color: #fff; margin-bottom: 12px; }
.am-cta__box p { margin: 0; font-size: 18px; color: rgba(255, 255, 255, .92); }
.am-cta__box .am-btn { position: relative; z-index: 1; flex: 0 0 auto; }

/* ==========================================================================
   Integrated tech partners
   ========================================================================== */
.am-partners { padding-top: 0; }
.am-partner {
    display: grid; place-items: center; height: 80px; padding: 0 10px; overflow: hidden;
    background: transparent; border: 0;
}
.am-partner { position: relative; }
.am-partner img { position: absolute; inset: 0; margin: auto; width: 100%; max-width: 170px; height: 100%; object-fit: cover; object-position: 50% 50%; filter: brightness(0) invert(.55); opacity: .9; transition: filter .3s ease, opacity .3s ease; }
.am-partner:hover img { filter: none; opacity: 1; }
/* IAS ships with a white box behind the wordmark — keep it white instead of turning it into a black block */
.am-partner--flat img { filter: grayscale(1) contrast(2) opacity(.5); mix-blend-mode: multiply; }


/* ==========================================================================
   Site grid integration
   .container / .row / .col-* / .area-padding come from the site stylesheets;
   these rules only tune them for this page.
   ========================================================================== */
.home-new {
    font-family: var(--am-font-body);
    font-size: 17px; line-height: 1.65;
    color: var(--am-text); background: #fff;
    overflow-x: hidden;
}
.home-new .area-padding { padding: clamp(56px, 6.5vw, 96px) 0; }
.home-new .area-padding-strip { padding: clamp(40px, 4.5vw, 60px) 0; }
.home-new a:hover { color: inherit; text-decoration: none; }
.home-new ul, .home-new ol { margin: 0; padding: 0; list-style: none; }
.home-new .row { margin-left: -15px; margin-right: -15px; }

/* the site grid floats its columns — flex rows keep neighbouring cards level */
.am-row { display: flex; flex-wrap: wrap; }
.am-row--middle { align-items: center; }
.am-row--tight { margin-left: -8px; margin-right: -8px; }
.am-row--tight > [class*="col-"] { display: flex; padding-left: 8px; padding-right: 8px; margin-bottom: 16px; }
.am-row--logos { margin-left: -6px; margin-right: -6px; }
.am-row--logos > [class*="col-"] { padding-left: 6px; padding-right: 6px; margin-bottom: 12px; }

/* the site header is positioned over the page, so the hero clears it */
.home-new .am-hero { padding-top: calc(clamp(32px, 3.6vw, 52px) + 74px); }

/* ==========================================================================
   Format switcher — CSS only (no page JavaScript)
   ========================================================================== */
.am-tab-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.am-tab { flex: 1 1 0; justify-content: center; min-width: 0; }
#amFmtDisplay:checked ~ .am-showcase__bar .am-tab--display,
#amFmtSearch:checked ~ .am-showcase__bar .am-tab--search,
#amFmtShopping:checked ~ .am-showcase__bar .am-tab--shopping {
    background: #dccab9; color: #3a2e26; box-shadow: none;
}
#amFmtDisplay:checked ~ .am-showcase__frame .am-showcase__slide--display,
#amFmtSearch:checked ~ .am-showcase__frame .am-showcase__slide--search,
#amFmtShopping:checked ~ .am-showcase__frame .am-showcase__slide--shopping { opacity: 1; transform: none; }
/* panels stack in one grid cell so the caption can cross-fade without layout shift */
.am-showcase__info { display: grid; }
.am-showcase__panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
#amFmtDisplay:checked ~ .am-showcase__foot .am-showcase__panel--display,
#amFmtSearch:checked ~ .am-showcase__foot .am-showcase__panel--search,
#amFmtShopping:checked ~ .am-showcase__foot .am-showcase__panel--shopping { opacity: 1; visibility: visible; transition: opacity .45s ease .1s, visibility 0s; }
.am-tab-input:focus-visible ~ .am-showcase__bar .am-tabs { outline: 2px solid var(--am-red); outline-offset: 3px; }
.am-showcase__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }

/* ==========================================================================
   Home hero — calm variant (Oct 2026)
   Scoped to .am-hero--home so the product-page heroes keep their blobs.
   ========================================================================== */
.am-hero--home { background: var(--am-peach-soft); }
.am-hero--home > .container { position: relative; z-index: 1; }

/* two soft, overlapping brand-gradient bubbles tucked into the bottom-right corner */
.am-hero--home .am-blob { filter: blur(2px); }
.am-hero--home .am-blob--a {
    left: auto; top: auto; right: -140px; bottom: -230px; width: 460px; height: 460px;
    background: linear-gradient(135deg, #e7005a 0%, #ff4b00 100%); opacity: .13;
}
.am-hero--home .am-blob--b {
    right: 200px; bottom: -200px; width: 320px; height: 320px;
    background: linear-gradient(135deg, #ff4b00 0%, #e7005a 100%); opacity: .10;
}

/* flat card: no tilted shape behind it, no drop shadow */
.am-hero--home .am-showcase::before { content: none; }
.am-hero--home .am-showcase__card {
    background: #fff; border: 1px solid var(--am-line); box-shadow: none;
}
.am-hero--home .am-showcase__frame { background: #ffecdf; }

/* understated tab track; active tab is a muted tan (see format switcher rules) */
.am-hero--home .am-tabs { background: #f6efe9; }
.am-hero--home .am-tab { color: #8a8079; }
.am-hero--home .am-tab:hover { color: var(--am-ink); }

/* gentle cross-fade between slides, no zoom */
.am-hero--home .am-showcase__slide { transform: none; transition: opacity .6s ease; }

@media (max-width: 767px) {
    .am-hero--home .am-blob--a { width: 320px; height: 320px; right: -120px; bottom: -170px; }
    .am-hero--home .am-blob--b { width: 220px; height: 220px; right: 110px; bottom: -150px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
    .am-row--middle { align-items: stretch; }
    .am-showcase { margin: 32px auto 0; }
    .am-about__media, .am-split__media { margin-top: 32px; }
    .am-split--flip .am-split__media { margin: 0 0 32px; }
    .am-why__intro { position: static; margin-bottom: 28px; }
    .am-chat { margin: 32px auto 0; }
    .am-features { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .home-new { font-size: 16px; }
    .home-new .am-hero { padding-top: clamp(28px, 5vw, 40px); }
    .am-head--split { flex-direction: column; align-items: flex-start; gap: 20px; }
    .am-cta__box { flex-direction: column; align-items: flex-start; }
    .am-partner { height: 72px; }
    .am-stat { padding: 6px 10px; border-left: 0; }
    .am-float--revenue { position: relative; right: auto; bottom: auto; margin-top: 16px; }
}

@media (max-width: 560px) {
    .am-hero__ctas .am-btn { flex: 1 1 100%; }
    .am-card__top { margin-bottom: 18px; }
    .am-stat { padding: 0 6px; }
    .am-stat__num { font-size: 30px; }
    .am-stat__label { font-size: 13.5px; margin-top: 8px; }
    /*.am-row--logos > [class*="col-"] { width: 50%; }*/
    .am-partner img { max-width: 100%; height: auto;}
    .am-partner {padding: 0;}

    .am-tab { gap: 5px; padding: 0 8px; font-size: 13px; }
    .am-tab .am-ico { flex-basis: 14px; width: 14px; height: 14px; }
    .am-showcase::before { inset: 16px -8px -10px 14px; }
    .am-why__item { grid-template-columns: auto 1fr; }
    .am-why__num { display: none; }
    .am-creators__foot { grid-template-columns: 1fr 1fr; }
    .am-about__media { padding: 0 14px 14px 0; }
    .am-about__media::before { top: 14px; left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .am-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
    .am-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- component fixes for the site grid ---------- */
.home-new .am-partners { padding-top: 0; }
.am-row--tight > [class*="col-"] > * { width: 100%; }
.am-stats__row { max-width: 960px; margin: 36px auto 0; }
.am-stats__row > [class*="col-"] { display: flex; }
.am-stats__row .am-stat { flex: 1; }
.am-partner { width: 100%; }
@media (min-width: 992px) {
    .am-row--flip .am-col-media { order: -1; }
}

/* the site header keeps its own type, exactly as it renders on admedia.com */
.home-new .main-menu ul.navbar-nav li a,
.home-new .mean-container .mean-nav ul li a,
.home-new #dropdown ul li a { font-family: Nunito, sans-serif; }

/* 11 nav items need ~25px more room than the 1140 container gives at 13px padding */
.home-new .main-menu ul.navbar-nav li a { padding-left: 9px; padding-right: 9px; }

.am-case__logo-tile {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: block;
    width: 132px;
    height: 52px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(27, 20, 34, .07);
}
.am-case__logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* keep the pill from being squeezed now that the tile is in the row */
.am-case__row .am-case__vertical { flex: 0 0 auto; }

@media (max-width: 640px) {
    .am-case__logo-tile { width: 116px; height: 46px; padding: 7px 10px; }
}

/*..............*/
.mt-20 {margin-top: 20px !important;}
.mb-4 {margin-bottom: 4px !important;}
.mb-20 {margin-bottom: 20px !important;}
.new-footer {background-color: #17111C}
.new-footer.footer2 .footer-area-bottom {background: transparent;border-top: 1px solid #34333e;padding: 12px 0;margin: 40px 0 0 0;}
.new-footer .footer-area {padding: 40px 0 0 0;}
.footer-text-light, .footer2.new-footer .footer-head p, .footer2.new-footer .footer-list li a {color: #9ea2ab;line-height: 1.4;}
.new-footer .footer-list li, .footer-text-light-p {font-size: 14px;margin: 0 0 10px 0;}
.new-footer .footer-list li:last-child {margin: 0;}
.new-footer .footer-list li a {font-size: 14px;margin: 0;}
.new-footer.footer2 .footer-area-bottom .footer-list-bottom {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 20px;
}
.new-footer.footer2 .footer-area-bottom .footer-area-bottom-p,
.new-footer.footer2 .footer-area-bottom .footer-list-bottom li a {font-size: 13px;color: #9ea2ab;margin: 0;}
.new-footer.footer2 .footer-head h4 {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 12px 0;
}
.new-footer ul {padding: 0;margin: 0;}
.new-footer ul li {list-style-type: none !important;}
.new-footer .social-media-icons {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 8px;
}
.new-footer .social-media-icons li a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 32px;
    width: 32px;
    height: 32px;
    padding: 8px;
    margin: 0;
    border-radius: 50px;
    background-color: #26242e;
}
.new-footer .social-media-icons li a i {color: #ffffff;font-size: 13px;}
.new-footer .btn-click.footer-text-light {color: #ffffff;font-weight: 500;border-color: #ffffff;padding: 4px 12px;margin: 0;}
.services-f-col-h4 {min-height: 16px;}
.footer-row-1 {
    display: grid;
    grid-template-columns: minmax(0, 2.5fr) minmax(0, 7.5fr);
    gap: 20px;
}
.footer-row-2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.footer-row-3 {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    gap: 20px;
}
.d-phone-block {display: none;}
.d-phone-none {display: block;}

@media screen and (max-width: 991px){
    .new-footer.footer2 .footer-area-bottom .footer-list-bottom {justify-content: left;}
    .f-order-tab-1 {order: 1;}
    .f-order-tab-2 {order: 2;}
    .footer-row-1 {gap: 40px;}
    .footer-row-3 {gap: 16px;}
    .footer-row-1, .footer-row-3 {grid-template-columns: repeat(1, 1fr);}
}
@media screen and (max-width: 767px){
    .mb-phone-20 {margin-bottom: 20px !important;}
    .f-row {display: flex;flex-wrap: wrap;}
    .f-order-1 {order: 1;}
    .f-order-2 {order: 2;}
    .f-order-3 {order: 3;}
    .f-order-4 {order: 4;}
    .new-footer.footer2 .footer-area-bottom .footer-list-bottom {flex-wrap: wrap;gap: 2px 16px;}
    .d-phone-block {display: block;}
    .d-phone-none {display: none;}
    .mt-phone-16 {margin-top: 16px !important;}
    .footer-row-2 {grid-template-columns: repeat(2, 1fr);}
}


/* ==========================================================================
   Mobile fixes — phone layout + no horizontal scroll
   The site grid only defines widths from col-xs- up; the split rows are
   written as "col-md-* col-sm-12" with no xs class, so below 768px they had
   no width at all. Inside .am-row (display:flex) a width-less column sizes
   to its CONTENT, which pushed the mock-ups past the viewport and gave the
   page a horizontal scrollbar. These rules give those columns a width and
   let every flex child shrink.
   ========================================================================== */

/* flex items default to min-width:auto and refuse to shrink below their
   content — this is what let long text and fixed-width mock-ups overflow */
.am-row > [class*="col-"] { min-width: 0; }

@media (max-width: 767px) {
    body > section .am-row > [class*="col-"]:not([class*="col-xs-"]) {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    /* stacked columns need breathing room where the row used to be side-by-side */
    body > section .am-row--middle > [class*="col-"]:not([class*="col-xs-"]) + [class*="col-"]:not([class*="col-xs-"]) { margin-top: 8px; }
}

/* last-resort guard: clip (not hidden — it must not kill position:sticky)
   so a future stray element can never scroll the page sideways */
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }

@media (max-width: 560px) {
    /* the mock-up shell ate 96px of a 320-375px screen in padding alone */
    .am-stage { padding: 18px; border-radius: 22px; }
    .am-stage .am-blob--a { width: 220px; height: 220px; right: -90px; top: -90px; }
    .am-stage .am-blob--b { width: 180px; height: 180px; left: -80px; bottom: -90px; }

    /* the search row was a fixed 46px box, so the wrapped query spilled out of it */
    .am-mock__body { padding: 16px; }
    .am-mock__search {
        height: auto; min-height: 46px;
        padding: 7px 7px 7px 12px;
        gap: 8px; font-size: 14px; line-height: 1.3;
    }
    .am-mock__search span { min-width: 0; }
    .am-mock__search em { flex: 0 0 auto; padding: 0 12px; }
    .am-mock__bar { padding: 10px 12px; }
    .am-mock__url { margin-left: 6px; padding: 5px 10px; font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    /* floating cards sat on top of the mock-up once it lost its side room */
    .am-float--approve { position: relative; left: auto; top: auto; margin-bottom: 14px; }

    /* four logos per row left each one 66px wide — unreadable */
    .am-row--logos > [class*="col-"] { flex: 0 0 33.333%; max-width: 33.333%; width: 33.333%; }
    .am-partner { height: 64px; }

    /* long words (URLs, handles) must not widen their column — break-word, not
       anywhere: anywhere split "@jess.lifts" across two lines mid-handle */
    .am-result__title, .am-result__desc, .am-case__body h3,
    .am-bubble, .am-product__name { overflow-wrap: break-word; }

    /* stacked stats had no air between them */
    .am-stats__row > [class*="col-"] + [class*="col-"] { margin-top: 20px; }

    /* the creator rows lost so much width to the avatar and the status pill
       that handles wrapped mid-word — tighten everything that isn't text */
    .am-creators__head { padding: 14px 16px; }
    .am-creator { gap: 10px; padding: 12px 16px; }
    .am-avatar { width: 36px; height: 36px; font-size: 12.5px; }
    .am-creator__name { font-size: 13.5px; }
    .am-creator__meta { font-size: 12px; }
    .am-status { padding: 3px 9px; font-size: 10.5px; }
    .am-creators__foot { padding: 16px; gap: 10px; }

    /* same squeeze in the AI product card */
    .am-product { gap: 10px; padding: 10px; }
    .am-product__img { width: 52px; height: 52px; }
    .am-product__img .am-ico { width: 26px; height: 26px; }
    .am-product__name { font-size: 14px; }
    .am-product__meta { font-size: 12px; }
    .am-product__btn { height: 32px; padding: 0 12px; font-size: 12.5px; }
    .am-chat { padding: 16px; }
}

@media (max-width: 400px) {
    .am-stat__num { font-size: 27px; }
    .am-case__metric { font-size: 44px; }
    .am-btn { padding: 0 20px; font-size: 14.5px; }
    .am-tab { padding: 0 6px; font-size: 12px; gap: 4px; }
}

/* The theme's mean-menu bar is absolutely positioned and sized as
   "container width + 90px", which lines up with the viewport at 360px and
   wider but hangs ~44px off the right edge on a 320px screen — the last
   source of sideways scroll. Anchoring it to its containing block (the
   fixed header) makes it exactly full-bleed at every width. */
.mean-container .mean-bar {
    left: 0; right: auto;
    width: 100vw;
    margin-left: calc(50% - 50vw); /* full-bleed WITHOUT a transform: a transform here
                                      would make the bar a stacking context and bury the
                                      burger (z-index:9999) under .mobile-menu, so the
                                      menu could not be opened */
    margin-right: 0;
}

/* The theme drops .area-padding's bottom padding to 0 below 992px, so on a
   phone every section ended flush against the next one — clearest under the
   About video, which touched the stats band. Give the bottom back. */
@media (max-width: 991px) {
    body > section.area-padding { padding-bottom: 40px; }
    body > section.am-partners { padding-bottom: 44px; }
    .am-about__media { margin-bottom: 4px; }
}
#scrollUp{display: none!important;}
/* ==========================================================================
   Advertising solutions — channel explorer (Ad.com-style tabs, AdMedia styling)
   Pills on top, one panel card: copy left, coded ad mock-up right
   (mock-ups: includes/ad-mockups.php + assets/css/ad-mockups.css)
   ========================================================================== */
.am-jr svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.am-jr__wrap { margin-top: clamp(28px, 3.5vw, 44px); }
.am-jr__head { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.am-jr__head .am-eyebrow { justify-content: center; }
.am-jr__head .am-h2 { margin-bottom: 14px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.am-jr__head .am-lead { max-width: 640px; margin: 0 auto; }
.am-jr__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; }
/* 13 channels: 7 + 6, second row centered */
.am-jr__tabs .am-jr__tab { flex: 0 0 calc((100% - 6 * 8px) / 7); }
@media (max-width: 1199px) { .am-jr__tabs .am-jr__tab { flex-basis: calc((100% - 4 * 8px) / 5); } }
@media (max-width: 767px) { .am-jr__tabs .am-jr__tab { flex: 0 0 auto; } }
.am-jr__tab {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 10px 14px;
    border: 1px solid var(--am-line); border-radius: 999px; background: #fff; cursor: pointer;
    font-family: var(--am-font-head); font-weight: 500; font-size: 14px; line-height: 1.2; color: var(--am-ink); white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.am-jr__tab svg { width: 17px; height: 17px; color: var(--am-red); transition: color .2s ease; }
.am-jr__tab:hover { border-color: #e8cfc2; background: var(--am-peach-soft); }
.am-jr__tab:active { transform: scale(.98); }
.am-jr__tab.is-active { background: var(--am-grad); border-color: transparent; color: #fff; }
.am-jr__tab.is-active svg { color: #fff; }

.am-jr__stage { background: #fff; border: 1px solid var(--am-line); border-radius: 28px; }
.am-jr__panel {
    display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(24px, 3vw, 48px); align-items: center;
    padding: clamp(18px, 2.4vw, 32px);
}
.am-jr__panel[hidden] { display: none; }
.am-jr__panel.is-active { animation: am-jr-in .45s cubic-bezier(.2, .7, .2, 1); }
.am-jr__panel:focus-visible { outline-offset: -4px; }
@keyframes am-jr-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.am-jr__copy { padding-left: clamp(0px, 1vw, 12px); }
.am-jr__kicker { display: flex; align-items: center; gap: 14px; font-family: var(--am-font-head); font-size: 16px; color: var(--am-muted); }
.am-jr__ico { display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--am-tint); color: var(--am-red); }
.am-jr__ico svg { width: 23px; height: 23px; }
.am-jr__ico--lg { width: 58px; height: 58px; border-radius: 16px; background: var(--am-grad-diag); color: #fff; }
.am-jr__ico--lg svg { width: 28px; height: 28px; }
.am-jr__ico.t2 { background: #fde6ee; color: var(--am-red); }
.am-jr__ico.t3 { background: linear-gradient(135deg, var(--am-tint), #fde6ee); color: var(--am-orange); }
.am-jr__title { margin: 22px 0 0; font-size: clamp(26px, 2.7vw, 38px); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.am-jr__lead { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--am-text); }
.am-jr__feats { display: grid; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.am-jr__feats li { display: flex; align-items: center; gap: 16px; }
.am-jr__feats strong { display: block; font-family: var(--am-font-head); font-size: 16.5px; font-weight: 500; color: var(--am-ink); }
.am-jr__feats span:not(.am-jr__ico) { display: block; margin-top: 2px; font-size: 15px; line-height: 1.45; color: var(--am-text); }
.am-jr__more { margin-top: 26px; }
.am-jr .amk-visual { min-height: 500px; }

@media (max-width: 991px) {
    .am-jr__panel { grid-template-columns: minmax(0, 1fr); }
    .am-jr__copy { padding-left: 0; }
    .am-jr .amk-visual { min-height: 440px; }
}
@media (max-width: 767px) {
    .am-jr__tabs { display: flex; overflow-x: auto; gap: 8px; margin-inline: -15px; padding: 0 15px 4px; scrollbar-width: none; }
    .am-jr__tabs::-webkit-scrollbar { display: none; }
    .am-jr__tab { flex: 0 0 auto; min-height: 42px; font-size: 14px; }
    .am-jr__stage { border-radius: 22px; }
    .am-jr .amk-visual { min-height: 0; }
    .am-jr__ico { width: 42px; height: 42px; border-radius: 12px; }
    .am-jr__ico--lg { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .am-jr__panel.is-active { animation: none; } }

/* ==========================================================================
   WEB-93 (Oct 7): Integrated Tech Partners — 8 across on desktop with the
   last row centred; 5 across on tablet and mobile
   ========================================================================== */
.am-partners .am-row--logos { justify-content: center; }
.am-partners .am-row--logos > [class*="col-"] { float: none; flex: 0 0 12.5%; max-width: 12.5%; width: 12.5%; }
@media (max-width: 991px) {
    .am-partners .am-row--logos > [class*="col-"] { flex: 0 0 20%; max-width: 20%; width: 20%; }
    .am-partners .am-partner { height: 60px; padding: 0 4px; }
}
@media (max-width: 560px) {
    .am-partners .am-row--logos > [class*="col-"] { padding-left: 4px; padding-right: 4px; margin-bottom: 8px; }
    .am-partners .am-partner { height: 44px; padding: 0; }
}
