/* /ads/ (Q802, Colin 22 Nov 2026 12:1x: "actualyy make an ads page too considering it actually works or will soon"). The page is the site's own
   product page type (/seo/, /website/, /socials/): the same hero, sections, splits, facts and answers. Loaded after fable.css and socials.css,
   whose rows, modules, bank drawings and board-look card (.sx-card, .sx-hand, .sxi-list) it uses; only this page's own drawings are styled
   here, prefixed ax-. Colours and fonts are the site's tokens; the handwriting is fable.css's "Caveat FB". */

/* ---------- the hero drawing: the search, the ad, the cost per click, the budget, the docket ---------- */
.axh{margin:0;position:relative}
.axh-svg{display:block;width:100%;height:auto;overflow:visible}
.axh-svg--ph{display:none}
.axh-svg text{font-family:var(--sd-font);fill:var(--sd-ink)}
.axh-svg .ax-hand{font-family:"Caveat FB",Caveat,"Segoe Print",cursive;font-weight:700}
.axh-svg .ax-h1{font-size:35px}
.axh-svg .ax-h2{fill:#3e5c55}
.axh-svg .ax-q{font-weight:700;letter-spacing:-.01em}
.axh-svg .ax-spons{font-weight:800}
.axh-svg .ax-name{font-weight:800;letter-spacing:-.01em}
.axh-svg .ax-url,.axh-svg .ax-desc{fill:#3e5c55;font-weight:600}
.axh-svg .ax-head{fill:#1a56c4;font-weight:800;letter-spacing:-.025em}
.axh-svg .ax-link{font-weight:800}
.axh-svg .ax-lab{font-weight:800;letter-spacing:.1em}
.axh-svg .ax-old{font-weight:700;fill:#3e5c55}
.axh-svg .ax-price{font-weight:800;letter-spacing:-.045em}
.axh-svg .ax-spent{font-weight:800}
.axh-svg .ax-cap{font-weight:700;fill:#3e5c55}
.axh-svg .ax-dh,.axh-svg .ax-ds,.axh-svg .ax-dl,.axh-svg .ax-dt{font-family:ui-monospace,"Cascadia Mono",Menlo,Consolas,monospace}
.axh-svg .ax-dh{font-size:13px;font-weight:800;letter-spacing:.1em}
.axh-svg .ax-ds{font-size:11.5px;font-weight:700;letter-spacing:.12em;fill:#3e5c55}
.axh-svg .ax-dl{font-size:14.5px;font-weight:600}
.axh-svg .ax-dt{font-size:20px;font-weight:800}
@media (max-width:760px){
  .axh-svg--desk{display:none}.axh-svg--ph{display:block}
  .axh-svg--ph .ax-h1{font-size:29px}
}
/* it plays once: the search is typed, the ad lands and is pressed, the tag swings in and its price comes down, the budget fills to its cap,
   then the docket prints (only once the script has armed it: with no script, or reduced motion, the picture is simply finished) */
.ax-bar{transition:opacity .4s ease .15s}
.ax-ad{transition:opacity .45s ease .55s,transform .6s var(--sd-settle) .55s}
.ax-tap{transition:opacity .3s ease 1.2s,transform .45s var(--sd-settle) 1.2s}
.ax-string{transition:opacity .4s ease 1.5s}
.ax-tag{transform-origin:0 20px;transition:opacity .35s ease 1.5s,transform .9s var(--sd-settle) 1.5s}
.ax-strike{stroke-dasharray:80;stroke-dashoffset:0;transition:stroke-dashoffset .4s ease 2.2s}
.ax-now{transition:opacity .4s ease 2.45s}
.ax-fill{transition:transform .9s cubic-bezier(.3,.8,.3,1) 2.6s}
.ax-fill-end{transition:opacity .2s ease 3.4s}
.ax-lock{transition:transform .45s var(--sd-settle) 3.45s}
.ax-back{transition:opacity .4s ease 3.6s}
.ax-docket{transition:clip-path .9s cubic-bezier(.2,.8,.2,1) 3.8s,opacity .2s ease 3.8s}
.ax-docket{clip-path:inset(-10px -10px -24px -10px)}
.axh.is-armed:not(.is-on) .ax-bar,.axh.is-armed:not(.is-on) .ax-string,.axh.is-armed:not(.is-on) .ax-now,.axh.is-armed:not(.is-on) .ax-back,.axh.is-armed:not(.is-on) .ax-fill-end{opacity:0}
.axh.is-armed:not(.is-on) .ax-ad{opacity:0;transform:translateY(16px)}
.axh.is-armed:not(.is-on) .ax-tap{opacity:0;transform:translate(26px,22px)}
.axh.is-armed:not(.is-on) .ax-tag{opacity:0;transform:rotate(-26deg)}
.axh.is-armed:not(.is-on) .ax-strike{stroke-dashoffset:80}
.axh.is-armed:not(.is-on) .ax-fill{transform:scaleX(0)}
.axh.is-armed:not(.is-on) .ax-lock{transform:scale(0)}
.axh.is-armed:not(.is-on) .ax-docket{opacity:0;clip-path:inset(-10px -10px 100% -10px)}
/* armed and waiting is a state, never a motion: when the first paint beats the script (a slow connection), nothing lingers and fades out on
   its own delay; the parts are simply not there until the drawing plays (found 22 Nov with the script held back 1.5 s) */
.axh.is-armed:not(.is-on) *,.axs.is-armed:not(.is-on) *,.axs.is-armed:not(.is-on) *::before,.axd.is-armed:not(.is-on) *{transition:none!important}
@media (prefers-reduced-motion:reduce){.axh *{transition:none!important}}

/* ---------- Worth an ad: each search, how many search it, what a click costs ---------- */
.axs-list li{padding-right:92px}
.axs-list em{font-size:21.5px}
/* a small bar on the right: how much the budget buys there (longer = more clicks for the money) */
.axs-meter{position:absolute;right:14px;bottom:15px;width:64px;height:10px;border:1.5px solid var(--sd-ink);border-radius:6px;background:var(--sd-paper);overflow:hidden}
.axs-meter::before{content:"";position:absolute;inset:0 auto 0 0;width:var(--w);background:var(--sd-gold);border-right:1.5px solid var(--sd-ink);transform-origin:0 50%;transition:transform .7s cubic-bezier(.3,.8,.3,1) calc(var(--i)*.3s + .5s)}
.axs-list li.is-wait{background:transparent;border-style:dashed;box-shadow:none}
.axs-list li.is-wait b{color:#3e5c55;font-weight:700}
.axs-list li.is-wait .sxi-from{color:#8a5a00}
.axs.is-armed:not(.is-on) .sxi-list li{opacity:0;transform:translateY(14px)}
.axs.is-armed:not(.is-on) .sxi-make{opacity:0}
.axs.is-armed:not(.is-on) .axs-meter::before{transform:scaleX(0)}
/* the card sits level with the heading, so it has reached the play line when 'See how it works' lands here (js/centre.js) */
.p-split--even>.ax-top{align-self:start;margin-top:84px}
.ax-art--searches{margin-top:30px;max-width:330px}
.ax-art--searches>img{width:100%;height:auto}

/* ---------- The ads: the words beside the bank drawing ---------- */
.ax-row--made{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:56px;margin-top:0;align-items:center}
.ax-art--made>img{width:100%;height:auto}

/* ---------- The budget: the cap and the ads docket, on paper (after the board's Advertising module, whose Bold is a till docket) ---------- */
.axd-cap{display:flex;align-items:center;gap:10px 12px;flex-wrap:wrap;margin-top:18px}
.axd-bar{position:relative;flex:1 1 200px;min-width:0;height:38px;border:1.5px solid var(--sd-ink);border-radius:19px;background:var(--sd-paper);box-shadow:2px 3px 0 var(--sd-ink);overflow:hidden}
.axd-bar i{position:absolute;inset:0 auto 0 0;width:91.14%;background:#bfe6cf;border-right:1.5px solid var(--sd-ink);transform-origin:0 50%;transition:transform .9s cubic-bezier(.3,.8,.3,1) .3s}
.axd-bar b{position:absolute;left:16px;top:0;line-height:35px;font:800 15.5px/35px var(--sd-font);color:var(--sd-ink)}
.axd-lock{flex:none;width:22px;height:26px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 26'%3E%3Cpath d='M5 11V7a6 6 0 0 1 12 0v4' fill='none' stroke='%23103d36' stroke-width='2.4' stroke-linecap='round'/%3E%3Crect x='1.2' y='10' width='19.6' height='14.8' rx='4' fill='%23f4cf3a' stroke='%23103d36' stroke-width='2.2'/%3E%3Ccircle cx='11' cy='17.4' r='2.1' fill='%23103d36'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .45s var(--sd-settle) 1.15s}
.axd-cap .sx-hand{font-size:24px;line-height:1;color:#1f7a55;transform:rotate(-2deg)}
.axd-docket{position:relative;width:min(100%,360px);margin:26px auto 30px;padding:18px 20px 16px;background:#fffdf7;border:1.5px solid var(--sd-ink);border-bottom:0;box-shadow:4px 5px 0 rgba(16,61,54,.16);transform:rotate(-1.4deg);
  font-family:ui-monospace,"Cascadia Mono",Menlo,Consolas,monospace;color:var(--sd-ink);transition:clip-path 1s cubic-bezier(.2,.8,.2,1) .5s,opacity .2s ease .5s;clip-path:inset(-12px -12px -24px -12px)}
.perth .axd-docket p{margin:0;color:var(--sd-ink)}
.axd-docket .axd-h{text-align:center;font-size:13.5px;font-weight:800;letter-spacing:.1em;line-height:1.4}
.axd-docket .axd-s{text-align:center;font-size:12px;font-weight:700;letter-spacing:.12em;color:#3e5c55;line-height:1.5}
.axd-docket hr{border:0;border-top:1.5px dashed rgba(16,61,54,.4);margin:9px 0}
.axd-docket .axd-l,.axd-docket .axd-t{display:flex;justify-content:space-between;gap:12px;font-size:14.5px;font-weight:600;line-height:1.7;white-space:nowrap}
.axd-docket .axd-t{font-size:22px;font-weight:800;line-height:1.5}
/* the torn edge: a row of paper teeth with the ink line along them */
.axd-zig{position:absolute;left:-1.5px;right:-1.5px;top:100%;height:11px;background:
  linear-gradient(135deg,#fffdf7 6.3px,var(--sd-ink) 6.3px,var(--sd-ink) 7.8px,transparent 7.8px) 0 0/14px 11px repeat-x,
  linear-gradient(225deg,#fffdf7 6.3px,var(--sd-ink) 6.3px,var(--sd-ink) 7.8px,transparent 7.8px) 0 0/14px 11px repeat-x}
.axd-acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;transition:opacity .5s ease 1.5s}
.axd-acts i{font:700 13.5px/1 var(--sd-font);font-style:normal;padding:9px 14px;border:1.5px solid var(--sd-ink);border-radius:999px;background:var(--sd-paper);color:var(--sd-ink)}
.axd-acts i.is-main{background:var(--sd-gold);font-weight:800;box-shadow:2px 3px 0 var(--sd-ink)}
.axd.is-armed:not(.is-on) .axd-bar i{transform:scaleX(0)}
.axd.is-armed:not(.is-on) .axd-lock{transform:scale(0)}
.axd.is-armed:not(.is-on) .axd-docket{opacity:0;clip-path:inset(-12px -12px 100% -12px)}
.axd.is-armed:not(.is-on) .axd-acts{opacity:0}
.ax-art--budget{margin-top:30px;max-width:300px}
.ax-art--budget>img{width:100%;height:auto}

/* ---------- The numbers: the board's module beside a bank drawing, as /socials/ sets its calendar ---------- */
.ax-row--numbers{grid-template-columns:minmax(0,2fr) minmax(0,1.1fr);margin-top:8px}
.ax-art--numbers>img{width:100%;height:auto;max-width:300px}

/* ---------- narrower ---------- */
@media (max-width:1100px){
  .ax-row--made,.ax-row--numbers{grid-template-columns:minmax(0,1fr)}
  .p-split--even>.ax-top{margin-top:0}
  .ax-row--made{gap:32px}
  .ax-row--made .fb-art{max-width:520px;width:100%;margin:0 auto}
  .ax-row--numbers .fb-art{max-width:300px;width:100%;margin:0 auto}
  .ax-row--numbers .fb-mod{max-width:820px;width:100%;margin-left:auto;margin-right:auto}
}
@media (max-width:760px){
  .axs-list li{padding-right:16px;padding-bottom:30px}
  .axs-meter{right:auto;left:16px;bottom:12px;width:96px}
  .axs-list em{font-size:20px}
  .axs .sx-card-top .sx-hand{display:none}
  .ax-art--searches,.ax-art--budget{max-width:270px;margin-left:auto;margin-right:auto}
  .ax-row--numbers .fb-art{max-width:240px}
  .axd-docket .axd-l{font-size:13.5px}
}
@media (prefers-reduced-motion:reduce){.axs-meter::before,.axd-bar i,.axd-lock,.axd-docket,.axd-acts{transition:none}}
