/* Quiet surfaces for the existing story and contact-flow components.
   Behaviour, state selectors and animated SVG geometry remain unchanged. */
body.as-clean .as-story,
body.as-clean .sn-section {
  background: #ffffff;
  color: #193123;
  padding: 90px 0;
  border-color: #dedede;
}
body.as-clean .as-story-wrap {
  width: min(1232px, calc(100% - 64px));
  max-width: 1232px;
}
body.as-clean .as-story-heading {
  max-width: none;
  margin: 0 0 42px;
  text-align: left;
}
body.as-clean .as-story .as-overline,
body.as-clean .sn-heading .nx-kicker {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1.6;
  color: #7e7e7e;
  margin-bottom: 18px;
}
body.as-clean .as-story .as-story-heading h2,
body.as-clean .nx-page .sn-heading h2 {
  margin: 0 0 20px;
  font-size: clamp(33px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -.045em;
  font-weight: 400;
  color: #193123;
}
body.as-clean .as-story .as-story-heading h2 span,
body.as-clean .nx-page .sn-heading h2 > span,
body.as-clean .as-scenarios-heading h3 span { color: #7e7e7e; }
body.as-clean .as-story .as-story-heading p,
body.as-clean .nx-page .sn-heading p {
  max-width: 700px;
  margin: 0;
  color: #5d7161;
  font-size: 15px;
  line-height: 1.75;
}
body.as-clean .as-story .as-heading-split,
body.as-clean .sn-heading {
  grid-template-columns: 1.15fr .85fr;
  gap: 68px;
  align-items: end;
}
body.as-clean .as-story .as-heading-split h2,
body.as-clean .nx-page .sn-heading h2 { margin-bottom: 0; }
body.as-clean .as-mini-label {
  color: #7e7e7e;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .025em;
  font-weight: 400;
}
body.as-clean .as-story h3,
body.as-clean .as-story h4 { color: #193123; font-weight: 400; }

/* Three connected observations instead of three floating cards. */
body.as-clean .as-friction-grid {
  gap: 1px;
  margin-bottom: 30px;
  border: 1px solid #dedede;
  border-radius: 6px;
  background: #dedede;
  overflow: clip;
}
body.as-clean .as-friction-grid article {
  padding: 30px;
  border: 0;
  border-radius: 0;
  background: #f9f9f9;
}
body.as-clean .as-friction-visual {
  height: 130px;
  margin-bottom: 26px;
  border: 1px solid #dedede;
  border-radius: 4px;
  background: #ffffff;
}
body.as-clean .as-friction-grid h3 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -.035em;
  margin: 13px 0 15px;
}
body.as-clean .as-story .as-friction-grid p {
  font-size: 13px;
  line-height: 1.75;
  color: #5d7161;
}
body.as-clean .as-scan { color: #7e7e7e; }
body.as-clean .as-scan b { color: #193123; }
body.as-clean .as-scan > div i { background: #e1e3da; }
body.as-clean .as-journey-mini > span {
  background: #fff;
  border-color: #dedede;
  border-radius: 4px;
  color: #5d7161;
}
body.as-clean .as-journey-mini .as-muted-chip { color: #7e7e7e; }
body.as-clean .as-journey-mini > i,
body.as-clean .as-handoff-mini { color: #5d7161; }
body.as-clean .as-handoff-mini i { border-color: #dedede; }

/* The working website preview stays intact inside one neutral panel. */
body.as-clean .as-presence-stage {
  border-color: #dedede;
  border-radius: 6px;
  background: #ffffff;
}
body.as-clean .as-stage-tabs {
  gap: 4px;
  padding: 12px 16px;
  background: #f9f9f9;
  border-bottom-color: #dedede;
}
body.as-clean .as-stage-tabs button {
  padding: 12px 17px;
  font-weight: 400;
  font-size: 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #7e7e7e;
}
body.as-clean .as-stage-tabs button[aria-selected=true] {
  background: #fff;
  border-color: #dedede;
  color: #193123;
}
body.as-clean .as-presence-panel { min-height: 545px; }
body.as-clean .as-presence-copy { padding: 48px 42px; }
body.as-clean .as-story .as-presence-copy .as-overline {
  font-size: 10px;
  margin-bottom: 18px;
}
body.as-clean .as-presence-copy h3 {
  font-size: 33px;
  line-height: 1.15;
  letter-spacing: -.04em;
  margin-bottom: 22px;
}
body.as-clean .as-story .as-presence-copy > p {
  font-size: 14px;
  line-height: 1.75;
  color: #5d7161;
}
body.as-clean .as-presence-copy ul { font-size: 12px; color: #5d7161; gap: 13px; }
body.as-clean .as-story a.as-story-link { color: #193123; border-bottom-color: #dedede; }
body.as-clean .as-browser-scene {
  background: #f0efeb;
  border-left: 1px solid #dedede;
}
body.as-clean .as-browser {
  border-color: #dedede;
  border-radius: 5px;
  box-shadow: 0 10px 26px -16px #28341c30;
}
body.as-clean .as-browser-chrome { background: #ffffff; border-bottom-color: #dedede; }
body.as-clean .as-browser-chrome i { background: #dedede; }
body.as-clean .as-browser-chrome span,
body.as-clean .as-browser-brand > span { color: #7e7e7e; }
body.as-clean .as-browser-photo > span { border-radius: 3px; color: #193123; }
body.as-clean .as-browser-body h4 { color: #193123; font-weight: 400; }
body.as-clean .as-preview-tags { color: #5d7161; }
body.as-clean .as-preview-tags span { border-color: #dedede; border-radius: 3px; }
body.as-clean .as-preview-button { background: #252b20; border-radius: 4px; }
body.as-clean .as-browser-callout {
  border-color: #dedede;
  border-radius: 4px;
  box-shadow: 0 4px 12px #29361b0a;
  background: #fff;
}
body.as-clean .as-callout-icon { border-radius: 4px; background: #fafafa; }
body.as-clean .as-browser-callout small { color: #7e7e7e; }
body.as-clean .as-demo-note { color: #7e7e7e; font-size: 9px; }
body.as-clean .as-delivery-row { border-bottom-color: #dedede; gap: 32px; }
body.as-clean .as-delivery-row h4 { font-size: 17px; letter-spacing: -.02em; }
body.as-clean .as-story .as-delivery-row p { font-size: 12px; line-height: 1.75; color: #5d7161; }

/* Regional selection and incoming contacts share the same surface language. */
body.as-clean .as-contact-workbench { grid-template-columns: 1fr 1.12fr; gap: 14px; }
body.as-clean .as-region-board,
body.as-clean .as-routing-board {
  padding: 32px;
  border: 1px solid #dedede;
  border-radius: 6px;
  background: #f9f9f9;
  box-shadow: none;
}
body.as-clean .as-board-heading h3 {
  font-size: 26px;
  line-height: 1.2;
  margin: 11px 0 25px;
}
body.as-clean .as-region-tabs,
body.as-clean .as-channel-switch { gap: 6px; }
body.as-clean .as-region-tabs button,
body.as-clean .as-channel-switch button {
  color: #7e7e7e;
  border-color: #dedede;
  border-radius: 4px;
  background: #ffffff;
  padding: 10px 16px;
  font-size: 12px;
}
body.as-clean .as-region-tabs button[aria-pressed=true],
body.as-clean .as-channel-switch button[aria-pressed=true] {
  background: #fff;
  border-color: #c8c8c8;
  color: #193123;
}
body.as-clean .as-map-point text { fill: #7e7e7e; }
body.as-clean .as-region-profile {
  background: #fff;
  border-color: #dedede;
  border-radius: 4px;
  box-shadow: 0 3px 12px #2b371d08;
}
body.as-clean .as-region-profile b { color: #193123; font-weight: 400; }
body.as-clean .as-region-profile > span:last-child { color: #7e7e7e; }
body.as-clean .as-route-wire > span { border-color: #dedede; }
body.as-clean .as-route-wire > i,
body.as-clean .as-route-stem { background: #c1cec8; }
body.as-clean .as-os-router,
body.as-clean .as-contact-record {
  background: #fff;
  border-color: #dedede;
  border-radius: 5px;
  box-shadow: none;
}
body.as-clean .as-os-chip { border-radius: 4px; background: #fafafa; border-color: #f6f6f6; }
body.as-clean .as-os-router > div > span,
body.as-clean .as-router-status,
body.as-clean .as-contact-record-head > div > span { color: #7e7e7e; }
body.as-clean .as-contact-record-head img { border-radius: 4px; }
body.as-clean .as-contact-record-head b { font-weight: 400; color: #193123; }
body.as-clean .as-qualification-tag { background: #f9f9f9; color: #5d7161; border-radius: 3px; }
body.as-clean .as-contact-record dl { border-color: #dedede; }
body.as-clean .as-contact-record dt { color: #7e7e7e; }
body.as-clean .as-contact-record dd { color: #5d7161; }
body.as-clean .as-story .as-record-footer p { color: #5d7161; }
body.as-clean .as-record-footer small { color: #7e7e7e; }

/* Operational examples and expandable guides: lightweight rather than layered. */
body.as-clean .as-operations-grid,
body.as-clean .as-scenarios { gap: 14px; }
body.as-clean .as-operation-card {
  padding: 34px;
  border-color: #dedede;
  border-radius: 6px;
  background: #f9f9f9;
}
body.as-clean .as-operation-title h3 { font-size: 29px; line-height: 1.16; }
body.as-clean .as-story .as-operation-title p {
  font-size: 13px;
  line-height: 1.75;
  color: #5d7161;
}
body.as-clean .as-flow-demo,
body.as-clean .as-playbook {
  border-color: #dedede;
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
}
body.as-clean .as-flow-head b { color: #193123; font-weight: 400; }
body.as-clean .as-flow-head small,
body.as-clean .as-flow-demo li small { color: #7e7e7e; }
body.as-clean .as-flow-demo li { color: #5d7161; }
body.as-clean .as-flow-demo li > span { border-color: #dedede; background: #ffffff; }
body.as-clean .as-flow-demo li:not(:last-child)::after { background: #dedede; }
body.as-clean .as-flow-demo li[data-current=true] { color: #193123; }
body.as-clean .as-flow-demo li[data-current=true] > span { border-color: #193123; background: #fff; }
body.as-clean .as-flow-demo li[data-complete=true] { color: #5d7161; }
body.as-clean .as-flow-demo li[data-complete=true] > span { background: #f9f9f9; border-color: #dedede; }
body.as-clean .as-flow-control { border-top-color: #dedede; }
body.as-clean .as-flow-control button {
  background: #252b20;
  border-radius: 4px;
  font-size: 11px;
  padding: 11px 14px;
}
body.as-clean .as-flow-control > span { color: #7e7e7e; font-size: 9px; }
body.as-clean .as-playbook-top { background: #ffffff; color: #5d7161; font-size: 12px; }
body.as-clean .as-playbook-top > span:last-child { color: #7e7e7e; }
body.as-clean .as-playbook details,
body.as-clean .as-playbook-foot { border-color: #dedede; }
body.as-clean .as-playbook summary { color: #193123; font-size: 13px; }
body.as-clean .as-playbook summary > span,
body.as-clean .as-playbook summary > i { color: #7e7e7e; }
body.as-clean .as-story .as-playbook details p { color: #5d7161; font-size: 12px; line-height: 1.75; }
body.as-clean .as-playbook-foot > span { color: #7e7e7e; }
body.as-clean .as-scenarios-heading { margin: 72px 0 34px; gap: 68px; }
body.as-clean .as-scenarios-heading h3 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -.04em;
}
body.as-clean .as-story .as-scenarios-heading p { font-size: 14px; color: #5d7161; line-height: 1.75; }
body.as-clean .as-scenarios > article { border-color: #dedede; border-radius: 6px; background: #f9f9f9; }
body.as-clean .as-scenario-image > span { border-radius: 3px; color: #5d7161; background: #fffffff0; }
body.as-clean .as-scenario-copy { padding: 31px; }
body.as-clean .as-scenario-copy h4 { font-size: 29px; font-weight: 400; letter-spacing: -.035em; }
body.as-clean .as-story .as-scenario-copy > p { color: #5d7161; font-size: 13px; line-height: 1.75; }
body.as-clean .as-scenario-copy details { border-top-color: #dedede; }
body.as-clean .as-scenario-copy summary { color: #193123; font-size: 12px; font-weight: 400; }
body.as-clean .as-scenario-copy dt { color: #5d7161; font-size: 10px; letter-spacing: .025em; }
body.as-clean .as-scenario-copy dd { color: #5d7161; font-size: 12px; line-height: 1.75; }
body.as-clean .as-story-closing { border-top-color: #dedede; padding-top: 32px; }
body.as-clean .as-story .as-story-closing p { color: #7e7e7e; font-size: 25px; }
body.as-clean .as-story-closing b { color: #193123; font-weight: 400; }
body.as-clean .as-story .as-story-button { background: #252b20; border-radius: 4px; box-shadow: none; }

/* Contact sources, OS and handoff live on one lightly ruled work surface. */
body.as-clean .sn-stage {
  grid-template-columns: 215px minmax(35px, 1fr) 230px minmax(35px, .7fr) 245px;
  min-height: 440px;
  margin-top: 40px;
  padding: 32px;
  border: 1px solid #dedede;
  border-radius: 6px;
  background: #f9f9f9;
}
body.as-clean .sn-sources { gap: 11px; }
body.as-clean .sn-sources button {
  min-height: 74px;
  border-color: #dedede;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: none;
}
body.as-clean .sn-sources button[aria-pressed=true] {
  border-color: #cecece;
  background: #fff;
  box-shadow: 0 0 0 1px #19312306;
}
body.as-clean .sn-icon { border-radius: 4px; background: #f9f9f9; color: #5d7161; }
body.as-clean .sn-sources button[aria-pressed=true] .sn-icon { background: #fafafa; color: #193123; }
body.as-clean .sn-sources b { font-weight: 400; color: #193123; font-size: 12px; }
body.as-clean .sn-sources small { color: #7e7e7e; font-size: 10px; }
body.as-clean .sn-sources button > i { background: #dedede; }
body.as-clean .sn-sources button[aria-pressed=true] > i { background: #193123; }
body.as-clean .sn-stage svg path:not(.sn-signal) { stroke: #dedede; }
body.as-clean .sn-core {
  border-color: #dedede;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 5px 15px #33452408;
}
body.as-clean .sn-core::before { border-color: #dedede; border-radius: 10px; }
body.as-clean .sn-core-label { font-size: 9px; letter-spacing: .06em; color: #7e7e7e; }
body.as-clean .sn-core-mark { font-weight: 400; }
body.as-clean .sn-core-state { border-color: #dedede; border-radius: 4px; background: #f9f9f9; }
body.as-clean .sn-core-state b { color: #5d7161; font-weight: 400; font-size: 12px; }
body.as-clean .sn-core-state span { color: #7e7e7e; font-size: 9px; }
body.as-clean .sn-progress i { background: #dedede; border-radius: 2px; }
body.as-clean .sn-progress i[data-complete=true] { background: #193123; }
body.as-clean .sn-result {
  background: #fff;
  border-color: #dedede;
  border-radius: 5px;
  box-shadow: none;
}
body.as-clean .sn-result h3 { color: #193123; font-size: 25px; line-height: 1.16; font-weight: 400; }
body.as-clean .sn-result > div { color: #7e7e7e; font-size: 11px; }
body.as-clean .sn-result > div i { color: #7e7e7e; background: #f9f9f9; }
body.as-clean .sn-result > div[data-done=true] { color: #5d7161; }
body.as-clean .sn-result > div[data-done=true] i { color: #193123; background: #fafafa; }
body.as-clean .nx-page .sn-result p { color: #7e7e7e; font-size: 10px; border-top-color: #dedede; }
body.as-clean .sn-bottom { border: 0; padding-top: 24px; }
body.as-clean .sn-bottom > span { color: #7e7e7e; font-size: 10px; }
body.as-clean .sn-bottom button {
  border-color: #dedede;
  border-radius: 4px;
  background: #ffffff;
  color: #5d7161;
  font-size: 11px;
  font-weight: 400;
  padding: 10px 14px;
}

@media (max-width: 1100px) {
  body.as-clean .as-friction-grid article { padding: 24px; }
  body.as-clean .as-friction-grid h3 { font-size: 21px; }
  body.as-clean .as-presence-copy { padding: 38px 30px; }
  body.as-clean .as-story .as-heading-split,
  body.as-clean .sn-heading { gap: 35px; }
  body.as-clean .sn-stage {
    grid-template-columns: 185px minmax(25px, 1fr) 205px minmax(25px, .65fr) 210px;
    padding: 24px;
  }
  body.as-clean .sn-sources button { padding: 13px 11px; }
  body.as-clean .sn-sources b { font-size: 11px; }
  body.as-clean .sn-sources small { font-size: 9px; }
  body.as-clean .sn-result h3 { font-size: 22px; }
  body.as-clean .as-region-board,
  body.as-clean .as-routing-board { padding: 26px; }
  body.as-clean .as-operation-card { padding: 28px; }
}
@media (max-width: 800px) {
  body.as-clean .sn-heading { display: block; }
  body.as-clean .nx-page .sn-heading p { margin-top: 22px; }
  body.as-clean .sn-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    min-height: 0;
  }
  body.as-clean .sn-sources { gap: 8px; }
  body.as-clean .sn-sources button { padding: 14px 8px; min-height: 120px; }
  body.as-clean .sn-core { margin: 20px 10px 22px; }
  body.as-clean .sn-result { margin-bottom: 6px; }
}
@media (max-width: 740px) {
  body.as-clean .as-story,
  body.as-clean .sn-section { padding: 66px 0; }
  body.as-clean .as-story-wrap { width: calc(100% - 36px); }
  body.as-clean .as-story-heading { margin-bottom: 32px; }
  body.as-clean .as-story .as-story-heading h2,
  body.as-clean .nx-page .sn-heading h2 { font-size: 35px; }
  body.as-clean .as-story .as-story-heading p,
  body.as-clean .nx-page .sn-heading p { font-size: 14px; line-height: 1.75; }
  body.as-clean .as-story .as-overline,
  body.as-clean .sn-heading .nx-kicker { font-size: 10px; margin-bottom: 16px; }
  body.as-clean .as-story .as-heading-split { display: block; }
  body.as-clean .as-story .as-heading-split p { margin-top: 22px; }
  body.as-clean .as-friction-grid { grid-template-columns: 1fr; }
  body.as-clean .as-friction-grid article { padding: 25px; }
  body.as-clean .as-friction-grid h3 { font-size: 25px; max-width: 320px; }
  body.as-clean .as-friction-visual { height: 112px; margin-bottom: 23px; }
  body.as-clean .as-presence-panel { grid-template-columns: 1fr; min-height: 0; }
  body.as-clean .as-stage-tabs { padding: 9px; gap: 3px; }
  body.as-clean .as-stage-tabs button { padding: 11px 7px; font-size: 10px; flex: 1; }
  body.as-clean .as-presence-copy { padding: 32px 25px; }
  body.as-clean .as-presence-copy h3 { font-size: 30px; }
  body.as-clean .as-story .as-presence-copy > p { font-size: 13px; }
  body.as-clean .as-browser-scene { border-left: 0; border-top: 1px solid #dedede; padding-inline: 25px; }
  body.as-clean .as-contact-workbench,
  body.as-clean .as-operations-grid,
  body.as-clean .as-scenarios { grid-template-columns: 1fr; gap: 14px; }
  body.as-clean .as-region-board,
  body.as-clean .as-routing-board,
  body.as-clean .as-operation-card { padding: 25px 21px; }
  body.as-clean .as-board-heading h3 { font-size: 25px; }
  body.as-clean .as-region-tabs button,
  body.as-clean .as-channel-switch button { padding: 10px 13px; font-size: 11px; }
  body.as-clean .as-delivery-row { grid-template-columns: 1fr; gap: 25px; }
  body.as-clean .as-operation-title h3 { font-size: 29px; }
  body.as-clean .as-story .as-operation-title p { min-height: 0; }
  body.as-clean .as-story .as-playbook details p { padding-left: 0; }
  body.as-clean .as-scenarios-heading { display: block; margin-top: 58px; }
  body.as-clean .as-scenarios-heading h3 { font-size: 34px; }
  body.as-clean .as-story .as-scenarios-heading p { margin-top: 19px; font-size: 13px; }
  body.as-clean .as-scenario-copy { padding: 27px 24px; }
  body.as-clean .as-scenario-copy h4 { font-size: 28px; }
  body.as-clean .as-story-closing { flex-direction: column; align-items: flex-start; }
  body.as-clean .as-story .as-story-closing p { font-size: 25px; }
  body.as-clean .as-story .as-story-button { width: 100%; justify-content: space-between; }
}
@media (max-width: 500px) {
  body.as-clean .sn-stage { grid-template-columns: minmax(0, 1fr); gap: 15px; margin-top: 30px; padding: 20px 16px; }
  body.as-clean .sn-sources { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; }
  body.as-clean .sn-sources button { padding: 12px 9px; min-height: 84px; gap: 8px; }
  body.as-clean .sn-sources b { font-size: 10px; line-height: 1.4; }
  body.as-clean .sn-sources small { font-size: 8px; line-height: 1.4; }
  body.as-clean .sn-icon { width: 26px; height: 29px; font-size: 13px; }
  body.as-clean .sn-core { width: min(230px, calc(100% - 20px)); margin: 26px auto 0; }
  body.as-clean .sn-result { width: 100%; max-width: 310px; margin: auto; padding: 24px; }
  body.as-clean .sn-result h3 { font-size: 25px; }
  body.as-clean .sn-bottom { flex-wrap: wrap; gap: 17px; }
  body.as-clean .sn-bottom > span { max-width: 175px; font-size: 9px; }
  body.as-clean .sn-bottom button { margin-left: auto; font-size: 10px; padding: 9px 12px; }
  body.as-clean .as-playbook-foot { flex-wrap: wrap; gap: 10px; }
}
