/* The stylesheets of ai-template.html, joined in order by tools/convert/convert_page.py (L9). Do not edit: rerun the conversion. */

/* ---- visuals-ai/t13-base.css ---- */
/* Palette variables (--c-*, read by T13.rgb) and the .g-frame, .g-set, .card and .sq frames of the AI visuals. Copied by extract_sources.py from page mockups/visuals/ai-visuals.html, line 9 and lines 38 to 43. Edits: line 9 (the glow colours) is wrapped in :root{}; the other lines are copied as they are (the review page's own layout, band and responsive lines are left out; ai.css sets the layout). Do not edit by hand; rerun extract_sources.py. */
:root{
  --c-blue:#2F6BFF;--c-violet:#7A3CFF;--c-magenta:#FF2E9A;--c-orange:#FF6A2B;--c-cyan:#2FE6FF;
}
.g-frame{position:relative;overflow:hidden;border-radius:14px;border:1px solid var(--color-line-black);background:#0B0B0C;box-shadow:0 30px 80px -40px rgba(0,0,0,.9)}
.g-frame .t13-cv{position:absolute;inset:0;display:block}
.g-frame.wide{aspect-ratio:16/9;width:100%}
.g-set{display:flex;flex-wrap:wrap;gap:20px;width:fit-content;max-width:100%}
.g-frame.card{width:360px;max-width:100%;aspect-ratio:3/2}
.g-frame.sq{width:160px;aspect-ratio:1/1;border-radius:12px}

/* ---- visuals-ai/ai.css ---- */
/* Layout and component styles for the AI page. New CSS (not copied from a source file).
   Colour, type, spacing and radius come from ../../shared/paper-base.css; the glow palette and the frames come from t13-base.css. */

/* ---------- animation holders on black ---------- */
.tpl-anim{position:relative;width:100%;margin-inline:auto}
.tpl-anim--ai-wide{width:min(100%,calc(72vh * 16 / 9))}
.tpl-anim--ai-wide>.g-frame{width:100%}
.tpl-anim .g-set{width:100%;justify-content:center;gap:var(--sp-5)}
.tpl-black--anim{padding-block:var(--sp-6)}
.tpl-anim--ai-set{width:100%}

/* ---------- Three ways in, A: three squares, a little larger than the review page's 160, and always three in a row ---------- */
.tpl-anim--ai-ways .g-set{flex-wrap:nowrap}
.tpl-anim--ai-ways .g-frame.sq{width:clamp(0px,calc((100% - 2 * var(--sp-5)) / 3),240px);flex:none}

/* ---------- the cost list on black: the same price list as on paper, in the black section's own colours ---------- */
.tpl-black .price-ladder{--text-2:var(--color-on-black-2);--price-ink:var(--color-on-black)}
.tpl-black .price-ladder--ruled .price-ladder__row{border-color:var(--color-line-black)}
.tpl-black .price-ladder--ruled .price-ladder__row:hover{background:linear-gradient(var(--color-line-black),var(--color-line-black)) bottom/100% 1px no-repeat}

/* No frames (07/11/2026): animations sit directly on the black section, with no box around them. The extracted visuals bring .g-frame (t13-base.css). The frame class keeps its size and clipping but loses its box: no background, border, rounded corners or shadow. */
.g-frame,.g-frame.sq{background:none;border:0;border-radius:0;box-shadow:none}

/* ---------- L21 (11/11/2026): full-bleed canvases (wide-ai.js) ----------
   The canvas belongs to the whole black section (as on the Websites page: visuals-v2/v2-websites.css lines 4 to 6, which this page
   does not load, carried here). The holder is an empty element in the flow that only says where the main picture sits. */
.black-section>.ai-layer{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.ai-layer>.t13-cv{position:absolute;left:0;top:0;display:block}
.tpl-black>.grid{position:relative;z-index:1}
.tpl-anim__stage{position:relative;width:100%;pointer-events:none}
.tpl-anim--wide{width:100%}
/* L24 (correction 4): the hero picture as tall as the Websites hero picture: 484px on desktop and tablet, 284px on a phone */
.l17-hero .tpl-anim--hero>.tpl-anim__stage{height:484px}
.tpl-anim--practice>.tpl-anim__stage,.tpl-anim--ways>.tpl-anim__stage{aspect-ratio:3 / 1}
.tpl-anim--audit>.tpl-anim__stage{aspect-ratio:16 / 7}
@media (max-width:767px){
  .l17-hero .tpl-anim--hero>.tpl-anim__stage{height:284px}
  /* L24 (correction 1): taller on a phone, so each of the three stacked fields gets a larger cell */
  .tpl-anim--practice>.tpl-anim__stage,.tpl-anim--ways>.tpl-anim__stage{aspect-ratio:1 / 2}
  .tpl-anim--audit>.tpl-anim__stage{aspect-ratio:4 / 3}
}
/* the cost list on black with the quiet hand-over band behind it (Backdrop: hand-over): full width, dimmed like the Websites band */
.tpl-black--backdrop{overflow:hidden;padding-bottom:150px}
@media (max-width:600px){.tpl-black--backdrop{padding-bottom:110px}}
.tpl-backdrop{position:absolute;left:0;right:0;bottom:0;z-index:0;pointer-events:none;opacity:.42}
.tpl-backdrop .tpl-anim{width:100%}
.tpl-backdrop .g-frame.band{width:100%;height:150px}
@media (max-width:600px){.tpl-backdrop .g-frame.band{height:110px}}
/* L24 (correction 5): Three ways in, scoped to that sheet only. Each entry's link sits close under its paragraph, and the next
   entry starts 40px further down, so each link reads as part of its own entry. */
[aria-labelledby="h-s03"] .tpl-subhead~.tpl-subhead{margin-top:40px}
[aria-labelledby="h-s03"] .tpl-subhead+.text-block__body+.actions{margin-top:14px}

/* R3-N (12/11/2026): the round-3 section animations (ai-sections.css) size themselves from their width, so the old holder heights
   above no longer apply to them. What it costs carries its animation under the price lists (Anim place: below) in place of the
   hand-over backdrop: full width of the grid, with room above it. */
.tpl-anim-below{margin-top:var(--sp-8)}
@media (max-width:767px){.tpl-anim-below{margin-top:var(--sp-6)}}

/* L11-fix (12/11/2026, audit-prelaunch.md failure 8): What it costs reads as a clean price list, like the Pricing page. No grid
   lines behind the words; 32px above each group title; the label in the first four columns, the price and its line beside it,
   held to a reading width so "Company projects are quoted." no longer runs to the edge of the row. Tokens only. */
.tpl-black[aria-labelledby="h-s05"] .screen-carousel__grid{display:none}
.tpl-black[aria-labelledby="h-s05"] .tpl-body>.tpl-subhead{margin-top:var(--sp-6)}
.tpl-black[aria-labelledby="h-s05"] .tpl-body>.tpl-subhead+.tpl-ladder{margin-top:var(--sp-3)}
.tpl-black[aria-labelledby="h-s05"] .tpl-ladder{--lab:4}
.tpl-black[aria-labelledby="h-s05"] .price-ladder__value{max-width:var(--measure-body)}

/* ---- visuals-ai/hero-sort.css ---- */
/* Copied by visuals-ai/extract_hero_sort.py from 13 June Site Launch/01 Planning/round-3/bakeoff-ai-hero/fable/ai-hero.html (sha256 c7f04929981eda4b). Do not edit by hand: change the source and re-run. */
.ai-hero-sort{position:relative;width:min(100%,1100px);height:400px;margin-top:32px}
.ai-hero-sort canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
@media (max-width:639px){.ai-hero-sort{height:520px;margin-top:20px}}

/* ---- visuals-ai/ai-sections.css ---- */
/* Copied by visuals-ai/extract_ai_sections.py from 13 June Site Launch/01 Planning/round-3/anim-ai-sections/ai-sections.css (sha256 fac83a0a030fc01e). Do not edit by hand: change the source and re-run. */
/* 13 June, AI page: the box each black-section animation draws into. Straight on the black: no frame, border, background or label.
   The script sets the exact aspect ratio (wide at 600 px and over, stacked under 600 px); the ratios here only hold the space before it runs. */
.ais{position:relative;width:100%;max-width:1280px;margin-inline:auto;aspect-ratio:3/1}
.ais[data-ais="costs"]{aspect-ratio:10/3}
.ais canvas{position:absolute;inset:0;display:block;width:100%;height:100%;transition:opacity .2s linear}
@media (max-width:643px){.ais[data-ais="week"]{aspect-ratio:360/548}.ais[data-ais="how"]{aspect-ratio:360/736}.ais[data-ais="builds"]{aspect-ratio:360/520}.ais[data-ais="costs"]{aspect-ratio:360/540}}
