/* ===== Artifacts hub (artifacts.html) =====
   Loaded after ai-agents.css, which supplies the shared parts: navbar, hero design, security banner,
   pricing, footer and the 1920-frame scaling. These rules lay out the hub's own sections with the same
   values as the AI agents page: Inter text, Roboto Mono eyebrows, #0E0E10 headings, #6D7988 dim lines,
   #55555F body copy, #C9D0D9 borders and lines, #FAFAFB tinted sections, 40px buttons on the 1920 frame. */

.ah-page{ --ah-ink: #0e0e10; --ah-dim: #6d7988; --ah-body: #55555f; --ah-line: #c9d0d9; --ah-tint: #fafafb; --ah-accent: #6762fe; }

/* ---------- hero (the AI agents hero, with the hub's eyebrow, subtitle and artifact menu) ---------- */
.ah-hero .ag-hero__copy{ width: min(calc(1240 * var(--u)), 100% - 32px); }   /* the hub's first title line is longer: keep it on one line */
@media (max-width: 1279.98px){ .ah-hero .ag-hero__copy{ width: min(980px, 100% - 32px); } }
.ah-hero__eyebrow{ margin: 0; font-size: calc(14 * var(--u)); letter-spacing: .2em; color: #6762fe; }   /* same purple as the section eyebrows (user, 2026-11-27) */
.ah-hero__sub{ margin: 0; font-size: calc(30 * var(--u)); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; color: #fff; }
.ah-hero__lead{ max-width: calc(760 * var(--u)); }
.ah-hero__menu{ position: relative; z-index: 3; width: min(calc(1140 * var(--u)), 100% - 32px); margin: calc(56 * var(--u)) auto 0; }
.ah-menu{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(12 * var(--u)); padding: calc(24 * var(--u)); background: #fff; border-radius: calc(20 * var(--u)); box-shadow: 0 calc(29 * var(--u)) calc(77 * var(--u)) rgba(5,10,38,.45); }
.ah-page .ah-menu a{ display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(12 * var(--u)) calc(16 * var(--u)); border: 1px solid #e4e7ec; border-radius: calc(12 * var(--u)); background: var(--ah-tint); color: var(--ah-ink); font-size: calc(18 * var(--u)); font-weight: 500; text-decoration: none; transition: border-color .2s, background-color .2s; }
.ah-page .ah-menu a:hover{ border-color: var(--ah-line); background: #fff; }
.ah-page .ah-menu .ah-menu__agents{ grid-column: span 2; background: var(--ah-ink); border-color: var(--ah-ink); color: #fff; }
.ah-page .ah-menu .ah-menu__agents:hover{ background: #2a2a33; border-color: #2a2a33; }
.ah-hero__caption{ display: flex; justify-content: space-between; gap: 16px; margin-top: calc(14 * var(--u)); font-size: calc(14 * var(--u)); color: rgba(255,255,255,.7); }
.ah-hero__works{ position: relative; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: calc(12 * var(--u)) calc(28 * var(--u)); padding: calc(40 * var(--u)) 16px calc(64 * var(--u)); font-size: calc(18 * var(--u)); color: rgba(255,255,255,.85); }
.ah-hero__works .ag-mono{ font-size: calc(12 * var(--u)); letter-spacing: .14em; color: rgba(255,255,255,.6); }

/* icon tile: the site navbar's mega-menu icon style */
.ah-ic{ flex: none; display: inline-flex; align-items: center; justify-content: center; width: calc(36 * var(--u, 1px)); height: calc(36 * var(--u, 1px)); border-radius: 10px; background: #f0efff; }
.ah-ic svg{ width: 55%; height: 55%; fill: none; stroke: var(--ah-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ah-menu__agents .ah-ic, .ah-type--agents .ah-ic{ background: rgba(255,255,255,.12); }
.ah-menu__agents .ah-ic svg, .ah-type--agents .ah-ic svg{ stroke: #c4b5fd; }

/* ---------- sections ---------- */
.ah-sec{ background: #fff; color: var(--ah-ink); padding-block: clamp(64px, calc(6.67 * var(--ag-vw, 1vw)), 128px); }
.ah-sec--tint{ background: var(--ah-tint); }
.ah-sec *, .ah-sec *::before, .ah-sec *::after{ box-sizing: border-box; }
.ah-sec :where(p, h2, h3, ul, li, figure){ margin: 0; padding: 0; }
.ah-sec ul{ list-style: none; }

.ah-head{ display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 56px; }
.ah-eyebrow{ font-size: 16px; line-height: normal; letter-spacing: 1.92px; color: var(--ah-accent); }
.ah-title{ font-size: clamp(36px, calc(3.125 * var(--ag-vw, 1vw)), 60px); font-weight: 600; line-height: 1.2; letter-spacing: -0.035em; color: var(--ah-ink); }
.ah-title span{ display: block; color: var(--ah-dim); }
.ah-intro{ max-width: 640px; font-size: 18px; line-height: 1.55; color: var(--ah-body); }
.ah-page .ah-intro a, .ah-page .ah-links a, .ah-page .ah-reads a{ color: var(--ah-accent); text-decoration: none; font-weight: 500; }
.ah-page .ah-intro a:hover, .ah-page .ah-links a:hover, .ah-page .ah-reads a:hover{ text-decoration: underline; text-underline-offset: 3px; }

/* split: copy beside a figure */
.ah-split{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 80px; align-items: center; }
.ah-split--flip > .ah-fig{ order: -1; }
.ah-split--start{ align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
/* the picture next to a stack of cards sits centred against the cards (user, 2026-11-27) */
.ah-split--start:has(> .ah-stack){ align-items: center; }
.ah-split__copy .ah-head{ margin-bottom: 40px; }
.ah-points{ display: flex; flex-direction: column; }
.ah-points li{ display: flex; flex-direction: column; gap: 8px; padding: 24px 0; border-top: 1px solid var(--ah-line); }
/* lines only between items: none above the first, none below the last (user rule) */
.ah-points li:first-child{ border-top: 0; padding-top: 0; }
.ah-points li:last-child{ padding-bottom: 0; }
.ah-points h3{ font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; color: var(--ah-ink); }
.ah-points p{ font-size: 16px; line-height: 1.55; color: var(--ah-body); }
.ah-links{ margin-top: 28px !important; font-size: 16px; line-height: 1.55; color: var(--ah-body); }

/* figures and image placeholders (screenshots arrive later; each box keeps its image's shape) */
.ah-fig{ display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ah-fig figcaption{ display: flex; justify-content: space-between; gap: 16px; font-size: 14px; line-height: 1.45; color: var(--ah-dim); }
.ah-fig figcaption .ag-mono{ flex: none; font-size: 12px; letter-spacing: .06em; }
.ah-ph{ position: relative; width: 100%; aspect-ratio: var(--ar); display: flex; align-items: center; justify-content: center; background: #f3f4f6; border: 1px solid var(--ah-line); border-radius: 20px; overflow: hidden; }
.ah-ph span{ font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ah-dim); }
.ah-ph--card{ border: 0; border-bottom: 1px solid var(--ah-line); border-radius: 0; }
/* real images (Figma exports at 2x / 4x). The screenshots carry their own rounded frame, so they never touch
   the 20px card: figures sit centred on a light panel with even 24px padding; type-card shots peek up from the
   bottom with 20px air on top and both sides (same idea as the AI agents directory cards). */
/* figures: the image itself, like the AI agents page: 20px radius + 1px outline drawn over the PNG's own edge,
   no extra panel, padding or frame around it */
.ah-ph.has-img{ aspect-ratio: auto; display: block; padding: 0; background: none; border: 0; border-radius: 20px; overflow: visible; }
.ah-ph.has-img img{ display: block; width: 100%; height: auto; border-radius: 20px; outline: 1px solid #e6e6ec; outline-offset: -1px; }
/* type cards: the WHOLE screenshot, never cropped; the card grows to fit. The PNG has its own rounded frame
   (transparent corners), so no extra radius or shadow is added on top. */
.ah-ph--card.has-img{ aspect-ratio: auto; padding: 24px; overflow: visible; background: #f4f4f6; }   /* 24px of grey round the screen so it does not touch the card edge (user, 2026-11-28) */
.ah-ph--card.has-img{ border-radius: 0; }
.ah-ph--card.has-img img{ height: auto; border-radius: 0; outline: 0; }
.ah-type--agents .ah-ph.has-img{ height: auto; aspect-ratio: auto; padding: 0; background: #f7f7f9; }
.ah-type--agents .ah-ph.has-img img{ height: auto; border-radius: 0; }
/* navbar logo = live site logo (same as the 16-11 AI agents page) */
.ag-hero .ag-nav__logo img{ width: 141px; height: 30px; }
@media (max-width: 1139.98px){ .ag-hero .ag-nav__logo img{ width: 130px; height: auto; } }

/* the 13 type cards + agents */
.ah-types{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ah-page .ah-type{ display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ah-line); border-radius: 20px; overflow: hidden; color: var(--ah-ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ah-page .ah-type:hover{ border-color: #aab4c1; box-shadow: 0 16px 40px rgba(26,26,51,.06); transform: translateY(-2px); }
.ah-type__pic{ display: block; }
.ah-type__body{ flex: 1 1 auto; display: flex; flex-direction: column; gap: 14px; padding: 24px 28px 28px; }
.ah-type__name{ display: flex; align-items: center; gap: 12px; }
.ah-type__name b{ font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
.ah-type__desc{ font-size: 16px; line-height: 1.55; color: var(--ah-body); }
.ah-chips{ display: flex; flex-wrap: wrap; gap: 8px; }
.ah-chips li{ padding: 4px 12px; border: 1px solid var(--ah-line); border-radius: 999px; font-size: 13px; line-height: 1.5; color: var(--ah-body); }
.ah-more{ margin-top: auto; font-style: normal; font-size: 15px; font-weight: 500; color: var(--ah-accent); }
.ah-more span{ display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.ah-page .ah-type:hover .ah-more span{ transform: translateX(3px); }
.ah-page .ah-type--agents{ grid-column: span 2; flex-direction: row; background: var(--ah-ink); border-color: var(--ah-ink); color: #fff; }
.ah-type--agents .ah-type__pic{ flex: 1 1 50%; }
.ah-type--agents .ah-ph{ height: 100%; border: 0; border-right: 1px solid rgba(255,255,255,.12); border-radius: 0; background: #1b1b22; }
.ah-type--agents .ah-ph span{ color: rgba(255,255,255,.6); }
.ah-type--agents .ah-type__body{ flex: 1 1 50%; padding: 32px; }
.ah-type--agents .ah-type__desc{ color: rgba(255,255,255,.75); }
.ah-type--agents .ah-chips li{ border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.85); }
.ah-type--agents .ah-more{ color: #c4b5fd; }

/* cards with a checklist (three ways to start, organise & share) */
.ah-stack{ display: flex; flex-direction: column; gap: 16px; }
.ah-cols{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ah-card{ display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border: 1px solid var(--ah-line); border-radius: 20px; }
.ah-card__label{ font-size: 13px; letter-spacing: .12em; color: var(--ah-accent); }
.ah-card h3{ font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; color: var(--ah-ink); }
.ah-checks{ display: flex; flex-direction: column; gap: 10px; margin-top: 4px !important; }
.ah-checks li{ position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; color: var(--ah-body); }
.ah-checks li::before{ content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ah-ink); }
.ah-checks li::after{ content: ""; position: absolute; left: 6.5px; top: 8px; width: 7px; height: 4px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(-45deg); }

/* or start in Ask AI */
.ah-askai{ margin-top: 128px; }   /* more space above "Or start in Ask AI" (user, 2026-11-27) */
.ah-askai__head{ display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.ah-askai__head h3{ font-size: clamp(36px, calc(3.125 * var(--ag-vw, 1vw)), 60px); font-weight: 600; line-height: 1.2; letter-spacing: -0.035em; color: var(--ah-ink); }   /* same as every section title (user, 2026-11-27) */
.ah-askai__grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }

/* templates */
.ah-tpls{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ah-page .ah-tpl{ display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--ah-line); border-radius: 20px; color: var(--ah-ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.ah-page .ah-tpl:hover{ border-color: #aab4c1; transform: translateY(-2px); }
.ah-tpl .ag-mono{ font-size: 12px; letter-spacing: .12em; color: var(--ah-accent); }
.ah-tpl b{ font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.ah-tpl span:last-child{ font-size: 15px; line-height: 1.5; color: var(--ah-body); }
.ah-reads{ display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px !important; font-size: 16px; }
.ah-reads .ag-mono{ font-size: 12px; letter-spacing: .12em; color: var(--ah-dim); }

/* FAQ */
.ah-faq{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 80px; align-items: start; }
.ah-faq .ah-head{ margin-bottom: 0; }
/* lines only between questions: none above the first, none below the last (user rule) */
.ah-faq__list details{ border-bottom: 1px solid var(--ah-line); }
.ah-faq__list details:last-child{ border-bottom: 0; }
.ah-faq__list summary{ position: relative; list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-size: 20px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; color: var(--ah-ink); }
.ah-faq__list summary::-webkit-details-marker{ display: none; }
/* +/- icon: whole-pixel bars at a whole-pixel position (level with the first line), so every icon renders the same;
   when open, the vertical bar turns flat AND fades, so the minus is one bar, not two stacked (user, 2026-11-27) */
.ah-faq__list summary::before, .ah-faq__list summary::after{ content: ""; position: absolute; right: 8px; top: 37px; width: 14px; height: 2px; background: var(--ah-ink); transition: transform .2s, opacity .2s; }
.ah-faq__list summary::after{ transform: rotate(90deg); }
.ah-faq__list details[open] summary::after{ transform: rotate(0deg); opacity: 0; }
/* 1280-1919px the section is zoomed by --ag-z: keep the bar a real 2px, and round its offset to whole screen pixels */
.ah-faq__list summary::before, .ah-faq__list summary::after{
  height: calc(2px / var(--ag-z, 1));
  width: calc(round(14px * var(--ag-z, 1), 1px) / var(--ag-z, 1));
  top: calc(round(37px * var(--ag-z, 1), 1px) / var(--ag-z, 1)); }
.ah-faq__list summary:focus-visible{ outline: 2px solid var(--ah-accent); outline-offset: 2px; }
.ah-faq__list p{ padding: 0 48px 24px 0; font-size: 16px; line-height: 1.6; color: var(--ah-body); }

/* final call to action */
.ah-final .ag-wrap{ display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.ah-final .ah-intro{ max-width: 620px; }
.ah-actions{ display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.ah-page .ah-btn{ display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: calc(40px / var(--ag-z, 1)); min-height: 0; padding: 0 calc(18px / var(--ag-z, 1)); border-radius: calc(8px / var(--ag-z, 1)); font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.ah-page .ah-btn--primary{ background: #0e0e14; color: #fff; border: 1px solid #0e0e14; }
.ah-page .ah-btn--primary:hover{ background: #2a2a33; border-color: #2a2a33; color: #fff; }
.ah-page .ah-btn--ghost{ background: #fff; color: var(--ah-ink); border: 1px solid var(--ah-line); }
.ah-page .ah-btn--ghost:hover{ border-color: #aab4c1; color: var(--ah-ink); }
.ah-final__fact{ margin-top: 12px !important; font-size: 13px; letter-spacing: .12em; color: var(--ah-dim); }

/* ---------- type pages (Canvas, Docs, Slides, ...): blocks read from the source artifacts ---------- */
.ah-sec .ag-wrap > * + *{ margin-top: 32px; }
.ah-sec .ag-wrap > .ah-head + *{ margin-top: 0; }
@media (min-width: 1100.02px){
  .ah-cols--4{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ah-cols--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ah-card p{ font-size: 16px; line-height: 1.55; color: var(--ah-body); }
.ah-card__foot{ margin-top: auto !important; padding-top: 4px; font-size: 13px !important; letter-spacing: .06em; color: var(--ah-dim) !important; }
.ah-page .ah-card__link{ margin-top: auto; font-size: 16px; font-weight: 500; color: var(--ah-accent); text-decoration: none; }
.ah-page .ah-card__link span{ display: inline-block; transition: transform .2s; }
.ah-page .ah-card__link:hover span{ transform: translateX(3px); }
.ah-prompt{ display: flex; flex-direction: column; gap: 14px; max-width: 760px; padding: 28px; background: #fff; border: 1px solid var(--ah-line); border-radius: 20px; }
.ah-prompt__q{ font-size: 20px; font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; color: var(--ah-ink); }
.ah-prompt__a{ padding-top: 14px; border-top: 1px solid var(--ah-line); font-size: 16px; line-height: 1.55; color: var(--ah-body); }
.ah-figs{ display: grid; gap: 20px; }
.ah-figs--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ah-figs--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ah-note{ max-width: 760px; font-size: 16px; line-height: 1.55; color: var(--ah-body); }
.ah-note--mono{ font-size: 13px; letter-spacing: .12em; color: var(--ah-dim); }
.ah-page .ah-note a{ color: var(--ah-accent); text-decoration: none; font-weight: 500; }
.ah-sub{ font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; color: var(--ah-ink); }
.ah-chips--row li{ background: #fff; padding: 6px 14px; font-size: 14px; }
.ah-related{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ah-related ul{ display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.ah-page .ah-related a{ font-size: 16px; line-height: 1.45; color: var(--ah-ink); text-decoration: none; }
.ah-page .ah-related a:hover{ color: var(--ah-accent); }
.ah-split__copy > * + *{ margin-top: 28px; }
.ah-split__copy > .ah-head + *{ margin-top: 0; }

/* ---------- smaller screens ---------- */
@media (max-width: 1279.98px){
  .ah-hero__sub{ font-size: 24px; }
  .ah-hero__menu{ margin-top: 40px; }
}
@media (max-width: 1100px){
  .ah-split, .ah-split--start, .ah-faq{ grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .ah-split--flip > .ah-fig{ order: 0; }
  .ah-types, .ah-cols, .ah-askai__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-tpls{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ah-related, .ah-figs--3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px){
  .ah-menu{ grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; gap: 8px; }
  .ah-page .ah-menu a{ padding: 10px 12px; font-size: 15px; gap: 10px; }
  .ah-page .ah-menu .ah-menu__agents{ grid-column: 1 / -1; }
  .ah-hero__caption{ flex-direction: column; gap: 4px; }
  .ah-hero__works{ font-size: 15px; gap: 8px 18px; }
  .ah-types, .ah-cols, .ah-askai__grid, .ah-tpls, .ah-related, .ah-figs--2, .ah-figs--3{ grid-template-columns: minmax(0, 1fr); }
  .ah-prompt, .ah-card{ padding: 22px; }
  .ah-page .ah-type--agents{ grid-column: auto; flex-direction: column; }
  .ah-type--agents .ah-ph{ aspect-ratio: var(--ar); border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .ah-head{ margin-bottom: 40px; gap: 16px; }
  .ah-eyebrow{ font-size: 14px; }
  .ah-intro{ font-size: 17px; }
  .ah-askai{ margin-top: 72px; }
  .ah-faq__list summary{ font-size: 18px; }
  .ah-faq__list summary::before, .ah-faq__list summary::after{ top: 36px; }
}
@media (prefers-reduced-motion: reduce){
  .ah-page .ah-type, .ah-page .ah-tpl, .ah-more span{ transition: none; }
}

/* space above "Or start in Ask AI" (beats the generic stacked-block spacing) */
.ah-sec .ag-wrap > .ah-askai{ margin-top: 128px; }
@media (max-width: 760px){ .ah-sec .ag-wrap > .ah-askai{ margin-top: 72px; } }

/* section head with the intro on the right, as on the AI agents page (stats / directory heads) */
.ah-head--split{ display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; }
.ah-head--split .ah-head__titles{ display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ah-head--split .ah-intro{ flex: 0 1 440px; margin: 0 !important; }
@media (max-width: 1100px){ .ah-head--split{ flex-direction: column; align-items: flex-start; gap: 20px; } .ah-head--split .ah-intro{ flex-basis: auto; } }

/* hub closing section: the AI agents "Not sure where to start?" banner, with the hub's own content */
.ah-services .ag-services__title span{ color: #6d7988; }
.ah-services .ag-services__actions{ display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ah-services__types{ display: flex; gap: 8px; }
.ah-services__types .ah-ic{ width: 40px; height: 40px; border-radius: 10px; background: #f0efff; }
.ah-services__mark{ background: #efeeff !important; color: #6762fe !important; font-size: 12px !important; }
/* Book a demo: outline button, hover = grey fill only (same as the pricing outline buttons) */
.ah-page .ah-services__demo{ background: #fff; border: 1px solid #c9d0d9; color: #0e0e10; }
.ah-page .ah-services__demo:hover{ background: #f3f4f6; border-color: #c9d0d9; color: #0e0e10; }

/* AI agents card, right half = the Figma "AI agents card / A - Dark split (refined)" (21071:10848):
   purple glow top-right, icon tile, filled pills, POPULAR list, link at the bottom */
.ah-page .ah-type--agents{ background: #121216; border-color: #121216; overflow: hidden; }
.ah-type--agents .ah-type__body{ position: relative; isolation: isolate; padding: 40px; gap: 20px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(103,98,254,.32) 0%, rgba(103,98,254,.10) 35%, rgba(18,18,22,0) 65%) #121216; }
.ah-type--agents .ah-type__name{ gap: 20px; }
.ah-type--agents .ah-type__name b{ font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.ah-type--agents .ah-ic{ width: 54px; height: 54px; border-radius: 12px; background: #23232b; border: 1px solid rgba(255,255,255,.08); }
.ah-type--agents .ah-ic svg{ stroke: #fff; }
.ah-type--agents .ah-type__desc{ font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.72); }
.ah-type--agents .ah-chips li{ background: #2a2a33; border-color: #2a2a33; color: #f1f1f4; padding: 6px 14px; font-size: 14px; }
.ah-popular{ display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.ah-popular > p{ font-size: 11px; letter-spacing: .12em; color: #8a8a94; }
.ah-popular ul{ display: flex; flex-direction: column; gap: 8px; }
.ah-popular li{ display: flex; align-items: center; gap: 12px; padding: 9px 16px; background: #1b1b21; border: 1px solid #2c2c35; border-radius: 8px; }
.ah-popular li i{ flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.ah-popular li b{ flex: 1 1 auto; font-size: 14px; font-weight: 500; color: #ececf1; }
.ah-popular li span{ font-size: 12px; color: #8a8a94; }
.ah-type--agents .ah-more{ margin-top: auto; font-size: 17px; color: #a99dff; }

/* hub closing banner without the side cards: the copy takes the full width */
.ah-services .ag-services__banner{ justify-content: flex-start; }
.ah-services .ag-services__copy{ max-width: 980px; }

/* a head whose intro runs on one line at desktop (user, 2026-11-27) */
.ah-head--wide .ah-intro{ max-width: none; }
@media (min-width: 1100.02px){ .ah-head--wide .ah-intro{ white-space: nowrap; } }

/* split heads: intro on the right, vertically centred against the eyebrow + title (user, 2026-11-27) */
@media (min-width: 1100.02px){ .ah-head--split{ align-items: center; } }

/* hub closing banner: text and buttons centred (user, 2026-11-27) */
.ah-services .ag-services__banner{ justify-content: center; text-align: center; }
.ah-services .ag-services__copy{ display: flex; flex-direction: column; align-items: center; max-width: 980px; margin-inline: auto; }
.ah-services .ag-services__actions{ justify-content: center; }
.ah-services .ag-services__title span{ display: block; }   /* "Make it in minutes." on its own line */

/* AI agents card = Figma 21071:10848 exactly (1120 x 560 frame; measured from the Figma render, 2026-11-27):
   picture 620 / text 500; panel #13131B with a soft #302E6B glow top-right; icon tile 54 #22222E; title 26/600;
   description 16/28 #B9B9C6 max 420; pills 28 tall #24242F / #E4E4F0; POPULAR 11px #767686; rows 36 tall #1B1B25,
   name 14px #F4F4F7, type 12px #848495; link 17px #A8A5FF */
.ah-page .ah-type--agents{ background: #13131b; border-color: #13131b; }
.ah-type--agents .ah-type__pic{ flex: 620 1 0; }
.ah-type--agents .ah-type__body{ flex: 500 1 0; padding: 46px 38px 38px; gap: 0;
  background: radial-gradient(circle 300px at calc(100% - 80px) 20px, rgba(48,46,107,1) 0%, rgba(44,43,96,.85) 30%, rgba(19,19,27,0) 100%) #13131b; }
.ah-type--agents .ah-type__name{ gap: 20px; }
.ah-type--agents .ah-ic{ width: 54px; height: 54px; border-radius: 12px; background: #22222e; border: 1px solid rgba(255,255,255,.07); }
.ah-type--agents .ah-ic svg{ width: 24px; height: 24px; stroke: #fff; }
.ah-type--agents .ah-type__name b{ font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.ah-type--agents .ah-type__desc{ margin-top: 24px; max-width: 420px; font-size: 16px; line-height: 28px; color: #b9b9c6; }
.ah-type--agents .ah-chips{ margin-top: 40px; gap: 8px; }
.ah-type--agents .ah-chips li{ display: inline-flex; align-items: center; height: 28px; padding: 0 12px; background: #24242f; border: 0; border-radius: 999px; font-size: 13px; line-height: 1; color: #e4e4f0; }
.ah-popular{ margin-top: 38px; gap: 10px; max-width: 420px; }
.ah-popular > p{ font-size: 11px; letter-spacing: .1em; color: #767686; }
.ah-popular ul{ gap: 8px; }
.ah-popular li{ height: 36px; padding: 0 14px 0 12px; gap: 10px; background: #1b1b25; border: 1px solid rgba(255,255,255,.06); border-radius: 6px; }
.ah-popular li i{ width: 10px; height: 10px; border-radius: 3px; }
.ah-popular li b{ font-size: 14px; font-weight: 500; color: #f4f4f7; }
.ah-popular li span{ font-size: 12px; color: #848495; }
.ah-type--agents .ah-more{ margin-top: auto; padding-top: 40px; font-size: 17px; font-weight: 500; color: #a8a5ff; }
@media (max-width: 760px){ .ah-type--agents .ah-type__body{ padding: 32px 24px; } .ah-type--agents .ah-type__pic, .ah-type--agents .ah-type__body{ flex: auto; } }

/* AI agents card: the picture fills its half top to bottom (Figma: picture is the full card height) */
@media (min-width: 760.02px){
  .ah-type--agents .ah-type__pic, .ah-type--agents .ah-ph.has-img{ height: 100%; }
  .ah-type--agents .ah-ph.has-img img{ height: 100%; object-fit: cover; object-position: left top; }
}
/* hub banner title on ONE line (user, 2026-11-27) */
.ah-services .ag-services__title span{ display: inline; }
@media (min-width: 1100.02px){ .ah-services .ag-services__title{ white-space: nowrap; } .ah-services .ag-services__copy{ max-width: none; } }

/* check marks: a real centred tick (SVG) inside the 20px circle, instead of rotated borders (user, 2026-11-27) */
.ah-checks li::before{ background: #0e0e10 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2 4.9 8.4 9.4 3.8' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat; }
.ah-checks li::after{ display: none; }

/* hub only: Book a demo in the closing banner turns primary purple on hover (user, 2026-11-27) */
.ah-page .ah-services__demo:hover{ background: #6762fe; border-color: #6762fe; color: #fff; }

/* hub only: the whole closing-banner heading in the dark ink colour (user, 2026-11-27) */
.ah-page .ah-services .ag-services__title span{ color: #0e0e10; }   /* the whole closing line is dark on the hub and every type page (user, 2026-11-28) */

/* templates head: title on ONE line, intro on one line below (user, 2026-11-27) */
@media (min-width: 1100.02px){ .ah-head--oneline .ah-title{ white-space: nowrap; } }
/* card labels (ORGANISE / SHARE / REUSE ...) are purple like the eyebrows; the generic card-text rule had turned them grey */
.ah-card p.ah-card__label{ font-size: 13px; letter-spacing: .12em; color: var(--ah-accent); }

/* centred section head (eyebrow, title, intro) - "Three ways to start" (user, 2026-11-27) */
.ah-head--center{ align-items: center; text-align: center; }
.ah-head--center .ah-intro{ margin-inline: auto; }
.ah-head--oneline .ah-title span{ display: inline; }   /* "Start from a template. Any type, any team." on one line */

/* AI agents card hover: the same lift + shadow as every card, but no outline line (user, 2026-11-27) */
.ah-page .ah-type--agents:hover{ border-color: #13131b; }

/* AI agents card border = every other card's (#C9D0D9, #AAB4C1 on hover), no dark outline (user, 2026-11-27) */
.ah-page .ah-type--agents{ border-color: #c9d0d9; }
.ah-page .ah-type--agents:hover{ border-color: #aab4c1; }

/* "Three ways to start": a little less space above it (user, 2026-11-27) */
.ah-sec#start-ways{ padding-top: clamp(56px, calc(5 * var(--ag-vw, 1vw)), 96px); }

/* template cards: the Figma icon tile above the label (Figma "Icons / Canvas templates" 21120:4866) */
.ah-tpl__ic{ display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 10px; background: #f0efff; }
.ah-tpl__ic img{ width: 24px; height: 24px; display: block; }

/* Ask AI picture captions: same size and colour as the section intros (18px body), user 2026-11-27 */
.ah-askai__grid .ah-fig figcaption{ font-size: 18px; line-height: 1.55; color: var(--ah-body); }
@media (max-width: 760px){ .ah-askai__grid .ah-fig figcaption{ font-size: 17px; } }

/* type pages: the hero window shows one fixed screen - no rotation or progress animation (user, 2026-11-27) */
.ag-win--static, .ag-win--static *, .ag-win--static *::before, .ag-win--static *::after{ animation: none !important; transition: none !important; }
.ag-win--static .ag-win__screens img{ opacity: 1 !important; }

/* Type cards: each screen sits in a small app window, like the hero animation - a window bar with three dots on top,
   rounded corners, a #C9D0D9 border and a soft shadow - floating in the grey box, so it touches no card edge
   (user, 2026-11-28). CSS only: the picture files are untouched. */
.ah-ph--card.has-img{ padding: 28px 28px 0 !important; overflow: hidden !important; }
.ah-ph--card.has-img img{ display: block; box-sizing: border-box; width: 100% !important; height: auto !important;
  padding-top: 22px; border: 1px solid #c9d0d9 !important; border-bottom: 0 !important; border-radius: 12px 12px 0 0 !important;
  background:
    radial-gradient(circle, #d4d8df 3.5px, transparent 4px) 12px 7px / 8px 8px no-repeat,
    radial-gradient(circle, #d4d8df 3.5px, transparent 4px) 26px 7px / 8px 8px no-repeat,
    radial-gradient(circle, #d4d8df 3.5px, transparent 4px) 40px 7px / 8px 8px no-repeat,
    #f7f7f9 !important;
  box-shadow: 0 10px 30px rgba(14, 14, 20, .08) !important; }
