/* Performance Marketing (18 Oct). Hero = the live media planner over a 3D orbit of the seven channels; the plan;
   channel tabs with platform-style ad previews; the pinned-image steps; FAQ. Our dark brand, one pink. */
.crumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; font: 400 var(--t-xs)/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.crumb a { color: var(--fg-2); text-decoration: none; }
.pk { color: #FF0A7A; }

/* ---------- hero + planner ---------- */
.pm-hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; align-items: center; padding: calc(var(--hd) + 30px) 0 60px;
  background: radial-gradient(55% 70% at 72% 50%, oklch(0.2 0.08 358) 0%, var(--ink-0) 66%); }
.pm-gl { position: absolute; inset: 0; }
.pm-gl canvas { display: block; width: 100%; height: 100%; }
.pm-labels { position: absolute; inset: 0; pointer-events: none; }
.pm-labels span { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgb(13 13 13 / .72); backdrop-filter: blur(6px); border: 1px solid rgb(255 255 255 / .18);
  font: 400 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; white-space: nowrap; will-change: transform, opacity; }
.pm-labels span b { font: 700 11px/1 var(--f-display); letter-spacing: 0; color: #FF0A7A; }
.pm-labels span.off { opacity: .3; }
.pm-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--ink-0) 0%, rgb(13 13 13 / .92) 34%, rgb(13 13 13 / .2) 56%, transparent 70%); }
.pm-hero-grid { position: relative; z-index: 2; }
.pm-copy { max-width: 36rem; }
.pm-h1 { font: 900 clamp(2.8rem, 5.4vw, 5.8rem)/.92 var(--f-display); letter-spacing: -0.045em; max-width: 10ch; }
.pm-h1 .pk { display: block; }
.pm-lead { margin-top: 20px; max-width: 34rem !important; font-size: clamp(1rem, 1.2vw, 1.12rem) !important; }

.pm-form { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: 20px; border-radius: 20px; background: rgb(20 18 20 / .82); backdrop-filter: blur(14px); border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 40px 80px -50px rgb(255 10 122 / .5); }
.pm-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.pm-wide { grid-column: 1 / -1; }
.pm-field label, .pm-field legend { display: flex; justify-content: space-between; align-items: baseline; padding: 0; margin-bottom: 8px; font: 400 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.pm-field output { font: 800 1.1rem/1 var(--f-display); letter-spacing: -0.01em; text-transform: none; color: #fff; }
.pm-field input[type="text"] { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid rgb(255 255 255 / .16); background: #121012; color: #fff; font: 400 1rem/1.2 var(--f-body); }
.pm-field input[type="text"]:focus { outline: 2px solid #FF0A7A; outline-offset: 2px; }
.pm-field input[type="range"] { width: 100%; accent-color: #FF0A7A; }
.pm-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-seg button { padding: 9px 12px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .16); background: none; color: var(--fg-2); font: 600 .82rem/1 var(--f-body); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.pm-seg button:hover { border-color: rgb(255 255 255 / .4); color: #fff; }
.pm-seg button[aria-pressed="true"] { background: #FF0A7A; border-color: #FF0A7A; color: #fff; }
.pm-go { grid-column: 1 / -1; justify-self: start; }

/* ---------- the plan ---------- */
.pm-plan { padding-block: clamp(80px, 12vh, 130px); border-top: 1px solid var(--rule-soft); background: radial-gradient(60% 50% at 80% 0%, oklch(0.18 0.06 358) 0%, transparent 70%); }
.pm-plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.pm-note { max-width: 40ch; font-size: .85rem; line-height: 1.55; color: var(--fg-3); }
.pm-log { margin-top: 26px; min-height: 22px; font: 400 .8rem/1.7 var(--f-mono); color: var(--fg-3); }
.pm-log p { margin: 0; animation: pmIn .35s ease; }
.pm-log b { color: #FF0A7A; font-weight: 400; }
@keyframes pmIn { from { opacity: 0; transform: translateY(6px); } }
.pm-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.pm-kpi { padding: 20px; border-radius: 18px; background: #141214; border: 1px solid rgb(255 255 255 / .08); animation: pmIn .5s ease both; }
.pm-kpi small { font: 400 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.pm-kpi b { display: block; margin-top: 12px; font: 900 clamp(1.6rem, 2.6vw, 2.4rem)/1 var(--f-display); letter-spacing: -0.03em; }
.pm-kpi span { display: block; margin-top: 8px; font-size: .8rem; color: var(--fg-2); }
.pm-plan-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px; margin-top: 12px; }
.pm-card { padding: 22px; border-radius: 18px; background: #141214; border: 1px solid rgb(255 255 255 / .08); }
.pm-card h3 { font: 800 1.15rem/1.2 var(--f-display); }
.pm-bars { margin-top: 16px; display: grid; gap: 12px; }
.pm-bar { display: grid; grid-template-columns: 120px 1fr 120px; gap: 14px; align-items: center; }
.pm-bar span { font: 600 .9rem/1.2 var(--f-body); }
.pm-bar span small { display: block; margin-top: 3px; font: 400 .72rem/1.3 var(--f-body); color: var(--fg-3); }
.pm-bar i { height: 12px; border-radius: 99px; background: rgb(255 255 255 / .07); position: relative; overflow: hidden; }
.pm-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, #a0004d, #FF0A7A); transform: scaleX(0); transform-origin: 0 50%; animation: pmGrow 1.1s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes pmGrow { to { transform: none; } }
.pm-bar em { text-align: right; font: 700 .9rem/1.2 var(--f-display); font-style: normal; }
.pm-bar em small { display: block; font: 400 .72rem/1.2 var(--f-mono); color: var(--fg-3); }
.pm-bar.off { opacity: .35; }
.pm-weeks ol { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.pm-weeks li { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 12px; border-radius: 12px; background: rgb(255 255 255 / .04); }
.pm-weeks li b { font: 400 10px/1.6 var(--f-mono); letter-spacing: .12em; color: #FF0A7A; text-transform: uppercase; }
.pm-weeks li span { font-size: .88rem; line-height: 1.5; color: var(--fg-2); }
.pm-creative { margin-top: 12px; }
.pm-cr { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pm-cr div { padding: 14px; border-radius: 12px; background: rgb(255 255 255 / .04); }
.pm-cr b { font: 700 .9rem/1.2 var(--f-display); }
.pm-cr p { margin-top: 6px; font-size: .82rem; line-height: 1.5; color: var(--fg-2); }
.pm-send { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 26px; }
.pm-reset { background: none; border: 0; cursor: pointer; color: var(--fg); font: inherit; }

/* ---------- channels ---------- */
.pm-ch { padding-block: clamp(100px, 14vh, 160px); border-top: 1px solid var(--rule-soft); }
.pm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pm-tabs button { padding: 12px 18px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .16); background: none; color: var(--fg-2); font: 700 .95rem/1 var(--f-display); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.pm-tabs button:hover { color: #fff; border-color: rgb(255 255 255 / .4); }
.pm-tabs button[aria-selected="true"] { background: #FF0A7A; border-color: #FF0A7A; color: #fff; }
.pm-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 80px); align-items: center; margin-top: 46px; min-height: 560px; animation: pmIn .5s cubic-bezier(.16, 1, .3, 1); }
.pm-panel[hidden] { display: none; }
.pm-pcopy h3 { font: 900 clamp(2rem, 3.6vw, 3.4rem)/.98 var(--f-display); letter-spacing: -0.035em; }
.pm-pcopy p { margin-top: 16px; color: var(--fg-2); line-height: 1.7; max-width: 46ch; }
.pm-pcopy ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pm-pcopy li { padding: 9px 13px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .18); font: 400 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.pm-pcopy .pm-best { margin-top: 20px; font: 400 11px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #FF0A7A; }
.pm-mock { display: grid; place-items: center; perspective: 1400px; }
.pm-mock > div { transform: rotateY(-6deg) rotateX(3deg); box-shadow: 0 60px 100px -40px rgb(0 0 0 / .9), 0 0 0 1px rgb(255 255 255 / .06); transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.pm-mock > div:hover { transform: none; }
/* Instagram-style */
.mk-ig { width: min(380px, 100%); border-radius: 18px; overflow: hidden; background: #fff; color: #111; font-family: var(--f-body); }
.mk-ig header { display: flex; gap: 10px; align-items: center; padding: 12px; }
.mk-ig header i, .mk-li header i { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #FF0A7A, #ffb36b); flex: none; }
.mk-ig header b, .mk-li header b { display: block; font-size: .85rem; }
.mk-ig header small, .mk-li header small { font-size: .72rem; color: #666; }
.mk-ig img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mk-cta { display: flex; justify-content: space-between; padding: 12px 14px; background: #f2f2f2; font: 700 .85rem/1 var(--f-body); }
.mk-ig footer { display: flex; gap: 16px; padding: 10px 14px 0; font-size: 1.2rem; }
.mk-ig > p { padding: 6px 14px 14px; font-size: .82rem; }
/* Google-style */
.mk-g { width: min(560px, 100%); border-radius: 18px; background: #fff; color: #202124; padding: 20px; font-family: Arial, sans-serif; }
.mk-g-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-radius: 999px; box-shadow: 0 1px 6px rgb(0 0 0 / .18); font-size: .95rem; }
.mk-g-res { margin-top: 22px; }
.mk-g-res small { display: inline-block; font-weight: 700; font-size: .75rem; margin-right: 8px; }
.mk-g-res em { font-style: normal; font-size: .8rem; color: #444; }
.mk-g-res b { display: block; margin-top: 6px; font-weight: 400; font-size: 1.25rem; color: #1a0dab; }
.mk-g-res p { margin-top: 6px; font-size: .85rem; line-height: 1.5; color: #4d5156; }
.mk-g-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-size: .85rem; color: #1a0dab; }
.mk-faint { opacity: .45; }
/* LinkedIn-style */
.mk-li { width: min(420px, 100%); border-radius: 14px; overflow: hidden; background: #fff; color: #111; font-family: var(--f-body); }
.mk-li header { display: flex; gap: 10px; align-items: center; padding: 12px 14px; }
.mk-li > p { padding: 0 14px 12px; font-size: .86rem; line-height: 1.45; }
.mk-li img { display: block; width: 100%; aspect-ratio: 1.2; object-fit: cover; }
.mk-li-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px; background: #f3f2ef; font: 700 .85rem/1.2 var(--f-body); }
.mk-li-foot em { font-style: normal; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #0a66c2; color: #0a66c2; }
/* TikTok + Snapchat style */
.mk-tt, .mk-sc { position: relative; width: min(300px, 80%); aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #000; color: #fff; font-family: var(--f-body); }
.mk-tt img, .mk-sc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-tt aside { position: absolute; right: 10px; bottom: 120px; display: grid; gap: 16px; text-align: center; font-size: 1.4rem; }
.mk-tt aside small { display: block; font-size: .65rem; }
.mk-tt-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 14px 14px; background: linear-gradient(0deg, rgb(0 0 0 / .7), transparent); font-size: .82rem; }
.mk-tt-cap small { opacity: .8; }
.mk-tt-cap em { display: block; margin-top: 10px; padding: 10px; border-radius: 6px; background: #FF0A7A; text-align: center; font-style: normal; font-weight: 700; }
.mk-sc img { transform: scaleX(-1); }
.mk-sc-top { position: absolute; top: 14px; left: 14px; display: flex; align-items: center; gap: 8px; font-size: .82rem; }
.mk-sc-top i { width: 28px; height: 28px; border-radius: 50%; background: #FFFC00; }
.mk-sc-top small { padding: 2px 6px; border-radius: 4px; background: rgb(255 255 255 / .25); font-size: .65rem; }
.mk-sc-up { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; place-items: center; gap: 2px; padding: 10px 22px; border-radius: 999px; background: rgb(255 255 255 / .92); color: #111; font: 700 .85rem/1 var(--f-body); }
/* YouTube-style */
.mk-yt { position: relative; width: min(560px, 100%); aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; color: #fff; font-family: var(--f-body); }
.mk-yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-yt-ad { position: absolute; left: 12px; bottom: 16px; padding: 4px 8px; border-radius: 4px; background: #f6c300; color: #111; font: 700 .72rem/1 var(--f-body); }
.mk-yt-skip { position: absolute; right: 0; bottom: 56px; padding: 10px 16px; background: rgb(0 0 0 / .7); font-size: .85rem; }
.mk-yt-cta { position: absolute; left: 12px; top: 12px; display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgb(0 0 0 / .6); font-size: .82rem; }
.mk-yt-cta em { font-style: normal; padding: 6px 10px; border-radius: 999px; background: #3ea6ff; color: #111; font-weight: 700; }
.mk-yt-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgb(255 255 255 / .3); }
.mk-yt-bar::after { content: ""; position: absolute; inset: 0 70% 0 0; background: #f6c300; }
/* programmatic: a news page with a leaderboard and an MPU */
.mk-pg { width: min(560px, 100%); border-radius: 14px; overflow: hidden; background: #f6f6f6; padding: 14px; }
.mk-pg-nav { display: flex; gap: 8px; margin-bottom: 12px; }
.mk-pg-nav i { height: 10px; border-radius: 4px; background: #d6d6d6; flex: 1; } .mk-pg-nav i:first-child { flex: .4; background: #1a1a1a; }
.mk-pg-lb { position: relative; height: 90px; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; color: #fff; }
.mk-pg-lb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.mk-pg-lb b, .mk-pg-lb em { position: relative; z-index: 1; font: 700 .95rem/1 var(--f-display); text-shadow: 0 1px 8px rgb(0 0 0 / .6); }
.mk-pg-lb em { font-style: normal; padding: 8px 12px; border-radius: 999px; background: #FF0A7A; text-shadow: none; font-size: .78rem; }
.mk-pg-body { display: grid; grid-template-columns: 1fr 180px; gap: 14px; margin-top: 14px; }
.mk-pg-txt { display: grid; gap: 10px; align-content: start; }
.mk-pg-txt i { height: 10px; border-radius: 4px; background: #dcdcdc; } .mk-pg-txt i:nth-child(1) { height: 18px; background: #bdbdbd; } .mk-pg-txt i:nth-child(3n) { width: 70%; }
.mk-pg-mpu { position: relative; aspect-ratio: 6 / 5; border-radius: 8px; overflow: hidden; }
.mk-pg-mpu img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-pg-mpu em { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 999px; background: #fff; color: #111; font: 700 .72rem/1 var(--f-body); font-style: normal; }

/* ---------- steps (same pattern as the E-commerce page) ---------- */
.st { padding-block: clamp(100px, 14vh, 160px); border-top: 1px solid var(--rule-soft); }
.st-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 6vw, 100px); margin-top: 56px; }
.st-pic { position: relative; }
.st-frame { position: sticky; top: calc(var(--hd) + 30px); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--hd) - 60px); border-radius: 26px; overflow: hidden; background: #171214; box-shadow: 0 50px 100px -50px rgb(0 0 0 / .9); }
.st-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform 1.6s cubic-bezier(.16, 1, .3, 1); }
.st-frame img.on { opacity: 1; transform: scale(1); }
.st-count { position: absolute; left: 18px; bottom: 18px; padding: 9px 13px; border-radius: 999px; background: rgb(12 10 10 / .7); backdrop-filter: blur(8px); font: 400 11px/1 var(--f-mono); letter-spacing: .14em; color: #fff; }
.st-list { list-style: none; padding: 0; margin: 0; }
.st-list li { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; padding: 30px 0; border-top: 1px solid rgb(255 255 255 / .1); opacity: .28; transition: opacity .6s; }
.st-list li:last-child { min-height: 50svh; }
.st-list li.on { opacity: 1; }
.st-list b { font: 400 12px/1 var(--f-mono); letter-spacing: .16em; color: #FF0A7A; }
.st-list h3 { margin-top: 14px; font: 900 clamp(2.6rem, 5.4vw, 5.2rem)/.95 var(--f-display); letter-spacing: -0.045em; }
.st-list p { margin-top: 16px; max-width: 34ch; color: var(--fg-2); font-size: 1.05rem; line-height: 1.65; }
.st-inline { display: none; margin: 0 0 22px; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; }
.st-inline img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sv-faq { padding-block: clamp(80px, 12vh, 140px); border-top: 1px solid var(--rule-soft); }
.sv-faq .faq { margin-top: 32px; }
.sv-faq details { border-top: 1px solid var(--rule-soft); padding: 18px 0; }
.sv-faq summary { cursor: pointer; font: 700 var(--t-m)/1.3 var(--f-display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.sv-faq summary::after { content: "+"; color: #FF0A7A; font-size: 1.4em; line-height: 1; transition: transform .3s; }
.sv-faq details[open] summary::after { transform: rotate(45deg); }
.sv-faq details p { margin-top: 12px; max-width: 70ch; color: var(--fg-2); line-height: 1.65; }

@media (max-width: 899px) {
  .pm-gl { inset: 0 0 auto 0; height: 46svh; opacity: .6; }
  .pm-labels { display: none; }
  .pm-hero::after { background: linear-gradient(0deg, var(--ink-0) 40%, rgb(13 13 13 / .6) 70%, transparent); }
  .pm-copy { padding-top: 26svh; }
  .pm-form { grid-template-columns: 1fr; }
  .pm-kpis { grid-template-columns: 1fr 1fr; }
  .pm-plan-grid, .pm-panel, .st-grid { grid-template-columns: 1fr; }
  .pm-bar { grid-template-columns: 90px 1fr 90px; gap: 10px; }
  .pm-panel { min-height: 0; }
  .st-pic { display: none; } .st-inline { display: block; } .st-list li { min-height: 0; opacity: 1; padding: 34px 0; }
}
@media (prefers-reduced-motion: reduce) { .pm-bar i::after { animation: none; transform: none; } .pm-kpi, .pm-log p, .pm-panel { animation: none; } }

/* ---------- platform logos (Simple Icons paths used as masks, so they take the text colour) ---------- */
.lg { display: inline-block; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; vertical-align: -3px; }
.lg-meta { --m: url(../../shared/logos/platforms/meta.svg); } .lg-google { --m: url(../../shared/logos/platforms/google.svg); } .lg-linkedin { --m: url(../../shared/logos/platforms/linkedin.svg); }
.lg-tiktok { --m: url(../../shared/logos/platforms/tiktok.svg); } .lg-snapchat { --m: url(../../shared/logos/platforms/snapchat.svg); } .lg-youtube { --m: url(../../shared/logos/platforms/youtube.svg); } .lg-programmatic { --m: url(../../shared/logos/platforms/programmatic.svg); }
.pm-tabs button { display: inline-flex; align-items: center; gap: 9px; }
.pm-logo { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 18px; background: #FF0A7A; color: #fff; box-shadow: 0 20px 40px -18px rgb(255 10 122 / .8); }
.pm-logo .lg { width: 32px; height: 32px; }
.pm-bar span { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: start; }
.pm-bar span .lg { grid-row: span 2; width: 16px; height: 16px; margin-top: 1px; color: #FF0A7A; }
.pm-bar.off span .lg { color: var(--fg-3); }
.pm-labels span .lg { width: 12px; height: 12px; vertical-align: 0; }

/* ---------- the banner wall ---------- */
.pm-fmt { padding-block: clamp(100px, 14vh, 160px); border-top: 1px solid var(--rule-soft); background: radial-gradient(50% 60% at 20% 30%, oklch(0.17 0.05 358) 0%, transparent 70%); }
.pm-fmt-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.pm-wall { display: grid; grid-template-columns: 300px minmax(0, 1fr) 300px; grid-template-rows: auto auto auto; gap: 26px 26px; margin-top: 50px; align-items: start; }
.ad { margin: 0; }
.ad figcaption { margin-top: 10px; font: 400 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.ad-in { position: relative; overflow: hidden; border-radius: 6px; background: #111; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .9), 0 0 0 1px rgb(255 255 255 / .08); }
.ad-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: adKen 14s ease-in-out infinite alternate; }
@keyframes adKen { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.ad-in small { position: absolute; top: 6px; right: 6px; z-index: 2; padding: 2px 6px; border-radius: 3px; background: rgb(255 255 255 / .85); color: #111; font: 600 9px/1.3 var(--f-body); }
.ad-copy { position: absolute; z-index: 1; display: flex; flex-direction: column; gap: 6px; color: #fff; }
.ad-copy b { font: 800 1.2rem/1.1 var(--f-display); letter-spacing: -0.02em; text-shadow: 0 2px 14px rgb(0 0 0 / .5); }
.ad-copy span { font-size: .8rem; line-height: 1.35; opacity: .9; text-shadow: 0 1px 8px rgb(0 0 0 / .5); }
.ad-copy em { align-self: flex-start; padding: 8px 12px; border-radius: 999px; background: #FF0A7A; font: 700 .75rem/1 var(--f-body); font-style: normal; position: relative; overflow: hidden; }
.ad-copy em::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .45) 50%, transparent 70%); transform: translateX(-120%); animation: adShine 3.6s ease-in-out infinite; }
@keyframes adShine { 60%, 100% { transform: translateX(120%); } }
.ad-lb { grid-column: 1 / -1; }
.ad-lb .ad-in { aspect-ratio: 728 / 90; max-width: 728px; margin-inline: auto; }
.ad-lb figcaption { text-align: center; }
.ad-lb .ad-in::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(0 0 0 / .75), transparent 60%); }
.ad-lb .ad-copy { left: 18px; top: 50%; transform: translateY(-50%); flex-direction: row; align-items: center; gap: 16px; z-index: 2; }
.ad-lb .ad-copy b { font-size: 1.15rem; }
.ad-hp { grid-row: 2 / 4; }
.ad-hp .ad-in { aspect-ratio: 1 / 2; }
.ad-hp .ad-in::before, .ad-story .ad-in::before, .ad-mpu .ad-in::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgb(0 0 0 / .7), transparent 55%); }
.ad-hp .ad-copy, .ad-story .ad-copy, .ad-mpu .ad-copy { left: 16px; right: 16px; bottom: 16px; z-index: 2; }
.ad-hp .ad-copy b { font-size: 1.8rem; }
.ad-ctv { grid-column: 2; grid-row: 2; }
.ad-tv { padding: 10px 10px 18px; border-radius: 14px; background: linear-gradient(#1d1d20, #0b0b0c); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9); position: relative; }
.ad-tv::after { content: ""; position: absolute; left: 42%; right: 42%; bottom: -14px; height: 14px; border-radius: 0 0 6px 6px; background: #1a1a1c; }
.ad-ctv .ad-in { aspect-ratio: 16 / 9; border-radius: 4px; }
.ad-ctv .ad-in::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(0 0 0 / .6), transparent 55%); }
.ad-ctv .ad-copy { left: 24px; bottom: 24px; z-index: 2; }
.ad-ctv .ad-copy b { font-size: clamp(1.4rem, 2.6vw, 2.4rem); }
.ad-ctv figcaption { margin-top: 26px; }
.ad-mpu { grid-column: 3; grid-row: 2; }
.ad-mpu .ad-in { aspect-ratio: 300 / 250; }
.ad-story { grid-column: 3; grid-row: 3; justify-self: end; width: 170px; }
.ad-story .ad-in { aspect-ratio: 9 / 16; border-radius: 14px; }
.ad-story .ad-copy b { font-size: 1rem; }
.ad-native { grid-column: 2; grid-row: 3; }
.ad-native .ad-in { display: grid; grid-template-columns: 38% 1fr; background: #fff; border-radius: 10px; min-height: 150px; }
.ad-native .ad-in img { position: relative; height: 100%; animation: none; }
.ad-native .ad-copy { position: static; padding: 16px; color: #111; justify-content: center; }
.ad-native .ad-copy b { text-shadow: none; font-size: 1.1rem; }
.ad-native .ad-copy span { text-shadow: none; color: #444; }
.ad-native .ad-copy small { position: static; padding: 0; background: none; color: #888; font: 400 .7rem/1.2 var(--f-body); }
.ad-mob { grid-column: 2; grid-row: 4; justify-self: center; width: 320px; }
.ad-mob .ad-in { aspect-ratio: 320 / 50; border-radius: 4px; }
.ad-mob .ad-in::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(0 0 0 / .8) 40%, transparent); }
.ad-mob .ad-copy { left: 10px; right: 8px; top: 50%; transform: translateY(-50%); flex-direction: row; justify-content: space-between; align-items: center; z-index: 2; }
.ad-mob .ad-copy b { font-size: .85rem; }
.ad-mob .ad-copy em { padding: 6px 10px; font-size: .68rem; }
@media (max-width: 899px) {
  .pm-wall { grid-template-columns: 1fr 1fr; }
  .ad-lb, .ad-ctv, .ad-native, .ad-mob { grid-column: 1 / -1; grid-row: auto; }
  .ad-hp, .ad-mpu, .ad-story { grid-column: auto; grid-row: auto; }
  .ad-story { justify-self: start; width: 100%; }
  .ad-mob { width: 100%; max-width: 320px; }
  .ad-lb .ad-copy b { font-size: .8rem; } .ad-lb .ad-copy em { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ad-in img, .ad-copy em::after { animation: none; } }

/* the hero is a grid: make its content box span the full width so the copy starts at the page margin, not centred */
.pm-hero > .wrap, .ex-hero > .wrap, .tn-hero > .wrap { width: 100%; box-sizing: border-box; }

/* Polish pass 2026-10-24: steps without numbers, readable inactive steps, phone ad sizing, focus states */
.st-list li { opacity: .46; transition: opacity .7s cubic-bezier(.16, 1, .3, 1); }
.st-list li.on { opacity: 1; }
.st-list h3 { margin-top: 0; position: relative; padding-top: 22px; }
.st-list h3::before { content: ""; position: absolute; left: 2px; top: 0; width: 7px; height: 7px; background: #FF0A7A; opacity: .5; transition: opacity .6s; }
.st-list li.on h3::before { opacity: 1; }
.st-list p { max-width: 38ch; }
.pm-weeks li { grid-template-columns: 92px 1fr; }
.pm-tabs button:focus-visible, .pm-seg button:focus-visible, .pm-go:focus-visible, .pm-reset:focus-visible { outline: 2px solid #FF0A7A; outline-offset: 3px; }
.pm-pcopy p:not(.pm-best) { max-width: 62ch; }
@media (max-width: 899px) {
  .st-list li { opacity: 1; }
  .ad-hp .ad-copy b { font-size: 1.25rem; }
  .ad-hp .ad-copy span { font-size: .8rem; }
  .ad-hp .ad-copy em { font-size: .72rem; white-space: nowrap; }
  .pm-pcopy .pm-best { max-width: 32ch; }
}
.pm-bar.off { opacity: .55; }
@media (max-width: 560px) {
  .pm-weeks li { grid-template-columns: 1fr; gap: 6px; }
}
