/* Apple-style light homepage — isolated from the dark site */
:root {
    --ap-bg: #f5f5f7;
    --ap-bg-white: #ffffff;
    --ap-ink: #1d1d1f;
    --ap-ink-2: #424245;
    --ap-muted: #6e6e73;
    --ap-line: rgba(0, 0, 0, 0.08);
    --ap-blue: #0071e3;
    --ap-blue-hover: #0077ed;
    --ap-radius: 28px;
    --ap-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --ap-max: 1120px;
}

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

html { scroll-behavior: smooth; }
body.page-apple { scroll-padding-top: 52px; padding-top: 0; }

body.page-apple {
    margin: 0;
    background: var(--ap-bg);
    color: var(--ap-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.47;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.page-apple a { color: inherit; text-decoration: none; }
body.page-apple img { max-width: 100%; height: auto; }
body.page-apple button { font-family: inherit; }

.ap-wrap { width: min(var(--ap-max), calc(100% - 40px)); margin: 0 auto; }

/* ——— Nav ——— */
body.page-apple .ap-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    background: #fff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 0;
    overflow: visible;
}
body.page-apple .navbar {
    position: relative;
    height: 52px;
    background: #fff !important;
    box-shadow: none !important;
    border-bottom: 0 !important;
    overflow: visible;
    padding: 0 !important;
}
body.page-apple .navbar .container,
body.page-apple .nav-inner {
    width: min(var(--ap-max), calc(100% - 32px));
    margin: 0 auto;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
body.page-apple .logo { display: flex; align-items: center; flex-shrink: 0; }
body.page-apple .logo-image { width: 28px; height: 28px; border-radius: 7px; }
body.page-apple .nav-center { flex: 1; min-width: 0; }
body.page-apple .nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem 1.35rem;
    font-size: 12px;
    font-weight: 400;
    color: var(--ap-ink);
}
body.page-apple .nav-links > a { padding: 6px 0; opacity: 0.88; }
body.page-apple .nav-links > a:hover { opacity: 1; }
body.page-apple .nav-close,
body.page-apple .nav-menu-cta { display: none; }

body.page-apple .nav-dropdown {
    position: static;
    align-self: stretch;
    display: flex;
    align-items: center;
}
body.page-apple .nav-dropdown-btn {
    background: none;
    border: 0;
    padding: 6px 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0.88;
}
body.page-apple .nav-dropdown-btn:hover,
body.page-apple .nav-dropdown.active .nav-dropdown-btn { opacity: 1; }
body.page-apple .nav-dropdown-btn .dropdown-arrow { display: none; }
body.page-apple .nav-dropdown-menu.nav-mega {
    display: none;
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
    transform: none;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.06);
    padding: 40px 0 56px;
    z-index: 89;
}
body.page-apple .nav-dropdown-menu.nav-mega::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 20px;
}
body.page-apple .nav-dropdown.active .nav-dropdown-menu.nav-mega { display: block; }
@media (hover: hover) and (pointer: fine) and (min-width: 901px) {
    body.page-apple .nav-dropdown:hover .nav-dropdown-menu.nav-mega,
    body.page-apple .nav-dropdown.active .nav-dropdown-menu.nav-mega { display: block; }
}
body.page-apple .nav-mega-inner {
    width: min(var(--ap-max), calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(220px, 1.45fr) minmax(160px, 1fr) minmax(160px, 1fr);
    gap: 40px 72px;
    justify-content: start;
    text-align: left;
}
body.page-apple .nav-mega-inner-one {
    grid-template-columns: minmax(220px, 1.45fr);
}
body.page-apple .nav-mega-heading {
    font-size: 12px;
    font-weight: 400;
    color: var(--ap-muted);
    letter-spacing: 0.01em;
    margin: 0 0 12px;
}
body.page-apple .nav-mega-link {
    display: block;
    padding: 4px 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.333;
    color: var(--ap-ink);
}
body.page-apple .nav-mega-link:hover { color: var(--ap-blue); }
body.page-apple .nav-mega-link-lg {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.022em;
    line-height: 1.1667;
    padding: 5px 0;
}
body.page-apple .nav-mega-col-main .nav-mega-link-lg + .nav-mega-link:not(.nav-mega-link-lg) {
    margin-top: 14px;
}
body.page-apple .nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
body.page-apple .nav-cta { display: flex; align-items: center; gap: 10px; }
body.page-apple .nav-login {
    font-size: 12px;
    color: var(--ap-blue);
    font-weight: 500;
}
body.page-apple .nav-signup {
    font-size: 12px;
    font-weight: 500;
    background: var(--ap-blue);
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 980px;
}
body.page-apple .nav-signup:hover { background: var(--ap-blue-hover); }

body.page-apple .language-selector { position: relative; }
body.page-apple .language-selector-btn {
    background: none;
    border: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ap-ink);
    cursor: pointer;
    padding: 2px 4px;
}
body.page-apple .current-flag,
body.page-apple .language-flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
    background: #f5f5f7;
}
body.page-apple .current-flag {
    width: 24px;
    height: 24px;
}
body.page-apple .current-flag img,
body.page-apple .language-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.45);
    display: block;
}
body.page-apple .language-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    min-width: 180px;
    padding: 8px;
    z-index: 100;
}
body.page-apple .language-selector.active .language-dropdown { display: block; }
body.page-apple .current-language { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
body.page-apple .nav-usecase-visual rect {
    fill: #f5f5f7;
    stroke: rgba(0, 0, 0, 0.08);
}
body.page-apple .nav-usecase-visual circle[fill="#0b1220"] { fill: #f5f5f7; }
body.page-apple .login-modal-option-icon svg { display: none; }
body.page-apple .language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
}
body.page-apple .language-option:hover,
body.page-apple .language-option.active { background: #f5f5f7; }

body.page-apple .nav-burger {
    display: none;
    width: 32px;
    height: 32px;
    border: 0;
    background: none;
    cursor: pointer;
    padding: 6px;
}
body.page-apple .nav-burger span {
    display: block;
    height: 1.5px;
    background: var(--ap-ink);
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
body.page-apple .nav-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.page-apple .nav-burger.is-open span:nth-child(2) { opacity: 0; }
body.page-apple .nav-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ——— Hero ——— */
.ap-hero {
    text-align: center;
    padding: 72px 0 0;
}
.ap-hero-kicker {
    font-size: 19px;
    font-weight: 600;
    color: var(--ap-ink);
    margin: 0 0 10px;
}
.ap-hero h1 {
    margin: 0 auto 16px;
    font-size: clamp(44px, 8vw, 80px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.03em;
    max-width: 16ch;
}
.ap-hero h1 span:last-child { color: var(--ap-muted); font-weight: 500; }
.ap-hero-lead {
    margin: 0 auto 28px;
    max-width: 640px;
    font-size: clamp(19px, 2.4vw, 24px);
    line-height: 1.35;
    font-weight: 400;
    color: var(--ap-muted);
}
.ap-hero-cta { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 56px; }

/* ——— Film hero (Apple product page) ——— */
body.page-apple .ap-film {
    position: relative;
    isolation: isolate;
    height: calc(100svh - 52px);
    min-height: 560px;
    max-height: 920px;
    background: #1c1412 !important;
    overflow: hidden;
    color: #fff;
}
body.page-apple .ap-film-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
body.page-apple .ap-film-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
    filter: brightness(0.78) saturate(1.06);
}
body.page-apple .ap-film--loyalty {
    background: #e8e4de !important;
}
body.page-apple .ap-film--loyalty .ap-film-media video {
    object-position: 62% center;
    filter: brightness(1.06) saturate(1.04) contrast(1.02);
}
body.page-apple .ap-film--loyalty .ap-film-media::after {
    background:
        linear-gradient(90deg, rgba(18,14,12,.52) 0%, rgba(18,14,12,.18) 34%, rgba(18,14,12,0) 56%),
        linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,0) 42%, rgba(0,0,0,.38) 100%);
}
body.page-apple .ap-film-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(16,10,8,.62) 0%, rgba(16,10,8,.22) 38%, rgba(16,10,8,0) 58%),
        linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.04) 36%, rgba(0,0,0,.58) 100%);
    pointer-events: none;
}
body.page-apple .ap-film-pause {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #1d1d1f;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
body.page-apple .ap-film-pause:hover { background: #fff; }
body.page-apple .ap-film-copy {
    position: absolute;
    z-index: 2;
    left: max(28px, calc((100vw - min(var(--ap-max), calc(100% - 40px))) / 2));
    bottom: 52px;
    max-width: min(620px, calc(100% - 48px));
}
body.page-apple .ap-film-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: #fff !important;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
body.page-apple .ap-film-brand img {
    width: 22px;
    height: 22px;
    border-radius: 6px;
}
body.page-apple .ap-film-brand-sub {
    font-weight: 500;
    letter-spacing: 0.18em;
    font-size: 11px;
    opacity: 0.92;
    text-transform: uppercase;
    padding-top: 2px;
}
body.page-apple .ap-film h1 {
    margin: 0 0 22px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 600;
    letter-spacing: -0.038em;
    line-height: 1.06;
    max-width: 14ch;
}
body.page-apple .ap-film-pill {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    max-width: 100%;
    padding: 8px 8px 8px 22px;
    border-radius: 980px;
    background: rgba(22, 22, 23, 0.62);
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
}
body.page-apple .ap-film-pill p {
    margin: 0;
    color: #fff !important;
    font-size: 12px;
    line-height: 1.28;
    font-weight: 400;
}
body.page-apple .ap-film-pill p span { display: block; color: #fff !important; }
body.page-apple .ap-film-pill p span + span { opacity: 0.82; }
body.page-apple .ap-film-buy {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    height: 36px;
    padding: 0 18px;
    border-radius: 980px;
    background: #0071e3 !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
}
body.page-apple .ap-film-buy:hover { background: #0077ed !important; }

body.page-apple .ap-film--center {
    background: #07111f !important;
}
body.page-apple .ap-film-gfx {
    overflow: hidden;
}
body.page-apple .ap-film-gfx-img {
    position: absolute;
    inset: -6%;
    width: 112%;
    height: 112%;
    object-fit: cover;
    pointer-events: none;
    filter: brightness(0.62) saturate(0.42) blur(10px);
    opacity: 0.85;
}
body.page-apple .ap-film-gfx-a {
    animation: apGfxKen 42s ease-in-out infinite alternate;
}
body.page-apple .ap-film-gfx-b {
    opacity: 0;
    animation: apGfxCross 28s ease-in-out infinite, apGfxKen 48s ease-in-out infinite alternate;
}
body.page-apple .ap-film-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.35;
}
body.page-apple .ap-film-orb-1 {
    width: 42vw;
    height: 42vw;
    left: -8%;
    top: 12%;
    background: rgba(56, 189, 248, 0.18);
    animation: apOrb1 28s ease-in-out infinite;
}
body.page-apple .ap-film-orb-2 {
    width: 34vw;
    height: 34vw;
    right: -6%;
    bottom: 8%;
    background: rgba(37, 99, 235, 0.16);
    animation: apOrb2 34s ease-in-out infinite;
}
body.page-apple .ap-film-orb-3 {
    width: 24vw;
    height: 24vw;
    left: 38%;
    top: -10%;
    background: rgba(165, 243, 252, 0.1);
    animation: apOrb3 24s ease-in-out infinite;
}
body.page-apple .ap-film-gfx.is-paused .ap-film-gfx-img,
body.page-apple .ap-film-gfx.is-paused .ap-film-orb {
    animation-play-state: paused;
}
@keyframes apGfxKen {
    from { transform: scale(1) translate3d(0,0,0); }
    to { transform: scale(1.06) translate3d(-1%, 1%, 0); }
}
@keyframes apGfxCross {
    0%, 46% { opacity: 0; }
    54%, 92% { opacity: 0.45; }
    100% { opacity: 0; }
}
@keyframes apOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(6%, 8%) scale(1.08); }
}
@keyframes apOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-8%, -5%) scale(1.1); }
}
@keyframes apOrb3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(4%, 10%) scale(1.06); }
}

body.page-apple .ap-film--center .ap-film-media video {
    object-position: center;
    filter: brightness(0.62) saturate(1.12);
}
body.page-apple .ap-film-gfx.ap-film-media::after {
    background:
        linear-gradient(90deg, rgba(7,17,31,.72) 0%, rgba(7,17,31,.28) 40%, rgba(7,17,31,0) 62%),
        linear-gradient(180deg, rgba(7,17,31,.22) 0%, rgba(7,17,31,.04) 36%, rgba(7,17,31,.52) 100%);
}
body.page-apple .ap-film--center .ap-film-pause {
    top: auto;
    bottom: 22px;
    right: 22px;
}
body.page-apple .ap-film--center .ap-film-copy {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: min(680px, calc(100% - 48px));
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
body.page-apple .ap-film--center .ap-film-brand { justify-content: center; }
body.page-apple .ap-film--center h1 {
    max-width: 16ch;
    font-size: clamp(40px, 6vw, 72px);
    margin: 0 0 18px;
}
body.page-apple .ap-film-lead {
    margin: 0 0 28px;
    max-width: 36em;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: clamp(16px, 1.7vw, 19px);
    font-weight: 400;
    line-height: 1.45;
    opacity: 0.92;
}
body.page-apple .ap-film-try {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 980px;
    background: #fff !important;
    color: #1d1d1f !important;
    -webkit-text-fill-color: #1d1d1f !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.015em;
}
body.page-apple .ap-film-try:hover { background: #f5f5f7 !important; }
.ap-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    border: 0;
    cursor: pointer;
}
.ap-btn-dark { background: var(--ap-ink); color: #fff !important; }
.ap-btn-dark:hover { background: #000; }
.ap-btn-link { background: none; color: var(--ap-blue) !important; padding-left: 4px; padding-right: 4px; }
.ap-btn-link:hover { text-decoration: underline; }
.ap-btn-blue { background: var(--ap-blue); color: #fff !important; }
.ap-btn-blue:hover { background: var(--ap-blue-hover); }
.ap-btn-outline {
    background: transparent;
    color: var(--ap-blue) !important;
    box-shadow: inset 0 0 0 1px var(--ap-blue);
}

/* ——— Apple shop-style feature cards ——— */
body.page-apple .ap-why {
    background: #f5f5f7 !important;
    padding: 72px 0 40px;
}
body.page-apple .ap-why-head {
    width: min(var(--ap-max), calc(100% - 40px));
    margin: 0 auto 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}
body.page-apple .ap-why-head h2 {
    margin: 0;
    max-width: 16ch;
    font-size: clamp(32px, 4.4vw, 48px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
    color: #1d1d1f !important;
    -webkit-text-fill-color: #1d1d1f !important;
}
body.page-apple .ap-why-head a {
    color: #0071e3 !important;
    -webkit-text-fill-color: #0071e3 !important;
    font-size: 17px;
    white-space: nowrap;
    padding-bottom: 6px;
}
body.page-apple .ap-why-head a:hover { text-decoration: underline; }
body.page-apple .ap-why-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(20px, calc((100vw - var(--ap-max)) / 2));
    padding: 4px max(20px, calc((100vw - var(--ap-max)) / 2)) 28px;
    scrollbar-width: none;
}
body.page-apple .ap-why-track::-webkit-scrollbar { display: none; }
body.page-apple .ap-why-card {
    position: relative;
    flex: 0 0 332px;
    min-height: 540px;
    scroll-snap-align: start;
    background: #fff !important;
    border: 0 !important;
    border-radius: 28px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 28px 26px 18px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
body.page-apple .ap-why-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: #6e6e73 !important;
    -webkit-text-fill-color: #6e6e73 !important;
}
body.page-apple .ap-why-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.16;
    color: #1d1d1f !important;
    -webkit-text-fill-color: #1d1d1f !important;
}
body.page-apple .ap-why-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #424245 !important;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
body.page-apple .ap-why-card img {
    display: block;
    width: calc(100% + 20px);
    margin: auto -10px 0;
    height: 230px;
    object-fit: contain;
    object-position: center bottom;
}
body.page-apple .ap-why-plus {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e8e8ed;
    color: #1d1d1f;
    display: grid;
    place-items: center;
    pointer-events: none;
}
body.page-apple .ap-why-nav {
    width: min(var(--ap-max), calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
body.page-apple .ap-why-nav button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #e8e8ed;
    color: #1d1d1f;
    display: grid;
    place-items: center;
    cursor: pointer;
}
body.page-apple .ap-why-nav button:hover { background: #d2d2d7; }
body.page-apple .ap-why-nav button:disabled { opacity: 0.35; cursor: default; }

/* ——— Get-to-know full-bleed cards ——— */
body.page-apple .ap-know {
    background: #f5f5f7 !important;
    padding: 28px 0 48px;
}
body.page-apple .ap-know-head {
    width: min(var(--ap-max), calc(100% - 40px));
    margin: 0 auto 22px;
}
body.page-apple .ap-know-head h2 {
    margin: 0;
    font-size: clamp(32px, 4.4vw, 48px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
    color: #1d1d1f !important;
    -webkit-text-fill-color: #1d1d1f !important;
}
body.page-apple .ap-know-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(20px, calc((100vw - var(--ap-max)) / 2));
    padding: 4px max(20px, calc((100vw - var(--ap-max)) / 2)) 22px;
    scrollbar-width: none;
}
body.page-apple .ap-know-track::-webkit-scrollbar { display: none; }
body.page-apple .ap-know-card {
    position: relative;
    flex: 0 0 308px;
    height: 520px;
    border-radius: 32px;
    overflow: hidden;
    scroll-snap-align: start;
    color: #fff;
    background: #111;
}
body.page-apple .ap-know-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.page-apple .ap-know-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.12) 46%, rgba(0,0,0,.22) 100%);
    pointer-events: none;
}
body.page-apple .ap-know-card--light::after {
    background: linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.08) 42%, rgba(255,255,255,.2) 100%);
}
body.page-apple .ap-know-kicker,
body.page-apple .ap-know-card h3 {
    position: relative;
    z-index: 1;
    padding-left: 22px;
    padding-right: 22px;
}
body.page-apple .ap-know-kicker {
    margin: 22px 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 0.78;
}
body.page-apple .ap-know-card h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.18;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
body.page-apple .ap-know-card--light .ap-know-kicker,
body.page-apple .ap-know-card--light h3 {
    color: #1d1d1f !important;
    -webkit-text-fill-color: #1d1d1f !important;
}
body.page-apple .ap-know-plus {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(232,232,237,.92);
    color: #1d1d1f;
    display: grid;
    place-items: center;
}

/* ——— Apple shop-style loyalty feature cards ——— */
body.page-apple .loyalty-campaigns-section {
    background: #f5f5f7 !important;
    padding: 72px 0;
}
body.page-apple .loyalty-campaigns-visual {
    max-width: 560px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 10px;
}
body.page-apple .loyalty-campaigns-visual img,
body.page-apple .loyalty-feature-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}
body.page-apple .loyalty-gamification-section .loyalty-campaigns-visual {
    padding: 0;
}
body.page-apple .loyalty-gamification-section .loyalty-feature-image {
    border-radius: 28px;
    aspect-ratio: 16 / 11;
}
body.page-apple .ap-shop {
    width: min(var(--ap-max), calc(100% - 40px));
    margin: 8px auto 40px;
}
body.page-apple .ap-shop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
body.page-apple .ap-shop-grid .ap-why-card {
    flex: none;
    width: auto;
    min-height: 580px;
}
body.page-apple .ap-shop-grid .ap-why-card img {
    height: 310px;
    object-fit: contain;
}
body.page-apple .ap-shop-grid .ap-why-kicker {
    color: #bf4800 !important;
    -webkit-text-fill-color: #bf4800 !important;
}
@media (max-width: 760px) {
    body.page-apple .ap-shop-grid { grid-template-columns: 1fr; }
    body.page-apple .ap-shop-grid .ap-why-card { min-height: 500px; }
}

/* ——— Apple battery-style loyalty slides ——— */
body.page-apple .loyalty-section {
    background: #f5f5f7 !important;
    overflow: hidden;
    padding-bottom: 72px;
}
body.page-apple .loyalty-graph-container { display: none; }
body.page-apple .loyalty-header { margin-bottom: 2.5rem; }
body.page-apple .ap-batt {
    position: relative;
    margin: 8px 0 12px;
}
body.page-apple .ap-batt-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(20px, calc((100vw - var(--ap-max)) / 2));
    padding: 0 max(20px, calc((100vw - var(--ap-max)) / 2));
    scrollbar-width: none;
}
body.page-apple .ap-batt-track::-webkit-scrollbar { display: none; }
body.page-apple .ap-batt-slide {
    position: relative;
    flex: 0 0 min(980px, calc(100vw - 72px));
    min-height: 640px;
    background: #fff !important;
    border-radius: 32px;
    scroll-snap-align: start;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}
body.page-apple .ap-batt-slide[data-tone="blue"] { color: #0071e3; }
body.page-apple .ap-batt-slide[data-tone="purple"] { color: #bf5af2; }
body.page-apple .ap-batt-slide[data-tone="orange"] { color: #ff9f0a; }
body.page-apple .ap-batt-slide[data-tone="green"] { color: #34c759; }
body.page-apple .ap-batt-copy {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 40px 48px 0;
    max-width: 22em;
    font-size: clamp(21px, 2.4vw, 28px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.22;
    color: #1d1d1f !important;
    -webkit-text-fill-color: #1d1d1f !important;
}
body.page-apple .ap-batt-copy span {
    color: currentColor !important;
    -webkit-text-fill-color: currentColor !important;
}
body.page-apple .ap-batt-icon {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(760px, 90%);
    height: auto;
    max-height: 420px;
    margin: auto auto 48px;
    overflow: visible;
    object-fit: contain;
    display: block;
}
body.page-apple .ap-batt-icon text {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body.page-apple .ap-batt-pager {
    position: absolute;
    left: calc(max(20px, calc((100vw - var(--ap-max)) / 2)) + min(980px, calc(100vw - 72px)) / 2);
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 980px;
    background: rgba(210, 210, 215, 0.72);
    backdrop-filter: blur(12px);
    z-index: 2;
}
body.page-apple .ap-batt-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 980px;
    background: #6e6e73;
    opacity: 0.45;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
}
body.page-apple .ap-batt-dot.is-active {
    width: 18px;
    opacity: 1;
}
body.page-apple .ap-batt-play {
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    background: none;
    color: #1d1d1f;
    cursor: pointer;
    display: grid;
    place-items: center;
}
@media (max-width: 700px) {
    body.page-apple .ap-batt-slide { min-height: 540px; flex-basis: calc(100vw - 40px); }
    body.page-apple .ap-batt-copy { padding: 28px 24px 0; font-size: 20px; }
    body.page-apple .ap-batt-icon { width: 96%; max-height: 340px; margin-bottom: 56px; }
    body.page-apple .ap-batt-pager { left: 50%; }
}
.ap-btn-outline:hover { background: rgba(0, 113, 227, 0.08); }

.ap-stage {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding-bottom: 28px;
}
.ap-window {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
}
.ap-titlebar {
    height: 44px;
    background: #f3f3f5;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    border-bottom: 1px solid var(--ap-line);
}
.ap-dots { display: flex; gap: 7px; }
.ap-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.ap-dots .c { background: #ff5f57; }
.ap-dots .m { background: #febc2e; }
.ap-dots .x { background: #28c840; }
.ap-titlebar span { font-size: 13px; color: var(--ap-muted); margin-left: 8px; }
.ap-body { padding: 18px 18px 20px; background: linear-gradient(180deg, #fff 0%, #fbfbfd 100%); }
.ap-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}
.ap-kpi {
    background: #f5f5f7;
    border-radius: 14px;
    padding: 12px 14px;
    text-align: left;
}
.ap-kpi-l { display: block; font-size: 12px; color: var(--ap-muted); }
.ap-kpi-v { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; }
.ap-kpi-d { font-size: 12px; color: #248a3d; font-weight: 500; }
.ap-kpi-d.down { color: #d70015; }
.ap-charts { display: grid; grid-template-columns: 1.25fr 1fr 0.95fr; gap: 10px; }
.ap-chart {
    background: #fff;
    border: 1px solid var(--ap-line);
    border-radius: 14px;
    padding: 12px;
    min-height: 0;
}
.ap-chart h4 { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--ap-muted); }
.ap-bars {
    display: flex;
    align-items: stretch;
    gap: 8px;
    height: 132px;
    padding: 0 2px;
}
.ap-bar-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.ap-bar-track {
    flex: 1;
    width: 100%;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.ap-bar {
    width: 100%;
    max-width: 36px;
    background: linear-gradient(180deg, #7eb8f7, #0071e3);
    border-radius: 6px 6px 2px 2px;
}
.ap-bar-ico {
    width: 18px;
    height: 18px;
    color: var(--ap-ink-2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.ap-bar-ico svg { display: block; }
.ap-bar-lbl {
    font-size: 10px;
    font-weight: 500;
    color: var(--ap-muted);
    line-height: 1.1;
    white-space: nowrap;
}
.ap-funnel { display: flex; flex-direction: column; gap: 6px; }
.ap-funnel div {
    background: #e8e8ed;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    color: var(--ap-ink);
}
.ap-funnel div:nth-child(1) { width: 100%; }
.ap-funnel div:nth-child(2) { width: 86%; }
.ap-funnel div:nth-child(3) { width: 68%; }
.ap-funnel div:nth-child(4) { width: 48%; }
.ap-line { width: 100%; height: 118px; display: block; }
.ap-hbars { display: flex; flex-direction: column; gap: 10px; }
.ap-hbar { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: center; font-size: 12px; color: var(--ap-muted); }
.ap-hbar i { display: block; height: 8px; border-radius: 99px; background: #0071e3; }

/* ——— Logos ——— */
.ap-logos {
    padding: 56px 0 24px;
    text-align: center;
    overflow: hidden;
    border: 0;
}
body.page-apple .hero-clients,
body.page-apple .ap-logos .hero-clients,
body.page-apple .fl-hero-clients,
body.page-apple .corp-hero-clients {
    border: 0;
    width: auto;
    max-width: none;
    left: auto;
    right: auto;
    margin: 0;
    padding: 0;
    background: transparent;
}
.ap-logos h3,
.ap-logos .hero-clients-title {
    margin: 0 auto 28px;
    width: min(var(--ap-max), calc(100% - 40px));
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ap-muted);
}
body.page-apple #hero-clients-logos,
body.page-apple #agency-hero-clients-logos {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mix-blend-mode: multiply;
}
body.page-apple .hero-clients-logos-track {
    display: flex;
    width: max-content;
    animation: apMarquee 42s linear infinite;
}
body.page-apple .hero-clients-logos-track:hover { animation-play-state: paused; }
body.page-apple .hero-clients-logos-row {
    display: flex;
    align-items: center;
    gap: 56px;
    padding-right: 56px;
    flex-shrink: 0;
}
body.page-apple .hero-client-logo,
body.page-apple .partner-logo {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.page-apple .client-logo-img,
body.page-apple .partner-logo-img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    background: transparent !important;
    mix-blend-mode: normal;
    filter: grayscale(1);
}
@keyframes apMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    body.page-apple .hero-clients-logos-track { animation: none; }
    body.page-apple #hero-clients-logos { overflow-x: auto; }
}

/* ——— Marketing / Loyalty duo ——— */
.ap-duo { padding: 200px 0 28px; }
.ap-duo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: min(var(--ap-max), calc(100% - 40px));
    margin: 0 auto;
}
.ap-duo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 620px;
    padding: 64px 28px 0;
    border-radius: 28px;
    overflow: hidden;
}
.ap-duo-light {
    background: linear-gradient(180deg, #d7e8f8 0%, #eef3f8 42%, #f5f5f7 100%);
    color: var(--ap-ink);
}
.ap-duo-dark {
    background: #000;
    color: #f5f5f7;
}
.ap-duo-card h2 {
    margin: 0 0 8px;
    font-size: clamp(40px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 600;
}
.ap-duo-card > p {
    margin: 0 0 22px;
    max-width: 16em;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 400;
    color: var(--ap-ink-2);
}
.ap-duo-dark > p { color: #a1a1a6; }
.ap-duo-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.ap-duo-dark .ap-btn-outline {
    color: #2997ff !important;
    box-shadow: inset 0 0 0 1px #2997ff;
}
.ap-duo-dark .ap-btn-outline:hover { background: rgba(41, 151, 255, 0.12); }
.ap-duo-visual {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 36px;
}
.ap-duo-light .ap-duo-visual {
    margin-top: auto;
    padding-top: 28px;
    padding-bottom: 0;
}
.ap-duo-window {
    width: min(540px, 96%);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(36px);
    text-align: left;
    background: #f5f5f7;
    border-color: rgba(0,0,0,0.04);
}
.ap-camp .ap-titlebar {
    height: 32px;
    padding: 0 10px;
    background: #f5f5f7;
    border-bottom-color: rgba(60, 60, 67, 0.12);
}
.ap-camp .ap-titlebar span { font-size: 10px; }
.ap-camp .ap-dots i { width: 8px; height: 8px; }
.ap-camp-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px 0;
    background: #f5f5f7;
    font-size: 9px;
    color: #6e6e73;
}
.ap-camp-toolbar span {
    padding: 2px 7px;
    border-radius: 980px;
    background: #e8e8ed;
}
.ap-camp-toolbar span.is-on { background: #d7e8f8; color: #0071e3; }
.ap-camp-toolbar em { margin-left: auto; font-style: normal; }
.ap-camp-body {
    display: flex;
    gap: 6px;
    padding: 6px 6px 10px;
    background: #f5f5f7;
    min-height: 0;
}
.ap-camp-side {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px 3px 0;
}
.ap-camp-side i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d2d2d7;
}
.ap-camp-side i.is-on { background: #1d1d1f; }
.ap-camp-main {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1.05fr 0.95fr;
    gap: 6px;
}
.ap-camp-h {
    font-size: 9px;
    font-weight: 500;
    color: #6e6e73;
    margin: 0 0 4px 8px;
    letter-spacing: 0.01em;
}
.ap-camp-h-gap { margin-top: 6px; }
.ap-camp-seg {
    display: flex;
    background: #e8e8ed;
    border-radius: 7px;
    padding: 1px;
    margin: 0 0 6px;
}
.ap-camp-seg span {
    flex: 1;
    text-align: center;
    padding: 3px 0;
    font-size: 9px;
    font-weight: 500;
    color: #1d1d1f;
    border-radius: 6px;
}
.ap-camp-seg span.is-on {
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.ap-camp-card {
    background: #fff;
    border-radius: 9px;
    overflow: hidden;
    margin-bottom: 5px;
}
.ap-camp-card:last-child { margin-bottom: 0; }
.ap-camp-row,
.ap-camp-kw {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 3px 7px;
    font-size: 9px;
    line-height: 1.25;
    color: #1d1d1f;
    border-bottom: 0.5px solid rgba(60, 60, 67, 0.1);
}
.ap-camp-card .ap-camp-row:last-child,
.ap-camp-card .ap-camp-kw:last-child { border-bottom: 0; }
.ap-camp-row strong {
    font-size: 9px;
    font-weight: 400;
    color: #6e6e73;
}
.ap-camp-row-chips {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 3px;
    padding: 5px 7px;
}
.ap-chip {
    font-size: 8px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 980px;
    background: #e8e8ed;
    color: #1d1d1f;
}
.ap-chip.is-on {
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.18);
}
.ap-camp-kw b { font-weight: 400; font-size: 9px; }
.ap-camp-kw em {
    margin-left: auto;
    font-style: normal;
    font-size: 9px;
    font-weight: 400;
    color: #6e6e73;
    font-variant-numeric: tabular-nums;
}
.ap-camp-kw.is-off b,
.ap-camp-kw.is-off em { color: #86868b; }
.ap-camp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px 8px;
}
.ap-tog {
    width: 22px;
    height: 13px;
    border-radius: 99px;
    background: #e9e9eb;
    position: relative;
    flex-shrink: 0;
}
.ap-tog::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.ap-tog.on { background: #0071e3; }
.ap-tog.on::after { left: 10px; }
.ap-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #1d1d1f;
    flex-shrink: 0;
}
.ap-dot.off { background: #d2d2d7; }
.ap-camp-preview {
    padding: 6px 7px;
}
.ap-camp-adk {
    display: block;
    font-size: 8px;
    color: #6e6e73;
    margin-bottom: 2px;
}
.ap-camp-preview b {
    display: block;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 1px;
}
.ap-camp-preview p {
    margin: 0 0 5px;
    font-size: 8px;
    color: #6e6e73;
    line-height: 1.3;
}
.ap-camp-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 22px;
}
.ap-camp-bars i {
    flex: 1;
    background: #d2d2d7;
    border-radius: 2px 2px 0 0;
}
.ap-camp-bars i:nth-child(4) { background: #0071e3; }
.ap-camp-go {
    margin-top: 2px;
    width: 100%;
    border: 0;
    border-radius: 980px;
    background: #0071e3;
    color: #fff;
    font: inherit;
    font-size: 10px;
    font-weight: 500;
    padding: 6px 10px;
    pointer-events: none;
}
.ap-duo-video {
    display: block;
    width: min(280px, 70%);
    height: auto;
    background: transparent;
}

/* ——— Chapters ——— */
.ap-chapter { padding: 72px 0; }
.ap-chapter-inner {
    background: var(--ap-bg-white);
    border-radius: var(--ap-radius);
    padding: clamp(40px, 6vw, 72px);
    box-shadow: var(--ap-shadow);
}
.ap-eyebrow {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
    color: var(--ap-blue);
}
.ap-chapter h2 {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 600;
}
.ap-split h2 { max-width: 16ch; }
.ap-chapter p.lead {
    margin: 0 0 28px;
    max-width: 38em;
    font-size: 19px;
    color: var(--ap-muted);
}
.ap-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.ap-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ap-pill {
    background: #f5f5f7;
    border-radius: 980px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
}
.ap-visual {
    background: #f5f5f7;
    border-radius: 22px;
    min-height: 280px;
    padding: 28px;
    display: grid;
    gap: 10px;
}
.ap-visual-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ap-visual-card strong { display: block; font-size: 15px; }
.ap-visual-card span { font-size: 13px; color: var(--ap-muted); }

/* ——— How it works carousel ——— */
.ap-how { padding: 36px 0 72px; }
.ap-how h2 {
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -0.03em;
    margin: 0 0 8px;
    font-weight: 600;
}
.ap-how .sub {
    color: var(--ap-muted);
    max-width: 28em;
    margin: 0 0 28px;
    font-size: 19px;
}
.ap-how-rail {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(20px, calc((100% - var(--ap-max)) / 2));
    padding: 4px max(20px, calc((100% - var(--ap-max)) / 2)) 24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.ap-how-rail::-webkit-scrollbar { display: none; }
.ap-how-card {
    flex: 0 0 min(380px, 82vw);
    height: 520px;
    border-radius: 28px;
    padding: 32px 28px 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.ap-how-light { background: #fff; color: #1d1d1f; }
.ap-how-dark { background: #000; color: #f5f5f7; }
.ap-how-kicker {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.ap-how-light .ap-how-kicker { color: #f56300; }
.ap-how-dark .ap-how-kicker { color: #2997ff; }
.ap-how-card h3 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.14;
    letter-spacing: -0.03em;
    font-weight: 600;
}
.ap-how-card > p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ap-how-light > p { color: #6e6e73; }
.ap-how-dark > p { color: #a1a1a6; }
.ap-how-art {
    margin-top: auto;
    height: 228px;
    padding: 0;
    overflow: hidden;
}
.ap-how-shot {
    display: block;
    width: 108%;
    height: 248px;
    margin: 8px -4% 0;
}
.ap-how-art-photo {
    height: 248px;
    background: #000;
}
.ap-how-art-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
}
.ap-how-art-photo-light {
    background: #fff;
}
.ap-how-art-photo-light img {
    object-fit: contain;
    object-position: center;
    background: #fff;
}
.ap-how-art-photo-cut {
    background: #fff;
}
.ap-how-art-photo-cut img {
    object-fit: contain;
    object-position: center bottom;
    background: #fff;
}
.ap-how-twin {
    position: relative;
    height: 248px;
    overflow: hidden;
    pointer-events: none;
}
.ap-how-win {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}
.ap-how-win .ap-titlebar {
    height: 22px;
    padding: 0 8px;
    gap: 5px;
}
.ap-how-win .ap-dots { gap: 4px; }
.ap-how-win .ap-dots i { width: 7px; height: 7px; }
.ap-how-win .ap-titlebar span { font-size: 9px; margin-left: 4px; }
.ap-how-win-chat {
    left: 3%;
    bottom: 0;
    width: 54%;
    height: 198px;
    z-index: 1;
}
.ap-how-win-ig {
    right: 2%;
    bottom: 10px;
    width: 48%;
    height: 208px;
    z-index: 2;
}
.ap-how-chat {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 8px 8px 8px;
    height: calc(100% - 22px);
    background: #fff;
}
.ap-how-msg {
    max-width: 88%;
    border-radius: 12px;
    padding: 6px 8px;
    font-size: 9px;
    line-height: 1.3;
    font-weight: 400;
}
.ap-how-msg.me {
    align-self: flex-end;
    background: #0071e3;
    color: #fff;
    border-bottom-right-radius: 4px;
}
.ap-how-msg.bot {
    align-self: flex-start;
    background: #f2f2f7;
    color: #1d1d1f;
    border-bottom-left-radius: 4px;
}
.ap-how-composer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f5f5f7;
    border-radius: 980px;
    padding: 5px 6px 5px 10px;
    min-height: 22px;
}
.ap-how-composer b {
    flex: 1;
    height: 8px;
    position: relative;
}
.ap-how-composer b::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5px;
    height: 8px;
    background: #0071e3;
    animation: ap-caret 1s steps(1) infinite;
}
@keyframes ap-caret { 50% { opacity: 0; } }
.ap-how-composer i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0071e3;
    flex-shrink: 0;
}
.ap-how-ig {
    padding: 8px;
    background: #fff;
    height: calc(100% - 22px);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.ap-how-ig-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 8px;
    color: #6e6e73;
    font-weight: 500;
}
.ap-how-ig-meta em {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a06a, #8d6e4c);
    flex-shrink: 0;
}
.ap-how-ig-pic {
    flex: 1;
    min-height: 72px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 58%, #f4e4c8 0 18%, #c48a4a 19% 28%, transparent 29%),
        linear-gradient(180deg, #f3e6d4 0%, #d7b48a 100%);
}
.ap-how-ig-copy {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.ap-how-ig-cta {
    align-self: flex-start;
    background: #0071e3;
    color: #fff;
    font-size: 8px;
    font-weight: 500;
    border-radius: 980px;
    padding: 3px 8px;
}
.ap-how-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f7;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 500;
}
.ap-how-dark .ap-how-tile { background: #1d1d1f; }
.ap-how-tile b { font-weight: 600; color: #6e6e73; }
.ap-how-dark .ap-how-tile b { color: #a1a1a6; }
.ap-how-kw {
    font-size: 12px;
    color: #6e6e73;
    padding: 4px 2px 0;
}
.ap-how-dark .ap-how-kw { color: #86868b; }
.ap-how-points {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #0071e3;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0 auto 8px;
}
.ap-how-stage { position: relative; }
.ap-how-btn {
    position: absolute;
    top: calc(4px + 260px);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(210, 210, 215, 0.78);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    color: #1d1d1f;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 3;
}
.ap-how-btn-prev { left: 16px; }
.ap-how-btn-next { right: 16px; }
.ap-how-btn:hover { background: rgba(196, 196, 201, 0.9); }
.ap-how-btn:disabled {
    opacity: 0;
    pointer-events: none;
}
.ap-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}
.ap-tile {
    background: #fff;
    border-radius: 24px;
    padding: 28px 26px 32px;
    box-shadow: var(--ap-shadow);
    min-height: 220px;
    display: flex;
    flex-direction: column;
}
.ap-tile.wide { grid-column: 1 / 2; grid-row: 1 / 3; min-height: 456px; }
.ap-tile h3 { margin: 0 0 8px; font-size: 24px; letter-spacing: -0.02em; }
.ap-tile p { margin: 0; color: var(--ap-muted); font-size: 15px; }
.ap-tile .icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #f5f5f7;
    display: grid; place-items: center;
    margin-bottom: 18px;
    color: var(--ap-ink);
}

/* ——— Feature analysis ——— */
.ap-analyze { padding: 16px 0 72px; text-align: center; }
.ap-analyze .ap-eyebrow { margin-bottom: 6px; }
.ap-analyze h2 {
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -0.03em;
    margin: 0 0 12px;
}
.ap-analyze .sub {
    color: var(--ap-muted);
    max-width: 640px;
    margin: 0 auto 36px;
    font-size: 19px;
}
.ap-feat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(168px, auto);
    gap: 12px;
    text-align: left;
}
.ap-feat-card {
    background: #fff;
    border-radius: 22px;
    padding: 22px 22px 24px;
    box-shadow: var(--ap-shadow);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.ap-feat-art {
    width: 44px;
    height: 44px;
    margin: 0 0 12px;
    align-self: flex-start;
}
.ap-feat-h2 .ap-feat-art {
    width: min(168px, 56%);
    height: auto;
    aspect-ratio: 1;
    margin: auto 0 0;
    align-self: center;
    padding-top: 18px;
}
.ap-feat-h2 .ap-feat-art-chat {
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    height: auto;
    margin: 20px 0 0;
    align-self: stretch;
    padding-top: 0;
}
.ap-adchat {
    display: flex;
    flex-direction: column;
    min-height: 248px;
    background: #f5f5f7;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.ap-adchat-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: #6e6e73;
    font-size: 12px;
    font-weight: 500;
}
.ap-adchat-dots {
    display: flex;
    gap: 4px;
}
.ap-adchat-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d2d2d7;
}
.ap-adchat-dots i:nth-child(1) { background: #ff5f57; }
.ap-adchat-dots i:nth-child(2) { background: #febc2e; }
.ap-adchat-dots i:nth-child(3) { background: #28c840; }
.ap-adchat-msgs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 12px 8px;
    flex: 1;
}
.ap-adchat-msg {
    max-width: 92%;
    border-radius: 14px;
    padding: 8px 11px;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 400;
}
.ap-adchat-msg.me {
    align-self: flex-end;
    background: #0071e3;
    color: #fff;
    border-bottom-right-radius: 4px;
}
.ap-adchat-msg.bot {
    align-self: flex-start;
    background: #fff;
    color: #1d1d1f;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.ap-adchat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}
.ap-adchat-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 980px;
    background: #d7e8f8;
    color: #0071e3;
    font-size: 10px;
    font-weight: 600;
}
.ap-adchat-composer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 10px 10px;
    min-height: 36px;
    padding: 0 6px 0 14px;
    border-radius: 980px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    color: #86868b;
    font-size: 12px;
}
.ap-adchat-composer span {
    flex: 1;
    position: relative;
    padding-right: 8px;
}
.ap-adchat-composer span::after {
    content: "";
    display: inline-block;
    width: 1.5px;
    height: 12px;
    margin-left: 3px;
    background: #0071e3;
    vertical-align: -1px;
    animation: ap-caret 1s steps(1) infinite;
}
.ap-adchat-composer i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0071e3;
    position: relative;
    flex-shrink: 0;
}
.ap-adchat-composer i::before,
.ap-adchat-composer i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #fff;
    border-radius: 1px;
}
.ap-adchat-composer i::before {
    width: 10px;
    height: 2px;
    transform: translate(-50%, -50%);
}
.ap-adchat-composer i::after {
    width: 2px;
    height: 10px;
    transform: translate(-50%, -50%);
}
.ap-feat-h2 .ap-feat-art-photo {
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    margin: auto 0 0;
    padding-top: 0;
}
.ap-feat-art-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fff;
}
.ap-feat-art svg {
    display: block;
    width: 100%;
    height: 100%;
}
.ap-feat-w2 { grid-column: span 2; }
.ap-feat-w3 { grid-column: span 3; }
.ap-feat-w4 { grid-column: span 4; }
.ap-feat-w6 { grid-column: span 6; }
.ap-feat-h2 { grid-row: span 2; }
.ap-feat-h2 h3 { font-size: clamp(24px, 2.4vw, 32px); }
.ap-feat-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.ap-feat-card p {
    margin: 0;
    color: var(--ap-muted);
    font-size: 15px;
    line-height: 1.45;
}
.ap-spotlight {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
    background: #fff;
    border-radius: 28px;
    padding: clamp(28px, 4vw, 40px);
    box-shadow: var(--ap-shadow);
    text-align: left;
    margin-bottom: 16px;
}
.ap-spotlight-flip { grid-template-columns: 0.85fr 1.15fr; }
.ap-spotlight-photo {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
}
.ap-rev-photo { background: #f5f5f7; }
.ap-spotlight-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ap-spotlight-photo svg {
    display: block;
    width: 100%;
    height: 100%;
}
.ap-spotlight .ap-rev-big {
    margin: 0 0 8px;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--ap-ink);
}
.ap-rev-kpis {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ap-rev-kpis li {
    background: #f5f5f7;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ap-muted);
}
.ap-rev-kpis b {
    color: var(--ap-ink);
    font-weight: 600;
    margin-right: 4px;
}
.ap-rev-stat {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
}
.ap-rev-stat span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--ap-muted);
}
.ap-rev-art {
    width: 100%;
    aspect-ratio: 2 / 1;
    margin: 0 0 16px;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f7;
}
.ap-rev-art svg {
    display: block;
    width: 100%;
    height: 100%;
}
.ap-kicker {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ap-blue);
}
.ap-spotlight h3 {
    margin: 0 0 12px;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.ap-spotlight p { margin: 0 0 18px; color: var(--ap-muted); font-size: 16px; line-height: 1.45; }
.ap-pos-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ap-pos-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--ap-line);
    font-size: 15px;
    font-weight: 500;
}
.ap-pos-steps b {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #0071e3;
    color: #fff;
    font-size: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.ap-offer-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f7;
    padding: clamp(20px, 4vw, 36px);
}
.ap-offer-phone {
    width: min(260px, 100%);
    background: #1d1d1f;
    border-radius: 32px;
    padding: 12px 10px 16px;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
}
.ap-offer-phone-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px 10px;
}
.ap-offer-phone-bar i {
    width: 72px;
    height: 18px;
    border-radius: 999px;
    background: #000;
}
.ap-offer-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 6px 10px;
}
.ap-offer-channels span {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.ap-offer-card {
    background: #fff;
    border-radius: 22px;
    padding: 22px 18px 18px;
    text-align: left;
}
.ap-offer-visual .ap-offer-pct {
    margin: 0 0 6px;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    color: #1d1d1f;
}
.ap-spotlight .ap-offer-card > p:not(.ap-offer-pct) {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #1d1d1f;
}
.ap-offer-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f5f5f7;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
}
.ap-offer-code span {
    font-size: 12px;
    font-weight: 500;
    color: #6e6e73;
}
.ap-offer-code b {
    font-size: 15px;
    letter-spacing: 0.06em;
    color: #0071e3;
}
.ap-offer-cta {
    background: #0071e3;
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}
.ap-device { display: flex; justify-content: center; }
.ap-device-bezel {
    width: min(230px, 100%);
    background: #e8e8ed;
    border-radius: 28px;
    padding: 12px 10px 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
}
.ap-device-cam {
    display: block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #d2d2d7;
    margin: 0 auto 10px;
}
.ap-device-screen {
    background: #fff;
    border-radius: 18px;
    padding: 18px 16px 20px;
    min-height: 220px;
    color: var(--ap-ink);
}
.ap-device-screen p {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ap-muted);
}
.ap-device-field {
    background: #f5f5f7;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}
.ap-device-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--ap-muted);
    margin-bottom: 16px;
}
.ap-device-row em {
    font-style: normal;
    font-weight: 700;
    color: #248a3d;
}
.ap-device-points {
    background: #0071e3;
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
}
.ap-syn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    background: #f5f5f7;
    border-radius: 22px;
    min-height: 220px;
    padding: 24px 16px;
}
.ap-syn-art {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
}
.ap-syn-art svg {
    display: block;
    width: 100%;
    height: 100%;
}
.ap-syn-art-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}
.ap-syn-node {
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.ap-syn-node-mid { background: var(--ap-ink); color: #fff; }
.ap-syn-arrow { color: var(--ap-muted); font-size: 18px; }

/* ——— Use cases ——— */
.ap-cases { padding: 0 0 80px; }
.ap-cases h2 {
    text-align: center;
    font-size: clamp(32px, 5vw, 44px);
    letter-spacing: -0.03em;
    margin: 0 0 32px;
}
.ap-cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ap-case {
    background: #fff;
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: var(--ap-shadow);
    display: block;
    min-height: 180px;
    transition: transform 0.25s ease;
}
.ap-case:hover { transform: translateY(-3px); }
.ap-case h3 { margin: 0 0 8px; font-size: 22px; }
.ap-case p { margin: 0; color: var(--ap-muted); font-size: 15px; }
.ap-case em { display: inline-block; margin-top: 16px; font-style: normal; color: var(--ap-blue); font-size: 14px; }

/* ——— CTA ——— */
.ap-cta {
    padding: 0 0 88px;
    background: #f5f5f7;
}
.ap-cta-inner {
    width: 100%;
    background: #fff;
    color: var(--ap-ink);
    border-radius: 28px;
    box-shadow: var(--ap-shadow);
    padding: clamp(48px, 7vw, 72px) 32px 56px;
    text-align: center;
}
.ap-cta-inner h2 {
    margin: 0 auto 10px;
    max-width: 16em;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ap-ink);
}
.ap-cta-inner p {
    margin: 0 auto 32px;
    max-width: 440px;
    color: var(--ap-muted);
    font-size: 19px;
}
.ap-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    max-width: none;
    width: 100%;
    margin: 0 auto;
}
.ap-form input {
    height: 48px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 0 14px;
    font-size: 16px;
    background: #f5f5f7;
    color: var(--ap-ink);
}
.ap-form input:focus {
    outline: none;
    background: #fff;
    border-color: var(--ap-blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}
.ap-form button { grid-column: 1 / -1; margin-top: 4px; width: 100%; }

.ap-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
}
.ap-step {
    background: #fff;
    border-radius: 22px;
    padding: 28px 24px;
    box-shadow: var(--ap-shadow);
}
.ap-step b {
    display: block;
    font-size: 13px;
    color: var(--ap-blue);
    margin-bottom: 10px;
    font-weight: 600;
}
.ap-step h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -0.02em; }
.ap-step p { margin: 0; color: var(--ap-muted); font-size: 15px; }

.ap-pricing { text-align: center; }
.ap-pricing h2 {
    margin: 0 auto 12px;
    max-width: 16ch;
}
.ap-pricing .lead {
    margin: 0 auto 40px;
    max-width: 640px;
}
.ap-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 8px;
    text-align: center;
}
.ap-price {
    background: #fff;
    border-radius: 28px;
    padding: 36px 32px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}
.ap-price h3 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.ap-price-amt {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin: 0 0 22px;
}
.ap-price-num {
    font-size: clamp(48px, 6vw, 56px);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1;
    color: var(--ap-ink);
}
.ap-price-per {
    font-size: 19px;
    font-weight: 400;
    color: var(--ap-muted);
}
.ap-price ul { margin: 0 0 28px; padding: 0; list-style: none; text-align: left; }
.ap-price li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 15px;
    line-height: 1.4;
    color: var(--ap-ink-2);
}
.ap-price li::before {
    content: "";
    width: 15px;
    height: 15px;
    margin-top: 3px;
    flex: none;
    background: var(--ap-blue);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.2 11.4 2.8 8l1.1-1.1 2.3 2.3 5.9-5.9L13.2 4.4z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.2 11.4 2.8 8l1.1-1.1 2.3 2.3 5.9-5.9L13.2 4.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ap-price-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ap-price-cta {
    min-height: 44px;
    padding: 10px 22px;
    font-size: 17px;
    font-weight: 400;
}
body.page-apple .ap-price-num {
    color: var(--ap-ink) !important;
    -webkit-text-fill-color: var(--ap-ink) !important;
}
body.page-apple .ap-price-per,
body.page-apple .ap-price-note {
    color: var(--ap-muted) !important;
}
.ap-price-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: var(--ap-muted);
}

body.page-apple .partners { padding: 16px 0 72px; text-align: center; }
body.page-apple .partners-title { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; margin: 0 0 28px; }
body.page-apple .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 18px 24px;
    align-items: center;
    filter: grayscale(1);
    opacity: 0.78;
    mix-blend-mode: multiply;
}
body.page-apple .partner-logo { display: grid; place-items: center; min-height: 56px; background: transparent !important; box-shadow: none; }
body.page-apple .partner-logo-img { max-height: 40px; max-width: 140px; object-fit: contain; background: transparent !important; mix-blend-mode: normal; }
body.page-apple .partners-footer { color: var(--ap-muted); margin: 24px 0 0; }

.ap-agency {
    text-align: center;
    padding: 8px 0 72px;
}
.ap-agency-inner {
    background: #fff;
    border-radius: var(--ap-radius);
    padding: 48px 32px;
    box-shadow: var(--ap-shadow);
}
.ap-agency h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
.ap-agency p { margin: 0 auto 22px; max-width: 520px; color: var(--ap-muted); font-size: 19px; }

/* ——— Footer ——— */
body.page-apple .footer {
    background: var(--ap-bg);
    border-top: 1px solid var(--ap-line);
    padding: 20px 0 28px;
    font-size: 12px;
    color: var(--ap-muted);
}
body.page-apple .footer .container { width: min(var(--ap-max), calc(100% - 40px)); margin: 0 auto; }
body.page-apple .ap-footer-dir {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px 20px;
    padding: 16px 0 8px;
}
body.page-apple .ap-footer-heading {
    font-size: 12px;
    font-weight: 600;
    color: var(--ap-ink);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
body.page-apple .ap-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
body.page-apple .ap-footer-col li { margin: 0 0 7px; }
body.page-apple .ap-footer-col a {
    font-size: 12px;
    line-height: 1.33337;
    color: var(--ap-ink-2);
}
body.page-apple .ap-footer-col a:hover { text-decoration: underline; }
body.page-apple .ap-footer-group { margin-top: 24px; }
body.page-apple .ap-footer-shop {
    border-top: 1px solid var(--ap-line);
    margin: 8px 0 0;
    padding: 12px 0;
    font-size: 12px;
    color: var(--ap-muted);
    line-height: 1.5;
}
body.page-apple .ap-footer-shop a { color: var(--ap-blue); }
body.page-apple .ap-footer-shop a:hover { text-decoration: underline; }
body.page-apple .footer-ask-ai { padding: 0 0 16px; }
body.page-apple .footer-ask-ai-title { font-size: 12px; font-weight: 600; color: var(--ap-ink); margin: 0 0 10px; }
body.page-apple .footer-ask-ai-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
body.page-apple .footer-ask-ai-btn {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--ap-line);
    display: grid; place-items: center;
    color: var(--ap-ink);
}
body.page-apple .ap-footer-legal {
    border-top: 1px solid var(--ap-line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding-top: 12px;
}
body.page-apple .ap-footer-copy { margin: 0; font-size: 12px; }
body.page-apple .ap-footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
body.page-apple .ap-footer-legal-links a {
    padding: 0 10px;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--ap-ink-2);
    font-size: 12px;
}
body.page-apple .ap-footer-legal-links a:first-child { padding-left: 0; }
body.page-apple .ap-footer-legal-links a:last-child { border-right: 0; padding-right: 0; }
body.page-apple .ap-footer-legal-links a:hover,
body.page-apple .ap-footer-legal-social a:hover { text-decoration: underline; }
body.page-apple .ap-footer-legal-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-left: auto;
}
body.page-apple .ap-footer-legal-social a { color: var(--ap-ink-2); font-size: 12px; }
body.page-apple .footer-link { color: var(--ap-ink-2); }
/* ——— Login modal ——— */
body.page-apple .login-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 20000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}
body.page-apple .login-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
body.page-apple .login-modal-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.62) !important;
    backdrop-filter: saturate(120%) blur(18px);
    -webkit-backdrop-filter: saturate(120%) blur(18px);
    cursor: pointer;
    z-index: 0;
}
body.page-apple .login-modal-content {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    margin: 0;
    background: #fff;
    border: 0;
    border-radius: 32px;
    padding: 40px 32px 32px;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
    animation: ap-login-in 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes ap-login-in {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to { opacity: 1; transform: none; }
}
body.page-apple .login-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #e8e8ed !important;
    color: #3a3a3c;
    display: grid;
    place-items: center;
    cursor: pointer;
}
body.page-apple .login-modal-close:hover {
    background: #d2d2d7 !important;
    color: #1d1d1f;
}
body.page-apple .login-modal-close svg {
    width: 11px;
    height: 11px;
}
body.page-apple .login-modal-title {
    margin: 0 48px 8px 0;
    padding: 0;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.12;
    color: #1d1d1f !important;
    text-align: center;
}
body.page-apple .login-modal-options {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
body.page-apple .login-modal-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    min-height: 220px;
    padding: 28px 24px 26px;
    margin: 0;
    background: #f5f5f7 !important;
    border: 0;
    border-radius: 24px;
    box-shadow: none;
    transform: none;
    color: #1d1d1f;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
body.page-apple .login-modal-option:hover {
    background: #fff !important;
    border-color: transparent;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}
body.page-apple .login-modal-option::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 24px;
    width: 8px;
    height: 8px;
    margin-top: 0;
    border-right: 2px solid #c7c7cc;
    border-top: 2px solid #c7c7cc;
    transform: rotate(45deg);
}
body.page-apple .login-modal-option-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #0071e3 !important;
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
body.page-apple .login-modal-option-icon::before {
    content: "";
    width: 32px;
    height: 32px;
    background: center / contain no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M20 7h-2.1A3 3 0 0 0 15 4a3 3 0 0 0-6 0 3 3 0 0 0-2.9 3H4a1 1 0 0 0-1 1v3h18V8a1 1 0 0 0-1-1ZM10.5 5a1.5 1.5 0 0 1 0 3h-2a1.5 1.5 0 0 1 0-3h2Zm5 0a1.5 1.5 0 0 1 0 3h-2a1.5 1.5 0 1 1 0-3h2ZM3 13v6a2 2 0 0 0 2 2h6.2v-8H3Zm10.8 0v8H19a2 2 0 0 0 2-2v-6h-7.2Z'/%3E%3C/svg%3E");
}
body.page-apple .login-modal-option:nth-child(2) .login-modal-option-icon {
    background: #5e5ce6 !important;
}
body.page-apple .login-modal-option:nth-child(2) .login-modal-option-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M3 10.2 14.2 5.4a1.4 1.4 0 0 1 1.9 1.3v10.6a1.4 1.4 0 0 1-1.9 1.3L3 13.8v-3.6Zm16.2-2.6a6.4 6.4 0 0 1 0 8.8l-1.5-1.3a4.4 4.4 0 0 0 0-6.2l1.5-1.3Zm1.9-2.4a9.8 9.8 0 0 1 0 13.6l-1.5-1.4a7.8 7.8 0 0 0 0-10.8l1.5-1.4Z'/%3E%3C/svg%3E");
}
body.page-apple .login-modal-option-body { min-width: 0; flex: 1; padding-right: 12px; }
body.page-apple .login-modal-option-text {
    display: block;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #1d1d1f;
}
body.page-apple .login-modal-option-desc {
    display: block;
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.4;
    color: #6e6e73 !important;
}
@media (max-width: 640px) {
    body.page-apple .login-modal-content {
        width: min(440px, 100%);
        padding: 32px 20px 20px;
    }
    body.page-apple .login-modal-options {
        grid-template-columns: 1fr;
    }
    body.page-apple .login-modal-option {
        min-height: 0;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 18px 40px 18px 18px;
    }
    body.page-apple .login-modal-option-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }
    body.page-apple .login-modal-option-icon::before {
        width: 26px;
        height: 26px;
    }
    body.page-apple .login-modal-option-text { font-size: 17px; }
    body.page-apple .login-modal-option-desc { margin-top: 3px; font-size: 13px; }
    body.page-apple .login-modal-option::after {
        right: 18px;
        top: 50%;
        bottom: auto;
        margin-top: -4px;
    }
}

body.page-apple .mobile-sticky-cta { display: none; }

@media (max-width: 900px) {
    body.page-apple .nav-links { display: none; }
    body.page-apple .navbar.nav-open .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        inset: 52px 0 0;
        background: #fff;
        padding: 20px 18px 40px;
        overflow: auto;
        gap: 4px;
        font-size: 21px;
        font-weight: 600;
    }
    body.page-apple .nav-close {
        display: none;
    }
    body.page-apple .nav-dropdown-menu.nav-mega,
    body.page-apple .nav-dropdown.active .nav-dropdown-menu.nav-mega {
        position: static;
        transform: none;
        box-shadow: none;
        min-width: 0;
        width: auto;
        border: 0;
        padding: 8px 0 12px 8px;
        background: transparent;
    }
    body.page-apple .nav-mega-inner {
        width: auto;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
    body.page-apple .nav-mega-link-lg { font-size: 17px; font-weight: 600; }
    body.page-apple .nav-mega-heading { margin-bottom: 4px; }
    body.page-apple .nav-menu-cta { display: flex; gap: 10px; margin-top: 16px; }
    body.page-apple .nav-cta { display: none; }
    body.page-apple .nav-burger { display: block; }
    .ap-charts, .ap-split, .ap-grid, .ap-cases-grid, .ap-form, .ap-steps, .ap-prices, .ap-spotlight, .ap-spotlight-flip {
        grid-template-columns: 1fr;
    }
    .ap-feat-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
    .ap-feat-w2, .ap-feat-w3, .ap-feat-w4, .ap-feat-w6, .ap-feat-h2 {
        grid-column: span 1;
        grid-row: auto;
    }
    .ap-feat-h2, .ap-feat-w6 { grid-column: span 2; }
    body.page-apple .ap-footer-dir { grid-template-columns: 1fr 1fr; }
    .ap-duo-grid { grid-template-columns: 1fr; }
    .ap-duo-card { min-height: 540px; padding-top: 48px; }
    .ap-kpis { grid-template-columns: 1fr 1fr; }
    .ap-tile.wide { grid-column: auto; grid-row: auto; min-height: 220px; }
    .ap-hero { padding-top: 48px; }
    body.page-apple .ap-film { height: 78svh; max-height: none; }
    body.page-apple .ap-film-copy { left: 22px; bottom: 28px; }
    body.page-apple .ap-film--center .ap-film-copy {
        left: 50%;
        bottom: auto;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    body.page-apple .ap-film h1 { max-width: none; }
    body.page-apple.nav-menu-open { overflow: hidden; }
}

@media (max-width: 640px) {
    .ap-camp-body { grid-template-columns: 1fr; }
    body.page-apple .mobile-sticky-cta {
        display: flex;
        gap: 8px;
        position: fixed;
        left: 12px; right: 12px; bottom: 12px;
        z-index: 70;
        padding: 10px;
        background: rgba(255,255,255,0.92);
        backdrop-filter: blur(16px);
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    }
    body.page-apple .mobile-sticky-cta a { flex: 1; text-align: center; }
    body.page-apple .mobile-sticky-cta .ap-btn-link { background: #f5f5f7; color: var(--ap-ink) !important; border-radius: 980px; }
    body.page-apple { padding-bottom: 84px; padding-top: 0; }
    body.page-apple .ap-film-pill {
        width: calc(100% - 4px);
        box-sizing: border-box;
    }
    body.page-apple .ap-footer-legal { align-items: flex-start; }
    body.page-apple .ap-footer-legal-social { margin-left: 0; }
    .ap-feat-grid { grid-template-columns: 1fr; }
    .ap-feat-h2, .ap-feat-w6 { grid-column: span 1; }
}

/* ——— Use-case pages (SME / freelancer / corp / agency) ——— */
.ap-hero--page { padding: 88px 0 28px; }
.ap-hero--page h1 { max-width: 18ch; }

body.page-apple .sme-features-intro,
body.page-apple .use-case-section.sme-features-intro {
    background: transparent !important;
    text-align: center;
    padding: 48px 20px 8px;
}
body.page-apple .use-case-section-title {
    margin: 0 auto 12px;
    max-width: 16ch;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.08;
}
body.page-apple .use-case-section-lead {
    margin: 0 auto;
    max-width: 560px;
    font-size: 19px;
    line-height: 1.4;
    color: var(--ap-muted) !important;
}
body.page-apple .sme-features-section,
body.page-apple .sme-features-section--alt {
    background: transparent !important;
    padding: 32px 0 64px;
}
body.page-apple .sme-features-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}
body.page-apple .sme-features-kicker {
    margin: 0 0 8px;
    color: var(--ap-blue) !important;
    -webkit-text-fill-color: var(--ap-blue) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: none !important;
}
body.page-apple .sme-features-title {
    margin: 0 auto 10px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
body.page-apple .sme-features-lead {
    margin: 0 auto;
    color: var(--ap-muted) !important;
    font-size: 19px;
    line-height: 1.4;
}
body.page-apple .ap-analyze + .ap-analyze { padding-top: 8px; }
body.page-apple .use-case-bottom-cta {
    display: flex;
    justify-content: center;
    padding: 40px 0 8px;
}
body.page-apple .use-case-bottom-cta .btn,
body.page-apple .use-case-bottom-cta .ap-btn {
    min-width: 180px;
}

body.page-apple.page-uc-story .fl-story-rows { max-width: 1080px; }
body.page-apple.page-uc-story .fl-story-copy { background: none !important; border: 0 !important; box-shadow: none !important; }
body.page-apple.page-uc-story .fl-story-step {
    color: var(--ap-blue) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
}
body.page-apple.page-uc-story .fl-story-copy h3 {
    color: var(--ap-ink) !important;
    -webkit-text-fill-color: var(--ap-ink) !important;
    font-weight: 600;
    letter-spacing: -0.03em;
}
body.page-apple.page-uc-story .fl-story-copy p:last-child {
    color: var(--ap-muted) !important;
    font-size: 17px;
    line-height: 1.5;
}
body.page-apple.page-uc-story .fl-ui-mac.mac-window {
    border: 1px solid var(--ap-line);
    border-radius: 18px;
    box-shadow: var(--ap-shadow);
}
body.page-apple.page-uc-story .fl-ui-mac .mac-window-content {
    background: #f5f5f7 !important;
}
body.page-apple.page-uc-story .fl-ui { color: var(--ap-ink-2); }
body.page-apple.page-uc-story .fl-ui-head { color: var(--ap-ink); font-weight: 600; }
body.page-apple.page-uc-story .fl-ui-live { color: var(--ap-blue); letter-spacing: 0.04em; }
body.page-apple.page-uc-story .fl-ui-kpi,
body.page-apple.page-uc-story .fl-ui-field,
body.page-apple.page-uc-story .fl-ui-row,
body.page-apple.page-uc-story .fl-ui-card,
body.page-apple.page-uc-story .fl-ui-cal span {
    background: #fff;
    border: 1px solid var(--ap-line);
    color: var(--ap-ink-2);
}
body.page-apple.page-uc-story .fl-ui-kpi b,
body.page-apple.page-uc-story .fl-ui-card strong,
body.page-apple.page-uc-story .fl-ui-phone h4 { color: var(--ap-ink); }
body.page-apple.page-uc-story .fl-ui-kpi span { color: var(--ap-muted); }
body.page-apple.page-uc-story .fl-ui-btn {
    background: var(--ap-blue);
    color: #fff;
    border-radius: 980px;
    font-weight: 600;
}
body.page-apple.page-uc-story .fl-ui-tile {
    color: #fff;
    border-radius: 12px;
}
body.page-apple.page-uc-story .fl-ui-tile--a { background: linear-gradient(160deg, #2997ff, #0071e3); }
body.page-apple.page-uc-story .fl-ui-tile--b { background: linear-gradient(160deg, #64d2ff, #0077ed); }
body.page-apple.page-uc-story .fl-ui-tile--c { background: linear-gradient(160deg, #7d7aff, #3634a3); }
body.page-apple.page-uc-story .fl-ui-bar { background: #e8e8ed; }
body.page-apple.page-uc-story .fl-ui-bar > i { background: var(--ap-blue); }
body.page-apple.page-uc-story .fl-ui-bar > i.sky { background: #64d2ff; }
body.page-apple.page-uc-story .fl-ui-badge {
    background: rgba(0, 113, 227, 0.1);
    color: var(--ap-blue);
}
body.page-apple.page-uc-story .fl-ui-badge--new {
    background: rgba(0, 113, 227, 0.12);
    color: var(--ap-blue);
}
body.page-apple.page-uc-story .fl-ui-cal .on {
    background: var(--ap-blue);
    color: #fff;
}
body.page-apple.page-uc-story .fl-ui-phone {
    background: #fff;
    border: 1px solid var(--ap-line);
    box-shadow: var(--ap-shadow);
}
body.page-apple.page-uc-story .fl-ui-phone-bar { background: #d2d2d7; }
body.page-apple.page-uc-story .fl-ui-chart path.line { stroke: var(--ap-blue); }

body.page-apple.page-corp-simple .corp-path-section,
body.page-apple.page-corp-simple .corp-ai-art-section,
body.page-apple.page-corp-simple .corp-ai-watch-section,
body.page-apple.page-corp-simple .corp-budget-section,
body.page-apple.page-corp-simple .corp-crm-section,
body.page-apple.page-corp-simple .corp-loyalty-section,
body.page-apple.page-corp-simple .corp-cta-section,
body.page-apple.page-corp-simple .cta-section {
    background: #f5f5f7 !important;
}
body.page-apple.page-corp-simple .corp-path-title,
body.page-apple.page-corp-simple .corp-ai-art-title,
body.page-apple.page-corp-simple .corp-ai-watch-title,
body.page-apple.page-corp-simple .corp-budget-title,
body.page-apple.page-corp-simple .corp-crm-title,
body.page-apple.page-corp-simple .corp-cta-section .cta-title {
    color: var(--ap-ink) !important;
    -webkit-text-fill-color: var(--ap-ink) !important;
    font-weight: 600;
    letter-spacing: -0.03em;
}
body.page-apple.page-corp-simple .corp-path-lead,
body.page-apple.page-corp-simple .corp-ai-art-lead,
body.page-apple.page-corp-simple .corp-ai-watch-lead,
body.page-apple.page-corp-simple .corp-budget-lead,
body.page-apple.page-corp-simple .corp-crm-lead,
body.page-apple.page-corp-simple .cta-description {
    color: var(--ap-muted) !important;
}
body.page-apple.page-corp-simple .corp-ai-canvas,
body.page-apple.page-corp-simple .corp-watch-panel,
body.page-apple.page-corp-simple .corp-budget-panel,
body.page-apple.page-corp-simple .corp-crm-panel {
    background: #fff !important;
    border: 1px solid var(--ap-line) !important;
    box-shadow: var(--ap-shadow);
    border-radius: 22px;
}
body.page-apple.page-corp-simple .corp-logo-tube-body { fill: #e8e8ed; }
body.page-apple.page-corp-simple .corp-path-label { fill: var(--ap-muted); }
body.page-apple.page-corp-simple .corp-tube-agent-label { fill: var(--ap-ink); }
body.page-apple.page-corp-simple .cta-form {
    background: #fff !important;
    border-radius: 22px;
    box-shadow: var(--ap-shadow);
}

body.page-apple .agency-feature-row,
body.page-apple .agency-feature-row:nth-child(even) {
    background: #f5f5f7 !important;
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}
body.page-apple .agency-feature-row-title {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ap-ink) !important;
}
body.page-apple .agency-feature-row-desc {
    font-size: 17px;
    color: var(--ap-muted) !important;
}
body.page-apple .agency-feature-row-mac {
    border: 1px solid var(--ap-line);
    border-radius: 18px;
    box-shadow: var(--ap-shadow);
}
body.page-apple .agency-feature-row-mac .mac-window-content {
    background: #f5f5f7 !important;
}
body.page-apple .agency-notify-section {
    background: #f5f5f7 !important;
}

@media (max-width: 734px) {
    .ap-hero--page { padding-top: 56px; }
    .ap-hero--page h1 { max-width: none; }
}

/* ——— Knowledge base ——— */
body.page-apple.knowledge-base-page .knowledge-hero {
    text-align: center;
    padding: 88px 0 12px;
}
body.page-apple.knowledge-base-page .knowledge-hero h1,
body.page-apple.tutorial-page .knowledge-hero-title {
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
body.page-apple.tutorial-page .knowledge-hero,
body.page-apple.tutorial-page .knowledge-hero-content {
    text-align: center;
}
body.page-apple.tutorial-page .knowledge-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
body.page-apple.tutorial-page .use-case-kicker {
    text-align: center;
}
body.page-apple.knowledge-base-page .knowledge-hero .ap-hero-lead {
    margin-bottom: 28px;
}
body.page-apple.knowledge-base-page .knowledge-search {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}
body.page-apple.knowledge-base-page .knowledge-search-input {
    width: 100%;
    padding: 16px 18px 16px 46px;
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.14) !important;
    border-radius: 16px;
    color: var(--ap-ink) !important;
    font-size: 16px;
    box-shadow: var(--ap-shadow);
}
body.page-apple.knowledge-base-page .knowledge-search-input:focus {
    outline: none;
    border-color: var(--ap-blue) !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}
body.page-apple.knowledge-base-page .knowledge-search-input::placeholder {
    color: var(--ap-muted);
}
body.page-apple.knowledge-base-page .knowledge-search .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ap-muted);
    pointer-events: none;
}
body.page-apple.knowledge-base-page .knowledge-content {
    padding: 28px 0 96px;
    background: #f5f5f7 !important;
}
body.page-apple.knowledge-base-page .knowledge-categories {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 0 auto 36px;
    padding: 5px;
    width: fit-content;
    max-width: 100%;
    background: #fff;
    border: 1px solid var(--ap-line);
    border-radius: 980px;
    box-shadow: var(--ap-shadow);
}
body.page-apple.knowledge-base-page .knowledge-category-btn {
    padding: 9px 22px;
    background: transparent;
    border: 0;
    border-radius: 980px;
    color: var(--ap-ink-2);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
body.page-apple.knowledge-base-page .knowledge-category-btn:hover {
    color: var(--ap-ink);
    background: #f5f5f7;
}
body.page-apple.knowledge-base-page .knowledge-category-btn.active {
    background: var(--ap-ink);
    border: 0;
    color: #fff;
    font-weight: 600;
}
body.page-apple.knowledge-base-page .knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
body.page-apple.knowledge-base-page .knowledge-card {
    background: #fff !important;
    border: 0;
    border-radius: 22px;
    box-shadow: var(--ap-shadow);
    padding: 0;
    transform: none;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
body.page-apple.knowledge-base-page .knowledge-card:hover {
    background: #fff !important;
    border: 0;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}
body.page-apple.knowledge-base-page .knowledge-card-shot {
    display: block !important;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f7;
}
body.page-apple.knowledge-base-page .knowledge-card-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
body.page-apple.knowledge-base-page .knowledge-video-thumbnail,
body.page-apple.knowledge-base-page .video-play-button {
    display: none !important;
}
body.page-apple.knowledge-base-page .knowledge-card-hit {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}
body.page-apple.knowledge-base-page .knowledge-card .ap-kicker {
    margin: 0 0 6px;
    text-align: left;
}
body.page-apple.knowledge-base-page .knowledge-card-copy {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
body.page-apple.knowledge-base-page .knowledge-card-header {
    display: none;
}
body.page-apple.knowledge-base-page .knowledge-badge {
    padding: 5px 10px;
    border-radius: 980px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
body.page-apple.knowledge-base-page .knowledge-badge.getting-started {
    background: #f5f5f7;
    color: #424245;
}
body.page-apple.knowledge-base-page .knowledge-badge.ads {
    background: #e8f1fc;
    color: #0071e3;
}
body.page-apple.knowledge-base-page .knowledge-badge.loyalty {
    background: #fff1e5;
    color: #c93400;
}
body.page-apple.knowledge-base-page .knowledge-badge.reports {
    background: #f3e8f8;
    color: #8944ab;
}
body.page-apple.knowledge-base-page .knowledge-badge.integrations {
    background: #ffe8e1;
    color: #c93400;
}
body.page-apple.knowledge-base-page .knowledge-type {
    color: var(--ap-muted);
    font-size: 13px;
}
body.page-apple.knowledge-base-page .knowledge-card-title {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.022em;
    line-height: 1.25;
    color: var(--ap-ink) !important;
    -webkit-text-fill-color: var(--ap-ink) !important;
}
body.page-apple.knowledge-base-page .knowledge-card-description {
    margin: 0 0 16px;
    color: var(--ap-muted) !important;
    font-size: 16px;
    line-height: 1.45;
    flex-grow: 1;
}
body.page-apple.knowledge-base-page .knowledge-card-link {
    color: var(--ap-blue) !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    margin-top: auto;
}
body.page-apple.knowledge-base-page .knowledge-card-link:hover {
    text-decoration: underline;
    gap: 0.5rem;
}

@media (max-width: 980px) {
    body.page-apple.knowledge-base-page .knowledge-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 734px) {
    body.page-apple.knowledge-base-page .knowledge-hero {
        padding-top: 56px;
    }
    body.page-apple.knowledge-base-page .knowledge-grid {
        grid-template-columns: 1fr;
    }
    body.page-apple.knowledge-base-page .knowledge-categories {
        width: 100%;
        justify-content: stretch;
    }
    body.page-apple.knowledge-base-page .knowledge-category-btn {
        flex: 1;
    }
}

/* ——— Education tutorials ——— */
body.page-apple.tutorial-page .tutorial-wrap {
    background: #f5f5f7 !important;
    padding: 28px 0 96px;
}
body.page-apple.tutorial-page .tutorial-crumb {
    justify-content: center;
    text-align: center;
    color: #6e6e73;
}
body.page-apple.tutorial-page .tutorial-crumb a {
    color: #0071e3;
}
body.page-apple.tutorial-page .tutorial-crumb a:hover { color: #0066cc; }
body.page-apple.tutorial-page .tutorial-intro {
    color: #424245;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
body.page-apple.tutorial-page .tutorial-intro a {
    color: #0071e3 !important;
}
body.page-apple.tutorial-page .tutorial-step {
    background: #fff !important;
    border: 0;
    border-radius: 28px;
    box-shadow: var(--ap-shadow);
    padding: 32px;
    margin: 0 0 16px;
    gap: 28px;
    color: #1d1d1f;
}
@media (min-width: 900px) {
    body.page-apple.tutorial-page .tutorial-step {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        align-items: center;
    }
}
body.page-apple.tutorial-page .tutorial-step h2,
body.page-apple.tutorial-page .tutorial-field strong {
    color: #1d1d1f !important;
}
body.page-apple.tutorial-page .tutorial-step p,
body.page-apple.tutorial-page .tutorial-step li {
    color: #424245;
}
body.page-apple.tutorial-page .tutorial-step-kicker {
    color: #0071e3;
    letter-spacing: 0.04em;
}
body.page-apple.tutorial-page .tutorial-step-num {
    background: #0071e3;
    color: #fff;
}
body.page-apple.tutorial-page .tutorial-shot {
    background: #f5f5f7;
    border: 0;
    border-radius: 18px;
    box-shadow: none;
    overflow: hidden;
}
body.page-apple.tutorial-page .tutorial-tip {
    background: #f5f5f7;
    border: 0;
    color: #424245;
}
body.page-apple.tutorial-page .tutorial-field {
    background: #f5f5f7;
    border: 0;
}
