/* AI Visibility Check — standalone tool page.
   Built on the shared vocabulary (pad-x, section-pad, eyebrow, section-heading-line, pill,
   questions-section/faq-list) like /plugins/template-check — only the bits with no existing
   block (hero form, score gauge, category bars, results card) get new rules here. */

/* a dark "feature" panel (same family as the results score panel) — the hero is the other place on
   this page that asks for an action, so it gets the same treatment instead of sitting on plain paper. */
.editorial .aiv-hero{margin:0 var(--hero-gutter,0.375rem);padding:clamp(3.5rem,7vw,6.5rem) var(--side) clamp(4rem,7vw,6.5rem);border-radius:var(--radius,1.25rem);background:var(--night);color:var(--white);display:flex;flex-direction:column;align-items:center;text-align:center;}
/* while scanning/showing a report, the headline+form step aside (see setScanFormVisible in
   ai-visibility.js) — without their height, the hero's own padding (sized for that headline) would
   leave a tall dead gap above the loading ring / results, so it shrinks to match. */
.editorial .aiv-hero.is-scanning{padding:34px 34px var(--section-pad-bottom);border-radius:2rem;}
.editorial .aiv-eyebrow{display:block;margin-bottom:1.5rem;color:var(--white-70);}
.editorial .aiv-hero-title{margin:0;max-width:34rem;font-family:var(--serif);font-weight:400;font-size:var(--sf-h2);line-height:var(--sf-h2-lh);letter-spacing:var(--sf-ls);text-wrap:balance;color:var(--white);}
.editorial .aiv-hero-lead{margin:1.75rem 0 0;max-width:32rem;font-size:0.9375rem;line-height:1.6;color:var(--white-70);}

/* the form sits in its own light card, floating on the dark panel like a little product widget */
.editorial .aiv-form-card{box-sizing:border-box;margin:2.75rem 0 0;width:100%;max-width:26rem;padding:2rem;border:1px solid var(--line);border-radius:1rem;background:var(--paper);box-shadow:var(--shadow-card);text-align:left;}
.editorial .aiv-field{display:flex;flex-direction:column;gap:0.625rem;}
.editorial .aiv-field-label{font-size:0.6875rem;text-transform:uppercase;letter-spacing:.02em;color:var(--muted);}
.editorial .aiv-field-wrap{position:relative;display:flex;align-items:center;}
.editorial .aiv-field-icon{position:absolute;left:0.0625rem;width:1.125rem;height:1.125rem;color:var(--muted);pointer-events:none;}
.editorial .aiv-field input{width:100%;box-sizing:border-box;padding:0.75rem 0 0.75rem 1.625rem;border:0;border-bottom:1px solid var(--line);border-radius:0;outline:0;background:transparent;color:var(--ink);font-family:var(--body);font-size:1.0625rem;letter-spacing:-.01em;transition:border-color .2s;}
.editorial .aiv-field input::placeholder{color:color-mix(in srgb,var(--ink) 36%,transparent);}
.editorial .aiv-field input:focus{border-bottom-color:var(--red);}
.editorial .aiv-submit{border:0;width:100%;justify-content:center;margin-top:1.625rem;}
@media (hover: hover){
.editorial .aiv-submit:hover{background:var(--red);}}
.editorial .aiv-submit[disabled]{opacity:.55;cursor:default;}
@media (hover: hover){
.editorial .aiv-submit[disabled]:hover{background:var(--ink);}}
.editorial .aiv-hero-note{margin:1.125rem 0 0;font-size:0.75rem;line-height:1.5;color:var(--muted);text-align:center;}
.editorial .aiv-hero-guide{margin:1.25rem 0 0;font-size:0.75rem;}
.editorial .aiv-hero-guide a{color:var(--white-70);text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1px;}
@media (hover: hover){
.editorial .aiv-hero-guide a:hover{color:var(--highlight);}}

/* ---------- results (built client-side by ai-visibility.js) ---------- */
.editorial .aiv-results{width:100%;margin-top:clamp(2.75rem,5vw,4.5rem);}
/* The hero's own top padding is the only top-space once the form has stepped aside for a report/error —
   without this, that margin above stacks on top of it, badly over-spacing "← New check" from the edge. */
.editorial .aiv-hero.is-scanning .aiv-results{margin-top:0;}
.editorial .aiv-results[hidden]{display:none;}
.editorial .aiv-r-fade{opacity:0;translate:0 0.875rem;transition:opacity .5s cubic-bezier(.22,1,.36,1),translate .5s cubic-bezier(.22,1,.36,1);}
.editorial .aiv-r-fade.is-in{opacity:1;translate:0 0;}

.editorial .aiv-limit{display:flex;flex-direction:column;align-items:center;gap:0.5rem;max-width:32rem;margin-inline:auto;text-align:center;}
.editorial .aiv-limit p{margin:0;}
.editorial .aiv-limit-title{color:var(--ink);font-size:1rem;}
.editorial .aiv-limit-button{margin-top:0.75rem;}
.editorial .aiv-error{padding:1.25rem 1.5rem;border:1px solid var(--line);border-radius:0.75rem;background:var(--surface);font-size:0.875rem;color:var(--ink-secondary);}

/* loading theatre: the same ring component as the finished score panel (built once, filled stage by
   stage as each of the 5 categories "completes" — see ai-visibility.js) so there's no jump when the
   result replaces it; only the centre number is still missing at that point. */
.editorial .aiv-loading-panel{display:flex;flex-direction:column;align-items:center;text-align:center;gap:1.5rem;padding:1.5rem 0 150px;}
.editorial .aiv-loading-title{margin:0;font-family:var(--serif);font-weight:400;font-size:var(--sf-md);line-height:1.15;letter-spacing:var(--sf-ls);color:var(--white);}
.editorial .aiv-loading-sub{margin:-0.75rem 0 0;font-size:0.9375rem;color:var(--white-70);}
.editorial .aiv-loading-trail{display:flex;align-items:flex-start;width:100%;max-width:34rem;margin-top:0.5rem;}
.editorial .aiv-loading-item{position:relative;flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:0.625rem;}
.editorial .aiv-loading-item:not(:last-child)::after{content:"";position:absolute;top:0.75rem;left:50%;width:100%;height:1px;background:var(--white-20);}
.editorial .aiv-loading-dot{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:50%;border:1.5px solid var(--white-20);background:var(--night);font-size:0.6875rem;color:transparent;transition:border-color .3s,background .3s;}
.editorial .aiv-loading-item.active .aiv-loading-dot{border-color:var(--status-warn);}
.editorial .aiv-loading-item.done .aiv-loading-dot{border-color:var(--success);background:var(--success);color:var(--night);}
.editorial .aiv-loading-label{max-width:100%;font-size:0.75rem;line-height:1.3;text-align:center;color:var(--white-70);}
.editorial .aiv-loading-item.active .aiv-loading-label{color:var(--white);font-weight:400;}
@media(max-width:640px){.editorial .aiv-loading-label{display:none;}}

/* Its own section below the hero (not nested inside the dark hero box, which otherwise shows a strip
   of its own black background around a light card placed inside it) — see renderReport() in
   ai-visibility.js. */
.editorial .aiv-report-section[hidden]{display:none;}
.editorial .aiv-report{display:flex;flex-direction:column;gap:var(--card-gap,clamp(2.5rem,5.2vw,4.6875rem));text-align:left;}
/* Figma calls for exactly 100px between the score-breakdown cards and "Your top 3 issues" — the flex
   gap above already adds its own (fluid) space, so this tops it up to a literal 100px instead of
   replacing it, keeping the other section-to-section gaps on the shared --card-gap token. */
.editorial .aiv-r-rings-section + .aiv-r-issues{margin-top:calc(6.25rem - var(--card-gap,clamp(2.5rem,5.2vw,4.6875rem)));}

/* score panel: a dark "feature" surface (same family as .flow-section/.ap-studio elsewhere on the site)
   with a tick-dial gauge at its centre — built client-side in ai-visibility.js, one <i> per tick, so it
   reads as a dial rather than a thin progress ring. */
.editorial .aiv-score-panel{border-radius:var(--radius,1.25rem);background:var(--night);color:var(--white);padding:0;display:flex;flex-direction:column;align-items:center;text-align:center;}
/* The "← New check" row and the engine cards flank the ring/status/headline group with a deliberately
   generous gap — the flat flex gap above gives every child the same small spacing, so the two big gaps
   are added on top of it here, on the ring and the engine-cards block specifically. */
.editorial .aiv-ring{margin-top:var(--head-gap);}
.editorial .aiv-score-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;font-size:1rem;color:var(--white);}
.editorial .aiv-score-top a{display:inline-flex;align-items:center;gap:0.5rem;color:var(--white);text-decoration:none;white-space:nowrap;transition:color .2s;}
@media (hover: hover){
.editorial .aiv-score-top a:hover{color:var(--white-70);}}
.editorial .aiv-score-top a .aiv-icon{width:1.25rem;height:1.25rem;}
.editorial .aiv-new-check{font-weight:400;}
.editorial .aiv-score-actions{display:flex;gap:1.25rem;flex:none;}

.editorial .aiv-ring{position:relative;flex:none;width:14.25rem;height:14.25rem;}
.editorial .aiv-ring-tick{position:absolute;top:50%;left:50%;width:0.28125rem;height:1.40625rem;margin:-0.703125rem 0 0 -0.140625rem;border-radius:3.125rem;background:var(--white-20);transition:background .5s;}
.editorial .aiv-ring-tick.on{background:var(--white);}
.editorial .aiv-ring-tick.on.good{background:var(--success);}
.editorial .aiv-ring-tick.on.warn{background:var(--status-warn);}
.editorial .aiv-ring-tick.on.risk{background:var(--highlight);}
.editorial .aiv-ring-value{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.editorial .aiv-ring-value .aiv-r-score{font-family:var(--serif);font-weight:400;font-size:4.5rem;letter-spacing:-.02em;line-height:1;color:var(--white);}
.editorial .aiv-ring-value small{font-size:1.25rem;color:var(--white-70);}
.editorial .aiv-r-status{display:inline-flex;align-items:center;gap:0.5rem;margin-top:var(--head-gap);padding:0.5rem 1rem;border-radius:3.125rem;font-size:1.125rem;font-weight:400;white-space:nowrap;}
.editorial .aiv-r-status-dot{display:inline-flex;flex:none;align-items:center;justify-content:center;width:0.625rem;height:0.625rem;border-radius:0.3125rem;background:color-mix(in srgb,currentColor 40%,transparent);}
.editorial .aiv-r-status-dot::before{content:"";width:0.3125rem;height:0.3125rem;border-radius:50%;background:currentColor;}
.editorial .aiv-score-panel .aiv-r-status.ready{background:rgba(0,158,71,.2);color:var(--status-good);}
.editorial .aiv-score-panel .aiv-r-status.partial{background:rgba(240,180,41,.18);color:var(--status-warn);}
.editorial .aiv-score-panel .aiv-r-status.limited,.editorial .aiv-score-panel .aiv-r-status.invisible{background:rgba(240,57,10,.2);color:var(--highlight);}

/* headline + paragraph replacing the old tier-bar legend: the status sentence, then either how many
   points stand between this site and the next tier, or an all-clear once it's already at the top. */
.editorial .aiv-score-headline{max-width:27.25rem;margin-top:3.125rem;}
.editorial .aiv-score-headline h2{margin:0;font-family:var(--serif);font-weight:400;font-size:2.625rem;line-height:1.25;letter-spacing:-.01em;color:var(--white);}
.editorial .aiv-score-headline p{margin:1.875rem 0 0;font-size:1.25rem;line-height:1.55;color:var(--white-70);}

/* engine cards: one component for all 6 platforms (bot-level visibility, see engineVisibility() in
   ai-visibility.js) — the 3 multi-bot platforms (ChatGPT, Claude, Perplexity) can land on a real
   "partly visible" middle state; the single-bot ones (Gemini, Copilot, Meta AI) only ever resolve to
   visible or not, but get the same card either way. */
.editorial .aiv-r-engines{width:100%;margin-top:var(--head-gap);}
.editorial .aiv-engine-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5625rem;text-align:left;}
.editorial .aiv-engine-card{display:flex;flex-direction:column;gap:0.75rem;padding:1.25rem;border:1px solid var(--white-20);border-radius:0.625rem;background:rgba(255,255,255,.1);}
.editorial .aiv-engine-card-title{display:flex;align-items:center;gap:0.5625rem;}
.editorial .aiv-engine-card-icon{width:1.375rem;height:1.375rem;flex:none;filter:invert(1);}
.editorial .aiv-engine-card-top{display:flex;align-items:center;justify-content:space-between;gap:0.625rem;}
.editorial .aiv-engine-card-divider{height:1px;background:var(--white-20);}
.editorial .aiv-engine-card-name{font-size:1.25rem;font-weight:400;color:var(--white);}
.editorial .aiv-engine-card-name small{font-size:0.75rem;font-weight:400;color:var(--white-70);margin-left:0.375rem;}
.editorial .aiv-engine-badge{display:inline-flex;align-items:center;padding:0.3125rem 0.625rem;border-radius:3.125rem;font-size:0.875rem;font-weight:400;white-space:nowrap;}
.editorial .aiv-engine-badge.visible{background:rgba(0,158,71,.2);color:var(--status-good);}
.editorial .aiv-engine-badge.partly-visible,.editorial .aiv-engine-badge.almost-visible{background:rgba(240,180,41,.18);color:var(--status-warn);}
.editorial .aiv-engine-badge.not-visible{background:rgba(240,57,10,.2);color:var(--highlight);}
.editorial .aiv-engine-card-reason{margin:0;font-size:1.125rem;line-height:1.5;color:var(--white-70);}
.editorial .aiv-engine-card-source{margin:0;font-size:0.875rem;color:var(--white-70);}
@media(max-width:760px){.editorial .aiv-engine-cards{grid-template-columns:1fr;}}

/* category scores as small ring gauges (not bars) — same tick-dial language as the big score ring
   (createRing in ai-visibility.js), just scaled down, so every ring on the page reads as one dial. */
.editorial .aiv-r-rings-head{display:flex;flex-direction:column;gap:1.25rem;margin-bottom:3.125rem;}
.editorial .aiv-r-rings-label{font-size:1.125rem;font-weight:400;text-transform:uppercase;letter-spacing:.01em;color:var(--ink);}
.editorial .aiv-r-rings-head h2{margin:0;max-width:42.125rem;font-family:var(--serif);font-weight:400;font-size:var(--sf-statement);line-height:var(--sf-statement-lh);letter-spacing:var(--sf-ls);color:var(--ink);}
.editorial .aiv-r-rings{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1.125rem;}
.editorial .aiv-ring-item{display:flex;flex-direction:column;align-items:center;gap:1.5625rem;text-align:center;padding:1.875rem 1.25rem;border:1px solid #c9c9c9;border-radius:1.25rem;background:var(--white);}
.editorial .aiv-mini-ring{position:relative;width:10.6875rem;height:10.6875rem;}
.editorial .aiv-mini-tick{position:absolute;top:50%;left:50%;width:0.21125rem;height:1.055rem;margin:-0.5275rem 0 0 -0.105625rem;border-radius:3.125rem;background:var(--line);}
.editorial .aiv-mini-tick.on.good{background:var(--success);}
.editorial .aiv-mini-tick.on.warn{background:var(--status-warn-ink);}
.editorial .aiv-mini-tick.on.risk{background:var(--red);}
.editorial .aiv-mini-value{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;}
.editorial .aiv-mini-pct{display:flex;align-items:flex-end;gap:0.140625rem;font-family:var(--serif);font-size:3.375rem;line-height:1;letter-spacing:-.01em;color:var(--ink);}
.editorial .aiv-mini-pct small{font-family:var(--body);font-size:1.25rem;font-weight:400;line-height:1;color:var(--muted);}
.editorial .aiv-ring-info{display:flex;flex-direction:column;align-items:center;gap:0.625rem;}
.editorial .aiv-ring-item h3{margin:0;font-size:1.25rem;font-weight:400;color:var(--ink);}
.editorial .aiv-ring-score{margin:0;font-size:1.25rem;font-weight:400;color:var(--muted);}
@media(max-width:860px){.editorial .aiv-r-rings{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:560px){.editorial .aiv-r-rings{grid-template-columns:repeat(2,minmax(0,1fr));}}

.editorial .aiv-r-issues h2{margin:0 0 1.875rem;font-family:var(--serif);font-weight:400;font-size:var(--sf-md);line-height:var(--sf-md-lh);letter-spacing:var(--sf-ls);color:var(--ink);}
.editorial .aiv-issue-list{list-style:none;margin:0;padding:0;display:grid;gap:0.625rem;}
.editorial .aiv-issue{display:flex;align-items:flex-start;gap:1.25rem;padding:1.25rem 1.5rem;border:1px solid var(--line);border-radius:0.875rem;background:var(--white);}
.editorial .aiv-issue-body{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:0.75rem;}
.editorial .aiv-issue-text{align-self:stretch;display:flex;flex-direction:column;align-items:flex-start;gap:0.5rem;}
.editorial .aiv-issue-label{align-self:stretch;margin:0;font-size:1.25rem;font-weight:400;color:var(--ink);}
.editorial .aiv-issue-detail{align-self:stretch;margin:0;font-size:1.125rem;line-height:normal;color:var(--ink-secondary);}
.editorial .aiv-issue-fix{align-self:stretch;margin:0;font-size:1.125rem;line-height:1.45;color:var(--ink-secondary);}
.editorial .aiv-issue-fix::before{content:"Fix: ";font-weight:400;color:inherit;}
.editorial .aiv-issue-impact{display:inline-block;margin-bottom:0;padding:0.375rem 0.75rem;border-radius:3.125rem;font-size:0.75rem;line-height:1;font-weight:400;text-transform:uppercase;letter-spacing:.02em;}
.editorial .aiv-issue-impact.high{background:var(--status-bad-bg);color:var(--status-bad-ink);}
.editorial .aiv-issue-impact.medium{background:rgba(240,180,41,.18);color:#9a6b00;}
.editorial .aiv-issue-impact.low{background:var(--surface);color:var(--muted);}
.editorial .aiv-issue .aiv-copy-btn{align-self:flex-start;margin-top:0;padding:0.5625rem 1rem;}
@media(max-width:640px){.editorial .aiv-issue{flex-wrap:wrap;}.editorial .aiv-issue .aiv-copy-btn{width:100%;justify-self:stretch;text-align:center;}}

/* locked issues render for real (so there's real content behind the blur), then get blurred and made
   unreachable until the e-mail gate resolves — the unlock card centres over that blurred area. */
.editorial .aiv-issue-gate{position:relative;margin-top:1.125rem;min-height:8rem;}
.editorial .aiv-issue-list-locked{filter:blur(6px);pointer-events:none;user-select:none;}
.editorial .aiv-issue-gate.unlocked .aiv-issue-list-locked{filter:none;pointer-events:auto;user-select:auto;}
.editorial .aiv-issue-gate.unlocked .aiv-unlock-card{display:none;}
.editorial .aiv-unlock-card{position:absolute;inset:0;margin:auto;width:100%;max-width:27rem;height:max-content;box-sizing:border-box;padding:2rem;border-radius:1rem;background:var(--night);color:var(--white);text-align:center;box-shadow:var(--shadow-card);}
.editorial .aiv-unlock-eyebrow{display:block;margin-bottom:1rem;font-size:0.6875rem;text-transform:uppercase;letter-spacing:.04em;color:var(--white-70);}
.editorial .aiv-unlock-card h3{margin:0;font-family:var(--serif);font-weight:400;font-size:3rem;line-height:1.05;color:var(--white);}
.editorial .aiv-unlock-card p{margin:1rem 0 0;font-size:0.9375rem;line-height:1.6;color:var(--white-70);}
.editorial .aiv-unlock-form{display:flex;flex-direction:column;margin-top:2rem;}
.editorial .aiv-unlock-field{position:relative;display:flex;align-items:center;text-align:left;}
.editorial .aiv-unlock-field svg{position:absolute;left:0.0625rem;width:1.125rem;height:1.125rem;color:var(--white-70);pointer-events:none;}
.editorial .aiv-unlock-form input{width:100%;box-sizing:border-box;padding:0.75rem 0 0.75rem 1.625rem;border:0;border-bottom:1px solid var(--white-20);border-radius:0;outline:0;background:transparent;color:var(--white);font-family:var(--body);font-size:1.0625rem;letter-spacing:-.01em;transition:border-color .2s;}
.editorial .aiv-unlock-form input::placeholder{color:var(--white-70);}
.editorial .aiv-unlock-form input:focus{border-bottom-color:var(--white);}
.editorial .aiv-unlock-form .pill,.editorial .aiv-unlock-download{width:100%;box-sizing:border-box;justify-content:center;border:0;margin-top:1.75rem;}
.editorial .aiv-unlock-status{margin-top:0.75rem;font-size:0.8125rem;line-height:1.4;color:var(--white-70);min-height:1.2em;}
.editorial .aiv-r-clean{margin:0;font-size:0.875rem;color:var(--muted);}
/* The PDF download (both tools, ai-visibility.js and contrast.js): after an e-mail address a dark bar with the
   download button sits right under the section title; when there was no gate (few or no issues) the same bar first
   asks for the e-mail address. */
.editorial .aiv-download{display:flex;flex-direction:column;align-items:flex-start;gap:1.5rem;margin:1.125rem 0 1.5rem;padding:2rem;border-radius:1rem;background:var(--night);color:var(--white);}
.editorial .aiv-download-copy{max-width:36rem;}
.editorial .aiv-download h3{margin:0;font-family:var(--serif);font-weight:400;font-size:1.75rem;line-height:1.1;color:var(--white);}
.editorial .aiv-download p{margin:0.5rem 0 0;font-size:0.9375rem;line-height:1.5;color:var(--white-70);}
/* the button under the text, the height of the site's other pills */
.editorial .aiv-download .pill{box-sizing:border-box;min-height:2.875rem;border:0;padding:0 1.75rem;justify-content:center;font-size:var(--fs-btn);}
.editorial .aiv-download .aiv-unlock-form{width:100%;max-width:30rem;flex-direction:column;align-items:flex-start;gap:1.5rem;margin:0;}
.editorial .aiv-download .aiv-unlock-field{width:100%;}
.editorial .aiv-download .aiv-unlock-form .pill{width:auto;margin:0;}
.editorial .aiv-download .aiv-unlock-status{margin:0;min-height:0;}
.editorial .aiv-download .aiv-unlock-status:empty{display:none;}
@media(max-width:699px){
  .editorial .aiv-download{padding:1.5rem 1.25rem;}
  .editorial .aiv-download .pill,.editorial .aiv-download .aiv-unlock-form .pill{width:100%;box-sizing:border-box;justify-content:center;}
}

/* "Copy fix prompt" — a ready-to-paste Claude Code / Cursor prompt for one check, built from its own detail+fix text */
.editorial .aiv-copy-btn{appearance:none;display:inline-flex;align-items:center;gap:0.375rem;width:max-content;justify-self:start;margin-top:0.5rem;padding:0.375rem 0.75rem;border:1px solid var(--ink);border-radius:3.125rem;background:var(--ink);color:var(--white);font-family:var(--body);font-size:0.75rem;font-weight:400;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,color .15s;}
.editorial .aiv-copy-btn .aiv-icon{width:0.875rem;height:0.875rem;flex:none;}
@media (hover: hover){
.editorial .aiv-copy-btn:hover{border-color:var(--ink-secondary);background:var(--ink-secondary);color:var(--white);}}
.editorial .aiv-copy-btn.done{border-color:var(--success);color:var(--success);background:color-mix(in srgb,var(--success) 10%,var(--paper));}


@media(max-width:640px){
	.editorial .aiv-r-bar{grid-template-columns:1rem 4.75rem 1fr 2.75rem;}
	.editorial .aiv-r-head,.editorial .aiv-r-bars,.editorial .aiv-r-issues{padding-left:1.25rem;padding-right:1.25rem;}
}

/* ---------- (02) category panels: the real process-panel component from the service pages
   (src/components/boons/SvcSteps.astro, styled by /assets/proto/service-pages.css) — reused verbatim,
   not reinvented. Its h3 sizing is gated behind a ".service-page" ancestor we don't have (that class
   also zeroes out every other section's own padding on this page), so only that one rule is supplied
   here, scoped to this page instead. Everything else (process-stack/slot/surface/panel/heading/label/
   index/copy/delivery) is the unscoped, page-type-independent CSS already shipping on the live site.
   Column span: the real stylesheet's own `@media(min-width:700px)` shifts h3 (and, unscoped, copy/
   delivery already do) from column 4 to column 5 — matched here too, or the heading sits one column
   left of its own description/checklist below the divider, which is the misalignment this replaces. */
.editorial .aiv-process .process-panel h3{margin:0;font-family:var(--serif);font-weight:400;grid-column:4/13;font-size:2.6rem;line-height:1.1;letter-spacing:-.02em;max-width:none;padding:0;}
@media(min-width:700px){.editorial .aiv-process .process-panel h3{grid-column:5/13;}}
@media(max-width:699px){.editorial .aiv-process .process-panel h3{grid-column:1/-1;font-size:2.15rem;line-height:1.1;}}

/* The real sticky-scroll stack (service-pages.js) reads this to collapse the slots' overlap margin
   before it switches them to position:sticky — only token this page doesn't already load from
   boons-tokens.css, so it's supplied here rather than pulling in that whole file. */
.editorial .aiv-process{--process-overlap:1.25rem;}

/* section header: the real .service-section-head component (label left, heading+paragraph grouped and
   top-aligned together on the right) instead of our old eyebrow-above-heading stack. */
.editorial .aiv-section-head h2{margin:0;font-family:var(--serif);font-weight:400;font-size:var(--sf-md);line-height:1.15;letter-spacing:var(--sf-ls);}

/* (04) CTA: the real .service-final-cta dark panel (same family as the hero / score panel). Its
   background/padding are gated behind ".service-page" too (see the process-panel comment above for why
   we don't just add that class), so that one rule is supplied here instead. */
.editorial .aiv-cta.service-final-cta{box-sizing:border-box;margin:3.125rem var(--hero-gutter,0.375rem) 6.25rem;padding:6.25rem calc(var(--margin,2.5rem) - var(--hero-gutter,0.375rem));border-radius:var(--radius,1.25rem);background:var(--night);color:var(--white);text-align:left;}
.editorial .aiv-cta h2{margin:0;max-width:9em;font-family:var(--serif);font-weight:400;font-size:var(--sf-h2);line-height:var(--sf-h2-lh);letter-spacing:var(--sf-ls);color:var(--white);text-wrap:balance;}
.editorial .aiv-cta p{margin-top:2rem!important;max-width:24rem;font-size:1.125rem;line-height:1.6;}
.editorial .aiv-cta .final-cta-action{margin-top:2.75rem!important;}
.editorial .aiv-cta .pill{padding:1rem 1.75rem;font-size:var(--fs-btn);}
.editorial .aiv-cta .pill.outline{border-color:var(--white-20);color:var(--white);}
@media (hover: hover){
.editorial .aiv-cta .pill.outline:hover{background:var(--white-20);color:var(--white);}}
@media(max-width:999px){.editorial .aiv-cta.service-final-cta{margin-block:1.25rem 3.5rem;padding-block:3.5rem;}}
.editorial .aiv-hero-actions{display:flex;flex-wrap:wrap;gap:0.875rem;margin-top:2.25rem;}
@media (hover: hover){
.editorial .aiv-tool .pill.outline:hover{background:var(--ink);color:var(--white);}}

/* Phones: the floating menu bar (logo + Menu, about 3.75rem tall) sits over the top of the page, so the hero keeps its eyebrow clear of it. */


/* Review 2026-11-28 (owner: the stack on the tool pages did not have the spacing of the service pages): the same values as
   the service pages' stack (webdesign-reference.css .reference-design .detail-deliverables, boons-service-type.css):
   no negative side margin, the page margin as inner padding from 1000px, the label in the meta size and the heading in --sf-md. */
.editorial .process-stack.aiv-process{margin-inline:0;}
.editorial .aiv-process .process-heading .process-label{font-size:var(--fs-meta);line-height:var(--lh-meta);letter-spacing:var(--ls-meta);font-weight:400;text-transform:uppercase;}
.editorial .aiv-process .process-panel h3{font-size:var(--sf-md);line-height:var(--sf-md-lh);letter-spacing:var(--sf-ls);}
@media(min-width:1000px){
  .editorial .aiv-process .process-panel{padding-inline:var(--margin);}
  .editorial .aiv-process .process-progress{left:var(--margin);width:calc(100% - 2 * var(--margin));}
}
