/* performance-v3 (2026-10-15): the campaign section as a numbered chapter of the site.
   Replaces performance-v2.css on / and /touch/ only (/performance-marketing/ keeps v2).
   No new colours: grounds, ink and neutrals are the site's own; the only pink is the real key. */

/* ---------- shared: the four stage cards ---------- */
.campaign-chapter{position:relative}
.campaign-chapter .pf-experience{margin:44px 0 0;max-width:100%;min-width:0}
.campaign-chapter .pf-experience *{box-sizing:border-box}
.campaign-chapter .pf-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;outline-offset:5px}
.campaign-chapter .pf-card{position:relative;min-width:0;padding:20px 18px 22px;border:1px solid #c4c9c1;border-radius:8px;background:#eeeee7;box-shadow:inset 0 1px 0 #ffffffb3,0 16px 28px -24px #25262759;color:#252627}
.campaign-chapter .pf-card:not(:last-child):after{content:'→';position:absolute;right:-14px;top:46%;z-index:2;width:26px;height:26px;display:grid;place-items:center;border:1px solid #c4c9c1;border-radius:50%;background:#eeeee7;color:#56565d;font-size:14px}
.campaign-chapter .pf-meta{display:flex;gap:12px;align-items:baseline}
.campaign-chapter .pf-meta>span:first-child{font-size:22px;font-weight:500;letter-spacing:-.04em;color:#252627;font-variant-numeric:tabular-nums}
.campaign-chapter .pf-meta>span:last-child{font-size:11px;font-weight:550;letter-spacing:.06em;color:#56565d}
.campaign-chapter .pf-visual{height:205px;position:relative;margin:16px 0 26px}
.campaign-chapter .pf-sheet{position:absolute;inset:14px 8px;border:1px solid #fff;border-radius:7px}
.campaign-chapter .pf-back{inset:22px 16px 8px;background:#d6d9d1;transform:rotate(-3deg)}
.campaign-chapter .pf-front{padding:15px;background:#fbfbf8;color:#252627;display:flex;flex-direction:column;transform:rotate(1.5deg);box-shadow:0 12px 20px -14px #25262766;transition:transform .3s ease}
.campaign-chapter .pf-card:hover .pf-front{transform:rotate(0) translateY(-3px)}
.campaign-chapter .pf-browser{display:flex;gap:3px;margin-bottom:16px}
.campaign-chapter .pf-browser i{width:4px;height:4px;border-radius:50%;background:#a9aca5}
.campaign-chapter .pf-front>strong{font-size:21px;line-height:1.05;letter-spacing:-.04em;font-weight:600}
.campaign-chapter .pf-lines{margin:14px 0}
.campaign-chapter .pf-lines i{display:block;height:3px;margin:5px 0;width:90%;background:#cfd2ca}
.campaign-chapter .pf-lines i:last-child{width:58%}
.campaign-chapter .pf-demo-cta{margin-top:auto;padding:8px 9px;border-radius:5px;background:#252627;color:#fff;font-size:9px;font-weight:600}
.campaign-chapter .pf-ad .pf-front{background:#252627;color:#eeefeb}
.campaign-chapter .pf-ad .pf-lines i{background:#55565b}
.campaign-chapter .pf-ad .pf-demo-cta{background:#eeeee7;color:#252627}
.campaign-chapter .pf-bridge .pf-front{background:#f3efe6;transform:rotate(-1.5deg)}
.campaign-chapter .pf-landing .pf-front{border-top:5px solid #252627;transform:rotate(2deg)}
.campaign-chapter .pf-checkout .pf-lines i{height:12px;width:100%;border:1px solid #c4c9c1;border-radius:3px;background:#fff}
.campaign-chapter .pf-card h3{margin:0 0 10px;font-size:clamp(19px,1.6vw,24px);font-weight:550;line-height:1.15;letter-spacing:-.03em;color:#252627}
.campaign-chapter .pf-card p{margin:0 0 20px;max-width:32ch;font-size:14px;line-height:1.55;color:#48484e}
.campaign-chapter .pf-card small{display:block;padding-top:14px;border-top:1px solid #c4c9c1;font-size:11px;line-height:1.5;color:#56565d}
.campaign-chapter .pf-caption{margin:24px 0 0;max-width:66ch;font-size:13px;line-height:1.6;color:#48484e}
.campaign-chapter .pf-controls{display:none}
.campaign-chapter .pf-rail:focus-visible{outline:2px solid #252627}

/* ---------- desktop chapter (index.html: .campaign-chapter.wrap) ---------- */
.campaign-chapter.wrap{background:#dfe2dc;border-top:1px solid #a8b0aa}
.campaign-chapter .section-heading{display:grid;grid-template-columns:1.3fr 1fr;gap:7%;align-items:end;margin-bottom:0}
.campaign-chapter .section-heading>p{max-width:36ch;margin:0;font-size:15px;line-height:1.65}
.campaign-chapter .cc-foot{display:grid;grid-template-columns:1.3fr 1fr;gap:7%;align-items:center;margin-top:48px;padding-top:32px;border-top:1px solid #b9beb6}
.campaign-chapter .cc-foot>p{margin:0;max-width:56ch;font-size:14px;line-height:1.65;color:#48484e}
.campaign-chapter .cc-foot strong{display:block;margin-bottom:4px;color:#252627;font-weight:650}
.campaign-chapter .cc-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px}
.campaign-chapter .cc-actions .text-link{min-height:44px;color:#252627;text-decoration:none}
@media(min-width:901px){.campaign-chapter .pf-card{transition:translate .25s}.campaign-chapter .pf-card:hover{translate:0 -3px}}
@media(max-width:1100px) and (min-width:901px){.campaign-chapter .pf-card{padding:16px 12px}.campaign-chapter .pf-visual{height:185px}.campaign-chapter .pf-front>strong{font-size:18px}.campaign-chapter .pf-sheet{inset-inline:3px}.campaign-chapter .pf-rail{gap:14px}}

/* ---------- phone (both pages): a swipe rail with its own keys ---------- */
@media(max-width:900px){
.campaign-chapter{overflow:hidden}
.campaign-chapter .pf-experience{margin-top:30px}
.campaign-chapter .pf-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;gap:14px;padding:4px 2px 22px;scroll-padding-inline:2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.campaign-chapter .pf-rail::-webkit-scrollbar{display:none}
.campaign-chapter .pf-card{flex:0 0 min(84%,320px);scroll-snap-align:start;padding:18px}
.campaign-chapter .pf-card:not(:last-child):after{display:none}
.campaign-chapter .pf-card h3{font-size:22px}
.campaign-chapter .pf-card p{font-size:15px}
.campaign-chapter .pf-card small,.campaign-chapter .pf-meta>span:last-child{font-size:12px}
.campaign-chapter .pf-visual{height:200px;margin:14px 0 22px}
.campaign-chapter .pf-front>strong{font-size:24px}
.campaign-chapter .pf-demo-cta{font-size:10px}
.campaign-chapter .pf-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}
.campaign-chapter .pf-controls>div{display:flex;align-items:center;gap:12px}
.campaign-chapter .pf-instruction{max-width:14ch;font-size:12px;line-height:1.4;color:#48484e}
.campaign-chapter .pf-controls output{font-size:12px;font-variant-numeric:tabular-nums;color:#252627}
.campaign-chapter .pf-controls button{width:44px;height:44px;border:1px solid #fff;border-bottom-color:#a8b0aa;border-radius:50%;background:linear-gradient(#f7f7f2,#dcded7);box-shadow:0 3px 0 #a8b0aa;color:#252627;font-size:18px;cursor:pointer;transition:transform 65ms ease-out,box-shadow 65ms ease-out}
.campaign-chapter .pf-controls button:active{transform:translateY(2px);box-shadow:0 1px 0 #a8b0aa}
.campaign-chapter .pf-controls button:disabled{opacity:.4;cursor:default}
.campaign-chapter .pf-caption{margin-top:20px;font-size:13px}
.campaign-chapter .cc-foot{grid-template-columns:1fr;gap:24px;margin-top:36px;padding-top:26px}
}
@media(max-width:650px){
.campaign-chapter .section-heading{grid-template-columns:1fr;gap:22px}
.campaign-chapter .section-heading>p{font-size:14px}
.campaign-chapter .cc-actions{flex-direction:column;align-items:stretch;gap:10px}
.campaign-chapter .cc-actions .button{justify-content:space-between;width:100%}
.campaign-chapter .cc-actions .text-link{align-self:flex-start}
}

/* ---------- /touch/ chapter (.campaign-chapter.cc-touch), between 03 and 05 ---------- */
.cc-touch{background:linear-gradient(145deg,#e4e5e4,#d3d6d7);border-top:1px solid #c6c5bd}
.cc-touch .cc-lead{max-width:450px;margin:0;font-size:16px;line-height:1.55;color:#4b5646}
.cc-touch .pf-card{background:linear-gradient(145deg,#fafbf6,#e9ece4 65%,#dfe3da);border:1px solid #fff;border-radius:9px;box-shadow:0 3px 0 #a8b2a5,0 18px 30px -24px #2527294d}
.cc-touch .pf-card:not(:last-child):after{background:#eeefe9;border-color:#fff}
.cc-touch .pf-back{background:#d3d6d7}
.cc-touch .pf-card small{border-top-color:#c3c8c0}
.cc-touch .cc-proof{max-width:450px;margin:30px 0 26px;padding-top:24px;border-top:1px solid #b7bcb6;font-size:14px;line-height:1.6;color:#4b5646}
.cc-touch .cc-proof strong{display:block;margin-bottom:4px;color:#24272a;font-weight:600}
.cc-touch .cc-link{display:flex;align-items:center;width:fit-content;min-height:44px;margin-top:10px;color:#24272a;font-size:14px;font-weight:600;text-decoration:underline;text-decoration-color:#7778;text-underline-offset:5px}
@media(max-width:600px){.cc-touch .cta{width:100%}}
@media(max-width:360px){.cc-touch h2{font-size:29px;line-height:1.1;letter-spacing:-.045em}.cc-touch .pf-card{flex-basis:86%}}

@media(prefers-reduced-motion:reduce){.campaign-chapter .pf-card,.campaign-chapter .pf-front,.campaign-chapter .pf-controls button{transition:none!important}.campaign-chapter .pf-card:hover .pf-front{transform:none}.campaign-chapter .pf-rail{scroll-behavior:auto}}
