/* Muve — Ads. Hero: a working ad builder over the red ribbon. Then the aim field (boost vs aimed), the search and feed
   mock-ups, the month story (strip + four panes) and the OK stamp. Everything continuous is transform / opacity. */

/* ---------- hero ---------- */
.ad-hero { min-height: 0; padding-bottom: clamp(36px, 7vw, 110px); }
.ad-hero__grid { align-items: center; padding-block: clamp(20px, 3.5vh, 56px) clamp(12px, 2.5vh, 36px); }
.ad-hero .phero__kicker { margin-bottom: clamp(12px, 2vh, 24px); }
.ad-hero .phero__lede { margin-top: clamp(14px, 2.2vh, 26px); }
.ad-hero .phero__cta { margin-top: clamp(16px, 2.6vh, 30px); }
.ad-crumb { padding-top: 0; margin-bottom: clamp(10px, 2vh, 22px); }
@media (pointer: coarse) { .ad-crumb a { display: inline-flex; align-items: center; min-height: 44px; } }
@media (max-width: 900px) { .ad-hero .mesh { inset: 38% 0 0 0; } .ad-hero__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1100px) { .adb__net { padding: 0 8px; } }

.adb { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; max-width: 470px; margin-left: auto; padding: 16px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); font-size: var(--text-sm); line-height: 1.4; }
.adb__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.adb__biz { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.adb__logo { width: 22px; height: 22px; background: linear-gradient(135deg, var(--red) 50%, var(--amber) 50%); flex: none; }
.adb__eg, .ad-aim__eg, .ad-card__eg, .mo__eg { color: var(--ink-2); }
.adb__eg i, .ad-aim__eg i, .ad-card__eg i, .mo__eg i { background: var(--ink-2); }
.adb__nets { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 10px; background: var(--paper-2); }
.adb__net, .ad-aim__tab { min-height: 36px; padding: 0 14px; border-radius: 7px; font-size: var(--text-sm); font-weight: 400; color: var(--ink); background: transparent; transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out); }
.adb__net[aria-pressed="true"], .ad-aim__tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .adb__net:not([aria-pressed="true"]):hover, .ad-aim__tab:not([aria-pressed="true"]):hover { background: var(--white); color: var(--red-ink); } }
.adb__net:not([aria-pressed="true"]):focus-visible, .ad-aim__tab:not([aria-pressed="true"]):focus-visible { background: var(--white); color: var(--red-ink); }
@media (pointer: coarse) { .adb__net, .ad-aim__tab { min-height: 44px; } }

.adb__stage { position: relative; height: 226px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08); padding: 14px 16px; display: grid; align-content: center; overflow: hidden; }
.adb__g, .adb__m { display: grid; gap: 8px; }
.adb[data-net="google"] .adb__m, .adb[data-net="meta"] .adb__g { display: none; }
.adb[data-net="google"] .adb__for-m, .adb[data-net="meta"] .adb__for-g { display: none; }
.adb__spon { font-size: var(--text-xs); color: var(--ink-2); }
.adb__headline { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 400; color: var(--blue-ink); min-height: 2.4em; }
.adb__headline--m { color: var(--ink); font-size: 1.0625rem; min-height: 1.2em; }
.adb__headline.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.14em; background: currentColor; animation: caret 1s steps(1) infinite; }
.adb__desc { color: var(--ink-2); transition: opacity var(--t-panel) var(--ease-out), translate var(--t-panel) var(--ease-out); }
.adb__links { display: flex; gap: 8px; margin-top: 4px; }
.adb__links i { width: 64px; height: 8px; background: color-mix(in srgb, var(--blue) 30%, var(--paper)); }
.adb__pic { border-radius: 8px; overflow: hidden; height: 104px; background: var(--paper-2); }
.adb__pic .phimg { width: 100%; height: 100%; transition: opacity var(--t-enter) var(--ease-out), scale var(--t-enter) var(--ease-out); }
.adb__callrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--text-xs); color: var(--ink-2); }
.adb__callrow b { padding: 7px 12px; border-radius: 6px; background: var(--paper-2); color: var(--ink); font-weight: 500; }
.adb[data-step="0"] .adb__desc, .adb[data-step="1"] .adb__desc { opacity: 0; translate: 0 8px; }
.adb[data-step="0"] .adb__pic .phimg, .adb[data-step="1"] .adb__pic .phimg { opacity: 0; scale: 1.08; }
/* the live flag across the corner of the preview */
.adb__stage::after { content: "Live"; position: absolute; right: 12px; top: 12px; padding: 5px 9px; font: 500 var(--text-xs)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--green-ink); color: #ffffff; opacity: 0; translate: 0 -8px; transition: opacity var(--t-panel) var(--ease-out), translate var(--t-panel) var(--ease-out); }
.adb[data-state="live"] .adb__stage::after { opacity: 1; translate: 0 0; }

.adb__slots { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: var(--text-xs); color: var(--ink-2); }
.adb__slots li { display: inline-flex; align-items: center; gap: 7px; }
.adb__slots i { width: 10px; height: 10px; box-shadow: inset 0 0 0 1.5px var(--ink-3); background: transparent; transition: background-color var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out), scale var(--t-hover) var(--ease-out); }
.adb:is([data-step="1"], [data-step="2"], [data-step="3"]) [data-slot="1"] i,
.adb:is([data-step="2"], [data-step="3"]) [data-slot="2"] i,
.adb[data-step="3"] [data-slot="3"] i { background: var(--green-ink); box-shadow: inset 0 0 0 1.5px var(--green-ink); scale: 1.15; }

.adb__aud { display: grid; gap: 10px; }
.adb__cells { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; min-height: 48px; background-size: 14px 14px; }
.adb__cells i { aspect-ratio: 1; background: var(--red); opacity: .16; transition: opacity 700ms var(--ease-out), scale 700ms var(--ease-out); transition-delay: calc(var(--d, 0) * 9ms); }
.adb[data-aud="0"] .adb__cells i { opacity: .55; }
.adb[data-aud="1"] .adb__cells i:is([data-k="1"], [data-k="2"], [data-k="3"]) { opacity: .7; }
.adb[data-aud="2"] .adb__cells i:is([data-k="2"], [data-k="3"]) { opacity: .85; }
.adb[data-aud="3"] .adb__cells i[data-k="3"] { opacity: 1; scale: 1.12; }
.adb[data-state="live"] .adb__cells i[data-k="3"] { animation: cell-pulse 2.4s var(--ease-io) infinite; animation-delay: calc(var(--d, 0) * 40ms); }
.adb__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.adb__chips li { padding: 5px 10px; border-radius: var(--r-pill); font-size: var(--text-xs); background: var(--paper-2); color: var(--ink-2); transition: background-color var(--t-panel) var(--ease-out), color var(--t-panel) var(--ease-out), opacity var(--t-panel) var(--ease-out); }
.adb[data-aud="0"] .adb__chips li, .adb[data-aud="1"] [data-chip="2"], .adb[data-aud="1"] [data-chip="3"], .adb[data-aud="2"] [data-chip="3"] { opacity: .45; }
.adb:is([data-aud="1"], [data-aud="2"], [data-aud="3"]) [data-chip="1"], .adb:is([data-aud="2"], [data-aud="3"]) [data-chip="2"], .adb[data-aud="3"] [data-chip="3"] { background: color-mix(in srgb, var(--red) 14%, var(--white)); color: var(--ink); }

.adb__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; min-height: 60px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--amber) 22%, var(--white)); transition: background-color var(--t-panel) var(--ease-out); }
.adb__msg { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); flex: 1 1 150px; }
.adb__msg::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--amber-ink); animation: cell-pulse 1.6s var(--ease-io) infinite; }
.adb[data-state="live"] .adb__bar { background: color-mix(in srgb, var(--green) 22%, var(--white)); }
.adb[data-state="live"] .adb__msg::before { background: var(--green-ink); }
.adb[data-state="changed"] .adb__bar, .adb[data-state="build"] .adb__bar { background: var(--paper-2); }
.adb[data-state="changed"] .adb__msg::before, .adb[data-state="build"] .adb__msg::before { background: var(--ink-3); }
.adb__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.adb__acts .btn { text-transform: none; letter-spacing: 0; font: 500 var(--text-sm)/1 var(--font); }
.adb__ok { --b-bg: var(--green-ink); --b-bg-h: var(--ink); --b-ink: #ffffff; --b-ink-h: #ffffff; }
.adb[data-state="build"] .adb__acts { visibility: hidden; }
.adb__acts [hidden] { display: none; }
@media (pointer: coarse) { .adb__acts .btn { min-height: 44px; } }
@media (max-width: 900px) { .adb { margin-inline: auto; } }
@media (max-width: 420px) { .adb { padding: 14px; } .adb__cells { grid-template-columns: repeat(18, 1fr); } .adb__nets { grid-template-columns: 1fr 1.6fr; } .adb__net { padding: 0 8px; } }

/* ---------- the boost button: a field of people, scattered or aimed ---------- */
.ad-boost__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s-5) clamp(32px, 6vw, 96px); align-items: center; }
.ad-boost__copy { display: grid; gap: 20px; justify-items: start; }
.ad-boost__copy .label { color: var(--hue-ink); }
.ad-aim { padding: clamp(16px, 2vw, 24px); display: grid; gap: 14px; }
.ad-aim__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 10px; background: var(--paper-2); }
.ad-aim__field { position: relative; height: clamp(230px, 28vw, 330px); border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08); overflow: hidden; container-type: size; }
.ad-aim__cells i { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px; background: var(--orange); translate: calc(var(--ax) * 1cqw) calc(var(--ay) * 1cqh); opacity: var(--ao, 1); transition: translate 1100ms var(--ease-out), opacity 700ms var(--ease-out), background-color 700ms var(--ease-out); transition-delay: calc(var(--d, 0) * 14ms); }
.ad-aim[data-mode="boost"] .ad-aim__cells i { translate: calc(var(--bx) * 1cqw) calc(var(--by) * 1cqh); opacity: .8; background: var(--ink-3); animation: aim-drift 5s var(--ease-io) infinite alternate; animation-delay: calc(var(--d, 0) * -130ms); }
@keyframes aim-drift { to { transform: translate(calc(var(--dx, 1) * 9px), calc(var(--dy, 1) * 7px)); } }
.ad-aim__phone { position: absolute; right: 5%; top: 50%; display: grid; place-items: center; width: clamp(48px, 6vw, 64px); aspect-ratio: 1; border-radius: 14px; background: var(--ink); color: var(--paper); box-shadow: var(--sh-2); translate: 0 -50%; transition: opacity var(--t-panel) var(--ease-out), scale var(--t-panel) var(--ease-out); }
.ad-aim[data-mode="boost"] .ad-aim__phone { opacity: .32; scale: .92; }
.ad-aim__phone .ic { width: 45%; height: 45%; }
.ad-aim__cap { font-size: var(--text-lg); line-height: 1.35; color: var(--ink); min-height: 2.7em; }
@media (max-width: 900px) { .ad-boost__grid { grid-template-columns: 1fr; } }

/* ---------- where ads run ---------- */
.ad-where { isolation: isolate; }
.ad-where__glow { inset: 26% 0 18% 0; }
.ad-mq { --mq-gap: 12px; --mq-t: 46s; margin-bottom: clamp(24px, 3vw, 40px); }
.ad-mq li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-pill); background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .1); font: 400 var(--text-sm)/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.ad-mq li::before { content: ""; width: 7px; height: 7px; background: var(--hue); }
.ad-where__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.ad-card { display: grid; grid-template-rows: auto 1fr; }
.ad-card > .wash + * { position: relative; display: grid; place-items: center; min-height: clamp(300px, 30vw, 360px); padding: clamp(20px, 3vw, 36px); }
.ad-card__copy { display: grid; gap: 12px; align-content: start; padding: 0 clamp(20px, 3vw, 36px) clamp(24px, 3vw, 36px); }
.ad-card__eg { position: absolute; left: 16px; top: 14px; }

.ad-serp > * { width: min(100%, 400px); }
.ad-serp { align-content: center; gap: 10px; }
.ad-serp__bar { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .14), var(--sh-1); font: 400 var(--text-sm)/1.2 var(--mono); color: var(--ink); }
.ad-serp__bar .ic { width: 16px; height: 16px; color: var(--ink-3); }
.ad-serp__ad { display: grid; gap: 5px; padding: 14px 16px; border-radius: 10px; background: var(--white); box-shadow: inset 3px 0 0 var(--amber), inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-1); transition: translate var(--t-enter) var(--ease-out), opacity var(--t-enter) var(--ease-out); }
.js .ad-serp:not(.is-on) .ad-serp__ad { opacity: 0; translate: 0 14px; }
.ad-serp__spon { font-size: var(--text-xs); color: var(--ink-2); }
.ad-serp__h { font-size: 1.0625rem; line-height: 1.25; color: var(--blue-ink); font-weight: 400; }
.ad-serp__d { font-size: var(--text-sm); color: var(--ink-2); }
.ad-serp__row { display: grid; gap: 6px; padding: 10px 16px; border-radius: 10px; background: color-mix(in srgb, var(--white) 70%, transparent); }
.ad-serp__row i { height: 7px; background: rgba(11, 27, 51, .12); }
.ad-serp__row i:nth-child(1) { width: 36%; }
.ad-serp__row i:nth-child(2) { width: 82%; }
.ad-serp__row i:nth-child(3) { width: 58%; }
.ad-serp .ad-card__eg { width: auto; }

.ad-feed__track { width: min(100%, 270px); height: 300px; padding: 12px; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .1), var(--sh-2); overflow: hidden; display: grid; grid-auto-rows: max-content; gap: 12px; }
.ad-feed__track > * { transition: translate 1400ms var(--ease-out); }
.ad-feed.is-on .ad-feed__track > * { translate: 0 -76px; }
.ad-feed__post { display: grid; grid-template-columns: 22px 1fr; gap: 6px 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(11, 27, 51, .08); }
.ad-feed__post i { width: 22px; height: 22px; background: var(--paper-2); grid-row: span 2; }
.ad-feed__post b { height: 7px; background: rgba(11, 27, 51, .12); align-self: center; }
.ad-feed__post b:last-child { width: 60%; }
.ad-feed__post::after { content: ""; grid-column: 1 / -1; height: 16px; background: var(--paper-2); }
.ad-feed__ad { display: grid; gap: 8px; }
.ad-feed__who { display: flex; align-items: center; gap: 8px; font-size: var(--text-xs); line-height: 1.3; color: var(--ink-2); }
.ad-feed__who i { width: 22px; height: 22px; flex: none; background: linear-gradient(135deg, var(--red) 50%, var(--amber) 50%); }
.ad-feed__who b { display: block; color: var(--ink); }
.ad-feed__pic { width: 100%; aspect-ratio: 2 / 1; border-radius: 8px; }
.ad-feed__h { font-size: var(--text-sm); font-weight: 500; line-height: 1.3; color: var(--ink); }
.ad-feed__btn span { display: block; padding: 8px; border-radius: 6px; text-align: center; font-size: var(--text-xs); font-weight: 500; background: var(--paper-2); color: var(--ink); }

.ad-land { margin-top: clamp(16px, 2vw, 28px); padding: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.ad-land__shot { display: block; border-radius: 8px; overflow: hidden; box-shadow: var(--sh-2); }
.ad-land__shot img { width: 100%; height: auto; transition: scale var(--t-enter) var(--ease-out), opacity var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ad-land__shot:hover img { scale: 1.04; opacity: .94; } }
.ad-land__shot:focus-visible img { scale: 1.04; opacity: .94; }
.ad-land__copy { display: grid; gap: 14px; justify-items: start; }
.ad-land__copy .label { color: var(--hue-ink); }
@media (max-width: 820px) { .ad-where__cards, .ad-land { grid-template-columns: 1fr; } }

/* ---------- the month story ---------- */
.ad-month { --skew-bg: var(--white); }
.ad-story .story__step { display: grid; gap: 12px; justify-items: start; }
.mo { position: relative; display: grid; gap: 18px; padding: clamp(16px, 2vw, 26px); border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); }
.mo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, var(--amber), var(--green) 22%, var(--red) 46%, var(--pink) 80%, var(--ink)); }
.mo .mo__pane--write { background: color-mix(in srgb, var(--amber) 12%, var(--white)); }
.mo .mo__pane--ok { background: color-mix(in srgb, var(--green) 12%, var(--white)); }
.mo .mo__pane--runs { background: color-mix(in srgb, var(--red) 8%, var(--white)); }
.mo__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mo__wk { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mo__wk i { aspect-ratio: 1; background: var(--paper-2); transition: background-color var(--t-panel) var(--ease-out), scale var(--t-panel) var(--ease-out); transition-delay: calc(var(--d, 0) * 22ms); }
.mo__wk i.is-lit { background: var(--red); }
.mo__wk i.is-lit[data-k="write"] { background: var(--amber); }
.mo__wk i.is-lit[data-k="ok"] { background: var(--green); scale: 1.18; }
.mo__wk i.is-lit[data-k="report"] { background: var(--ink); }
.mo__stage { position: relative; min-height: clamp(230px, 24vw, 290px); }
.mo__pane { position: absolute; inset: 0; display: grid; align-content: center; gap: 14px; padding: clamp(14px, 2vw, 24px); border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08); opacity: 0; translate: 0 14px; visibility: hidden; transition: opacity var(--t-panel) var(--ease-out), translate var(--t-panel) var(--ease-out), visibility 0s linear var(--t-panel); }
.ad-story[data-active="write"] .mo__pane--write, .ad-story[data-active="ok"] .mo__pane--ok, .ad-story[data-active="runs"] .mo__pane--runs, .ad-story[data-active="report"] .mo__pane--report, .ad-story:not([data-active]) .mo__pane--report { opacity: 1; translate: 0 0; visibility: visible; transition-delay: 0s; }
.mo__cap { font: 500 var(--text-xs)/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.mo__sheet { position: relative; display: grid; gap: 10px; }
.mo__line--h { font-size: var(--text-xl); line-height: 1.15; letter-spacing: -.02em; color: var(--ink); max-width: 16em; }
.mo__rule { display: block; height: 8px; background: rgba(11, 27, 51, .12); transform-origin: 0 50%; transform: scaleX(0); transition: transform 900ms var(--ease-out); }
.mo__rule:nth-of-type(2) { transition-delay: 160ms; }
.mo__rule:nth-of-type(3) { transition-delay: 320ms; }
.mo__rule--s { width: 58%; }
.ad-story[data-active="write"] .mo__rule { transform: scaleX(1); }
.mo__pencil { position: absolute; right: 4px; bottom: -4px; width: 22px; height: 22px; color: var(--ink); animation: mo-pencil 1.8s var(--ease-io) infinite alternate; }
@keyframes mo-pencil { to { translate: -10px -6px; } }
.mo__okcard { display: flex; align-items: center; gap: 18px; }
.mo__check { width: 40px; height: 40px; color: var(--green-ink); scale: .6; opacity: 0; transition: scale 500ms var(--ease-out) 200ms, opacity 500ms var(--ease-out) 200ms; }
.ad-story[data-active="ok"] .mo__check, .ad-story:not([data-active]) .mo__check { scale: 1; opacity: 1; }
.mo__okcard p { display: grid; gap: 2px; }
.mo__okcard b { font-size: var(--text-xl); font-weight: 400; letter-spacing: -.02em; color: var(--ink); }
.mo__okcard span { color: var(--ink-2); }
.mo__nets { display: flex; flex-wrap: wrap; gap: 8px; }
.mo__nets li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-pill); background: var(--paper); font-size: var(--text-sm); color: var(--ink); }
.mo__flow { position: relative; height: 44px; overflow: hidden; background: linear-gradient(rgba(11, 27, 51, .14), rgba(11, 27, 51, .14)) 0 50% / 100% 1px no-repeat; }
.mo__flow i { position: absolute; left: -12px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--red); animation: mo-flow 3.2s linear infinite; animation-play-state: paused; }
.mo__flow i:nth-child(2) { animation-delay: -.64s; background: var(--orange); }
.mo__flow i:nth-child(3) { animation-delay: -1.28s; }
.mo__flow i:nth-child(4) { animation-delay: -1.92s; background: var(--pink); }
.mo__flow i:nth-child(5) { animation-delay: -2.56s; }
.mo__flow b { position: absolute; right: 0; top: 50%; width: 26px; height: 26px; margin-top: -13px; background: var(--ink); }
@keyframes mo-flow { to { transform: translateX(min(46vw, 600px)); } }
.ad-story[data-active="runs"] .mo__flow i { animation-play-state: running; }
.mo__rep { display: grid; gap: 12px; }
.mo__rep > div { display: grid; grid-template-columns: minmax(0, 11em) 1fr; gap: 12px; align-items: center; }
.mo__rep dt { font-size: var(--text-sm); color: var(--ink); }
.mo__rep dd { height: 12px; background: var(--paper-2); }
.mo__rep dd i { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1000ms var(--ease-out) 150ms; }
.mo__rep > div:nth-child(2) i { background: var(--green); transition-delay: 280ms; }
.mo__rep > div:nth-child(3) i { background: var(--amber); transition-delay: 410ms; }
.ad-story[data-active="report"] .mo__rep dd i, .ad-story:not([data-active]) .mo__rep dd i { transform: scaleX(var(--w)); }
.mo__rep dd.mo__rep-note { height: auto; background: none; font-size: var(--text-sm); font-weight: 500; color: var(--green-ink); }
@media (max-width: 900px) { .mo { gap: 12px; padding: 12px; background: var(--white); } .mo__stage { min-height: 168px; } .mo__pane { padding: 12px 14px; gap: 10px; } .mo__eg { display: none; } .mo__check { width: 32px; height: 32px; } .mo__rep { gap: 8px; } .mo__rep > div { grid-template-columns: minmax(0, 9.5em) 1fr; } .mo__pencil { width: 20px; height: 20px; } }

/* ---------- fair questions ---------- */
.ad-doubts { background: linear-gradient(180deg, color-mix(in srgb, var(--amber) 16%, var(--paper)), color-mix(in srgb, var(--orange) 10%, var(--paper))); }
.ad-doubts__list { padding-block: clamp(8px, 1.4vw, 16px); }
.ad-doubts__list .qa:first-of-type { border-top: 0; }
.ad-doubts__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-5) clamp(32px, 6vw, 96px); align-items: start; }
.ad-doubts__side { display: grid; gap: 24px; }
.ad-doubts__side .label { color: var(--hue-ink); }
.ad-stamp { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; padding: 20px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-1); color: var(--green-ink); }
.ad-stamp p { color: var(--ink); font-size: var(--text-lg); line-height: 1.4; }
.ad-doubts__next { margin-top: 24px; }
@media (max-width: 900px) { .ad-doubts__grid { grid-template-columns: 1fr; } }

/* ---------- the rest of your marketing ---------- */
.ad-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
a.ad-link, span.ad-link { display: grid; gap: 12px; align-content: start; height: 100%; padding: clamp(18px, 2.2vw, 28px); overflow: hidden; transition: box-shadow var(--t-panel) var(--ease-out), translate var(--t-panel) var(--ease-out); }
.ad-link .wash::before { inset: 55% -20% -60% -20%; opacity: .34; }
.ad-link__tile { transition: rotate var(--t-panel) var(--ease-out); }
.ad-link b { display: flex; align-items: center; gap: 10px; font-size: var(--text-xl); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.ad-link > span:last-child { display: block; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { a.ad-link:hover { translate: 0 -4px; color: var(--ink); } a.ad-link:hover .ad-link__tile { rotate: -8deg; } }
a.ad-link:focus-visible { translate: 0 -4px; color: var(--ink); }
a.ad-link:focus-visible .ad-link__tile { rotate: -8deg; }
span.ad-link .arrow, span.ad-link .wash { display: none; }
.ad-more__next { margin-top: clamp(24px, 3vw, 40px); }
@media (max-width: 900px) { .ad-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ad-more__grid { grid-template-columns: 1fr; } }

/* ---------- what's included ---------- */
.ad-inc__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.ad-inc__it { display: grid; gap: 18px; align-content: start; padding: clamp(18px, 2.2vw, 28px); font-size: var(--text-lg); line-height: 1.4; color: var(--ink); }
@media (max-width: 900px) { .ad-inc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ad-inc__list { grid-template-columns: 1fr; } }
.ad-inc__it { position: relative; overflow: hidden; }
.ad-inc__it .wash::before { opacity: .3; }
.ad-inc .next { margin-top: clamp(20px, 3vw, 36px); }

/* ---------- what it costs ---------- */
.ad-cost { padding-block: 0 var(--sp-section); }
.ad-cost__card { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 4vw, 64px); align-items: center; padding: clamp(22px, 4vw, 56px); overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--green) 12%, var(--white)), var(--white) 60%); }
.ad-cost__copy { display: grid; gap: 16px; justify-items: start; }
.ad-cost__copy .label { color: var(--hue-ink); }
.ad-cost__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 6px; }
@media (max-width: 820px) { .ad-cost__card { grid-template-columns: 1fr; } .ad-cost__art { justify-self: start; } }
.ad-close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(28px, 4vw, 56px); padding-top: clamp(20px, 3vw, 36px); border-top: 1px solid rgba(11, 27, 51, .14); }

/* short landscape screens: the buttons come up under the headline */
@media (max-height: 500px) and (orientation: landscape) { .ad-hero__grid { padding-block: 8px 16px; } .ad-hero .phero__copy { display: grid; justify-items: start; } .ad-hero .phero__kicker { display: none; } .ad-crumb { margin-bottom: 6px; } .ad-hero .phero__cta { order: 2; margin-top: 12px; } .ad-hero .phero__lede { order: 3; } }

@media (prefers-reduced-motion: reduce) {
  .adb *, .ad-aim *, .ad-serp *, .ad-feed *, .mo *, .ad-stamp *, .ad-link, .ad-link__tile, .ad-land__shot img { transition: none !important; animation: none !important; }
  .js .ad-serp:not(.is-on) .ad-serp__ad { opacity: 1; translate: none; }
  .mo__rule { transform: none; }
  .mo__check { scale: 1; opacity: 1; }
}


/* phones: the art fills its box, so the corner "Example" tag needs its own row above it instead of sitting on the search bar / feed */
@media (max-width: 600px) { .ad-card > .wash + * { padding-top: 54px; } }

/* touch: breadcrumb links get a 44px target (same as products) */
@media (pointer: coarse) { .crumb a { display: inline-flex; align-items: center; min-height: 44px; } }
/* picture placeholders inside the mock-ups: a soft tint of the card's hue with one Lucide line icon (no drawn scenes) */
.phimg { display: grid; place-items: center; background: linear-gradient(150deg, color-mix(in srgb, var(--hue) 26%, var(--white)), color-mix(in srgb, var(--hue) 8%, var(--white))); color: var(--hue-ink); }
.phimg .ic { width: 36px; height: 36px; }

/* cost card: a small estimate panel drawn as real UI, Lucide icons only */
.cmock { display: grid; gap: 14px; width: 100%; max-width: 300px; justify-self: center; padding: 18px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .1), var(--sh-2); color: var(--ink); }
.cmock .ic { width: 18px; height: 18px; color: var(--hue-ink); }
.cmock__top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(11, 27, 51, .1); font-size: var(--text-sm); }
.cmock__top b { font-weight: 500; }
.cmock__rows { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.cmock__rows li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: var(--text-sm); line-height: 1.25; color: var(--ink-2); }
.cmock__sw { position: relative; width: 30px; height: 18px; border-radius: 9px; background: var(--hue-ink); }
.cmock__sw::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #ffffff; }
.cmock__total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(11, 27, 51, .1); font: 500 var(--text-xs)/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.cmock__total i { width: 72px; height: 10px; border-radius: 5px; background: color-mix(in srgb, var(--hue) 40%, var(--white)); }

/* 11/20 overflow-gate SPILL: the audience chips sat in a grid track sized to their content, so "Searching “furnace
   repair”" pushed 26px past the card at 1024 instead of wrapping to the next line */
.adb__aud { grid-template-columns: minmax(0, 1fr); }
.adb__aud > * { min-width: 0; }
.adb__chips li { max-width: 100%; }

/* 11/20 audit: the unlabelled square fields are gone. Boosted vs aimed is now a labelled comparison of what each buys you;
   "Where your ads run" keeps its words (the hero is the one ad mock-up on the page). */
.ad-aim__cmp { display: grid; gap: 8px; margin: 0; }
.ad-aim__cmp > div { display: grid; gap: 4px; padding: 12px 14px; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08); }
.ad-aim__cmp dt { font: 500 var(--text-xs)/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ad-aim__cmp dd { margin: 0; font-size: var(--text-lg); line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
.ad-aim[data-mode="aimed"] .ad-aim__cmp > div { background: color-mix(in srgb, var(--orange) 10%, var(--white)); box-shadow: inset 4px 0 0 var(--orange), inset 0 0 0 1px rgba(11, 27, 51, .08); }
.ad-aim[data-mode="boost"] [data-aim-v="aimed"], .ad-aim[data-mode="aimed"] [data-aim-v="boost"] { display: none; }
.ad-where__cards--words .ad-card { grid-template-rows: auto; }
.ad-where__cards--words .ad-card > .wash + .ad-card__copy { display: grid; place-items: start; align-content: start; gap: 12px; min-height: 0; padding: clamp(20px, 2.6vw, 32px); }
/* the caption said the "Who sees it" line again; it stays for screen readers as the switch's announcement (sr-only) */
.ad-aim__cmp dt { display: flex; align-items: center; gap: 8px; } .ad-aim__cmp dt .ic { width: 16px; height: 16px; color: var(--orange-ink); flex: none; }
