/* Global base (from the dashboard's style.css, only the rules this page relied on) */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: oklch(19% 0.018 250);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 600; margin: 0 0 0.35em; }
button:focus-visible { outline: 2px solid oklch(74% 0.13 180); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Architecture page */
.arch2 { --bg: oklch(19% 0.018 250); --bg-raise: oklch(24% 0.02 250); --bg-raise2: oklch(28% 0.02 250);
  --line: oklch(38% 0.02 250); --text: oklch(93% 0.008 250); --text-dim: oklch(72% 0.015 250); --text-dim2: oklch(58% 0.015 250);
  --teal: oklch(74% 0.13 180); --amber: oklch(78% 0.13 75); --violet: oklch(72% 0.11 300); --rose: oklch(70% 0.13 20);
  background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif;
  margin: 0; padding: 0 0 4rem; min-height: 100vh; }
.arch2 * { box-sizing: border-box; }
.arch2 h1, .arch2 h2, .arch2 h3 { font-family: 'Space Grotesk', sans-serif; margin: 0; color: var(--text); }
.arch2 code { font-family: 'IBM Plex Mono', monospace; font-size: 0.9em; background: oklch(30% 0.02 250 / 0.6); padding: 0.1em 0.4em; border-radius: 4px; }
.arch2-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

.arch2-hero { padding: 4rem 0 3rem; border-bottom: 1px solid var(--line); }
.arch2-kicker { font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; display: block; }
.arch2-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.15; max-width: 18ch; }
.arch2-hero .arch2-sub { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.1rem, 2.2vw, 1.3rem); line-height: 1.45; color: var(--text); margin-top: 0.9rem; }
.arch2-hero p { font-size: 1.1rem; line-height: 1.65; color: var(--text-dim); max-width: 62ch; margin-top: 1.25rem; }
.arch2-scope { margin-top: 1.75rem; padding: 0.9rem 1.1rem; background: var(--bg-raise); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 6px; font-size: 0.92rem; color: var(--text-dim); max-width: 62ch; }
.arch2-scope strong { color: var(--text); }
.arch2-scope + .arch2-scope { margin-top: 0.75rem; }
.arch2-synthetic { border-left-color: var(--teal); }

.arch2-section { padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
.arch2-section:last-child { border-bottom: none; }
.arch2-shead { margin-bottom: 2.25rem; max-width: 62ch; }
.arch2-shead .arch2-kicker { margin-bottom: 0.6rem; }
.arch2-shead h2 { font-size: 1.7rem; }
.arch2-shead p { color: var(--text-dim); margin-top: 0.5rem; font-size: 1rem; line-height: 1.6; }

/* ---- Layered flow diagram ---- */
.arch2-flow { display: flex; flex-direction: column; gap: 0; position: relative; }
.arch2-layer { display: grid; grid-template-columns: 190px 1fr; gap: 1.5rem; padding: 1.5rem 0; align-items: start; }
.arch2-layer + .arch2-layer { border-top: 1px dashed var(--line); }
.arch2-layer-tag { display: flex; flex-direction: column; gap: 0.5rem; position: sticky; top: 1rem; }
.arch2-layer-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--teal)); }
.arch2-layer-tag h3 { font-size: 1rem; letter-spacing: 0.01em; }
.arch2-layer-tag span { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; color: var(--text-dim2); }
.arch2-cards { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: stretch; }
.arch2-card { flex: 1 1 220px; min-width: 200px; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; transition: border-color 0.15s, transform 0.15s; }
.arch2-card:hover { border-color: var(--dot, var(--teal)); transform: translateY(-2px); }
.arch2-card-top { display: flex; align-items: center; gap: 0.6rem; }
.arch2-card-num { font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; color: var(--bg); background: var(--dot, var(--teal)); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 600; }
.arch2-card h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.96rem; color: var(--text); }
.arch2-card p { font-size: 0.87rem; line-height: 1.5; color: var(--text-dim); margin: 0; }
.arch2-connector { display: flex; align-items: center; justify-content: center; color: var(--text-dim2); font-size: 1.1rem; padding: 0 0.1rem; }
@media (max-width: 720px) {
  .arch2-layer { grid-template-columns: 1fr; }
  .arch2-layer-tag { flex-direction: row; align-items: center; position: static; }
  .arch2-cards { flex-direction: column; }
  .arch2-connector { display: none; }
}
.arch2-infra { margin-top: 1.5rem; text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 0.8rem; color: var(--text-dim2); padding: 0.85rem; border: 1px dashed var(--line); border-radius: 8px; }

/* ---- Highlights ---- */
.arch2-hl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.arch2-hl { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; }
.arch2-hl-icon { width: 30px; height: 30px; border-radius: 7px; background: var(--bg-raise2); border: 1px solid var(--line); margin-bottom: 0.8rem; position: relative; }
.arch2-hl-icon::after { content: ""; position: absolute; inset: 8px; border-radius: 3px; background: var(--dot, var(--teal)); }
.arch2-hl h4 { font-size: 0.98rem; margin-bottom: 0.4rem; }
.arch2-hl p { font-size: 0.87rem; line-height: 1.55; color: var(--text-dim); margin: 0; }

/* ---- Step detail accordion ---- */
.arch2-steps { display: flex; flex-direction: column; gap: 0.6rem; }
.arch2-steps details { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 8px; padding: 0; overflow: hidden; }
.arch2-steps summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; display: flex; align-items: center; gap: 0.9rem; font-family: 'Space Grotesk', sans-serif; font-size: 0.98rem; }
.arch2-steps summary::-webkit-details-marker { display: none; }
.arch2-steps summary::after { content: "+"; margin-left: auto; color: var(--text-dim2); font-size: 1.2rem; font-family: monospace; }
.arch2-steps details[open] summary::after { content: "–"; }
.arch2-steps summary .arch2-card-num { flex-shrink: 0; }
.arch2-step-body { padding: 0 1.2rem 1.2rem 3.1rem; }
.arch2-step-body p { font-size: 0.9rem; line-height: 1.65; color: var(--text-dim); margin: 0 0 0.8rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; color: var(--text-dim); background: var(--bg-raise2); border: 1px solid var(--line); padding: 0.25rem 0.55rem; border-radius: 5px; }

/* ---- Tech stack ---- */
.arch2-tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.9rem; }
.arch2-tech { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.2rem; }
.arch2-tech-name { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; margin-bottom: 0.15rem; }
.arch2-tech-role { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; color: var(--teal); margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.04em; }
.arch2-tech-why { font-size: 0.85rem; line-height: 1.5; color: var(--text-dim); margin: 0; }

/* ---- Decisions ---- */
.arch2-decisions { display: flex; flex-direction: column; gap: 0.6rem; }
.arch2-decisions details { background: var(--bg-raise); border: 1px solid var(--line); border-radius: 8px; }
.arch2-decisions summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; display: flex; gap: 0.8rem; align-items: center; }
.arch2-decisions summary::-webkit-details-marker { display: none; }
.arch2-decisions summary::before { content: "?"; font-family: 'IBM Plex Mono', monospace; color: var(--violet); border: 1px solid var(--line); border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; }
.arch2-decisions summary::after { content: "+"; margin-left: auto; color: var(--text-dim2); }
.arch2-decisions details[open] summary::after { content: "–"; }
.arch2-decisions p { font-size: 0.89rem; line-height: 1.6; color: var(--text-dim); margin: 0; padding: 0 1.2rem 1.1rem 2.8rem; }

/* ---- Live pipeline walkthrough ---- */
#pipewalk { --ok: oklch(75% 0.15 155); }
.pw-controls { display: none; }
.pw-js .pw-controls { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.pw-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pw-chip { font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; color: var(--text-dim2); background: var(--bg-raise); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.65rem; cursor: pointer; display: flex; align-items: center; gap: 0.4rem; transition: color 0.2s, border-color 0.2s, box-shadow 0.3s; }
.pw-chip b { font-weight: 500; color: var(--c, var(--teal)); }
.pw-chip.is-done { color: var(--text-dim); }
.pw-chip.is-active { color: var(--text); border-color: var(--c, var(--teal)); background: var(--bg-raise2); box-shadow: 0 0 12px -4px var(--c, var(--teal)); }
.pw-buttons { display: flex; gap: 0.4rem; }
.pw-btn { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; color: var(--text-dim); background: var(--bg-raise); border: 1px solid var(--line); border-radius: 6px; padding: 0.35rem 0.8rem; cursor: pointer; }
.pw-btn:hover { color: var(--text); border-color: var(--text-dim2); }
.pw-stage { display: none; position: relative; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 12px; min-height: 460px; overflow: hidden; }
.pw-js .pw-stage { display: block; }
.pw-statusbar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; align-items: center; padding: 0.55rem 0.9rem; border-bottom: 1px solid var(--line); background: oklch(21% 0.02 250 / 0.9); font-family: 'IBM Plex Mono', monospace; font-size: 0.63rem; letter-spacing: 0.04em; color: var(--text-dim2); text-transform: uppercase; }
.pw-statusbar b { color: var(--text-dim); font-weight: 500; }
.pw-hb { display: flex; align-items: center; gap: 0.4rem; color: var(--ok); }
.pw-hb i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: pwPulse 1.2s ease infinite; }
.pw-paused .pw-hb { color: var(--amber); }
.pw-paused .pw-hb i { background: var(--amber); animation: none; }
.pw-example { margin-left: auto; color: var(--amber); border: 1px solid oklch(78% 0.13 75 / 0.4); border-radius: 4px; padding: 0.1rem 0.45rem; }
@keyframes pwPulse { 0%, 100% { box-shadow: 0 0 0 0 oklch(75% 0.15 155 / 0.5); } 50% { box-shadow: 0 0 0 5px transparent; } }
.pw-js .pw-fallback { display: none; }
.pw-fallback { font-size: 0.92rem; line-height: 1.6; color: var(--text-dim); max-width: 62ch; margin: 0; }
.pw-scene { position: absolute; inset: 0; padding: 3.4rem 1.5rem 1.3rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.85rem; opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.pw-scene.is-active { opacity: 1; pointer-events: auto; }
.pw-reveal { opacity: 0; transform: translateY(9px); transition: opacity 0.55s var(--d, 0s), transform 0.55s var(--d, 0s); }
.pw-scene.is-active .pw-reveal { opacity: 1; transform: none; }
.pw-pop { transform: scale(0.55); }
.pw-cap { font-size: 0.85rem; line-height: 1.5; color: var(--text-dim); text-align: center; max-width: 54ch; margin: 0; }
.pw-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; justify-content: center; }
.pw-arrow { color: var(--text-dim2); font-size: 1.05rem; }
.pw-box { background: var(--bg-raise2); border: 1px solid var(--line); border-radius: 8px; padding: 0.65rem 0.9rem; font-size: 0.82rem; color: var(--text-dim); line-height: 1.5; }
.pw-box b { color: var(--text); font-weight: 600; }
.pw-mono { font-family: 'IBM Plex Mono', monospace; }
.pw-flow { position: relative; width: 46px; height: 2px; background-image: repeating-linear-gradient(90deg, var(--fc, var(--teal)) 0 5px, transparent 5px 10px); opacity: 0; transition: opacity 0.4s var(--d, 0s); }
.pw-scene.is-active .pw-flow { opacity: 1; animation: pwDash 0.7s linear infinite; }
@keyframes pwDash { to { background-position: 10px 0; } }
.pw-inbox { background: var(--bg-raise2); border: 1px solid var(--line); border-radius: 10px; width: min(380px, 100%); overflow: hidden; }
.pw-inbox-head { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.9rem; border-bottom: 1px solid var(--line); font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; color: var(--text-dim2); }
.pw-badge { font-family: 'IBM Plex Mono', monospace; font-size: 0.62rem; color: var(--bg); background: var(--rose); border-radius: 999px; padding: 0.08rem 0.45rem; }
.pw-inbox-row { display: flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.9rem; font-size: 0.78rem; color: var(--text-dim); }
.pw-inbox-row b { color: var(--text); }
.pw-inbox-row .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-left: auto; }
.pw-email-head { display: flex; gap: 0.5rem; align-items: baseline; color: var(--text-dim2); font-size: 0.72rem; margin-bottom: 0.4rem; }
.pw-email-head b { color: var(--text); font-size: 0.84rem; }
.pw-email { background: var(--bg-raise2); border: 1px solid var(--line); border-radius: 10px; padding: 0.8rem 1rem; max-width: 380px; width: 100%; font-size: 0.82rem; }
.pw-email-subj { font-family: 'Space Grotesk', sans-serif; color: var(--text); margin-bottom: 0.35rem; }
.pw-email-body { color: var(--text-dim); line-height: 1.55; }
.pw-url { display: inline-block; font-family: 'IBM Plex Mono', monospace; font-size: 0.74rem; color: var(--teal); border: 1px dashed oklch(74% 0.13 180 / 0.5); border-radius: 5px; padding: 0.18rem 0.5rem; margin-top: 0.35rem; }
.pw-scene.is-active .pw-hl { animation: pwHl 1.4s ease 0.4s both; }
@keyframes pwHl { 0% { background: transparent; } 45% { background: oklch(74% 0.13 180 / 0.28); } 100% { background: oklch(74% 0.13 180 / 0.12); } }
.pw-out { white-space: nowrap; font-family: 'IBM Plex Mono', monospace; font-size: 0.74rem; color: var(--text); background: var(--bg-raise2); border: 1px solid var(--line); border-radius: 6px; padding: 0.35rem 0.6rem; }
.pw-out em { font-style: normal; color: var(--text-dim2); }
.pw-out.ok { border-color: oklch(75% 0.15 155 / 0.6); color: var(--ok); }
.pw-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 0.8rem; width: min(520px, 100%); }
.pw-frow { display: flex; gap: 0.55rem; align-items: baseline; background: var(--bg-raise2); border: 1px solid var(--line); border-radius: 6px; padding: 0.32rem 0.6rem; font-size: 0.76rem; }
.pw-frow .k { color: var(--text-dim2); }
.pw-frow .v { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; color: var(--text); margin-left: auto; white-space: nowrap; }
.pw-frow .ok { color: var(--ok); font-size: 0.7rem; }
.pw-scene.is-active .pw-glowin { animation: pwGlow 1s ease var(--d, 0s) both; }
@keyframes pwGlow { 0% { box-shadow: none; } 35% { box-shadow: 0 0 14px -2px oklch(78% 0.13 75 / 0.55); border-color: var(--amber); } 100% { box-shadow: none; } }
.pw-routes { display: flex; flex-direction: column; gap: 0.28rem; width: min(400px, 100%); }
.pw-rline { display: grid; grid-template-columns: 6.8rem 1fr auto; gap: 0.6rem; align-items: center; font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; color: var(--text-dim); }
.pw-rline .pw-flow { width: 100%; --fc: var(--rc, var(--violet)); }
.pw-rline .t { color: var(--rc, var(--violet)); white-space: nowrap; }
.pw-chain { display: flex; flex-direction: column; align-items: center; gap: 0.22rem; }
.pw-chain .pw-arrow { font-size: 0.8rem; line-height: 1; }
.pw-scorebar { width: 130px; height: 6px; border-radius: 3px; background: var(--bg); overflow: hidden; }
.pw-scorebar i { display: block; height: 100%; background: var(--ok); transform: scaleX(0); transform-origin: left; transition: transform 1.2s ease var(--d, 0s); }
.pw-scene.is-active .pw-scorebar i { transform: scaleX(0.82); }
.pw-deal { font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; letter-spacing: 0.06em; color: var(--ok); border: 1px solid oklch(75% 0.15 155 / 0.6); border-radius: 5px; padding: 0.22rem 0.55rem; }
.pw-map { position: relative; width: min(340px, 82vw); height: 116px; border: 1px solid var(--line); border-radius: 8px; background-color: var(--bg); background-image: linear-gradient(oklch(38% 0.02 250 / 0.3) 1px, transparent 1px), linear-gradient(90deg, oklch(38% 0.02 250 / 0.3) 1px, transparent 1px); background-size: 24px 24px; }
.pw-map .pt { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px -1px var(--violet); transform: translate(-50%, -50%); }
.pw-map .route { position: absolute; left: 18%; top: 64%; width: 63%; height: 2px; background: var(--violet); transform-origin: left; transform: rotate(-9deg) scaleX(0); }
.pw-scene.is-active .pw-map .route { transform: rotate(-9deg) scaleX(1); transition: transform 1.3s ease var(--d, 0s); }
.pw-map .lbl { position: absolute; font-family: 'IBM Plex Mono', monospace; font-size: 0.6rem; color: var(--text-dim2); white-space: nowrap; }
.pw-bar { width: 210px; height: 5px; border-radius: 3px; background: var(--bg); overflow: hidden; }
.pw-bar i { display: block; height: 100%; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 1.6s ease var(--d, 0s); }
.pw-scene.is-active .pw-bar i { transform: scaleX(1); }
.pw-scene.is-active .pw-flip { animation: pwFlip 0.8s ease var(--d, 0s) both; }
.pw-flip { opacity: 0; }
@keyframes pwFlip { 0% { opacity: 0; transform: perspective(400px) rotateY(90deg); } 100% { opacity: 1; transform: none; } }
.pw-record { font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; line-height: 1.7; color: var(--text-dim); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 0.7rem 1rem; }
.pw-record b { color: var(--teal); font-weight: 500; }
.pw-record .ln { display: block; }
.pw-scene.is-active .pw-rowhl { animation: pwGlowT 1.4s ease var(--d, 0s) both; }
@keyframes pwGlowT { 0% { box-shadow: none; } 40% { box-shadow: 0 0 16px -2px oklch(74% 0.13 180 / 0.55); border-color: var(--teal); } 100% { box-shadow: 0 0 8px -3px oklch(74% 0.13 180 / 0.35); border-color: var(--teal); } }
.pw-db { background: var(--bg-raise2); border: 1px solid var(--line); border-radius: 10px 10px 14px 14px; border-top-width: 4px; padding: 0.65rem 1rem; font-family: 'IBM Plex Mono', monospace; font-size: 0.76rem; color: var(--text); text-align: center; }
.pw-db span { display: block; font-size: 0.62rem; color: var(--text-dim2); margin-top: 0.2rem; }
.pw-syncline { position: relative; width: 150px; height: 2px; background-image: repeating-linear-gradient(90deg, var(--teal) 0 5px, transparent 5px 10px); }
.pw-scene.is-active .pw-syncline { animation: pwDash 0.7s linear infinite; }
.pw-syncline .lbl { position: absolute; top: 0.5rem; left: 50%; transform: translateX(-50%); font-family: 'IBM Plex Mono', monospace; font-size: 0.6rem; color: var(--text-dim2); white-space: nowrap; }
.pw-mover { position: absolute; top: 50%; left: 0; opacity: 0; font-family: 'IBM Plex Mono', monospace; font-size: 0.6rem; background: var(--bg-raise2); border: 1px solid var(--teal); border-radius: 4px; padding: 0.12rem 0.4rem; color: var(--teal); white-space: nowrap; }
.pw-scene.is-active .pw-mover { animation: pwMove 1.9s ease 0.9s both; }
@keyframes pwMove { 0% { opacity: 0; transform: translate(-12px, -50%); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(110px, -50%); } }
.pw-rules { display: flex; flex-direction: column; gap: 0.35rem; }
.pw-rule { display: flex; gap: 0.7rem; align-items: center; background: var(--bg-raise2); border: 1px solid var(--line); border-radius: 6px; padding: 0.4rem 0.7rem; }
.pw-rule .r { color: var(--text-dim); font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; white-space: nowrap; }
.pw-rule .ok { margin-left: auto; color: var(--ok); font-weight: 600; }
.pw-slack { position: relative; background: var(--bg-raise2); border: 1px solid var(--line); border-left: 3px solid var(--rose); border-radius: 8px; padding: 0.7rem 0.9rem; font-size: 0.8rem; max-width: 380px; }
.pw-slack-head { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; color: var(--text-dim2); margin-bottom: 0.3rem; }
.pw-slack-body { color: var(--text); line-height: 1.55; }
.pw-scene.is-active .pw-success { animation: pwSuccess 1.5s ease var(--d, 0s) 2; }
@keyframes pwSuccess { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 22px -4px oklch(75% 0.15 155 / 0.55); } }
.pw-confetti { position: relative; width: 0; height: 0; }
.pw-confetti i { position: absolute; width: 5px; height: 5px; border-radius: 2px; opacity: 0; }
.pw-scene.is-active .pw-confetti i { animation: pwConf 1.3s ease var(--d, 0s) both; }
@keyframes pwConf { 0% { opacity: 0; transform: translate(0, 0); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x, 20px), -46px) rotate(160deg); } }
@media (max-width: 600px) {
  .pw-stage { min-height: 560px; }
  .pw-scene { padding: 4.4rem 0.9rem 1.1rem; }
  .pw-fgrid { grid-template-columns: 1fr; }
  .pw-rline { grid-template-columns: 5.6rem 1fr auto; }
}
@media (prefers-reduced-motion: reduce) {
  #pipewalk *, #pipewalk *::before, #pipewalk *::after { animation: none !important; transition: none !important; }
  .pw-scene .pw-reveal, .pw-scene .pw-flip { opacity: 1; transform: none; }
  .pw-scene .pw-flow { opacity: 1; }
  .pw-map .route { transform: rotate(-9deg) scaleX(1) !important; }
  .pw-bar i { transform: scaleX(1) !important; }
  .pw-scorebar i { transform: scaleX(0.82) !important; }
  .pw-mover, .pw-confetti { display: none; }
}

/* ---- Real alert from the live system ---- */
.arch2-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 2.5rem 3.5rem; align-items: center; }
.arch2-proof .arch2-shead { margin-bottom: 0; }
.arch2-proof-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.arch2-proof-list li { background: var(--bg-raise); border: 1px solid var(--line); border-left: 3px solid var(--rose); border-radius: 6px; padding: 0.6rem 0.9rem; font-size: 0.88rem; line-height: 1.5; color: var(--text-dim); }
.arch2-proof-list li span { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose); margin-bottom: 0.1rem; }
.arch2-phone { margin: 0; justify-self: center; width: 100%; max-width: 340px; padding: 10px; background: var(--bg-raise2); border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 24px 60px -24px oklch(0% 0 0 / 0.7), 0 0 0 1px oklch(100% 0 0 / 0.03) inset; }
.arch2-phone img { display: block; width: 100%; height: auto; border-radius: 21px; background: #fff; }
.arch2-phone figcaption { font-family: 'IBM Plex Mono', monospace; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim2); text-align: center; padding: 0.7rem 0 0.2rem; }
@media (max-width: 820px) {
  .arch2-proof { grid-template-columns: 1fr; }
  .arch2-phone { max-width: 320px; }
}
