/* Envoy Intelligence page v2: questions card, real answer, application panels, generic vs grounded, hub (Nov 2026) */
.ak-split, .hb-split { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: center; }

/* ---------- questions card ---------- */
.ak-card { background: #0d3d22; border-radius: 18px; padding: 1.4rem 1.5rem 1.2rem; box-shadow: 0 30px 60px rgba(13,61,34,.22); background-image: linear-gradient(rgba(125,211,168,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(125,211,168,.05) 1px, transparent 1px); background-size: 26px 26px; }
.ak-head { display: flex; justify-content: space-between; font: 700 .7rem Inter, sans-serif; letter-spacing: .14em; color: #7dd3a8; margin-bottom: 1rem; }
.ak-live { display: inline-flex; align-items: center; gap: .4rem; color: #a7e8c8; }
.ak-live i { width: 7px; height: 7px; border-radius: 50%; background: #4eca8a; animation: akblink 1.4s ease-in-out infinite; }
@keyframes akblink { 50% { opacity: .25; } }
.ak-stage { position: relative; min-height: 250px; }
.ak-item { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .7rem; opacity: 0; pointer-events: none; }
.ak-item.on { opacity: 1; pointer-events: auto; }
.ak-q { align-self: flex-end; max-width: 82%; background: #238a5e; color: #fff; border-radius: 14px 14px 3px 14px; padding: .7rem .95rem; font-size: .95rem; line-height: 1.45; opacity: 0; transform: translateY(8px); }
.ak-item.on .ak-q { animation: akin .5s ease-out forwards; }
.ak-typing { align-self: flex-start; display: flex; gap: 5px; padding: .65rem .85rem; background: rgba(255,255,255,.1); border-radius: 12px; opacity: 0; }
.ak-typing i { width: 6px; height: 6px; border-radius: 50%; background: #a7e8c8; animation: akbob 1s infinite; }
.ak-typing i:nth-child(2) { animation-delay: .15s; } .ak-typing i:nth-child(3) { animation-delay: .3s; }
.ak-item.on .ak-typing { animation: aktype 1.6s ease forwards .6s; }
@keyframes aktype { 0% { opacity: 0; } 15%, 80% { opacity: 1; } 100% { opacity: 0; height: 0; padding: 0; margin: -.7rem 0 0; } }
@keyframes akbob { 50% { transform: translateY(-3px); } }
.ak-a { align-self: flex-start; max-width: 94%; background: #fff; color: #1f2937; border-radius: 14px 14px 14px 3px; padding: .8rem 1rem; font-size: .93rem; line-height: 1.5; opacity: 0; transform: translateY(8px); }
.ak-item.on .ak-a { animation: akin .5s ease-out forwards 2.2s; }
@keyframes akin { to { opacity: 1; transform: none; } }
.ak-src { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .55rem; }
.ak-src span { font: 800 .6rem Inter, sans-serif; letter-spacing: .1em; color: #1a5c38; background: #e8f5ee; border-radius: 999px; padding: .18rem .55rem; }
.ak-dots { display: flex; gap: .4rem; margin-top: .9rem; }
.ak-dot { width: 26px; height: 4px; border: 0; padding: 0; border-radius: 2px; background: rgba(167,232,200,.25); cursor: pointer; }
.ak-dot.on { background: #4eca8a; }

/* ---------- real answer ---------- */
.as-sec { background: radial-gradient(120% 90% at 50% 0%, #1a5c38 0%, #0d3d22 55%, #08261a 100%); color: #fff; }
.as-sec .section-intro h2 { color: #fff; }
.as-sec .section-intro p { color: #c8d6ce; max-width: 760px; }
.as-sec .eyebrow { background: rgba(125,211,168,.14); color: #7dd3a8; }
.as-wrap { display: grid; grid-template-columns: 4fr 7fr; gap: 3rem; align-items: center; margin-top: 2.6rem; }
.as-steps { border-top: 1px solid rgba(167,232,200,.18); }
.as-step { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid rgba(167,232,200,.18); padding: 1rem 0 1rem 1.1rem; position: relative; cursor: pointer; font: inherit; }
.as-step::before { content: ""; position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 3px; border-radius: 2px; background: rgba(167,232,200,.2); }
.as-step.on::before { background: #4eca8a; }
.as-n { font: 800 .76rem Inter, sans-serif; letter-spacing: .1em; color: #4eca8a; margin-right: .6rem; }
.as-t { font-size: 1.08rem; font-weight: 700; color: rgba(255,255,255,.5); transition: color .2s; }
.as-step.on .as-t, .as-step:hover .as-t { color: #fff; }
.as-d { display: block; color: #c8d6ce; font-size: .92rem; line-height: 1.55; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s, opacity .45s, margin .45s; padding-left: 2rem; }
.as-step.on .as-d { max-height: 8rem; opacity: 1; margin-top: .4rem; }
.as-bar { display: none; height: 2px; background: rgba(167,232,200,.2); margin: .7rem 0 0 2rem; overflow: hidden; }
.as-step.on .as-bar { display: block; }
.as-bar i { display: block; height: 100%; width: 0; background: #4eca8a; }
.as-step.on .as-bar i { animation: asfill 6.5s linear forwards; }
@keyframes asfill { to { width: 100%; } }
.as-screen { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 34px 70px rgba(0,0,0,.45); }
.as-chrome { display: flex; align-items: center; gap: .4rem; padding: .65rem 1rem; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; }
.as-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.as-chrome span { margin-left: .75rem; font: 600 .78rem Inter, sans-serif; color: #4b5563; }
.as-view { height: 500px; overflow: hidden; position: relative; }
.as-view::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.as-view img { display: block; width: 100%; height: auto; transition: transform 1.4s cubic-bezier(.3,.7,.2,1); }
.as-screen figcaption { font-size: .74rem; color: #6b7280; padding: .5rem 1rem .65rem; border-top: 1px solid #eef2f0; }

/* ---------- application panels ---------- */
.ap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.ap-panel { display: grid; grid-template-columns: 1.15fr 1fr; background: #0d3d22; border-radius: 16px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.ap-panel:hover { transform: translateY(-3px); box-shadow: 0 22px 46px rgba(13,61,34,.28); }
.ap-viz { padding: .8rem; border-right: 1px solid rgba(167,232,200,.14); background-image: linear-gradient(rgba(125,211,168,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(125,211,168,.06) 1px, transparent 1px); background-size: 22px 22px; display: flex; align-items: center; }
.ap-viz svg { width: 100%; height: auto; display: block; overflow: visible; }
.ap-body { padding: 1.4rem 1.4rem 1.5rem; align-self: center; }
.ap-body h3 { color: #fff; font-size: 1.12rem; margin-bottom: .45rem; }
.ap-body p { color: #c8d6ce; font-size: .9rem; line-height: 1.55; }
.ap-t { font: 800 7.4px Inter, sans-serif; letter-spacing: .12em; fill: #8fbca4; }
.ap-k { font: 800 7.4px Inter, sans-serif; letter-spacing: .12em; fill: #a7e8c8; }
.ap-k.r { fill: #ff9b7a; } .ap-k.a { fill: #f5b942; }
.ap-s { font: 600 9.5px Inter, sans-serif; fill: #e5f5ec; }
.ap-card { fill: rgba(6,26,15,.55); stroke: rgba(167,232,200,.3); }
.ap-card.r { stroke: #ff7a59; } .ap-card.a { stroke: #f5b942; } .ap-card.g { stroke: #4eca8a; }
.ap-mod rect { fill: rgba(255,255,255,.05); stroke: rgba(167,232,200,.2); }
.ap-chk { fill: none; stroke: #4b8f6b; stroke-width: 1.4; animation: apchk 8s infinite; animation-delay: calc(var(--i) * 1.2s); }
.ap-tick { fill: none; stroke: #0d3d22; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: aptick 8s infinite; animation-delay: calc(var(--i) * 1.2s); }
@keyframes apchk { 0%, 8% { fill: transparent; stroke: #4b8f6b; } 14%, 92% { fill: #4eca8a; stroke: #4eca8a; } 100% { fill: transparent; } }
@keyframes aptick { 0%, 10% { opacity: 0; } 14%, 92% { opacity: 1; } 100% { opacity: 0; } }
.ap-w { font: 800 7.4px Inter, sans-serif; letter-spacing: .1em; fill: #7dd3a8; }
.ap-n { font: 600 9.5px Inter, sans-serif; fill: #e5f5ec; }
.ap-prog { transform-box: fill-box; transform-origin: left; animation: approg 8s infinite; }
@keyframes approg { 0% { transform: scaleX(0); } 60%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.ap-node rect { fill: rgba(6,26,15,.7); stroke: #4b8f6b; animation: apnode 4s infinite; animation-delay: calc(var(--i) * .8s); }
.ap-node text { font: 700 9px Inter, sans-serif; fill: #e5f5ec; }
@keyframes apnode { 0%, 100% { stroke: #4b8f6b; fill: rgba(6,26,15,.7); } 8%, 22% { stroke: #4eca8a; fill: rgba(78,202,138,.25); } }
.ap-pkt { fill: #4eca8a; filter: drop-shadow(0 0 4px #4eca8a); }
.ap-in { opacity: 0; animation: apin 7s infinite; }
.ap-in.i2 { animation-delay: .5s; }
@keyframes apin { 0%, 4% { opacity: 0; transform: translateX(-8px); } 12%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ap-step circle { fill: none; stroke: #4b8f6b; stroke-width: 1.3; animation: apchk2 7s infinite; animation-delay: calc(1.2s + var(--i) * .9s); }
.ap-step path { fill: none; stroke: #0d3d22; stroke-width: 1.8; stroke-linecap: round; opacity: 0; animation: aptick2 7s infinite; animation-delay: calc(1.2s + var(--i) * .9s); }
@keyframes apchk2 { 0%, 4% { fill: transparent; } 10%, 80% { fill: #4eca8a; stroke: #4eca8a; } 90%, 100% { fill: transparent; stroke: #4b8f6b; } }
@keyframes aptick2 { 0%, 6% { opacity: 0; } 10%, 80% { opacity: 1; } 90%, 100% { opacity: 0; } }
.ap-stamp { opacity: 0; transform-box: fill-box; transform-origin: center; animation: apstamp 6s infinite; }
@keyframes apstamp { 0%, 15% { opacity: 0; transform: scale(1.6) rotate(-8deg); } 22%, 92% { opacity: 1; transform: scale(1) rotate(-4deg); } 100% { opacity: 0; } }
.ap-fly { animation: apfly 6s infinite; }
@keyframes apfly { 0%, 30% { opacity: 0; transform: none; } 34% { opacity: 1; } 55% { opacity: 1; transform: translate(170px, 100px) scale(.83, .19); } 58%, 100% { opacity: 0; transform: translate(170px, 100px) scale(.83, .19); } }
.ap-new { opacity: 0; animation: apnew 6s infinite; }
@keyframes apnew { 0%, 55% { opacity: 0; } 60%, 94% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- generic vs grounded ---------- */
.gv-q { display: inline-flex; align-items: center; gap: .8rem; margin-top: 2.2rem; background: #238a5e; color: #fff; font-weight: 600; font-size: 1.05rem; border-radius: 14px 14px 3px 14px; padding: .8rem 1.1rem; }
.gv-q span { font: 800 .64rem Inter, sans-serif; letter-spacing: .14em; color: #a7e8c8; }
.gv-wrap { display: grid; grid-template-columns: 1fr 15rem 1.25fr; gap: 1.5rem; margin-top: 1.4rem; align-items: stretch; }
.gv-col { border-radius: 16px; padding: 1.4rem 1.5rem; }
.gv-h { font: 800 .74rem Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.gv-gen { background: #fff; border: 1px dashed #d1d5db; color: #6b7280; transition: opacity .8s; }
.gv-gen .gv-h { color: #9ca3af; }
.gv-gen li { color: #6b7280; }
.gv-gen ol { list-style: decimal; padding-left: 1.2rem; margin: 0 0 1rem; font-size: .93rem; line-height: 1.6; }
.gv-wrap.go .gv-gen { opacity: .6; }
.gv-note { font-size: .82rem; font-style: italic; color: #9ca3af; }
.gv-mid { display: flex; flex-direction: column; gap: .7rem; justify-content: center; }
.gv-src { background: #fff; border: 1px solid #cfe8db; border-left: 3px solid #238a5e; border-radius: 10px; padding: .7rem .8rem; font-size: .8rem; color: #4b5563; opacity: 0; transform: translateX(-16px); transition: opacity .6s, transform .6s; }
.gv-src b { display: block; color: #1a5c38; font-size: .82rem; margin-bottom: .15rem; }
.gv-wrap.go .gv-src { opacity: 1; transform: none; }
.gv-wrap.go .gv-src.s2 { transition-delay: .35s; } .gv-wrap.go .gv-src.s3 { transition-delay: .7s; }
.gv-env { background: #0d3d22; color: #e5f5ec; box-shadow: 0 26px 56px rgba(13,61,34,.25); opacity: .25; transform: translateY(10px); transition: opacity .8s 1.1s, transform .8s 1.1s; }
.gv-wrap.go .gv-env { opacity: 1; transform: none; }
.gv-env .gv-h { color: #7dd3a8; }
.gv-ans { font-size: .98rem; line-height: 1.6; margin-bottom: .8rem; color: #e5f5ec; }
.gv-ans b { color: #fff; }
.gv-next { font-size: .92rem; color: #c8d6ce !important; margin-bottom: 1rem; }
.gv-next b { color: #4eca8a; }
.gv-chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.gv-chips span { font: 800 .6rem Inter, sans-serif; letter-spacing: .1em; color: #0d3d22; background: #a7e8c8; border-radius: 999px; padding: .2rem .55rem; }

/* ---------- hub ---------- */
.hb-fig { margin: 0; }
.hb-svg { width: 100%; height: auto; display: block; overflow: visible; }
.hb-link { stroke: rgba(35,138,94,.35); stroke-width: 1.6; stroke-dasharray: 4 5; fill: none; }
.hb-pkt { fill: #238a5e; filter: drop-shadow(0 0 4px #4eca8a); }
.hb-node circle { fill: #fff; stroke: #238a5e; stroke-width: 3; }
.hb-t { font: 700 13.5px Inter, sans-serif; fill: #111827; }
.hb-s { font: 600 10px Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; fill: #238a5e; }
a .hb-t { text-decoration: underline; text-decoration-color: #a7e8c8; text-underline-offset: 3px; }
.hb-ring { transform-box: fill-box; transform-origin: center; animation: hbring 2.6s ease-out infinite; }
@keyframes hbring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.hb-c1 { font: 800 11px Inter, sans-serif; letter-spacing: .2em; fill: #7dd3a8; }
.hb-c2 { font: 800 21px Inter, sans-serif; fill: #fff; letter-spacing: -.01em; }
.hb-c3 { font: 800 9px Inter, sans-serif; letter-spacing: .16em; fill: #4eca8a; }
.hb-fig figcaption { text-align: center; font-size: .9rem; color: #4b5563; margin-top: .4rem; }
.hb-fig figcaption .ind-link { display: inline-flex; margin-left: .3rem; }
.hb-start { font-size: 1.1rem; margin: 1.6rem 0 .6rem; }
.hb-list { list-style: none; padding: 0; margin: 0; counter-reset: h; }
.hb-list li { counter-increment: h; display: flex; gap: .75rem; padding: .55rem 0; border-top: 1px solid #d6ece0; color: #1f2937; font-size: .95rem; }
.hb-list li:last-child { border-bottom: 1px solid #d6ece0; }
.hb-list li::before { content: "0" counter(h); font: 800 .76rem Inter, sans-serif; color: #238a5e; padding-top: .15rem; }

@media (max-width: 1024px) {
  .ak-split, .hb-split, .as-wrap { grid-template-columns: 1fr; }
  .ap-grid { grid-template-columns: 1fr; }
  .gv-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .ap-panel { grid-template-columns: 1fr; } .ap-viz { border-right: 0; border-bottom: 1px solid rgba(167,232,200,.14); } .as-view { height: 380px; } }
@media (prefers-reduced-motion: reduce) {
  .ak-card *, .ap-viz *, .hb-svg *, .gv-wrap *, .as-view img { animation: none !important; transition: none !important; }
  .ak-q, .ak-a, .ap-in, .ap-stamp, .ap-new, .ap-tick, .gv-src, .gv-env { opacity: 1; transform: none; } .ak-typing { display: none; } .hb-pkt, .ap-pkt { display: none; }
}
