.sa-hero, .sa-page { --muted: #41465e; }
.hero.sa-hero {
  padding: 48px 0 26px;
  background: radial-gradient(ellipse at 86% 22%, rgba(115,56,255,.1), transparent 40%), radial-gradient(ellipse at 12% 72%, rgba(17,141,255,.07), transparent 40%), #fff;
}
.sa-hero .hero-grid { grid-template-columns: minmax(0, 1fr) 370px; gap: 26px 42px; align-items: center; }
.sa-hero-copy { min-width: 0; }
.sa-eyebrow { display: block; margin: 0 0 14px; color: var(--purple); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.sa-hero h1 { margin: 0; max-width: none; font-size: clamp(42px, 5.5vw, 76px); font-weight: 950; letter-spacing: -.045em; line-height: 1.02; }
.sa-hero h1 > span { display: block; margin-top: 12px; color: var(--purple); font-size: clamp(25px, 3vw, 39px); letter-spacing: -.025em; line-height: 1.15; }
.sa-lead { margin: 22px 0 0; max-width: 720px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.sa-lead strong { color: var(--ink); }
.sa-partnership { margin: 18px 0 0; color: var(--ink); font-size: 17px; font-weight: 800; line-height: 1.5; }
.sa-value { margin: 22px 0 0; color: var(--ink); font-size: clamp(22px, 2.35vw, 30px); font-weight: 900; line-height: 1.25; letter-spacing: -.025em; }
.sa-value > span { display: block; margin-top: 4px; color: var(--purple); }
.sa-cycle { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin: 20px 0 12px; color: #4b3c78; font-size: 13px; font-weight: 800; line-height: 1.6; }
.sa-cycle > span[aria-hidden] { color: #8c91ab; font-weight: 500; }
.sa-bigger-slot { display: inline-flex; align-items: center; min-width: 116px; min-height: 48px; padding-left: 4px; }
.sa-bigger { display: inline-block; color: var(--purple); font-size: 23px; font-weight: 950; letter-spacing: -.025em; transform: scale(.88); transform-origin: left center; }
.sa-cycle.is-scaled .sa-bigger { animation: sa-grow 1.1s cubic-bezier(.2,.75,.2,1) .5s both; }
@keyframes sa-grow { 0% { transform: scale(.88); } 70% { transform: scale(1.5); } 100% { transform: scale(1.4); } }
.sa-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sa-trial-badge { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; padding: 10px 14px; border: 1px solid #75d4aa; border-radius: 999px; background: #e6fff1; color: #075936; font-size: 14px; font-weight: 900; line-height: 1.3; text-align: center; text-decoration: none; transition: background .15s ease, box-shadow .15s ease; }
.sa-trial-badge:hover, .sa-trial-badge:focus-visible { background: #d2fbe4; box-shadow: 0 4px 14px rgba(7,89,54,.18); }
.sa-meet { gap: 12px; min-height: 52px; border-radius: 14px; font: inherit; font-weight: 850; cursor: pointer; box-shadow: 0 12px 28px rgba(115,56,255,.2); }
.sa-meet:focus-visible, .sa-text-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.sa-avatar-panel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; margin: 0; padding: 32px 18px 24px; border: 1px solid rgba(159,137,255,.35); border-radius: 30px; overflow: hidden; background: radial-gradient(ellipse at 50% 70%, rgba(30,211,219,.24), transparent 63%), radial-gradient(ellipse at 90% 10%, rgba(104,59,255,.28), transparent 68%), #101426; box-shadow: 0 24px 64px rgba(33,25,83,.18); }
.sa-avatar-panel::before { content: ""; position: absolute; width: 320px; height: 320px; top: 50px; border: 1px solid rgba(108,209,255,.13); border-radius: 50%; box-shadow: 0 0 0 26px rgba(108,209,255,.035), 0 0 0 55px rgba(108,209,255,.025); }
.sa-avatar-badge { position: relative; align-self: flex-start; margin-bottom: 16px; padding: 6px 11px; border: 1px solid rgba(156,180,235,.3); border-radius: 999px; color: #d8f1ff; background: rgba(9,14,30,.55); font-size: 11px; font-weight: 750; }
.sa-avatar-panel > img { position: relative; display: block; width: 100%; max-width: 340px; height: auto; filter: drop-shadow(0 14px 26px rgba(4,9,22,.28)); }
.sa-avatar-caption { position: relative; display: grid; gap: 4px; width: 100%; padding-top: 17px; border-top: 1px solid rgba(144,174,233,.22); text-align: center; }
.sa-avatar-caption strong { color: #fff; font-size: 24px; font-weight: 850; }
.sa-avatar-caption span { color: #b6c5df; font-size: 12px; }
.sa-product-intro { grid-column: 1 / -1; margin-top: 18px; padding-top: 32px; border-top: 1px solid var(--border); text-align: center; }
.sa-product-intro h2 { margin: 0; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.15; letter-spacing: -.025em; }
.sa-product-intro p { max-width: 800px; margin: 12px auto 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.sa-page-body { position: relative; padding-top: 0; }
.sa-page-body > .sa-section { padding: 48px 0; scroll-margin-top: 20px; }
.sa-page-body > .sa-section + .sa-section { border-top: 1px solid var(--border); }
.sa-section-number { display: block; margin-bottom: 10px; color: var(--purple); font: 800 11px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.sa-section > h2 { margin: 0 0 14px; font-size: clamp(25px, 3.4vw, 35px); line-height: 1.16; letter-spacing: -.025em; }
.sa-heading-tail { display: block; color: var(--purple); }
.sa-section > p { margin: 12px 0 0; color: var(--muted); line-height: 1.65; }
.sa-section > .sa-partnership { color: var(--ink); }
.sa-report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.sa-report { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(31,36,80,.05); overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.sa-report:hover { transform: translateY(-3px); border-color: rgba(115,56,255,.4); box-shadow: 0 14px 30px rgba(31,36,80,.12); }
.sa-report:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.sa-report > img { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 640; object-fit: cover; object-position: top; border-bottom: 1px solid var(--border); background: #f7f8fc; }
.sa-report-copy { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.sa-report-label { color: var(--purple); font: 800 10px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; }
.sa-report h3 { margin: 9px 0; font-size: 21px; line-height: 1.22; }
.sa-report-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.sa-report-tags { display: block; margin: 14px 0; color: #565174; font-size: 11px; font-weight: 700; }
.sa-report-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; color: var(--purple); font-size: 14px; font-weight: 850; border-top: 1px solid var(--border); }
.sa-section > .sa-report-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 20px; padding: 14px 16px; border-left: 4px solid var(--purple); border-radius: 8px; background: #f3efff; color: var(--ink); font-size: 16px; font-weight: 650; }
.sa-report-note strong { font-weight: 850; }
.sa-section > .sa-models { color: var(--ink); font-size: 16px; }
.sa-deliverables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 26px; margin: 22px 0 0; padding-left: 20px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.sa-section > .sa-section-close { color: var(--purple); font-weight: 850; }
.sa-prompts { display: grid; gap: 18px; margin-top: 24px; }
.sa-prompt-card { min-width: 0; }
.sa-prompt-card h3 { margin: 0 0 9px; color: var(--ink); font-size: 16px; }
.sa-prompt.use-case-user-prompt { width: 100%; padding: 18px; gap: 16px; border-left: 5px solid var(--purple); border-radius: 14px; align-items: start; background: #0d0e15; }
.sa-prompt .use-case-user-prompt-text { color: #00ff66; font: 500 13px/1.7 ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-wrap: anywhere; }
.sa-prompt .use-case-user-prompt-text::before { content: "> "; font-weight: 900; }
.sa-copy-button { padding: 6px 9px; min-height: 32px; border: 1px solid rgba(255,255,255,.28); border-radius: 7px; color: #e8efff; background: rgba(255,255,255,.08); font: 700 11px/1.4 ui-monospace, Consolas, monospace; cursor: pointer; }
.sa-copy-button:hover { background: rgba(255,255,255,.16); }
.sa-copy-button:focus-visible { outline: 3px solid #6fe3ff; outline-offset: 3px; }
.sa-copy-button.is-copied { color: #0d0e15; background: #00ff66; border-color: #00ff66; }
.sa-prompt-hint { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.sa-copy-status { position: absolute; top: 0; left: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sa-account-notice { margin-top: 18px; padding: 20px; border: 1px solid rgba(115,56,255,.23); border-left: 4px solid var(--purple); border-radius: 14px; background: #f7f4ff; }
.sa-account-notice strong { display: block; font-size: 17px; }
.sa-account-notice p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.sa-activation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.sa-activation-placeholder { min-width: 0; padding: 22px 16px; border: 1px dashed #a5a7bd; border-radius: 14px; background: #fafbff; }
.sa-activation-placeholder > span { display: block; margin-bottom: 12px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.sa-activation-placeholder > strong { font-size: 15px; line-height: 1.4; }
.sa-activation-placeholder p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.sa-text-link { color: var(--purple); font-size: 14px; font-weight: 800; }
.sa-evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.sa-evidence-grid > article { min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: #fafbff; }
.sa-evidence-grid h3 { margin: 0 0 10px; font-size: 16px; }
.sa-evidence-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.sa-work-together-title { margin: 24px 0 0; color: var(--ink); font-size: 18px; }
.sa-cycle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: scale-step; }
.sa-cycle-grid > li { min-width: 0; padding: 19px; border: 1px solid var(--border); border-radius: 14px; background: #fafbff; counter-increment: scale-step; }
.sa-cycle-grid > li::before { content: "0" counter(scale-step); display: block; margin-bottom: 12px; color: var(--purple); font: 800 12px/1.4 ui-monospace, Consolas, monospace; }
.sa-cycle-grid strong { font-size: 17px; }
.sa-cycle-grid p { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.sa-origin-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 24px 0; padding: 22px 12px; border-radius: 16px; background: #f3efff; text-align: center; }
.sa-origin-stats strong { display: block; color: var(--purple); font-size: 35px; letter-spacing: -.04em; }
.sa-origin-stats span { display: block; color: var(--muted); font-size: 12px; }
/* Origin: what the beta built, an arrow, and what it paid off on production day. */
.sa-origin-journey { grid-template-columns: minmax(0, 1.5fr) 120px minmax(0, 1fr); align-items: center; gap: 14px; padding: 22px 20px; background: linear-gradient(90deg, #f3efff 0%, #f3efff 55%, #eaf4ff 100%); }
.sa-origin-prep { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.sa-origin-caption { display: block; grid-column: 1 / -1; margin-bottom: 8px; color: var(--muted); font: 800 10px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.sa-origin-arrow { width: 100%; height: auto; }
.sa-origin-result { padding: 14px 10px; border: 2px solid var(--purple); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(115,56,255,.18); }
.sa-origin-stats .sa-origin-result strong { color: var(--purple); font: 900 clamp(38px, 4.4vw, 50px)/1 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: -.03em; }
.sa-origin-stats .sa-origin-result span { margin-top: 6px; color: var(--ink); font-size: 14px; font-weight: 800; }
/* Homepage hero: the production continuity line. */
.sa-production-line { margin: 2px 0 18px; padding-left: 14px; border-left: 3px solid var(--purple); color: var(--ink); font-size: 17px; font-weight: 750; line-height: 1.5; }
.sa-production-line strong { color: var(--purple); font-weight: 900; }
.sa-production-link { display: inline-block; margin-top: 4px; color: var(--purple); font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.sa-production-link:hover { color: var(--blue); }
.sa-production-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sa-production-more { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.5; }
.sa-production-more .sa-production-link { margin-top: 0; white-space: nowrap; }
/* Homepage hero: "do the work of:" leads into the cycle; then more air before the value and production lines. */
.sa-hero .sa-partnership-lead { margin-top: 24px; }
.sa-hero .sa-partnership-lead + .sa-cycle { margin: 10px 0 0; }
.sa-hero .sa-cycle + .sa-value { margin-top: 36px; }
.sa-hero .sa-production-line { margin: 44px 0 28px; }
.sa-section > .sa-watch-bridge { margin-top: 22px; color: var(--ink); font-size: clamp(21px, 2.4vw, 28px); line-height: 1.3; letter-spacing: -.015em; font-weight: 400; }
.sa-watch-bridge strong { color: var(--ink); font-weight: 900; }
.sa-watch-bridge a { color: var(--purple); font-size: 15px; font-weight: 800; white-space: nowrap; }
.sa-watch-bridge-more { display: block; margin-top: 6px; color: var(--muted); font-size: 17px; line-height: 1.55; letter-spacing: 0; }
/* The ScaleArchitect page (/scalearchitect). */
.sa-page-hero { padding: 44px 0 40px; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse at 86% 22%, rgba(115,56,255,.1), transparent 40%), radial-gradient(ellipse at 12% 72%, rgba(17,141,255,.07), transparent 40%), #fff; }
.sa-page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 26px 42px; align-items: center; }
.sa-page-hero-copy { min-width: 0; }
.sa-page-hero h1 { margin: 0; font-size: clamp(40px, 5.2vw, 70px); font-weight: 950; letter-spacing: -.045em; line-height: 1.02; }
.sa-page-hero h1 > span { display: block; margin-top: 12px; color: var(--purple); font-size: clamp(24px, 2.8vw, 36px); letter-spacing: -.025em; line-height: 1.15; }
.sa-proof-line { margin: 22px 0 0; max-width: 720px; color: var(--ink); font-size: clamp(20px, 2.1vw, 26px); font-weight: 900; line-height: 1.3; letter-spacing: -.02em; }
.sa-page-hero .sa-proof-line + .sa-lead { margin-top: 14px; }
.sa-page-hero .sa-hero-actions { justify-content: center; }
.sa-page-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 18px; }
.sa-page-jump a { padding: 7px 13px; border: 1px solid rgba(115,56,255,.3); border-radius: 999px; background: #f7f4ff; color: #4b2bb8; font-size: 13px; font-weight: 800; }
.sa-page-jump a:hover { box-shadow: 0 4px 14px rgba(115,56,255,.2); }
/* The differentiator: styled like the production watch brick. */
.sa-page-jump .sa-jump-prod { display: inline-flex; align-items: center; gap: 8px; border-color: #6fe3ff; background: radial-gradient(ellipse at 90% 10%, rgba(104,59,255,.45), transparent 70%), #101426; color: #fff; box-shadow: 0 0 0 3px rgba(111,227,255,.18), 0 8px 20px rgba(16,20,38,.25); }
.sa-page-jump .sa-jump-prod:hover { box-shadow: 0 0 0 3px rgba(111,227,255,.35), 0 10px 24px rgba(16,20,38,.3); }
/* Homepage hero: the avatar card opens the ScaleArchitect page. */
.sa-avatar-link { color: inherit; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.sa-avatar-link:hover { transform: translateY(-4px); box-shadow: 0 30px 72px rgba(33,25,83,.28); }
.sa-avatar-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.sa-page-jump a:focus-visible, .sa-pull-quote a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sa-section > h2 strong { color: var(--purple); }
.sa-section > h2 .sa-heading-tail { margin-top: 8px; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.3; }
.sa-page-body > .sa-production { margin: 18px 0; padding: 44px clamp(18px, 3.2vw, 36px); border: 1px solid rgba(115,56,255,.22); border-radius: 26px; background: radial-gradient(ellipse at 92% 8%, rgba(30,211,219,.12), transparent 45%), linear-gradient(135deg, #f4f0ff, #eef7ff); }
.sa-page-body > .sa-production + .sa-section { border-top: none; }
.sa-pull-quote { margin: 26px 0 0; }
.sa-pull-quote blockquote { margin: 0; padding: 18px 22px; border-left: 5px solid #e5484d; border-radius: 0 14px 14px 0; background: #fff; box-shadow: 0 8px 22px rgba(31,36,80,.06); }
.sa-pull-quote blockquote p { margin: 0; color: var(--ink); font-size: clamp(17px, 1.9vw, 21px); font-weight: 750; line-height: 1.45; }
.sa-pull-quote figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; }
.sa-pull-quote figcaption a { color: var(--purple); font-weight: 800; }
.sa-watch { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px; margin-top: 26px; padding: 28px; border-radius: 20px; background: radial-gradient(ellipse at 90% 10%, rgba(104,59,255,.32), transparent 60%), radial-gradient(ellipse at 10% 90%, rgba(30,211,219,.16), transparent 55%), #101426; color: #e8ecff; box-shadow: 0 18px 44px rgba(33,25,83,.18); }
.sa-watch-copy { min-width: 0; }
.sa-included-badge { display: inline-block; margin-left: 6px; padding: 5px 13px; border: 1px solid #75d4aa; border-radius: 999px; background: #e6fff1; color: #075936; font-size: 14px; font-weight: 900; letter-spacing: 0; line-height: 1.3; vertical-align: middle; }
.sa-watch h3 { margin: 0; color: #fff; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.25; letter-spacing: -.015em; }
.sa-watch-copy > p { margin: 12px 0 0; color: #c3cbe6; font-size: 15px; line-height: 1.65; }
.sa-watch-copy > .sa-watch-key { padding: 12px 14px; border-left: 4px solid #6fe3ff; border-radius: 0 10px 10px 0; background: rgba(111,227,255,.08); color: #fff; font-size: 16px; font-weight: 750; }
.sa-watch-steps { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.sa-watch-steps > li { display: flex; gap: 12px; align-items: center; min-width: 0; padding: 9px 14px; border: 1px solid rgba(156,180,235,.22); border-radius: 12px; background: rgba(255,255,255,.04); }
.sa-watch-steps > li > span { flex: 0 0 26px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--blue)); color: #fff; font-size: 13px; font-weight: 900; }
.sa-watch-steps strong { min-width: 0; color: #fff; font-size: 15px; line-height: 1.3; }
.sa-watch-flow { display: grid; align-content: center; gap: 22px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.sa-watch-flow > li { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 0 12px; padding: 12px 14px; border: 1px solid rgba(156,180,235,.22); border-radius: 14px; background: rgba(9,14,30,.55); }
.sa-watch-flow > li:not(:last-child)::after { content: "↓"; position: absolute; left: 50%; bottom: -21px; color: #8c91ab; font-size: 15px; line-height: 1; }
.sa-watch-flow > li > span { grid-row: 1 / span 2; align-self: center; color: #6fe3ff; font: 800 12px/1 ui-monospace, Consolas, monospace; }
.sa-watch-flow strong { color: #fff; font-size: 15px; }
.sa-watch-flow em { color: #9fb0d4; font-size: 12px; font-style: normal; line-height: 1.45; }
.sa-watch-flow > .sa-watch-flow-last { border-color: rgba(111,227,255,.55); background: rgba(111,227,255,.1); }
.sa-section > .sa-disaster { margin: 26px 0 0; color: var(--ink); font-size: clamp(30px, 4vw, 46px); font-weight: 950; line-height: 1.08; letter-spacing: -.035em; }
.sa-disaster > span { display: block; margin-top: 8px; color: var(--purple); font-size: clamp(16px, 1.8vw, 19px); font-weight: 850; letter-spacing: -.01em; line-height: 1.4; }
.sa-prompt-urgent h3 { color: #c4232a; }
.sa-prompt-urgent .sa-prompt-hint { font-size: 14px; }
.sa-prompt-urgent .sa-prompt.use-case-user-prompt { border-left-color: #e5484d; background: #1a0b0d; box-shadow: 0 0 0 1px rgba(229,72,77,.35), 0 8px 22px rgba(229,72,77,.18); }
.sa-prompt-urgent .sa-prompt .use-case-user-prompt-text { color: #ff6b6b; font-size: 17px; font-weight: 800; line-height: 1.6; white-space: pre-line; }
.sa-prompt-hint a { color: var(--purple); font-weight: 800; white-space: nowrap; }
.sa-chat { display: flex; gap: 12px; align-items: flex-start; margin: 26px 0 0; }
.sa-chat-avatar { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: #101426; box-shadow: 0 6px 16px rgba(16,20,38,.25); }
.sa-chat-body { flex: 1; min-width: 0; }
.sa-chat-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 13px; }
.sa-chat-meta strong { color: var(--ink); font-size: 14px; }
.sa-chat-meta span { color: var(--muted); }
.sa-chat-bubble { margin: 6px 0 0; padding: 18px; border-left: 5px solid var(--purple); border-radius: 14px; background: #0d0e15; box-shadow: 0 5px 12px rgba(13,14,21,.10); }
.sa-chat-bubble p { margin: 0; color: #00ff66; font: 500 14px/1.7 ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-wrap: anywhere; }
.sa-chat-bubble strong { color: #ff6b6b; font-weight: 800; }
.sa-chat figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.sa-chat figcaption a { color: var(--purple); font-weight: 800; }
.sa-chat figcaption a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sa-origin .sa-pull-quote blockquote { border-left-color: var(--purple); background: #f7f4ff; box-shadow: none; }
.sa-section > .sa-boundary { color: var(--ink); font-size: 14px; font-weight: 650; }
.sa-incident-title { margin: 36px 0 0; color: var(--ink); font-size: clamp(21px, 2.4vw, 27px); line-height: 1.25; letter-spacing: -.015em; scroll-margin-top: 20px; }
.sa-section > .sa-quote-note { font-size: 13px; font-style: italic; }
.sa-incident { position: relative; display: grid; gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.sa-incident > li { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 4px 18px; min-width: 0; }
.sa-incident > li::before { content: ""; position: absolute; top: 6px; bottom: -20px; left: 95px; width: 2px; background: rgba(115,56,255,.18); }
.sa-incident > li:last-child::before { display: none; }
.sa-incident-time { grid-row: 1 / span 2; padding-top: 1px; color: var(--purple); font: 800 11px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.sa-incident > li > strong { color: var(--ink); font-size: 16px; }
.sa-incident > li > .sa-incident-headline { font-size: 19px; }
.sa-incident-note { grid-column: 2; margin: 2px 0 6px; padding: 6px 10px; border-radius: 8px; background: #effcf3; color: #14532d; font-size: 14px; line-height: 1.5; }
.sa-incident-note > b { margin-right: 6px; padding: 1px 7px; border-radius: 999px; background: #16a34a; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.sa-incident-note-team { background: #eef4ff; color: #1e3a8a; }
.sa-incident-note-team > b { background: #2563eb; }
/* Each quote is a ScaleArchitect chat reply: his avatar, then a terminal-style bubble. */
.sa-incident blockquote { grid-column: 2; display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 0; }
.sa-incident blockquote::before { content: ""; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: #101426 url("/assets/agent-avatars/ScaleArchitect-v2.webp") center / cover no-repeat; box-shadow: 0 6px 14px rgba(16,20,38,.22); }
.sa-incident blockquote p { flex: 1; min-width: 0; margin: 0; padding: 14px 16px; border-left: 5px solid var(--purple); border-radius: 14px; background: #0d0e15; color: #00ff66; font: 500 13.5px/1.7 ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-wrap: anywhere; box-shadow: 0 5px 12px rgba(13,14,21,.10); }
.sa-incident blockquote code { padding: 1px 6px; background: rgba(255,255,255,.12); color: #fff; font-size: 1em; }
.sa-incident-warn blockquote p { font-size: 17px; border-left-color: #e5484d; background: #1a0b0d; color: #ff6b6b; font-weight: 700; box-shadow: 0 0 0 1px rgba(229,72,77,.35), 0 8px 22px rgba(229,72,77,.18); }
.sa-incident-do blockquote p { border-left-color: #16a34a; background: #07190e; color: #4ade80; font-weight: 700; box-shadow: 0 0 0 1px rgba(22,163,74,.4), 0 8px 22px rgba(22,163,74,.18); }
/* The team's own message opens the story: red, with a TEAM badge instead of his avatar. */
.sa-incident > .sa-incident-call > strong { color: #c4232a; }
.sa-incident-call blockquote p { border-left-color: #e5484d; background: #1a0b0d; color: #ff6b6b; font-size: 17px; font-weight: 800; white-space: pre-line; box-shadow: 0 0 0 1px rgba(229,72,77,.35), 0 8px 22px rgba(229,72,77,.18); }
.sa-incident-call blockquote p::before { content: "> "; }
.sa-incident-team blockquote::before, .sa-incident-call blockquote::before { content: "TEAM"; display: grid; place-items: center; background: #2563eb; color: #fff; font: 900 10px/1 ui-monospace, Consolas, monospace; letter-spacing: .06em; }
.sa-incident-team blockquote p { border-left-color: #2563eb; background: #0b1224; color: #cfe0ff; white-space: pre-line; }
.sa-incident-team blockquote p::before { content: "> "; }
.sa-incident > .sa-incident-warn > strong { color: #c4232a; }
.sa-incident > .sa-incident-do > strong { color: #137a3a; }
.sa-danger { color: #d1242f; font-weight: 900; }
.sa-success { color: #15803d; font-weight: 900; }
.sa-alert-sign { margin-right: 4px; }
.sa-incident code { padding: 1px 6px; border-radius: 6px; background: rgba(16,18,41,.07); color: var(--ink); font: 700 .9em/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; white-space: nowrap; }
.sa-page-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; margin: 8px 0 48px; padding: 30px 22px; border-radius: 22px; background: linear-gradient(135deg, #f2edff, #edf7ff); text-align: center; }
.sa-page-end > strong { flex-basis: 100%; font-size: clamp(20px, 2.4vw, 26px); }
@media (max-width: 1000px) {
  .sa-hero .hero-grid, .sa-page-hero-grid { grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; }
  .sa-watch { grid-template-columns: minmax(0, 1fr); }
  .sa-hero h1 { font-size: clamp(42px, 5.2vw, 60px); }
}
@media (max-width: 800px) {
  .sa-hero .hero-grid, .sa-page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .sa-avatar-panel { width: min(100%, 420px); justify-self: center; }
  .sa-hero h1 { font-size: clamp(36px, 8vw, 65px); }
}
@media (max-width: 600px) {
  .hero.sa-hero { padding-top: 25px; }
  .sa-lead { font-size: 16px; }
  .sa-partnership { font-size: 15px; }
  .sa-meet { width: 100%; }
  .sa-avatar-panel { width: min(100%, 350px); padding-top: 24px; }
  .sa-production-line { font-size: 15px; }
  .sa-page-hero { padding: 26px 0 30px; }
  .sa-page-body > .sa-section { padding: 34px 0; }
  .sa-page-body > .sa-production { padding: 30px 16px; }
  .sa-incident > li { grid-template-columns: minmax(0, 1fr); }
  .sa-incident > li::before { display: none; }
  .sa-incident-time { grid-row: auto; }
  .sa-incident-note, .sa-incident blockquote { grid-column: auto; }
  .sa-watch { padding: 20px 16px; }
  .sa-chat-avatar { flex-basis: 38px; width: 38px; height: 38px; border-radius: 11px; }
  .sa-incident code { white-space: normal; }
  .sa-incident blockquote::before { flex-basis: 32px; width: 32px; height: 32px; border-radius: 10px; }
  .sa-incident blockquote p { font-size: 12.5px; }
  .sa-incident-call blockquote p, .sa-incident-warn blockquote p, .sa-prompt-urgent .sa-prompt .use-case-user-prompt-text { font-size: 14px; }
  .sa-report-grid, .sa-activation-grid, .sa-evidence-grid, .sa-cycle-grid, .sa-deliverables { grid-template-columns: minmax(0, 1fr); }
  .sa-prompt.use-case-user-prompt { padding: 15px 12px; gap: 9px; }
  .sa-prompt .use-case-user-prompt-text { font-size: 12px; }
  .sa-origin-stats { padding-inline: 8px; gap: 6px; }
  .sa-origin-stats strong { font-size: 30px; }
  .sa-origin-stats span { font-size: 10px; }
  .sa-origin-journey { grid-template-columns: minmax(0, 1fr); padding: 18px 12px; background: linear-gradient(180deg, #f3efff 0%, #f3efff 50%, #eaf4ff 100%); }
  .sa-origin-arrow { width: 90px; justify-self: center; transform: rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .sa-bigger, .sa-cycle.is-scaled .sa-bigger { animation: none; transform: scale(1.4); }
  .sa-report { transition: none; }
  .sa-report:hover { transform: none; }
}
/* ScaleArchitect page: the WebLoad Pro and Cloud Runs cards, as on the homepage (scoped here so the homepage keeps its own). */
.sa-section > .sa-pricing-key { color: var(--ink); font-size: 18px; line-height: 1.55; }
.sa-pricing-key strong { color: var(--purple); }
.sa-pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 920px; margin: 26px auto 0; }
.sa-pricing .pricing-card { min-width: 0; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.sa-pricing .pricing-card h3 { margin: 0; font-size: 24px; line-height: 1.08; }
.sa-pricing .pricing-card p { margin: 0; color: var(--muted); }
.sa-pricing .pricing-card ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.sa-pricing .pricing-card li { margin: 9px 0; }
.sa-pricing .pricing-card strong { color: var(--ink); }
.sa-pricing .price { margin: 10px 0; font-size: 40px; font-weight: 1000; background: linear-gradient(135deg, var(--purple), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sa-pricing .pricing-card-pro { border-color: #7462d6; background: radial-gradient(ellipse at 100% 0%, rgba(115,56,255,.45), transparent 65%), linear-gradient(135deg, #14172f, #14294a); box-shadow: 0 18px 42px rgba(50,36,112,.2); }
.sa-pricing .pricing-card-pro h3, .sa-pricing .pricing-card-pro strong { color: #fff; }
.sa-pricing .pricing-card-pro .price { color: #fff; background: none; }
.sa-pricing .pricing-card-pro p { color: #d3dcf2; }
.sa-pricing .pricing-card-pro ul { color: #e3e9fa; }
.sa-pricing .pricing-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.sa-pricing .pricing-pro-label { display: inline-block; padding: 6px 10px; border: 1px solid rgba(111,227,255,.4); border-radius: 999px; background: rgba(111,227,255,.12); color: #89edff; font-size: 12px; font-weight: 850; }
@media (max-width: 600px) {
  .sa-pricing-grid { grid-template-columns: minmax(0, 1fr); }
  .sa-section > .sa-pricing-key { font-size: 16px; }
}
/* ScaleArchitect for Production: the two emailed reports, as smaller RCA cards. */
.sa-email-reports { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(115,56,255,.18); text-align: center; }
.sa-email-grid .sa-report { text-align: left; }
.sa-email-reports > h3 { margin: 0; color: var(--ink); font-size: clamp(21px, 2.4vw, 27px); line-height: 1.25; letter-spacing: -.015em; }
.sa-email-reports > p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.sa-email-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 620px; margin: 18px auto 0; }
.sa-report-small .sa-report-copy { padding: 14px 16px; }
.sa-report-small h4 { margin: 6px 0; font-size: 15px; }
.sa-report-small .sa-report-copy p { font-size: 12px; line-height: 1.5; }
.sa-report-small .sa-report-action { margin-top: 10px; padding-top: 10px; font-size: 13px; }
.sa-report-label-warn { color: #b45309; }
.sa-report-label-alarm { color: #c4232a; }
@media (max-width: 600px) {
  .sa-email-grid { grid-template-columns: minmax(0, 1fr); }
}
