/* =====================================================================
   AfroPin public site: homepage and legal pages (ap-*)
   Brand: navy primary, coral accent, cream surfaces. Coral is never used for body text on light backgrounds
   (fails contrast): accent text uses --ap-coral-ink. Buttons are navy with white text.
   ===================================================================== */

:root {
    --ap-navy: #0B1B3B;
    --ap-navy-2: #13264D;
    --ap-navy-3: #1C3263;
    --ap-navy-muted: #3D4760;
    --ap-ink: #1E2638;
    --ap-coral: #FF6B5B;
    /* Type scale for the public pages: one size per role, so the same kind of text matches across sections */
    --ap-fs-lead: 15px;   /* section intros */
    --ap-fs-title: 17px;  /* card titles and FAQ questions */
    --ap-fs-item: 16px;   /* titles in point lists */
    --ap-fs-body: 15px;   /* paragraphs */
    --ap-fs-desc: 14.5px; /* card and list descriptions */
    --ap-fs-meta: 13.5px;  /* notes and small print beside content */
    --ap-fs-label: 12.5px; /* small uppercase labels and tags */
    --ap-coral-ink: #C2412F;
    --ap-coral-soft: #FFECE9;
    --ap-coral-line: #FFD2CB;
    --ap-cream: #FBF7F0;
    --ap-cream-2: #F5EEE2;
    --ap-cream-line: #EDE5D8;
    --ap-white: #FFFFFF;
    --ap-success: #1F8A4C;
    --ap-success-soft: #E7F5EC;
    --ap-on-dark: #DCE2EF;
    --ap-on-dark-mute: #AEB8D0;
    --ap-on-dark-line: rgba(255, 255, 255, .12);
    --ap-radius-lg: 24px; /* large panels */
    --ap-radius: 20px;    /* cards */
    --ap-radius-sm: 12px; /* insets inside cards, notes and icon tiles */
    --ap-shadow: 0 1px 2px rgba(11, 27, 59, .04), 0 12px 32px -12px rgba(11, 27, 59, .16);
    --ap-shadow-lg: 0 2px 4px rgba(11, 27, 59, .05), 0 32px 64px -24px rgba(11, 27, 59, .32);
}

.ap { color: var(--ap-ink); background: var(--ap-white); overflow-x: clip; }
.ap *, .ap *::before, .ap *::after { box-sizing: border-box; }
.ap-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .ap-container { padding: 0 32px; } }

.ap-section { padding: 72px 0; }
@media (min-width: 992px) { .ap-section { padding: 112px 0; } }
.ap-section-cream { background: var(--ap-cream); }
.ap-section-navy { background: var(--ap-navy); color: var(--ap-on-dark); }

/* Type */
.ap-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: var(--ap-fs-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ap-coral-ink); }
.ap-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--ap-coral); }
.ap-section-navy .ap-eyebrow { color: var(--ap-coral); }
.ap-h1 { margin: 0 0 20px; font-size: clamp(38px, 6vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -.03em; color: var(--ap-navy); }
.ap-h1 em { font-style: normal; color: var(--ap-coral-ink); }
.ap-h2 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -.025em; color: var(--ap-navy); }
.ap-section-navy .ap-h2 { color: var(--ap-white); }
.ap-h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--ap-navy); }
.ap-lead { margin: 0; max-width: 62ch; font-size: var(--ap-fs-lead); line-height: 1.6; color: var(--ap-navy-muted); }
.ap-section-navy .ap-lead { color: var(--ap-on-dark); }
.ap-body { margin: 0; max-width: 68ch; font-size: var(--ap-fs-body); line-height: 1.65; color: var(--ap-navy-muted); }
.ap-head { margin-bottom: 48px; }
.ap-head-center { text-align: center; }
.ap-head-center .ap-lead { margin: 0 auto; }

/* Buttons */
.ap-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1.5px solid var(--ap-navy); border-radius: 999px; background: var(--ap-navy); color: var(--ap-white) !important; font-size: 15.5px; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.ap-btn:hover { background: var(--ap-navy-2); box-shadow: 0 10px 24px -10px rgba(11, 27, 59, .55); transform: translateY(-1px); }
.ap-btn i { font-size: 17px; }
.ap-btn-line { background: transparent; color: var(--ap-navy) !important; }
.ap-btn-line:hover { background: var(--ap-cream); box-shadow: none; }
.ap-btn-light { background: var(--ap-white); border-color: var(--ap-white); color: var(--ap-navy) !important; }
.ap-btn-light:hover { background: var(--ap-cream); }
.ap-btn-ghost-dark { background: transparent; border-color: var(--ap-on-dark-line); color: var(--ap-white) !important; }
.ap-btn-ghost-dark:hover { background: rgba(255, 255, 255, .06); box-shadow: none; }
.ap-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ap-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ap-navy); text-decoration: none; border-bottom: 1.5px solid var(--ap-coral); padding-bottom: 2px; }
.ap-link:hover { color: var(--ap-coral-ink); }

/* Hero */
.ap-hero { position: relative; padding: 132px 0 72px; background: radial-gradient(1100px 520px at 85% 10%, var(--ap-coral-soft), transparent 60%), linear-gradient(180deg, var(--ap-cream) 0%, var(--ap-white) 100%); }
@media (min-width: 992px) { .ap-hero { padding: 168px 0 112px; } }
.ap-hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 992px) { .ap-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; } }
.ap-hero .ap-lead { margin-bottom: 32px; }
.ap-hero-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 6px 14px 6px 6px; border: 1px solid var(--ap-cream-line); border-radius: 999px; background: var(--ap-white); font-size: 13.5px; font-weight: 600; color: var(--ap-navy); box-shadow: var(--ap-shadow); }
.ap-hero-badge span { padding: 3px 10px; border-radius: 999px; background: var(--ap-navy); color: var(--ap-white); font-size: 12px; font-weight: 700; }
.ap-hero-points { display: grid; gap: 10px 24px; margin: 22px 0 0; padding: 0 4px; list-style: none; font-size: var(--ap-fs-meta); font-weight: 500; color: var(--ap-navy-muted); }
@media (min-width: 576px) { .ap-hero-points { grid-template-columns: repeat(2, max-content); } }
.ap-hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.ap-hero-points i { color: var(--ap-coral-ink); font-size: 14px; }
.ap-hero-points a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.ap-hero-points a:hover { color: var(--ap-navy); text-decoration: underline; text-decoration-color: var(--ap-coral); text-underline-offset: 3px; }

/* Hero visual: a gift card and the till redeeming it */
.ap-stage { position: relative; width: 100%; max-width: 540px; margin: 0 auto; padding: 8px 0 48px; }
.ap-gcard { position: relative; width: 88%; aspect-ratio: 1.586; padding: 26px; border-radius: 24px; color: var(--ap-white); background: radial-gradient(420px 220px at 100% 0%, rgba(255, 107, 91, .55), transparent 60%), linear-gradient(140deg, var(--ap-navy-3), var(--ap-navy) 70%); box-shadow: var(--ap-shadow-lg); overflow: hidden; transform: rotate(-4deg); }
.ap-gcard::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .05); }
.ap-gcard-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ap-gcard-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.ap-gcard-logo { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--ap-coral); color: var(--ap-navy); font-size: 18px; }
.ap-gcard-type { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ap-on-dark); }
.ap-gcard-amount { margin-top: 18%; font-size: clamp(30px, 6vw, 40px); font-weight: 700; letter-spacing: -.02em; }
.ap-gcard-code { margin-top: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; letter-spacing: .14em; color: var(--ap-on-dark); }
.ap-gcard-foot { position: absolute; left: 26px; right: 26px; bottom: 22px; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ap-on-dark-mute); }
.ap-till { position: relative; z-index: 2; width: 64%; min-width: 280px; margin: -21% 0 0 auto; padding: 18px; border: 1px solid var(--ap-cream-line); border-radius: 20px; background: var(--ap-white); box-shadow: var(--ap-shadow-lg); }
.ap-till-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 12.5px; color: var(--ap-navy-muted); }
.ap-till-head strong { display: block; font-size: 14px; color: var(--ap-navy); }
.ap-till-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--ap-success-soft); color: var(--ap-success); font-size: 11.5px; font-weight: 700; }
.ap-till-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ap-till-pin { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--ap-cream); }
.ap-till-pin small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-navy-muted); }
.ap-till-pin span { white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; color: var(--ap-navy); }
.ap-till-pin b { font-size: 17px; color: var(--ap-navy); }
.ap-till-row { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; color: var(--ap-navy-muted); }
.ap-till-row b { color: var(--ap-navy); }
.ap-till-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; height: 46px; border-radius: 12px; background: var(--ap-navy); color: var(--ap-white); font-size: 14.5px; font-weight: 700; }
.ap-toast { position: absolute; z-index: 3; left: -4%; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--ap-white); box-shadow: var(--ap-shadow-lg); font-size: 13px; color: var(--ap-navy-muted); }
.ap-toast i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ap-success-soft); color: var(--ap-success); font-size: 18px; }
.ap-toast strong { display: block; font-size: 14px; color: var(--ap-navy); }
@media (max-width: 575px) { .ap-till { width: 90%; } .ap-toast { left: 0; } }
/* Liquid glass variant of the till card (preview): frosted, see-through where it overlaps the gift card, with a bright
   rim on top and a soft sheen. Remove ap-till--glass from the markup to go back to the solid white card. */
.ap-till--glass { overflow: hidden; border: 1px solid rgba(255, 255, 255, .7); background: linear-gradient(145deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .34)); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .25), inset 0 0 24px rgba(255, 255, 255, .25), 0 30px 60px -24px rgba(11, 27, 59, .35), 0 8px 18px -10px rgba(11, 27, 59, .18); }
.ap-till--glass::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 60% at 0% 0%, rgba(255, 255, 255, .75), transparent 55%), radial-gradient(80% 50% at 100% 100%, rgba(255, 107, 91, .10), transparent 60%); }
.ap-till--glass { isolation: isolate; }
.ap-till--glass .ap-till-pin { background: rgba(251, 247, 240, .55); border: 1px solid rgba(255, 255, 255, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); }
.ap-till--glass .ap-till-live { background: rgba(232, 245, 236, .7); }
.ap-till--glass .ap-till-btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 18px -8px rgba(11, 27, 59, .5); }

/* Capability strip under the hero */
.ap-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 72px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); overflow: hidden; }
@media (min-width: 992px) { .ap-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ap-strip > div { padding: 22px 24px; border-right: 1px solid var(--ap-cream-line); border-bottom: 1px solid var(--ap-cream-line); }
.ap-strip > div:nth-child(2n) { border-right: 0; }
@media (min-width: 992px) { .ap-strip > div { border-bottom: 0; } .ap-strip > div:nth-child(2n) { border-right: 1px solid var(--ap-cream-line); } .ap-strip > div:last-child { border-right: 0; } }
@media (max-width: 991px) { .ap-strip > div:nth-last-child(-n+2) { border-bottom: 0; } }
.ap-strip i { font-size: 22px; color: var(--ap-coral-ink); }
.ap-strip strong { display: block; margin: 10px 0 2px; font-size: var(--ap-fs-item); color: var(--ap-navy); }
.ap-strip span { font-size: var(--ap-fs-desc); line-height: 1.5; color: var(--ap-navy-muted); }

/* The gap (editorial) */
.ap-gap { display: grid; gap: 40px; }
@media (min-width: 992px) { .ap-gap { grid-template-columns: .9fr 1.1fr; gap: 80px; } }
.ap-gap-quote { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.3; font-weight: 600; letter-spacing: -.015em; color: var(--ap-navy); }
.ap-gap-quote em { font-style: normal; color: var(--ap-coral-ink); }
.ap-gap .ap-body + .ap-body { margin-top: 16px; }
.ap-compare { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 576px) { .ap-compare { grid-template-columns: 1fr 1fr; } }
.ap-compare > div { padding: 22px; border-radius: var(--ap-radius-sm); }
.ap-compare h4 { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ap-compare ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.ap-compare li { display: flex; gap: 10px; }
.ap-compare-before { background: var(--ap-cream); color: var(--ap-navy-muted); }
.ap-compare-before h4 { color: var(--ap-navy-muted); }
.ap-compare-before i { color: var(--ap-navy-muted); }
.ap-compare-after { background: var(--ap-navy); color: var(--ap-on-dark); }
.ap-compare-after h4 { color: var(--ap-coral); }
.ap-compare-after i { color: var(--ap-coral); }

/* How the network works */
.ap-flow { display: grid; gap: 16px; counter-reset: ap-step; }
@media (min-width: 768px) { .ap-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .ap-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ap-flow-step { position: relative; padding: 28px 24px 26px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); }
.ap-flow-step::before { counter-increment: ap-step; content: "0" counter(ap-step); display: block; margin-bottom: 20px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--ap-coral-ink); }
.ap-flow-ic { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ap-cream); color: var(--ap-navy); font-size: 20px; }
.ap-flow-who { display: inline-block; margin-top: 16px; padding: 4px 10px; border-radius: 999px; background: var(--ap-cream); font-size: 12px; font-weight: 700; color: var(--ap-navy-muted); }
.ap-parties { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 768px) { .ap-parties { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ap-party { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--ap-radius-sm); background: var(--ap-white); }
.ap-party i { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--ap-radius-sm); background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 18px; }
.ap-party strong { display: block; font-size: 15px; color: var(--ap-navy); }
.ap-party span { font-size: 13.5px; line-height: 1.5; color: var(--ap-navy-muted); }
.ap-party-center { background: var(--ap-navy); }
.ap-party-center i { background: var(--ap-coral); color: var(--ap-navy); }
.ap-party-center strong { color: var(--ap-white); }
.ap-party-center span { color: var(--ap-on-dark); }

/* Solution split (merchants / distributors) */
.ap-split { display: grid; gap: 48px; align-items: start; }
@media (min-width: 992px) { .ap-split { grid-template-columns: .85fr 1.15fr; gap: 72px; } .ap-split-flip { grid-template-columns: 1.15fr .85fr; } .ap-split-flip > :first-child { order: 2; } }
.ap-split-intro .ap-lead { margin-bottom: 28px; }
.ap-features { display: grid; gap: 14px; }
@media (min-width: 576px) { .ap-features { grid-template-columns: 1fr 1fr; } }
.ap-feature { padding: 22px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); transition: border-color .15s, box-shadow .15s; }
.ap-feature:hover { border-color: var(--ap-coral-line); box-shadow: var(--ap-shadow); }
.ap-section-cream .ap-feature { border-color: transparent; }
.ap-feature i { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: var(--ap-radius-sm); background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 19px; }
.ap-feature h3 { margin: 0 0 6px; font-size: var(--ap-fs-title); font-weight: 700; color: var(--ap-navy); }
.ap-feature p { margin: 0; font-size: var(--ap-fs-desc); line-height: 1.55; color: var(--ap-navy-muted); }
.ap-who { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.ap-who li { padding: 6px 12px; border: 1px solid var(--ap-cream-line); border-radius: 999px; background: var(--ap-white); font-size: 13px; font-weight: 600; color: var(--ap-navy); }

/* Exclusive partnership */
.ap-excl { position: relative; padding: 40px 24px; border-radius: var(--ap-radius-lg); background: radial-gradient(700px 360px at 100% 0%, rgba(255, 107, 91, .22), transparent 60%), var(--ap-navy); color: var(--ap-on-dark); overflow: hidden; }
@media (min-width: 992px) { .ap-excl { padding: 72px; } }
.ap-excl-grid { display: grid; gap: 40px; }
@media (min-width: 992px) { .ap-excl-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ap-excl .ap-h2 { color: var(--ap-white); }
.ap-excl .ap-lead { color: var(--ap-on-dark); margin-bottom: 28px; }
/* One panel split by hairlines, as tall as its content and centred against the copy beside it */
.ap-excl-list { align-self: center; display: grid; margin: 0; padding: 0 24px; list-style: none; border: 1px solid var(--ap-on-dark-line); border-radius: var(--ap-radius); background: rgba(255, 255, 255, .03); }
.ap-excl-list li { display: flex; gap: 16px; padding: 24px 0; }
.ap-excl-list li + li { border-top: 1px solid var(--ap-on-dark-line); }
.ap-excl-list i { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255, 107, 91, .35); border-radius: 50%; color: var(--ap-coral); font-size: 16px; line-height: 1; }
.ap-excl-list strong { display: block; margin-bottom: 4px; font-size: var(--ap-fs-item); color: var(--ap-white); }
.ap-excl-list span { font-size: var(--ap-fs-desc); line-height: 1.55; color: var(--ap-on-dark); }
.ap-excl-note { display: flex; gap: 10px; margin-top: 28px; font-size: var(--ap-fs-meta); line-height: 1.55; color: var(--ap-on-dark-mute); }
.ap-excl-note a { color: var(--ap-white); font-weight: 600; }

/* Security */
.ap-trust { display: grid; gap: 32px 40px; }
@media (min-width: 576px) { .ap-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .ap-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ap-trust > div, .ap-trust > a { position: relative; display: block; padding: 24px 0 0; border-top: 1px solid var(--ap-cream-line); text-decoration: none; }
/* Open columns, not cards: on hover a coral line draws along the divider and the icon rises a touch */
.ap-trust > div::before, .ap-trust > a::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--ap-coral); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.32, .72, 0, 1); }
.ap-trust > div i, .ap-trust > a i { display: inline-block; transition: transform .35s cubic-bezier(.32, .72, 0, 1); }
@media (hover: hover) {
    .ap-trust > div:hover::before, .ap-trust > a:hover::before { transform: scaleX(1); }
    .ap-trust > div:hover i, .ap-trust > a:hover i { transform: translateY(-3px); }
}
@media (prefers-reduced-motion: reduce) { .ap-trust > div::before, .ap-trust > div i { transition: none; } }
.ap-trust i { font-size: 22px; color: var(--ap-coral-ink); }
.ap-trust h3 { margin: 14px 0 6px; font-size: var(--ap-fs-title); font-weight: 700; color: var(--ap-navy); }
.ap-trust p { margin: 0; font-size: var(--ap-fs-desc); line-height: 1.55; color: var(--ap-navy-muted); }

/* Developers */
/* The SDKs: a tab per language over one code panel, with its install line */
.ap-sdk-tabs { gap: 4px; padding: 8px 10px; }
.ap-sdk-tabs button { padding: 6px 12px; border: 0; border-radius: 8px; background: transparent; font-size: 13px; font-weight: 600; color: var(--ap-on-dark-mute); cursor: pointer; }
.ap-sdk-tabs button:hover { color: var(--ap-on-dark); }
.ap-sdk-tabs button.is-active { background: rgba(255, 255, 255, .08); color: var(--ap-on-dark); }
.ap-sdk-install { padding: 14px 22px 0; font-family: var(--ap-mono); font-size: 12.5px; color: var(--ap-on-dark); }
.ap-sdk-install .c { margin-right: 6px; color: var(--ap-on-dark-mute); }
.ap-sdk-links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 22px 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; font-weight: 600; }
.ap-sdk-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--ap-on-dark-mute); text-decoration: none; }
.ap-sdk-links a:hover { color: var(--ap-on-dark); }
/* The webhook events: each name with what it means */
.ap-events { display: grid; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .ap-events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ap-events li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ap-cream-line); }
.ap-events code { flex: 0 0 auto; padding: 3px 8px; border-radius: 6px; background: var(--ap-white); font-family: var(--ap-mono); font-size: 13px; color: var(--ap-navy); }
.ap-events span { font-size: var(--ap-fs-desc); color: var(--ap-navy-muted); }
.ap-dev { display: grid; gap: 48px; align-items: center; }
@media (min-width: 992px) { .ap-dev { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.ap-dev-list { display: grid; gap: 12px; margin: 28px 0 32px; padding: 0; list-style: none; }
.ap-dev-list li { display: flex; gap: 12px; font-size: var(--ap-fs-body); line-height: 1.5; color: var(--ap-on-dark); }
.ap-dev-list i { color: var(--ap-coral); margin-top: 2px; }
.ap-code { border: 1px solid var(--ap-on-dark-line); border-radius: var(--ap-radius); background: #07132B; box-shadow: var(--ap-shadow-lg); overflow: hidden; }
.ap-code-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--ap-on-dark-line); font-size: 12.5px; color: var(--ap-on-dark-mute); }
.ap-code-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--ap-on-dark-line); }
.ap-code-bar b { margin-left: 8px; font-weight: 600; color: var(--ap-on-dark); }
.ap-code pre { margin: 0; border: 0; border-radius: 0; background: transparent !important; padding: 22px; overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.75; color: var(--ap-on-dark); }
.ap-code .k { color: var(--ap-coral); }
.ap-code .s { color: #9FD7B4; }
.ap-code .c { color: var(--ap-on-dark-mute); }

/* Onboarding steps */
.ap-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ap-cream-line); }
.ap-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--ap-cream-line); }
@media (min-width: 768px) { .ap-steps li { grid-template-columns: 80px minmax(0, 280px) minmax(0, 1fr); gap: 32px; align-items: baseline; } }
.ap-steps b { font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--ap-coral-ink); }
.ap-steps h3 { margin: 0; font-size: 19px; font-weight: 700; color: var(--ap-navy); }
.ap-steps p { grid-column: 2; margin: 4px 0 0; font-size: var(--ap-fs-body); line-height: 1.6; color: var(--ap-navy-muted); }
@media (min-width: 768px) { .ap-steps p { grid-column: auto; margin: 0; } }

/* FAQ */
.ap-faq { display: grid; gap: 40px; }
@media (min-width: 992px) { .ap-faq { grid-template-columns: .7fr 1.3fr; gap: 72px; } }
.ap-qa { border-top: 1px solid var(--ap-cream-line); }
.ap-qa details { border-bottom: 1px solid var(--ap-cream-line); }
.ap-qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-size: var(--ap-fs-title); font-weight: 700; color: var(--ap-navy); }
.ap-qa summary::-webkit-details-marker { display: none; }
.ap-qa summary::after { content: "\F4FE"; font-family: bootstrap-icons; font-size: 18px; font-weight: 400; color: var(--ap-coral-ink); transition: transform .2s; }
.ap-qa details[open] summary::after { transform: rotate(45deg); }
.ap-qa summary:focus-visible { outline: 2px solid var(--ap-coral); outline-offset: 4px; border-radius: 4px; }
.ap-qa p { margin: -6px 0 22px; max-width: 680px; font-size: var(--ap-fs-body); line-height: 1.65; color: var(--ap-navy-muted); }

/* Apply */
.ap-apply { display: grid; gap: 16px; }
@media (min-width: 768px) { .ap-apply { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .ap-apply-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) and (max-width: 991.98px) { .ap-apply-3 > :first-child { grid-column: 1 / -1; } }
.ap-apply-card { display: flex; flex-direction: column; padding: 32px; border-radius: var(--ap-radius-lg); background: var(--ap-white); border: 1px solid var(--ap-cream-line); }
@media (min-width: 992px) { .ap-apply-card { padding: 44px; } }
.ap-apply-card.is-dark { background: var(--ap-navy); border-color: var(--ap-navy); color: var(--ap-on-dark); }
.ap-apply-card .ap-tag { align-self: flex-start; margin-bottom: 20px; padding: 5px 12px; border-radius: 999px; background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: var(--ap-fs-label); font-weight: 700; }
.ap-apply-card.is-dark .ap-tag { background: rgba(255, 107, 91, .16); color: var(--ap-coral); }
.ap-apply-card h3 { margin: 0 0 10px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--ap-navy); }
.ap-apply-card.is-dark h3 { color: var(--ap-white); }
.ap-apply-card p { margin: 0 0 28px; font-size: var(--ap-fs-body); line-height: 1.6; color: var(--ap-navy-muted); }
.ap-apply-card.is-dark p { color: var(--ap-on-dark); }
.ap-apply-card .ap-btn { margin-top: auto; align-self: flex-start; }
.ap-apply-foot { margin-top: 24px; text-align: center; font-size: var(--ap-fs-body); color: var(--ap-navy-muted); }
.ap-apply-foot a { color: var(--ap-navy); font-weight: 700; }

/* Legal pages */
.ap-legal { display: grid; gap: 40px; padding: 48px 0 96px; }
@media (min-width: 992px) { .ap-legal { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; } }
.ap-toc { align-self: start; }
@media (min-width: 992px) { .ap-toc { position: sticky; top: 112px; max-height: calc(100vh - 140px); overflow-y: auto; } }
.ap-toc h2 { margin: 0 0 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-navy-muted); }
.ap-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; border-left: 1px solid var(--ap-cream-line); }
.ap-toc li { counter-increment: toc; }
.ap-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--ap-navy-muted); text-decoration: none; }
.ap-toc a::before { content: counter(toc) ". "; color: var(--ap-navy-muted); }
.ap-toc a:hover { color: var(--ap-navy); border-left-color: var(--ap-coral); }
@media (max-width: 991px) { .ap-toc { padding: 20px; border-radius: var(--ap-radius-sm); background: var(--ap-cream); } .ap-toc ol { columns: 2; column-gap: 24px; border-left: 0; } .ap-toc a { padding-left: 0; border-left: 0; } }
@media (max-width: 575px) { .ap-toc ol { columns: 1; } }
.ap-doc { max-width: 760px; font-size: 16px; line-height: 1.75; color: var(--ap-ink); }
.ap-doc section { padding-top: 8px; scroll-margin-top: 110px; }
.ap-doc section + section { margin-top: 40px; }
.ap-doc h2 { margin: 0 0 14px; font-size: 23px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--ap-navy); }
.ap-doc h2 span { margin-right: 8px; color: var(--ap-coral-ink); }
.ap-doc h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 700; color: var(--ap-navy); }
.ap-doc p { margin: 0 0 14px; }
.ap-doc ul, .ap-doc ol { margin: 0 0 16px; padding-left: 22px; }
.ap-doc li { margin-bottom: 8px; }
.ap-doc li::marker { color: var(--ap-coral-ink); }
.ap-doc a { color: var(--ap-navy); font-weight: 600; text-decoration-color: var(--ap-coral); text-underline-offset: 3px; }
.ap-doc strong { color: var(--ap-navy); }
.ap-doc .ap-callout { margin: 0 0 32px; padding: 20px 22px; border-left: 3px solid var(--ap-coral); border-radius: 0 var(--ap-radius-sm) var(--ap-radius-sm) 0; background: var(--ap-cream); font-size: 15px; line-height: 1.65; }
.ap-doc .ap-callout-strong { background: var(--ap-coral-soft); }
.ap-doc table { width: 100%; margin: 0 0 18px; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.ap-doc th, .ap-doc td { padding: 12px 14px; border: 1px solid var(--ap-cream-line); text-align: left; vertical-align: top; }
.ap-doc th { background: var(--ap-cream); font-weight: 700; color: var(--ap-navy); }
.ap-doc .ap-table-wrap { overflow-x: auto; }
.ap-doc dl { margin: 0 0 16px; }
.ap-doc dt { font-weight: 700; color: var(--ap-navy); }
.ap-doc dd { margin: 0 0 12px; }
@media (max-width: 991px) { .ap-till { margin-top: -14%; } }

/* =====================================================================
   Typeface: Geist, the same family as the dashboards
   ===================================================================== */
:root {
    --ap-font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ap-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --si-font-family: var(--ap-font);
    --si-body-font-family: var(--ap-font);
    --si-heading-font-family: var(--ap-font);
    --bs-font-sans-serif: var(--ap-font);
    --bs-body-font-family: var(--ap-font);
}
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--ap-font); }
.ap-gcard-code, .ap-till-pin span, .ap-code pre { font-family: var(--ap-mono); }

/* =====================================================================
   Header
   ===================================================================== */
.ap-nav { position: fixed; z-index: 1030; top: 0; left: 0; right: 0; height: 72px; background: rgba(255, 255, 255, .97); /* no backdrop blur: it repaints on every scroll frame */ border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; font-family: var(--ap-font); }
.ap-nav.is-scrolled { border-bottom-color: var(--ap-cream-line); box-shadow: 0 6px 24px -18px rgba(11, 27, 59, .4); }
.ap-nav-in { display: flex; align-items: center; gap: 24px; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .ap-nav-in { padding: 0 32px; } }
.ap-nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.ap-nav-logo img { height: 34px; width: auto; }
.ap-nav-links { display: none; align-items: center; gap: 2px; margin: 0 auto; padding: 0; list-style: none; }
@media (min-width: 1100px) { .ap-nav-links { display: flex; } }
.ap-nav-links > li { position: relative; }
.ap-nav-link { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; font-size: 14.5px; font-weight: 500; color: var(--ap-navy) !important; text-decoration: none; }
.ap-nav-link:hover, .ap-nav-link[aria-expanded="true"] { background: var(--ap-cream); }
.ap-nav-link .bi-chevron-down { font-size: 11px; transition: transform .2s; }
.ap-nav-link[aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); }
.ap-nav-link::after { display: none !important; }
.ap-nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 1100px) { .ap-nav-actions { margin-left: 0; } }
.ap-nav-signin { display: none; height: 40px; padding: 0 14px; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--ap-navy) !important; text-decoration: none; border-radius: 10px; }
.ap-nav-signin:hover { background: var(--ap-cream); }
@media (min-width: 576px) { .ap-nav-signin { display: inline-flex; } }
.ap-nav-cta { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--ap-navy); color: var(--ap-white) !important; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.ap-nav-cta:hover { background: var(--ap-navy-2); }
@media (min-width: 576px) { .ap-nav-cta { display: inline-flex; } }
/* Two-line menu button: a full navy line over a shorter coral one that stretches on hover; an X while the drawer
   is open. No box: the 44px tap area is invisible. */
.ap-nav-burger { position: relative; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-right: -8px; padding: 0 9px; border: 0; border-radius: var(--ap-radius-sm); background: transparent; -webkit-tap-highlight-color: transparent; }
.ap-nav-burger span { display: block; height: 2px; border-radius: 2px; background: var(--ap-navy); transition: width .3s cubic-bezier(.32, .72, 0, 1), transform .3s cubic-bezier(.32, .72, 0, 1), background-color .2s; }
.ap-nav-burger span:first-child { width: 24px; }
.ap-nav-burger span:last-child { width: 15px; background: var(--ap-coral); }
.ap-nav-burger:hover span:last-child { width: 24px; }
.ap-nav-burger:focus-visible { outline: 2px solid var(--ap-coral); outline-offset: 2px; }
.ap-nav-burger[aria-expanded="true"] span { width: 24px; }
.ap-nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.ap-nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .ap-nav-burger span { transition: none; } }
@media (min-width: 1100px) { .ap-nav-burger { display: none; } }

.ap-menu.dropdown-menu { min-width: 320px; margin-top: 10px !important; padding: 8px; border: 1px solid var(--ap-cream-line); border-radius: 16px; background: var(--ap-white); box-shadow: 0 24px 48px -20px rgba(11, 27, 59, .35); }
.ap-menu a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; }
.ap-menu a:hover { background: var(--ap-cream); }
.ap-menu i { flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--ap-radius-sm); background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 17px; }
.ap-menu strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ap-navy); }
.ap-menu span { display: block; margin-top: 1px; font-size: 13px; line-height: 1.4; color: var(--ap-navy-muted); }

/* Mobile drawer */
.ap-drawer.offcanvas { width: min(380px, 100vw); border-left: 0; background: var(--ap-white); font-family: var(--ap-font); }
.ap-drawer .offcanvas-header { height: 72px; padding: 0 16px; border-bottom: 1px solid var(--ap-cream-line); }
.ap-drawer .offcanvas-header img { height: 32px; width: auto; }
.ap-drawer-close { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--ap-cream-line); border-radius: 10px; background: var(--ap-white); color: var(--ap-navy); font-size: 18px; }
.ap-drawer .offcanvas-body { display: flex; flex-direction: column; padding: 16px; }
.ap-drawer-label { margin: 16px 4px 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-navy-muted); }
.ap-drawer-label:first-child { margin-top: 0; }
.ap-drawer-link { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; font-size: 15.5px; font-weight: 500; color: var(--ap-navy) !important; text-decoration: none; }
.ap-drawer-link:hover { background: var(--ap-cream); }
.ap-drawer-link i { color: var(--ap-coral-ink); font-size: 18px; }
.ap-drawer-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
.ap-drawer-actions a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.ap-drawer-actions .is-primary { background: var(--ap-navy); color: var(--ap-white) !important; }
.ap-drawer-actions .is-line { border: 1px solid var(--ap-cream-line); color: var(--ap-navy) !important; }

/* =====================================================================
   Footer
   ===================================================================== */
.ap-footer { position: relative; overflow: hidden; padding: 72px 0 0; background: var(--ap-cream); border-top: 1px solid var(--ap-cream-line); color: var(--ap-navy-muted); font-family: var(--ap-font); }
.ap-footer a { text-decoration: none; }
.ap-footer-top { display: grid; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--ap-cream-line); }
@media (min-width: 992px) { .ap-footer-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 64px; } }
.ap-footer-brand img { height: 36px; width: auto; }
.ap-footer-brand p { margin: 18px 0 0; max-width: 340px; font-size: 14.5px; line-height: 1.6; }
.ap-footer-owner { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 12px; border: 1px solid var(--ap-cream-line); border-radius: 999px; background: var(--ap-white); font-size: 12.5px; font-weight: 500; color: var(--ap-navy); }
.ap-footer-owner i { color: var(--ap-coral-ink); }
.ap-footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
@media (min-width: 768px) { .ap-footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ap-footer-cols { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ap-footer-cols h3 { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--ap-navy); }
.ap-footer-cols ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ap-footer-cols a { font-size: 14px; color: var(--ap-navy-muted); }
.ap-footer-cols a:hover { color: var(--ap-navy); }
.ap-footer-contact { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 768px) { .ap-footer-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ap-footer-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); }
.ap-footer-card i { flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--ap-radius-sm); background: var(--ap-navy); color: var(--ap-white); font-size: 16px; }
.ap-footer-card small { display: block; font-size: 12px; font-weight: 500; color: var(--ap-navy-muted); }
.ap-footer-card a, .ap-footer-card strong { display: block; margin-top: 2px; font-size: 14.5px; font-weight: 600; color: var(--ap-navy); overflow-wrap: anywhere; }
.ap-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; font-size: 13px; }
.ap-footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.ap-footer-legal a { color: var(--ap-navy-muted); }
.ap-footer-legal a:hover { color: var(--ap-navy); }
.ap-footer-right { display: flex; align-items: center; gap: 12px; }
.ap-footer-social { display: flex; gap: 6px; }
.ap-footer-social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ap-cream-line); border-radius: 10px; background: var(--ap-white); color: var(--ap-navy); font-size: 15px; }
.ap-footer-social a:hover { border-color: var(--ap-navy); }
.ap-footer-lang { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--ap-cream-line); border-radius: 999px; background: var(--ap-white); font-size: 13px; font-weight: 500; color: var(--ap-navy); }
.ap-footer-mark { display: block; margin: 0 0 -0.22em; font-size: clamp(80px, 19vw, 260px); font-weight: 700; line-height: 1; letter-spacing: -.05em; text-align: center; color: transparent; -webkit-text-stroke: 1.5px var(--ap-cream-line); user-select: none; pointer-events: none; }

/* =====================================================================
   Application pages (apply/merchant, apply/distributor)
   ===================================================================== */
.ap-apply-page { background: var(--ap-cream); }
.ap-apply-wrap { padding: 104px 0 72px; }
@media (min-width: 992px) { .ap-apply-wrap { padding: 120px 0 96px; } }
.ap-apply-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 992px) { .ap-apply-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; } }
.ap-apply-side { padding: 28px 24px; border-radius: 24px; background: radial-gradient(520px 300px at 100% 0%, rgba(255, 107, 91, .2), transparent 60%), var(--ap-navy); color: var(--ap-on-dark); }
@media (min-width: 992px) { .ap-apply-side { position: sticky; top: 96px; padding: 36px; } }
.ap-role { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 32px; padding: 6px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.ap-role-opt { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 11px; color: var(--ap-on-dark) !important; text-decoration: none; transition: background .15s; }
.ap-role-opt:hover { background: rgba(255, 255, 255, .06); }
.ap-role-opt i { font-size: 18px; color: var(--ap-on-dark-mute); }
.ap-role-opt strong { display: block; font-size: 14px; font-weight: 600; color: var(--ap-white); }
.ap-role-opt small { display: block; font-size: 11.5px; line-height: 1.3; color: var(--ap-on-dark-mute); }
.ap-role-opt.is-active { background: var(--ap-white); }
.ap-role-opt.is-active i { color: var(--ap-coral-ink); }
.ap-role-opt.is-active strong { color: var(--ap-navy); }
.ap-role-opt.is-active small { color: var(--ap-navy-muted); }
@media (max-width: 400px) { .ap-role-opt small { display: none; } }
.ap-apply-title { margin: 0 0 12px; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -.025em; color: var(--ap-white); }
.ap-apply-sub { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ap-on-dark); }
.ap-apply-points { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.ap-apply-points li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ap-white); }
.ap-apply-points i { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 107, 91, .16); color: var(--ap-coral); font-size: 15px; }
.ap-apply-steps { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--ap-on-dark-line); }
.ap-apply-steps h2 { margin: 0 0 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-on-dark-mute); }
.ap-apply-steps ol { position: relative; display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.ap-apply-steps ol::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; width: 1px; background: var(--ap-on-dark-line); }
.ap-apply-steps li { position: relative; display: flex; gap: 14px; }
.ap-apply-dot { position: relative; z-index: 1; display: grid; place-items: center; flex-shrink: 0; width: 27px; height: 27px; border: 1px solid var(--ap-on-dark-line); border-radius: 50%; background: var(--ap-navy); font-size: 12px; font-weight: 600; color: var(--ap-on-dark-mute); }
.ap-apply-steps li.is-current .ap-apply-dot { border-color: var(--ap-coral); background: var(--ap-coral); color: var(--ap-navy); }
.ap-apply-steps li.is-done .ap-apply-dot { border-color: var(--ap-success); background: var(--ap-success); color: var(--ap-white); }
.ap-apply-steps strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ap-white); }
.ap-apply-steps span { font-size: 13px; line-height: 1.5; color: var(--ap-on-dark-mute); }
.ap-apply-excl { display: flex; gap: 12px; margin-top: 28px; padding: 16px; border: 1px solid rgba(255, 107, 91, .35); border-radius: 14px; background: rgba(255, 107, 91, .08); }
.ap-apply-excl i { color: var(--ap-coral); font-size: 18px; }
.ap-apply-excl p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ap-on-dark); }
.ap-apply-excl a { color: var(--ap-white); font-weight: 600; text-decoration: underline; text-decoration-color: var(--ap-coral); text-underline-offset: 3px; }

.ap-apply-main { padding: 24px; border: 1px solid var(--ap-cream-line); border-radius: 24px; background: var(--ap-white); }
@media (min-width: 768px) { .ap-apply-main { padding: 40px; } }
.ap-fs { margin: 0; padding: 0; border: 0; min-width: 0; }
/* A fieldset's legend sits inside its top border, so the divider is a background line instead */
.ap-fs + .ap-fs { margin-top: 32px; padding-top: 32px; background: linear-gradient(var(--ap-cream-line), var(--ap-cream-line)) top / 100% 1px no-repeat; }
.ap-fs legend { display: flex; align-items: center; gap: 12px; float: none; width: auto; margin: 0 0 20px; padding: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--ap-navy); }
.ap-fs legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ap-cream); font-size: 12px; font-weight: 600; color: var(--ap-coral-ink); }
.ap-row { display: grid; gap: 16px; }
@media (min-width: 576px) { .ap-row { grid-template-columns: 1fr 1fr; } }
.ap-row + .ap-row, .ap-row + .ap-fld, .ap-fld + .ap-fld, .ap-fld + .ap-row { margin-top: 18px; }
.ap-fld { display: flex; flex-direction: column; min-width: 0; }
.ap-fld label, .ap-lbl { margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--ap-navy); }
.ap-fld label em { margin-left: 6px; font-style: normal; font-weight: 400; color: var(--ap-navy-muted); }
.ap-fld input:not([type="radio"]), .ap-fld textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--ap-cream-line); border-radius: 12px; background: var(--ap-white); font-size: 15px; color: var(--ap-navy); outline: 0; transition: border-color .15s, box-shadow .15s; }
.ap-fld textarea { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.ap-fld input::placeholder, .ap-fld textarea::placeholder { color: #8A92A6; }
.ap-fld input:focus, .ap-fld textarea:focus { border-color: var(--ap-navy); box-shadow: 0 0 0 4px rgba(11, 27, 59, .08); }
.ap-fld .is-invalid { border-color: var(--ap-coral-ink) !important; }
/* intl-tel-input wraps every phone field in .iti (inline-block by default): make it fill its column */
.iti { display: block; }
.ap-phone .iti { display: block; width: 100%; }
.ap-phone .iti__selected-country { border-radius: 12px 0 0 12px; }
.ap-phone .iti__selected-country-primary { padding: 0 8px 0 14px; }
.ap-phone .iti__selected-dial-code { color: var(--ap-navy); font-size: 15px; }
.ap-phone .iti__dropdown-content { border: 1px solid var(--ap-cream-line); border-radius: 12px; box-shadow: 0 20px 50px -18px rgba(11, 27, 59, .28); overflow: hidden; }
.ap-phone .iti__search-input { height: 42px; padding: 0 12px; border: 0; border-bottom: 1px solid var(--ap-cream-line); border-radius: 0; font-size: 14px; }
.ap-phone .iti__country.iti__highlight { background: var(--ap-cream); }
.ap-fld .ap-phone.is-invalid input[type=tel] { border-color: var(--ap-coral-ink) !important; }
.ap-err { margin-top: 6px; font-size: 13px; color: var(--ap-coral-ink); }
.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-chip { position: relative; margin: 0; cursor: pointer; }
.ap-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ap-chip span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--ap-cream-line); border-radius: 999px; background: var(--ap-white); font-size: 14px; font-weight: 500; color: var(--ap-navy); transition: border-color .15s, background .15s; }
.ap-chip:hover span { border-color: var(--ap-navy-muted); }
.ap-chip input:checked + span { border-color: var(--ap-navy); background: var(--ap-navy); color: var(--ap-white); }
.ap-chip input:checked + span::before { content: "\F26E"; font-family: bootstrap-icons; font-size: 15px; }
.ap-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(255, 107, 91, .3); }
.ap-form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ap-cream-line); }
.ap-form-foot p { flex: 1 1 260px; margin: 0; font-size: 13px; line-height: 1.55; color: var(--ap-navy-muted); }
.ap-form-foot a { color: var(--ap-navy); font-weight: 600; }
.ap-apply-done { padding: 24px 0; text-align: center; }
.ap-apply-done-ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 20px; background: var(--ap-success-soft); color: var(--ap-success); font-size: 30px; }
.ap-apply-done h2 { margin: 0 0 10px; font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--ap-navy); }
.ap-apply-done p { max-width: 460px; margin: 0 auto 28px; font-size: 15.5px; line-height: 1.6; color: var(--ap-navy-muted); }
.ap-apply-done .ap-actions { justify-content: center; }
.ap-row > .ap-fld { margin-top: 0 !important; }
.ap-fs legend { border: 0; line-height: 1.3; }
.ap-fs legend::before, .ap-fs legend::after { display: none !important; content: none !important; }
.ap-fs legend + * { clear: both; }
/* A floated legend is laid out like any block (not straddling the fieldset edge) */
.ap-fs legend { float: left; width: 100%; }
/* Body text weight (the old theme's 200 was too thin to read) */
:root { --si-body-font-weight: 300; }
body, .ap { font-weight: 300; }

/* =====================================================================
   Inner page hero (help centre, blog, press, contact, legal): <x-page-hero>
   ===================================================================== */
/* Clipped sideways only (overflow-x: clip leaves y visible, unlike hidden), so the decorative circle can't widen the page
   but a search dropdown in the slot can hang below the hero; z-index keeps it over the next section */
.ap-page-hero { position: relative; z-index: 2; overflow-x: clip; overflow-y: visible; padding: 128px 0 56px; background: var(--ap-cream); border-bottom: 1px solid var(--ap-cream-line); font-family: var(--ap-font); }
@media (min-width: 992px) { .ap-page-hero { padding: 152px 0 72px; } }
/* A faint dot grid fading out to the left, and a coral glow on the right */
.ap-page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 27, 59, .09) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%); mask-image: linear-gradient(90deg, transparent 35%, #000 100%); pointer-events: none; }
.ap-page-hero::after { content: ""; position: absolute; right: -180px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 107, 91, .16), transparent); pointer-events: none; }
.ap-page-hero .ap-container { position: relative; z-index: 1; }
.ap-page-hero.is-center { text-align: center; }
.ap-page-hero.is-center .ap-page-sub, .ap-page-hero.is-center .ap-page-hero-slot { margin-left: auto; margin-right: auto; }
.ap-page-hero.is-center .ap-crumbs { justify-content: center; }
.ap-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 22px; font-size: 13.5px; color: var(--ap-navy-muted); }
.ap-crumbs a { color: var(--ap-navy-muted); text-decoration: none; }
.ap-crumbs a:hover { color: var(--ap-navy); }
.ap-crumbs i { font-size: 10px; opacity: .6; }
.ap-crumbs span { color: var(--ap-navy); font-weight: 500; }
.ap-page-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 12px; border: 1px solid var(--ap-cream-line); border-radius: 999px; background: var(--ap-white); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--ap-navy); }
.ap-page-eyebrow i { color: var(--ap-coral-ink); font-size: 13px; }
.ap-page-title { max-width: 820px; margin: 0; font-size: clamp(34px, 5vw, 54px); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; color: var(--ap-navy); }
.ap-page-hero.is-center .ap-page-title { margin: 0 auto; }
.ap-page-sub { max-width: 620px; margin: 16px 0 0; font-size: 15px; line-height: 1.6; color: var(--ap-navy-muted); }
.ap-page-hero-slot { max-width: 620px; margin-top: 28px; }
.ap-page-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--ap-navy-muted); }
.ap-page-meta b { color: var(--ap-navy); font-weight: 600; }
.ap-page-meta-row { align-items: center; gap: 10px 22px; }
.ap-page-meta-row i { color: var(--ap-coral-ink); margin-right: 4px; }
.ap-share { display: inline-flex; gap: 6px; }
.ap-share a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ap-cream-line); border-radius: 10px; background: var(--ap-white); color: var(--ap-navy); text-decoration: none; }
.ap-share a i { margin: 0; color: var(--ap-navy); }
.ap-share a:hover { border-color: var(--ap-navy); }
/* Homepage: logos of merchants on the network (front/index, Business::homepageMerchants) */
.ap-logos { padding: 40px 0 8px; font-family: var(--ap-font); }
.ap-logos-title { margin: 0 0 18px; text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ap-navy-muted); }
.ap-logos-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ap-logos-list a, .ap-logos-list span { display: flex; align-items: center; justify-content: center; width: 160px; height: 80px; padding: 10px 14px; border: 1px solid var(--ap-cream-line); border-radius: 16px; background: var(--ap-white); transition: border-color .15s, box-shadow .15s, transform .15s; }
.ap-logos-list a:hover { border-color: var(--ap-navy); box-shadow: 0 12px 28px -18px rgba(11, 27, 59, .45); transform: translateY(-2px); }
.ap-logos-list a:focus-visible { outline: 2px solid var(--ap-navy); outline-offset: 2px; }
.ap-logos-list img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 575px) {
    .ap-logos-list { gap: 10px; }
    .ap-logos-list a, .ap-logos-list span { width: calc(50% - 5px); min-width: 0; height: 72px; }
    .ap-logos-list li { display: contents; }
}

/* Physical cards: steps beside an inactive printed card and the till activating it */
.ap-pc-steps { display: grid; gap: 18px; margin: 0 0 24px; padding: 0; list-style: none; }
.ap-pc-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.ap-pc-steps b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 15px; font-weight: 700; }
.ap-pc-steps strong { display: block; margin: 6px 0 2px; font-size: var(--ap-fs-item); color: var(--ap-navy); }
.ap-pc-steps span { font-size: var(--ap-fs-desc); line-height: 1.55; color: var(--ap-navy-muted); }
.ap-pc-note { display: flex; gap: 10px; margin: 0; padding: 14px 16px; border-radius: var(--ap-radius-sm); background: var(--ap-cream); font-size: var(--ap-fs-meta); line-height: 1.5; color: var(--ap-navy-muted); }
.ap-pc-note i { color: var(--ap-coral-ink); }
@media (min-width: 992px) { .ap-pc-stage { align-self: center; } }
.ap-pc-stage { position: relative; width: 100%; max-width: 540px; margin: 0 auto; padding: 8px 0 0; }
.ap-pc-card { position: relative; width: 86%; aspect-ratio: 1.586; padding: 24px; border: 1px solid var(--ap-cream-line); border-radius: 22px; color: var(--ap-navy); background: radial-gradient(360px 200px at 100% 0%, var(--ap-coral-soft), transparent 70%), var(--ap-cream); box-shadow: var(--ap-shadow-lg); overflow: hidden; transform: rotate(3deg); }
.ap-pc-card::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; border: 34px solid rgba(11, 27, 59, .04); }
.ap-pc-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ap-pc-state { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ap-white); border: 1px solid var(--ap-cream-line); font-size: 11.5px; font-weight: 700; color: var(--ap-navy-muted); }
.ap-pc-card-label { margin-top: 12%; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ap-coral-ink); }
.ap-pc-card-value { margin-top: 4px; font-size: clamp(24px, 4.6vw, 32px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.ap-pc-card-value small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--ap-navy-muted); }
.ap-pc-card-foot { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font-size: 11px; color: var(--ap-navy-muted); }
.ap-pc-barcode { display: block; width: 150px; height: 26px; margin-bottom: 4px; background: repeating-linear-gradient(90deg, var(--ap-navy) 0 2px, transparent 2px 4px, var(--ap-navy) 4px 5px, transparent 5px 8px, var(--ap-navy) 8px 11px, transparent 11px 13px); }
.ap-pc-number, .ap-pc-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
.ap-pc-number { font-size: 11.5px; color: var(--ap-navy); }
.ap-pc-till { position: relative; z-index: 2; width: 62%; min-width: 270px; margin: -16% 0 0 auto; padding: 18px; border: 1px solid var(--ap-cream-line); border-radius: 20px; background: var(--ap-white); box-shadow: var(--ap-shadow-lg); }
.ap-pc-done { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--ap-success-soft); font-size: 12.5px; color: var(--ap-navy-muted); }
.ap-pc-done i { font-size: 20px; color: var(--ap-success); }
.ap-pc-done strong { display: block; font-size: 13.5px; color: var(--ap-navy); }
@media (max-width: 767px) { .ap-pc-card { width: 96%; } .ap-pc-till { width: 92%; min-width: 0; margin-top: 20px; } .ap-pc-barcode { width: 110px; } }

/* Digital wallets: a phone holding a brand's pass, with the notification after a spend (front/index #wallets) */
.ap-wl-points { display: grid; gap: 18px; margin: 0 0 24px; padding: 0; list-style: none; }
.ap-wl-points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.ap-wl-points i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--ap-radius-sm); background: var(--ap-white); border: 1px solid var(--ap-cream-line); color: var(--ap-coral-ink); font-size: 18px; }
.ap-wl-points strong { display: block; margin: 2px 0 2px; font-size: var(--ap-fs-item); color: var(--ap-navy); }
.ap-wl-points span { font-size: var(--ap-fs-desc); line-height: 1.55; color: var(--ap-navy-muted); }
#wallets .ap-pc-note { background: var(--ap-white); }
@media (min-width: 992px) { .ap-wl-stage { align-self: center; } }
.ap-wl-stage { --wl-brand: #A9572A; --wl-brand-2: #7A3616; position: relative; width: 100%; max-width: 520px; margin: 0 auto; padding: 64px 0 0; }
.ap-wl-glow { position: absolute; inset: 6% 10% 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 107, 91, .22), rgba(169, 87, 42, .10) 60%, transparent); filter: blur(10px); }
/* The phone: a slim frame, side buttons, and a white wallet screen */
.ap-wl-phone { position: relative; width: 312px; max-width: 80%; margin: 0 auto; padding: 11px; border-radius: 50px; background: linear-gradient(145deg, #2A3550, #0B1B3B 40%, #050C1D); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .08), 0 2px 4px rgba(11, 27, 59, .08), 0 50px 90px -30px rgba(11, 27, 59, .55); }
.ap-wl-phone::before, .ap-wl-phone::after { content: ""; position: absolute; width: 3px; border-radius: 3px; background: #0B1B3B; }
.ap-wl-phone::before { left: -3px; top: 120px; height: 56px; }
.ap-wl-phone::after { right: -3px; top: 150px; height: 84px; }
.ap-wl-screen { position: relative; overflow: hidden; padding: 12px 12px 16px; border-radius: 40px; background: #F4F4F6; }
.ap-wl-status { display: flex; align-items: center; justify-content: space-between; height: 26px; padding: 0 14px 0 18px; font-size: 13px; font-weight: 700; color: #0B1B3B; }
.ap-wl-status > i { width: 84px; height: 24px; border-radius: 999px; background: #050C1D; }
.ap-wl-status-icons { display: inline-flex; gap: 4px; font-size: 12px; }
.ap-wl-apphead { display: flex; justify-content: space-between; align-items: center; margin: 10px 6px 10px; }
.ap-wl-apphead b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: #0B1B3B; }
.ap-wl-apphead span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #E4E5EA; color: #0B1B3B; font-size: 14px; }
/* Other cards peeking above the pass, as in a wallet */
.ap-wl-stack { position: relative; height: 58px; }
.ap-wl-peek { position: absolute; left: 0; right: 0; height: 56px; display: flex; justify-content: space-between; padding: 9px 14px; border-radius: 14px 14px 0 0; font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.ap-wl-peek-1 { top: 0; background: linear-gradient(120deg, #1C3263, #0B1B3B); }
.ap-wl-peek-2 { top: 28px; background: linear-gradient(120deg, #2C7A5B, #1F5F45); }
/* The pass */
.ap-wl-pass { position: relative; margin-top: -2px; padding: 14px 14px 14px; border-radius: 14px; color: #fff; background: linear-gradient(170deg, var(--wl-brand), var(--wl-brand-2)); box-shadow: 0 -6px 14px -8px rgba(0, 0, 0, .35); }
.ap-wl-pass-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ap-wl-brand { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; }
.ap-wl-brand span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: #fff; color: var(--wl-brand); font-size: 13px; }
.ap-wl-balance { text-align: right; font-size: 17px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.ap-wl-pass small { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.ap-wl-art { position: relative; display: flex; align-items: flex-end; justify-content: space-between; height: 104px; margin: 12px -14px; padding: 12px 16px; overflow: hidden; background:
    radial-gradient(120px 80px at 85% 20%, rgba(255, 236, 200, .55), transparent 70%),
    linear-gradient(125deg, #F7C48B 0%, #E08A47 45%, #B4572A 75%, #6F2F12 100%); }
.ap-wl-art-ring { position: absolute; right: -36px; top: -46px; width: 150px; height: 150px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .16); }
.ap-wl-art::after { content: ""; position: absolute; left: -20%; top: 0; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); transform: skewX(-18deg); }
.ap-wl-art div { position: relative; }
.ap-wl-art div small { opacity: .85; }
.ap-wl-art div b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; text-shadow: 0 1px 8px rgba(111, 47, 18, .35); }
.ap-wl-art > i { position: relative; font-size: 34px; color: rgba(255, 255, 255, .9); }
.ap-wl-row { display: flex; justify-content: space-between; gap: 10px; }
.ap-wl-row b { display: block; margin-top: 2px; font-family: var(--ap-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .02em; }
.ap-wl-row div:last-child { text-align: right; }
.ap-wl-row div:last-child b { font-family: var(--ap-font); font-size: 13px; font-weight: 600; }
.ap-wl-qr { width: 104px; height: 104px; margin: 14px auto 0; padding: 8px; border-radius: 10px; background: #fff; }
.ap-wl-qr span { display: block; width: 100%; height: 100%; background: url("../img/wallet-pass-qr.svg") center / contain no-repeat; }
.ap-wl-qr-text { margin: 6px 0 0; text-align: center; font-family: var(--ap-mono); font-size: 10px; letter-spacing: .04em; opacity: .8; }
/* Floating moments: the lock-screen notice after a spend, and the till's receipt */
.ap-wl-toast, .ap-wl-paid { position: absolute; z-index: 2; display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 20px; font-size: 12.5px; line-height: 1.35; color: var(--ap-navy-muted); box-shadow: 0 2px 4px rgba(11, 27, 59, .05), 0 24px 48px -20px rgba(11, 27, 59, .35); }
.ap-wl-toast { top: 0; left: 0; width: 270px; border: 1px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.ap-wl-toast-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(170deg, var(--wl-brand), var(--wl-brand-2)); color: #fff; font-size: 15px; }
.ap-wl-toast strong, .ap-wl-paid strong { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ap-navy); }
.ap-wl-toast em { font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--ap-navy-muted); }
.ap-wl-paid { right: -4%; bottom: 21%; border: 1px solid var(--ap-cream-line); background: var(--ap-white); }
.ap-wl-paid > span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ap-success-soft); color: var(--ap-success); font-size: 16px; }
.ap-wl-badges { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ap-wl-badges span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid var(--ap-cream-line); border-radius: 999px; background: var(--ap-white); color: var(--ap-navy); font-size: 13px; font-weight: 600; }
.ap-wl-badges i { color: var(--ap-coral-ink); }
@media (max-width: 767px) {
    .ap-wl-stage { padding-top: 58px; }
    .ap-wl-toast { top: 0; left: 50%; width: 260px; transform: translateX(-50%); }
    .ap-wl-paid { right: 0; bottom: 11%; }
}

/* Terminal app: an Android POS terminal scanning the QR in a customer's PIN email (front/index #terminal-app) */
.ap-ta-points { display: grid; gap: 16px; margin: 0 0 24px; padding: 0; list-style: none; }
.ap-ta-points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.ap-ta-points i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--ap-radius-sm); background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 18px; }
.ap-ta-points strong { display: block; margin: 2px 0 2px; font-size: var(--ap-fs-item); color: var(--ap-navy); }
.ap-ta-points span { font-size: var(--ap-fs-desc); line-height: 1.55; color: var(--ap-navy-muted); }
@media (min-width: 992px) { .ap-ta-stage { align-self: center; } }
.ap-ta-stage { position: relative; width: 100%; max-width: 520px; min-height: 640px; margin: 0 auto; }
.ap-ta-glow { position: absolute; inset: 14% 4% 6% 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(11, 27, 59, .14), rgba(255, 107, 91, .10) 55%, transparent); filter: blur(8px); }
/* The customer's phone, showing the QR from their PIN email */
.ap-ta-customer { position: absolute; z-index: 1; top: 8px; left: 0; width: 176px; padding: 7px; border-radius: 30px; background: linear-gradient(150deg, #3A4560, var(--ap-navy) 45%, #050C1D); box-shadow: 0 30px 60px -28px rgba(11, 27, 59, .55); transform: rotate(-9deg); }
.ap-ta-customer-screen { padding: 14px 12px 16px; border-radius: 24px; background: var(--ap-white); }
.ap-ta-mail-head { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.ap-ta-mail-head span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--ap-coral); color: var(--ap-white); font-size: 12px; }
.ap-ta-mail-head b { display: block; font-size: 11.5px; color: var(--ap-navy); }
.ap-ta-mail-head small { display: block; font-size: 9.5px; color: var(--ap-navy-muted); }
.ap-ta-mail-qr { aspect-ratio: 1; margin: 0 6px; border: 6px solid var(--ap-white); outline: 1px solid var(--ap-cream-line); border-radius: 6px; background: url("../img/wallet-pass-qr.svg") center / contain no-repeat; }
/* The scanner's light, from the terminal's top edge to the QR */
.ap-ta-beam { position: absolute; z-index: 2; top: 56px; left: 92px; width: 274px; height: 150px; background: linear-gradient(270deg, rgba(255, 107, 91, .55), rgba(255, 107, 91, .18) 70%, rgba(255, 107, 91, .08)); clip-path: polygon(100% 52%, 100% 56%, 0 96%, 0 4%); }
.ap-ta-beam::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; background: linear-gradient(270deg, rgba(255, 107, 91, .9), rgba(255, 107, 91, .2)); transform: translateY(-50%) rotate(-2.6deg); transform-origin: right center; }
/* The terminal */
.ap-ta-pos { position: relative; z-index: 3; width: 308px; max-width: 86%; margin: 150px 0 0 auto; padding: 22px 12px 18px; border-radius: 38px 38px 46px 46px; background: linear-gradient(160deg, #2B3652 0%, #121D36 38%, #070E20 100%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .07), inset 0 -10px 18px rgba(0, 0, 0, .35), 0 2px 4px rgba(11, 27, 59, .08), 0 60px 100px -40px rgba(11, 27, 59, .6); }
/* Scan keys on both sides, in the brand coral */
.ap-ta-pos::before, .ap-ta-pos::after { content: ""; position: absolute; top: 190px; width: 5px; height: 54px; border-radius: 5px; background: linear-gradient(180deg, var(--ap-coral), var(--ap-coral-ink)); }
.ap-ta-pos::before { right: -5px; }
.ap-ta-pos::after { left: -5px; }
/* The raised scanner head, its window lit while scanning */
.ap-ta-scanwin { position: absolute; top: -16px; left: 50%; width: 132px; height: 24px; border-radius: 14px 14px 4px 4px; background: linear-gradient(180deg, #2B3652, #121D36); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); transform: translateX(-50%); }
.ap-ta-scanwin::after { content: ""; position: absolute; top: 6px; left: 24px; right: 24px; height: 8px; border-radius: 4px; background: linear-gradient(180deg, #FF8A7D, #C2412F); box-shadow: 0 0 14px rgba(255, 107, 91, .9), 0 0 3px rgba(255, 107, 91, 1); }
.ap-ta-screen { overflow: hidden; border-radius: 22px; background: var(--ap-cream); }
.ap-ta-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--ap-white); border-bottom: 1px solid var(--ap-cream-line); }
.ap-ta-bar b { display: block; font-size: 13.5px; color: var(--ap-navy); }
.ap-ta-bar small { display: block; font-size: 11px; color: var(--ap-navy-muted); }
.ap-ta-body { padding: 12px; }
.ap-ta-code { position: relative; padding: 9px 12px; border: 2px solid var(--ap-success); border-radius: 12px; background: var(--ap-white); }
.ap-ta-code small, .ap-ta-pin small { display: block; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-navy-muted); }
.ap-ta-code b { display: block; margin-top: 2px; font-family: var(--ap-mono); font-size: 16px; font-weight: 600; letter-spacing: .03em; color: var(--ap-navy); }
.ap-ta-code i { position: absolute; right: 12px; top: 50%; color: var(--ap-success); font-size: 18px; transform: translateY(-50%); }
.ap-ta-pin { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 10px; padding: 12px; border-radius: 14px; background: var(--ap-navy); color: var(--ap-white); }
.ap-ta-pin b { display: block; font-size: 14px; }
.ap-ta-pin small { margin-top: 3px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ap-on-dark-mute); }
.ap-ta-pin-bal { text-align: right; font-size: 17px; font-weight: 800; }
.ap-ta-pin-bal small { margin: 0; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ap-ta-sum { margin-top: 10px; padding: 4px 12px; border: 1px solid var(--ap-cream-line); border-radius: 14px; background: var(--ap-white); }
.ap-ta-sum div { display: flex; justify-content: space-between; padding: 7px 0; font-size: 12px; color: var(--ap-navy-muted); }
.ap-ta-sum div + div { border-top: 1px solid var(--ap-cream-line); }
.ap-ta-sum b { color: var(--ap-navy); font-weight: 600; }
.ap-ta-sum-total span, .ap-ta-sum-total b { font-weight: 800 !important; color: var(--ap-navy); }
.ap-ta-btn { display: flex; align-items: center; justify-content: center; height: 44px; margin-top: 12px; border-radius: 12px; background: var(--ap-navy); color: var(--ap-white); font-size: 14px; font-weight: 700; }
.ap-ta-nav { display: flex; justify-content: space-around; padding: 8px 0 10px; background: var(--ap-white); border-top: 1px solid var(--ap-cream-line); }
.ap-ta-nav span { display: grid; justify-items: center; gap: 2px; min-width: 76px; padding: 4px 0; border-radius: 999px; font-size: 10.5px; font-weight: 600; color: var(--ap-navy-muted); }
.ap-ta-nav span i { font-size: 15px; }
.ap-ta-nav span.active { background: var(--ap-coral-soft); color: var(--ap-navy); }
/* The grip below the screen, with a speaker grille */
.ap-ta-home { width: 72px; height: 10px; margin: 20px auto 6px; background: radial-gradient(circle, rgba(255, 255, 255, .22) 1.2px, transparent 1.6px) 0 0 / 8px 5px; }
/* Floating moments */
.ap-ta-chip { position: absolute; z-index: 4; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid var(--ap-cream-line); border-radius: 18px; background: var(--ap-white); box-shadow: 0 2px 4px rgba(11, 27, 59, .05), 0 24px 48px -20px rgba(11, 27, 59, .35); font-size: 12px; line-height: 1.35; color: var(--ap-navy-muted); }
.ap-ta-chip strong { display: block; font-size: 13px; color: var(--ap-navy); }
.ap-ta-chip > span { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 15px; }
.ap-ta-chip-scan { top: 64px; right: 0; }
.ap-ta-chip-scan > span { background: var(--ap-success-soft); color: var(--ap-success); }
.ap-ta-chip-day { bottom: 48px; left: 0; }
.ap-ta-chip-day > span { border-radius: 10px; background: var(--ap-coral-soft); color: var(--ap-coral-ink); }
/* Cash-outs (only rendered while they are switched on) */
.ap-ta-cash { display: grid; gap: 20px; margin-top: 56px; padding: 24px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-cream); }
.ap-ta-cash-intro { display: flex; gap: 16px; align-items: flex-start; }
.ap-ta-cash-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ap-navy); color: var(--ap-white); font-size: 22px; }
.ap-ta-cash h3 { margin: 2px 0 6px; font-size: 19px; font-weight: 700; color: var(--ap-navy); }
.ap-ta-cash p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ap-navy-muted); }
.ap-ta-cash-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ap-ta-cash-steps li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--ap-radius-sm); background: var(--ap-white); font-size: 14px; line-height: 1.45; color: var(--ap-navy); }
.ap-ta-cash-steps b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 13px; }
@media (min-width: 992px) { .ap-ta-cash { grid-template-columns: 1fr 1.2fr; align-items: center; padding: 28px 32px; } }
@media (max-width: 767px) {
    .ap-ta-stage { min-height: 0; padding-bottom: 8px; }
    .ap-ta-customer { width: 132px; padding: 6px; border-radius: 24px; }
    .ap-ta-customer-screen { padding: 10px 9px 12px; border-radius: 19px; }
    .ap-ta-pos { width: 272px; margin-top: 120px; }
    .ap-ta-code b { font-size: 14px; }
    .ap-ta-pin-bal { font-size: 15px; }
    .ap-ta-beam { top: 40px; left: 66px; width: calc(100% - 202px); height: 120px; }
    .ap-ta-chip-scan { top: 30px; }
    .ap-ta-chip-day { position: relative; bottom: auto; width: max-content; max-width: 100%; margin: -24px auto 0; }
}

/* Rewards (front/index #rewards): a finished bulk send and the email one person received */
.ap-rw-uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 0 0 24px; padding: 0; list-style: none; }
.ap-rw-uses li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ap-navy); }
.ap-rw-uses i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: var(--ap-radius-sm); background: var(--ap-white); border: 1px solid var(--ap-cream-line); color: var(--ap-coral-ink); font-size: 15px; }
#rewards .ap-pc-note { margin-top: 18px; background: var(--ap-white); }
@media (min-width: 992px) { .ap-rw-stage { align-self: center; } }
.ap-rw-stage { position: relative; width: 100%; max-width: 500px; margin: 0 auto; padding: 0 0 84px; }
.ap-rw-panel { padding: 22px; border: 1px solid var(--ap-cream-line); border-radius: 20px; background: var(--ap-white); box-shadow: var(--ap-shadow-lg); }
.ap-rw-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ap-rw-head strong { display: block; font-size: 16px; color: var(--ap-navy); }
.ap-rw-head span { font-size: 12.5px; color: var(--ap-navy-muted); }
.ap-rw-done { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--ap-success-soft); color: var(--ap-success) !important; font-weight: 700; }
.ap-rw-bar { height: 8px; margin: 16px 0 10px; border-radius: 999px; background: var(--ap-cream-2); overflow: hidden; }
.ap-rw-bar span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--ap-success); }
.ap-rw-facts { display: flex; gap: 18px; font-size: 13px; color: var(--ap-navy-muted); }
.ap-rw-facts b { color: var(--ap-navy); }
.ap-rw-rows { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.ap-rw-rows li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--ap-cream); }
.ap-rw-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ap-navy); color: #fff; font-size: 12px; font-weight: 700; }
.ap-rw-rows strong { display: block; font-size: 13.5px; color: var(--ap-navy); }
.ap-rw-rows small { font-size: 12px; color: var(--ap-navy-muted); }
.ap-rw-rows code { font-family: var(--ap-mono); font-size: 12px; color: var(--ap-navy); background: none; padding: 0; }
.ap-rw-mail { position: absolute; left: -6%; bottom: 0; display: flex; gap: 12px; align-items: center; width: 300px; padding: 14px 16px; border: 1px solid var(--ap-cream-line); border-radius: 18px; background: var(--ap-white); box-shadow: var(--ap-shadow-lg); font-size: 12.5px; color: var(--ap-navy-muted); }
.ap-rw-mail-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 18px; }
.ap-rw-mail strong { display: block; font-size: 13.5px; color: var(--ap-navy); }
@media (max-width: 767px) {
    .ap-rw-uses { grid-template-columns: 1fr; }
    .ap-rw-stage { padding-bottom: 0; }
    .ap-rw-mail { position: relative; left: auto; width: auto; margin: -14px 12px 0; }
    .ap-rw-rows code { display: none; }
    .ap-rw-rows li { grid-template-columns: 34px minmax(0, 1fr); }
}

/* Brands page (front/brands): a card per brand with its gift cards and the reseller stores that sell them */
[x-cloak] { display: none !important; }
.ap-br { padding-top: 24px; }
.ap-br-list { display: grid; gap: 16px; }
.ap-br-row { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: 28px; padding: 24px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); box-shadow: var(--ap-shadow); }
.ap-br-side { min-width: 0; }
.ap-br-body { display: flex; flex-direction: column; min-width: 0; }
.ap-br-head { display: flex; align-items: center; gap: 14px; }
.ap-br-logo { flex: none; display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border: 1px solid var(--ap-cream-line); border-radius: 16px; background: var(--ap-white); }
.ap-br-logo img { width: 100%; height: 100%; object-fit: contain; }
.ap-br-logo span { font-size: 26px; font-weight: 700; color: var(--ap-coral-ink); }
.ap-br-name { min-width: 0; }
.ap-br-name h2 { margin: 0; font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; color: var(--ap-navy); }
.ap-br-name a { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; color: var(--ap-navy-muted); text-decoration: none; }
.ap-br-name a:hover { color: var(--ap-coral-ink); }
.ap-br-name a i { font-size: 11px; }
.ap-br-products { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.ap-br-products li { padding: 4px 10px; border-radius: 999px; background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 12.5px; font-weight: 600; }
.ap-br-where { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 2px 0 10px; }
.ap-br-where span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-navy-muted); }
.ap-br-where b { font-size: 13px; font-weight: 600; color: var(--ap-navy-muted); }
.ap-br-stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.ap-br-stores li { display: flex; }
.ap-br-stores li > a { flex: 1; }
.ap-br-stores a { display: grid; grid-template-columns: 18px 1fr 16px; gap: 10px; align-items: start; padding: 11px 12px; border: 1px solid transparent; border-radius: var(--ap-radius-sm); background: var(--ap-cream); color: inherit; text-decoration: none; transition: border-color .15s, background .15s; }
.ap-br-stores a:hover, .ap-br-stores a:focus-visible { border-color: var(--ap-navy); background: var(--ap-white); outline: 0; }
.ap-br-stores a > i:first-child { margin-top: 2px; color: var(--ap-coral-ink); }
.ap-br-store { min-width: 0; }
.ap-br-store strong { display: block; font-size: 14.5px; color: var(--ap-navy); }
.ap-br-store small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--ap-navy-muted); }
.ap-br-store .ap-br-by { font-size: 12px; }
.ap-br-go { margin-top: 3px; font-size: 13px; color: var(--ap-navy-muted); }
.ap-br-stores a:hover .ap-br-go { color: var(--ap-navy); }
.ap-br-more { align-self: flex-start; margin-top: 10px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ap-navy); text-decoration: underline; text-decoration-color: var(--ap-coral-line); text-underline-offset: 4px; cursor: pointer; }
.ap-br-none { margin: 0; padding: 12px; border-radius: var(--ap-radius-sm); background: var(--ap-cream); font-size: 14px; color: var(--ap-navy-muted); }
.ap-br-empty { margin: 8px 0 0; padding: 28px; border: 1px dashed var(--ap-cream-line); border-radius: var(--ap-radius); text-align: center; color: var(--ap-navy-muted); }
.ap-br-note { margin-top: 24px; }
.ap-br-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 40px; padding: 28px; border-radius: var(--ap-radius); background: var(--ap-cream); }
@media (max-width: 991px) { .ap-br-row { grid-template-columns: 1fr; gap: 18px; } .ap-br-body { padding-top: 16px; border-top: 1px solid var(--ap-cream-line); } }
@media (max-width: 575px) { .ap-br-row { padding: 18px; } .ap-br-stores { grid-template-columns: 1fr; } .ap-br-cta { padding: 22px; } }
/* A prepared brand's claim page (front/claim): intro + their card, what's ready, how claiming works */
.ap-cl { padding-bottom: 32px; }
.ap-cl-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.ap-cl-intro .ap-h1 { font-size: clamp(34px, 5vw, 54px); }
.ap-cl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.ap-cl-note { font-size: 14px; color: var(--ap-navy-muted); }
.ap-cl-card-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ap-cl-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 100%; max-width: 400px; aspect-ratio: 1.586; padding: 24px; border-radius: 20px; background: linear-gradient(135deg, var(--ap-navy), #23345E) center / cover no-repeat; color: var(--ap-white); box-shadow: 0 30px 60px rgba(11, 27, 59, .28); transform: rotate(-3deg); }
.ap-cl-card-logo { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 16px; background: var(--ap-white); }
.ap-cl-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.ap-cl-card-logo span { font-size: 22px; font-weight: 700; color: var(--ap-navy); }
.ap-cl-card-name { font-size: 22px; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ap-cl-card-foot { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ap-coral-line); }
.ap-cl-pass img { display: block; height: auto; }
.ap-cl-ready { padding-top: 32px; }
.ap-cl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.ap-cl-list li { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); }
.ap-cl-list li > i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--ap-radius-sm); background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 20px; }
.ap-cl-list strong { display: block; margin-bottom: 4px; font-size: 16px; color: var(--ap-navy); }
.ap-cl-list span { font-size: 14.5px; line-height: 1.55; color: var(--ap-navy-muted); }
.ap-cl-list a { display: block; margin-top: 4px; color: var(--ap-navy); font-weight: 600; overflow-wrap: anywhere; }
.ap-cl-steps-title { margin-top: 56px; }
.ap-cl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: cl; }
.ap-cl-steps li { counter-increment: cl; padding: 22px; border-radius: var(--ap-radius); background: var(--ap-cream); }
.ap-cl-steps li::before { content: counter(cl); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 50%; background: var(--ap-navy); color: var(--ap-white); font-weight: 700; font-size: 14px; }
.ap-cl-steps strong { display: block; margin-bottom: 4px; color: var(--ap-navy); }
.ap-cl-steps span { font-size: 14.5px; line-height: 1.55; color: var(--ap-navy-muted); }
@media (max-width: 991px) { .ap-cl-grid { grid-template-columns: 1fr; gap: 40px; } .ap-cl-steps { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .ap-cl-list { grid-template-columns: 1fr; } .ap-cl-card { transform: none; } }

/* Prepared brands: Joining soon (claimed) and Not on AfroPin yet (name only, with claim and remove) */
.ap-br-group { margin-top: 48px; }
.ap-br-group > .ap-body { margin: 6px 0 18px; color: var(--ap-navy-muted); max-width: 680px; }
.ap-br-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ap-br-tile { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); }
.ap-br-tile .ap-br-logo { width: 52px; height: 52px; border-radius: 14px; }
.ap-br-tile-quiet { background: var(--ap-cream); box-shadow: none; }
.ap-br-initials { background: var(--ap-white); }
.ap-br-initials span { font-size: 17px; letter-spacing: .02em; color: var(--ap-navy-muted); }
.ap-br-tile-text { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.ap-br-tile-text strong { font-size: 15.5px; color: var(--ap-navy); overflow-wrap: anywhere; }
.ap-br-tile-text small { font-size: 13px; color: var(--ap-navy-muted); }
.ap-br-pill { padding: 2px 9px; border-radius: 999px; background: var(--ap-coral-soft); font-size: 12px; font-weight: 600; color: var(--ap-coral-ink); }
.ap-br-pill-quiet { background: var(--ap-white); border: 1px solid var(--ap-cream-line); color: var(--ap-navy-muted); }
.ap-br-tile-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.ap-br-tile-links button { padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ap-navy); text-decoration: underline; text-decoration-color: var(--ap-coral-line); text-underline-offset: 3px; cursor: pointer; }
.ap-br-tile-links button + button { color: var(--ap-navy-muted); font-weight: 500; }
.ap-br-done { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 14px 16px; border-radius: var(--ap-radius-sm); background: #E9F6EE; color: #17603A; font-size: 14.5px; }
.ap-br-dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 24px; border: 0; border-radius: var(--ap-radius); background: var(--ap-white); color: var(--ap-ink); box-shadow: 0 24px 60px rgba(11, 27, 59, .25); }
.ap-br-dialog::backdrop { background: rgba(11, 27, 59, .45); }
.ap-br-dialog .ap-body { margin: 0 0 16px; font-size: 14.5px; color: var(--ap-navy-muted); }
.ap-br-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.ap-br-dialog-head h3 { margin: 0; font-size: 20px; color: var(--ap-navy); overflow-wrap: anywhere; }
.ap-br-x { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ap-cream); color: var(--ap-navy); cursor: pointer; }
.ap-br-dialog textarea { width: 100%; padding: 12px 14px; border: 1px solid #DCD3C4; border-radius: var(--ap-radius-sm); font: inherit; font-size: 15px; resize: vertical; }
.ap-br-dialog textarea:focus { outline: none; border-color: var(--ap-navy); box-shadow: 0 0 0 3px rgba(11, 27, 59, .1); }

/* =====================================================================
   Error pages (resources/views/errors): standalone, no theme bundles
   ===================================================================== */
.ap-errpage {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--ap-font);
    color: var(--ap-ink);
    background:
        radial-gradient(900px 480px at 50% -10%, var(--ap-coral-soft), transparent 70%),
        var(--ap-cream);
    -webkit-font-smoothing: antialiased;
}
.ap-errpage *, .ap-errpage *::before, .ap-errpage *::after { box-sizing: border-box; }
.ap-errpage-top { padding: 24px 16px 0; display: flex; justify-content: center; }
@media (min-width: 768px) { .ap-errpage-top { padding: 32px 32px 0; justify-content: flex-start; } }
.ap-errpage-brand { display: inline-flex; align-items: center; color: var(--ap-navy); font-weight: 700; font-size: 18px; text-decoration: none; }
.ap-errpage-brand img { height: 32px; width: auto; display: block; }

.ap-errpage-main {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    overflow: hidden;
}
.ap-errpage-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    font-family: var(--ap-mono);
    font-size: clamp(160px, 34vw, 380px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--ap-cream-line);
    pointer-events: none;
    user-select: none;
}
.ap-errpage-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 40px 28px 32px;
    text-align: center;
    background: var(--ap-white);
    border: 1px solid var(--ap-cream-line);
    border-radius: var(--ap-radius);
    box-shadow: var(--ap-shadow-lg);
}
@media (min-width: 576px) { .ap-errpage-card { padding: 48px 44px 40px; } }
.ap-errpage-badge {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 28px;
}
.ap-errpage-badge.tone-coral { background: var(--ap-coral-soft); color: var(--ap-coral-ink); box-shadow: inset 0 0 0 1px var(--ap-coral-line); }
.ap-errpage-badge.tone-navy { background: var(--ap-navy); color: var(--ap-white); }
.ap-errpage-code {
    margin: 0 0 8px;
    font-family: var(--ap-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ap-coral-ink);
}
.ap-errpage-title { margin: 0 0 12px; font-size: clamp(22px, 4.5vw, 28px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--ap-navy); }
.ap-errpage-text { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: var(--ap-navy-muted); }
.ap-errpage-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
@media (min-width: 576px) { .ap-errpage-actions { flex-direction: row; justify-content: center; } }
.ap-errpage-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid var(--ap-navy);
    background: var(--ap-navy);
    color: var(--ap-white);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.ap-errpage-btn:hover { background: var(--ap-navy-3); border-color: var(--ap-navy-3); color: var(--ap-white); }
.ap-errpage-btn:focus-visible { outline: 3px solid var(--ap-coral); outline-offset: 2px; }
.ap-errpage-btn-ghost { background: var(--ap-white); color: var(--ap-navy); border-color: var(--ap-cream-line); }
.ap-errpage-btn-ghost:hover { background: var(--ap-cream); border-color: var(--ap-coral-line); color: var(--ap-navy); }
.ap-errpage-help { position: relative; margin: 24px 0 0; font-size: 14px; color: var(--ap-navy-muted); text-align: center; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ap-errpage-help a { color: var(--ap-coral-ink); font-weight: 600; text-decoration: none; }
.ap-errpage-help a:hover { text-decoration: underline; }
.ap-errpage-foot { padding: 0 16px 24px; text-align: center; font-size: 13px; color: var(--ap-navy-muted); }

/* =====================================================================
   Content pages: help centre (ap-kb), blog (ap-news, ap-post, ap-story), press, contact
   ===================================================================== */
.ap-kb, .ap-news, .ap-story, .ap-contact, .ap-tabs, .ap-cta-band, .ap-news-ranked { font-family: var(--ap-font); color: var(--ap-ink); }
.ap-kb { padding: 56px 0 88px; }
.ap-kb-layout { display: grid; gap: 40px; }
@media (min-width: 992px) { .ap-kb-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } }
.ap-kb-heading { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-navy-muted); }
* + .ap-kb-heading { margin-top: 40px; }

/* Topic directory */
.ap-kb-topics { display: grid; gap: 16px; }
@media (min-width: 768px) { .ap-kb-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ap-kb-topic { display: flex; flex-direction: column; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius-sm); background: var(--ap-white); overflow: hidden; }
.ap-kb-topic-head { display: flex; align-items: center; gap: 14px; padding: 18px; text-decoration: none; color: var(--ap-navy); transition: background .15s; }
.ap-kb-topic-head:hover { background: var(--ap-cream); color: var(--ap-navy); }
.ap-kb-topic-head > i { margin-left: auto; color: var(--ap-navy-muted); transition: transform .15s, color .15s; }
.ap-kb-topic-head:hover > i { transform: translateX(3px); color: var(--ap-coral-ink); }
.ap-kb-topic-ic { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 19px; overflow: hidden; }
.ap-kb-topic-ic img { width: 26px; height: 26px; object-fit: contain; }
.ap-kb-topic-name { display: flex; flex-direction: column; min-width: 0; }
.ap-kb-topic-name strong { font-size: 16px; line-height: 1.3; }
.ap-kb-topic-name small { font-size: 13px; color: var(--ap-navy-muted); }
.ap-kb-topic-list { margin: 0; padding: 4px 18px 16px 76px; list-style: none; border-top: 1px dashed var(--ap-cream-line); }
.ap-kb-topic-list li { padding-top: 10px; }
.ap-kb-topic-list a { font-size: 14px; line-height: 1.45; color: var(--ap-navy-muted); text-decoration: none; }
.ap-kb-topic-list a:hover { color: var(--ap-coral-ink); text-decoration: none; }

/* Side panels */
.ap-kb-aside { display: grid; gap: 16px; }
@media (min-width: 992px) { .ap-kb-aside { position: sticky; top: 110px; } }
.ap-kb-panel { padding: 22px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius-sm); background: var(--ap-cream); }
.ap-kb-panel p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--ap-navy-muted); }
.ap-kb-panel-title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--ap-navy); }
.ap-kb-panel-title i { color: var(--ap-coral-ink); }
.ap-kb-panel-navy { border-color: var(--ap-navy); background: var(--ap-navy); }
.ap-kb-panel-navy .ap-kb-panel-title { color: var(--ap-white); }
.ap-kb-panel-navy p { color: var(--ap-on-dark); }
.ap-link-light { color: var(--ap-white) !important; }
.ap-link-light:hover { color: var(--ap-coral) !important; }
.ap-kb-ranked { margin: 0; padding: 0; list-style: none; counter-reset: rank; }
.ap-kb-ranked li { counter-increment: rank; display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--ap-cream-line); }
.ap-kb-ranked li:first-child { border-top: 0; padding-top: 0; }
.ap-kb-ranked li::before { content: counter(rank, decimal-leading-zero); font-family: var(--ap-mono); font-size: 12.5px; line-height: 1.6; color: var(--ap-coral-ink); }
.ap-kb-ranked a { font-size: 14.5px; line-height: 1.45; font-weight: 500; color: var(--ap-navy); text-decoration: none; }
.ap-kb-ranked a:hover { color: var(--ap-coral-ink); text-decoration: none; }
.ap-kb-nav { margin: 0; padding: 0; list-style: none; }
.ap-kb-nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--ap-cream-line); font-size: 14.5px; color: var(--ap-navy); text-decoration: none; }
.ap-kb-nav li:first-child a { border-top: 0; padding-top: 0; }
.ap-kb-nav a i { font-size: 11px; color: var(--ap-navy-muted); }
.ap-kb-nav a:hover { color: var(--ap-coral-ink); }

/* Article rows on a topic page */
.ap-kb-rows { margin: 0; padding: 0; list-style: none; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius-sm); background: var(--ap-white); overflow: hidden; }
.ap-kb-rows li + li { border-top: 1px solid var(--ap-cream-line); }
.ap-kb-rows a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-decoration: none; transition: background .15s; }
.ap-kb-rows a:hover { background: var(--ap-cream); }
.ap-kb-rows span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ap-kb-rows strong { font-size: 16px; line-height: 1.35; color: var(--ap-navy); }
.ap-kb-rows small { font-size: 14px; line-height: 1.5; color: var(--ap-navy-muted); }
.ap-kb-rows i { margin-left: auto; color: var(--ap-navy-muted); }
.ap-kb-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 20px; border: 1px dashed var(--ap-cream-line); border-radius: var(--ap-radius-sm); text-align: center; color: var(--ap-navy-muted); font-size: 14.5px; }
.ap-kb-empty i { font-size: 26px; color: var(--ap-coral-ink); }
.ap-kb-empty strong { font-size: 16px; color: var(--ap-navy); }
.ap-kb-empty a { color: var(--ap-navy); font-weight: 600; }

/* Help article: topic rail beside the text */
.ap-kb-read { display: grid; gap: 32px; }
@media (min-width: 992px) { .ap-kb-read { grid-template-columns: 250px minmax(0, 720px); gap: 64px; } }
.ap-kb-rail { align-self: start; }
@media (min-width: 992px) { .ap-kb-rail { position: sticky; top: 110px; } }
.ap-kb-rail-title { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-navy-muted); }
.ap-kb-rail ul { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--ap-cream-line); }
.ap-kb-rail a { display: block; margin-left: -2px; padding: 7px 0 7px 14px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--ap-navy-muted); text-decoration: none; }
.ap-kb-rail a:hover { color: var(--ap-navy); }
.ap-kb-rail a.is-current { border-left-color: var(--ap-coral); color: var(--ap-navy); font-weight: 600; }
@media (max-width: 991px) { .ap-kb-rail { order: 2; } }
.ap-kb-after { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ap-cream-line); }

/* Rich text from the admin (help answers and blog posts) */
.ap-prose { font-size: 16.5px; line-height: 1.75; color: var(--ap-ink); white-space: normal; overflow-wrap: break-word; }
.ap-prose > :first-child { margin-top: 0; }
.ap-prose p { margin: 0 0 1.1em; }
.ap-prose h2 { margin: 1.8em 0 .6em; font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; color: var(--ap-navy); }
.ap-prose h3, .ap-prose h4 { margin: 1.6em 0 .5em; font-size: 19px; line-height: 1.35; font-weight: 700; color: var(--ap-navy); }
.ap-prose ul, .ap-prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.ap-prose li { margin-bottom: .5em; }
.ap-prose li::marker { color: var(--ap-coral-ink); }
.ap-prose a { color: var(--ap-navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--ap-coral); text-underline-offset: 3px; }
.ap-prose strong { color: var(--ap-navy); }
.ap-prose img { max-width: 100%; height: auto; border-radius: var(--ap-radius-sm); }
.ap-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ap-coral); font-size: 18px; color: var(--ap-navy); }
.ap-prose code { padding: 1px 6px; border-radius: 6px; background: var(--ap-cream); font-family: var(--ap-mono); font-size: .88em; color: var(--ap-navy); }
.ap-prose pre { padding: 16px; border-radius: var(--ap-radius-sm); background: var(--ap-navy); color: var(--ap-on-dark); overflow-x: auto; }
.ap-prose pre code { padding: 0; background: none; color: inherit; }
.ap-prose table { width: 100%; margin: 0 0 1.2em; border-collapse: collapse; font-size: 15px; }
.ap-prose th, .ap-prose td { padding: 10px 12px; border: 1px solid var(--ap-cream-line); text-align: left; }
.ap-prose th { background: var(--ap-cream); color: var(--ap-navy); }

/* Was this helpful? */
.ap-vote { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 40px; padding: 18px 20px; border-radius: var(--ap-radius-sm); background: var(--ap-cream); }
.ap-vote-q { margin: 0; font-size: 15px; font-weight: 600; color: var(--ap-navy); }
.ap-vote-btns { display: flex; gap: 8px; }
.ap-vote-btns button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: 1px solid var(--ap-cream-line); border-radius: 999px; background: var(--ap-white); font: inherit; font-size: 14px; font-weight: 600; color: var(--ap-navy); cursor: pointer; transition: border-color .15s, background .15s; }
.ap-vote-btns button:hover { border-color: var(--ap-navy); }
.ap-vote-btns button.is-on { border-color: var(--ap-navy); background: var(--ap-navy); color: var(--ap-white); }
.ap-vote-count { margin: 0 0 0 auto; font-size: 13px; color: var(--ap-navy-muted); }

/* Live search (help centre and blog) */
.ap-search { position: relative; width: 100%; max-width: 620px; }
.ap-page-hero.is-center .ap-search { margin: 0 auto; text-align: left; }
.ap-search .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ap-search-box { display: flex; align-items: center; gap: 12px; height: 58px; margin: 0; padding: 0 18px; border: 1px solid var(--ap-cream-line); border-radius: 16px; background: var(--ap-white); box-shadow: var(--ap-shadow); cursor: text; transition: border-color .15s, box-shadow .15s; }
.ap-search-box:focus-within { border-color: var(--ap-navy); box-shadow: 0 0 0 4px rgba(11, 27, 59, .08); }
.ap-search-box > i { font-size: 18px; color: var(--ap-navy-muted); }
.ap-search-box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ap-navy); }
.ap-search-box input::placeholder { color: #8A92A6; }
.ap-search-box input::-webkit-search-cancel-button { cursor: pointer; }
.ap-search-sm { max-width: 460px; }
.ap-search-sm .ap-search-box { height: 50px; border-radius: 14px; }
.ap-search-spin { width: 16px; height: 16px; border: 2px solid var(--ap-cream-line); border-top-color: var(--ap-navy); border-radius: 50%; animation: ap-spin .7s linear infinite; }
@keyframes ap-spin { to { transform: rotate(360deg); } }
.ap-search-panel { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); max-height: min(440px, 70vh); overflow-y: auto; border: 1px solid var(--ap-cream-line); border-radius: 16px; background: var(--ap-white); box-shadow: var(--ap-shadow-lg); }
.ap-search-head { margin: 0; padding: 12px 18px 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-navy-muted); }
.ap-search-list { margin: 0; padding: 0 6px 6px; list-style: none; }
.ap-search-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.ap-search-list a:hover, .ap-search-list a:focus-visible { background: var(--ap-cream); outline: 0; }
.ap-search-list a > i { flex: 0 0 auto; font-size: 17px; color: var(--ap-coral-ink); }
.ap-search-list img { flex: 0 0 52px; width: 52px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--ap-cream); }
.ap-search-list span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ap-search-list strong { font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ap-navy); }
.ap-search-list small { font-size: 13px; line-height: 1.4; color: var(--ap-navy-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-search-list mark { padding: 0 1px; border-radius: 3px; background: var(--ap-coral-soft); color: inherit; }
.ap-search-none { display: flex; flex-direction: column; gap: 4px; padding: 18px; font-size: 14px; color: var(--ap-navy-muted); }
.ap-search-none strong { color: var(--ap-navy); }
.ap-search-none a { color: var(--ap-navy); font-weight: 600; }

/* Closing contact band */
.ap-cta-band { padding: 0 0 88px; }
.ap-cta-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 32px; border-radius: var(--ap-radius); background: radial-gradient(520px 260px at 100% 0%, rgba(255, 107, 91, .28), transparent 70%), var(--ap-navy); }
@media (min-width: 768px) { .ap-cta-band-in { padding: 40px 48px; } }
.ap-cta-band h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 28px); font-weight: 700; letter-spacing: -.02em; color: var(--ap-white); }
.ap-cta-band p { margin: 0; font-size: 15.5px; color: var(--ap-on-dark); }

/* Blog: category tabs, lead post, grid */
.ap-tabs { position: relative; border-bottom: 1px solid var(--ap-cream-line); background: var(--ap-white); }
.ap-tabs-scroll { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.ap-tabs-scroll::-webkit-scrollbar { display: none; }
.ap-tabs a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 18px 0 16px; border-bottom: 2px solid transparent; font-size: 14.5px; font-weight: 600; color: var(--ap-navy-muted); text-decoration: none; white-space: nowrap; }
.ap-tabs a:hover { color: var(--ap-navy); }
.ap-tabs a.is-active { border-bottom-color: var(--ap-coral); color: var(--ap-navy); }
.ap-tabs a span { font-family: var(--ap-mono); font-size: 12px; font-weight: 500; color: var(--ap-navy-muted); }
.ap-news { padding: 48px 0 88px; }
.ap-news-heading { margin: 0 0 20px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-navy-muted); }
.ap-post-lead + .ap-news-heading { margin-top: 56px; }
.ap-news-headrow { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.ap-news-headrow .ap-news-heading { margin: 0; }
.ap-news-grid { display: grid; gap: 28px; }
@media (min-width: 640px) { .ap-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .ap-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; } }
.ap-post { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ap-navy); }
.ap-post-img { display: block; aspect-ratio: 16 / 10; border-radius: var(--ap-radius-sm); background: var(--ap-cream); overflow: hidden; }
.ap-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ap-post:hover .ap-post-img img { transform: scale(1.03); }
.ap-post-body { display: flex; flex-direction: column; gap: 8px; }
.ap-post-cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-coral-ink); }
.ap-post-title { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.ap-post:hover { color: var(--ap-navy); text-decoration: none; }
.ap-post-title { transition: color .2s ease; }
.ap-post:hover .ap-post-title { color: var(--ap-coral-ink); }
.ap-post-excerpt { font-size: 14.5px; line-height: 1.6; color: var(--ap-navy-muted); }
.ap-post-meta { font-size: 13px; color: var(--ap-navy-muted); }
.ap-post-lead { display: grid; gap: 24px; }
@media (min-width: 992px) { .ap-post-lead { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; } }
.ap-post-lead .ap-post-img { aspect-ratio: 16 / 9; border-radius: var(--ap-radius); }
.ap-post-lead .ap-post-title { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -.02em; }
.ap-post-lead .ap-post-excerpt { font-size: 16px; }
.ap-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ap-cream-line); font-size: 14.5px; }
.ap-pager a, .ap-pager .is-off { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ap-navy); text-decoration: none; }
.ap-pager a:hover { color: var(--ap-coral-ink); }
.ap-pager .is-off { color: var(--ap-cream-line); }
.ap-pager-at { color: var(--ap-navy-muted); }
.ap-news-ranked { padding: 56px 0; background: var(--ap-cream); }
.ap-news-ranked ol { display: grid; gap: 0 32px; margin: 0; padding: 0; list-style: none; counter-reset: rank; }
@media (min-width: 768px) { .ap-news-ranked ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ap-news-ranked li { counter-increment: rank; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--ap-cream-line); }
.ap-news-ranked li::before { content: counter(rank, decimal-leading-zero); font-family: var(--ap-mono); font-size: 22px; line-height: 1.2; color: var(--ap-coral-ink); }
.ap-news-ranked a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.ap-news-ranked strong { font-size: 16.5px; line-height: 1.35; color: var(--ap-navy); }
.ap-news-ranked a:hover { text-decoration: none; }
.ap-news-ranked a:hover strong { color: var(--ap-coral-ink); }
.ap-news-ranked small { font-size: 13px; color: var(--ap-navy-muted); }

/* Blog post */
.ap-story { padding: 48px 0 24px; }
.ap-story-cover { max-width: 960px; margin: 0 auto 48px; border-radius: var(--ap-radius); overflow: hidden; background: var(--ap-cream); }
.ap-story-cover img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.ap-story-body, .ap-story-foot { max-width: 720px; margin-left: auto; margin-right: auto; }
.ap-story-body { font-size: 17.5px; }
.ap-story-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ap-cream-line); font-size: 14.5px; font-weight: 600; color: var(--ap-navy); }
.ap-news-more { padding-top: 40px; border-top: 1px solid var(--ap-cream-line); }

/* Press */
.ap-press { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ap-cream-line); }
.ap-press li { border-bottom: 1px solid var(--ap-cream-line); }
.ap-press a { display: flex; align-items: center; gap: 20px; padding: 22px 4px; text-decoration: none; }
.ap-press-text { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.ap-press small { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ap-coral-ink); }
.ap-press strong { font-size: 19px; line-height: 1.35; font-weight: 700; color: var(--ap-navy); }
.ap-press a:hover { text-decoration: none; }
.ap-press a:hover strong { color: var(--ap-coral-ink); }
.ap-press img { flex: 0 0 120px; width: 120px; height: 80px; border-radius: 10px; object-fit: cover; }
.ap-press a > i { color: var(--ap-navy-muted); }
@media (max-width: 575px) { .ap-press img { display: none; } }
.ap-facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0 0 18px; font-size: 14px; }
.ap-facts dt { font-weight: 600; color: var(--ap-navy-muted); }
.ap-facts dd { margin: 0; color: var(--ap-navy); }
.ap-facts a { color: var(--ap-navy); font-weight: 600; word-break: break-all; }
.ap-btn-block { width: 100%; }

/* Contact */
.ap-contact { padding: 56px 0 88px; }
.ap-contact-grid { display: grid; gap: 32px; }
@media (min-width: 992px) { .ap-contact-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; } }
.ap-contact-form { padding: 28px 22px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); box-shadow: var(--ap-shadow); }
@media (min-width: 768px) { .ap-contact-form { padding: 40px; } }
.ap-contact-form > .ap-body { margin-bottom: 28px; }
.ap-contact-side { display: grid; gap: 16px; }
.ap-contact-side-title { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-navy-muted); }
.ap-reach { margin: 0; padding: 0; list-style: none; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius-sm); background: var(--ap-white); overflow: hidden; }
.ap-reach li + li { border-top: 1px solid var(--ap-cream-line); }
.ap-reach a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-decoration: none; transition: background .15s; }
.ap-reach a:hover { background: var(--ap-cream); }
.ap-reach a > i { flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--ap-radius-sm); background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 17px; }
.ap-reach span { display: flex; flex-direction: column; min-width: 0; }
.ap-reach strong { font-size: 15px; color: var(--ap-navy); }
.ap-reach small { font-size: 13.5px; color: var(--ap-navy-muted); overflow-wrap: anywhere; }
.ap-contact-apply { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* Cookie notice (front/menu): a small card in the bottom-left corner until dismissed, out of the way of the page */
.ap-cookie { position: fixed; left: 16px; bottom: 16px; z-index: 1080; display: flex; align-items: center; gap: 14px; max-width: 380px; padding: 12px 12px 12px 16px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius-sm); background: var(--ap-white); box-shadow: 0 12px 32px -8px rgba(11, 27, 59, .18); color: var(--ap-navy-muted); font-size: 13px; line-height: 1.5; }
.ap-cookie[hidden] { display: none; }
.ap-cookie p { margin: 0; flex: 1; }
.ap-cookie a { color: var(--ap-navy); font-weight: 600; text-decoration: underline; }
.ap-btn.ap-btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; flex-shrink: 0; }
.ap-cookie .ap-btn.ap-btn-sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
@media (max-width: 575px) { .ap-cookie { right: 16px; max-width: none; } }

/* =====================================================================
   Industries (front/industries, and the homepage section)
   ===================================================================== */
.ap-ind-hero .ap-page-hero-slot { max-width: 760px; }
.ap-ind-who { margin: 28px 0 0; }
.ap-ind-compare { margin-top: 0; }
.ap-ind-uses { display: grid; gap: 14px; }
@media (min-width: 576px) { .ap-ind-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .ap-ind-uses { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ap-ind-grid { display: grid; gap: 14px; }
@media (min-width: 576px) { .ap-ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .ap-ind-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ap-ind-grid.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ap-ind-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 100%; padding: 24px 24px 56px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ap-ind-card:hover { border-color: var(--ap-coral-line); box-shadow: var(--ap-shadow); transform: translateY(-2px); }
.ap-ind-card:focus-visible { outline: 2px solid var(--ap-coral); outline-offset: 3px; }
.ap-section-cream .ap-ind-card { border-color: transparent; }
.ap-ind-card-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: var(--ap-radius-sm); background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 20px; }
.ap-ind-card strong { font-size: var(--ap-fs-title); font-weight: 700; letter-spacing: -.01em; color: var(--ap-navy); }
.ap-ind-card > span:not(.ap-ind-card-ic) { font-size: var(--ap-fs-desc); line-height: 1.5; color: var(--ap-navy-muted); }
/* Which account the industry page leads with */
.ap-ind-card-for { align-self: flex-start; margin-top: 4px; padding: 3px 9px; border-radius: 999px; background: var(--ap-coral-soft, #FFF1EE); font-size: var(--ap-fs-label); font-style: normal; font-weight: 600; color: var(--ap-coral-ink, #BE443A); }
.ap-ind-card-go { position: absolute; left: 24px; bottom: 22px; font-size: 18px; color: var(--ap-navy); transition: transform .15s, color .15s; }
.ap-ind-card:hover .ap-ind-card-go { transform: translateX(4px); color: var(--ap-coral-ink); }
.ap-ind-more-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 24px; }
.ap-ind-more-head .ap-h3 { margin: 0; font-size: 24px; }
.ap-ind-foot { margin-top: 32px; text-align: center; }
.ap-menu-wide.dropdown-menu { min-width: 620px; }
.ap-menu-wide .ap-menu-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.ap-menu-all { display: flex !important; justify-content: center; align-items: center !important; gap: 8px !important; margin-top: 6px; padding: 12px !important; border-top: 1px solid var(--ap-cream-line); border-radius: 0 0 10px 10px !important; font-size: 14px; font-weight: 600; color: var(--ap-navy) !important; }
.ap-menu-all .bi { display: inline; width: auto; height: auto; background: none; font-size: 14px; color: var(--ap-coral-ink); }

/* Hero: three ways in, one panel with a column per account type */
.ap-doors { display: grid; margin-top: 8px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); box-shadow: var(--ap-shadow); overflow: hidden; }
@media (min-width: 576px) { .ap-doors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ap-door { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px; text-decoration: none; transition: background .15s; }
.ap-door + .ap-door { border-top: 1px solid var(--ap-cream-line); }
@media (min-width: 576px) { .ap-door + .ap-door { border-top: 0; border-left: 1px solid var(--ap-cream-line); } }
.ap-door:hover { background: var(--ap-cream); }
.ap-door-label { display: inline-flex; align-items: center; gap: 7px; font-size: var(--ap-fs-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-coral-ink); }
.ap-door-label i { font-size: 14px; }
.ap-door strong { font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--ap-navy); }
.ap-door-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-size: 13.5px; font-weight: 300; color: var(--ap-navy); }
.ap-door-go i { transition: transform .15s; }
.ap-door:hover .ap-door-go { color: var(--ap-coral-ink); }
.ap-door:hover .ap-door-go i { transform: translateX(3px); }

/* How it works: the network map (brand, three ways to the customer, spent back at the brand) */
.ap-net { display: grid; gap: 16px; margin-top: 48px; align-items: stretch; }
@media (min-width: 1100px) { .ap-net { grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1.25fr) 32px minmax(0, 1fr); gap: 12px; } }
.ap-net-stage { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ap-net-step { font-size: var(--ap-fs-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ap-navy-muted); }
.ap-net-node { flex: 1 1 auto; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); }
/* The gift card and the till slip sit at the foot of their cards, level with each other */
.ap-net-node > .ap-gcard-mini, .ap-net-node > .ap-net-slip { margin-top: auto; }
.ap-net-node > .ap-body { margin-bottom: 18px; }
.ap-net-brand { border-color: var(--ap-coral-line); box-shadow: var(--ap-shadow); }
.ap-net-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: var(--ap-radius-sm); background: var(--ap-cream); color: var(--ap-navy); font-size: 20px; }
.ap-net-brand .ap-net-ic { background: var(--ap-coral-soft); color: var(--ap-coral-ink); }
.ap-net-arrow { display: grid; place-items: center; color: var(--ap-coral); font-size: 22px; }
@media (max-width: 1099px) { .ap-net-arrow i { transform: rotate(90deg); } }
.ap-net-ways { flex: 1 1 auto; display: grid; gap: 10px; }
.ap-net-way { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ap-net-way:hover { border-color: var(--ap-coral-line); box-shadow: var(--ap-shadow); }
.ap-net-way .ap-net-ic { margin: 0; grid-row: span 2; }
.ap-net-way > div strong { display: block; font-size: var(--ap-fs-item); color: var(--ap-navy); }
.ap-net-way > div span { display: block; font-size: var(--ap-fs-desc); line-height: 1.45; color: var(--ap-navy-muted); }
.ap-net-tag { grid-column: 2; justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: var(--ap-fs-label); font-style: normal; font-weight: 700; }
.ap-gcard.ap-gcard-mini { width: 100%; aspect-ratio: auto; margin-top: 18px; padding: 16px 18px; transform: none; }
.ap-gcard-mini .ap-gcard-amount { font-size: 24px; margin: 10px 0 6px; }
.ap-net-slip { margin-top: 18px; padding: 14px 16px; border: 1px dashed var(--ap-cream-line); border-radius: var(--ap-radius-sm); background: var(--ap-cream); font-size: 13.5px; }
.ap-net-slip > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--ap-navy-muted); }
.ap-net-slip b { font-weight: 700; color: var(--ap-navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ap-net-slip-total { margin-top: 6px; padding-top: 10px !important; border-top: 1px dashed var(--ap-cream-line); }
.ap-net-slip-total span { font-weight: 700; color: var(--ap-navy); }
.ap-net-slip-total b { color: var(--ap-coral-ink); font-size: 15px; }
.ap-net-foot { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13.5px; font-weight: 600; color: var(--ap-navy); }
.ap-net-foot i { color: var(--ap-coral-ink); font-size: 15px; }
.ap-net-base { display: flex; align-items: center; gap: 14px; margin-top: 25px; padding: 16px 20px; border-radius: var(--ap-radius); background: var(--ap-navy); color: var(--ap-on-dark); }
.ap-net-base .ap-net-ic { flex-shrink: 0; margin: 0; background: rgba(255, 255, 255, .08); color: var(--ap-coral); }
.ap-net-base p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.ap-net-base strong { color: var(--ap-white); }

/* Which account is right for you: three cards, then the details compared */
.ap-accts { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 992px) { .ap-accts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.ap-acct { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); }
.ap-acct-featured { border-color: var(--ap-coral-line); box-shadow: var(--ap-shadow); }
.ap-acct-ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: var(--ap-radius-sm); background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 22px; }
.ap-acct-type { align-self: flex-start; margin-bottom: 10px; font-size: var(--ap-fs-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ap-coral-ink); }
.ap-acct .ap-body { font-size: var(--ap-fs-body); }
.ap-acct-money { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; padding: 14px 16px; border-radius: var(--ap-radius-sm); background: var(--ap-cream); font-size: var(--ap-fs-meta); line-height: 1.5; font-weight: 600; color: var(--ap-navy); }
.ap-acct-money i { color: var(--ap-coral-ink); font-size: 17px; line-height: 1.3; }
.ap-acct-list { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; font-size: var(--ap-fs-desc); color: var(--ap-navy); }
.ap-acct-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.ap-acct-list i { color: var(--ap-coral-ink); font-size: 17px; line-height: 1.2; }
.ap-acct-cta { margin-top: auto; align-self: stretch; }
.ap-cmp-wrap { margin-top: 32px; overflow-x: auto; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); }
.ap-cmp { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; font-size: 14.5px; }
.ap-cmp th:not(:first-child), .ap-cmp td { width: 23.33%; }
.ap-cmp th, .ap-cmp td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--ap-cream-line); vertical-align: middle; }
.ap-cmp tbody tr:last-child th, .ap-cmp tbody tr:last-child td { border-bottom: 0; }
.ap-cmp thead th { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-navy); background: var(--ap-cream); }
.ap-cmp tbody th { font-weight: 600; color: var(--ap-navy); width: 30%; }
.ap-cmp td { color: var(--ap-navy-muted); }
.ap-yes { color: var(--ap-navy); font-size: 18px; }
.ap-no { color: var(--ap-navy-muted); font-size: 20px; opacity: .5; }
/* On a phone the table fits the screen, all three accounts side by side, instead of scrolling sideways */
@media (max-width: 767px) {
    .ap-cmp { min-width: 0; font-size: 12px; }
    .ap-cmp th, .ap-cmp td { padding: 11px 6px; overflow-wrap: normal; word-break: normal; hyphens: manual; }
    .ap-cmp th:first-child { padding-left: 12px; }
    .ap-cmp tbody th { width: 27%; }
    .ap-cmp th:not(:first-child), .ap-cmp td { width: 24.33%; }
    .ap-cmp thead th { font-size: 9.5px; letter-spacing: 0; }
    .ap-yes { font-size: 16px; }
}

/* Apply page: where resellers and companies go instead (they sign up themselves) */
.ap-apply-other { margin: 22px 0 0; font-size: 14px; line-height: 1.6; color: var(--ap-on-dark-mute); }
.ap-apply-other a { color: var(--ap-white); font-weight: 700; text-decoration: underline; text-decoration-color: var(--ap-coral); text-underline-offset: 3px; }
.ap-apply-other a:hover { color: var(--ap-coral); }

/* Hero headline: brands issue it, resellers sell it, companies give it. Each line rises in from a blur, its verb
   gets a coral underline drawn left to right, then a sheen passes over the three verbs in turn, slowly, for good. */
.ap-h1-flow .ap-flow-line { display: block; opacity: 0; transform: translateY(.42em); filter: blur(8px); animation: ap-flow-in .9s cubic-bezier(.2, .8, .2, 1) forwards; }
.ap-h1-flow .ap-flow-line:nth-child(2) { animation-delay: .28s; }
.ap-h1-flow .ap-flow-line:nth-child(3) { animation-delay: .56s; }
.ap-h1-flow em {
    position: relative; display: inline-block; color: var(--ap-coral-ink);
    background: linear-gradient(100deg, var(--ap-coral-ink) 0%, var(--ap-coral-ink) 40%, #ff9c8f 50%, var(--ap-coral-ink) 60%, var(--ap-coral-ink) 100%) 100% 0 / 260% 100% no-repeat;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: ap-flow-sheen 7.5s ease-in-out infinite;
}
.ap-h1-flow em::after {
    content: ""; position: absolute; left: .02em; right: .02em; bottom: .02em; height: .085em; border-radius: 999px;
    background: linear-gradient(90deg, var(--ap-coral), #ff9c8f); transform: scaleX(0); transform-origin: left center;
    animation: ap-flow-ink .7s cubic-bezier(.65, 0, .35, 1) forwards;
}
.ap-h1-flow .ap-flow-line:nth-child(1) em::after { animation-delay: .75s; }
.ap-h1-flow .ap-flow-line:nth-child(2) em::after { animation-delay: 1.03s; }
.ap-h1-flow .ap-flow-line:nth-child(3) em::after { animation-delay: 1.31s; }
.ap-h1-flow .ap-flow-line:nth-child(1) em { animation-delay: 2.2s; }
.ap-h1-flow .ap-flow-line:nth-child(2) em { animation-delay: 4.7s; }
.ap-h1-flow .ap-flow-line:nth-child(3) em { animation-delay: 7.2s; }
@keyframes ap-flow-in { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ap-flow-ink { to { transform: scaleX(1); } }
/* The sheen crosses in the first fifth of the cycle; the rest of the time the word rests */
@keyframes ap-flow-sheen { 0% { background-position: 100% 0; } 20%, 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
    .ap-h1-flow .ap-flow-line { opacity: 1; transform: none; filter: none; animation: none; }
    .ap-h1-flow em { animation: none; }
    .ap-h1-flow em::after { transform: none; animation: none; }
}

/* ---------- Homepage motion (assets/js/site-motion.js adds .ap-motion; without it nothing is hidden) ----------
   Elements use the translate and scale properties, which combine with the tilts some illustrations already have. */
.ap-motion [data-reveal] { opacity: 0; transition: opacity .8s cubic-bezier(.2, .7, .2, 1), translate .8s cubic-bezier(.2, .7, .2, 1), scale .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--ap-delay, 0ms); }
.ap-motion [data-reveal="up"] { translate: 0 22px; }
.ap-motion [data-reveal="stage"] { translate: 0 28px; scale: .965; }
.ap-motion [data-reveal="pop"] { translate: 0 14px; scale: .94; transition-delay: calc(var(--ap-delay, 0ms) + .45s); }
.ap-motion [data-reveal="draw"] { opacity: 1; scale: 0 1; transform-origin: left center; transition: scale .9s cubic-bezier(.65, 0, .35, 1) .2s; }
.ap-motion [data-reveal].is-in { opacity: 1; translate: 0 0; scale: 1; }
/* A stage's notification waits for the stage itself */
.ap-motion [data-reveal="stage"]:not(.is-in) [data-reveal="pop"] { opacity: 0; }

/* Hero: the till and its "wallet credited" note arrive after the headline, then the card floats gently */
.ap-motion .ap-hero .ap-gcard { animation: ap-hero-card 1.1s cubic-bezier(.2, .7, .2, 1) .35s both, ap-hero-float 7s ease-in-out 1.6s infinite; }
.ap-motion .ap-hero .ap-till { animation: ap-hero-till .9s cubic-bezier(.2, .7, .2, 1) .95s both; }
.ap-motion .ap-hero .ap-toast { animation: ap-hero-pop .7s cubic-bezier(.34, 1.4, .64, 1) 1.7s both; }
.ap-motion .ap-hero .ap-doors, .ap-motion .ap-hero .ap-hero-points, .ap-motion .ap-hero .ap-lead { animation: ap-hero-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.ap-motion .ap-hero .ap-lead { animation-delay: .8s; }
.ap-motion .ap-hero .ap-doors { animation-delay: .95s; }
.ap-motion .ap-hero .ap-hero-points { animation-delay: 1.1s; }
.ap-hero .ap-stage { transform: perspective(1200px) rotateX(var(--ap-tilt-x, 0deg)) rotateY(var(--ap-tilt-y, 0deg)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
@keyframes ap-hero-card { from { opacity: 0; translate: 0 34px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes ap-hero-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes ap-hero-till { from { opacity: 0; translate: 40px 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes ap-hero-pop { from { opacity: 0; translate: 0 12px; scale: .9; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes ap-hero-rise { from { opacity: 0; translate: 0 16px; } to { opacity: 1; translate: 0 0; } }

/* Cards lift a little under the pointer */
.ap-feature, .ap-ind-card, .ap-apply-card, .ap-acct, .ap-door { transition: translate .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .2s ease, opacity .8s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) {
    .ap-feature:hover, .ap-ind-card:hover, .ap-apply-card:hover, .ap-acct:hover { translate: 0 -4px; box-shadow: 0 18px 40px -24px rgba(11, 27, 59, .28); }
    .ap-door:hover { translate: 0 -2px; }
}

@media (prefers-reduced-motion: reduce) {
    .ap-hero .ap-stage { transform: none; transition: none; }
}

/* ---------- Homepage: product tabs, the API card and the closing call to action ---------- */

/* Anchors land below the fixed 72px nav */
.ap [id] { scroll-margin-top: 88px; }

/* A segmented control: one pill per product, the open one filled navy. Scrolls sideways on narrow screens. */
.ap-ptabs { display: flex; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 48px; padding: 5px; overflow-x: auto; border: 1px solid var(--ap-cream-line); border-radius: 999px; background: var(--ap-white); scrollbar-width: none; }
.ap-ptabs::-webkit-scrollbar { display: none; }
.ap-ptab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font-family: var(--ap-font); font-size: 14.5px; font-weight: 600; color: var(--ap-navy-muted); white-space: nowrap; transition: background-color .2s, color .2s; }
.ap-ptab i { font-size: 16px; }
.ap-ptab:hover { color: var(--ap-navy); }
.ap-ptab[aria-selected="true"] { background: var(--ap-navy); color: var(--ap-white); }
.ap-ptab:focus-visible { outline: 2px solid var(--ap-coral); outline-offset: 2px; }
.ap-ptab-panel .ap-h2 { font-size: clamp(26px, 3vw, 36px); }
.ap-ptab-dark { padding: 40px 24px; border-radius: var(--ap-radius-lg); }
@media (min-width: 992px) { .ap-ptab-dark { padding: 56px; } }

.ap-cta { max-width: 720px; margin: 0 auto; text-align: center; }
.ap-cta .ap-lead { margin: 0 auto; }
.ap-cta .ap-actions { justify-content: center; margin-top: 32px; }

/* Calmer rhythm: white sections that follow another white section are set apart by a hairline, not a colour band */
.ap-section-rule { border-top: 1px solid var(--ap-cream-line); }

/* Figures line up: amounts and codes use fixed-width digits */
.ap :is(b, code, .ap-gcard-amount, .ap-gcard-code, .ap-wl-balance, .ap-ta-pin-bal, .ap-pc-number, .ap-calc-out) { font-variant-numeric: tabular-nums; }

/* Founding brands: a small live pill above the exclusivity heading */
.ap-founding { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px 6px 10px; border: 1px solid rgba(255, 107, 91, .35); border-radius: 999px; background: rgba(255, 107, 91, .1); font-size: 13px; font-weight: 600; color: var(--ap-white); }
.ap-founding-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ap-coral); }
.ap-founding-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ap-coral); opacity: 0; animation: ap-founding-ping 2.4s cubic-bezier(.32, .72, 0, 1) infinite; }
@keyframes ap-founding-ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ap-founding-dot::after { animation: none; } }
.ap-excl .ap-eyebrow { display: flex; }
.ap-excl .ap-lead:has(+ .ap-excl-founding) { margin-bottom: 0; }
.ap-excl-founding { margin: 14px 0 28px; max-width: 62ch; font-size: var(--ap-fs-body); line-height: 1.6; color: var(--ap-white); }

.ap-trust-more { margin: 40px 0 0; }

/* Pricing: three worked examples; the reseller's is a live calculator on navy */
.ap-price { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 992px) { .ap-price { grid-template-columns: 1fr 1.15fr 1fr; } }
.ap-price-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius-lg); background: var(--ap-white); }
.ap-price-card .ap-acct-type { margin-bottom: 10px; }
.ap-price-card .ap-h3 { margin-bottom: 20px; }
.ap-price-rows { display: grid; gap: 0; margin: 0 0 20px; }
.ap-price-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--ap-cream-line); font-size: var(--ap-fs-body); }
.ap-price-rows dt { font-weight: 400; color: var(--ap-navy-muted); }
.ap-price-rows dd { margin: 0; font-weight: 600; color: var(--ap-navy); font-variant-numeric: tabular-nums; }
.ap-price-rows .is-total { border-bottom: 0; padding-top: 16px; }
.ap-price-rows .is-total dt { font-weight: 600; color: var(--ap-navy); }
.ap-price-rows .is-total dd { font-size: 22px; font-weight: 700; }
.ap-price-note { margin: auto 0 0; font-size: var(--ap-fs-desc); line-height: 1.55; color: var(--ap-navy-muted); }

.ap-price-card.is-dark { border-color: var(--ap-navy); background: radial-gradient(520px 300px at 100% 0%, rgba(255, 107, 91, .2), transparent 60%), var(--ap-navy); color: var(--ap-on-dark); }
.ap-price-card.is-dark .ap-h3 { color: var(--ap-white); }
.ap-price-card.is-dark .ap-acct-type { color: var(--ap-coral); }
.ap-price-card.is-dark .ap-price-note { color: var(--ap-on-dark-mute); }
.ap-calc { display: grid; gap: 18px; margin-bottom: 22px; }
.ap-calc-field { display: grid; gap: 10px; }
.ap-calc-field > span { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ap-on-dark); }
.ap-calc-field b { color: var(--ap-white); font-weight: 600; }
.ap-calc-field input[type="range"] { width: 100%; height: 24px; accent-color: var(--ap-coral); cursor: pointer; }
.ap-calc-result { display: grid; gap: 4px; margin-bottom: 18px; padding: 18px 20px; border: 1px solid var(--ap-on-dark-line); border-radius: var(--ap-radius-sm); background: rgba(255, 255, 255, .04); }
.ap-calc-result small { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-on-dark-mute); }
.ap-calc-result > b { font-size: clamp(30px, 3.4vw, 38px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; color: var(--ap-white); }
.ap-calc-result > span { font-size: 14px; color: var(--ap-on-dark); }

/* Security page: data protection beside the "report an issue" card */
.ap-sec-foot { display: grid; gap: 32px; align-items: start; }
@media (min-width: 992px) { .ap-sec-foot { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.ap-sec-foot .ap-body + .ap-body { margin-top: 16px; }
.ap-sec-report { padding: 28px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius-lg); background: var(--ap-cream); }
.ap-sec-report i { font-size: 24px; color: var(--ap-coral-ink); }
.ap-sec-report h3 { margin: 12px 0 8px; font-size: var(--ap-fs-title); font-weight: 700; color: var(--ap-navy); }
.ap-sec-report p { margin: 0 0 20px; font-size: var(--ap-fs-desc); line-height: 1.55; color: var(--ap-navy-muted); }

/* Solution pages: a two-up account grid and the docs sign-in hint under the developers hero */
@media (min-width: 768px) { .ap-accts.ap-accts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; } }
.ap-dev-hint { margin: 14px 0 0; font-size: var(--ap-fs-desc); color: var(--ap-navy-muted); }
.ap-acct-more { margin-top: 14px; text-align: center; font-size: 14px; }
.ap-acct-more a { color: var(--ap-navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--ap-coral); text-underline-offset: 3px; }

/* Products: the customer account. A gift card, the family cards made from it, and the controls customers use */
.ap-ca-stage { --wl-brand: #A9572A; --wl-brand-2: #7A3616; position: relative; width: 100%; max-width: 520px; margin: 0 auto; padding: 76px 0 8px; }
@media (min-width: 992px) { .ap-ca-stage { align-self: center; } }
.ap-ca-toast { position: absolute; z-index: 3; top: 0; left: 0; display: flex; gap: 10px; align-items: center; width: 250px; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 20px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 12.5px; line-height: 1.35; color: var(--ap-navy-muted); box-shadow: 0 2px 4px rgba(11, 27, 59, .05), 0 24px 48px -20px rgba(11, 27, 59, .35); }
.ap-ca-toast > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(170deg, var(--wl-brand), var(--wl-brand-2)); color: #fff; font-size: 15px; }
.ap-ca-toast strong { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ap-navy); }
.ap-ca-toast em { font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--ap-navy-muted); }
/* The gift card itself */
.ap-ca-main { position: relative; z-index: 1; width: 72%; aspect-ratio: 1.586; margin: 0 auto 0 4%; padding: 18px 20px; overflow: hidden; display: flex; flex-direction: column; border-radius: 18px; color: #fff; background: radial-gradient(160px 110px at 88% 12%, rgba(255, 236, 200, .45), transparent 70%), linear-gradient(125deg, #F0B27A 0%, #D9813F 38%, #A9572A 70%, #6F2F12 100%); box-shadow: 0 30px 60px -28px rgba(111, 47, 18, .7); }
.ap-ca-main::after { content: ""; position: absolute; right: -50px; top: -60px; width: 190px; height: 190px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .14); }
.ap-ca-main-top { display: flex; justify-content: space-between; align-items: center; }
.ap-ca-main small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .78; }
.ap-ca-main-bal { margin-top: auto; font-size: clamp(22px, 3.4vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.ap-ca-main-foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11.5px; font-weight: 500; opacity: .9; }
.ap-ca-main-foot span:first-child { font-family: var(--ap-mono); letter-spacing: .08em; }
/* What the customer can do with it */
.ap-ca-controls { position: absolute; z-index: 2; right: 0; top: 118px; width: 196px; padding: 6px; border: 1px solid var(--ap-cream-line); border-radius: 18px; background: var(--ap-white); box-shadow: 0 2px 4px rgba(11, 27, 59, .05), 0 24px 48px -20px rgba(11, 27, 59, .35); }
.ap-ca-controls > div { display: flex; align-items: center; gap: 10px; padding: 9px 10px; font-size: 12.5px; color: var(--ap-navy); }
.ap-ca-controls > div + div { border-top: 1px solid #F1ECE3; }
.ap-ca-controls > div > i:first-child { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #FDEBE7; color: var(--ap-coral-ink); font-size: 13px; }
.ap-ca-controls span { flex: 1; font-weight: 600; }
.ap-ca-controls b { font-size: 12px; font-weight: 600; color: var(--ap-navy-muted); }
.ap-ca-go { font-size: 11px; color: var(--ap-navy-muted); }
.ap-ca-switch { position: relative; width: 30px; height: 18px; border-radius: 999px; background: #D9D4CB; }
.ap-ca-switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
/* Family cards, joined to the card they came from */
.ap-ca-links { display: block; width: 100%; height: 36px; margin-top: 4px; fill: none; stroke: #E5A592; stroke-width: 1.5; stroke-dasharray: 4 4; }
.ap-ca-kids { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ap-ca-kids > div { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "a n" "m m" "l l"; align-items: center; gap: 4px 8px; padding: 12px; border: 1px solid var(--ap-cream-line); border-radius: 14px; background: var(--ap-white); box-shadow: 0 14px 30px -22px rgba(11, 27, 59, .45); }
.ap-ca-kids .ap-ca-avatar, .ap-ca-kid-add > span { grid-area: a; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #F7DCC6; color: #7A3616; font-size: 12px; font-weight: 700; }
.ap-ca-kids .ap-ca-avatar-2 { background: #DCE4F5; color: #1C3263; }
.ap-ca-kids b { grid-area: n; min-width: 0; font-size: 13px; color: var(--ap-navy); }
.ap-ca-kids strong { grid-area: m; margin-top: 6px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--ap-navy); }
.ap-ca-kids small { grid-area: l; font-size: 11px; color: var(--ap-navy-muted); }
.ap-ca-kid-add { border-style: dashed !important; background: transparent !important; box-shadow: none !important; }
.ap-ca-kid-add > span { background: #FDEBE7; color: var(--ap-coral-ink); }
.ap-ca-kid-add b { font-size: 12px; line-height: 1.25; color: var(--ap-coral-ink); }
.ap-ca-kid-add small { margin-top: 6px; }
@media (max-width: 575px) {
    .ap-ca-toast { width: 230px; }
    .ap-ca-main { width: 82%; margin-left: 0; }
    .ap-ca-controls { position: relative; top: auto; width: 82%; margin: -28px 0 0 auto; }
    .ap-ca-kids { gap: 8px; } .ap-ca-kids > div { padding: 10px; } .ap-ca-kids strong { font-size: 14px; }
}

/* Moving between public pages fades like an app, with the header held still (cross-document view transitions;
   browsers without them just load the page). Off for visitors who ask for reduced motion. */
@view-transition { navigation: auto; }
.ap-nav { view-transition-name: ap-nav; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- Brand waitlist (front/waitlist.blade.php), the homepage before launch ---------- */
.ap-wt { background: var(--ap-white); color: var(--ap-ink); }
.ap-wt-top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; }
.ap-wt-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.ap-wt-logo img { display: block; width: auto; height: 36px; }
.ap-wt-top-actions { display: flex; align-items: center; gap: 18px; }
.ap-wt-signin { font-size: 14.5px; font-weight: 600; color: var(--ap-navy); text-decoration: none; }
.ap-wt-signin:hover { color: var(--ap-coral-ink); }
@media (max-width: 575px) { .ap-wt-signin { font-size: 13.5px; } .ap-wt-top-actions { gap: 12px; } .ap-wt-top-actions .ap-btn { min-height: 40px; padding: 0 14px; font-size: 13.5px; } }
.ap-wt-closed { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 24px; padding: 12px 16px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius-sm); background: var(--ap-white); font-size: 14px; line-height: 1.5; color: var(--ap-navy); box-shadow: var(--ap-shadow); }
.ap-wt-closed i { margin-top: 2px; color: var(--ap-coral-ink); }

.ap-wt-hero { position: relative; padding: 112px 0 72px; background: radial-gradient(1000px 520px at 88% 0%, var(--ap-coral-soft), transparent 62%), linear-gradient(180deg, var(--ap-cream) 0%, var(--ap-white) 100%); }
@media (min-width: 992px) { .ap-wt-hero { padding: 136px 0 96px; } }
.ap-wt-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 992px) { .ap-wt-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; } }
.ap-wt-pitch .ap-h1 { font-size: clamp(36px, 5.2vw, 58px); }
.ap-wt-pitch .ap-lead { font-size: 16.5px; }

/* The founding offer */
.ap-wt-offer { margin-top: 32px; padding: 24px; border: 1px solid var(--ap-coral-line); border-radius: var(--ap-radius); background: linear-gradient(160deg, #FFF8F6, var(--ap-white) 60%); box-shadow: var(--ap-shadow); }
.ap-wt-offer-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ap-wt-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--ap-navy); color: var(--ap-white); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.ap-wt-badge i { color: #FFB4A9; }
.ap-wt-left { font-size: 14px; color: var(--ap-navy-muted); }
.ap-wt-left strong { font-size: 18px; color: var(--ap-coral-ink); }
.ap-wt-meter { height: 8px; margin: 14px 0 18px; overflow: hidden; border-radius: 999px; background: var(--ap-cream-2); }
.ap-wt-meter span { display: block; height: 100%; min-width: 6px; border-radius: inherit; background: linear-gradient(90deg, var(--ap-coral), var(--ap-coral-ink)); }
.ap-wt-offer-title { margin: 0 0 6px; font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; color: var(--ap-navy); }
.ap-wt-offer-sub { margin: 0 0 16px; font-size: var(--ap-fs-desc); line-height: 1.55; color: var(--ap-navy-muted); }
.ap-wt-perks { display: grid; gap: 10px; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--ap-cream-line); list-style: none; }
.ap-wt-perks li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ap-navy); }
.ap-wt-perks i { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 14px; }
.ap-wt-offer-note { margin: 14px 0 0; font-size: var(--ap-fs-meta); color: var(--ap-navy-muted); }

/* The form card */
.ap-wt-card { scroll-margin-top: 24px; padding: 28px 22px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius-lg); background: var(--ap-white); box-shadow: var(--ap-shadow-lg); }
@media (min-width: 576px) { .ap-wt-card { padding: 34px; } }
.ap-wt-card-head h2, .ap-wt-done h2 { margin: 0 0 4px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--ap-navy); }
.ap-wt-card-head p { margin: 0 0 22px; font-size: var(--ap-fs-desc); color: var(--ap-navy-muted); }
.ap-wt-card fieldset { margin: 0 0 8px; padding: 0; border: 0; }
.ap-wt-card legend { margin: 0 0 12px; font-size: var(--ap-fs-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ap-coral-ink); }
.ap-wt-card fieldset + fieldset { padding-top: 14px; border-top: 1px solid var(--ap-cream-line); }
.ap-wt-row { display: grid; gap: 0 14px; }
@media (min-width: 480px) { .ap-wt-row { grid-template-columns: 1fr 1fr; } }
.ap-wt-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.ap-wt-field label { font-size: 13.5px; font-weight: 600; color: var(--ap-navy); }
.ap-wt-field label small { font-weight: 400; color: var(--ap-navy-muted); }
.ap-wt-field input, .ap-wt-field select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #DCD3C4; border-radius: var(--ap-radius-sm); background: var(--ap-white); font: inherit; font-size: 15px; color: var(--ap-ink); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.ap-wt-field select { padding-right: 38px; background: var(--ap-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%233D4760' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m2 5 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; }
.ap-wt-field input::placeholder { color: #9AA1B2; }
.ap-wt-field input:focus, .ap-wt-field select:focus { outline: none; border-color: var(--ap-navy); box-shadow: 0 0 0 3px rgba(11, 27, 59, .1); }
.ap-wt-field [aria-invalid="true"], .ap-wt-field .iti:has([aria-invalid="true"]) input { border-color: var(--ap-coral-ink); }
.ap-wt-field .iti { width: 100%; }
.ap-wt-field .iti input { padding-left: 92px !important; }
.ap-wt-err { font-size: 13px; color: var(--ap-coral-ink); }
.ap-wt-alert { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 12px 14px; border-radius: var(--ap-radius-sm); background: var(--ap-coral-soft); font-size: 14px; color: var(--ap-coral-ink); }
.ap-wt-submit { width: 100%; margin-top: 6px; }
.ap-wt-submit.is-busy { opacity: .7; pointer-events: none; }
.ap-wt-legal { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; text-align: center; color: var(--ap-navy-muted); }
.ap-wt-legal a { color: var(--ap-navy); font-weight: 600; }

/* After joining */
.ap-wt-done { text-align: left; }
.ap-wt-done-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: var(--ap-success-soft); color: var(--ap-success); font-size: 26px; }
.ap-wt-done > p { margin: 8px 0 22px; font-size: var(--ap-fs-body); line-height: 1.6; color: var(--ap-navy-muted); }
.ap-wt-next { display: grid; gap: 14px; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--ap-cream-line); list-style: none; counter-reset: wt; }
.ap-wt-next li { position: relative; padding-left: 40px; counter-increment: wt; }
.ap-wt-next li::before { content: counter(wt); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ap-navy); color: var(--ap-white); font-size: 12.5px; font-weight: 700; }
.ap-wt-next b { display: block; font-size: 15px; color: var(--ap-navy); }
.ap-wt-next span { font-size: var(--ap-fs-desc); color: var(--ap-navy-muted); }

/* Sections below the fold */
.ap-wt-section { padding: 80px 0; }
@media (min-width: 992px) { .ap-wt-section { padding: 104px 0; } }
.ap-wt-section-cream { background: var(--ap-cream); }
.ap-wt-features { display: grid; gap: 16px; }
@media (min-width: 640px) { .ap-wt-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .ap-wt-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.ap-wt-features article { padding: 26px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius); background: var(--ap-white); }
.ap-wt-features i { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: var(--ap-radius-sm); background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 20px; }
.ap-wt-features h3, .ap-wt-steps h3 { margin: 0 0 6px; font-size: var(--ap-fs-title); font-weight: 700; color: var(--ap-navy); }
.ap-wt-features p, .ap-wt-steps p { margin: 0; font-size: var(--ap-fs-desc); line-height: 1.6; color: var(--ap-navy-muted); }
.ap-wt-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .ap-wt-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.ap-wt-steps li { padding: 28px; border-radius: var(--ap-radius); background: var(--ap-white); box-shadow: var(--ap-shadow); }
.ap-wt-steps span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%; background: var(--ap-navy); color: var(--ap-white); font-weight: 700; }
.ap-wt-faq { display: grid; gap: 32px; }
@media (min-width: 992px) { .ap-wt-faq { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.ap-wt-qs details { border-bottom: 1px solid var(--ap-cream-line); }
.ap-wt-qs summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: var(--ap-fs-title); font-weight: 600; color: var(--ap-navy); }
.ap-wt-qs summary::-webkit-details-marker { display: none; }
.ap-wt-qs summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; color: var(--ap-coral-ink); transition: transform .2s; }
.ap-wt-qs details[open] summary::after { transform: rotate(45deg); }
.ap-wt-qs p { margin: -6px 0 20px; font-size: var(--ap-fs-body); line-height: 1.65; color: var(--ap-navy-muted); }
.ap-wt-foot { padding: 28px 0; border-top: 1px solid var(--ap-cream-line); font-size: 13.5px; color: var(--ap-navy-muted); }
.ap-wt-foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.ap-wt-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ap-wt-foot a { color: var(--ap-navy-muted); text-decoration: none; }
.ap-wt-foot a:hover { color: var(--ap-navy); }

/* Waitlist for brands and resellers: the type switch, its fields, the two paths and the reseller section */
.ap-wt-form:has(#wt-as-brand:checked) [data-only="reseller"],
.ap-wt-form:has(#wt-as-reseller:checked) [data-only="brand"] { display: none !important; }
.ap-wt-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 22px; padding: 4px; border-radius: 14px; background: var(--ap-cream-2); }
.ap-wt-switch input { position: absolute; opacity: 0; pointer-events: none; }
.ap-wt-switch label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 11px; font-size: 15px; font-weight: 600; color: var(--ap-navy-muted); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.ap-wt-switch input:checked + label { background: var(--ap-white); color: var(--ap-navy); box-shadow: 0 1px 2px rgba(11, 27, 59, .08), 0 4px 12px -6px rgba(11, 27, 59, .25); }
.ap-wt-switch input:focus-visible + label { outline: 2px solid var(--ap-coral); outline-offset: 2px; }
.ap-wt-switch input:checked + label i { color: var(--ap-coral-ink); }
.ap-wt-label { font-size: 13.5px; font-weight: 600; color: var(--ap-navy); }
.ap-wt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-wt-chip { position: relative; cursor: pointer; }
.ap-wt-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ap-wt-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #DCD3C4; border-radius: 999px; background: var(--ap-white); font-size: 14px; font-weight: 500; color: var(--ap-navy-muted); transition: border-color .15s, background .15s, color .15s; }
.ap-wt-chip span::before { content: "+"; margin-right: 6px; font-weight: 700; color: var(--ap-coral-ink); }
.ap-wt-chip input:checked + span { border-color: var(--ap-navy); background: var(--ap-navy); color: var(--ap-white); }
.ap-wt-chip input:checked + span::before { content: "✓"; color: #FFB4A9; }
.ap-wt-chip input:focus-visible + span { outline: 2px solid var(--ap-coral); outline-offset: 2px; }

.ap-wt-paths { display: grid; gap: 10px; margin-top: 26px; }
@media (min-width: 520px) { .ap-wt-paths { grid-template-columns: 1fr 1fr; } }
.ap-wt-paths a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--ap-cream-line); border-radius: var(--ap-radius-sm); background: var(--ap-white); color: var(--ap-navy); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ap-wt-paths a:hover { border-color: var(--ap-coral-line); box-shadow: var(--ap-shadow); transform: translateY(-1px); }
.ap-wt-paths a > i:first-child { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--ap-coral-soft); color: var(--ap-coral-ink); font-size: 17px; }
.ap-wt-paths span { flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; color: var(--ap-navy-muted); }
.ap-wt-paths b { display: block; font-size: 15px; color: var(--ap-navy); }
.ap-wt-paths a > i:last-child { color: var(--ap-coral-ink); }

.ap-wt-section-cta { margin-top: 36px; text-align: center; }
.ap-wt-section-navy { background: radial-gradient(900px 480px at 85% 0%, rgba(255, 107, 91, .16), transparent 65%), var(--ap-navy); }
.ap-wt-section-navy .ap-eyebrow { color: var(--ap-coral); }
.ap-wt-section-navy .ap-h2 { color: var(--ap-white); }
.ap-wt-section-navy .ap-lead { color: var(--ap-on-dark); }
.ap-wt-section-navy .ap-wt-features article { border-color: var(--ap-on-dark-line); background: rgba(255, 255, 255, .04); }
.ap-wt-section-navy .ap-wt-features i { background: rgba(255, 107, 91, .16); color: #FF8172; }
.ap-wt-section-navy .ap-wt-features h3 { color: var(--ap-white); }
.ap-wt-section-navy .ap-wt-features p { color: var(--ap-on-dark-mute); }
.ap-btn-coral { border-color: var(--ap-coral); background: var(--ap-coral); color: var(--ap-navy) !important; }
.ap-btn-coral:hover { background: #FF8172; box-shadow: 0 10px 24px -10px rgba(255, 107, 91, .6); }
