/* AI audit and build pages only: ai-ai-audit.html, ai-ai-strategy.html, ai-integrations.html, ai-ai-automation.html,
   ai-ai-consulting.html. Every rule starts with body.pg-aib so nothing reaches other pages. The hero card, service cards
   and guide link styles follow css/websites.css; the step cards follow css/analytics.css. */

/* hero: links inside the lede */
body.pg-aib .lhero .lede a{color:var(--blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}

/* hero: Book a call card (three ticks, one button, the people you'd speak to) */
body.pg-aib .bk{padding:30px 30px 24px}
body.pg-aib .bk h3{margin-bottom:8px}
body.pg-aib .bk-list{list-style:none;display:grid;gap:12px;margin:22px 0 0;padding:20px 0 0;border-top:1px solid var(--hair)}
body.pg-aib .bk-list li{position:relative;padding-left:31px;font-size:15.5px;line-height:1.5;color:var(--ink)}
body.pg-aib .bk-list li::before{content:"";position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;background:var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%230147FF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat}
body.pg-aib .bk-go{width:100%;margin-top:24px;padding:16px 26px;font-size:16px}
body.pg-aib .bk-who{display:flex;align-items:center;gap:12px;margin-top:18px;font-size:13.5px;line-height:1.45;color:var(--muted)}
body.pg-aib .bk-who .avs img{width:36px;height:36px}
body.pg-aib .bk-who .avs img+img{margin-left:-10px}
body.pg-aib .bk-who a{color:var(--ink);font-weight:500;border-bottom:1px dashed var(--hair-2)}
@media(max-width:560px){body.pg-aib .bk{padding:24px 18px 20px}body.pg-aib .bk-list li{font-size:15px}}

/* results: AI case study cards. No client photos (the builds are not named), so the top is a dark panel with the
   kind of build and its headline figure */
body.pg-aib .aicases{grid-template-columns:repeat(3,minmax(0,1fr))}
body.pg-aib .csc.aic .ph{height:210px;background:radial-gradient(420px 220px at 85% 0%,rgba(1,71,255,.55),transparent 70%),radial-gradient(rgba(255,255,255,.09) 1px,transparent 1.4px) 0 0/18px 18px,linear-gradient(135deg,#13204a,#0b1530)}
body.pg-aib .csc.aic .ph::after{background:linear-gradient(180deg,rgba(8,16,32,0) 40%,rgba(11,21,48,.7) 100%)}
body.pg-aib .csc.aic .aitag{position:absolute;left:26px;top:22px;z-index:1;font-family:var(--sans);font-weight:600;font-size:11px;letter-spacing:.13em;text-transform:uppercase;color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:5px 11px}
body.pg-aib .csc.aic .ov b{font-size:clamp(34px,3vw,44px)}
body.pg-aib .csc.aic .lg{height:auto;min-height:40px}
body.pg-aib .csc.aic .lg .wm{font-size:19px;line-height:1.3;font-weight:500}
@media(max-width:1020px){body.pg-aib .aicases{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body.pg-aib .aicases{grid-template-columns:1fr}body.pg-aib .csc.aic .ph{height:180px}}

/* what you can book: option cards (same card as the Websites hub) */
body.pg-aib .opts .rlede{max-width:62ch}
body.pg-aib .optgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:40px}
body.pg-aib .optgrid.n4{grid-template-columns:repeat(4,minmax(0,1fr))}
body.pg-aib .opt{position:relative;display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid var(--hair);border-radius:16px;padding:22px 24px 24px}
body.pg-aib a.opt{padding-bottom:56px;transition:border-color .2s,transform .2s var(--ease),box-shadow .2s}
body.pg-aib .opt .plat{font-family:var(--sans);font-weight:600;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--blue)}
body.pg-aib .opt h3{font-family:var(--sans);font-weight:500;font-size:19px;letter-spacing:-.015em;line-height:1.25}
body.pg-aib .opt p{font-size:14.5px;color:var(--muted);line-height:1.55}
body.pg-aib .opt ul{list-style:none;display:grid;gap:7px;margin:6px 0 0;padding:12px 0 0;border-top:1px solid var(--hair)}
body.pg-aib .opt li{position:relative;padding-left:18px;font-size:14px;line-height:1.45;color:var(--ink)}
body.pg-aib .opt li::before{content:"";position:absolute;left:2px;top:7px;width:6px;height:6px;border-radius:50%;background:var(--blue)}
body.pg-aib .opt i{position:absolute;left:24px;bottom:20px;font-style:normal;font-family:var(--sans);font-weight:500;font-size:14px;color:var(--blue)}
body.pg-aib .opt i span{display:inline-block;transition:transform .2s}
body.pg-aib a.opt:hover,body.pg-aib a.opt:focus-visible{border-color:var(--blue);transform:translateY(-2px);box-shadow:var(--shadow-float);outline:none}
body.pg-aib a.opt:hover i span{transform:translateX(3px)}
body.pg-aib .opt.dark{background:var(--navy);border-color:var(--navy)}
body.pg-aib .opt.dark h3{color:#fff}
body.pg-aib .opt.dark p{color:var(--dmut)}
body.pg-aib .opt.dark .plat{color:#9db4ff}
body.pg-aib .opt.dark i{color:#fff}
body.pg-aib .optfoot{display:flex;align-items:center;justify-content:space-between;gap:14px 18px;flex-wrap:wrap;margin-top:28px}
body.pg-aib .optfoot p{margin:0;font-size:15px;line-height:1.6;color:#4a5361;max-width:760px}
body.pg-aib .optfoot p a{color:var(--blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
@media(max-width:1020px){body.pg-aib .optgrid,body.pg-aib .optgrid.n4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body.pg-aib .optgrid,body.pg-aib .optgrid.n4{grid-template-columns:1fr;gap:10px;margin-top:28px}body.pg-aib .opt{padding:18px 18px 20px}body.pg-aib a.opt{padding-bottom:50px}body.pg-aib .opt i{left:18px;bottom:16px}}

/* what it looks at: the areas an audit or build covers, two columns of short cards */
body.pg-aib .areas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}
body.pg-aib .areas > div{border-radius:14px;background:var(--bone,#f6f4ef);padding:16px 18px}
body.pg-aib .areas b{display:block;font-family:var(--sans);font-weight:600;font-size:15px}
body.pg-aib .areas span{display:block;margin-top:4px;font-size:14px;line-height:1.5;color:#4a5361}
body.pg-aib .opts .areas > div{background:#fff;border:1px solid var(--hair)}
body.pg-aib .areas-h{margin-top:40px;font-family:var(--sans);font-weight:500;font-size:19px;letter-spacing:-.01em}
@media(max-width:1020px){body.pg-aib .areas{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){body.pg-aib .areas{grid-template-columns:1fr}}

/* how it runs: numbered step cards, with three dark notes under them */
body.pg-aib .asteps{list-style:none;counter-reset:st;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:40px;padding:0}
body.pg-aib .asteps li{counter-increment:st;position:relative;display:flex;flex-direction:column;gap:8px;padding:56px 20px 22px;background:#fff;border:1px solid var(--hair);border-radius:18px}
body.pg-aib .asteps li::before{content:counter(st);position:absolute;left:20px;top:18px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff;font-family:var(--sans);font-weight:600;font-size:13px}
body.pg-aib .asteps b{font-family:var(--sans);font-weight:600;font-size:16px;color:var(--ink);line-height:1.3}
body.pg-aib .asteps span{font-size:14.5px;line-height:1.55;color:#38414d}
body.pg-aib .astrip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}
body.pg-aib .astrip>div{border-radius:18px;padding:22px 24px;background:var(--navy);color:#fff}
body.pg-aib .astrip b{display:block;font-family:var(--sans);font-weight:500;font-size:17px}
body.pg-aib .astrip span{display:block;margin-top:8px;font-size:14.5px;line-height:1.55;color:var(--dmut)}
body.pg-aib .astrip a{color:#fff;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1020px){body.pg-aib .asteps{grid-template-columns:repeat(2,minmax(0,1fr))}body.pg-aib .astrip{grid-template-columns:1fr}}
@media(max-width:560px){body.pg-aib .asteps{grid-template-columns:1fr;gap:10px}body.pg-aib .asteps li{padding:18px 18px 18px 60px}body.pg-aib .asteps li::before{left:18px;top:18px}}

/* profit table: plain figures read white, like the other figures */
body.pg-aib .nr .mg{color:#fff}

/* guide: a second paragraph gets a gap; links go to other pages; choice rows */
body.pg-aib .gbody p + p,body.pg-aib .gbody .gfig + p,body.pg-aib .gbody .pick + p,body.pg-aib .gbody .areas + p{margin-top:14px}
body.pg-aib .gbody p a,body.pg-aib .gbody li a{color:var(--blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
body.pg-aib .gbody p a:hover{text-decoration-thickness:2px}
body.pg-aib .gbody h3[id]{scroll-margin-top:96px}
body.pg-aib .pick{display:grid;gap:10px;margin:20px 0 6px}
body.pg-aib .pick > div{border:1px solid var(--hair);border-radius:14px;background:#fff;padding:18px 20px;display:grid;grid-template-columns:170px minmax(0,1fr);column-gap:20px;row-gap:6px;align-items:start}
body.pg-aib .pick b{grid-row:1 / span 3;font-family:var(--sans);font-weight:500;font-size:18px;letter-spacing:-.01em;line-height:1.3}
body.pg-aib .pick p{margin:0;font-size:15px;line-height:1.55;color:var(--muted)}
body.pg-aib .pick p em{font-style:normal;font-weight:600;color:var(--ink)}
body.pg-aib .pick p + p{margin-top:0}
body.pg-aib .pick a{padding-top:2px;font-family:var(--sans);font-weight:500;font-size:14.5px;color:var(--blue)}
@media(max-width:640px){body.pg-aib .pick > div{grid-template-columns:1fr;padding:16px 16px 14px}body.pg-aib .pick b{grid-row:auto}}
/* the systems we commonly join, named in text: tool names in small groups */
body.pg-aib .tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 6px}
body.pg-aib .tools > div{border:1px solid var(--hair);border-radius:14px;background:#fff;padding:14px 16px}
body.pg-aib .tools b{display:block;font-family:var(--sans);font-weight:600;font-size:14.5px}
body.pg-aib .tools span{display:block;margin-top:4px;font-size:14px;line-height:1.5;color:#4a5361}
@media(max-width:560px){body.pg-aib .tools{grid-template-columns:1fr}}

/* FAQ: the Book a call link sits where the quiz button was */
body.pg-aib .faqsec .left .pill{display:inline-flex}

/* other AI services: one row of link cards above the closing form */
body.pg-aib .aimore-sec{padding:96px 0 104px}
body.pg-aib .aimore-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px 24px;flex-wrap:wrap}
body.pg-aib .aimore{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:30px}
body.pg-aib .aim{position:relative;display:flex;flex-direction:column;gap:4px;border:1px solid var(--hair);border-radius:14px;background:#fff;padding:16px 40px 16px 18px;transition:border-color .2s,transform .2s var(--ease)}
body.pg-aib .aim b{font-family:var(--sans);font-weight:500;font-size:16.5px;letter-spacing:-.01em}
body.pg-aib .aim span{font-size:13.5px;line-height:1.45;color:var(--muted)}
body.pg-aib .aim i{position:absolute;right:16px;top:16px;font-style:normal;color:var(--blue);transition:transform .2s}
body.pg-aib .aim:hover,body.pg-aib .aim:focus-visible{border-color:var(--blue);transform:translateY(-2px);outline:none}
body.pg-aib .aim:hover i{transform:translateX(3px)}
@media(max-width:1020px){body.pg-aib .aimore{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.pg-aib .aim.all{background:var(--navy);border-color:var(--navy)}
body.pg-aib .aim.all b{color:#fff}
body.pg-aib .aim.all span{color:var(--dmut)}
body.pg-aib .aim.all i{color:#fff}
@media(max-width:560px){body.pg-aib .aimore-sec{padding:64px 0 72px}body.pg-aib .aimore{gap:8px;margin-top:22px}body.pg-aib .aim{padding:13px 30px 13px 14px}body.pg-aib .aim b{font-size:15px}body.pg-aib .aim span{display:none}body.pg-aib .aim i{right:12px;top:13px}}
/* phones and tablets: small labels at 12px, matching preview.css at 1020px */
@media(max-width:1020px){body.pg-aib .csc.aic .aitag,body.pg-aib .opt .plat{font-size:12px}}
