/* ---------- Software page ----------
   Shared building blocks (statement, rows, panel, closing, call to action) come from websites.css.
   This file only holds what is specific to the software page. */

/* ================= Title section ================= */
.shero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 2.4rem;
}

/* wide band of three pictures, edge to edge */
.shero__top { position: relative; flex: 1 1 auto; min-height: 28rem; }   /* takes whatever height is left, so the whole hero fits one screen */
.shero__band { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 3fr 1fr; gap: 0.5vw; animation: wrise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }
.shero__img { position: relative; overflow: hidden; background: #111; }

/* left: soft dark shapes with an orange edge */
.shero__img--a { background:
  radial-gradient(45% 55% at 96% 52%, rgba(255, 86, 24, 0.85), rgba(255, 86, 24, 0) 62%),
  radial-gradient(70% 45% at 60% 32%, #3d3d3d, rgba(61, 61, 61, 0) 70%),
  linear-gradient(180deg, #262626, #0d0d0d); }
.shero__img--a::before { content: ""; position: absolute; left: -30%; top: 12%; width: 120%; height: 44%; border-radius: 50%; background: radial-gradient(60% 70% at 55% 30%, #4d4d4d, #121212 75%); box-shadow: inset 0 -2rem 4rem rgba(0, 0, 0, 0.6); filter: blur(2px); }
.shero__img--a::after { content: ""; position: absolute; left: -20%; top: 46%; width: 110%; height: 42%; border-radius: 50%; background: radial-gradient(60% 70% at 50% 20%, #343434, #0c0c0c 78%); box-shadow: inset -0.6rem 0 2rem rgba(255, 86, 24, 0.55); filter: blur(1px); }

/* centre: night sky with an orange streak */
.shero__img--b { background:
  radial-gradient(circle at 12% 22%, #fff 0 1px, transparent 1.6px),
  radial-gradient(circle at 26% 12%, #cfe8ff 0 1.2px, transparent 1.8px),
  radial-gradient(circle at 34% 40%, #fff 0 1px, transparent 1.6px),
  radial-gradient(circle at 8% 58%, #fff 0 1.2px, transparent 1.8px),
  radial-gradient(circle at 19% 72%, #cfe8ff 0 1px, transparent 1.6px),
  radial-gradient(circle at 44% 20%, #fff 0 1px, transparent 1.6px),
  radial-gradient(circle at 62% 14%, #fff 0 1.4px, transparent 2px),
  radial-gradient(circle at 71% 34%, #cfe8ff 0 1px, transparent 1.6px),
  radial-gradient(circle at 80% 18%, #fff 0 1px, transparent 1.6px),
  radial-gradient(circle at 88% 44%, #fff 0 1.4px, transparent 2px),
  radial-gradient(circle at 92% 12%, #cfe8ff 0 1px, transparent 1.6px),
  radial-gradient(circle at 57% 52%, #fff 0 1px, transparent 1.6px),
  radial-gradient(circle at 75% 62%, #fff 0 1.2px, transparent 1.8px),
  radial-gradient(circle at 40% 66%, #fff 0 1px, transparent 1.6px),
  radial-gradient(circle at 16% 40%, #fff 0 1px, transparent 1.6px),
  radial-gradient(50% 45% at 22% 64%, rgba(14, 95, 120, 0.55), rgba(14, 95, 120, 0) 70%),
  radial-gradient(45% 40% at 86% 42%, rgba(90, 60, 150, 0.35), rgba(90, 60, 150, 0) 70%),
  linear-gradient(180deg, #04060c 0%, #0a1830 62%, #1a1230 100%); }
.streak { position: absolute; left: 50%; top: -2%; width: 1.5vw; min-width: 1rem; height: 57%; margin-left: -0.75vw; border-radius: 1vw; background: linear-gradient(180deg, rgba(255, 196, 100, 0.95), #ff6a1f 45%, rgba(255, 106, 31, 0)); filter: blur(0.25vw); box-shadow: 0 0 2vw rgba(255, 120, 40, 0.55); animation: streakglow 3.6s ease-in-out infinite; }
.streak--2 { left: 38%; top: 8%; width: 0.5vw; min-width: 0.4rem; height: 32%; margin-left: -0.25vw; opacity: 0.8; animation-delay: -1.4s; }
@keyframes streakglow { 0%, 100% { opacity: 0.8; } 50% { opacity: 1; } }

/* right: dark diagonal stripes */
.shero__img--c { background:
  linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 55%),
  repeating-linear-gradient(100deg, #0b0b0b 0 1.4vw, #2b2b2b 1.4vw 2.1vw, #0b0b0b 2.1vw 2.6vw); }

/* the prompt card */
.agent { position: absolute; z-index: 3; left: 0; right: 0; bottom: -3rem; margin: 0 auto; width: min(39vw, calc(100% - 2rem)); min-width: 30rem; padding: 2.2rem 2.6rem 2rem; container-type: inline-size; background: #0b0b0b; border: 1px solid #262626; border-radius: 1.6rem; animation: wrise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both; }
.agent__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.8rem; }
.agent__ctx { display: inline-flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.7rem; border: 1px solid #2f2f2f; border-radius: 3rem; font-size: clamp(1.4rem, 0.95vw, 2rem); font-weight: 500; letter-spacing: -0.01em; color: #d6d6d6; }
.agent__ctx { white-space: nowrap; }
.agent__ctx b { font-weight: 500; color: #fff; }
.agent__ctx svg { width: 1.7rem; height: 1.7rem; color: #8a8a8a; }
.agent__send { display: grid; place-items: center; width: 4.4rem; height: 4.4rem; border: 1px solid #5a5a5a; border-radius: 0.8rem; color: #fff; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.agent__send:hover { background: #fff; color: #0a0a0a; border-color: #fff; }
.agent__send svg { width: 2rem; height: 2rem; }
.agent__send:focus-visible, .agent__tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* example tabs */
.agent__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 0.8rem; margin: 6.6rem 0 4rem; animation: wrise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; }
.agent__tabs button { padding: 1rem 1.6rem; border: 1px solid transparent; border-radius: 3rem; font: 500 1.2rem/1 "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.05em; text-transform: uppercase; color: #d6d6d6; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.agent__tabs button:hover { color: #fff; }
.agent__tabs button.on { background: #161616; border-color: #333; color: #fff; }

/* bottom: title, description, buttons (shared classes from websites.css) */
.shero .whero__bottom { margin-top: auto; padding: 0 2.4rem; }
.shero .whero__title { font-size: clamp(5rem, min(11.5vw, 24svh), 30rem); margin-left: -0.05em; margin-bottom: -0.11em; }   /* the bottom of the letters (not the line box) sits on the same line as the bottom of the buttons */

@media (max-width: 820px) {
  .shero__top { height: 42svh; min-height: 30rem; }
  .shero__band { grid-template-columns: 1fr; }
  .shero__img--a, .shero__img--c { display: none; }
  .streak { width: 4vw; margin-left: -2vw; }
  .streak--2 { width: 1.4vw; }
  .agent { width: calc(100% - 2rem); min-width: 0; padding: 1.8rem 1.6rem 1.6rem; bottom: -2.4rem; }
  .agent__foot { margin-top: 1.4rem; }
  .agent__ctx { font-size: 1.3rem; padding: 0.7rem 1.2rem; }
  .agent__send { width: 3.8rem; height: 3.8rem; }
  .agent__tabs { margin: 4.6rem 0 2.6rem; }
  .shero .whero__bottom { padding: 0 1rem; }
  .shero .whero__title { font-size: clamp(5rem, 22vw, 12rem); }
}
@media (prefers-reduced-motion: reduce) {
  .shero__band, .agent, .agent__tabs { animation: none; }
  .streak { animation: none; }
}

/* ================= Row 1: scattered data becomes one record ================= */
.fc--mess { left: 4%; top: 8%; width: 44%; height: 78%; z-index: 1; padding: 2em 2.4em; background: #0b0b0b; border: 1px solid #2e2e2e; color: #fff; }
.mess li { display: grid; grid-template-columns: auto 1fr; column-gap: 0.9em; align-items: center; padding: 0.8em 0; border-bottom: 1px solid #1e1e1e; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease, filter 0.6s ease; }
.mess li:nth-child(2) { transform: translateX(0.9em) rotate(-0.4deg); }
.mess li:nth-child(3) { transform: translateX(-0.3em) rotate(0.3deg); }
.mess li:nth-child(4) { transform: translateX(1.2em); }
.mess li:nth-child(5) { transform: translateX(0.2em) rotate(-0.3deg); }
.mess__dot { grid-row: 1 / span 2; width: 0.9em; height: 0.9em; border-radius: 50%; background: #555; }
.mess__dot--g { background: #3fb950; } .mess__dot--b { background: #4a8cff; } .mess__dot--o { background: #ff9d3a; } .mess__dot--p { background: #a06bff; } .mess__dot--r { background: #ff5a4a; }
.mess__s { font: 400 1.15em/1.3 "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; color: #8a8a8a; }
.mess b { font-size: 1.5em; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; color: #e6e6e6; }
.is-unified .mess li { opacity: 0.16; filter: blur(0.5px); transform: translateX(2.6em) scale(0.96); }
.is-unified .mess li:nth-child(2) { transition-delay: 0.05s; } .is-unified .mess li:nth-child(3) { transition-delay: 0.1s; }
.is-unified .mess li:nth-child(4) { transition-delay: 0.15s; } .is-unified .mess li:nth-child(5) { transition-delay: 0.2s; }

.fc--rec { left: 40%; top: 16%; width: 56%; height: 84%; z-index: 2; padding: 2em 2.4em; background: #f7f6f3; color: #111; border-radius: 1em 1em 0 0; box-shadow: 0 2em 5em rgba(0, 0, 0, 0.4); }
.rec__top { display: flex; align-items: center; gap: 1.2em; margin-bottom: 1.4em; }
.rec__av { display: grid; place-items: center; width: 3.6em; height: 3.6em; border-radius: 50%; background: #111; color: #fff; font-size: 1.5em; font-weight: 700; }
.rec__name { display: block; font-size: 2.2em; font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.rec__top small { color: #777; }
.rec__ok { margin-left: auto; padding: 0.4em 1em; border-radius: 3em; background: #e3e0d9; color: #777; font-style: normal; font-size: 1.2em; font-weight: 600; transition: background 0.4s, color 0.4s; }
.is-unified .rec__ok { background: #d6f2dc; color: #1f8a37; }
.rec__r { display: grid; grid-template-columns: 8em 1fr; align-items: center; padding: 0.9em 0; border-bottom: 1px solid #dcd9d1; }
.rec__r > span:first-child { font-size: 1.3em; color: #777; }
.rec__v { position: relative; height: 1.6em; font-size: 1.6em; font-weight: 600; letter-spacing: -0.02em; }
.rec__v .sk { position: absolute; left: 0; top: 0.42em; width: 7em; height: 0.75em; border-radius: 1em; background: #dedbd3; transition: opacity 0.3s; }
.rec__v em { font-style: normal; opacity: 0; transform: translateY(0.4em); transition: opacity 0.5s ease, transform 0.5s ease; }
.is-unified .rec__v .sk { opacity: 0; }
.is-unified .rec__v em { opacity: 1; transform: none; }
.is-unified .rec__r:nth-child(1) em { transition-delay: 0.5s; } .is-unified .rec__r:nth-child(2) em { transition-delay: 0.65s; }
.is-unified .rec__r:nth-child(3) em { transition-delay: 0.8s; } .is-unified .rec__r:nth-child(4) em { transition-delay: 0.95s; }
.is-unified .rec__r:nth-child(5) em { transition-delay: 1.1s; }

/* the tools that get connected into one system */
.rec__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5em; margin-top: 1.5em; }
.rec__tk { flex: 0 0 100%; font-size: 1.3em; color: #777; }
.rec__tools i { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.3em 0.6em; border: 1px dashed #c4c1b8; border-radius: 3em; font-style: normal; font-size: 1em; font-weight: 600; color: #999; transition: background 0.4s, border-color 0.4s, color 0.4s; }
.rec__tools i::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: currentColor; }
.is-unified .rec__tools i { border-style: solid; border-color: #bfe6c8; background: #d6f2dc; color: #1f8a37; }
.is-unified .rec__tools i:nth-of-type(1) { transition-delay: 0.6s; } .is-unified .rec__tools i:nth-of-type(2) { transition-delay: 0.75s; }
.is-unified .rec__tools i:nth-of-type(3) { transition-delay: 0.9s; } .is-unified .rec__tools i:nth-of-type(4) { transition-delay: 1.05s; }
.is-unified .rec__tools i:nth-of-type(5) { transition-delay: 1.2s; }

.fpic > .fc--unify { left: 4%; bottom: 4%; z-index: 4; padding: 0.7em 1.8em; border-radius: 3em; background: var(--accent); color: #fff; font-size: 2.3cqw; font-weight: 600; cursor: pointer; box-shadow: 0 1em 2.4em rgba(0, 0, 0, 0.35); transition: background 0.2s, transform 0.15s; }
.fc--unify:hover { background: #ff6432; }
.fc--unify:active { transform: scale(0.96); }
.fc--unify:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.is-unified .fc--unify { background: #fff; color: #0a0a0a; }

/* ================= Row 2: off-the-shelf vs built for you ================= */
.fc--job { left: 4%; top: 8%; width: 62%; height: 84%; z-index: 1; padding: 1.8em 2.4em; background: #0b0b0b; border: 1px solid #2e2e2e; color: #fff; }
.seg { display: inline-flex; margin-bottom: 1.4em; padding: 0.35em; border: 1px solid #2a2a2a; border-radius: 3em; background: #161616; }
.seg button { padding: 0.55em 1.3em; border-radius: 3em; font-size: 1.4em; font-weight: 500; color: #a9a9a9; transition: background 0.2s, color 0.2s; }
.seg button:hover { color: #fff; }
.seg button.on { background: #fff; color: #0a0a0a; }
.seg button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.job__t { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2em; }
.job__t b { font-size: 2.2em; font-weight: 600; letter-spacing: -0.03em; }
.job__chip { padding: 0.35em 1em; border-radius: 3em; background: #3a1410; color: #ff8a78; font-style: normal; font-size: 1.3em; font-weight: 500; transition: background 0.3s, color 0.3s; }
.is-own .job__chip { background: #10301a; color: #5fdc7c; }
.job__f { margin-bottom: 1em; }
.job__l { display: block; margin-bottom: 0.4em; font-size: 1.3em; font-weight: 500; color: #c9c9c9; }
.job__i { padding: 0.65em 1em; border: 1px solid #333; border-radius: 0.4em; font-size: 1.5em; font-weight: 500; letter-spacing: -0.02em; color: #8a8a8a; }
.is-own .job__i { color: #fff; }
.job__l, .job__i { transition: opacity 0.18s ease; }
.is-swap .job__l, .is-swap .job__i { opacity: 0; }

.fc--req { left: 58%; top: 28%; width: 38%; z-index: 2; padding: 1.8em 2em; background: #f7f6f3; color: #111; border-radius: 1em; box-shadow: 0 2em 5em rgba(0, 0, 0, 0.4); transition: opacity 0.18s ease; }
.is-swap .fc--req { opacity: 0.4; }
.req__k { display: block; font: 500 1.2em/1 "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.04em; text-transform: uppercase; color: #777; }
.req__q { margin: 0.7em 0 0.9em; font-size: 1.9em; font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }
.req__s { display: inline-block; padding: 0.35em 1em; border-radius: 3em; background: #ffe0dc; color: #c0341f; font-size: 1.3em; font-weight: 600; transition: background 0.3s, color 0.3s; }
.is-own .req__s { background: #d6f2dc; color: #1f8a37; }
.fc--req small { display: block; margin-top: 0.9em; font-size: 1.3em; line-height: 1.4; color: #666; }

/* ================= Three system screens ================= */
.kan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.kan__c small { display: flex; justify-content: space-between; margin-bottom: 0.7em; font-size: 1.3em; color: #666; }
.kan__c small b { color: #111; }
.kan__k { display: grid; gap: 0.25em; margin-bottom: 0.8em; padding: 0.9em 1em; border: 1px solid #e5e2db; border-radius: 0.7em; background: #fff; }
.kan__k b { font-size: 1.35em; letter-spacing: -0.02em; }
.kan__k span { font-size: 1.15em; color: #777; }
.kan__k em { font-style: normal; font-size: 1.3em; font-weight: 600; }
.kan__k--won { border-left: 0.3em solid #2fbf4a; }

.inv__r { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 1.2em; padding: 0.95em 0; border-bottom: 1px solid #dcd9d1; font-size: 1.5em; font-weight: 500; }
.inv__r--h { padding-top: 0; font-size: 1.2em; font-weight: 500; color: #777; }
.inv__b { display: block; height: 0.7em; border-radius: 1em; background: #e0ddd6; overflow: hidden; }
.inv__b i { display: block; height: 100%; border-radius: 1em; background: #111; }
.inv__r:has(.low) .inv__b i { background: var(--accent); }
.inv__r em { min-width: 3.4em; padding: 0.25em 0.8em; border-radius: 3em; font-style: normal; font-size: 0.8em; font-weight: 600; text-align: center; }
.inv__r em.ok { background: #d6f2dc; color: #1f8a37; }
.inv__r em.low { background: #ffe0dc; color: #c0341f; }

.dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9em; margin-bottom: 1.2em; }
.dash div { padding: 0.9em 1em; border-radius: 0.7em; background: #e9e7e2; }
.dash small { display: block; font-size: 1.2em; color: #666; }
.dash b { font-size: 2em; letter-spacing: -0.03em; }
.ag { padding: 1.3em 1.5em; border-radius: 0.9em; background: #111; color: #fff; }
.ag__k { display: block; font: 500 1.2em/1 "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.05em; text-transform: uppercase; color: #8a8a8a; }
.ag__u { display: inline-block; margin: 0.8em 0 0.5em; padding: 0.55em 1em; border-radius: 0.8em; background: #2a2a2a; font-size: 1.4em; }
.ag__a { margin: 0.3em 0 0.9em; font-size: 1.4em; line-height: 1.35; color: #d0d0d0; }
.ag__btn { display: inline-block; padding: 0.6em 1.4em; border-radius: 3em; background: var(--accent); font-size: 1.4em; font-weight: 600; }


/* closing section: the opening line is a single line, so stretch it to the full width of the block too */
@media (min-width: 821px) {
  .wclose__in p:first-of-type { text-align-last: justify; }
}

/* ================= Live app window in the title card ================= */
/* everything inside is sized in em, and 1em follows the width of the card */
.agent__scenes { position: relative; height: 15.8em; font-size: 1.5cqw; }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s; }
.scene.on { opacity: 1; visibility: visible; }
.sc__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; margin-bottom: 0.9em; }
.sc__top b { font-size: 1.6em; font-weight: 600; letter-spacing: -0.03em; }
.sc__top span { font-size: 1.15em; color: #8a8a8a; white-space: nowrap; }
.sc__top em { font-style: normal; font-weight: 600; color: #fff; }

/* CRM: three columns, deals slide between them */
.crm { position: relative; height: 11.4em; }
.crm__col { position: absolute; top: 0; bottom: 0; width: calc((100% - 2em) / 3); border: 1px solid #1f1f1f; border-radius: 0.8em; background: rgba(255, 255, 255, 0.03); }
.crm__col:nth-child(1) { left: 0; }
.crm__col:nth-child(2) { left: calc((100% - 2em) / 3 + 1em); }
.crm__col:nth-child(3) { left: calc(2 * ((100% - 2em) / 3 + 1em)); }
.crm__col small { position: absolute; top: 0.6em; left: 0.9em; right: 0.9em; display: flex; justify-content: space-between; font-size: 1.1em; color: #8a8a8a; }
.crm__col small b { color: #fff; font-weight: 600; }
.kc { position: absolute; z-index: 1; width: calc((100% - 2em) / 3 - 1em); left: calc(var(--c, 0) * ((100% - 2em) / 3 + 1em) + 0.5em); top: calc(2.5em + var(--r, 0) * 4.2em); display: grid; gap: 0.15em; padding: 0.6em 0.8em; border: 1px solid #2c2c2c; border-radius: 0.6em; background: #181818; transition: left 0.8s cubic-bezier(0.22, 1, 0.36, 1), top 0.8s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.3s; }
.kc b { font-size: 1.2em; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.kc em { font-style: normal; font-size: 1em; color: #8a8a8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc.hot { z-index: 2; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0.6em 1.6em rgba(255, 74, 18, 0.25); }
.kc[data-col="2"] { border-left: 0.3em solid #2fbf4a; }

/* ERP: a stock bar runs low, a reorder is drafted and approved */
.erp { position: relative; }
.erp__r { display: grid; grid-template-columns: 1fr 1.7fr auto; align-items: center; gap: 1.3em; padding: 0.55em 0; border-bottom: 1px solid #1e1e1e; font-size: 1.3em; font-weight: 500; }
.erp .bar { display: block; height: 0.6em; border-radius: 1em; background: #202020; overflow: hidden; }
.erp .bar b { display: block; height: 100%; width: var(--v); border-radius: 1em; background: #e8e8e8; transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s; }
.erp em { min-width: 3.2em; padding: 0.2em 0.7em; border-radius: 3em; font-style: normal; font-size: 0.85em; font-weight: 600; text-align: center; transition: background 0.3s, color 0.3s; }
.erp em.ok { background: #10301a; color: #5fdc7c; }
.erp em.low { background: #3a1410; color: #ff8a78; }
.erp__r.is-low .bar b { background: var(--accent); }
.erp__toast { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 0.7em 1em; border: 1px solid var(--accent); border-radius: 0.7em; background: #1b1b1b; font-size: 1.25em; font-weight: 500; opacity: 0; transform: translateY(1.2em); transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s; }
.erp__toast.show { opacity: 1; transform: none; }
.erp__toast b { font-weight: 600; color: #ffb096; }
.erp__toast.done { border-color: #2fbf4a; }
.erp__toast.done b { color: #5fdc7c; }
#erp-flag.low { color: #ff8a78; }

/* Client portal: one clear message at a time, then a single payment step */
.por__user { display: inline-flex; align-items: center; gap: 0.6em; color: #d0d0d0; }
.por__user i { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: #2a2a2a; color: #fff; font-style: normal; font-size: 0.85em; font-weight: 600; }
.por { display: grid; gap: 1em; }
.por__msg { display: grid; gap: 0.25em; transition: opacity 0.2s ease, transform 0.2s ease; }
.por__msg.swap { opacity: 0; transform: translateY(0.3em); }
.por__msg b { font-size: 2em; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.por__msg small { font-size: 1.25em; color: #8a8a8a; }
.por__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.por__track::before, .por__track::after { content: ""; position: absolute; top: 0.72em; left: 12.5%; height: 0.25em; border-radius: 1em; }
.por__track::before { width: 75%; background: #242424; }
.por__track::after { width: calc(75% * var(--p, 0)); background: var(--accent); transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1); }
.por__track i { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5em; font-style: normal; }
.por__track u { box-sizing: border-box; width: 1.7em; height: 1.7em; border: 0.22em solid #303030; border-radius: 50%; background: #161616; transition: background 0.3s, border-color 0.3s; }
.por__track span { font-size: 1.2em; color: #777; transition: color 0.3s; }
.por__track i.on u { border-color: var(--accent); background: var(--accent); }
.por__track i.on span { color: #fff; }
.por__bar { display: flex; align-items: center; justify-content: space-between; min-height: 3em; padding: 0 0.6em 0 1.1em; border: 1px solid #232323; border-radius: 3em; background: rgba(255, 255, 255, 0.03); font-size: 1.25em; font-weight: 500; color: #8a8a8a; transition: border-color 0.3s, color 0.3s; }
.por__bar.ready { border-color: #4a4a4a; color: #fff; }
.por__bar.paid { border-color: #1f5a30; color: #5fdc7c; }
.por__pay { padding: 0.35em 1.2em; border-radius: 3em; background: #fff; color: #0a0a0a; font-style: normal; font-size: 0.95em; font-weight: 600; opacity: 0; transform: scale(0.9); transition: opacity 0.3s, transform 0.3s, background 0.3s, color 0.3s; }
.por__bar.ready .por__pay { opacity: 1; transform: none; }
.por__bar.ready .por__pay.nudge { transform: scale(1.1); }
.por__bar.paid .por__pay { opacity: 1; transform: none; background: #10301a; color: #5fdc7c; }

/* And more: modules pop in one by one */
.more { display: flex; flex-wrap: wrap; gap: 0.7em; }
.more .chip { padding: 0.55em 1.2em; border: 1px solid #2f2f2f; border-radius: 3em; font-size: 1.35em; font-weight: 500; color: #d6d6d6; opacity: 0; }
.scene--more.on .chip { animation: chippop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(var(--i) * 0.07s); }
.more .chip--new { border-style: dashed; border-color: var(--accent); color: #ffb096; }
@keyframes chippop { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  .agent__scenes { font-size: 2.35cqw; height: 15.8em; }
}
@media (prefers-reduced-motion: reduce) {
  .kc, .erp .bar b, .por__track::after, .scene { transition: none; }
  .scene--more.on .chip { animation: none; opacity: 1; }
}
