/* Final typography and density pass. This file intentionally loads after route scripts. */
:root{--page-title-max:4.25rem;--section-title-max:3.25rem}
body{overflow-wrap:anywhere}
button,a,input,select,textarea{overflow-wrap:normal;word-break:normal}

/* External workspaces show customer-facing status, never infrastructure setup notes. */
.buyer-assurance{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;margin-bottom:34px;padding:18px 20px;border:1px solid #d8d4cb;border-radius:16px;background:#f8f6ff}
.buyer-assurance b{white-space:nowrap}.buyer-assurance span{color:#5f5a65;line-height:1.45}.buyer-assurance a{color:#17131c;font-weight:750;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}

/* Stable actions and compact workspace fallbacks. */
.notification-actions{justify-content:flex-end;min-width:max-content}
.notification-actions button,.notification-actions a{display:inline-flex!important;align-items:center;justify-content:center;min-width:max-content!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;line-height:1.2!important}
.au-workspace-head{min-height:0!important;padding:24px 28px!important}
.au-workspace-head h2{font-size:clamp(1.8rem,3vw,2.4rem)!important}
.au-workspace-grid>section{min-height:0!important}
.au-workspace-grid .au-empty{padding:28px!important;min-height:0!important}
.au-training-row{min-height:0!important}
@media(max-width:760px){.buyer-assurance{grid-template-columns:1fr}.buyer-assurance b,.buyer-assurance a{white-space:normal}}

/* Public narrative pages */
body.sx-theme .buyer-hero h1,
body.sx-theme .sx-home-copy h1,
body.sx-theme .auv-hero h1,
.buyer-hero h1,
.hero h1{
  max-width:58rem!important;
  font-size:clamp(3.1rem,5.4vw,var(--page-title-max))!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
  text-wrap:balance;
}
.buyer-hero-grid{gap:clamp(2.5rem,5vw,4.5rem)!important;padding:clamp(3.75rem,6vw,5.25rem) 0!important}
body.sx-theme .sx-home-hero{min-height:auto!important;padding:clamp(3.75rem,6vw,5.5rem) 0!important}

/* Route-level page titles */
.page-hero h1,.market-hero h1,.directory-hero h1,.help-hero h1,
.provider-market-copy h1,.builder-hero-copy h1,.auth-intro h1,
.account-heading h1,.workspace-head h1,.wf-head h1,.ops-top h1,
.om-hero h1,.auth-story-v2 h1{
  font-size:clamp(2.6rem,4.6vw,var(--page-title-max))!important;
  line-height:1.02!important;
  letter-spacing:-.05em!important;
  text-wrap:balance;
}

/* Section hierarchy */
body.sx-theme .auv-section-head h2,body.sx-theme .section-head h2,
.auv-section-head h2,.section-head h2,.builder-section-intro h2,
.help-section h2,.support-intake h2,.provider-section h2{
  font-size:clamp(2rem,3.6vw,var(--section-title-max))!important;
  line-height:1.06!important;
  letter-spacing:-.04em!important;
}

/* Keep long prose readable and layouts visually compact. */
.buyer-hero p,.auv-lead,.sx-home-copy>p,.builder-lede,.page-hero p,
.directory-hero p,.help-hero>div>p{font-size:clamp(1rem,1.35vw,1.2rem)!important;line-height:1.58!important}
body.sx-theme .auv-section,body.sx-theme .section,.auv-section,.section{padding-top:clamp(3.75rem,6vw,5.5rem)!important;padding-bottom:clamp(3.75rem,6vw,5.5rem)!important}
.builder-story-section{padding-top:clamp(3.75rem,6vw,5.25rem)!important;padding-bottom:clamp(3.75rem,6vw,5.25rem)!important}
.agent-card h3,.auv-card h3,.provider-section h2{overflow-wrap:normal;word-break:normal}

@media(max-width:900px){
  :root{--page-title-max:3.75rem;--section-title-max:2.85rem}
  .buyer-hero-grid{grid-template-columns:1fr!important}
}
@media(max-width:620px){
  :root{--page-title-max:2.75rem;--section-title-max:2.25rem}
  body.sx-theme .buyer-hero h1,body.sx-theme .sx-home-copy h1,body.sx-theme .auv-hero h1,
  .buyer-hero h1,.hero h1,.page-hero h1,.market-hero h1,.directory-hero h1,
  .help-hero h1,.provider-market-copy h1,.builder-hero-copy h1,.wf-head h1,.om-hero h1{
    font-size:clamp(2.35rem,11vw,var(--page-title-max))!important;
    line-height:1.02!important;
  }
  .buyer-hero-grid{padding:3rem 0!important}
}

/* Buyer-first homepage: scenario -> value -> solution -> evidence -> Builder. */
.buyer-outcome-home{background:#fbfaf7;color:#101010}
.outcome-hero{background:radial-gradient(circle at 82% 18%,#eee9ff 0,transparent 30%),#fbfaf7;border-bottom:1px solid #dedbd4}
.buyer-outcome-home .buyer-hero-grid{grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);align-items:center}
.buyer-outcome-home .outcome-hero h1{max-width:800px!important;font-size:clamp(3rem,5.5vw,5.1rem)!important}
.buyer-outcome-panel{padding:30px;border:1px solid #d9d5cc;border-radius:28px;background:rgba(255,255,255,.82);box-shadow:0 24px 70px rgba(53,42,30,.08)}
.outcome-step{display:grid;grid-template-columns:42px 1fr;gap:12px;padding:15px 0;border-bottom:1px solid #e3e0da}
.outcome-step:last-child{border-bottom:0}.outcome-step>b{color:#786ce7;font-size:12px;letter-spacing:.08em}
.outcome-step span{display:grid;gap:3px}.buyer-outcome-panel .outcome-step strong{color:#111!important;font-size:16px}.outcome-step small{color:#6c6963;line-height:1.45}
.buyer-scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.buyer-scenario-grid>a,.solution-pattern-grid>a{position:relative;display:flex;min-height:255px;flex-direction:column;padding:28px;border:1px solid #dedbd4;border-radius:22px;background:#fff;color:#111;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.buyer-scenario-grid>a:hover,.solution-pattern-grid>a:hover{transform:translateY(-5px);border-color:#afa7f1;box-shadow:0 20px 44px rgba(42,32,20,.1)}
.buyer-scenario-grid>a>span,.solution-pattern-grid>a>b{color:#786ce7;font-size:12px;letter-spacing:.1em}
.buyer-scenario-grid h3,.solution-pattern-grid h3{margin:26px 0 10px;font-size:clamp(1.35rem,2vw,1.75rem);line-height:1.08;letter-spacing:-.035em}
.buyer-scenario-grid p,.solution-pattern-grid p{margin:0;color:#4f4c47;line-height:1.55}
.buyer-scenario-grid small{margin-top:18px;color:#111;font-weight:650}
.buyer-scenario-grid em{margin-top:auto;padding-top:26px;color:#77726c;font-size:12px;font-style:normal}
.solution-pattern-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.solution-pattern-grid>a{min-height:235px;background:#121212;color:#fff;border-color:#282828}
.solution-pattern-grid>a:hover{border-color:#8d81ee;box-shadow:0 20px 46px rgba(0,0,0,.2)}
.solution-pattern-grid p{color:#bcb9b2}.solution-pattern-grid a>span{margin-top:auto;padding-top:22px;color:#d7d0ff;font-size:13px;font-weight:700}
.home-case-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.builder-case-grid article{display:flex;min-height:270px;flex-direction:column;padding:26px;border:1px solid #dedbd4;border-radius:20px;background:#fff}
.builder-case-grid article>span{color:#6f65d8;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.builder-case-grid article h3{margin:20px 0 10px;font-size:1.3rem;line-height:1.16;letter-spacing:-.025em}
.builder-case-grid article p{color:#57534e;line-height:1.55}.builder-case-grid article a{margin-top:auto;padding-top:20px;color:#111;font-weight:750;text-decoration:underline;text-underline-offset:4px}
.buyer-procurement-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #d9d5cc;border-left:1px solid #d9d5cc}
.buyer-procurement-path article{min-height:190px;padding:24px;border-right:1px solid #d9d5cc;border-bottom:1px solid #d9d5cc;background:#fff}.buyer-procurement-path b{color:#786ce7;font-size:12px}.buyer-procurement-path h3{margin:34px 0 8px;font-size:1.4rem}.buyer-procurement-path p{color:#68645e}

/* Marketplace result count is metadata, not a page headline. */
#count{font-size:clamp(1.05rem,1.7vw,1.35rem)!important;line-height:1.25!important;letter-spacing:-.015em!important;font-weight:650!important}
.market-toolbar h2,.market-results-head h2{font-size:clamp(1.15rem,1.8vw,1.5rem)!important;line-height:1.25!important}

@media(max-width:980px){
  .buyer-outcome-home .buyer-hero-grid{grid-template-columns:1fr}
  .buyer-scenario-grid,.solution-pattern-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-case-grid,.buyer-procurement-path{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .buyer-scenario-grid,.solution-pattern-grid,.home-case-grid,.buyer-procurement-path{grid-template-columns:1fr}
  .buyer-scenario-grid>a,.solution-pattern-grid>a,.builder-case-grid article{min-height:auto}
  .buyer-outcome-panel{padding:22px;border-radius:20px}
}

/* Outcome-led homepage narrative, inspired by best-in-class enterprise AI storytelling. */
.buyer-story-v2 .outcome-hero{overflow:hidden;background:radial-gradient(circle at 77% 20%,#e6e0ff 0,transparent 31%),linear-gradient(135deg,#fbfaf7 0%,#f7f4ec 58%,#f5f1ff 100%)}
.buyer-story-v2 .buyer-hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);min-height:680px}
.buyer-story-v2 .buyer-hero-message h1{max-width:760px!important;font-size:clamp(3.4rem,5.8vw,5.7rem)!important;line-height:.94!important}
.buyer-problem-search{max-width:720px;margin:28px 0 18px}.buyer-problem-search>label{display:block;margin-bottom:9px;color:#34312e;font-size:13px;font-weight:750}
.buyer-problem-search>div{display:grid;grid-template-columns:1fr auto;padding:6px;border:1px solid #c9c4ba;border-radius:16px;background:#fff;box-shadow:0 14px 35px rgba(40,32,20,.07)}
.buyer-problem-search input{min-width:0;padding:15px 16px;border:0;background:transparent;font:inherit;color:#111;outline:none}.buyer-problem-search button{padding:0 22px;border:0;border-radius:11px;background:#111;color:#fff;font-weight:750;cursor:pointer}
.outcome-console{position:relative;overflow:hidden;min-height:590px;border:1px solid rgba(17,17,17,.14);border-radius:30px;background:#101010;color:#fff;box-shadow:0 32px 80px rgba(35,25,15,.2)}
.outcome-console:before{position:absolute;inset:-40% -20% auto;height:360px;background:radial-gradient(circle,rgba(119,102,255,.2),transparent 68%);content:'';pointer-events:none}
.outcome-console>header{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:19px 22px 15px;color:#c7c3bc;font-size:10px;font-weight:800;letter-spacing:.1em}.outcome-console>header span{display:flex;align-items:center;gap:9px}.outcome-console>header i{width:8px;height:8px;border-radius:50%;background:#72db9a;box-shadow:0 0 0 5px rgba(114,219,154,.1)}.outcome-console>header small{color:#77736d;font-size:10px;letter-spacing:.04em}
.outcome-console-tabs{position:relative;z-index:2;display:flex;gap:5px;padding:0 18px 14px;border-bottom:1px solid #2b2b2b}.outcome-console-tabs button{padding:8px 11px;border:1px solid transparent;border-radius:999px;background:transparent;color:#88847d;font:700 11px/1 inherit;cursor:pointer;transition:.22s ease}.outcome-console-tabs button:hover,.outcome-console-tabs button:focus-visible,.outcome-console-tabs button.active{border-color:#49454f;background:#29252f;color:#fff;outline:0}
.outcome-console-stage{position:relative;min-height:466px}.outcome-console-stage article{position:absolute;inset:0;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(205px,.92fr);gap:12px;padding:18px;visibility:hidden;opacity:0;transform:translateY(10px) scale(.99);transition:opacity .45s ease,transform .45s ease,visibility .45s}.outcome-console-stage article.active{visibility:visible;opacity:1;transform:none}
.outcome-story,.outcome-reasoning{min-width:0;border:1px solid #302f32;border-radius:18px;background:rgba(21,21,22,.86);backdrop-filter:blur(14px)}.outcome-story{padding:20px}.outcome-story>span{color:#aaa0ff;font-size:10px;font-weight:850;letter-spacing:.12em}.outcome-story h2{margin:15px 0 19px;color:#fff!important;font-size:clamp(1.65rem,2.4vw,2.4rem)!important;line-height:1.02!important;letter-spacing:-.045em}
.outcome-person{display:grid;gap:4px;padding:12px 13px;border-radius:12px;background:#1a1a1b}.outcome-person small{color:#7f7b75;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.outcome-person strong{font-size:12px}.outcome-person em{color:#aaa59e;font-size:11px;font-style:normal}
.outcome-chat{display:grid;gap:8px;margin-top:14px}.outcome-chat p{max-width:91%;margin:0;padding:10px 12px;border-radius:12px 12px 12px 3px;background:#2b2a2d;color:#e7e4df;font-size:12px;line-height:1.42}.outcome-chat p:last-child{justify-self:end;border-radius:12px 12px 3px 12px;background:#ddd8ff;color:#17141d}
.outcome-reasoning{display:flex;flex-direction:column;padding:17px}.reasoning-head{display:flex;align-items:center;justify-content:space-between}.reasoning-head span{font-size:11px;font-weight:800}.reasoning-head b{padding:5px 8px;border-radius:999px;background:rgba(114,219,154,.1);color:#86e6a7;font-size:9px;text-transform:uppercase;letter-spacing:.07em}.outcome-reasoning ol{display:grid;gap:0;margin:14px 0;padding:0;list-style:none}.outcome-reasoning li{position:relative;display:grid;grid-template-columns:20px 1fr;gap:7px;padding:9px 0;color:#beb9b2;font-size:10px;line-height:1.35;opacity:0;animation:reasonStep 8.5s infinite;animation-delay:calc(var(--step) * .8s)}.outcome-reasoning li i{display:grid;width:17px;height:17px;place-items:center;border-radius:50%;background:#2d4134;color:#8ee8ad;font-size:9px;font-style:normal}.outcome-reasoning li+li:before{position:absolute;left:8px;top:-7px;width:1px;height:10px;background:#3b3a3d;content:''}
.supervisor-check{display:grid;gap:5px;padding:10px;border:1px solid #443f52;border-radius:11px;background:#211f28}.supervisor-check span,.outcome-result small{color:#9189cf;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.supervisor-check strong{color:#e6e1ff;font-size:10px;line-height:1.35}.outcome-result{display:grid;gap:5px;margin-top:auto;padding-top:14px}.outcome-result strong{color:#fff;font-size:15px;line-height:1.15}.outcome-result span{color:#807c76;font-size:9px}
.outcome-console-flow{display:flex;align-items:center;gap:9px;padding:14px 22px;border-top:1px solid #2b2b2b;color:#716d67;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.07em}.outcome-console-flow span.active{color:#aaa0ff}.outcome-console-flow b{height:1px;flex:1;background:linear-gradient(90deg,#6f61dc,#383838);background-size:200% 100%;animation:flowPulse 2.4s linear infinite}
@keyframes reasonStep{0%,8%{opacity:0;transform:translateY(5px)}16%,88%{opacity:1;transform:none}100%{opacity:.45}}@keyframes flowPulse{to{background-position:-200% 0}}
.buyer-proof-ribbon{border-top:1px solid #dfdbd3;border-bottom:1px solid #dfdbd3;background:#fff}.buyer-proof-ribbon>.container{display:grid;grid-template-columns:repeat(4,1fr)}.buyer-proof-ribbon .container>div{display:grid;grid-template-columns:34px 1fr;gap:12px;padding:23px;border-right:1px solid #e3e0da}.buyer-proof-ribbon .container>div:last-child{border-right:0}.buyer-proof-ribbon b{color:#7569df;font-size:11px}.buyer-proof-ribbon span{display:grid;gap:3px}.buyer-proof-ribbon strong{font-size:13px}.buyer-proof-ribbon small{color:#77716a}
.use-case-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.use-case-grid>a{display:flex;min-height:330px;flex-direction:column;padding:25px;border:1px solid #dedbd4;border-radius:20px;background:#fff;color:#111;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}.use-case-grid>a:hover{transform:translateY(-5px);border-color:#a89fec;box-shadow:0 20px 45px rgba(38,30,20,.09)}
.use-case-number{color:#7569df;font-size:11px;font-weight:850}.use-case-grid h3{margin:35px 0 12px;font-size:1.45rem;line-height:1.08;letter-spacing:-.035em}.use-case-grid p{margin:0;color:#55514b;line-height:1.55}.use-case-kpi{display:grid;gap:6px;margin-top:auto;padding-top:24px}.use-case-kpi span{color:#8a857d;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.use-case-kpi strong{font-size:12px;line-height:1.45}.use-case-grid>a>small{margin-top:16px;color:#7569df;font-weight:750}
.evidence-impact{background:#111;color:#fff}.evidence-impact .section-head h2,.evidence-impact .section-head p{color:#fff!important}.evidence-impact .section-head p{color:#b8b3ab!important}.impact-case-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.impact-case-grid article{display:flex;min-height:360px;flex-direction:column;padding:26px;border:1px solid #343434;border-radius:20px;background:#181818}.impact-metric{display:grid;gap:2px;padding-bottom:24px;border-bottom:1px solid #353535}.impact-metric strong{color:#a69cff;font-size:clamp(2.5rem,4vw,4rem);line-height:1;letter-spacing:-.06em}.impact-metric span{color:#96918a;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.impact-case-grid h3{margin:26px 0 10px;color:#fff;font-size:1.3rem;line-height:1.15}.impact-case-grid p{color:#b9b4ac;line-height:1.55}.impact-case-grid a{margin-top:auto;padding-top:22px;color:#fff;font-size:13px;font-weight:750;text-decoration:underline;text-underline-offset:4px}
.match-copy ul{display:grid;gap:9px;margin:24px 0 0;padding:0;list-style:none}.match-copy li{position:relative;padding-left:22px;color:#4e4a45}.match-copy li:before{content:'✓';position:absolute;left:0;color:#7569df;font-weight:850}.match-form>small{color:#746f68;line-height:1.4}
.buyer-final-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.buyer-final-grid>div{padding:clamp(28px,4vw,52px);border:1px solid #d9d5cc;border-radius:24px;background:#fff}.buyer-final-grid>div:last-child{background:#141414;color:#fff}.buyer-final-grid h2{margin:22px 0 14px;font-size:clamp(2rem,3vw,3rem);line-height:1.02;letter-spacing:-.045em}.buyer-final-grid>div:last-child h2{color:#fff}.buyer-final-grid p{margin-bottom:28px;color:#5d5851;line-height:1.6}.buyer-final-grid>div:last-child p{color:#bcb7af}
@media(max-width:1050px){.buyer-story-v2 .buyer-hero-grid{grid-template-columns:1fr}.outcome-console{min-height:590px}.use-case-grid,.impact-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.buyer-story-v2 .buyer-hero-message h1{font-size:clamp(2.65rem,13vw,4rem)!important}.buyer-problem-search>div{grid-template-columns:1fr}.buyer-problem-search button{padding:14px}.buyer-proof-ribbon>.container,.use-case-grid,.impact-case-grid,.buyer-final-grid{grid-template-columns:1fr}.buyer-proof-ribbon .container>div{border-right:0;border-bottom:1px solid #e3e0da}.outcome-console{min-height:850px}.outcome-console>header small{display:none}.outcome-console-tabs{overflow-x:auto}.outcome-console-tabs button{white-space:nowrap}.outcome-console-stage{min-height:710px}.outcome-console-stage article{grid-template-columns:1fr}.outcome-reasoning{min-height:300px}}
@media(prefers-reduced-motion:reduce){.outcome-reasoning li,.outcome-console-flow b{animation:none}.outcome-console-stage article{transition:none}}
