/* "We help you build your own AI" — a vector database and a Graph RAG walk, animated.
   Flat turquoise and white, very little text. */

.rag { margin-top: 8px; background: #fff; box-shadow: inset 0 0 0 1px #d9e6e8; }

/* ---- Question bar */
.rag__ask { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; background: #0b8fa8; color: #fff; }
.rag__ask-k { font: 600 10.5px/1 "IBM Plex Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.rag__q { flex: 1 1 320px; min-height: 1.4em; margin: 0; font: 500 clamp(16px, 1.5vw, 20px)/1.3 "Newsreader", Georgia, serif; }
.rag__q::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -2px; background: #fff; animation: rag-caret 1s steps(1) infinite; }
@keyframes rag-caret { 50% { opacity: 0; } }
.rag__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rag__chips button { padding: 6px 11px; border: 1px solid rgba(255, 255, 255, 0.6); background: transparent; color: #fff; font: 600 12px/1.2 "Source Sans 3", sans-serif; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.rag__chips button:hover, .rag__chips button[aria-pressed="true"] { background: #fff; color: #0b8fa8; }

/* ---- Stage: vector space · matches · graph */
.rag__stage { display: grid; grid-template-columns: 1fr; gap: 3px; background: #d9e6e8; }
@media (min-width: 1100px) { .rag__stage { grid-template-columns: 1fr 240px 1.05fr; } }
.rag__panel { position: relative; margin: 0; background: #fff; min-width: 0; }
.rag__panel figcaption { position: absolute; left: 14px; top: 12px; z-index: 2; display: grid; gap: 2px; pointer-events: none; }
.rag__panel figcaption b { font: 500 19px/1.1 "Newsreader", Georgia, serif; color: #2f3a3d; }
.rag__panel figcaption span { font: 600 9.5px/1.2 "IBM Plex Mono", monospace; letter-spacing: 0.08em; text-transform: uppercase; color: #7b8a8c; }
.rag__panel canvas, .rag__panel svg { display: block; width: 100%; height: 440px; }
.rag__legend { position: absolute; left: 12px; bottom: 10px; right: 12px; z-index: 2; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font: 600 10.5px/1.2 "Source Sans 3", sans-serif; color: #55605f; }
.rag__legend li { display: flex; align-items: center; gap: 5px; transition: opacity 0.3s ease; }
.rag__legend li.is-dim { opacity: 0.35; }
.rag__legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* Top matches */
.rag__hits { padding: 14px 12px; background: #f4f9fa; min-width: 0; }
.rag__hits-k { margin: 0 0 10px; font: 600 9.5px/1 "IBM Plex Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; color: #7b8a8c; }
.rag__hits ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: hit; }
.rag__hits li { counter-increment: hit; display: grid; grid-template-columns: 18px 1fr auto; gap: 2px 8px; align-items: center; padding: 7px 8px; background: #fff; box-shadow: inset 3px 0 0 var(--c, #0b8fa8); font-size: 12px; line-height: 1.3; color: #2f3a3d; opacity: 0; transform: translateX(-8px); transition: opacity 0.35s ease, transform 0.35s ease; }
.rag__hits li.is-in { opacity: 1; transform: none; }
.rag__hits li::before { content: counter(hit); font: 600 10px "IBM Plex Mono", monospace; color: #7b8a8c; }
.rag__hits li b { font: 600 10.5px "IBM Plex Mono", monospace; color: var(--c, #0b8fa8); }
.rag__hits li.is-seed { background: #e8f6f8; }

/* Graph */
.rag-edge { stroke: #c9d8db; stroke-width: 1.4; transition: stroke 0.3s ease, stroke-width 0.3s ease; }
.rag-edge.is-on { stroke: #0b8fa8; stroke-width: 3.2; stroke-dasharray: 6 4; animation: rag-flow 0.8s linear infinite; }
@keyframes rag-flow { to { stroke-dashoffset: -20; } }
.rag-elabel { font: 600 9px "IBM Plex Mono", monospace; fill: #0b8fa8; opacity: 0; transition: opacity 0.3s ease; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.rag-elabel.is-on { opacity: 1; }
.rag-node circle { fill: #fff; stroke: var(--c); stroke-width: 2; transition: r 0.3s ease, fill 0.3s ease; }
.rag-node text { font: 600 10.5px "Source Sans 3", sans-serif; fill: #55605f; paint-order: stroke; stroke: #fff; stroke-width: 3px; transition: fill 0.3s ease; }
.rag-node.is-on circle { fill: var(--c); }
.rag-node.is-on text { fill: #2f3a3d; }
.rag-node.is-seed circle { stroke-width: 3; }
.rag-node .rag-halo { fill: none; stroke: var(--c); stroke-width: 1.5; opacity: 0; }
.rag-node.is-seed .rag-halo { animation: rag-halo 1.6s ease-out infinite; }
@keyframes rag-halo { from { opacity: 0.8; r: 9; } to { opacity: 0; r: 22; } }

/* Answer + steps */
.rag__answer { display: flex; gap: 14px; align-items: baseline; padding: 14px 18px; background: #2f3a3d; color: #fff; min-height: 56px; }
.rag__answer-k { font: 600 10.5px/1 "IBM Plex Mono", monospace; letter-spacing: 0.14em; text-transform: uppercase; color: #5cc8d6; }
.rag__answer p { margin: 0; font-size: 15px; line-height: 1.5; opacity: 0; transition: opacity 0.5s ease; }
.rag__answer.is-in p { opacity: 1; }
.rag__answer sup { display: inline-grid; place-items: center; min-width: 17px; height: 17px; margin: 0 1px; padding: 0 3px; font: 600 9.5px/1 "IBM Plex Mono", monospace; background: #5cc8d6; color: #2f3a3d; vertical-align: 2px; }
.rag__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.rag__steps li { position: relative; padding: 10px 12px; font: 600 10.5px/1.2 "IBM Plex Mono", monospace; letter-spacing: 0.06em; text-transform: uppercase; color: #9aa7a9; background: #fff; box-shadow: inset 0 3px 0 #e3ecee; transition: color 0.3s ease, box-shadow 0.3s ease; }
.rag__steps li.is-on { color: #0b8fa8; box-shadow: inset 0 3px 0 #0b8fa8; }
.rag__steps li.is-done { color: #2f3a3d; box-shadow: inset 0 3px 0 #5cc8d6; }
@media (max-width: 640px) { .rag__steps li { font-size: 9px; padding: 8px 6px; } }

/* ---- Journey: four steps, a line, nothing more */
.aj2 { position: relative; list-style: none; margin: 3px 0 0; padding: 18px 8px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: inset 0 0 0 1px #d9e6e8; }
.aj2::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 40px; height: 2px; background: linear-gradient(90deg, #0b8fa8, #5cc8d6); }
.aj2 li { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; }
.aj2 svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: #0b8fa8; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 0 0 5px #fff; }
.aj2 li:nth-child(2) svg { background: #1aa5bf; } .aj2 li:nth-child(3) svg { background: #3197a8; } .aj2 li:nth-child(4) svg { background: #0a6f83; }
.aj2 b { margin-top: 4px; font: 500 18px/1.1 "Newsreader", Georgia, serif; color: #2f3a3d; }
.aj2 span { font: 600 10px "IBM Plex Mono", monospace; letter-spacing: 0.08em; text-transform: uppercase; color: #7b8a8c; }

/* ---- You own it: three chips */
.aj-own2 { list-style: none; margin: 3px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 3px; }
@media (min-width: 760px) { .aj-own2 { grid-template-columns: repeat(3, 1fr); } }
.aj-own2 li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #0b8fa8; color: #fff; font: 500 17px/1.2 "Newsreader", Georgia, serif; }
.aj-own2 li:nth-child(2) { background: #1aa5bf; } .aj-own2 li:nth-child(3) { background: #0a6f83; }
.aj-own2 svg { flex: none; width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
  .rag__q::after, .rag-edge.is-on, .rag-node.is-seed .rag-halo { animation: none !important; }
}

/* ==========================================================================
   The four illustrated stages (flat colour tiles, white line-art) — short copy
   ========================================================================== */
.aj { list-style: none; margin: 3px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 3px; }
@media (min-width: 760px) { .aj { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .aj { grid-template-columns: repeat(4, 1fr); } }
.aj-stage { position: relative; display: flex; flex-direction: column; background: #fff; box-shadow: inset 0 0 0 1px #d9e6e8; }
@media (min-width: 1180px) {
  .aj-stage:not(:last-child)::after {
    content: ""; position: absolute; z-index: 3; top: 127px; right: -16px; width: 30px; height: 30px; border-radius: 50%;
    background: #fff no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8fa8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    box-shadow: 0 0 0 3px var(--tile);
  }
}
.aj-art { position: relative; height: 284px; overflow: hidden; background: var(--tile); color: #fff; }
.aj-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, 0.16), transparent 55%); pointer-events: none; }
.aj-svg { position: relative; display: block; width: 100%; height: 100%; font-family: "Source Sans 3", sans-serif; }
.aj-when { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 5px 9px; border: 1px solid rgba(255, 255, 255, 0.7); font: 600 10px/1 "IBM Plex Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.aj-svg text { fill: #fff; }
.aj-k { font: 500 28px/1 "Newsreader", Georgia, serif; text-anchor: middle; }
.aj-k-l { font: 600 9.5px "IBM Plex Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; text-anchor: middle; fill: rgba(255, 255, 255, 0.8) !important; }

/* Stage 1 — connect */
.aj-src__ring { fill: rgba(255, 255, 255, 0.1); stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.3; }
.aj-ic { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.aj-src text { font: 600 12px "Source Sans 3", sans-serif; }
.aj-wire { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.2; stroke-dasharray: 3 4; }
.aj-pkt { fill: #fff; }
.aj-hub { fill: #fff; }
.aj-hub__t { font: 700 11px "IBM Plex Mono", monospace; letter-spacing: 0.12em; text-anchor: middle; fill: var(--tile) !important; }
.aj-hub__pulse { fill: none; stroke: #fff; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: aj-ring 2.6s ease-out infinite; }
.aj-hub__pulse--2 { animation-delay: 1.3s; }
@keyframes aj-ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.9); opacity: 0; } }

/* Stage 2 — memory layers */
.aj-slab { stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.2; }
.aj-l1 { fill: rgba(255, 255, 255, 0.34); } .aj-l2 { fill: rgba(255, 255, 255, 0.26); } .aj-l3 { fill: rgba(255, 255, 255, 0.2); } .aj-l4 { fill: rgba(255, 255, 255, 0.14); } .aj-l5 { fill: rgba(255, 255, 255, 0.08); }
.aj-layer { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.aj-stage:hover .aj-layer { transform: translateY(calc((var(--i) - 2) * 5px)); }
.aj-none { fill: none; }
.aj-truck rect { fill: #fff; }
.aj-tick { stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.aj-edge { stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.1; }
.aj-node { fill: var(--tile); stroke: #fff; stroke-width: 1.4; }
.aj-box, .aj-arrow { fill: none; stroke: #fff; stroke-width: 1.2; }
.aj-note rect { fill: #fff; }
.aj-note path { stroke: var(--tile); stroke-width: 1.6; stroke-linecap: round; }
.aj-lead { stroke: rgba(255, 255, 255, 0.7); }
.aj-lbl { font: 600 9px "IBM Plex Mono", monospace; letter-spacing: 0.05em; text-transform: uppercase; }
.aj-live { fill: #fff; animation: aj-blink 1.4s ease-in-out infinite; }
@keyframes aj-blink { 50% { opacity: 0.25; } }

/* Stage 3 — rules → model → accuracy */
.aj-rule rect { fill: rgba(255, 255, 255, 0.12); stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.1; }
.aj-rule__k { font: 600 8.5px "IBM Plex Mono", monospace; letter-spacing: 0.12em; fill: rgba(255, 255, 255, 0.75) !important; }
.aj-rule__t { font: 600 11.5px "Source Sans 3", sans-serif; }
.aj-feed { fill: none; stroke: #fff; stroke-width: 1.2; stroke-dasharray: 2 3; animation: aj-flow 1s linear infinite; }
@keyframes aj-flow { to { stroke-dashoffset: -10; } }
.aj-syn { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; animation: aj-syn 2.4s ease-in-out var(--d) infinite; }
@keyframes aj-syn { 50% { stroke: rgba(255, 255, 255, 0.85); } }
.aj-neu { fill: var(--tile); stroke: #fff; stroke-width: 1.5; animation: aj-neu 2.4s ease-in-out var(--d) infinite; }
@keyframes aj-neu { 50% { fill: #fff; } }
.aj-gauge { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 9; stroke-linecap: round; }
.aj-gauge--on { stroke: #fff; transition: stroke-dashoffset 0.9s cubic-bezier(0.16, 1, 0.3, 1); }

/* Stage 4 — put to work */
.aj-work { position: relative; height: 100%; padding: 16px; display: grid; gap: 10px; align-content: start; }
.aj-phone { position: relative; padding: 10px 11px 12px; background: #fff; color: #2f3a3d; border-radius: 12px; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.5); }
.aj-phone__head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; font-size: 12.5px; }
.aj-phone__head small { font-size: 10px; color: #7b8a8c; }
.aj-msg { margin: 0; padding: 8px 10px; background: #eef6f7; border-radius: 2px 10px 10px 10px; font-size: 12px; line-height: 1.4; }
.aj-msg b { color: var(--tile); }
.aj-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.aj-btns span { padding: 7px; text-align: center; font-size: 11.5px; font-weight: 700; border-radius: 6px; background: #eef2f3; color: #55605f; }
.aj-btns .aj-yes { background: var(--tile); color: #fff; }
.aj-msg--done { margin-top: 0; background: #e6f6f4; color: #2f3a3d; max-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; opacity: 0; transition: all 0.5s ease; }
.aj-work.is-done .aj-msg--done { margin-top: 8px; max-height: 60px; padding-top: 8px; padding-bottom: 8px; opacity: 1; }
.aj-work.is-done .aj-btns .aj-yes { box-shadow: 0 0 0 3px rgba(11, 143, 168, 0.3); }
.aj-tap { position: absolute; left: 20%; top: 108px; width: 26px; height: 26px; border-radius: 50%; background: rgba(47, 58, 61, 0.25); border: 2px solid rgba(47, 58, 61, 0.5); opacity: 0; pointer-events: none; }
.aj-work.is-tap .aj-tap { animation: aj-tap 0.8s ease forwards; }
@keyframes aj-tap { 0% { opacity: 0; transform: scale(1.6); } 40% { opacity: 1; transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.1); } }
.aj-desk { padding: 9px 11px; border: 1px solid rgba(255, 255, 255, 0.7); color: #fff; }
.aj-desk__k { margin: 0 0 6px; font: 600 9.5px "IBM Plex Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.aj-desk ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 12px; }
.aj-desk li { display: flex; align-items: center; gap: 7px; opacity: 0.45; transition: opacity 0.4s ease; }
.aj-desk li i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.aj-work.is-done .aj-desk li { opacity: 1; }
.aj-work.is-done .aj-desk li:nth-child(2) { transition-delay: 0.25s; }
.aj-work.is-done .aj-desk li:nth-child(3) { transition-delay: 0.5s; }

/* Short copy under each tile */
.aj-copy { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.aj-n { font: 500 26px/1 "Newsreader", Georgia, serif; color: var(--tile); }
.aj-copy h3 { margin: 0; font: 500 21px/1.15 "Newsreader", Georgia, serif; color: #2f3a3d; }
.aj-say { margin: 0; font-size: 14px; line-height: 1.5; color: #55605f; }

@media (prefers-reduced-motion: reduce) {
  .aj-hub__pulse, .aj-live, .aj-feed, .aj-syn, .aj-neu, .aj-work .aj-tap { animation: none !important; }
}
/* Stage 4: keep phone + desk inside the tile once the approval posts */
.aj-work { padding: 12px 14px 44px; gap: 8px; }
.aj-phone { padding: 8px 10px 10px; }
.aj-phone__head { margin-bottom: 6px; }
.aj-msg { padding: 6px 9px; font-size: 11.5px; }
.aj-btns { margin-top: 6px; }
.aj-btns span { padding: 5px; }
.aj-desk { padding: 7px 10px; }
.aj-desk__k { margin-bottom: 4px; }
.aj-desk ul { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: 11px; }
/* Stage 2: labels fit */
.aj-lbl { font-size: 8.5px; letter-spacing: 0.02em; }

/* ==========================================================================
   Compact pass
   ========================================================================== */
.rag__ask { padding: 10px 14px; gap: 8px 12px; }
.rag__q { font-size: clamp(15px, 1.25vw, 17px); }
.rag__chips button { padding: 5px 9px; font-size: 11.5px; }
.rag__panel canvas, .rag__panel svg { height: 300px; }
.rag__panel figcaption { left: 12px; top: 10px; }
.rag__panel figcaption b { font-size: 16px; }
.rag__panel figcaption span { font-size: 8.5px; }
.rag__legend { bottom: 6px; gap: 2px 10px; font-size: 10px; }
@media (min-width: 1100px) { .rag__stage { grid-template-columns: 1fr 210px 1.05fr; } }
.rag__hits { padding: 10px; }
.rag__hits-k { margin-bottom: 6px; }
.rag__hits ol { gap: 4px; }
.rag__hits li { padding: 5px 7px; font-size: 11.5px; }
.rag-node text { font-size: 9.5px; }
.rag__answer { padding: 10px 14px; min-height: 0; }
.rag__answer p { font-size: 13.5px; }
.rag__steps li { padding: 7px 10px; font-size: 9.5px; }

.aj { margin-top: 3px; }
.aj-art { height: 190px; }
.aj-stage:not(:last-child)::after { top: 80px !important; }
.aj-when { right: 8px; bottom: 8px; padding: 4px 7px; font-size: 9px; }
.aj-copy { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: baseline; padding: 12px 16px 14px; }
.aj-n { font-size: 18px; }
.aj-copy h3 { font-size: 17px; }
.aj-say { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.4; }
/* stage 4: phone only, smaller */
.aj-work { padding: 10px 12px 34px; }
.aj-desk { display: none; }
.aj-phone { padding: 7px 9px 9px; }
.aj-phone__head { font-size: 11px; margin-bottom: 5px; }
.aj-msg { font-size: 10.5px; padding: 5px 8px; }
.aj-btns span { padding: 4px; font-size: 10.5px; }
.aj-work.is-done .aj-msg--done { margin-top: 6px; padding-top: 5px; padding-bottom: 5px; }
.aj-tap { top: 82px; }

.aj-own2 li { padding: 10px 14px; font-size: 14.5px; gap: 10px; }
.aj-own2 svg { width: 20px; height: 20px; }
/* graph is drawn smaller in the compact panel — keep its words readable */
.rag-node text { font-size: 14px; stroke-width: 4px; }
.rag-elabel { font-size: 12px; stroke-width: 4px; }
.rag-node circle { stroke-width: 2.6; }

/* ==========================================================================
   Professional pass — fewer labels, more air
   ========================================================================== */
.rag__legend, .rag__steps { display: none !important; }
.rag-node, .rag-edge { transition: opacity 0.5s ease; }
.rag-node.is-dim { opacity: 0.14; }
.rag-node.is-dim text { display: none; }
.rag-edge.is-dim { opacity: 0.18; }
.rag__hits li { box-shadow: none; border-left: 2px solid var(--c, #0b8fa8); }
.rag__answer { background: #fff; color: #2f3a3d; box-shadow: inset 0 0 0 1px #d9e6e8, inset 3px 0 0 #0b8fa8; }
.rag__answer-k { color: #0b8fa8; }
.rag__answer sup { background: #e8f6f8; color: #0b8fa8; }

.aj { margin-top: 24px !important; }
.aj-when { display: none !important; }
.aj-stage { box-shadow: none; }
.aj-copy { padding: 14px 4px 0 !important; background: transparent; }
.aj-stage { background: transparent; }

.aj-own2 { display: flex !important; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px !important; }
.aj-own2 li { padding: 0 !important; background: transparent !important; color: #55605f !important; font: 500 14px/1.3 "Source Sans 3", sans-serif !important; gap: 8px !important; }
.aj-own2 svg { width: 18px !important; height: 18px !important; stroke: #0b8fa8 !important; }

/* ==========================================================================
   Small & compact pass
   ========================================================================== */
body.home #memory .s-head { margin-bottom: 20px; }
body.home #memory .rag__ask { padding: 8px 12px; }
body.home #memory .rag__q { font-size: 15px; }
body.home #memory .rag__chips button { padding: 4px 8px; font-size: 11px; }
body.home #memory .rag__panel canvas, body.home #memory .rag__panel svg { height: 220px; }
body.home #memory .rag__panel figcaption b { font-size: 14px; }
body.home #memory .rag__hits { padding: 8px; }
body.home #memory .rag__hits ol { gap: 3px; }
body.home #memory .rag__hits li { padding: 3px 7px; font-size: 11px; }
body.home #memory .rag-node text { font-size: 12px; stroke-width: 3px; }
body.home #memory .rag__answer { padding: 8px 12px; }
body.home #memory .rag__answer p { font-size: 13px; }
body.home #memory .aj { margin-top: 12px; }
body.home #memory .aj-art { height: 136px; }
body.home #memory .aj-stage:not(:last-child)::after { top: 54px !important; transform: scale(0.8); }
body.home #memory .aj-copy { padding: 9px 12px 10px; column-gap: 8px; }
body.home #memory .aj-n { font-size: 14px; }
body.home #memory .aj-copy h3 { font-size: 15px; }
body.home #memory .aj-say { font-size: 12px; line-height: 1.35; }
body.home #memory .aj-work { padding: 8px 10px 26px; }
body.home #memory .aj-phone { padding: 6px 8px 7px; }
body.home #memory .aj-phone__head { margin-bottom: 3px; font-size: 10.5px; }
body.home #memory .aj-msg { padding: 4px 7px; font-size: 10px; line-height: 1.3; }
body.home #memory .aj-btns span { padding: 3px; font-size: 10px; }
body.home #memory .aj-tap { top: 64px; }
body.home #memory .aj-own2 { margin-top: 10px; }
body.home #memory .aj-own2 li { padding: 6px 12px 6px 0; font-size: 13px; gap: 8px; }
body.home #memory .aj-own2 svg { width: 16px !important; height: 16px !important; }
