/* ==========================================================================
   services-paths.css — /ai-setup and /ai-automation (2026-09-27)
   Builds on product-base.css. Uses var(--nx-*) tokens; prefix .sp-*.
   Orange + white lead; navy is used only for small accents.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Split hero with a product-style illustration
   -------------------------------------------------------------------------- */
.sp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 88px);
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(247, 148, 29, .16), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(247, 148, 29, .08), transparent 70%),
    var(--nx-surface-warm);
}

.sp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.sp-hero h1 {
  margin: 0 0 var(--nx-s-5);
  color: var(--nx-ink);
  font-size: clamp(2.25rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.sp-hero h1 em {
  color: var(--nx-orange-dark);
  font-style: normal;
}

.sp-hero__sub {
  max-width: 56ch;
  margin: 0 0 var(--nx-s-7);
  color: var(--nx-ink-soft);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  line-height: 1.7;
}

.sp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--nx-s-3);
}

.sp-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: var(--nx-s-7) 0 0;
  padding: 0;
  list-style: none;
}

.sp-hero__proof li {
  position: relative;
  padding-left: 16px;
  color: var(--nx-ink);
  font-size: .88rem;
  font-weight: 650;
}

.sp-hero__proof li::before {
  content: '';
  position: absolute;
  top: .45em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nx-orange);
}

.sp-btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sp-btn-phone svg,
.sp-call__phone svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Illustration window shared by both heroes. */
.sp-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--nx-line);
  border-radius: 24px;
  background: var(--nx-surface);
  box-shadow: 0 4px 12px rgba(26, 32, 44, .06), 0 40px 80px -20px rgba(224, 125, 10, .28);
}

.sp-window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--nx-line);
  background: var(--nx-surface-warm);
}

.sp-window__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--nx-line);
}

.sp-window__bar b {
  margin-left: 10px;
  color: var(--nx-ink-soft);
  font-size: .78rem;
  font-weight: 700;
}

.sp-hero__art {
  position: relative;
}

.sp-hero__art::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 10% -8% -8% 12%;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--nx-orange), #FFC77A);
  opacity: .22;
  filter: blur(40px);
}

.sp-hero__art > * { position: relative; z-index: 1; }

/* AI set-up illustration: instruction files beside a chat. */
.sp-workspace {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 330px;
}

.sp-workspace__files {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px 12px;
  border-right: 1px solid var(--nx-line);
  background: #FFFDF9;
}

.sp-workspace__files p {
  margin: 0 0 6px 6px;
  color: var(--nx-ink-soft);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sp-workspace__files span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--nx-ink);
  font-size: .76rem;
  font-weight: 650;
}

.sp-workspace__files span::before {
  content: '';
  width: 12px;
  height: 14px;
  flex: none;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  opacity: .45;
}

.sp-workspace__files span.is-used {
  background: var(--nx-orange-tint);
  color: var(--nx-orange-dark);
}

.sp-workspace__files span.is-used::before { opacity: 1; }

.sp-workspace__chat {
  display: grid;
  align-content: end;
  gap: 12px;
  padding: 20px;
}

.sp-bubble {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: .86rem;
  line-height: 1.5;
}

.sp-bubble--me {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: var(--nx-navy);
  color: var(--nx-surface);
  font-weight: 600;
}

.sp-bubble--ai {
  border: 1px solid var(--nx-line);
  border-bottom-left-radius: 4px;
  background: var(--nx-surface-warm);
  color: var(--nx-ink);
}

.sp-bubble--ai small {
  display: block;
  margin-top: 8px;
  color: var(--nx-orange-dark);
  font-size: .72rem;
  font-weight: 750;
}

.sp-bubble__actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.sp-bubble__actions span {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--nx-orange);
  color: var(--nx-ink);
  font-size: .72rem;
  font-weight: 800;
}

.sp-bubble__actions span + span {
  border: 1px solid var(--nx-line);
  background: var(--nx-surface);
}

/* Automation illustration: one email moving to an approval gate. */
.sp-runner {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.sp-runner__item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--nx-line);
  border-radius: 14px;
  background: var(--nx-surface);
  font-size: .84rem;
}

.sp-runner__item b { display: block; color: var(--nx-ink); font-size: .86rem; }
.sp-runner__item small { color: var(--nx-ink-soft); font-size: .76rem; }

.sp-runner__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--nx-orange-tint);
  color: var(--nx-orange-dark);
  font-size: .8rem;
  font-weight: 800;
}

.sp-runner__tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: #EEF7EF;
  color: #2F6B3A;
  font-size: .7rem;
  font-weight: 800;
  white-space: nowrap;
}

.sp-runner__item.is-gate {
  border-color: var(--nx-orange);
  background: linear-gradient(90deg, var(--nx-orange-tint), var(--nx-surface) 70%);
  box-shadow: 0 0 0 4px rgba(247, 148, 29, .14);
}

.sp-runner__item.is-gate .sp-runner__icon { background: var(--nx-orange); color: var(--nx-ink); }

.sp-runner__approve {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--nx-orange);
  color: var(--nx-ink);
  font-size: .74rem;
  font-weight: 800;
  animation: sp-pulse 2.4s var(--nx-ease-out) infinite;
}

@keyframes sp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 148, 29, .5); }
  60% { box-shadow: 0 0 0 10px rgba(247, 148, 29, 0); }
}

.sp-runner__connector {
  width: 2px;
  height: 14px;
  margin: -6px 0 -6px 31px;
  background: repeating-linear-gradient(var(--nx-orange) 0 4px, transparent 4px 8px);
}

/* --------------------------------------------------------------------------
   Timeline ("a morning with AI")
   -------------------------------------------------------------------------- */
.sp-timeline {
  position: relative;
  display: grid;
  max-width: 880px;
  gap: 18px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.sp-timeline::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 43px;
  width: 2px;
  background: linear-gradient(var(--nx-orange), var(--nx-line));
}

.sp-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: start;
  gap: 24px;
}

.sp-timeline time {
  position: relative;
  z-index: 1;
  display: grid;
  height: 36px;
  place-items: center;
  border: 2px solid var(--nx-orange);
  border-radius: 999px;
  background: var(--nx-surface);
  color: var(--nx-ink);
  font-size: .82rem;
  font-weight: 800;
}

.sp-timeline li > div {
  padding: 20px 24px;
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-r-lg);
  background: var(--nx-surface);
  box-shadow: var(--nx-shadow-soft);
}

.sp-timeline h3 {
  margin: 0 0 6px;
  color: var(--nx-ink);
  font-size: 1.08rem;
}

.sp-timeline p {
  margin: 0;
  color: var(--nx-ink-soft);
  font-size: .96rem;
  line-height: 1.6;
}

.sp-timeline q {
  color: var(--nx-orange-dark);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Knowledge map (index → sections → detail files)
   -------------------------------------------------------------------------- */
.sp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.sp-split__copy h2 {
  margin: 0 0 var(--nx-s-4);
  color: var(--nx-ink);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.sp-split__copy > p {
  margin: 0 0 var(--nx-s-5);
  color: var(--nx-ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.sp-ticks {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-ticks li {
  position: relative;
  padding-left: 34px;
  color: var(--nx-ink-soft);
  font-size: .98rem;
  line-height: 1.6;
}

.sp-ticks li strong { color: var(--nx-ink); }

.sp-ticks li::before {
  content: '';
  position: absolute;
  top: .15em;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231A1A2E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--nx-orange);
}

.sp-map {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--nx-line);
  border-radius: 28px;
  background:
    radial-gradient(rgba(26, 26, 46, .08) 1px, transparent 1.2px) 0 0 / 18px 18px,
    var(--nx-surface);
  box-shadow: var(--nx-shadow-soft);
}

.sp-map__row {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sp-map__row + .sp-map__row::before {
  content: '';
  position: absolute;
  top: -22px;
  left: 50%;
  width: 2px;
  height: 16px;
  background: var(--nx-orange);
  transform: translateX(-50%);
}

.sp-map__node {
  padding: 9px 14px;
  border: 1px solid var(--nx-line);
  border-radius: 12px;
  background: var(--nx-surface);
  color: var(--nx-ink);
  font-size: .8rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(26, 32, 44, .05);
}

.sp-map__node--top {
  border-color: var(--nx-orange);
  background: var(--nx-orange);
  font-size: .9rem;
}

.sp-map__node--section { background: var(--nx-orange-tint); border-color: #F6D8B0; }
.sp-map__node--detail { font-weight: 600; color: var(--nx-ink-soft); }
.sp-map__node--new {
  border-style: dashed;
  border-color: var(--nx-orange);
  color: var(--nx-orange-dark);
}

.sp-map__legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--nx-line);
  color: var(--nx-ink-soft);
  font-size: .8rem;
}

.sp-map__legend b { color: var(--nx-ink); }

/* --------------------------------------------------------------------------
   The automation loop
   -------------------------------------------------------------------------- */
.sp-loop {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: loop;
}

.sp-loop::before {
  content: '';
  position: absolute;
  top: 34px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--nx-line), var(--nx-orange), var(--nx-line));
}

.sp-loop li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 0 8px;
  text-align: center;
  counter-increment: loop;
}

.sp-loop li::before {
  content: counter(loop);
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 2px solid var(--nx-line);
  border-radius: 50%;
  background: var(--nx-surface);
  color: var(--nx-ink);
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: var(--nx-shadow-soft);
  animation: sp-loop-glow 8s linear infinite;
  animation-delay: calc(var(--i) * 2s);
}

@keyframes sp-loop-glow {
  0%, 22% { border-color: var(--nx-orange); background: var(--nx-orange); box-shadow: 0 0 0 8px rgba(247, 148, 29, .16), var(--nx-shadow-lift); }
  30%, 100% { border-color: var(--nx-line); background: var(--nx-surface); box-shadow: var(--nx-shadow-soft); }
}

.sp-loop h3 {
  margin: 0;
  color: var(--nx-ink);
  font-size: 1.1rem;
}

.sp-loop p {
  margin: 0;
  color: var(--nx-ink-soft);
  font-size: .94rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Example cards
   -------------------------------------------------------------------------- */
.sp-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sp-example {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-r-lg);
  background: var(--nx-surface);
  box-shadow: var(--nx-shadow-soft);
  transition: transform var(--nx-t-slow) var(--nx-ease-out), box-shadow var(--nx-t-slow) var(--nx-ease-out);
}

.sp-example:hover {
  transform: translateY(-4px);
  box-shadow: var(--nx-shadow-lift);
}

.sp-example__tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--nx-orange-tint);
  color: var(--nx-orange-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sp-example h3 {
  margin: 0;
  color: var(--nx-ink);
  font-size: 1.2rem;
  line-height: 1.25;
}

.sp-example > p {
  margin: 0;
  color: var(--nx-ink-soft);
  font-size: .95rem;
  line-height: 1.65;
}

.sp-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px dashed var(--nx-line);
  list-style: none;
}

.sp-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nx-ink);
  font-size: .76rem;
  font-weight: 700;
}

.sp-chips li span {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--nx-surface-warm);
  border: 1px solid var(--nx-line);
}

.sp-chips li.is-gate span {
  border-color: var(--nx-orange);
  background: var(--nx-orange-tint);
  color: var(--nx-orange-dark);
}

.sp-chips li + li::before {
  content: '→';
  color: var(--nx-orange-dark);
}

.sp-example--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 32px;
  padding: 36px;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(247, 148, 29, .14), transparent 70%),
    var(--nx-surface);
}

.sp-example--feature blockquote {
  margin: 0;
  padding: 24px 28px;
  border-left: 4px solid var(--nx-orange);
  border-radius: 0 18px 18px 0;
  background: var(--nx-surface-warm);
  color: var(--nx-ink);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
}

.sp-example--feature blockquote cite {
  display: block;
  font-style: normal;
  margin-top: 12px;
  color: var(--nx-ink-soft);
  font-size: .85rem;
  font-weight: 600;
}

.sp-example--feature .sp-link {
  margin-top: 6px;
}

.sp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nx-ink);
  font-weight: 800;
}

.sp-link span { color: var(--nx-orange-dark); transition: transform var(--nx-t-base) var(--nx-ease-out); }
.sp-link:hover span { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Trust ramp ("switched on in steps")
   -------------------------------------------------------------------------- */
.sp-ramp {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 20px;
}

.sp-ramp__step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-r-lg);
  background: var(--nx-surface);
  box-shadow: var(--nx-shadow-soft);
  overflow: hidden;
}

.sp-ramp__step:nth-child(1) { min-height: 230px; }
.sp-ramp__step:nth-child(2) { min-height: 270px; }
.sp-ramp__step:nth-child(3) { min-height: 310px; }

.sp-ramp__step::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--fill);
  background: linear-gradient(0deg, rgba(247, 148, 29, .16), rgba(247, 148, 29, 0));
}

.sp-ramp__step > * { position: relative; }

.sp-ramp__step span {
  color: var(--nx-orange-dark);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sp-ramp__step h3 { margin: 0; color: var(--nx-ink); font-size: 1.15rem; }
.sp-ramp__step p { margin: 0; color: var(--nx-ink-soft); font-size: .94rem; line-height: 1.6; }

.sp-note {
  max-width: 760px;
  margin: var(--nx-s-8) auto 0;
  color: var(--nx-ink-soft);
  font-size: .98rem;
  line-height: 1.7;
  text-align: center;
}

.sp-note strong { color: var(--nx-ink); }

/* --------------------------------------------------------------------------
   Guardrails panel
   -------------------------------------------------------------------------- */
.sp-guard {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border: 1px solid var(--nx-line);
  border-radius: 28px;
  background: var(--nx-surface);
  box-shadow: var(--nx-shadow-soft);
}

.sp-guard__locked {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 36px;
  background:
    repeating-linear-gradient(135deg, rgba(247, 148, 29, .07) 0 12px, transparent 12px 24px),
    var(--nx-surface-warm);
}

.sp-guard__locked p {
  margin: 0;
  color: var(--nx-ink-soft);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sp-guard__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--nx-line);
  border-radius: 14px;
  background: var(--nx-surface);
  color: var(--nx-ink);
  font-weight: 700;
}

.sp-guard__item svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--nx-orange-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sp-guard__body { padding: 36px 40px; }

.sp-guard__body h2 {
  margin: 0 0 var(--nx-s-4);
  color: var(--nx-ink);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

.sp-guard__body > p {
  margin: 0 0 var(--nx-s-5);
  color: var(--nx-ink-soft);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.sp-faq {
  display: grid;
  max-width: 820px;
  gap: 12px;
  margin: 0 auto;
}

.sp-faq details {
  border: 1px solid var(--nx-line);
  border-radius: 18px;
  background: var(--nx-surface);
  transition: box-shadow var(--nx-t-base) var(--nx-ease-out), border-color var(--nx-t-base);
}

.sp-faq details[open] {
  border-color: rgba(247, 148, 29, .5);
  box-shadow: var(--nx-shadow-soft);
}

.sp-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: var(--nx-ink);
  font-size: 1.02rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.sp-faq summary::-webkit-details-marker { display: none; }

.sp-faq summary::after {
  content: '+';
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: var(--nx-orange-tint);
  color: var(--nx-orange-dark);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform var(--nx-t-base) var(--nx-ease-out);
}

.sp-faq details[open] summary::after { transform: rotate(45deg); }

.sp-faq summary:focus-visible {
  outline: 3px solid rgba(247, 148, 29, .45);
  outline-offset: 2px;
  border-radius: 18px;
}

.sp-faq details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--nx-ink-soft);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Call-to-action with the phone number up front
   -------------------------------------------------------------------------- */
.sp-call {
  padding: var(--nx-section) 0;
  background: var(--nx-surface);
}

.sp-call__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .45), transparent 45%),
    linear-gradient(135deg, #FFB255 0%, var(--nx-orange) 55%, var(--nx-orange-dark) 100%);
  box-shadow: 0 30px 70px -24px rgba(224, 125, 10, .6);
}

.sp-call__panel::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  border: 40px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  pointer-events: none;
}

.sp-call__panel > * { position: relative; z-index: 1; }

.sp-call h2 {
  margin: 0 0 var(--nx-s-3);
  color: var(--nx-navy);
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.sp-call p {
  max-width: 52ch;
  margin: 0;
  color: rgba(26, 26, 46, .82);
  font-size: 1.05rem;
  line-height: 1.65;
}

.sp-call__actions {
  display: grid;
  justify-items: stretch;
  gap: 12px;
  min-width: 280px;
}

.sp-call__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--nx-navy);
  color: var(--nx-surface);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform var(--nx-t-base) var(--nx-ease-out);
}

.sp-call__phone:hover { transform: translateY(-2px); }
.sp-call__phone:focus-visible,
.sp-call__book:focus-visible { outline: 3px solid var(--nx-navy); outline-offset: 3px; }

.sp-call__book {
  display: flex;
  justify-content: center;
  padding: 14px 26px;
  border: 2px solid var(--nx-navy);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--nx-navy);
  font-weight: 800;
  transition: transform var(--nx-t-base) var(--nx-ease-out);
}

.sp-call__book:hover { transform: translateY(-2px); }

.sp-call__small {
  color: rgba(26, 26, 46, .75);
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Responsive + motion
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .sp-hero__grid,
  .sp-split,
  .sp-guard,
  .sp-example--feature { grid-template-columns: 1fr; }
  .sp-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .sp-loop::before { display: none; }
  .sp-call__panel { grid-template-columns: 1fr; }
  .sp-call__actions { min-width: 0; }
}

@media (max-width: 767px) {
  .sp-examples,
  .sp-ramp { grid-template-columns: 1fr; }
  .sp-ramp__step:nth-child(n) { min-height: 0; }
  .sp-workspace { grid-template-columns: 1fr; }
  .sp-workspace__files { grid-template-columns: repeat(2, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--nx-line); }
  .sp-workspace__files p { grid-column: 1 / -1; }
  .sp-timeline::before { left: 31px; }
  .sp-timeline li { grid-template-columns: 64px 1fr; gap: 14px; }
  .sp-timeline time { font-size: .74rem; }
  .sp-guard__locked,
  .sp-guard__body,
  .sp-example--feature { padding: 26px 22px; }
  .sp-map { padding: 22px 16px; }
  .sp-map__legend { flex-direction: column; }
  .sp-call__phone { font-size: 1.15rem; }

}

@media (prefers-reduced-motion: reduce) {
  .sp-loop li::before,
  .sp-runner__approve { animation: none; }
  .sp-example,
  .sp-example:hover,
  .sp-call__phone,
  .sp-call__book { transition: none; transform: none; }
}

.sp-example--feature > div { display: grid; justify-items: start; gap: 12px; }
.sp-example--feature > div > p { margin: 0; color: var(--nx-ink-soft); line-height: 1.65; }

/* Section headings (2026-09-28): the short label is the big title, the line
   under it is an orange subtitle, mirroring "Where to start." on the homepage. */
.pg-section-head .sp-title,
.sp-split__copy .sp-title,
.sp-guard__body .sp-title {
  margin: 0 0 10px;
  color: var(--nx-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.sp-subtitle {
  margin: 0 0 14px;
  color: var(--nx-orange-dark);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.pg-section-head .sp-subtitle {
  margin: 0 auto 14px;
  color: var(--nx-orange-dark);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 750;
  line-height: 1.3;
}
.pg-section-head > p:not(.sp-subtitle) { color: var(--nx-ink-soft); }

.sp-split__copy > .sp-subtitle,
.sp-guard__body > .sp-subtitle {
  margin: 0 0 18px;
  color: var(--nx-orange-dark);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 750;
  line-height: 1.3;
}

/* Interactive chat list in the AI Set-Up hero (2026-09-28). */
.sp-chat-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 9px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--nx-ink);
  font: inherit;
  font-size: .78rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: background var(--nx-t-fast), color var(--nx-t-fast);
}

.sp-chat-tab::before {
  content: '';
  width: 13px;
  height: 12px;
  flex: none;
  border: 1.6px solid currentColor;
  border-radius: 4px 4px 4px 1px;
  opacity: .45;
}

.sp-chat-tab:hover,
.sp-chat-tab.is-active {
  background: var(--nx-orange-tint);
  color: var(--nx-orange-dark);
}

.sp-chat-tab.is-active::before { opacity: 1; }
.sp-chat-tab:focus-visible { outline: 2px solid var(--nx-orange); outline-offset: 1px; }

.sp-workspace__chat .sp-bubble { transition: opacity 140ms var(--nx-ease-out), transform 140ms var(--nx-ease-out); }
.sp-workspace__chat.is-switching .sp-bubble { opacity: 0; transform: translateY(6px); }

@media (prefers-reduced-motion: reduce) {
  .sp-workspace__chat .sp-bubble { transition: none; }
}
.sp-workspace { grid-template-columns: 172px 1fr; }
.sp-chat-tab { white-space: nowrap; }


/* ==========================================================================
   Interactive workflow cards + pop-up (/ai-automation, 2026-09-28)
   ========================================================================== */
@property --sp-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.sp-example--flow {
  position: relative;
  isolation: isolate;
  gap: 10px;
  min-height: 210px;
  cursor: pointer;
}

.sp-example--flow::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -2px;
  padding: 2px;
  border-radius: calc(var(--nx-r-lg) + 2px);
  background: conic-gradient(from var(--sp-angle), transparent 0deg 200deg, rgba(247, 148, 29, .25) 250deg, var(--nx-orange) 300deg, #FFD6A3 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 240ms var(--nx-ease-out);
  animation: sp-border-spin 2.6s linear infinite paused;
  pointer-events: none;
}

.sp-example--flow:hover::before,
.sp-example--flow:focus-within::before,
.sp-example--flow.is-open::before {
  opacity: 1;
  animation-play-state: running;
}

.sp-example--flow:hover,
.sp-example--flow:focus-within,
.sp-example--flow.is-open {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(26, 32, 44, .06), 0 24px 56px rgba(247, 148, 29, .22);
}

@keyframes sp-border-spin { to { --sp-angle: 360deg; } }

.sp-example--flow h3 { margin: 4px 0 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }

.sp-example__open {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.sp-example__open::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.sp-example__open:focus-visible { outline: none; }

.sp-example__sub {
  margin: 0 !important;
  color: var(--nx-orange-dark) !important;
  font-size: 1rem !important;
  font-weight: 700;
  line-height: 1.45 !important;
}

.sp-example__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--nx-ink);
  font-size: .88rem;
  font-weight: 800;
}

.sp-example__hint i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nx-orange);
  box-shadow: 0 0 0 0 rgba(247, 148, 29, .6);
  animation: sp-hint-pulse 2.2s var(--nx-ease-out) infinite;
}

.sp-example__hint b { color: var(--nx-orange-dark); transition: transform var(--nx-t-base) var(--nx-ease-out); }
.sp-example--flow:hover .sp-example__hint b { transform: translateX(4px); }

@keyframes sp-hint-pulse {
  0% { box-shadow: 0 0 0 0 rgba(247, 148, 29, .55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(247, 148, 29, 0); }
}

/* ---- Pop-up ---- */
.sp-flow-locked { overflow: hidden; }

.sp-flow-backdrop {
  position: fixed;
  z-index: 1200;
  inset: 0;
  background: rgba(26, 26, 46, .45);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 180ms var(--nx-ease-out);
}
.sp-flow-backdrop.is-visible { opacity: 1; }

.sp-flow {
  position: fixed;
  z-index: 1210;
  width: min(460px, calc(100vw - 32px));
  opacity: 0;
  transform: translateY(10px) scale(.98);
  transition: opacity 180ms var(--nx-ease-out), transform 220ms var(--nx-ease-out);
}

.sp-flow.is-visible { opacity: 1; transform: none; }

.sp-flow.is-modal {
  top: 50%;
  left: 50%;
  width: min(560px, calc(100vw - 32px));
  transform: translate(-50%, calc(-50% + 12px)) scale(.98);
}
.sp-flow.is-modal.is-visible { transform: translate(-50%, -50%); }
.sp-flow.is-hover { pointer-events: none; }

.sp-flow__panel {
  position: relative;
  max-height: calc(100vh - 100px);
  overflow: auto;
  padding: 26px 26px 24px;
  border: 1px solid rgba(247, 148, 29, .4);
  border-radius: 24px;
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(247, 148, 29, .12), transparent 70%),
    var(--nx-surface);
  box-shadow: 0 30px 80px -20px rgba(26, 26, 46, .35), 0 0 0 6px rgba(247, 148, 29, .08);
}

.sp-flow__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--nx-orange-tint);
  color: var(--nx-orange-dark);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
}
.sp-flow.is-hover .sp-flow__close { display: none; }
.sp-flow__close:focus-visible { outline: 3px solid rgba(247, 148, 29, .5); }

.sp-flow__tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--nx-orange-tint);
  color: var(--nx-orange-dark);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sp-flow__title { margin: 0; color: var(--nx-ink); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.sp-flow__sub { margin: 4px 0 16px; color: var(--nx-orange-dark); font-weight: 700; }

.sp-flow__scene {
  display: grid;
  min-height: 150px;
  place-items: center;
  margin-bottom: 18px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  background:
    radial-gradient(rgba(26, 26, 46, .07) 1px, transparent 1.2px) 0 0 / 16px 16px,
    var(--nx-surface-warm);
}

/* Pipeline: a token travels the track; each step lights as it passes. */
.sp-flow__track {
  position: relative;
  height: 4px;
  margin: 0 18px -22px;
  border-radius: 4px;
  background: var(--nx-line);
}

.sp-flow__token {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--nx-orange);
  box-shadow: 0 0 0 5px rgba(247, 148, 29, .25), 0 0 18px rgba(247, 148, 29, .8);
  transform: translate(-50%, -50%);
  opacity: 0;
}

.sp-flow__steps {
  position: relative;
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.sp-flow__steps li { display: grid; justify-items: center; gap: 8px; text-align: center; }

.sp-flow__dot {
  position: relative;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid var(--nx-line);
  border-radius: 50%;
  background: var(--nx-surface);
  color: var(--nx-ink);
  font-size: .8rem;
  font-weight: 800;
}

.sp-flow__label { color: var(--nx-ink-soft); font-size: .72rem; font-weight: 700; line-height: 1.3; }
.sp-flow__steps li.is-gate .sp-flow__label { color: var(--nx-orange-dark); }

.sp-flow__body { margin: 0 0 10px; color: var(--nx-ink-soft); font-size: .95rem; line-height: 1.65; }
.sp-flow__keep {
  margin: 0 0 18px;
  padding: 10px 14px;
  border-left: 3px solid var(--nx-orange);
  border-radius: 0 10px 10px 0;
  background: var(--nx-orange-tint);
  color: var(--nx-ink);
  font-size: .88rem;
  font-weight: 700;
}

.sp-flow__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--nx-orange);
  color: var(--nx-navy);
  font-weight: 800;
}
.sp-flow__cta:hover { background: var(--nx-orange-dark); }

/* Playing state: everything keyed off one duration so steps and token stay in step. */
.sp-flow.is-playing .sp-flow__token { animation: sp-token var(--flow-duration) var(--nx-ease-out) infinite; }
.sp-flow.is-playing .sp-flow__dot { animation: sp-step-on var(--flow-duration) linear infinite; animation-delay: calc(var(--at) * var(--flow-duration) * .78); }
.sp-flow.is-playing .sp-flow__steps li.is-gate .sp-flow__dot { animation-name: sp-gate-on; }

@keyframes sp-token {
  0% { left: 0; opacity: 0; }
  4% { opacity: 1; }
  78% { left: 100%; opacity: 1; }
  90%, 100% { left: 100%; opacity: 0; }
}

@keyframes sp-step-on {
  0% { border-color: var(--nx-orange); background: var(--nx-orange); color: var(--nx-navy); transform: scale(1.12); box-shadow: 0 0 0 6px rgba(247, 148, 29, .2); }
  12% { transform: scale(1); box-shadow: none; }
  12%, 60% { border-color: var(--nx-orange); background: var(--nx-orange-tint); color: var(--nx-orange-dark); }
  75%, 100% { border-color: var(--nx-line); background: var(--nx-surface); color: var(--nx-ink); }
}

@keyframes sp-gate-on {
  0% { border-color: var(--nx-orange); background: var(--nx-orange); color: var(--nx-navy); box-shadow: 0 0 0 0 rgba(247, 148, 29, .55); }
  15% { box-shadow: 0 0 0 10px rgba(247, 148, 29, 0); }
  25% { box-shadow: 0 0 0 0 rgba(247, 148, 29, .5); }
  40% { box-shadow: 0 0 0 10px rgba(247, 148, 29, 0); }
  0%, 60% { border-color: var(--nx-orange); background: var(--nx-orange); color: var(--nx-navy); }
  75%, 100% { border-color: var(--nx-line); background: var(--nx-surface); color: var(--nx-ink); }
}

/* ---- Scenes ---- */
.fx { width: 100%; max-width: 360px; font-size: .78rem; color: var(--nx-ink); }
.fx b { font-weight: 800; }
.fx-env { display: inline-block; width: 22px; height: 16px; border: 2px solid var(--nx-navy); border-radius: 3px; position: relative; }
.fx-env::after { content: ''; position: absolute; inset: 0; border-top: 2px solid var(--nx-navy); transform-origin: top; clip-path: polygon(0 0, 50% 60%, 100% 0); background: var(--nx-orange-tint); }

.fx-quote { display: grid; gap: 6px; }
.fx-quote__head { display: flex; justify-content: space-between; color: var(--nx-ink-soft); }
.fx-quote__row { display: grid; grid-template-columns: 1fr 50px 50px; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--nx-surface); box-shadow: 0 1px 3px rgba(0,0,0,.05); opacity: 0; transform: translateX(-10px); }
.fx-quote__row i { font-style: normal; font-weight: 700; }
.fx-quote__row .is-down { color: var(--nx-error); }
.fx-quote__flag { padding: 7px 10px; border-radius: 8px; background: var(--nx-orange); color: var(--nx-navy); font-weight: 800; opacity: 0; transform: scale(.9); }
.is-playing .fx-quote__row { animation: fx-in-x var(--flow-duration) var(--nx-ease-out) infinite; }
.is-playing .fx-quote__row:nth-child(3) { animation-delay: .25s; }
.is-playing .fx-quote__row:nth-child(4) { animation-delay: .5s; }
.is-playing .fx-quote__flag { animation: fx-pop var(--flow-duration) var(--nx-ease-out) infinite; animation-delay: 1.3s; }

.fx-email { display: grid; gap: 10px; }
.fx-email__in { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--nx-surface); opacity: 0; }
.fx-email__tags { display: flex; gap: 6px; }
.fx-email__tags span { padding: 4px 10px; border-radius: 999px; background: var(--nx-surface); border: 1px solid var(--nx-line); font-weight: 700; }
.fx-email__tags span.is-on { border-color: var(--nx-orange); }
.fx-email__draft { display: grid; gap: 5px; padding: 10px; border-radius: 10px; background: var(--nx-surface); }
.fx-email__draft i { display: block; height: 7px; border-radius: 4px; background: var(--nx-line); transform-origin: left; transform: scaleX(0); }
.fx-email__draft i:nth-child(2) { width: 85%; } .fx-email__draft i:nth-child(3) { width: 60%; }
.fx-email__draft em { font-style: normal; font-weight: 800; color: #2F6B3A; opacity: 0; }
.is-playing .fx-email__in { animation: fx-in-y var(--flow-duration) var(--nx-ease-out) infinite; }
.is-playing .fx-email__tags .is-on { animation: fx-tag var(--flow-duration) linear infinite; animation-delay: .6s; }
.is-playing .fx-email__draft i { animation: fx-write var(--flow-duration) var(--nx-ease-out) infinite; animation-delay: 1.1s; }
.is-playing .fx-email__draft i:nth-child(2) { animation-delay: 1.4s; } .is-playing .fx-email__draft i:nth-child(3) { animation-delay: 1.7s; }
.is-playing .fx-email__draft em { animation: fx-fade var(--flow-duration) linear infinite; animation-delay: 2.2s; }

.fx-board { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fx-board__col { display: grid; align-content: start; gap: 6px; min-height: 110px; padding: 8px; border-radius: 10px; background: rgba(26,26,46,.04); }
.fx-board__col > span { height: 22px; border-radius: 6px; background: var(--nx-surface); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.fx-board__col > .fx-board__card { display: grid; place-items: center; height: 26px; background: var(--nx-orange); color: var(--nx-navy); font-weight: 800; box-shadow: 0 6px 14px rgba(247,148,29,.35); }
.is-playing .fx-board__card { animation: fx-board var(--flow-duration) var(--nx-ease-out) infinite; }

.fx-receipt { display: grid; grid-template-columns: 90px 1fr; gap: 14px; align-items: center; }
.fx-receipt__slip { position: relative; display: grid; gap: 7px; padding: 12px 10px; overflow: hidden; border-radius: 6px; background: var(--nx-surface); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.fx-receipt__slip i { height: 5px; border-radius: 3px; background: var(--nx-line); }
.fx-receipt__scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--nx-orange); box-shadow: 0 0 12px var(--nx-orange); }
.fx-receipt__ledger { display: grid; gap: 5px; }
.fx-receipt__ledger span { padding: 6px 8px; border-radius: 7px; background: var(--nx-surface); font-weight: 650; }
.fx-receipt__new { border: 1px solid var(--nx-orange); opacity: 0; transform: translateY(6px); }
.is-playing .fx-receipt__scan { animation: fx-scan var(--flow-duration) linear infinite; }
.is-playing .fx-receipt__new { animation: fx-in-y var(--flow-duration) var(--nx-ease-out) infinite; animation-delay: 1.2s; }

.fx-follow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.fx-follow__list, .fx-follow__calls { display: grid; gap: 5px; }
.fx-follow__list span, .fx-follow__calls span { padding: 6px 8px; border-radius: 7px; background: var(--nx-surface); font-weight: 650; }
.fx-follow__mails { display: grid; gap: 10px; }
.fx-follow__mails .fx-env { opacity: 0; }
.fx-follow__calls span { border: 1px solid var(--nx-orange); opacity: 0; }
.is-playing .fx-follow__mails .fx-env { animation: fx-fly var(--flow-duration) var(--nx-ease-out) infinite; }
.is-playing .fx-follow__mails .fx-env:nth-child(2) { animation-delay: .3s; } .is-playing .fx-follow__mails .fx-env:nth-child(3) { animation-delay: .6s; }
.is-playing .fx-follow__calls span { animation: fx-fade var(--flow-duration) linear infinite; animation-delay: 1.6s; }

.fx-weekly { display: grid; gap: 10px; }
.fx-weekly__bars { display: flex; align-items: flex-end; gap: 10px; height: 80px; padding: 0 6px; border-bottom: 2px solid var(--nx-line); }
.fx-weekly__bars span { flex: 1; height: calc(var(--h) * 100%); border-radius: 6px 6px 0 0; background: linear-gradient(var(--nx-orange), #FFC77A); transform-origin: bottom; transform: scaleY(.05); }
.fx-weekly__notes { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-weekly__notes span { padding: 4px 9px; border-radius: 999px; background: var(--nx-surface); font-weight: 700; opacity: 0; }
.is-playing .fx-weekly__bars span { animation: fx-grow var(--flow-duration) var(--nx-ease-out) infinite; }
.is-playing .fx-weekly__bars span:nth-child(2) { animation-delay: .15s; } .is-playing .fx-weekly__bars span:nth-child(3) { animation-delay: .3s; }
.is-playing .fx-weekly__bars span:nth-child(4) { animation-delay: .45s; } .is-playing .fx-weekly__bars span:nth-child(5) { animation-delay: .6s; }
.is-playing .fx-weekly__notes span { animation: fx-fade var(--flow-duration) linear infinite; animation-delay: 1.2s; }

.fx-chat { display: grid; grid-template-columns: 1fr 120px; gap: 14px; align-items: center; }
.fx-chat__thread { display: grid; gap: 6px; }
.fx-chat__msg { justify-self: start; padding: 6px 10px; border-radius: 12px 12px 12px 3px; background: var(--nx-surface); font-weight: 650; }
.fx-chat__photo { justify-self: start; width: 70px; height: 46px; border-radius: 8px; background: linear-gradient(135deg, #cfd8e3, #9fb0c2); position: relative; }
.fx-chat__folder { display: grid; gap: 5px; padding: 10px; border-radius: 10px; border: 2px dashed var(--nx-orange); background: var(--nx-surface); }
.fx-chat__folder span { font-weight: 700; color: var(--nx-ink-soft); }
.is-playing .fx-chat__photo { animation: fx-file var(--flow-duration) var(--nx-ease-out) infinite; animation-delay: .6s; }
.is-playing .fx-chat__folder { animation: fx-glow var(--flow-duration) linear infinite; animation-delay: 1.4s; }

.fx-doc { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: center; }
.fx-doc__page { display: grid; gap: 7px; padding: 12px; border-radius: 6px; background: var(--nx-surface); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.fx-doc__page i { height: 5px; border-radius: 3px; background: var(--nx-line); transform-origin: left; transform: scaleX(0); }
.fx-doc__check { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fx-doc__check li { padding: 6px 8px 6px 26px; border-radius: 7px; background: var(--nx-surface); font-weight: 650; position: relative; opacity: 0; }
.fx-doc__check li::before { content: '✓'; position: absolute; left: 9px; color: #2F6B3A; font-weight: 900; }
.fx-doc__check li.is-warn::before { content: '!'; color: var(--nx-orange-dark); }
.is-playing .fx-doc__page i { animation: fx-write var(--flow-duration) var(--nx-ease-out) infinite; }
.is-playing .fx-doc__page i:nth-child(3) { animation-delay: .2s; } .is-playing .fx-doc__page i:nth-child(4) { animation-delay: .4s; }
.is-playing .fx-doc__page i:nth-child(5) { animation-delay: .6s; } .is-playing .fx-doc__page i:nth-child(6) { animation-delay: .8s; }
.is-playing .fx-doc__check li { animation: fx-fade var(--flow-duration) linear infinite; animation-delay: 1.1s; }
.is-playing .fx-doc__check li:nth-child(2) { animation-delay: 1.4s; } .is-playing .fx-doc__check li:nth-child(3) { animation-delay: 1.7s; }

.fx-over { display: grid; gap: 10px; }
.fx-over__job { display: flex; justify-content: space-between; color: var(--nx-ink-soft); }
.fx-over__job b { color: var(--nx-ink); }
.fx-over__bar { position: relative; height: 18px; border-radius: 999px; background: var(--nx-surface); box-shadow: inset 0 0 0 1px var(--nx-line); overflow: visible; }
.fx-over__fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, #7CC48B, var(--nx-orange) 75%, var(--nx-error)); }
.fx-over__mark { position: absolute; top: -6px; bottom: -6px; left: 80%; width: 2px; background: var(--nx-navy); }
.fx-over__mark::after { content: 'Quote'; position: absolute; top: -16px; left: -14px; font-size: .65rem; font-weight: 800; color: var(--nx-navy); }
.fx-over__alert { padding: 8px 10px; border-radius: 8px; background: var(--nx-orange-tint); border: 1px solid var(--nx-orange); font-weight: 800; opacity: 0; }
.is-playing .fx-over__fill { animation: fx-fill var(--flow-duration) var(--nx-ease-out) infinite; }
.is-playing .fx-over__alert { animation: fx-pop var(--flow-duration) var(--nx-ease-out) infinite; animation-delay: 1.4s; }

@keyframes fx-in-x { 0% { opacity: 0; transform: translateX(-10px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fx-in-y { 0% { opacity: 0; transform: translateY(6px); } 12%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes fx-pop { 0% { opacity: 0; transform: scale(.9); } 10% { opacity: 1; transform: scale(1.04); } 16%, 80% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes fx-fade { 0% { opacity: 0; } 10%, 82% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fx-write { 0% { transform: scaleX(0); } 18%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fx-tag { 0%, 8% { background: var(--nx-surface); } 15%, 85% { background: var(--nx-orange); color: var(--nx-navy); } 100% { background: var(--nx-surface); } }
@keyframes fx-board { 0%, 12% { transform: translate(0, 0); } 35%, 45% { transform: translate(calc(100% + 24px), -28px); } 65%, 90% { transform: translate(calc(200% + 32px), -28px); } 100% { transform: translate(0, 0); } }
@keyframes fx-scan { 0% { top: 0; } 45% { top: calc(100% - 3px); } 50%, 100% { top: calc(100% - 3px); opacity: 0; } }
@keyframes fx-fly { 0% { opacity: 0; transform: translateX(-20px); } 20% { opacity: 1; transform: none; } 45% { opacity: 1; transform: translateX(10px); } 60%, 100% { opacity: 0; transform: translateX(30px); } }
@keyframes fx-grow { 0% { transform: scaleY(.05); } 30%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.05); } }
@keyframes fx-file { 0%, 10% { transform: none; opacity: 1; } 40% { transform: translate(150px, 0) scale(.4); opacity: 0; } 41%, 90% { transform: none; opacity: 0; } 100% { opacity: 1; } }
@keyframes fx-glow { 0% { box-shadow: none; } 10% { box-shadow: 0 0 0 6px rgba(247,148,29,.25); } 30%, 100% { box-shadow: none; } }
@keyframes fx-fill { 0% { width: 0; } 55%, 85% { width: 92%; } 100% { width: 0; } }

@media (max-width: 767px) {
  .sp-flow.is-modal,
  .sp-flow.is-modal.is-visible {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(0);
  }
  .sp-flow.is-modal { transform: translateY(24px); }
  .sp-flow.is-modal .sp-flow__panel { max-height: 88vh; border-radius: 24px 24px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); }
  .sp-flow__label { font-size: .64rem; }
  .sp-flow__dot { width: 30px; height: 30px; }
  .sp-flow__track { margin-inline: 15px; margin-bottom: -19px; }
  .fx-receipt, .fx-doc, .fx-chat { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-example--flow::before { animation: none; background: var(--nx-orange); }
  .sp-example__hint i { animation: none; }
  .sp-flow, .sp-flow-backdrop { transition: none; }
  .fx [style], .fx * { opacity: 1 !important; transform: none !important; }
  .fx-over__fill { width: 92%; }
}

/* ---- Quick look (hover) vs full walkthrough (click) — 2026-09-28 ---- */
.sp-flow.is-hover { width: min(360px, calc(100vw - 32px)); }
.sp-flow.is-hover .sp-flow__panel { padding: 20px 20px 16px; }
.sp-flow.is-hover .sp-flow__title { font-size: 1.2rem; }
.sp-flow.is-hover .sp-flow__sub { margin-bottom: 14px; font-size: .92rem; }
.sp-flow.is-hover .sp-flow__scene,
.sp-flow.is-hover .sp-flow__track,
.sp-flow.is-hover .sp-flow__steps,
.sp-flow.is-hover .sp-flow__body,
.sp-flow.is-hover .sp-flow__keep,
.sp-flow.is-hover .sp-flow__cta { display: none; }
.sp-flow.is-modal .sp-flow__quick,
.sp-flow.is-modal .sp-flow__quickline,
.sp-flow.is-modal .sp-flow__more { display: none; }

.sp-flow__quick {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.sp-flow__quick::before {
  content: '';
  position: absolute;
  top: 21px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: var(--nx-line);
}

.sp-flow__quick li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; }

.sp-flow__icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--nx-line);
  border-radius: 12px;
  background: var(--nx-surface);
  color: var(--nx-ink);
}

.sp-flow__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-flow__quick li.is-gate .sp-flow__icon { border-color: var(--nx-orange); color: var(--nx-orange-dark); }
.sp-flow__quick .sp-flow__label { font-size: .72rem; color: var(--nx-ink); }

.sp-flow__quickline {
  margin: 0 0 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--nx-orange-tint);
  color: var(--nx-ink);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.45;
}

.sp-flow__more { margin: 0; color: var(--nx-ink-soft); font-size: .76rem; font-weight: 700; text-align: center; }

.sp-flow.is-playing .sp-flow__quick .sp-flow__icon {
  animation: sp-quick-on 3.2s linear infinite;
  animation-delay: calc(var(--at) * 3.2s * .7);
}

@keyframes sp-quick-on {
  0% { border-color: var(--nx-orange); background: var(--nx-orange); color: var(--nx-navy); transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 18px rgba(247, 148, 29, .35); }
  14% { transform: none; box-shadow: none; }
  14%, 70% { border-color: var(--nx-orange); background: var(--nx-orange-tint); color: var(--nx-orange-dark); }
  85%, 100% { border-color: var(--nx-line); background: var(--nx-surface); color: var(--nx-ink); }
}

@media (prefers-reduced-motion: reduce) {
  .sp-flow.is-playing .sp-flow__quick .sp-flow__icon { animation: none; }
}

/* ---- Case study: PNBHS Old Boys CRM (2026-09-28) ---- */
.sp-case {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 8px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--nx-line);
  border-radius: 28px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(247, 148, 29, .12), transparent 70%),
    var(--nx-surface);
  box-shadow: var(--nx-shadow-soft);
}

.sp-case__copy { display: grid; justify-items: start; gap: 14px; }
.sp-case__copy h3 { margin: 0; color: var(--nx-ink); font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.sp-case__sub { margin: -6px 0 0; color: var(--nx-orange-dark); font-size: 1.1rem; font-weight: 750; }
.sp-case__copy > p:not(.sp-case__sub) { margin: 0; color: var(--nx-ink-soft); line-height: 1.65; }
.sp-case__copy .sp-ticks { margin: 4px 0 8px; }

.sp-case__media { position: relative; }
.sp-case__tabs { display: inline-flex; gap: 4px; margin-bottom: 12px; padding: 4px; border-radius: 999px; background: var(--nx-surface-warm); border: 1px solid var(--nx-line); }
.sp-case__tabs button { padding: 7px 16px; border: 0; border-radius: 999px; background: none; color: var(--nx-ink-soft); font: inherit; font-size: .82rem; font-weight: 750; cursor: pointer; }
.sp-case__tabs button[aria-selected="true"] { background: var(--nx-orange); color: var(--nx-navy); box-shadow: 0 6px 14px rgba(247, 148, 29, .3); }
.sp-case__tabs button:focus-visible { outline: 3px solid rgba(247, 148, 29, .5); outline-offset: 2px; }

.sp-case__window { box-shadow: 0 30px 70px -24px rgba(26, 26, 46, .35); }
.sp-case__shots { position: relative; aspect-ratio: 1440 / 900; background: #f8fafc; }
.sp-case__shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity 260ms var(--nx-ease-out); }
.sp-case__shots img.is-active { opacity: 1; }

.sp-case__caption { margin: 10px 0 0; color: var(--nx-ink-soft); font-size: .78rem; }

.sp-case__quote {
  position: absolute;
  right: -14px;
  bottom: 34px;
  max-width: 290px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(247, 148, 29, .4);
  border-radius: 16px;
  background: var(--nx-surface);
  color: var(--nx-ink);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 20px 44px -14px rgba(26, 26, 46, .35);
}
.sp-case__stars { display: block; margin-bottom: 4px; color: var(--nx-orange); letter-spacing: 2px; }
.sp-case__quote cite { display: block; margin-top: 6px; color: var(--nx-ink-soft); font-size: .78rem; font-style: normal; font-weight: 650; }

@media (max-width: 1023px) {
  .sp-case { grid-template-columns: 1fr; }
  .sp-case__quote { position: static; max-width: none; margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) { .sp-case__shots img { transition: none; } }

/* Nexron Brain call-out on the AI Set-Up and AI Automation pages (2026-09-29). */
.sp-brain-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 32px;
  padding: 22px 24px;
  border: 1px solid rgba(247, 148, 29, .35);
  border-radius: 18px;
  background: var(--nx-orange-tint);
}
.sp-brain-note__mark { flex: none; width: 44px; height: 44px; }
.sp-brain-note__title { margin: 0 0 6px; color: var(--nx-ink); font-size: 1.08rem; font-weight: 800; }
.sp-brain-note p { margin: 0 0 10px; color: var(--nx-ink-soft); line-height: 1.6; }
.sp-brain-note__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--nx-orange-dark); font-weight: 700; text-decoration: none; }
.sp-brain-note__link:hover { text-decoration: underline; }
@media (max-width: 520px) { .sp-brain-note { flex-direction: column; gap: 12px; } }

/* Phone examples (2026-09-30): AI Automation's examples fold behind one button and the
   PNBHS case card is left out, unless a link targets it (home "See the build"). The
   content stays in the HTML for search engines and desktop. */
.sp-examples__more { display: none; }
@media (max-width: 767px) {
  #examples .pg-section-head > p:not(.sp-subtitle) { display: none; }
  #examples:not(.is-open) .sp-example { display: none; }
  #examples .sp-case:not(:target):not(:has(:target)) { display: none; }
  #examples:not(.is-open) .sp-examples:not(:has(:target)) { margin-top: 0; }
  #examples { scroll-margin-top: 80px; }
  #examples .sp-examples__more { display: flex; justify-content: center; margin: 20px 0 0; }
  #examples.is-open .sp-examples__more { margin-top: 28px; }
  #case-title { scroll-margin-top: 104px; }
}

/* Phone AI Set-Up (2026-09-30). The hero workspace: chat tabs become one swipeable row
   above a full-width chat (a later 172px-column rule was squeezing it). The "includes"
   list repeats the in-office course steps, and the knowledge map is desktop detail, so
   both are left out on phones; they stay in the HTML. */
@media (max-width: 767px) {
  .sp-workspace { grid-template-columns: 1fr; }
  .sp-workspace__files {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px;
    scrollbar-width: none;
  }
  .sp-workspace__files::-webkit-scrollbar { display: none; }
  .sp-workspace__files p { display: none; }
  .sp-workspace__files .sp-chat-tab { flex: none; width: auto; border: 1px solid var(--nx-line); border-radius: 999px; padding: 8px 12px; }
  section[aria-labelledby="included-title"],
  section[aria-labelledby="learns-title"] .sp-map { display: none; }
}
