/* ==========================================================================
   AI Translator for WordPress (/ai-translator-for-wordpress/, English page) · prefix .ait-
   Builds on the kit (phero, stage, intro, compare, tabshow, accshow, split, expert) and the home
   patterns (process, bento, analyse, faq). Everything page-only lives here.
   Mockups are pictures (aria-hidden, inert); the demo in #demo is a real control.
   ========================================================================== */

.ait-hero, .ait-why, .ait-how, .ait-editors, .ait-demo, .ait-bento, .ait-models, .ait-privacy, .ait-made, .ait-wait, .ait-faq {
  --ait-hair: rgba(9, 12, 18, .07);   /* hairline around white UI surfaces inside pictures (as .bento) */
}

/* ---- Shared mock atoms ----------------------------------------------------------------- */
.ait-ui {
  background: var(--sm-ink-0); border: 1px solid var(--ait-hair); border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs), var(--shadow-sm);
}
.ait-hero .icon, .ait-art .icon, .ait-editors .mock .icon, .ait-bento .bento__art .icon, .ait-models .mock .icon, .ait-privacy .mock .icon {
  width: 14px; height: 14px; stroke-width: 2;
}
/* the shared .mock-line is a <span>: give it a box wherever it sits in inline/grid-cell content (API key bar, ATE segment) */
.ait-hero .mock-line, .ait-art .mock-line, .ait-editors .mock-line, .ait-bento .mock-line { display: block; }
/* product mark: violet tile with the languages icon */
.ait-logo { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--sm-violet-100); color: var(--sm-violet-700); }
.ait-logo--sm { width: 22px; height: 22px; border-radius: 7px; }
.ait-logo .icon { width: 14px; height: 14px; }
.ait-logo--sm .icon { width: 12px; height: 12px; }
/* language pair DE → FR */
.ait-pair {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: var(--radius-pill);
  background: var(--sm-ink-50); border: 1px solid var(--sm-ink-100); flex: none;
}
.ait-pair > span { min-width: 26px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: var(--radius-pill); font: 600 10.5px/1 var(--font-sans); letter-spacing: .04em; color: var(--color-text-muted); }
.ait-pair > .is-target { background: var(--sm-violet-100); color: var(--sm-violet-700); }
.ait-pair .icon { width: 11px !important; height: 11px !important; color: var(--color-text-subtle); }
/* done tick */
.ait-ok { width: 16px; height: 16px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--sm-mint-100); color: var(--sm-mint-700); }
.ait-ok .icon { width: 10px !important; height: 10px !important; stroke-width: 3 !important; }
/* text caret where the translation is being written (static, no blinking loop) */
.ait-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.16em; border-radius: 1px; background: var(--sm-violet-600); }
/* switch (mock): orange when on, as in the home calculator mock */
.ait-toggle { position: relative; width: 26px; height: 15px; flex: none; border-radius: var(--radius-pill); background: var(--sm-ink-200); }
.ait-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--sm-ink-0); box-shadow: var(--shadow-xs); }
.ait-toggle.is-on { background: var(--color-brand); }
.ait-toggle.is-on::after { left: 13px; }
/* progress bar */
.ait-bar { display: block; height: 6px; border-radius: var(--radius-pill); background: var(--sm-ink-100); overflow: hidden; }
.ait-bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sm-violet-500), var(--sm-violet-600)); }
.ait-bar--sky > i { background: var(--sm-sky-700); }
/* drawn, named cursor (as .bento__cursor on the home page) */
.ait-cursor { position: absolute; left: 78%; top: 58%; z-index: 2; display: flex; align-items: flex-start; }
.ait-cursor::before { content: ""; position: absolute; left: -9px; top: -9px; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--color-brand) 26%, transparent); }
.ait-cursor svg { position: relative; width: 14px; height: 18px; flex: none; fill: var(--color-text); stroke: var(--sm-ink-0); stroke-width: 1.3; stroke-linejoin: round; filter: drop-shadow(0 1px 1.5px rgba(9, 12, 18, .28)); }
.ait-cursor b { margin: 12px 0 0 -3px; padding: 3px 8px 4px; border-radius: 3px 9px 9px 9px; background: var(--color-brand); color: var(--color-on-brand); font-size: 10.5px; font-weight: 700; line-height: 1.15; white-space: nowrap; box-shadow: var(--shadow-xs); }

/* Pastel picture area for step cards (same recipe as .bento__art) */
.ait-art {
  --tint: var(--sm-violet-100);
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  height: 184px; padding: 18px 20px;
  border-radius: calc(var(--radius-xl) - 8px);
  background:
    radial-gradient(closest-side at 50% 50%, var(--tint) 0%, var(--tint) 30%, transparent 100%),
    color-mix(in srgb, var(--tint) 45%, var(--sm-ink-0));
  box-shadow: inset 0 0 0 1px rgba(9, 12, 18, .05);
  pointer-events: none; user-select: none; -webkit-user-select: none;
}
.ait-art::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(9, 12, 18, .10) 1px, transparent 1.5px); background-size: 14px 14px; background-position: center;
  -webkit-mask-image: radial-gradient(64% 78% at 50% 50%, #000 0%, transparent 88%);
          mask-image: radial-gradient(64% 78% at 50% 50%, #000 0%, transparent 88%);
}
.ait-art > * { position: relative; z-index: 1; }
.ait-art--lilac { --tint: var(--sm-violet-100); }
.ait-art--sky { --tint: var(--sm-sky-100); }
.ait-art--mint { --tint: color-mix(in srgb, var(--sm-mint-100), var(--sm-mint-700) 7%); }

/* ==========================================================================
   01 · Hero
   ========================================================================== */
.ait-hero .phero__title { max-width: 16ch; }
.ait-hero__stage { container-type: inline-size; min-height: clamp(420px, 46vw, 580px); }
@media (max-width: 980px) { .ait-hero__stage { min-height: 480px; } }
@media (max-width: 560px) { .ait-hero__stage { min-height: 420px; } }
.ait-hero__scene { position: absolute; inset: 0; }

.ait-win {
  position: absolute; left: 7%; right: 7%; top: 12%; bottom: 0;
  display: flex; flex-direction: column;
  border-radius: 16px 16px 0 0; border-bottom: 0;
  box-shadow: 0 1px 2px rgba(9, 12, 18, .08), 0 30px 60px -20px rgba(30, 20, 90, .45);
}
.ait-win .mock-window__url { max-width: 260px; }
.ait-win .mock-window__url .icon { width: 11px; height: 11px; color: var(--sm-mint-700); }
.ait-win__ext { margin-left: auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--sm-violet-100); color: var(--sm-violet-700); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sm-violet-200) 60%, transparent); }
.ait-win__body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 196px; }

/* WordPress translation editor (picture) */
.ait-ed { min-width: 0; padding: 14px 18px 0; overflow: hidden; }
.ait-ed__head { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--sm-ink-100); font-size: 12.5px; white-space: nowrap; }
.ait-ed__wp { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none; background: var(--sm-ink-50); border: 1px solid var(--sm-ink-100); }
.ait-ed__wp img { width: 14px; height: 14px; }
.ait-ed__page { color: var(--color-text-subtle); overflow: hidden; text-overflow: ellipsis; }
.ait-ed__head .ait-pair { margin-left: auto; }
.ait-ed__rows { list-style: none; margin: 0; padding: 6px 0 0; display: grid; }
.ait-ed__row { position: relative; display: grid; gap: 3px; padding: 10px 10px 11px; border-radius: 10px; }
.ait-ed__row + .ait-ed__row { margin-top: 2px; }
.ait-ed__row small { font: 500 9.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-subtle); margin-bottom: 3px; }
.ait-ed__src { font-size: 12px; line-height: 1.4; color: var(--color-text-subtle); }
.ait-ed__dst { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--color-text); }
.ait-ed__dst .ait-ok { margin-left: auto; }
.ait-ed__row.is-active { background: var(--sm-violet-50); box-shadow: inset 0 0 0 1px var(--sm-violet-200); }
.ait-ed__row.is-active .ait-ed__dst { display: block; }
.ait-ed__row.is-queued .ait-ed__dst .mock-line { height: 8px; margin-top: 5px; }
.ait-ed__row--extra { display: none; }
@media (min-width: 1200px) { .ait-ed__row--extra { display: grid; } }

/* AI Translator side panel (picture) */
.ait-side {
  display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 14px 14px 0;
  background: var(--sm-ink-25); border-left: 1px solid var(--sm-ink-100); font-size: 11.5px;
}
.ait-side__head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.ait-side__run { display: grid; grid-template-columns: 1fr auto; gap: 7px 6px; padding: 10px 11px 11px; border-radius: 10px; background: var(--sm-ink-0); border: 1px solid var(--ait-hair); box-shadow: var(--shadow-xs); }
.ait-side__label { font-weight: 600; color: var(--sm-violet-700); }
.ait-side__count { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--color-text-muted); }
.ait-side__run .ait-bar { grid-column: 1 / -1; }
.ait-side__opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ait-side__opts li { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--color-text-muted); font-weight: 500; white-space: nowrap; }
.ait-side__preset { display: grid; gap: 4px; padding: 9px 11px; border-radius: 10px; border: 1px dashed var(--sm-violet-200); background: color-mix(in srgb, var(--sm-violet-50) 70%, var(--sm-ink-0)); }
.ait-side__preset small { font: 500 9.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sm-violet-700); }
.ait-side__preset span { font-weight: 600; color: var(--color-text); }
.ait-side__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ait-side__stats span { display: grid; gap: 2px; padding: 8px 10px; border-radius: 9px; background: var(--sm-ink-0); border: 1px solid var(--sm-ink-100); color: var(--color-text-subtle); font-size: 10.5px; }
.ait-side__stats b { font-size: 15px; line-height: 1.1; color: var(--color-text); font-variant-numeric: tabular-nums; }

/* floating "from cache" toast */
.ait-hero__toast {
  position: absolute; right: 3%; bottom: 7%; z-index: 3;
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px;
  background: var(--sm-ink-0); border: 1px solid var(--ait-hair); border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs), var(--shadow-md);
}
.ait-hero__toast-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--sm-mint-100); color: var(--sm-mint-700); }
.ait-hero__toast b { display: block; font-size: 12.5px; line-height: 1.25; white-space: nowrap; }
.ait-hero__toast small { display: block; font-size: 11px; line-height: 1.3; color: var(--color-text-subtle); }

@container (max-width: 600px) {
  .ait-win { left: 5%; right: 5%; }
  .ait-win__body { grid-template-columns: minmax(0, 1fr) 168px; }
  .ait-ed { padding-inline: 12px; }
  .ait-ed__page { display: none; }
  .ait-side { padding-inline: 11px; gap: 10px; }
  .ait-side__preset { display: none; }
}
@container (max-width: 760px) { .ait-side__preset { display: none; } }
@container (max-width: 470px) {
  .ait-ed__row:nth-child(2) { display: none; }
  .ait-win { left: 16px; right: 16px; top: 44px; }
  .ait-win__body { grid-template-columns: minmax(0, 1fr); }
  .ait-side { display: none; }
  .ait-win .mock-window__url { font-size: 10px; }
  .ait-hero__toast { right: 10px; bottom: 14px; }
  .ait-ed__head b { overflow: hidden; text-overflow: ellipsis; }
}

/* ==========================================================================
   02 · Why (intro statement + comparison)
   ========================================================================== */
.ait-why__intro .eyebrow { display: block; margin-bottom: 18px; }
.ait-why__statement { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); max-width: 22ch; }
.ait-why__intro .intro__body { padding-top: 34px; }
@media (max-width: 860px) { .ait-why__intro .intro__body { padding-top: 0; } }
.ait-compare { margin-top: clamp(40px, 5vw, 64px); }
.ait-compare table { min-width: 0; table-layout: fixed; }
.ait-compare col:first-child { width: 28%; }
.ait-compare thead th:first-child { width: 28%; }
.ait-compare thead th:not(:first-child), .ait-compare td { text-align: left; }
.ait-compare th, .ait-compare td { padding: 16px 22px; }
.ait-compare thead th { font-size: var(--fs-small); }
.ait-compare thead th.is-hl { color: var(--color-text); }
.ait-compare td { color: var(--color-text-muted); }
.ait-compare td.is-hl { color: var(--color-text); font-weight: 600; }
.ait-compare__cell { display: flex; align-items: flex-start; gap: 10px; }
.ait-compare__cell .icon { width: 18px; height: 18px; margin-top: 2px; flex: none; stroke-width: 2.2; }
.ait-compare td:not(.is-hl) .icon { color: var(--sm-ink-300); }
.ait-compare td.is-hl .icon { color: var(--color-success); }
/* phones: each row becomes a small card (no sideways scrolling for a 3-column text table) */
@media (max-width: 640px) {
  .ait-compare { overflow: visible; border: 0; background: transparent; border-radius: 0; }
  .ait-compare table, .ait-compare tbody, .ait-compare tr, .ait-compare th, .ait-compare td { display: block; width: auto; }
  .ait-compare thead { display: none; }
  .ait-compare tbody { display: grid; gap: 8px; }
  .ait-compare tr { border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--sm-ink-0); }
  .ait-compare tbody th { position: static; padding: 12px 16px 2px; border: 0; font-weight: 600; background: transparent; }
  .ait-compare tbody th small { display: inline; margin-left: 6px; }
  .ait-compare td { padding: 2px 16px 10px; border: 0; font-size: var(--fs-small); line-height: 1.45; }
  .ait-compare td::before { content: attr(data-label) " · "; font: 500 10.5px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-subtle); }
  .ait-compare td.is-hl { padding: 9px 16px 11px; background: var(--sm-orange-50); border-top: 1px solid var(--sm-orange-100); }
  .ait-compare__cell { display: inline; }
  .ait-compare td.is-hl::before { color: var(--color-brand-text); }
  .ait-compare td .icon { display: none; }
}

/* ==========================================================================
   03 · How it works (process rail with 3 picture cards)
   ========================================================================== */
@media (min-width: 1025px) {
  .ait-steps.process__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ait-step {
  flex: 1; display: flex; flex-direction: column; margin-top: var(--space-5); padding: 8px 8px 26px;
  background: var(--sm-ink-0); border: 1px solid var(--color-border); border-radius: var(--radius-xl);
}
.ait-step__title { margin: 22px 16px 0; font-size: clamp(var(--fs-h4), 1rem + .4vw, 1.3125rem); line-height: 1.25; }
.ait-step__text { margin: 10px 16px 0; font-size: var(--fs-small); line-height: 1.55; color: var(--color-text-muted); }

/* step 1 · browser bar + API key popover */
.ait-key { width: 100%; max-width: 280px; display: grid; gap: 10px; }
.ait-key__bar { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: var(--radius-pill); background: var(--sm-ink-0); border: 1px solid var(--ait-hair); box-shadow: var(--shadow-xs); }
.ait-key__url { flex: 1; }
.ait-key__url .mock-line { height: 7px; }
.ait-key__pin { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--sm-violet-100); color: var(--sm-violet-700); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sm-violet-200) 55%, transparent); }
.ait-key__pop { position: relative; display: grid; justify-items: start; gap: 8px; padding: 11px 14px 12px; margin-left: 28px; }
.ait-key__pop::before { content: ""; position: absolute; top: -6px; right: 22px; width: 10px; height: 10px; background: var(--sm-ink-0); border-left: 1px solid var(--ait-hair); border-top: 1px solid var(--ait-hair); transform: rotate(45deg); }
.ait-key__pop small { font: 500 9.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-subtle); }
.ait-key__field { width: 100%; display: flex; align-items: center; gap: 7px; height: 30px; white-space: nowrap; overflow: hidden; padding: 0 10px; border-radius: 8px; border: 1px solid var(--sm-ink-200); font: 500 12px/1 var(--font-mono); color: var(--color-text-muted); }
.ait-key__field .icon { color: var(--color-text-subtle); }
.ait-key__pop .mock-pill { padding: 4px 9px; font-size: 11px; }
.ait-key__pop .mock-pill .icon { width: 11px; height: 11px; }

/* step 2 · page + side panel */
.ait-open { width: 100%; max-width: 280px; display: grid; grid-template-columns: minmax(0, 1fr) 96px; overflow: hidden; padding: 0; }
.ait-open__page { display: grid; align-content: start; gap: 9px; padding: 14px; }
.ait-open__page .mock-line { height: 7px; }
.ait-open__tag { justify-self: start; margin-bottom: 2px; padding: 3px 7px; border-radius: 6px; background: var(--sm-ink-50); border: 1px solid var(--sm-ink-100); font: 500 9.5px/1 var(--font-mono); letter-spacing: .06em; color: var(--color-text-muted); }
.ait-open__side { display: grid; align-content: start; justify-items: start; gap: 7px; padding: 12px 10px; background: var(--sm-ink-25); border-left: 1px solid var(--sm-ink-100); }
.ait-open__chip { padding: 4px 8px; border-radius: var(--radius-pill); background: var(--sm-violet-100); color: var(--sm-violet-700); font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.ait-open__chip.is-muted { background: var(--sm-ink-0); color: var(--color-text-muted); border: 1px solid var(--sm-ink-200); }

/* step 3 · done rows + mark complete */
.ait-done { position: relative; width: 100%; max-width: 260px; display: grid; gap: 9px; padding: 14px 14px 16px; }
.ait-done__row { display: flex; align-items: center; gap: 10px; }
.ait-done__row .mock-line { height: 7px; }
.ait-done__mark {
  position: relative; justify-self: start; margin-top: 4px; display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border-radius: var(--radius-pill); background: var(--sm-mint-100); color: var(--sm-mint-700); font-size: 11.5px; font-weight: 700;
}
.ait-done .ait-cursor { left: 90%; top: 46%; }

@media (max-width: 1024px) {
  .ait-step { margin-top: 0; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 8px; padding: 8px; }
  .ait-step__art { grid-row: 1 / span 2; height: 100%; min-height: 168px; }
  .ait-step__title { margin: 22px 18px 0 22px; align-self: end; }
  .ait-step__text { margin: 8px 18px 18px 22px; align-self: start; }
}
@media (max-width: 680px) {
  .ait-step { display: flex; padding: 8px 8px 22px; }
  .ait-step__art { height: 176px; min-height: 0; }
  .ait-step__title { margin: 20px 12px 0; align-self: stretch; }
  .ait-step__text { margin: 8px 12px 0; align-self: stretch; }
}

/* ==========================================================================
   04 · Supported editors (tabshow pictures)
   ========================================================================== */
.ait-editors .section-head { margin-bottom: var(--space-8); }
.ait-editors .tabshow__copy h3 { max-width: 20ch; }
@media (max-width: 900px) {
  .ait-editors .tabshow__media { min-height: 380px; }
  /* the section head is centred: keep the four tabs centred under it while they fit, scroll from the start when they don't */
  .ait-editors .tabshow__tabs { justify-content: safe center; }
}
@media (max-width: 480px) { .ait-editors .tabshow__media { min-height: 400px; } .ait-editors .stage__center { padding: 18px 14px; } }

/* WPML classic editor */
.ait-cte { width: 100%; max-width: 440px; padding: 14px 16px 12px; font-size: 12.5px; }
.ait-cte__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--sm-ink-100); font-size: 13px; }
.ait-cte__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 0; }
.ait-cte__grid small { font: 500 9.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-subtle); }
.ait-cte__cell { padding: 9px 10px; border-radius: 8px; border: 1px solid var(--sm-ink-200); background: var(--sm-ink-25); line-height: 1.4; color: var(--color-text-muted); }
.ait-cte__cell.is-done { background: var(--sm-ink-0); color: var(--color-text); font-weight: 600; }
.ait-cte__cell.is-active { background: var(--sm-violet-50); border-color: var(--sm-violet-200); color: var(--color-text); font-weight: 600; }
.ait-cte__foot { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--sm-ink-100); color: var(--color-text-muted); font-size: 12px; }
.ait-check { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--sm-ink-300); background: var(--sm-ink-0); }

/* WPML advanced editor */
.ait-ate { width: 100%; max-width: 440px; display: grid; gap: 10px; padding: 14px 16px 14px; font-size: 12.5px; }
.ait-ate__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.ait-ate__pct { font-size: 11.5px; font-weight: 600; color: var(--sm-sky-700); font-variant-numeric: tabular-nums; }
.ait-ate__segs { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.ait-ate__segs li { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 9px 10px; border-radius: 8px; border: 1px solid var(--sm-ink-100); line-height: 1.4; }
.ait-ate__segs li > span:first-child { color: var(--color-text-subtle); }
.ait-ate__segs li > span:last-child { color: var(--color-text); font-weight: 600; }
.ait-ate__segs li.is-done { background: color-mix(in srgb, var(--sm-mint-100) 45%, var(--sm-ink-0)); border-color: color-mix(in srgb, var(--sm-mint-700) 18%, transparent); }
.ait-ate__segs li.is-active { background: var(--sm-violet-50); border-color: var(--sm-violet-200); }
.ait-ate__segs .mock-line { height: 7px; margin-top: 5px; }

/* Loco Translate */
.ait-loco { width: 100%; max-width: 440px; padding: 14px 16px 14px; font-size: 12.5px; }
.ait-loco__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--sm-ink-100); font-size: 13px; }
.ait-loco__file { padding: 3px 8px; border-radius: 6px; background: var(--sm-ink-50); border: 1px solid var(--sm-ink-100); font: 500 10.5px/1.3 var(--font-mono); color: var(--color-text-muted); }
.ait-loco__table { display: grid; grid-template-columns: 1fr 1fr; padding-top: 4px; }
.ait-loco__table > * { padding: 9px 4px; border-bottom: 1px solid var(--sm-ink-100); line-height: 1.35; }
.ait-loco__table > small { padding: 10px 4px 8px; font: 500 9.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-subtle); }
.ait-loco__table > span:nth-last-child(-n+2) { border-bottom: 0; }
.ait-loco__table > span:not(.is-done):not(.is-active) { color: var(--color-text-muted); font-family: var(--font-mono); font-size: 11.5px; }
.ait-loco__table > .is-done, .ait-loco__table > .is-active { color: var(--color-text); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ait-loco__table > .is-active { gap: 0; }
.ait-loco__table > .is-active { margin: 2px 0; padding-inline: 8px; border-radius: 8px; border-bottom: 0; background: var(--sm-violet-50); box-shadow: inset 0 0 0 1px var(--sm-violet-200); }
.ait-loco__cache { margin-left: auto; padding: 2px 7px; border-radius: var(--radius-pill); background: var(--sm-mint-100); color: var(--sm-mint-700); font: 600 10px/1.3 var(--font-sans); font-style: normal; }

/* Elementor */
.ait-elem { width: 100%; max-width: 420px; overflow: hidden; padding: 0; font-size: 12.5px; }
.ait-elem__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--sm-ink-100); font-size: 13px; }
.ait-elem__bar img { width: 14px; height: 14px; }
.ait-elem__bar .ait-pair { margin-left: auto; }
.ait-elem__canvas { display: grid; gap: 8px; padding: 14px; background: var(--sm-ink-25); }
.ait-elem__widget { display: grid; gap: 6px; padding: 10px 12px; border-radius: 8px; background: var(--sm-ink-0); border: 1px solid var(--sm-ink-100); }
.ait-elem__widget small { display: flex; align-items: center; gap: 6px; font: 500 9.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-subtle); }
.ait-elem__widget small .icon { width: 11px; height: 11px; }
.ait-elem__widget b { font-size: 16px; letter-spacing: -0.01em; }
.ait-elem__widget p { line-height: 1.45; font-weight: 600; }
.ait-elem__widget.is-active { border-color: var(--sm-violet-200); box-shadow: 0 0 0 2px color-mix(in srgb, var(--sm-violet-200) 55%, transparent); }
.ait-elem__btn { justify-self: start; padding: 6px 12px; border-radius: 6px; background: var(--sm-ink-100); color: var(--color-text-muted); font-size: 11.5px; font-weight: 600; }

/* ==========================================================================
   05 · Try it (real control)
   ========================================================================== */
.ait-demo__box {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  background:
    radial-gradient(48% 90% at 88% 40%, color-mix(in srgb, var(--sm-violet-100) 85%, transparent), transparent 72%),
    radial-gradient(40% 60% at 0% 100%, color-mix(in srgb, var(--sm-sky-100) 80%, transparent), transparent 72%),
    var(--color-surface-subtle);
}
.ait-demo__box > * { position: relative; }
.ait-demo__intro > .eyebrow { display: block; }
.ait-demo__intro h2 { margin-top: 14px; max-width: 16ch; }
.ait-demo__lead { margin-top: 16px; font-size: var(--fs-lead); line-height: 1.55; color: var(--color-text-muted); max-width: 46ch; }
.ait-demo__lead i { font-style: italic; color: var(--color-text); }
.ait-demo__controls { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 20px 28px; }

/* segmented radio group: real inputs, styled like .seg */
.ait-radios { margin: 0; padding: 0; border: 0; min-width: 0; }
.ait-radios__legend { padding: 0; margin-bottom: 10px; font-size: var(--fs-xs); font-weight: 600; color: var(--color-text); }
.ait-radios__hint { margin-left: 4px; font-weight: 400; color: var(--color-text-subtle); }
.ait-radios__track { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--color-surface-pressed); }
.ait-radios__opt { position: relative; display: block; cursor: pointer; }
.ait-radios__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ait-radios__opt > span {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 52px; padding: 0 16px;
  border-radius: var(--radius-pill); font: 600 14px/1 var(--font-sans); color: var(--color-text-muted); white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ait-radios__opt > span small { font-size: 11px; font-weight: 600; color: var(--color-text-subtle); }
.ait-radios__opt:hover > span { color: var(--color-text); }
.ait-radios__opt input:checked + span { background: var(--sm-ink-0); color: var(--color-text); box-shadow: var(--shadow-xs); }
.ait-radios__opt input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* output card */
.ait-field {
  display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px);
  background: var(--sm-ink-0); border: 1px solid var(--color-border); border-radius: var(--radius-2xl); box-shadow: var(--shadow-md);
}
.ait-field__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ait-field__lang { font: 500 var(--fs-label)/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--color-brand-text); }
.ait-field__status {
  display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0 12px; border-radius: var(--radius-pill);
  background: var(--sm-ink-50); border: 1px solid var(--sm-ink-200); font-size: 12.5px; font-weight: 600; color: var(--color-text-muted);
}
.ait-field__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--sm-ink-300); flex: none; }
.ait-field__status[data-ait-state="busy"] { background: var(--sm-violet-50); border-color: var(--sm-violet-200); color: var(--sm-violet-700); }
.ait-field__status[data-ait-state="busy"] i { background: var(--sm-violet-600); animation: ait-pulse .7s var(--ease) 1; }
.ait-field__status[data-ait-state="new"] { background: var(--sm-mint-100); border-color: transparent; color: var(--sm-mint-700); }
.ait-field__status[data-ait-state="new"] i { background: var(--sm-mint-700); }
.ait-field__status[data-ait-state="cache"] { background: color-mix(in srgb, var(--sm-sky-100) 50%, var(--sm-ink-0)); border-color: color-mix(in srgb, var(--sm-sky-700) 18%, transparent); color: var(--sm-sky-700); }   /* lighter fill keeps sky-700 text above 4.5:1 */
.ait-field__status[data-ait-state="cache"] i { background: var(--sm-sky-700); }
@keyframes ait-pulse { 0% { transform: scale(.6); opacity: .4; } 100% { transform: scale(1); opacity: 1; } }
.ait-field__text { min-height: var(--ait-text-lines, calc(4 * 1.5em)); font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.5; letter-spacing: -0.005em; font-weight: 500; color: var(--color-text); text-wrap: pretty; }
.ait-field__text.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -0.16em; border-radius: 1px; background: var(--sm-violet-600); }
.ait-field__meta { margin: 0; padding-top: 16px; border-top: 1px solid var(--sm-ink-100); display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; }
.ait-field__meta div { display: grid; gap: 3px; }
.ait-field__meta dt { font-size: 12.5px; color: var(--color-text-subtle); }
.ait-field__meta dd { margin: 0; font-size: var(--fs-small); font-weight: 600; color: var(--color-text); font-variant-numeric: tabular-nums; }
.ait-field__meta dd small { margin-left: 5px; font-size: 12px; font-weight: 500; color: var(--color-text-subtle); }
.ait-demo__note { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--color-text-subtle); max-width: 62ch; }

/* reserve the height of the longest example so switching languages barely moves the page: 3 lines on a wide tablet card, 5 on phones */
@media (min-width: 700px) and (max-width: 960px) { .ait-field__text { --ait-text-lines: calc(3 * 1.5em); } }
@media (max-width: 480px) { .ait-field__text { --ait-text-lines: calc(5 * 1.5em); } }
@media (max-width: 960px) {
  .ait-demo__box { grid-template-columns: minmax(0, 1fr); --tw: 0; background:
    radial-gradient(70% 45% at 100% 100%, color-mix(in srgb, var(--sm-violet-100) 85%, transparent), transparent 72%),
    radial-gradient(60% 40% at 0% 0%, color-mix(in srgb, var(--sm-sky-100) 80%, transparent), transparent 72%),
    var(--color-surface-subtle); }
}
@media (max-width: 480px) {
  .ait-demo__box { padding: 28px 12px 20px; }
  .ait-demo__intro { padding-inline: 8px; }
  .ait-demo__controls { gap: 18px; }
  .ait-radios__opt > span { min-width: 0; padding: 0 13px; }
  .ait-field { padding: 20px 18px; border-radius: var(--radius-xl); }
  .ait-field__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; }
  .ait-demo__note { padding-inline: 8px; }
}

/* ==========================================================================
   06 · Features (home bento pattern, page grid)
   ========================================================================== */
.ait-bento .bento__grid {
  grid-template-areas:
    "prompt prompt queue"
    "cache  skip   queue"
    "stats  panel  panel"
    "stats  actions notify";
}
.ait-bento__card--prompt  { grid-area: prompt; }
.ait-bento__card--queue   { grid-area: queue; }
.ait-bento__card--cache   { grid-area: cache; }
.ait-bento__card--skip    { grid-area: skip; }
.ait-bento__card--stats   { grid-area: stats; }
.ait-bento__card--panel   { grid-area: panel; }
.ait-bento__card--actions { grid-area: actions; }
.ait-bento__card--notify  { grid-area: notify; }
/* information cards, not links: no lift, no hover border */
@media (hover: hover) {
  .ait-bento .bento__card:hover { transform: none; border-color: var(--color-border); box-shadow: none; }
}
.ait-bento .bento__art { container-type: inline-size; }

/* prompt editor */
.ait-prompt { width: 100%; max-width: 440px; display: grid; gap: 10px; padding: 14px 16px 16px; }
.ait-prompt__head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ait-prompt__head .icon { color: var(--sm-violet-700); }
.ait-prompt__saved { margin-left: auto; padding: 3px 9px; border-radius: var(--radius-pill); background: var(--sm-mint-100); color: var(--sm-mint-700); font-size: 10.5px; font-weight: 700; }
.ait-prompt__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ait-prompt__chips span { padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--sm-ink-200); background: var(--sm-ink-0); font-size: 11px; font-weight: 600; color: var(--color-text-muted); white-space: nowrap; }
.ait-prompt__chips .is-on { background: var(--sm-violet-100); border-color: transparent; color: var(--sm-violet-700); }
.ait-prompt__text { padding: 10px 12px; border-radius: 8px; background: var(--sm-ink-25); border: 1px solid var(--sm-ink-100); font: 500 11.5px/1.6 var(--font-mono); color: var(--color-text-muted); }
@container (max-width: 380px) { .ait-prompt__chips span:nth-child(4) { display: none; } }

/* queue (tall) */
.ait-queue { --dot: 22px; width: 100%; max-width: 300px; padding: 14px 16px 10px; }
.ait-queue__head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--sm-ink-100); font-size: 13px; }
.ait-queue__head .icon { color: var(--sm-sky-700); }
.ait-queue__head .mock-pill { margin-left: auto; padding: 4px 9px; font-size: 10.5px; }
.ait-queue__list { list-style: none; margin: 0; padding: 0; display: grid; }
.ait-queue__list li { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 0; }
.ait-queue__list li:not(:last-child)::before {
  content: ""; position: absolute; left: calc(var(--dot) / 2 - 1px); top: calc(50% + var(--dot) / 2 + 2px); height: calc(100% - var(--dot) - 4px);
  width: 2px; border-radius: 1px; background: var(--sm-ink-100);
}
.ait-queue__dot { width: var(--dot); height: var(--dot); border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--sm-ink-0); box-shadow: inset 0 0 0 1.5px var(--sm-ink-200); }
.ait-queue__list .is-done .ait-queue__dot { background: var(--sm-mint-100); box-shadow: none; color: var(--sm-mint-700); }
.ait-queue__list .is-done .ait-queue__dot .icon { width: 12px; height: 12px; stroke-width: 2.8; }
.ait-queue__list .is-live .ait-queue__dot { background: var(--sm-violet-100); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sm-violet-200) 50%, transparent); }
.ait-queue__list .is-live .ait-queue__dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--sm-violet-600); }
.ait-queue__list b { display: block; font-size: 13px; line-height: 1.3; }
.ait-queue__list small { display: block; font-size: 11.5px; line-height: 1.35; color: var(--color-text-subtle); }
.ait-queue__list .is-live small { color: var(--sm-violet-700); font-weight: 600; }

/* cache */
.ait-cache { position: relative; width: 100%; max-width: 280px; display: grid; justify-items: center; padding-bottom: 12px; }
.ait-cache__list { width: 100%; display: grid; padding: 4px 16px 12px; }
.ait-cache__pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 0; font-size: 13px; }
.ait-cache__pair + .ait-cache__pair { border-top: 1px solid var(--sm-ink-100); }
.ait-cache__pair b { font-weight: 600; }
.ait-cache__pair span { color: var(--color-text-muted); }
.ait-cache__pair .icon { color: var(--color-text-subtle); }
.ait-cache__hit { position: absolute; bottom: -2px; box-shadow: var(--shadow-sm); }
.ait-cache__hit .icon { width: 12px !important; height: 12px !important; }

/* skip rules */
.ait-skip { list-style: none; margin: 0; width: 100%; max-width: 270px; display: grid; padding: 6px 14px; }
.ait-skip li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 12.5px; font-weight: 600; }
.ait-skip li + li { border-top: 1px solid var(--sm-ink-100); }
.ait-skip .ait-toggle { margin-left: auto; }
.ait-skip__ico { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none; background: var(--sm-sky-100); color: var(--sm-sky-700); }
.ait-skip__ico .icon { width: 13px !important; height: 13px !important; }

/* usage (tall) */
.ait-usage { width: 100%; max-width: 300px; display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 16px; }
.ait-usage__head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ait-usage__head .icon { color: var(--sm-violet-700); }
.ait-usage__tag { margin-left: auto; padding: 3px 8px; border-radius: var(--radius-pill); background: var(--sm-ink-50); border: 1px solid var(--sm-ink-200); font-size: 10.5px; font-weight: 600; color: var(--color-text-muted); }
.ait-usage__nums { margin: 0; display: grid; gap: 8px; }
.ait-usage__nums div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--sm-ink-25); border: 1px solid var(--sm-ink-100); }
.ait-usage__nums dt { font-size: 12px; color: var(--color-text-muted); }
.ait-usage__nums dd { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.ait-usage__bars { height: 64px; gap: 5px; margin-top: auto; border-bottom: 1px solid var(--sm-ink-100); }
.ait-usage .ait-usage__bars span:nth-child(n) { border-radius: 3px 3px 0 0; background: var(--sm-violet-200); }
.ait-usage .ait-usage__bars span:last-child { background: linear-gradient(180deg, var(--sm-violet-600), var(--sm-violet-500)); }
.ait-usage__legend { display: flex; justify-content: space-between; margin-top: -6px; font-size: 10.5px; color: var(--color-text-subtle); }

/* side panel with client tabs (wide) */
.ait-tabs { width: 100%; max-width: 460px; overflow: hidden; padding: 0; }
.ait-tabs__strip { display: flex; gap: 4px; padding: 8px 8px 0; background: var(--sm-ink-50); border-bottom: 1px solid var(--sm-ink-100); }
.ait-tabs__strip span { padding: 7px 12px; border-radius: 8px 8px 0 0; font-size: 11px; font-weight: 600; color: var(--color-text-subtle); white-space: nowrap; }
.ait-tabs__strip .is-on { background: var(--sm-ink-0); color: var(--color-text); box-shadow: 0 -1px 0 var(--sm-ink-100), 1px 0 0 var(--sm-ink-100), -1px 0 0 var(--sm-ink-100); }
.ait-tabs__body { display: grid; grid-template-columns: minmax(0, 1fr) 150px; }
.ait-tabs__page { display: grid; align-content: start; gap: 9px; padding: 16px; }
.ait-tabs__page .mock-line { height: 7px; }
.ait-tabs__side { display: grid; align-content: start; gap: 9px; padding: 12px; background: var(--sm-ink-25); border-left: 1px solid var(--sm-ink-100); }
.ait-tabs__side-head { display: flex; align-items: center; gap: 6px; font-size: 11.5px; }
.ait-tabs__side small { font-size: 10.5px; color: var(--color-text-subtle); }
@container (max-width: 340px) { .ait-tabs__strip span:nth-child(3) { display: none; } .ait-tabs__body { grid-template-columns: minmax(0, 1fr) 124px; } }

/* one-click menu */
.ait-menu { position: relative; list-style: none; margin: 0; width: 100%; max-width: 230px; display: grid; gap: 2px; padding: 6px; }
.ait-menu li { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: var(--color-text-muted); }
.ait-menu li .icon { color: var(--color-text-subtle); }
.ait-menu li.is-hover { position: relative; background: var(--sm-mint-100); color: var(--sm-mint-700); font-weight: 600; }
.ait-menu li.is-hover .icon { color: var(--sm-mint-700); }
.ait-cursor--menu { left: 70%; top: 54%; }
.ait-cursor--menu::before { background: color-mix(in srgb, var(--sm-mint-700) 22%, transparent); }

/* notify + log */
.ait-notify { width: 100%; max-width: 270px; display: grid; gap: 10px; }
.ait-notify__toast { display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow-xs), var(--shadow-md); }
.ait-notify__toast .ait-logo { width: 30px; height: 30px; border-radius: 9px; }
.ait-notify__toast b { display: block; font-size: 12.5px; line-height: 1.25; }
.ait-notify__toast small { display: block; font-size: 11px; line-height: 1.35; color: var(--color-text-subtle); }
.ait-notify__log { display: block; padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--sm-ink-0) 70%, transparent); border: 1px dashed var(--sm-violet-200); font: 500 10.5px/1.6 var(--font-mono); color: var(--color-text-muted); }

/* wide cards: text left, picture right (as the home .bento__card--lang) */
@media (min-width: 1081px) {
  .ait-bento__card--prompt, .ait-bento__card--panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: stretch; }
  .ait-bento__card--prompt .bento__body, .ait-bento__card--panel .bento__body { order: -1; align-self: end; padding: 24px 16px 24px 24px; }
  .ait-bento__card--prompt .bento__art, .ait-bento__card--panel .bento__art { height: auto; min-height: 220px; padding: 22px 24px; margin: var(--bento-inset) var(--bento-inset) var(--bento-inset) 0; }
}
/* tall cards: the panel bleeds off the bottom; the queue spreads over the free height */
@media (min-width: 901px) {
  .ait-bento .bento__card--tall .ait-queue, .ait-bento .bento__card--tall .ait-usage { max-width: 320px; }
  /* usage: as the home "Wartung" log, the panel grows with the card up to a limit and sits on the bottom edge;
     the chart takes the extra height instead of leaving a hole between the numbers and the bars */
  .ait-bento .bento__card--tall .ait-usage { align-self: flex-end; height: 100%; max-height: 380px; }
  .ait-bento .bento__card--tall .ait-usage__bars { flex: 1 1 64px; height: auto; min-height: 64px; max-height: 150px; }
  .ait-queue { display: flex; flex-direction: column; }
  .ait-queue__list { flex: 1; display: flex; flex-direction: column; padding-bottom: 6px; }
  .ait-queue__list li { flex: 1 1 0; }
}
@media (max-width: 900px) {
  .ait-bento .bento__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "prompt prompt"
      "queue  cache"
      "skip   stats"
      "panel  panel"
      "actions notify";
  }
  .ait-queue__list li:nth-child(n+5) { display: none; }
  .ait-queue__list li { padding: 4px 0; }
  .ait-queue__list small { display: none; }
  .ait-queue__head { padding-bottom: 8px; }
  .ait-usage { gap: 8px; padding: 12px 14px; }
  .ait-usage__nums div:nth-child(1) { display: none; }
  .ait-usage__bars, .ait-usage__legend { display: none; }
}
@media (max-width: 600px) {
  .ait-bento .bento__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "prompt" "queue" "cache" "skip" "stats" "panel" "actions" "notify";
  }
}

/* ==========================================================================
   07 · Models (accshow pictures)
   ========================================================================== */
.ait-models__head { align-items: start; }
.ait-models .accshow__media { min-height: clamp(420px, 36vw, 480px); }
@media (max-width: 900px) { .ait-models .accshow__media { min-height: 400px; } }
.ait-models__intro > * + * { margin-top: 18px; }
.ait-models__providers .chip { min-height: 36px; }
.ait-models__note { margin-top: 10px; padding: 0 18px; font-size: 13px; line-height: 1.5; color: var(--color-text-subtle); }

.ait-set { width: 100%; max-width: 380px; display: grid; gap: 16px; padding: 20px 22px 22px; font-size: 13px; }
.ait-set__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.ait-set__key { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--radius-pill); background: var(--sm-mint-100); color: var(--sm-mint-700); font-size: 10.5px; font-weight: 700; }
.ait-set__key .icon { width: 11px !important; height: 11px !important; }
.ait-set__val { min-width: 44px; padding: 4px 9px; border-radius: 8px; background: var(--sm-ink-50); border: 1px solid var(--sm-ink-200); text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.ait-set__providers { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ait-set__providers li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--sm-ink-100); font-weight: 600; color: var(--color-text-muted); }
.ait-set__providers li.is-on { background: var(--sm-sky-100); border-color: transparent; color: var(--color-text); }
.ait-mono { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: none; background: var(--sm-ink-0); border: 1px solid var(--sm-ink-200); font-size: 10.5px; font-weight: 700; color: var(--color-text-muted); }
.ait-radio { margin-left: auto; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--sm-ink-300); background: var(--sm-ink-0); flex: none; }
.ait-set__providers .is-on .ait-radio { border: 4px solid var(--sm-sky-700); }
.ait-set__select { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--sm-ink-200); color: var(--color-text-subtle); font-weight: 500; }
.ait-slider { --v: 50%; position: relative; display: block; height: 6px; margin: 6px 2px; border-radius: var(--radius-pill); background: linear-gradient(90deg, var(--sm-sky-700) var(--v), var(--sm-ink-100) var(--v)); }
.ait-slider i { position: absolute; left: var(--v); top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--sm-ink-0); border: 2px solid var(--sm-sky-700); box-shadow: var(--shadow-xs); }
.ait-set__scale { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--color-text-subtle); }
.ait-set__hint { display: flex; flex-wrap: wrap; gap: 6px; }
.ait-set__calc { padding: 10px 12px; border-radius: 9px; background: var(--sm-ink-25); border: 1px solid var(--sm-ink-100); color: var(--color-text-muted); }
.ait-set__calc b { color: var(--color-text); }
.ait-topp__prompt { font-weight: 600; color: var(--color-text); font-size: 13px; }
.ait-topp { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ait-topp li { display: grid; grid-template-columns: 64px minmax(0, 1fr) 34px; align-items: center; gap: 10px; color: var(--color-text-subtle); }
.ait-topp li i { display: block; height: 10px; width: calc(var(--p) * 2); max-width: 100%; border-radius: 3px; background: var(--sm-ink-200); }
.ait-topp li b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.ait-topp li.is-in { color: var(--color-text); font-weight: 600; }
.ait-topp li.is-in i { background: var(--sm-sky-700); }
.ait-topp__note { padding-top: 10px; border-top: 1px dashed var(--sm-ink-200); font-size: 11.5px; color: var(--color-text-muted); }

/* ==========================================================================
   08 · Privacy (data-flow picture)
   ========================================================================== */
.ait-privacy .split__copy h2 { max-width: 14ch; }
.ait-flow { width: 100%; max-width: 380px; display: grid; justify-items: stretch; }
.ait-flow__node { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 14px; padding: 18px 20px; }
.ait-flow__node b { display: block; font-size: 15px; line-height: 1.25; }
.ait-flow__node small { display: block; font-size: 12.5px; line-height: 1.35; color: var(--color-text-subtle); }
.ait-flow__ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--sm-ink-50); border: 1px solid var(--sm-ink-100); }
.ait-flow__ico img { width: 18px; height: 18px; }
.ait-flow__ico--violet { background: var(--sm-violet-100); border-color: transparent; color: var(--sm-violet-700); }
.ait-flow__ico--violet .icon { width: 18px !important; height: 18px !important; }
.ait-flow__badge { grid-column: 1 / -1; justify-self: start; margin-top: 8px; padding: 4px 10px; font-size: 11px; }
.ait-flow__badge .icon { width: 11px !important; height: 11px !important; }
.ait-flow__wire { position: relative; height: 76px; display: grid; place-items: center; }
.ait-flow__wire::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: repeating-linear-gradient(180deg, var(--sm-mint-700) 0 5px, transparent 5px 10px); opacity: .55; }
.ait-flow__wire::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--sm-mint-700); }
.ait-flow__wire span { position: relative; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--sm-ink-0); border: 1px solid var(--ait-hair); box-shadow: var(--shadow-xs); font-size: 11px; font-weight: 600; color: var(--color-text-muted); }
.ait-flow__never { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ait-flow__never li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 8px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--sm-ink-0) 75%, transparent); border: 1px solid var(--ait-hair); font-size: 11.5px; font-weight: 600; color: var(--color-text-muted); }
.ait-flow__never .icon { color: var(--sm-rose-700); }
.ait-privacy .split__media { min-height: clamp(440px, 38vw, 500px); }
@media (max-width: 900px) { .ait-privacy .split__media { min-height: 460px; } }
@media (max-width: 480px) { .ait-privacy .stage__center { padding: 20px 14px; } .ait-flow__node { padding: 14px 16px; } .ait-flow__wire { height: 64px; } }

/* ==========================================================================
   09 · Made in Switzerland (landscape team photo)
   ========================================================================== */
.ait-made__photo { padding: 32px 16px 0; }
.ait-made__photo img { max-width: 100%; max-height: 400px; }
.ait-made .expert__body h2 { max-width: 16ch; }
.ait-made__head > .eyebrow { display: block; }
.ait-made__head h2 { margin-top: 14px; }
.ait-made__text > * + * { margin-top: 14px; }
.ait-made__text > .expert__actions { margin-top: 26px; }
.ait-made__text a:not(.btn) { color: var(--color-text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-border-strong); text-underline-offset: 3px; }
.ait-made__text a:not(.btn):hover { text-decoration-color: currentColor; }
.ait-made .expert__body sup { font-size: .6em; }
.ait-made .btn--ghost { padding-inline: 14px; }
@media (min-width: 861px) and (max-width: 1180px) {
  .ait-made__body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: clamp(32px, 5vw, 64px); align-items: start; }
  .ait-made__body > * + * { margin-top: 0; }
}
@media (max-width: 1180px) {
  .ait-made .expert { grid-template-columns: minmax(0, 1fr); }
  .ait-made__photo { min-height: 0; }
  .ait-made__photo img { max-height: 380px; }
  .ait-made .expert__body p { max-width: 64ch; }
}
@media (max-width: 480px) { .ait-made__photo img { max-height: 280px; } }

/* ==========================================================================
   10 · Waitlist (home analyse pattern)
   ========================================================================== */
.ait-wait__plan li span { color: var(--color-text-muted); }
.ait-wait__plan li b { color: var(--color-text); }
.ait-wait__status { margin-top: var(--space-6); max-width: 34rem; background: color-mix(in srgb, var(--sm-orange-50) 85%, transparent); }
.ait-wait__editors { margin: 0; padding: 0; border: 0; min-width: 0; }
.ait-wait__editors legend { padding: 0; margin-bottom: 8px; }
.ait-wait__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.ait-wait__opt { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 11px; border-radius: var(--radius-pill); border: 1px solid var(--color-border-strong); background: var(--sm-ink-0); font-size: var(--fs-xs); font-weight: 600; cursor: pointer; transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.ait-wait__opt:hover { background: var(--color-surface-hover); }
.ait-wait__opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--sm-orange-700); flex: none; }
.ait-wait__opt:has(input:checked) { background: var(--sm-orange-50); border-color: var(--sm-orange-300); }
@media (max-width: 900px) {
  .ait-wait__status { order: 4; margin-top: 0; }
}
@media (max-width: 480px) {
  .ait-wait__status { margin-inline: 8px; }
}
