/* aifeat (v5, a2): combined AI + features block. Own af- prefix so it does not depend on ai.css / features.css.
   No section background (index.html owns it). Cards: white with a beige inner panel (v4 AI style), "w" = features-style
   pastel panel, "photo" = blurred photo panel (G13). No borders on cards (G8). */
.af-mk { display: inline-block; width: 20px; height: 20px; flex: none; background: var(--c, #1B1713);
  -webkit-mask: var(--u) center / contain no-repeat; mask: var(--u) center / contain no-repeat; }
.af-mk.xs { width: 13px; height: 13px; }
.af-mk.sm { width: 16px; height: 16px; }
.af-ic { width: 18px; height: 18px; flex: none; }

/* assistant logos */
.af-logos { margin-top: 40px; text-align: center; }
.af-logos-t { margin: 0 0 14px; font: 500 14px/1.4 var(--font); color: var(--muted); }
.af-logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.af-logos li { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 16px; border-radius: var(--r-pill);
  background: var(--sheet); box-shadow: var(--shadow-card); font: 600 15.5px/1 var(--font); letter-spacing: -0.015em; }
.af-logos li .af-mk { width: 21px; height: 21px; }

/* tile 2: outcomes */
.af-outs { display: grid; gap: 10px; }
.af-out { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff;
  box-shadow: 0 1px 2px rgba(27, 23, 19, .05), 0 10px 24px -16px rgba(60, 30, 10, .2); }
.af-out-mk { width: 34px; height: 34px; border-radius: 10px; background: #F6F2ED; display: grid; place-items: center; flex: none; }
.af-out-mk .af-mk { width: 18px; height: 18px; }
.af-out div { min-width: 0; flex: 1; }
.af-out b { display: block; font: 600 15px/1.2 var(--font); letter-spacing: -0.01em; }
.af-out small { display: block; margin-top: 3px; font: 400 12.5px/1.2 var(--font); color: var(--muted); }
.af-chip { flex: none; height: 26px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: var(--r-pill); font: 600 12.5px/1 var(--font); }
.af-chip--ok { background: #E6F4EA; color: #2E6B48; }
.af-chip--ai { background: #EEEAFD; color: #4F4290; }

/* tile 3: public vs private */
.af-pub { list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px; background: #fff; border-radius: 14px;
  box-shadow: 0 1px 2px rgba(27, 23, 19, .05), 0 10px 24px -16px rgba(60, 30, 10, .2); }
.af-pub li { display: flex; align-items: center; gap: 10px; padding: 11px 10px; border-radius: 10px; font: 500 14px/1.3 var(--font); }
.af-pub li .af-ic { width: 17px; height: 17px; color: #2E6B48; }
.af-pub li em { margin-left: auto; font: 600 12px/1 var(--font); font-style: normal; color: #2E6B48; }
.af-pub li.priv { color: var(--muted); }
.af-pub li.priv .af-ic, .af-pub li.priv em { color: var(--muted); }
.af-pub li.priv span { background: linear-gradient(var(--faint), var(--faint)) 0 56% / 100% 1px no-repeat; }

/* tile 4: inbox */
.af-inbox { list-style: none; margin: 0; padding: 6px 8px; display: grid; background: #fff; border-radius: 14px;
  box-shadow: 0 1px 2px rgba(27, 23, 19, .05), 0 10px 24px -16px rgba(60, 30, 10, .2); }
.af-inbox li { display: flex; align-items: center; gap: 12px; padding: 12px 8px; }
.af-inbox li + li { box-shadow: 0 -1px 0 #F1ECE6; }
.af-inbox-av { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; flex: none; background: var(--soft); }
.af-inbox li > div { min-width: 0; flex: 1; }
.af-inbox b { display: block; font: 600 14px/1.2 var(--font); }
.af-inbox small { display: block; font: 400 12.5px/1.3 var(--font); color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.af-inbox-r { flex: none !important; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.af-via { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 99px; background: #F6F2ED;
  font: 600 12px/1 var(--font); white-space: nowrap; }

/* "Talk to this site through your own AI": the noticeable action of the block (moved from the hero) */
.af-try { margin: 36px auto 0; max-width: 860px; display: flex; align-items: center; gap: 16px; padding: 14px 14px 14px 18px; border-radius: 22px;
  background: var(--sheet); box-shadow: var(--shadow-card); }
.af-try-logos { display: inline-flex; flex: none; }
.af-try-lg { width: 36px; height: 36px; border-radius: 50%; background: #F6F2ED; box-shadow: 0 0 0 3px #fff; display: grid; place-items: center; }
.af-try-lg + .af-try-lg { margin-left: -8px; }
.af-try-t { flex: 1; min-width: 0; }
.af-try-t b { display: block; font: 600 17px/1.25 var(--font); letter-spacing: -0.015em; }
.af-try-t p { margin: 3px 0 0; font: 400 14px/1.4 var(--font); color: var(--muted); }
.af-try-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border: 0; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font: 600 14.5px/1 var(--font); cursor: pointer; white-space: nowrap; flex: none; transition: background-color .2s; }
.af-try-btn:hover { background: #2E2721; }
.af-try-btn .af-ic { width: 17px; height: 17px; }
.af-try-btn.is-done { background: #E6F4EA; color: #2E6B48; }


/* ---------- agents understand agents ---------- */
.af-a2a { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, .9fr) 28px minmax(0, 1.15fr); align-items: center; gap: 10px; }
.af-page { position: relative; height: 250px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); overflow: hidden; }
.af-page-bar { display: flex; align-items: center; gap: 5px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.af-page-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.af-page-bar em { margin-left: 8px; font: 500 11px/1 var(--font); font-style: normal; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.af-page-b { padding: 14px; transition: opacity .6s var(--ease), filter .6s var(--ease); }
.af-page-h { width: 64%; height: 14px; border-radius: 4px; background: #E9DFD3; margin-bottom: 12px; }
.af-page-l { display: grid; gap: 7px; }
.af-page-l i { display: block; height: 6px; border-radius: 3px; background: #F0E8DE; }
.af-page-c { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 14px; }
.af-page-c i { height: 40px; border-radius: 8px; background: var(--soft); }
.af-scan { position: absolute; top: 34px; bottom: 0; left: 0; width: 46px; transform: translateX(-60px); opacity: 0;
  background: linear-gradient(90deg, rgba(236, 230, 255, 0), rgba(214, 200, 255, .75), rgba(236, 230, 255, 0)); }
.af-tok { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 99px;
  font: 600 11.5px/1 var(--font); background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; }
.af-tok.old { color: var(--muted); }
.af-arrow { display: grid; place-items: center; color: var(--muted); }
.af-json { position: relative; padding: 14px 14px 46px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card);
  font: 500 12.5px/1.75 var(--font); color: var(--ink-2); font-variant-numeric: tabular-nums; min-height: 210px; }
.af-json p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.af-json .i { padding-left: 12px; }
.af-json s { text-decoration: none; color: #8A5A2B; }
.af-json u { text-decoration: none; color: #2F7A55; }
.af-json .af-tok { background: #DFF3E8; color: #1F6A45; box-shadow: none; }
.af-talk { display: grid; gap: 9px; }
.af-msg { display: flex; gap: 8px; align-items: flex-end; }
.af-msg-av { width: 30px; height: 30px; flex: none; border-radius: 50%; background: #fff; box-shadow: var(--shadow-card); display: grid; place-items: center; }
.af-msg-av.img { border-radius: 9px; object-fit: cover; }
.af-msg p { margin: 0; padding: 9px 12px; border-radius: 14px 14px 14px 5px; background: #fff; box-shadow: var(--shadow-card);
  font: 400 13.5px/1.4 var(--font); color: var(--ink); }
.af-msg small { display: block; font: 600 11px/1 var(--font); color: var(--muted); margin-bottom: 5px; }
.af-done { justify-self: start; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 99px;
  background: var(--tag-ok-bg); color: var(--tag-ok-ink); font: 600 13px/1 var(--font); }
.af-done .af-ic { width: 15px; height: 15px; }

/* sequence: data-s 0 page · 1 scan · 2 data · 3 question · 4 answer + outcome */
.af-json .i, .af-json .af-tok, .af-msg, .af-done { opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.af-json .i { transition-delay: calc(var(--k) * .1s); }
.af-a2a:not([data-afs="0"]) .af-json .i,
.af-a2a[data-afs="2"] .af-json .af-tok, .af-a2a[data-afs="3"] .af-json .af-tok, .af-a2a[data-afs="4"] .af-json .af-tok,
.af-a2a[data-afs="3"] .af-msg.q, .af-a2a[data-afs="4"] .af-msg, .af-a2a[data-afs="4"] .af-done { opacity: 1; transform: none; }
.af-a2a[data-afs="4"] .af-msg.a { transition-delay: .1s; }
.af-a2a[data-afs="4"] .af-done { transition-delay: .5s; }
.af-a2a[data-afs="1"] .af-scan { animation: af-scan 1s var(--ease) forwards; }
.af-a2a:not([data-afs="0"]):not([data-afs="1"]) .af-page-b { opacity: .45; filter: blur(1.2px); }
@keyframes af-scan { 0% { transform: translateX(-60px); opacity: 1; } 100% { transform: translateX(260px); opacity: 1; } }
.af.static .af-json .i, .af.static .af-json .af-tok, .af.static .af-msg, .af.static .af-done { transition: none; }

/* ---------- knowledge base ---------- */
.af-kb { width: 100%; max-width: 460px; display: grid; gap: 10px; }
.af-src { list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-card); }
.af-src li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto 20px; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font: 400 13.5px/1.3 var(--font); }
.af-src li + li { box-shadow: 0 -1px 0 var(--line); }
.af-src li .af-ic { color: var(--muted); width: 17px; height: 17px; }
.af-src b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.af-src small { color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.af-ok { width: 20px; height: 20px; display: grid; place-items: center; color: #2F7A55; }
.af-ok .af-ic { width: 15px !important; height: 15px !important; color: inherit !important; stroke-width: 2.2; }
.af-kb-ans { padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.af-kb-q { margin: 0; font: 500 12.5px/1.3 var(--font); color: var(--muted); }
.af-kb-a { margin: 4px 0 8px; font: 500 14.5px/1.35 var(--font); color: var(--ink); }
.af-ref { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 99px; background: var(--soft); font: 500 11.5px/1 var(--font); color: var(--ink-2); }
.af-ref .af-ic { width: 13px; height: 13px; }

/* ---------- meetings ---------- */
.af-meet { width: 100%; max-width: 360px; padding: 12px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.af-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.af-days span { display: grid; justify-items: center; gap: 3px; padding: 7px 0; border-radius: 10px; }
.af-days small { font: 500 11px/1 var(--font); color: var(--muted); }
.af-days b { font: 600 15px/1 var(--font); }
.af-days .on { background: var(--ink); color: #fff; }
.af-days .on small { color: rgba(255, 255, 255, .7); }
.af-times { margin-top: 10px; display: grid; }
.af-time { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 8px; min-height: 30px; }
.af-time > small { font: 500 11.5px/1 var(--font); color: var(--muted); }
.af-time > i { height: 1px; background: var(--line); }
.af-ev { margin: 4px 0; padding: 9px 11px; border-radius: 10px; background: #ECE6FF; box-shadow: inset 3px 0 0 #9C8BE8; }
.af-ev b { display: block; font: 600 13.5px/1.2 var(--font); }
.af-ev > small { display: block; font: 400 12px/1.3 var(--font); color: var(--ink-2); margin: 2px 0 7px; }
.af-by { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 99px; background: var(--ink); color: #fff; font: 600 11px/1 var(--font); }

/* ---------- payment ---------- */
.af-pay { width: 100%; max-width: 300px; display: grid; gap: 10px; justify-items: start; }
.af-pay-card { width: 100%; padding: 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.af-pay-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font: 600 14px/1 var(--font); }
.af-pay-h img { width: 22px; height: 22px; border-radius: 6px; }
.af-pay-r { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font: 400 13px/1.2 var(--font); color: var(--ink-2); }
.af-pay-r b { color: var(--ink); font-weight: 600; }
.af-pay-btn { margin-top: 10px; height: 36px; border-radius: 10px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; gap: 7px; font: 600 13px/1 var(--font); }
.af-chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px; background: #fff; box-shadow: var(--shadow-card); font: 600 12.5px/1 var(--font); }

/* ---------- memory ---------- */
.af-mem { width: 100%; max-width: 320px; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.af-mem b { display: block; font: 600 14.5px/1.2 var(--font); }
.af-mem small { display: block; font: 400 12px/1.3 var(--font); color: var(--muted); margin-top: 2px; }
.af-mem-l { margin: 10px 0 2px; font: 600 11.5px/1 var(--font); color: var(--muted); }
.af-mem-n { margin: 0; font: 400 13px/1.35 var(--font); color: var(--ink-2); }

/* memory: profile + agent greeting */
.af-memw { width: 100%; max-width: 320px; display: grid; gap: 10px; }
.af-mem-b { display: flex; gap: 8px; align-items: flex-end; }
.af-mem-b img { width: 26px; height: 26px; border-radius: 8px; flex: none; }
.af-mem-b p { margin: 0; padding: 9px 12px; border-radius: 14px 14px 14px 5px; background: #fff; box-shadow: var(--shadow-card); font: 400 13.5px/1.4 var(--font); }

/* ---------- small: voice, language, handoff ---------- */
.af-voice { display: flex; align-items: center; gap: 10px; }
.af-voice small { margin-left: auto; }
.af-mic { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.af-mic .af-ic { width: 16px; height: 16px; }
.af-wave { display: flex; align-items: center; gap: 3px; height: 26px; flex: 1; max-width: 140px; }
.af-wave i { width: 3px; border-radius: 2px; background: #B9A8F0; transform-origin: center; }
.af.live:not(.static) .af-wave i { animation: af-wave 1.1s ease-in-out infinite; animation-delay: calc(var(--k) * -.09s); }
@keyframes af-wave { 50% { transform: scaleY(.45); } }
.af-voice small { font: 500 12.5px/1 var(--font); color: var(--muted); }
.af-langs { display: flex; flex-wrap: wrap; gap: 5px; }
.af-langs span { height: 26px; min-width: 34px; padding: 0 8px; border-radius: 99px; display: grid; place-items: center; background: var(--soft); font: 600 11.5px/1 var(--font); color: var(--ink-2); }
.af-langs .on { background: var(--ink); color: #fff; }
.af-hand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.af-hand-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2); font: 600 12.5px/1 var(--font); }
.af-hand-btn .af-ic { width: 15px; height: 15px; }
.af-hand-to { display: inline-flex; align-items: center; gap: 7px; font: 500 12.5px/1 var(--font); color: var(--ink-2); }

/* ---------- head ---------- */
.af-head { max-width: 860px; }
.af-head.c { margin: 0 auto; text-align: center; }
.af-head .tb-lead { margin-top: 20px; max-width: 660px; }
.af-head.c .tb-lead { margin-left: auto; margin-right: auto; }
.af-logos { margin-top: 36px; text-align: center; }
.af-logos li { box-shadow: 0 1px 2px rgba(27, 23, 19, .04), 0 8px 20px -14px rgba(60, 30, 10, .18); }

/* ---------- cards ---------- */
.af-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.af-card { min-width: 0; display: flex; flex-direction: column; padding: 10px; border-radius: 22px; background: var(--sheet);
  box-shadow: var(--shadow-card); overflow: hidden; }
.af-vis { flex: 1; min-height: 240px; padding: 26px; border-radius: 15px; background: #FAF7F3; display: flex; align-items: center; justify-content: center; }
.af-t-w .af-vis { background: linear-gradient(140deg, var(--g1) 0%, var(--g2) 100%); }
.c-meet { --g1: #ECE6FF; --g2: #F6F1FF; }
.c-kb { --g1: #FBF1E4; --g2: #DFF3E8; }
.af-t-photo .af-vis { position: relative; background: #E9C9A6 url(../assets/img/abstract-1.webp) center / cover no-repeat; }
.af-t-photo .af-vis::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 250, 244, .1), rgba(60, 30, 10, .12)); }
.af-t-photo .af-vis > * { position: relative; }
.af-txt { padding: 18px 14px 12px; }
.af-txt h3 { margin: 0; font-size: 19px; line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); }
.af-txt > p { margin: 6px 0 0; font: 400 15px/1.5 var(--font); color: var(--ink-2); max-width: 520px; }
.af-mini { padding: 18px 20px; gap: 14px; justify-content: space-between; }
.af-mini .af-txt { padding: 0; }
.af-mini .af-txt h3 { font-size: 16.5px; }
.af-mini .af-txt > p { font-size: 14px; margin-top: 4px; }
.af-outs, .af-pub, .af-inbox, .af-kb, .af-meet { width: 100%; }
.af-outs, .af-pub { max-width: 400px; }
.af-inbox { max-width: 520px; }
.af-src li { grid-template-columns: 18px minmax(0, 1fr) auto 20px; }

/* "Agents understand agents": the headline card */
.c-lang .af-txt h3 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -0.035em; }
.c-lang .af-txt > p { font-size: 16px; margin-top: 12px; }
.af-save { margin: 22px 0 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.af-save .tb-num { font-size: 40px; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.af-save small { font: 500 14px/1.3 var(--font); color: var(--muted); }

/* ---------- website for humans / for AI agents ---------- */
.af-ws { width: 100%; max-width: 500px; display: grid; justify-items: center; }
.af-ws-src { display: flex; gap: 8px; padding: 7px; border-radius: 99px; background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.af-ws-who { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; opacity: .6;
  transition: opacity .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.af-ws-who img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.af-ws[data-i="0"] .af-ws-who:nth-child(1), .af-ws[data-i="1"] .af-ws-who:nth-child(2),
.af-ws[data-i="2"] .af-ws-who:nth-child(3), .af-ws[data-i="3"] .af-ws-who:nth-child(4) {
  opacity: 1; transform: scale(1.1); box-shadow: 0 0 0 3px #fff, 0 10px 22px -8px rgba(80, 36, 10, .45); }
.af-ws-node { position: relative; margin-top: 26px; display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px 0 7px;
  border-radius: 99px; background: #fff; font: 600 14.5px/1 var(--font); color: var(--ink); letter-spacing: -0.01em;
  box-shadow: 0 0 0 6px rgba(255, 239, 214, .55), 0 14px 30px -12px rgba(110, 50, 10, .45); }
.af-ws-node::before { content: ""; position: absolute; left: 50%; top: -26px; width: 2px; height: 26px; margin-left: -1px; background: rgba(255, 255, 255, .9); }
.af-ws-node img { width: 32px; height: 32px; border-radius: 9px; }
.af.live:not(.static) .af-ws-node { animation: af-glow 2.4s ease-in-out infinite; }
@keyframes af-glow { 50% { box-shadow: 0 0 0 11px rgba(255, 239, 214, .3), 0 14px 30px -12px rgba(110, 50, 10, .45); } }
.af-ws-fork { display: block; width: 100%; height: 62px; overflow: visible; }
.af-ws-fork path { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 2; vector-effect: non-scaling-stroke; transition: stroke .35s var(--ease); }
.af-ws[data-who="h"] .af-ws-fork .l, .af-ws[data-who="a"] .af-ws-fork .r { stroke: var(--ink); stroke-width: 2.4; stroke-dasharray: 5 5; animation: af-flow .6s linear infinite; }
@keyframes af-flow { to { stroke-dashoffset: -10; } }
.af-ws-cards { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.af-ws-c { justify-self: center; width: 100%; max-width: 215px; padding: 10px; border-radius: 16px; background: #fff;
  box-shadow: 0 2px 6px rgba(27, 23, 19, .06), 0 18px 34px -18px rgba(80, 36, 10, .4); opacity: .78; transform: scale(.97);
  transition: opacity .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.af-ws-c > small { display: block; padding: 2px 2px 0; font: 600 12.5px/1.2 var(--font); color: var(--ink); }
.af-ws[data-who="h"] .af-ws-c.h, .af-ws[data-who="a"] .af-ws-c.a { opacity: 1; transform: translateY(-4px);
  box-shadow: 0 2px 6px rgba(27, 23, 19, .06), 0 26px 44px -18px rgba(80, 36, 10, .55); }
.af-ws-site, .af-ws-data { margin-top: 8px; height: 150px; border-radius: 10px; overflow: hidden; }
.af-ws-site { padding: 10px; display: flex; flex-direction: column; background: var(--brand-grad); }
.af-ws-nav { display: flex; align-items: center; gap: 5px; }
.af-ws-nav b { margin-right: auto; font: 700 10.5px/1 var(--font); color: var(--ink); }
.af-ws-nav i { width: 14px; height: 3px; border-radius: 2px; background: rgba(27, 23, 19, .25); }
.af-ws-site p { margin: auto 0 9px; font: 600 15px/1.15 var(--font); letter-spacing: -0.02em; color: var(--ink); }
.af-ws-site span { align-self: flex-start; height: 22px; padding: 0 10px; border-radius: 99px; background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; font: 600 10.5px/1 var(--font); }
.af-ws-data { padding: 10px 12px; background: #FBF7F1; font: 500 11.5px/1.75 var(--font); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.af-ws-data p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.af-ws-data p.h { font-weight: 700; color: var(--ink); }
.af-ws-data p:not(.h) { color: #2F7A55; }
.af.live:not(.static) .af-ws[data-who="a"] .af-ws-data p { animation: af-type .4s var(--ease) both; animation-delay: calc(var(--k) * .09s); }
@keyframes af-type { from { opacity: 0; transform: translateX(-4px); } }

/* ---------- reveal ---------- */
.af .af-out, .af .af-inbox li, .af .af-pub li { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.af .af-out { transition-delay: calc(.4s + var(--d) * .3s); }
.af .af-pub li { transition-delay: calc(.4s + var(--d) * .15s); }
.af .af-inbox li { transition-delay: calc(.6s + var(--d) * .3s); }
.af.play .af-out, .af.play .af-inbox li, .af.play .af-pub li { opacity: 1; transform: none; }
.af.static * { transition: none !important; animation: none !important; }
.af-try { margin-top: 32px; }

/* ---------- 1 Bento ---------- */
.af--bento .c-lang { grid-column: span 12; flex-direction: row-reverse; }
.af--bento .c-lang .af-vis { flex: 0 0 70%; min-height: 340px; }
.af--bento .c-lang .af-txt { flex: 1; align-self: center; padding: 26px 22px 26px 20px; }
.af--bento .c-ws { grid-column: span 7; }
.af--bento .af-col { grid-column: span 5; display: grid; gap: 18px; }
.af--bento .af-col .af-vis { min-height: 0; padding: 18px 22px; }
.af--bento .c-meet { grid-column: span 5; }
.af--bento .c-kb { grid-column: span 7; }
.af--bento .c-inbox { grid-column: span 7; }
.af--bento .af-stack { grid-column: span 5; display: grid; gap: 18px; }

/* ---------- 2 Split ---------- */
.af--split .af-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.af--split .af-top-l .af-logos { text-align: left; margin-top: 30px; }
.af--split .af-top-l .af-logos ul { justify-content: flex-start; }
.af--split .af-top-l .af-try { margin-top: 26px; }
.af--split .af-top .c-ws .af-vis { min-height: 440px; }
.af--split .c-lang { grid-column: span 12; flex-direction: row-reverse; }
.af--split .c-lang .af-vis { flex: 0 0 70%; min-height: 340px; }
.af--split .c-lang .af-txt { flex: 1; align-self: center; padding: 26px 22px 26px 20px; }
.af--split .c-act, .af--split .c-meet, .af--split .c-kb { grid-column: span 4; }
.af--split .c-pub { grid-column: span 5; }
.af--split .c-inbox { grid-column: span 7; }
.af--split .af-mini { grid-column: span 4; }
.af--split .af-grid { margin-top: 64px; }

/* ---------- 3 Columns ---------- */
.af--cols .af-top2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.af--cols .af-top2 .af-logos { margin: 0; text-align: left; }
.af--cols .af-top2 .af-logos ul { justify-content: flex-start; }
.af--cols .af-grid { grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "L L W" "A M K" "P I I" "v l h"; }
.af--cols .c-lang { grid-area: L; }
.af--cols .c-lang .af-vis { min-height: 330px; padding: 22px; }
.af--cols .c-lang .af-txt { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: end; }
.af--cols .c-lang .af-txt .af-save { grid-column: 2; grid-row: 1 / span 2; margin: 0; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.af--cols .c-ws { grid-area: W; }
.af--cols .c-act { grid-area: A; }
.af--cols .c-meet { grid-area: M; }
.af--cols .c-kb { grid-area: K; }
.af--cols .c-pub { grid-area: P; }
.af--cols .c-inbox { grid-area: I; }
.af--cols .c-voice { grid-area: v; }
.af--cols .c-alang { grid-area: l; }
.af--cols .c-hand { grid-area: h; }
.af--cols .af-a2a { grid-template-columns: minmax(0, 1fr) 22px minmax(0, .95fr) 22px minmax(0, 1.1fr); gap: 6px; }
.af--cols .af-page { height: 230px; }
.af--cols .af-try { margin-left: auto; margin-right: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .af--bento .c-lang, .af--split .c-lang { flex-direction: column; }
  .af--bento .c-lang .af-vis, .af--split .c-lang .af-vis { flex: none; }
  .af--bento .c-lang .af-txt, .af--split .c-lang .af-txt { padding: 18px 14px 12px; }
  .af--cols .af-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "L L" "W A" "M K" "P I" "v l" "h h"; }
  .af--split .af-top { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .af-a2a, .af--cols .af-a2a { grid-template-columns: 1fr; gap: 10px; }
  .af-arrow { transform: rotate(90deg); height: 18px; }
  .af-page { height: 170px; }
  .af-json { min-height: 0; }
  .af--bento .c-ws, .af--bento .af-col, .af--bento .c-inbox, .af--bento .af-stack, .af--bento .c-meet, .af--bento .c-kb { grid-column: span 12; }
  .af--split .c-act, .af--split .c-meet, .af--split .c-kb { grid-column: span 6; }
  .af--split .c-pub, .af--split .c-inbox { grid-column: span 12; }
  .af--cols .af-top2 { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .af .wrap { padding: 0 16px; }
  .af-grid, .af--split .af-grid { margin-top: 32px; gap: 12px; }
  .af-grid > *, .af--bento .af-grid > *, .af--split .af-grid > * { grid-column: span 12 !important; }
  .af--cols .af-grid { grid-template-columns: 1fr; grid-template-areas: "L" "W" "A" "M" "K" "P" "I" "v" "l" "h"; }
  .af--bento .af-stack, .af--bento .af-col { gap: 12px; }
  .af-vis { padding: 16px; min-height: 0; }
  .af--bento .c-lang .af-vis, .af--split .c-lang .af-vis, .af--cols .c-lang .af-vis { min-height: 0; padding: 14px; }
  .af--split .af-top .c-ws .af-vis { min-height: 0; }
  .af--cols .c-lang .af-txt { display: block; }
  .af--cols .c-lang .af-txt .af-save { margin-top: 18px; flex-direction: row; align-items: baseline; text-align: left; }
  .c-lang .af-txt h3 { font-size: 26px; }
  .af-save .tb-num { font-size: 32px; }
  .af-txt h3 { font-size: 17.5px; }
  .af-txt > p { font-size: 14.5px; }
  .af-json { font-size: 12px; }
  .af-logos li { height: 40px; padding: 0 14px 0 12px; font-size: 14px; }
  .af-inbox-r small { display: none; }
  .af-via { font-size: 0; gap: 0; width: 28px; height: 28px; padding: 0; justify-content: center; }
  .af-via .af-mk { width: 14px; height: 14px; }
  .af-try { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .af-try-t { flex-basis: calc(100% - 100px); }
  .af-try-btn { width: 100%; justify-content: center; }
  .af-ws-cards { gap: 8px; }
  .af-ws-c { padding: 8px; }
  .af-ws-site, .af-ws-data { height: 128px; }
  .af-ws-site p { font-size: 13px; }
  .af-ws-data { font-size: 10.5px; padding: 8px 9px; }
}

/* humans/agents cards in narrow columns (3 Columns, mobile): smaller mini-site type, button never wraps */
.af-ws-site span { white-space: nowrap; }
.af--cols .af-ws-site p { font-size: 13px; }
.af--cols .af-ws-site span { font-size: 9.5px; padding: 0 8px; }
.af--cols .af-ws-data { font-size: 10.5px; padding: 9px 10px; }
@media (max-width: 640px) {
  .af-ws-site p, .af--cols .af-ws-site p { font-size: 12px; }
  .af-ws-site span, .af--cols .af-ws-site span { font-size: 9.5px; padding: 0 8px; }
}
.af-inbox { grid-template-columns: minmax(0, 1fr); }
.af-inbox li { min-width: 0; }

/* ---------- v6 (a3): G17 motion per illustration, G16 hover, logo row ---------- */
/* logo row: Hermes, Grok added; a light lift on hover */
.af-logos li { transition: transform .3s var(--ease), box-shadow .3s var(--ease); cursor: default; }
.af-logos li .af-mk { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.af-logos li:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(27, 23, 19, .05), 0 16px 28px -16px rgba(60, 30, 10, .32); }
.af-logos li:hover .af-mk { transform: rotate(-8deg) scale(1.14); }

/* calendar: empty week → Tue picked → 11:00 glows → event lands → "Booked by ChatGPT" */
.af-days span { transition: background-color .35s var(--ease), color .35s var(--ease); }
.af-days span small { transition: color .35s var(--ease); }
.af-meet[data-st="0"] .af-days .on { background: transparent; color: var(--ink); }
.af-meet[data-st="0"] .af-days .on small { color: var(--muted); }
.af-ev { transition: opacity .4s var(--ease), transform .45s cubic-bezier(.34, 1.4, .64, 1), background-color .4s var(--ease), box-shadow .4s var(--ease); }
.af-ev > * { transition: opacity .35s var(--ease); }
.af-by { transition: opacity .35s var(--ease), transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.af-meet[data-st="0"] .af-ev, .af-meet[data-st="1"] .af-ev { opacity: 0; transform: scale(.94) translateY(4px); }
.af-meet[data-st="2"] .af-ev { background: rgba(236, 230, 255, .45); box-shadow: inset 0 0 0 1.5px #B9A8F0; animation: af-slot .9s ease-in-out infinite; }
.af-meet[data-st="2"] .af-ev > * { opacity: 0; }
.af-meet[data-st="0"] .af-by, .af-meet[data-st="1"] .af-by, .af-meet[data-st="2"] .af-by, .af-meet[data-st="3"] .af-by { opacity: 0; transform: scale(.8); }
@keyframes af-slot { 50% { box-shadow: inset 0 0 0 1.5px #9C8BE8, 0 0 0 4px rgba(156, 139, 232, .16); } }

/* knowledge base: sources indexed → question → answer found in the PDF → source cited */
.af-ok, .af-kb-ans, .af-kb-q, .af-ref { transition: opacity .35s var(--ease), transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.af-src li { position: relative; isolation: isolate; }
.af-src li::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 9px; background: #F1ECFF; opacity: 0; transition: opacity .4s var(--ease); }
.af-ok { transition-delay: calc(var(--k) * .28s); }
.af-kb[data-st="0"] .af-ok { opacity: 0; transform: scale(.4); transition-delay: 0s; }
.af-kb[data-st="0"] .af-kb-ans, .af-kb[data-st="1"] .af-kb-ans { opacity: 0; transform: translateY(6px); }
.af-kb-a { clip-path: inset(0 0 0 0); transition: clip-path .8s steps(18, end); }
.af-kb[data-st="0"] .af-kb-a, .af-kb[data-st="1"] .af-kb-a, .af-kb[data-st="2"] .af-kb-a { clip-path: inset(0 100% 0 0); transition: none; }
.af-kb[data-st="0"] .af-ref, .af-kb[data-st="1"] .af-ref, .af-kb[data-st="2"] .af-ref, .af-kb[data-st="3"] .af-ref { opacity: 0; transform: scale(.85); }
.af-kb[data-st="2"] .af-src li:nth-child(3)::before { opacity: .55; animation: af-blink .7s ease-in-out infinite; }
.af-kb[data-st="3"] .af-src li:nth-child(3)::before, .af-kb[data-st="4"] .af-src li:nth-child(3)::before { opacity: 1; }
@keyframes af-blink { 50% { opacity: .15; } }

/* outcomes: one result lights up at a time */
.af-out-mk { transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.af-out .af-chip { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s var(--ease); }
.af-outs[data-st="0"] .af-out:nth-child(1) .af-out-mk, .af-outs[data-st="1"] .af-out:nth-child(2) .af-out-mk,
.af-outs[data-st="2"] .af-out:nth-child(3) .af-out-mk { background: #fff; box-shadow: 0 0 0 1.5px var(--line-2), 0 6px 14px -8px rgba(60, 30, 10, .35); transform: scale(1.06); }
.af-outs[data-st="0"] .af-out:nth-child(1) .af-chip, .af-outs[data-st="1"] .af-out:nth-child(2) .af-chip,
.af-outs[data-st="2"] .af-out:nth-child(3) .af-chip { transform: scale(1.07); }

/* public / private: strike-through is drawn when the block appears; one row at a time is checked */
.af-pub li { position: relative; isolation: isolate; }
.af-pub li::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 10px; background: #F6F2ED; opacity: 0; transition: opacity .4s var(--ease); }
.af-pub li .af-ic { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.af .af-pub li.priv span { background-size: 0 1px; transition: background-size .6s var(--ease) calc(1.1s + var(--d) * .25s); }
.af.play .af-pub li.priv span { background-size: 100% 1px; }
.af-pub[data-st="0"] li:nth-child(1)::before, .af-pub[data-st="1"] li:nth-child(2)::before,
.af-pub[data-st="2"] li:nth-child(3)::before, .af-pub[data-st="3"] li:nth-child(4)::before { opacity: 1; }
.af-pub[data-st="0"] li:nth-child(1) .af-ic, .af-pub[data-st="1"] li:nth-child(2) .af-ic,
.af-pub[data-st="2"] li:nth-child(3) .af-ic, .af-pub[data-st="3"] li:nth-child(4) .af-ic { transform: scale(1.18); }

/* inbox: a new conversation arrives on one row at a time */
.af-new { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: #3FA36B; vertical-align: 2px;
  opacity: 0; transform: scale(.3); transition: opacity .3s var(--ease), transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.af-via { transition: background-color .35s var(--ease); }
.af-inbox[data-st="0"] li:nth-child(1) .af-new, .af-inbox[data-st="1"] li:nth-child(2) .af-new, .af-inbox[data-st="2"] li:nth-child(3) .af-new { opacity: 1; transform: none; }
.af-inbox[data-st="0"] li:nth-child(1) .af-via, .af-inbox[data-st="1"] li:nth-child(2) .af-via, .af-inbox[data-st="2"] li:nth-child(3) .af-via { background: #EEEAFD; }

/* voice: the mic breathes while the wave moves */
.af-mic { position: relative; }
.af-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px #B9A8F0; opacity: 0; pointer-events: none; }
.af.live:not(.static) .af-ring { animation: af-ring 1.8s ease-out infinite; }
@keyframes af-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.75); opacity: 0; } }

/* any language: the active pill walks through the languages */
.af-langs span { transition: background-color .3s var(--ease), color .3s var(--ease), transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.af.live:not(.static) .af-langs .on { transform: scale(1.06); }

/* handoff: button pressed → teammate joins */
.af-hand-btn, .af-hand-to { transition: background-color .3s var(--ease), color .3s var(--ease), transform .35s var(--ease), opacity .4s var(--ease), box-shadow .3s var(--ease); }
.af-hand[data-st="1"] .af-hand-btn { background: var(--ink); color: #fff; box-shadow: none; transform: scale(.97); }
.af-hand[data-st="0"] .af-hand-to, .af-hand[data-st="1"] .af-hand-to { opacity: 0; transform: translateX(-6px); }

/* ---------- v7: less motion (FEEDBACK-v7) ---------- */
/* calendar plays once: Tue is already picked, the event comes in from a light blur, no slot pulse */
.af-meet[data-st="0"] .af-ev, .af-meet[data-st="1"] .af-ev { filter: blur(6px); transform: scale(.98) translateY(3px); }
.af-meet[data-st="1"] .af-by { filter: blur(4px); }
.af-ev { transition-property: opacity, transform, background-color, box-shadow, filter; transition-timing-function: var(--ease); transition-duration: .6s; }
.af-by { transition-property: opacity, transform, filter; transition-delay: .25s; }
/* minis are nearly static: no mic ring, a still wave, no walking language pill; the teammate joins once */
.af .af-ring { display: none; }
.af.live:not(.static) .af-wave i { animation: none; }
.af.live:not(.static) .af-langs .on { transform: none; }
.af-hand[data-st="0"] .af-hand-to, .af-hand[data-st="1"] .af-hand-to { filter: blur(5px); transform: none; }
.af-hand-to { transition-property: opacity, filter; transition-duration: .6s; }
/* new elements in the illustrations appear from a light blur */
.af-json .i, .af-json .af-tok, .af-msg, .af-done { filter: blur(5px); transition-property: opacity, transform, filter; }
.af-a2a:not([data-afs="0"]) .af-json .i,
.af-a2a[data-afs="2"] .af-json .af-tok, .af-a2a[data-afs="3"] .af-json .af-tok, .af-a2a[data-afs="4"] .af-json .af-tok,
.af-a2a[data-afs="3"] .af-msg.q, .af-a2a[data-afs="4"] .af-msg, .af-a2a[data-afs="4"] .af-done { filter: none; }
.af-kb-ans, .af-ref { transition-property: opacity, transform, filter; }
.af-kb[data-st="0"] .af-kb-ans, .af-kb[data-st="1"] .af-kb-ans, .af-kb[data-st="0"] .af-ref, .af-kb[data-st="1"] .af-ref,
.af-kb[data-st="2"] .af-ref, .af-kb[data-st="3"] .af-ref { filter: blur(5px); }
.af .af-out, .af .af-inbox li, .af .af-pub li { filter: blur(6px); transition-property: opacity, transform, filter; }
.af.play .af-out, .af.play .af-inbox li, .af.play .af-pub li { filter: none; }
@keyframes af-type { from { opacity: 0; transform: translateX(-4px); filter: blur(4px); } }

/* lead 02.10: on phones the 'website for humans / for AI agents' cards stay inside the feature card */
@media (max-width: 640px) {
  .af-ws-cards { gap: 8px; }
  .af-ws-c { min-width: 0; max-width: none; padding: 8px; }
  .af-ws-c > small { font-size: 11.5px; line-height: 1.25; }
  .af-ws-data { padding: 8px 9px; font-size: 10.5px; }
  .af-ws-site p { font-size: 13px; }
}
