/* StayNative draft (local only, see _draft/BRIEF.md).
   Sits on top of the live site's /style.css: same navy, same Mona Sans, same buttons, chips,
   bands and nav. This file only adds what the new pages need. Sky is an agent and the primary
   button, mint is data moving both ways, coral is what's broken or done by hand. */

/* What each band lends its parts */
.hero, .band, .cta {
  --fg-2: var(--text-2);
  --fg-3: var(--text-3);
  --rule: var(--line);
  --rule-2: var(--line-2);
  --tile: var(--surface);
  --tile-2: var(--surface-2);
  --edge: var(--line-2);
  --accent: var(--sky);
  --on-accent: var(--ink);
  --bad: var(--coral);
  --flow: var(--mint);
  --r: 12px;
}
.band--light {
  --fg-2: var(--navy-2);
  --fg-3: var(--slate);
  --rule: var(--rule-light);
  --rule-2: var(--rule-light-2);
  --tile: var(--white);
  --tile-2: var(--white);
  --edge: var(--rule-light-2);
  --accent: var(--cobalt);
  --on-accent: var(--white);
  --bad: #A63A2B;
  --flow: var(--mint-ink);
}

figure, dl, dd { margin: 0; }

.draft-bar {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 30;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
}

/* ---------- Shared pieces ---------- */

.sheet { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4rem); }
.stack { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.stack--tight { gap: 0.9rem; align-items: stretch; }
.stack > .lede, .stack > .title { margin-top: 0; }
.band--light .chip { border-color: var(--rule-light-2); background: var(--white); color: var(--navy-2); }

/* Small label over a group of things */
.label {
  color: var(--fg-3);
  font-size: 0.8125rem;
  font-weight: 600;
  font-stretch: 108%;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}
.label--red { color: var(--bad); }
.label--cobalt { color: var(--accent); }

.display {
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: 620;
  font-stretch: 112%;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.aside-line { max-width: 40rem; color: var(--fg-2); font-size: 1.0625rem; line-height: 1.5; }

/* Art that isn't made yet */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px dashed var(--rule-2);
  border-radius: var(--r);
  color: var(--fg-3);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: center;
}

/* ---------- Nav: a real menu, on phones too ---------- */

.nav-toggle {
  display: none;
  min-height: 2.5rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
@media (max-width: 820px) {
  .nav__inner { gap: 0.6rem; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav.is-open { background: var(--midnight) !important; border-bottom-color: var(--line) !important; }
  .nav.is-open nav {
    display: block;
    position: absolute;
    inset: 100% 0 auto;
    margin: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--midnight);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links { flex-direction: column; gap: 0; }
  .nav.is-open .nav__links a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 1.0625rem; }
}
@media (max-width: 480px) {
  .nav__inner .btn { display: none; }
  .nav-toggle { margin-left: auto; }
}

.hero--page { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.hero .hero__title .c2 { max-width: 18ch; }

/* ---------- Hero figures: today's tangle, and the one platform ---------- */

.figs-wrap { container: figs / inline-size; margin-top: clamp(3rem, 6vw, 5rem); }
.figs { position: relative; display: grid; gap: 0.5rem; }
.fig {
  container: fig / inline-size;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.fig-cap { color: var(--fg-2); font-size: 0.9375rem; font-weight: 600; font-stretch: 108%; letter-spacing: 0.01em; }
.figs-arrow { display: flex; justify-content: center; align-items: center; height: 88px; color: var(--fg-3); }
.figs-arrow svg { display: block; rotate: 90deg; }

@container figs (min-width: 1040px) {
  .figs { grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr); gap: 0; }
  .fig { max-width: none; }
  .figs-arrow { align-self: center; height: auto; }
  .figs-arrow svg { rotate: none; }
}

/* A box in the drawing */
.node {
  min-height: 56px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--tile);
  color: inherit;
  font-size: 0.875rem;
  line-height: 1.3;
}
.node--file { background: transparent; color: var(--fg-2); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
/* What you already run is the light object, as on the live site */
.node--erp { min-height: 72px; border-color: var(--ice-edge); background: var(--ice); color: var(--navy); }
.note { color: var(--bad); font-size: 0.8125rem; line-height: 1.25; }

/* Fig. 1, narrow: the ERP, then each tool with what's wrong under it */
.tangle { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.tangle > .node--erp { grid-column: 1 / -1; }
.sat { display: flex; flex-direction: column; gap: 6px; }
.sat .note { text-align: center; }

/* Fig. 1, wide: the ERP in the middle, tools around it, coral links between */
@container fig (min-width: 440px) {
  .tangle {
    grid-template-columns: 1fr 56px 1fr 56px 1fr;
    grid-template-rows: auto 88px auto 88px auto;
    gap: 0;
    align-items: center;
  }
  .tangle > .node--erp { grid-area: 3 / 3; }
  .sat { display: contents; }
  .sat .note { justify-self: center; padding: 0 4px; }

  .sat--crm .node { grid-area: 1 / 1; }
  .sat--crm .note { grid-area: 2 / 1; }
  .sat--sched .node { grid-area: 1 / 3; }
  .sat--sched .note { grid-area: 2 / 3; }
  .sat--po .node { grid-area: 1 / 5; }
  .sat--po .note { grid-area: 2 / 5; }
  .sat--quotes .node { grid-area: 3 / 1; }
  .sat--quotes .note { grid-area: 3 / 2; }
  .sat--inv .node { grid-area: 3 / 5; }
  .sat--inv .note { grid-area: 3 / 4; }
  .sat--email .node { grid-area: 5 / 1; }
  .sat--email .note { grid-area: 4 / 1; }
  .sat--job .node { grid-area: 5 / 3; }
  .sat--job .note { grid-area: 4 / 3; }
  .sat--pos .node { grid-area: 5 / 5; }
  .sat--pos .note { grid-area: 4 / 5; }

  .sat .note--v, .sat .note--h {
    position: relative;
    justify-self: stretch;
    align-self: stretch;
    padding: 0;
    display: flex;
  }
  .note--v::before, .note--h::before { content: ""; position: absolute; }
  .note--v { align-items: center; padding-left: calc(50% + 12px) !important; white-space: nowrap; }
  .note--v::before { left: calc(50% - 1px); top: 0; bottom: 0; border-left: 2px dashed var(--bad); }
  .note--h { justify-content: center; }
  .note--h span { position: absolute; bottom: calc(50% + 6px); white-space: nowrap; }
  .note--h::before { top: calc(50% - 1px); left: 0; right: 0; border-top: 2px dashed var(--bad); }
}

/* Fig. 2: the platform is a white window, like the real screens on the site */
.platform {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 24px 60px rgb(3 10 30 / 0.45);
}
.platform-name { color: var(--slate); font-size: 0.8125rem; font-weight: 500; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  flex: 1 1 72px;
  min-height: 40px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--tile-line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  appearance: none;
}
button.tab { cursor: pointer; }
button.tab:hover:not(.is-on) { background: var(--paper); }
button.tab:focus-visible { outline-color: var(--cobalt); }
.tab.is-on { border-color: var(--cobalt); background: var(--cobalt); color: var(--white); font-weight: 650; }
.tab--next { border-style: dashed; border-color: var(--ice-edge); color: var(--slate); }

.screens { display: grid; border: 1px solid var(--tile-line); border-radius: 10px; background: var(--paper); overflow: hidden; }
.scr { grid-area: 1 / 1; visibility: hidden; display: flex; flex-direction: column; font-size: 0.8125rem; line-height: 1.4; }
.scr.is-on { visibility: visible; }
.scr-title { padding: 10px 12px; border-bottom: 1px solid var(--s-line); background: var(--white); font-size: 0.875rem; font-weight: 650; }
.scr-row { display: grid; grid-template-columns: 1.5fr .9fr 1.3fr; gap: 8px; padding: 7px 12px; border-top: 1px solid var(--s-line); background: var(--white); }
.scr-row > :last-child { text-align: right; }
.scr-row--head { border-top: 0; background: transparent; color: var(--slate); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; }
.scr-foot { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-top: 1px solid var(--tile-line); font-weight: 650; }
.scr-foot > :last-child { white-space: nowrap; }

.fig2-body { display: flex; flex-direction: column; }
.sync { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; color: var(--flow); }
.sync svg { grid-column: 2; display: block; }
.sync span { font-size: 0.8125rem; font-weight: 500; line-height: 1.25; }

.base { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.base .node--erp { grid-column: 1 / -1; justify-self: center; width: 152px; min-height: 64px; }
.retired { display: flex; flex-direction: column; gap: 8px; }
.retired li {
  padding: 5px 8px;
  border: 1px dashed var(--edge);
  border-radius: 8px;
  color: var(--fg-3);
  font-size: 0.8125rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: line-through;
}
@container fig (min-width: 440px) {
  .base { grid-template-columns: 1fr 152px 1fr; gap: 0 28px; align-items: center; }
  .base .node--erp { grid-column: 2; grid-row: 1; }
}

.sheet-foot { margin-top: 1.5rem; }
.fig-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.fig-controls[hidden], .ctl[hidden] { display: none; }
.ctl {
  min-height: 44px;
  padding: 0 1.1rem;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-2);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}
.ctl:hover { background: var(--tile); border-color: var(--accent); }

/* ---------- Hero animation: the tangle collapses into the one platform ----------
   draft.js adds .is-animated only when the reader has not asked for reduced motion.
   Without it, both figures simply sit there, complete. */

.flyer { position: absolute; z-index: 2; margin: 0; min-height: 0; overflow: hidden; pointer-events: none; }

.figs.is-animated .note { transition: opacity .3s; }
.figs.is-animated:not([data-state="today"]) .note { opacity: 0; }
.figs.is-animated .tangle .node { transition: color .3s, background-color .3s, border-color .3s; }
.figs.is-animated .node.is-gone { border-style: dashed; border-color: var(--rule-2); background: transparent; color: var(--fg-3); }

.figs.is-animated .platform { transition: background-color .3s, box-shadow .3s; }
.figs.is-animated[data-state="today"] .platform { border: 1px dashed var(--edge); background: transparent; box-shadow: none; }
.figs.is-animated .reveal { opacity: 0; transition: opacity .25s; }
.figs.is-animated .reveal.is-in { opacity: 1; }
.figs.is-animated .retired li { text-decoration-color: transparent; transition: opacity .25s, text-decoration-color .3s .25s; }
.figs.is-animated .retired li.is-in { text-decoration-color: currentColor; }
.figs.is-animated .sync .line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .4s; }
.figs.is-animated .sync .head { opacity: 0; transition: opacity .15s .35s; }
.figs.is-animated .sync.is-in .line { stroke-dashoffset: 0; }
.figs.is-animated .sync.is-in .head { opacity: 1; }

/* Too narrow for side by side: the two figures share one spot, and one replaces the other */
@container figs (width < 1040px) {
  .figs.is-animated .fig { grid-area: 1 / 1; }
  .figs.is-animated .figs-arrow { display: none; }
  .figs.is-animated .fig--before { transition: opacity .45s; }
  .figs.is-animated[data-state="today"] .fig--after { visibility: hidden; }
  .figs.is-animated:not([data-state="today"]) .fig--before { opacity: 0; visibility: hidden; transition: opacity .45s .35s, visibility 0s .8s; }
}

/* ---------- Case study ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 0.75rem; }
.card {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border: 1px solid var(--edge);
  border-radius: var(--r);
  background: var(--tile);
  font-size: 1rem;
  line-height: 1.45;
}
.card--red { border-top: 3px solid var(--bad); }
.card--cobalt { border-top: 3px solid var(--accent); }

.beforeafter { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 2rem; align-items: start; }
.beforeafter > .stack { align-items: stretch; }
.beforeafter > .stack > .placeholder { height: 300px; }

/* The tool's screen, with numbered callouts pinned to the thing each one points at */
.toolshot {
  margin-left: 12px;
  border: 1px solid var(--tile-line);
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 18px 40px rgb(20 33 74 / 0.12);
}
.has-pin { position: relative; }
.pin {
  position: absolute;
  left: -12px;
  top: 50%;
  translate: 0 -50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}
.shot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--tile-line); }
.shot-title { font-weight: 650; font-size: 0.9375rem; }
.shot-actions { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-left: 12px; }
.shot-btn { padding: 6px 10px 6px 20px; border: 1px solid var(--ice-edge); border-radius: 8px; font-size: 0.8125rem; font-weight: 500; }
.shot-btn--solid { border-color: var(--navy); background: var(--navy); color: var(--white); }
.shot-layout { margin: 14px; height: 96px; padding: 12px 20px; border-color: var(--ice-edge); color: var(--slate); }
.shot-layout .pin { left: -26px; }
.shot-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; padding: 10px 14px 10px 20px; border-top: 1px solid var(--s-line); font-size: 0.875rem; }
.shot-row > :nth-last-child(-n+2) { text-align: right; }
.shot-row--head { border-top: 0; color: var(--slate); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; }
.shot-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 14px 12px 20px; border-top: 1px solid var(--tile-line); font-weight: 650; font-size: 0.9375rem; }

.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1.5rem 3rem; }
.result { padding-top: 1.25rem; border-top: 2px solid var(--accent); display: flex; flex-direction: column; gap: 0.4rem; color: var(--fg-2); font-size: 1.125rem; line-height: 1.4; }
.result b { color: var(--navy); font-size: clamp(3.25rem, 2rem + 5vw, 5.5rem); font-weight: 640; font-stretch: 115%; letter-spacing: -0.04em; line-height: 0.95; }

/* ---------- How we work ---------- */

.process { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.step {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--tile);
  color: var(--fg-2);
  font-size: 1rem;
  line-height: 1.5;
}
.step h3 { color: var(--text); font-size: 1.1875rem; line-height: 1.25; }
.dim { padding: 0.75rem 0 0.35rem; }
.dim .label { color: var(--text-2); }

@media (min-width: 1100px) {
  .process { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .dim { grid-row: 1; padding: 0 0 0.6rem; border-bottom: 2px solid var(--line-2); }
  .dim--a { grid-column: 1 / 4; }
  .dim--b { grid-column: 4 / 6; border-bottom-color: var(--sky); }
  .step { grid-row: 2; }
}

/* The company brain: a map you can click */
.brain { display: flex; flex-direction: column; gap: 1.25rem; padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--rule); }
.brain--page { padding-top: 0; border-top: 0; }
.map-hint { margin-top: 0.75rem; }
.brainmap { container: brainmap / inline-size; }
.chain { display: flex; flex-direction: column; }
.dept {
  min-height: 64px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  text-align: left;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--tile);
  color: inherit;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
  cursor: pointer;
  appearance: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.dept .label { font-size: 0.6875rem; }
.dept:hover:not(.is-on) { border-color: var(--accent); }
.dept.is-on { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.dept.is-on .label { color: var(--on-accent); opacity: 0.75; }
/* A department's details open right under it, so a tap on a phone shows its result in place */
.dept-panel { margin-top: 6px; padding: 1rem 0.9rem; border: 1px solid var(--edge); border-radius: 10px; background: var(--tile-2); }
.js .dept-panel:not(.is-on) { display: none; }
.dept-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0.9rem 1.5rem; }
.dept-facts > div { display: flex; flex-direction: column; gap: 0.25rem; }
.dept-facts dd { font-size: 0.9375rem; line-height: 1.45; }
/* The document that passes from one department to the next: mint, data moving */
.handoff { position: relative; height: 40px; display: flex; align-items: center; padding-left: 44px; color: var(--flow); font-size: 0.8125rem; font-weight: 500; line-height: 1.25; }
.handoff::before { content: ""; position: absolute; left: 23px; top: 2px; bottom: 6px; border-left: 2px solid var(--flow); }
.handoff::after { content: ""; position: absolute; left: 19px; bottom: 0; width: 10px; height: 8px; background: var(--flow); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.erp-rail {
  margin-top: 12px;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--ice-edge);
  border-radius: 10px;
  background: var(--ice);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
}

/* Wide: the departments in a row, the ERP under them, the open department's details under that */
@container brainmap (min-width: 860px) {
  .js .chain { display: grid; grid-template-columns: 1fr 104px 1fr 104px 1fr 104px 1fr 104px 1fr; }
  .js .dept { grid-row: 1; min-height: 72px; }
  .js .dept:nth-of-type(1) { grid-column: 1; }
  .js .dept:nth-of-type(2) { grid-column: 3; }
  .js .dept:nth-of-type(3) { grid-column: 5; }
  .js .dept:nth-of-type(4) { grid-column: 7; }
  .js .dept:nth-of-type(5) { grid-column: 9; }
  .js .handoff { grid-row: 1; height: auto; padding: 0 6px 22px; justify-content: center; text-align: center; }
  .js .handoff::before { left: 4px; right: 8px; top: 50%; bottom: auto; border-left: 0; border-top: 2px solid var(--flow); }
  .js .handoff::after { left: auto; right: 2px; top: calc(50% - 4px); bottom: auto; width: 8px; height: 10px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
  .js .erp-rail { grid-row: 2; grid-column: 1 / -1; }
  .js .dept-panel { grid-row: 3; grid-column: 1 / -1; margin-top: 12px; padding: 1.35rem; }
}

.fair-question {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 1.25rem 4rem;
  align-items: start;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--rule);
}
.fair-question .lede { margin-top: 0; }
.two-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 2rem 4rem; align-items: start; }
.two-up .stack { align-items: stretch; }
.two-up .lede { margin-top: 0; }

/* ---------- Who you work with ---------- */

.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1rem; }
.role {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border: 1px solid var(--edge);
  border-radius: var(--r);
  background: var(--tile);
  color: var(--fg-2);
  font-size: 1rem;
  line-height: 1.5;
}
.role h3 { color: var(--navy); font-size: 1.25rem; line-height: 1.25; }
.band:not(.band--light) .role h3 { color: var(--text); }

.founder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 2rem;
  align-items: start;
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
}
.founder .placeholder { height: 280px; max-width: 280px; }
.founder .lede { margin-top: 0; }
.facts { border-top: 1px solid var(--rule-2); }
.facts li { padding: 0.9rem 0; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; line-height: 1.4; }

/* A question only Mike can answer. Never goes live. */
.for-mike { max-width: 720px; padding: 1rem 1.25rem; border: 1px dashed var(--bad); border-radius: var(--r); font-size: 0.9375rem; line-height: 1.5; }

@media (max-width: 640px) {
  .sheet-foot { margin-top: 1rem; }
}

/* ---------- The multi-page site ---------- */

/* Menu: six pages, one with a child page */
.nav__links .has-sub { position: relative; }
.nav__links a.is-section { color: var(--text); }
.nav__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: -0.9rem;
  min-width: 11rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--midnight);
}
.nav__sub a { display: block; padding: 0.55rem 0; white-space: nowrap; }
.has-sub:hover > .nav__sub, .has-sub:focus-within > .nav__sub { display: block; }
@media (max-width: 1040px) {
  .nav nav { display: none; }
  .nav__inner .btn { margin-left: auto; }
  .nav__inner { gap: 0.6rem; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav.is-open { background: var(--midnight) !important; border-bottom-color: var(--line) !important; }
  .nav.is-open nav {
    display: block;
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    margin: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--midnight);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav.is-open .nav__links a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 1.0625rem; }
  .nav__sub, .has-sub:hover > .nav__sub { display: block; position: static; min-width: 0; padding: 0 0 0 1.25rem; border: 0; border-radius: 0; background: none; }
}

.footer__links--site { display: grid; grid-template-columns: repeat(2, auto); gap: 0.5rem 2rem; }

.linkrow { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.pagefig { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* Home: the five steps as one short list */
.shortsteps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 0; border-top: 1px solid var(--rule-2); }
.shortsteps li { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.1rem 1.25rem 1.1rem 0; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }

/* A card that is a link to another page */
.role--link { color: var(--fg-2); text-decoration: none; transition: border-color .2s ease; }
.role--link:hover { border-color: var(--accent); }
.role--link .link { margin-top: auto; padding-top: 0.5rem; align-self: flex-start; }

/* The five tools as tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1.25rem; }
.tiles a { display: flex; flex-direction: column; gap: 0.2rem; color: inherit; text-decoration: none; }
.tiles img { width: 100%; height: auto; margin-bottom: 0.6rem; border: 1px solid var(--edge); border-radius: 10px; background: var(--white); transition: border-color .2s ease; }
.tiles a:hover img { border-color: var(--accent); }
.tiles strong { font-size: 1.0625rem; font-weight: 650; line-height: 1.3; }
.tiles span { color: var(--fg-3); font-size: 0.9375rem; line-height: 1.35; }

/* Work page: one row per tool */
.worklist { display: flex; flex-direction: column; }
.workrow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem 3rem; align-items: center; padding-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--rule-2); }
.workrow:first-child { padding-top: 0; border-top: 0; }
.workrow:last-child { padding-bottom: 0; }
.workrow__shot img { display: block; width: 100%; height: auto; border: 1px solid var(--edge); border-radius: 12px; background: var(--white); box-shadow: 0 18px 40px rgb(20 33 74 / 0.10); }
.workrow .stack { gap: 0.7rem; }
.workrow__result { padding-left: 0.9rem; border-left: 3px solid var(--accent); color: var(--navy); font-size: 1.125rem; font-weight: 650; line-height: 1.4; }
@media (max-width: 760px) { .workrow { grid-template-columns: 1fr; } }

/* Platform: the workflows that share one set of data */
.flowlist { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.flowlist li { padding: 0.7rem 1.1rem; border: 1px solid var(--edge); border-radius: 10px; background: var(--tile); font-size: 1rem; font-weight: 600; }
.flowlist .flowlist__next { border-style: dashed; background: none; color: var(--fg-3); }

/* Steps on a light band */
.band--light .step h3 { color: var(--navy); }
.band--light .dim .label { color: var(--fg-3); }
@media (min-width: 1100px) {
  .band--light .dim { border-bottom-color: var(--rule-light-2); }
  .band--light .dim--b { border-bottom-color: var(--cobalt); }
}
.fair-question--page { padding-top: 0; border-top: 0; }
.placeholder--shot { min-height: 260px; }
.founder__photo { width: 100%; max-width: 280px; height: auto; border-radius: var(--r); }

/* Pricing: the two ways to pay */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1rem; }
.plan { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: 0.9rem; border: 1px solid var(--edge); border-top: 3px solid var(--accent); border-radius: var(--r); background: var(--tile); color: var(--fg-2); font-size: 1.0625rem; line-height: 1.55; }
.plan .display { color: var(--navy); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }

/* Why StayNative: each option, what it's good at, where it stops */
.versus { display: flex; flex-direction: column; }
.versus__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: 0.75rem 2.5rem; padding: 1.5rem 0; border-top: 1px solid var(--rule-2); color: var(--fg-2); font-size: 1.0625rem; line-height: 1.5; }
.versus__row h2 { color: var(--navy); font-size: 1.25rem; line-height: 1.25; }
.versus__row .label { display: none; }
.versus__row--head { padding: 0 0 0.75rem; border-top: 0; color: var(--fg-3); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.versus__row--us { margin-top: 0.5rem; padding: 1.5rem; border: 1px solid var(--cobalt); border-radius: var(--r); background: var(--white); color: var(--navy); }
.versus__row--us .label { display: block; margin-bottom: 0.25rem; color: var(--cobalt); }
@media (max-width: 760px) {
  .versus__row { grid-template-columns: 1fr; }
  .versus__row--head { display: none; }
  .versus__row .label { display: block; margin-bottom: 0.2rem; }
}

.faqpage { max-width: 52rem; }
.workrow .display, .plan .display { text-wrap: balance; }

/* ---------- The AI assistant, shown working ---------- */
.assistant { display: flex; flex-direction: column; gap: 1.1rem; }
.assistant__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.assistant__tab {
  min-height: 44px;
  padding: 0 1.1rem;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: transparent;
  color: var(--fg-2);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
.assistant__tab.is-on { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
/* The window glows: colour bleeds out from behind it, and its edge is a thin gradient line */
.assistant__stage { position: relative; isolation: isolate; }
.assistant__stage::before {
  content: "";
  position: absolute;
  inset: 6% 4% -4%;
  z-index: -1;
  border-radius: 40px;
  background: linear-gradient(100deg, #2353C4 0%, #8DB7FF 45%, #8EDDC8 100%);
  filter: blur(64px);
  opacity: 0.6;
}
.assistant__win {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  border: 1px solid transparent;
  border-radius: 18px;
  background: linear-gradient(#071330, #071330) padding-box, linear-gradient(120deg, #8DB7FF 0%, rgb(141 183 255 / 0.25) 30%, rgb(142 221 200 / 0.3) 70%, #8EDDC8 100%) border-box;
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 30px 80px rgb(3 10 30 / 0.5);
}
.assistant__side { display: flex; flex-direction: column; gap: 1rem; padding: 1.1rem; border-right: 1px solid rgb(141 183 255 / 0.16); background: rgb(141 183 255 / 0.05); }
.assistant__name { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 650; }
.assistant__name svg { width: 18px; height: 18px; }
.assistant__side ul { display: flex; flex-direction: column; gap: 2px; }
.assistant__side li { padding: 0.5rem 0.65rem; border-radius: 8px; color: var(--text-3); font-size: 0.875rem; line-height: 1.3; }
.assistant__side li.is-on { background: rgb(141 183 255 / 0.14); color: var(--text); }
.assistant__src { margin-top: auto; padding-top: 0.9rem; border-top: 1px solid rgb(141 183 255 / 0.16); color: var(--mint); font-size: 0.8125rem; line-height: 1.4; }
.assistant__main { display: flex; flex-direction: column; min-width: 0; }
.assistant__chats { display: grid; flex: 1; }
.assistant__chat { grid-area: 1 / 1; visibility: hidden; display: flex; flex-direction: column; gap: 1rem; min-width: 0; padding: clamp(1.1rem, 3vw, 1.75rem); }
.assistant__chat.is-on { visibility: visible; }
.msg { font-size: 1rem; line-height: 1.55; }
.msg--user { align-self: flex-end; max-width: 30rem; padding: 0.7rem 1rem; border-radius: 14px 14px 4px 14px; background: var(--sky); color: var(--ink); font-weight: 550; }
.msg--bot { display: flex; flex-direction: column; gap: 0.7rem; max-width: 40rem; color: var(--text); }
.msg--bot ol { display: flex; flex-direction: column; gap: 0.35rem; padding-left: 1.3rem; list-style: decimal; color: var(--text-2); }
.assistant__steps { display: flex; flex-direction: column; gap: 0.45rem; }
.assistant__steps li { display: flex; align-items: center; gap: 0.55rem; color: var(--text-2); font-size: 0.9375rem; }
.assistant__steps .glyph { flex: none; width: 16px; height: 16px; color: var(--sky); }
.assistant__file { align-self: flex-start; padding: 0.55rem 0.9rem; border: 1px solid var(--ice-edge); border-radius: 10px; background: var(--ice); color: var(--navy); font-size: 0.9375rem; font-weight: 600; }
.assistant__from { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.25rem; }
.assistant__from span { padding: 0.25rem 0.6rem; border: 1px solid rgb(142 221 200 / 0.4); border-radius: 999px; color: var(--mint); font-size: 0.8125rem; line-height: 1.3; }
.assistant__ask { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 clamp(1.1rem, 3vw, 1.75rem) clamp(1.1rem, 3vw, 1.5rem); padding: 0.55rem 0.55rem 0.55rem 1rem; border: 1px solid rgb(141 183 255 / 0.3); border-radius: 999px; background: rgb(141 183 255 / 0.07); color: var(--text-3); font-size: 0.9375rem; }
.assistant__ask i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sky); color: var(--ink); }
.assistant__ask .glyph { width: 16px; height: 16px; }
.assistant__note { color: var(--fg-3); font-size: 0.8125rem; }

/* One answer, three ways to see it */
.views__pick { display: inline-flex; align-self: flex-start; padding: 3px; border: 1px solid rgb(141 183 255 / 0.25); border-radius: 999px; }
.views__pick button { min-height: 34px; padding: 0 0.9rem; border: 0; border-radius: 999px; background: none; color: var(--text-2); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.views__pick button.is-on { background: var(--white); color: var(--navy); }
.view { display: none; padding: 1rem; border: 1px solid rgb(141 183 255 / 0.18); border-radius: 12px; background: rgb(141 183 255 / 0.06); }
.view.is-on { display: flex; flex-direction: column; gap: 0.6rem; }
.bar { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 4.2rem; align-items: center; gap: 0.75rem; font-size: 0.875rem; }
.bar__name { color: var(--text-2); }
.bar__track { display: flex; gap: 2px; width: var(--w); height: 18px; }
.bar__track i { border-radius: 3px; background: var(--sky); }
.bar__track i:nth-child(2) { background: #4F7DF0; }
.bar__track i:nth-child(3) { background: var(--coral); }
.bar__amt { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.bar__key { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin-top: 0.35rem; color: var(--text-3); font-size: 0.8125rem; }
.bar__key span { display: inline-flex; align-items: center; gap: 0.4rem; }
.bar__key i { width: 10px; height: 10px; border-radius: 2px; background: var(--sky); }
.bar__key span:nth-child(2) i { background: #4F7DF0; }
.bar__key span:nth-child(3) i { background: var(--coral); }
.vrow { display: grid; grid-template-columns: 1.6fr 1fr 1fr 0.8fr; gap: 0.6rem; padding: 0.45rem 0; border-top: 1px solid rgb(141 183 255 / 0.14); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.vrow > :not(:first-child) { text-align: right; }
.vrow--head { border-top: 0; color: var(--text-3); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.view--summary { color: var(--text-2); }

/* draft.js adds .is-animated only when motion is allowed: the chat then plays once, a beat at a time */
.assistant.is-animated .beat { opacity: 0; translate: 0 6px; transition: opacity .35s ease, translate .35s ease; }
.assistant.is-animated .beat.is-in { opacity: 1; translate: 0 0; }
.assistant.is-animated .bar__track { transition: width .7s cubic-bezier(.2, .7, .2, 1); }
.assistant.is-animated .beat:not(.is-in) .bar__track { width: 0; }
@media (prefers-reduced-motion: no-preference) {
  .assistant__stage::before { animation: stage-glow 9s ease-in-out infinite alternate; }
}
@keyframes stage-glow { to { opacity: 0.85; transform: translate3d(3%, 2%, 0) scale(1.04); } }
@media (max-width: 760px) {
  .assistant__win { grid-template-columns: 1fr; }
  .assistant__side { display: none; }
  .assistant__chat { min-height: 430px; }
  .bar { grid-template-columns: minmax(0, 1fr) auto; gap: 0.2rem 0.75rem; }
  .bar__name { grid-column: 1 / -1; }
  .vrow { grid-template-columns: 1.4fr 1fr 1fr; }
  .vrow > :nth-child(4) { display: none; }
}

/* ---------- Home hero: moving colour behind the headline, then a slanted edge ---------- */
.hero--home { background: var(--ink); padding-bottom: clamp(7.5rem, 15vw, 12rem); }
.hero--home > .wrap { position: relative; }
.hero__glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__glow i { position: absolute; border-radius: 50%; filter: blur(56px); will-change: transform; transform: rotate(-18deg); }
.hero__glow i:nth-child(1) { width: 74vw; height: 34vw; right: -12vw; top: -12vw; background: #2353C4; }
.hero__glow i:nth-child(2) { width: 52vw; height: 22vw; right: -2vw; top: 26%; background: #8DB7FF; opacity: 0.7; }
.hero__glow i:nth-child(3) { width: 46vw; height: 18vw; right: -8vw; bottom: 4%; background: #8EDDC8; opacity: 0.55; }
.hero__glow i:nth-child(4) { width: 70vw; height: 28vw; left: 0; bottom: -14vw; background: #4F7DF0; opacity: 0.8; }
/* Keeps the headline readable over the colour */
.hero__glow::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(11 26 60 / 0.86) 0%, rgb(11 26 60 / 0.6) 36%, rgb(11 26 60 / 0.12) 70%, transparent 100%); }
.hero--home::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(3rem, 8vw, 8rem); background: var(--paper); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
@media (max-width: 700px) {
  .hero__glow i { filter: blur(36px); height: 60vw !important; width: 110vw !important; }
  .hero__glow::after { background: linear-gradient(180deg, rgb(11 26 60 / 0.8) 0%, rgb(11 26 60 / 0.62) 55%, rgb(11 26 60 / 0.15) 100%); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__glow i { animation: glow-a 9s ease-in-out infinite alternate; }
  .hero__glow i:nth-child(2) { animation-name: glow-b; animation-duration: 7s; }
  .hero__glow i:nth-child(3) { animation-name: glow-c; animation-duration: 8s; }
  .hero__glow i:nth-child(4) { animation-name: glow-d; animation-duration: 11s; }
  .hero--home.is-paused .hero__glow i { animation-play-state: paused; }
}
@keyframes glow-a { to { transform: translate3d(-30vw, 14vw, 0) rotate(4deg) scale(1.25); } }
@keyframes glow-b { to { transform: translate3d(-34vw, -12vw, 0) rotate(-34deg) scale(1.35); } }
@keyframes glow-c { to { transform: translate3d(-40vw, -22vw, 0) rotate(-4deg) scale(0.8); } }
@keyframes glow-d { to { transform: translate3d(34vw, -20vw, 0) rotate(-30deg) scale(1.2); } }
.glow-toggle { margin-top: 2rem; min-height: 36px; padding: 0 0.8rem; border: 1px solid var(--line-2); border-radius: 999px; background: rgb(11 26 60 / 0.5); color: var(--text-2); font: inherit; font-size: 0.8125rem; font-weight: 600; cursor: pointer; }
.glow-toggle[hidden] { display: none; }

/* Three different customers' tools, fanned out: the product is different every time */
.hero__stack { position: relative; margin: 3rem 0 0; padding-top: 68%; }
.hero__stack img { position: absolute; width: 74%; height: auto; border: 1px solid rgb(255 255 255 / 0.5); border-radius: 12px; background: var(--white); box-shadow: 0 24px 60px rgb(3 10 30 / 0.5); }
.hero__stack img:nth-child(1) { left: 26%; top: 0; rotate: 5deg; }
.hero__stack img:nth-child(2) { left: 0; top: 17%; rotate: -5deg; }
.hero__stack img:nth-child(3) { left: 15%; top: 36%; rotate: 1.5deg; }
.hero__stack figcaption { position: absolute; left: 0; right: 0; top: 100%; padding-top: 1.1rem; color: var(--text-2); font-size: 0.9375rem; line-height: 1.45; }
.hero__stack + .glow-toggle { margin-top: 5.5rem; }
@media (min-width: 1041px) {
  .hero--home .hero__copy { max-width: 56%; }
  .hero__stack { position: absolute; right: 0; top: 2.5rem; width: 42%; margin: 0; padding-top: 28.5%; }
  .hero__stack + .glow-toggle { margin-top: 2rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__stack img { animation: stack-float 7s ease-in-out infinite alternate; }
  .hero__stack img:nth-child(2) { animation-delay: -2.5s; }
  .hero__stack img:nth-child(3) { animation-delay: -5s; }
  .hero--home.is-paused .hero__stack img { animation-play-state: paused; }
}
@keyframes stack-float { to { translate: 0 -12px; } }

/* The before/after demo on its own light band */
.sheet > .figs-wrap { margin-top: 0; }
.sheet > .sheet-foot { margin-top: -1.5rem; }
.band--light .platform { border-color: var(--tile-line); box-shadow: 0 24px 60px rgb(20 33 74 / 0.16); }
.band--light .node--erp { background: var(--white); border-color: var(--cobalt); }

/* Before and after, in colour: today is the warm, broken side; the platform sits on deep blue */
.band--demo .figs { gap: 1rem; }
.band--demo .fig { padding: clamp(1rem, 3vw, 1.75rem); border-radius: 20px; }
.band--demo .fig--before { background: #FCE9E4; --edge: #E9B9AE; --rule-2: #E9B9AE; --fg-3: #8A4A3E; }
.band--demo .fig--before .fig-cap { color: #A63A2B; }
.band--demo .fig--before .node--erp { border-color: var(--navy); }
.band--demo .fig--after {
  background: radial-gradient(120% 90% at 100% 0%, #3D6BE0 0%, #2353C4 38%, #0B1A3C 100%);
  color: var(--text);
  --fg-2: var(--text-2); --fg-3: var(--text-2); --edge: rgb(255 255 255 / 0.4); --rule-2: rgb(255 255 255 / 0.4); --tile: var(--surface); --flow: var(--mint);
}
.band--demo .fig--after .fig-cap { color: var(--white); }
.band--demo .fig--after .platform { border-color: transparent; box-shadow: 0 24px 60px rgb(3 10 30 / 0.45); }
.band--demo .fig--after .node--erp { background: var(--ice); border-color: var(--ice-edge); }
.band--demo .figs.is-animated[data-state="today"] .platform { border: 1px dashed rgb(255 255 255 / 0.45); box-shadow: none; }
.band--demo .figs-arrow { color: var(--cobalt); }
@container figs (min-width: 1040px) { .band--demo .figs { gap: 0; } }

/* ---------- One switch pauses every looping motion on the page ---------- */
.motion-toggle { position: fixed; right: 12px; bottom: 12px; z-index: 30; min-height: 36px; padding: 0 0.85rem; border: 1px solid var(--line-2); border-radius: 999px; background: rgb(11 26 60 / 0.82); color: var(--text-2); font: inherit; font-size: 0.8125rem; font-weight: 600; cursor: pointer; backdrop-filter: blur(8px); }
.motion-toggle[hidden] { display: none; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.hero__stack + .glow-toggle { margin-top: 0; }
@media (max-width: 1040px) { .hero--home .hero__stack { margin-bottom: 4.5rem; } }

/* ---------- Inner pages: the same moving colour, quieter, and the same slanted edge ---------- */
.hero--page { padding-bottom: clamp(6rem, 12vw, 9rem); }
.hero--page > .wrap { position: relative; z-index: 1; }
.hero--page::before { content: ""; position: absolute; right: -14vw; top: -18vw; width: 70vw; height: 40vw; border-radius: 50%; background: linear-gradient(110deg, #2353C4 10%, #4F7DF0 50%, #8EDDC8 100%); filter: blur(70px); opacity: 0.55; transform: rotate(-16deg); }
.hero--page::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(2.5rem, 6vw, 6rem); background: var(--paper); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
@media (prefers-reduced-motion: no-preference) { .hero--page::before { animation: page-glow 10s ease-in-out infinite alternate; } }
@keyframes page-glow { to { transform: translate3d(-22vw, 8vw, 0) rotate(6deg) scale(1.2); opacity: 0.75; } }
.hero--page .pagefig { position: relative; }

/* ---------- Call to action: a lit horizon ---------- */
.cta > .wrap { position: relative; z-index: 1; }
.cta::before, .cta::after { content: ""; position: absolute; left: 50%; width: max(1500px, 150vw); aspect-ratio: 1; border-radius: 50%; translate: -50% 0; }
.cta::before { top: calc(62% - 2px); background: linear-gradient(90deg, #2353C4 12%, #8DB7FF 42%, #8EDDC8 72%, #2353C4 92%); box-shadow: 0 -24px 90px -10px rgb(79 125 240 / 0.55); }
.cta::after { top: 62%; background: #081531; }
@media (prefers-reduced-motion: no-preference) { .cta::before { animation: horizon 7s ease-in-out infinite alternate; } }
@keyframes horizon { to { box-shadow: 0 -34px 130px -6px rgb(142 221 200 / 0.6); } }

/* ---------- A process running, with an agent dropping onto a step ---------- */
.lane { display: flex; flex-direction: column; gap: 1.25rem; }
.lane__steps { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .lane__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.75rem; } }
@media (min-width: 1100px) { .lane__steps { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.lane__step { position: relative; display: flex; flex-direction: column; gap: 0.45rem; padding: 1.1rem 1rem; border: 1px solid var(--edge); border-radius: var(--r); background: var(--tile); transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease; }
.lane__step h3 { font-size: 1.0625rem; line-height: 1.25; }
.lane__by { color: var(--fg-2); font-size: 0.9375rem; line-height: 1.45; }
.lane__by--agent, .lane__agent { display: none; }
.lane__step.has-agent { border-color: var(--sky); background: rgb(141 183 255 / 0.1); }
.lane__step.has-agent .lane__by--hand { display: none; }
.lane__step.has-agent .lane__by--agent { display: block; color: var(--text); }
.lane__step.has-agent .lane__agent { position: absolute; top: -14px; right: 12px; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--sky); color: var(--ink); font-size: 0.8125rem; font-weight: 700; box-shadow: 0 0 0 4px rgb(141 183 255 / 0.2), 0 8px 30px rgb(141 183 255 / 0.55); }
.lane__agent .glyph { width: 14px; height: 14px; }
.lane__step.is-active { border-color: var(--mint); box-shadow: 0 0 0 3px rgb(142 221 200 / 0.25), 0 12px 40px rgb(142 221 200 / 0.2); }
.lane__step.is-done::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--mint); }
.lane__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.6rem; }
.lane__controls .label { margin-right: 0.3rem; }
.lane__controls .ctl[aria-pressed="true"] { border-color: var(--sky); background: var(--sky); color: var(--ink); }
.lane__play { margin-left: auto; }
@media (prefers-reduced-motion: no-preference) {
  .lane__step.has-agent .lane__agent { animation: agent-drop .55s cubic-bezier(.3, 1.5, .5, 1) both; }
}
@keyframes agent-drop { from { opacity: 0; translate: 0 -46px; scale: 0.7; } }

/* ---------- Connections: many tools, one platform ---------- */
.hub { position: relative; border-radius: 20px; background: radial-gradient(90% 120% at 50% 50%, #17409F 0%, #0B1A3C 70%); overflow: hidden; }
.hub__art { display: block; width: 100%; height: clamp(220px, 30vw, 380px); }
.hub__lines path { fill: none; stroke: rgb(255 255 255 / 0.22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hub__pulses circle { fill: var(--mint); filter: drop-shadow(0 0 6px #8EDDC8); }
.hub__core { fill: #0B1A3C; stroke: var(--sky); stroke-width: 1.5; }
.hub__halo { fill: rgb(141 183 255 / 0.12); stroke: rgb(141 183 255 / 0.35); stroke-width: 1; }
@media (prefers-reduced-motion: no-preference) { .hub__halo { animation: halo 3.5s ease-in-out infinite alternate; transform-origin: 500px 190px; } }
@keyframes halo { to { transform: scale(1.18); opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) { .hub__pulses { display: none; } }
.conns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1.75rem 2.5rem; }
.conn { padding-top: 1rem; border-top: 2px solid var(--accent); }
.conn h3 { margin-bottom: 0.7rem; font-size: 1.0625rem; }
.conn ul { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.conn li { padding: 0.35rem 0.7rem; border: 1px solid var(--edge); border-radius: 999px; background: var(--tile); font-size: 0.9375rem; line-height: 1.3; }

/* ---------- Finish taken from the reference sites: layered shadows, fine stripes, faded edges ---------- */
.assistant__win { box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.75), 0 4px 8px rgb(3 10 30 / 0.4), 0 12px 32px rgb(3 10 30 / 0.7), 0 30px 80px 8px rgb(3 10 30 / 0.35); }
.hub::before, .cta > .wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to right, rgb(255 255 255 / 0.045) 0 1px, transparent 1px 8px);
  -webkit-mask-image: radial-gradient(70% 90% at 50% 60%, #000 0%, transparent 100%);
  mask-image: radial-gradient(70% 90% at 50% 60%, #000 0%, transparent 100%);
}
.cta > .wrap::before { inset: -8rem -50vw; z-index: -1; }
.hub__art { position: relative; -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); }
.cta::before { filter: blur(1.5px); }

/* Tool names scrolling past under the graphic, as key-cap tiles (logos go in the same tiles) */
.hub { padding-bottom: 1.5rem; }
.marquee { position: relative; display: flex; overflow: hidden; margin-top: 0.75rem; -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { flex: none; display: flex; gap: 0.75rem; padding-right: 0.75rem; }
.marquee__track li { flex: none; display: grid; place-items: center; min-height: 52px; padding: 0 1.25rem; border-radius: 14px; background: linear-gradient(-30deg, #0E214D 25%, #24418A 160%); box-shadow: inset 0 0 2px rgb(255 255 255 / 0.25), 0 1.5px 1.5px rgb(0 0 0 / 0.25); color: var(--white); font-size: 1rem; font-weight: 650; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 55s linear infinite; }
  .marquee--back .marquee__track { animation-direction: reverse; animation-duration: 65s; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; padding: 0 1rem; }
  .marquee__track { flex-wrap: wrap; flex: 1 1 100%; }
  .marquee__track[aria-hidden] { display: none; }
}
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__track li { display: flex; align-items: center; gap: 0.6rem; }
.marquee__track svg { flex: none; width: 22px; height: 22px; fill: currentColor; }

/* ---------- Fewer boxes: groups of things share thin rules on one grid, not separate cards ---------- */
.roles, .cards, .plans { gap: 0; padding: 0 1px 1px 0; }
.role, .card, .plan { margin: 0 -1px -1px 0; border: 1px solid var(--rule-2); border-radius: 0; background: none; }
.card--red, .card--cobalt, .plan { border-top: 1px solid var(--rule-2); }
.role, .plan { padding: clamp(1.25rem, 2.5vw, 2rem); }
.role--link:hover { border-color: var(--rule-2); background: rgb(141 183 255 / 0.1); }
.process { gap: 0; padding: 0 1px 1px 0; }
.step { margin: 0 -1px -1px 0; border: 1px solid var(--rule-2); border-radius: 0; background: none; }
@media (min-width: 1100px) { .dim { margin-bottom: 0.9rem; } }
.dept-panel { border-radius: 0; background: none; border-color: var(--rule-2); }
/* Tiles are white so each vendor's logo shows in its own colours */
.marquee__track li { min-height: 56px; background: var(--white); box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, 0 6px 18px rgb(3 10 30 / 0.35); color: var(--navy); }
.marquee__track img { flex: none; height: 24px; width: auto; max-width: 110px; }

/* The horizon sits under the call to action, so no text crosses the curve */
.cta { padding-bottom: clamp(9rem, 17vw, 15rem); }
.cta::before { top: calc(100% - clamp(5rem, 11vw, 10rem) - 2px); }
.cta::after { top: calc(100% - clamp(5rem, 11vw, 10rem)); }

/* The thin lines light up around the pointer */
.cta > .wrap::after, .hub::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to right, rgb(141 183 255 / 0.55) 0 1px, transparent 1px 8px);
  -webkit-mask-image: radial-gradient(240px circle at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 100%);
  mask-image: radial-gradient(240px circle at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 100%);
  opacity: 0;
  transition: opacity .4s ease;
}
.cta > .wrap::after { inset: -8rem -50vw; z-index: -1; }
.cta:hover > .wrap::after, .hub:hover::after { opacity: 1; }
.hub .marquee { z-index: 1; }

/* ---------- Every dark section: thin lines and a soft glow follow the pointer ---------- */
.has-spot { position: relative; isolation: isolate; }
.spot {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(to right, rgb(141 183 255 / 0.42) 0 1px, rgb(141 183 255 / 0.05) 1px 8px);
  -webkit-mask-image: radial-gradient(280px circle at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 100%);
  mask-image: radial-gradient(280px circle at var(--mx, -999px) var(--my, -999px), #000 0%, transparent 100%);
  opacity: 0;
  transition: opacity .4s ease;
}
.has-spot:hover > .spot { opacity: 1; }
.hero.has-spot > .spot { z-index: 0; }
.hero.has-spot > .wrap { z-index: 1; }
.has-spot > .spot { z-index: 0; }
.has-spot > .wrap { position: relative; z-index: 1; }
.marquee__track img { height: auto; max-width: 150px; }

/* ---------- Mess to platform: one full-width scene, driven by scrolling ---------- */
.band--demo { padding-top: 0; padding-bottom: clamp(2rem, 4vw, 3rem); }
.shift__stage {
  position: relative;
  width: min(100% - 2rem, 1480px);
  margin: 0 auto;
  padding: clamp(1rem, 2.4vw, 2rem);
  border-radius: 14px;
  background: radial-gradient(55% 60% at 12% 62%, #F9C9BC 0%, transparent 70%), radial-gradient(45% 55% at 88% 78%, #FAD3C6 0%, transparent 70%), radial-gradient(40% 45% at 62% 30%, #FDE3DA 0%, transparent 72%), linear-gradient(var(--paper) 0%, #FBE9E3 34%, #FBE4DD 100%);
  overflow: hidden;
  isolation: isolate;
  --p: 0;
}
.shift__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 78% 0%, #2F62DD 0%, #17409F 34%, #0B1A3C 76%); opacity: var(--p); }
.shift__cap { margin: 0 0 1.25rem; }
.shift__label { max-width: 46rem; margin: 0; font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.3; color: #7A2F22; }
.shift__label b { color: #A63A2B; }
.shift__label--b { margin-top: 2rem; color: #C9D8FA; }
.shift__label--b b { color: #fff; }
.shift__note { width: min(100% - 2rem, 1480px); margin: 1rem auto 0; font-size: 0.875rem; color: var(--fg-3); }

.mess { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 2rem 1rem; }
.mess__i { position: relative; width: 100%; }
.win { border: 1px solid #E3B4A8; border-radius: 8px; background: #fff; box-shadow: 0 10px 26px rgb(120 40 25 / 0.16); overflow: hidden; color: #2B3350; }
.win__bar { display: flex; align-items: center; gap: 0.4rem; margin: 0; padding: 0.4rem 0.6rem; border-bottom: 1px solid #EEF0F6; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.win__bar i { flex: none; width: 0.55rem; height: 0.55rem; border-radius: 2px; background: #9AA5C2; }
.win__bar em { margin-left: auto; padding: 0.05rem 0.4rem; border-radius: 999px; background: #F1F3F9; font-style: normal; font-weight: 500; font-size: 0.65rem; color: #5B6686; }
.win--sheet .win__bar { background: #E7F4EC; border-bottom-color: #CBE5D5; }
.win--sheet .win__bar i { background: #2E8B57; }
.win--mail .win__bar i { border-radius: 50%; background: #2353C4; }
.win__rows { display: grid; grid-template-columns: 1.3fr 1fr; font-size: 0.7rem; }
.win__rows span { padding: 0.28rem 0.6rem; border-bottom: 1px solid #EEF0F6; border-right: 1px solid #EEF0F6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__list { display: grid; gap: 0.4rem; padding: 0.6rem; }
.win__list span { height: 0.5rem; border-radius: 3px; background: #E6EAF4; }
.win__list span:nth-child(2) { width: 72%; }
.win__list span:nth-child(3) { width: 48%; }
.win__mail { display: grid; font-size: 0.7rem; }
.win__mail span { padding: 0.28rem 0.6rem; border-bottom: 1px solid #EEF0F6; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__big { margin: 0; padding: 0.6rem; font-size: 0.75rem; line-height: 1.35; color: #5B6686; }
.win--erp { border: 2px solid var(--navy); }
.win--erp .win__bar { background: var(--navy); border: 0; color: #fff; }
.win--erp .win__bar i { background: #8DB7FF; }
.win--erp .win__bar em { background: rgb(255 255 255 / 0.16); color: #fff; }
.win--note { background: #F4F6FB; }
.keeper { position: relative; display: inline-flex; align-items: center; gap: 0.35rem; max-width: 100%; margin: -0.55rem 0 0 0.6rem; padding: 0.22rem 0.6rem 0.22rem 0.3rem; border-radius: 999px; background: #C8452F; box-shadow: 0 4px 10px rgb(120 40 25 / 0.25); font-size: 0.68rem; font-weight: 600; line-height: 1.2; color: #fff; }
.keeper::before { content: ""; flex: none; width: 1rem; height: 1rem; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='6' r='2.6' fill='%23C8452F'/%3E%3Cpath d='M3 14c.6-3 2.6-4.2 5-4.2s4.400 1.200 5 4.200z' fill='%23C8452F'/%3E%3C/svg%3E") center / 100% no-repeat; }

.plat { margin-top: 1.25rem; }
.plat__win { display: grid; grid-template-columns: 13rem 1fr; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgb(3 10 30 / 0.5), 0 0 0 1px rgb(255 255 255 / 0.12); overflow: hidden; color: #17203D; }
.plat__nav { padding: 1rem 0.75rem; background: #0B1A3C; color: #C9D8FA; }
.plat__brand { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 1rem; font-size: 0.85rem; font-weight: 600; color: #fff; }
.plat__brand span { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 6px; background: #8DB7FF; font-size: 0.8rem; color: #0B1A3C; }
.plat__nav ul { display: grid; gap: 0.2rem; margin: 0; padding: 0; list-style: none; }
.plat__nav li { padding: 0.5rem 0.65rem; border-radius: 6px; font-size: 0.85rem; font-weight: 500; transition: background 0.35s ease, color 0.35s ease, opacity 0.35s ease; }
.plat__nav li:first-child { background: rgb(141 183 255 / 0.18); color: #fff; }
.plat__nav .plat__next { margin-top: 0.4rem; border: 1px dashed rgb(201 216 250 / 0.4); font-size: 0.78rem; text-align: center; color: #9FB3E0; }
.plat__main { min-width: 0; padding: clamp(1rem, 2vw, 1.5rem); background: #F7F9FD; }
.plat__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.plat__title { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; letter-spacing: -0.01em; }
.plat__status { margin: 0; padding: 0.15rem 0.6rem; border-radius: 999px; background: #D9F4EC; font-size: 0.72rem; font-weight: 600; color: #116B54; }
.plat__sub { margin: 0.2rem 0 0.9rem; font-size: 0.82rem; color: #5B6686; }
.plat__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid #DCE2F0; border-radius: 8px; background: #fff; overflow: hidden; }
.plat__track li { position: relative; display: grid; gap: 0.1rem; align-content: start; padding: 0.7rem 0.8rem; border-right: 1px solid #DCE2F0; }
.plat__track li:last-child { border-right: 0; }
.plat__track b { display: flex; align-items: center; gap: 0.35rem; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #2353C4; }
.plat__track b::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #3FBF9C; }
.plat__track span { font-size: 0.88rem; font-weight: 600; }
.plat__track small { font-size: 0.72rem; color: #5B6686; }
.plat__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-top: 0.75rem; }
.plat__tiles p { display: grid; margin: 0; padding: 0.6rem 0.8rem; border: 1px solid #DCE2F0; border-radius: 8px; background: #fff; }
.plat__tiles small { font-size: 0.7rem; color: #5B6686; }
.plat__tiles b { font-size: 1.35rem; line-height: 1.15; }
.plat__tiles span { font-size: 0.72rem; color: #5B6686; }
.plat__agent { display: flex; align-items: center; gap: 0.5rem; margin: 0.75rem 0 0; padding: 0.55rem 0.8rem; border: 1px solid #C5D8FF; border-radius: 8px; background: #EDF3FF; font-size: 0.8rem; color: #1B3E94; }
.plat__agent i { flex: none; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #2353C4; box-shadow: 0 0 0 4px rgb(35 83 196 / 0.18); }
.plat__base { display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: center; gap: 0.5rem 1rem; margin-top: 0.4rem; }
.plat__sync { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 0.78rem; color: #8EDDC8; }
.plat__erp { display: grid; margin: 0; padding: 0.55rem 1.1rem; border-radius: 8px; background: #E8EEFB; font-size: 0.75rem; text-align: center; color: #3A4670; }
.plat__erp b { font-size: 0.9rem; color: #0B1A3C; }
.plat__retired { display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; margin: 0; padding: 0; list-style: none; font-size: 0.74rem; color: rgb(201 216 250 / 0.6); text-decoration: line-through; }
.plat__retired:last-child { justify-content: flex-end; }

/* Without the scroll scene (no script, or reduced motion): the two states sit one above the other */
.shift:not(.is-live) .shift__bg { display: none; }
.shift:not(.is-live) .mess { padding-bottom: 2.5rem; }
.shift:not(.is-live) .plat { margin: 0 calc(-1 * clamp(1rem, 2.4vw, 2rem)) calc(-1 * clamp(1rem, 2.4vw, 2rem)); padding: 0 clamp(1rem, 2.4vw, 2rem) clamp(1rem, 2.4vw, 2rem); background: radial-gradient(120% 90% at 78% 0%, #2F62DD 0%, #17409F 34%, #0B1A3C 76%); }
.shift:not(.is-live) .shift__cap { display: contents; }
.shift:not(.is-live) .shift__label--a { margin-bottom: 1.25rem; }
.shift:not(.is-live) .shift__label--b { display: none; }
.shift:not(.is-live) .plat::before { content: "One platform. Enter it once. Every workflow reads the same data, synced with your ERP both ways."; display: block; max-width: 46rem; padding: 1.5rem 0 1.25rem; font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.3; color: #fff; }

/* The scroll scene */
.shift.is-live { height: 520vh; }
.shift.is-live .shift__pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
.shift.is-live .shift__stage { width: 100%; height: 100%; padding: 0; border-radius: 0; --side: max(1rem, 3vw, (100% - 1360px) / 2); --head: 6rem; }
.shift.is-live .shift__cap { position: absolute; inset: var(--head) var(--side) auto; z-index: 3; margin: 0; }
.shift.is-live .shift__label { position: absolute; inset: 0 auto auto 0; margin: 0; transition: opacity 0.45s ease, transform 0.45s ease; }
.shift.is-live .shift__label--a, .shift.is-live .shift__label--b { opacity: 0; transform: translateY(8px); }
.shift.is-live.is-mess .shift__label--a { opacity: 1; transform: none; }
.shift.is-live.is-mess.is-after .shift__label--a { opacity: 0; transform: translateY(-8px); }
.shift.is-live.is-after .shift__label--b { opacity: 1; transform: none; }
.shift.is-live .mess { position: absolute; inset: calc(var(--head) + clamp(4.25rem, 7vw, 5.5rem)) var(--side) 1.5rem; z-index: 2; display: block; pointer-events: none; }
.shift.is-live .mess__i { position: absolute; left: var(--x); top: var(--y); width: clamp(11rem, 19%, 16.5rem); transform: rotate(var(--r)); will-change: transform, opacity; }
.shift.is-live .mess__i--erp { width: clamp(12rem, 21%, 18rem); z-index: 1; }
.shift.is-live .plat { position: absolute; inset: calc(var(--head) + clamp(4.25rem, 7vw, 5.5rem)) calc(var(--side) + clamp(0rem, 3vw, 3rem)) 1.5rem; z-index: 1; display: grid; grid-template-rows: minmax(0, 1fr); margin: 0; opacity: 0; transform-origin: 50% 40%; will-change: transform, opacity; }
.shift.is-live .plat__win { min-height: 0; }
.shift.is-live .plat__main { display: flex; flex-direction: column; }
.shift.is-live.is-done .plat__nav li[data-nav] { opacity: 1; }
@media (min-width: 901px) {
  .shift.is-live .plat__main { padding: clamp(1.25rem, 2.4vw, 2rem); }
  .shift.is-live .plat__title { font-size: clamp(1.3rem, 2vw, 1.7rem); }
  .shift.is-live .plat__sub { font-size: 0.95rem; margin-bottom: 1.1rem; }
  .shift.is-live .plat__track li { gap: 0.3rem; padding: 1.4rem 1.1rem; }
  .shift.is-live .plat__track b { font-size: 0.72rem; }
  .shift.is-live .plat__track span { font-size: clamp(0.95rem, 1.35vw, 1.2rem); }
  .shift.is-live .plat__track small { font-size: 0.82rem; }
  .shift.is-live .plat__tiles { gap: 0.8rem; margin-top: 1rem; }
  .shift.is-live .plat__tiles p { padding: 0.9rem 1.1rem; }
  .shift.is-live .plat__tiles small, .shift.is-live .plat__tiles span { font-size: 0.82rem; }
  .shift.is-live .plat__tiles b { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
  .shift.is-live .plat__agent { margin-top: 1rem; padding: 0.8rem 1rem; font-size: 0.92rem; }
  .shift.is-live .plat__nav { padding: 1.25rem 0.9rem; }
  .shift.is-live .plat__nav li { padding: 0.65rem 0.75rem; font-size: 0.95rem; }
  .shift.is-live .win__bar { font-size: 0.8rem; }
  .shift.is-live .win__rows, .shift.is-live .win__mail, .shift.is-live .win__big { font-size: 0.76rem; }
  .shift.is-live .keeper { font-size: 0.74rem; }
}
.shift.is-live .plat__nav li[data-nav] { opacity: 0.28; }
.shift.is-live .plat__nav li.is-in { opacity: 1; }
.shift.is-live .plat__nav li:first-child:not(.is-in) { background: none; }
.shift.is-live .plat__main > *, .shift.is-live .plat__base > * { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.shift.is-live.is-done .plat__main > *, .shift.is-live.is-done .plat__base > * { opacity: 1; transform: none; }
.shift.is-live.is-done .plat__main > :nth-child(3) { transition-delay: 0.08s; }
.shift.is-live.is-done .plat__main > :nth-child(4) { transition-delay: 0.16s; }
.shift.is-live.is-done .plat__main > :nth-child(5) { transition-delay: 0.24s; }
.shift.is-live.is-done .plat__base > * { transition-delay: 0.3s; }
.shift.is-measuring .mess__i, .shift.is-measuring .plat { transform: none !important; }

@media (max-width: 900px) {
  .plat__win { grid-template-columns: 1fr; }
  .plat__nav { padding: 0.6rem; }
  .plat__brand { margin-bottom: 0.5rem; }
  .plat__nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem; }
  .plat__nav li { padding: 0.3rem 0.55rem; font-size: 0.75rem; }
  .plat__nav .plat__next { margin-top: 0; }
  .plat__track { grid-template-columns: 1fr; }
  .plat__track li { grid-template-columns: 6.5rem 1fr; gap: 0 0.5rem; padding: 0.4rem 0.7rem; border-right: 0; border-bottom: 1px solid #DCE2F0; }
  .plat__track li:last-child { border-bottom: 0; }
  .plat__track small { grid-column: 2; }
  .plat__tiles { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
  .plat__tiles p { padding: 0.4rem 0.6rem; }
  .plat__tiles b { font-size: 1.1rem; }
  .plat__base { grid-template-columns: auto 1fr; }
  .plat__retired { display: none; }
  .plat__sub { margin-bottom: 0.5rem; }
  .shift.is-live .mess, .shift.is-live .plat { inset: calc(var(--head) + 5.75rem) 0.75rem 0.75rem; }
  .shift.is-live .mess__i { left: var(--xm); top: var(--ym); width: 46%; }
  .shift.is-live .mess__i--erp { width: 48%; }
  .shift.is-live .mess__i--wide { display: none; }
  .shift.is-live .plat__agent { font-size: 0.72rem; padding: 0.4rem 0.6rem; margin-top: 0.5rem; }
  .shift.is-live .plat__tiles, .shift.is-live .plat__sub { display: none; }
  .shift.is-live .plat__head { margin-bottom: 0.5rem; }
  .shift.is-live .plat__main { padding: 0.75rem; }
  .shift.is-live .plat__track li { padding: 0.3rem 0.6rem; }
  .shift.is-live .plat__track span { font-size: 0.82rem; }
  .shift.is-live .win__rows span:nth-child(n+5), .shift.is-live .win__mail span:nth-child(3), .shift.is-live .win__list span:nth-child(3) { display: none; }
  .shift.is-live .keeper { font-size: 0.64rem; }
  .shift__label--a b, .shift__label--b b { display: block; }
}

/* The heading lives inside the pinned scene: it holds, fades, then the windows arrive */
.shift__intro { display: grid; gap: 1rem; justify-items: start; max-width: 54rem; margin-bottom: 2rem; }
.shift__intro .title, .shift__intro .lede { margin: 0; }
.shift:not(.is-live) .shift__stage { margin-top: clamp(2rem, 5vw, 4rem); }
.shift.is-live .shift__intro { position: absolute; inset: 0 var(--side); z-index: 4; max-width: none; margin: 0; padding-top: 3rem; align-content: center; justify-items: center; text-align: center; will-change: transform, opacity; }
.shift.is-live .shift__intro .title { max-width: 16ch; font-size: clamp(2.6rem, 7.2vw, 6.25rem); line-height: 0.98; }
.shift.is-live .shift__intro .lede { max-width: 40rem; }
.shift.is-live .mess__i { opacity: 0; }
@media (min-height: 960px) and (min-width: 1200px) {
  .shift.is-live .shift__label { font-size: 1.6rem; max-width: 52rem; }
}
@media (max-width: 900px) {
  .shift.is-live .shift__stage { --side: 1rem; --head: 5rem; }
  .shift.is-live .shift__intro .title { font-size: clamp(2.4rem, 11vw, 3.5rem); }
}

/* The platform window: real screens, one per workflow */
.plat__nav { display: flex; flex-direction: column; }
.plat__nav li, .plat__nav li:first-child { padding: 0; background: none; }
.plat__nav li button { display: block; width: 100%; padding: 0.6rem 0.75rem; border: 0; border-radius: 6px; background: none; font: inherit; text-align: left; color: inherit; cursor: pointer; }
.plat__nav li button:hover { color: #fff; }
.plat__nav li button.is-on { background: rgb(141 183 255 / 0.2); color: #fff; }
.plat__nav li button:focus-visible { outline: 2px solid #8DB7FF; outline-offset: 2px; }
.plat__nav .plat__next { padding: 0.5rem 0.65rem; }
.plat__nav .plat__sync { margin: auto 0 0.4rem; padding-top: 1.25rem; justify-content: center; }
.plat__nav .plat__erp { padding: 0.5rem 0.75rem; }
.plat__main { position: relative; padding: 0; background: #fff; }
.pane { display: none; }
.pane.is-on { display: flex; flex-direction: column; height: 100%; }
.pane__head { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 1.5rem; align-items: center; padding: 0.9rem 1.25rem; border-bottom: 1px solid #DCE2F0; }
.pane__head p { margin: 0; }
.pane__title { font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-weight: 700; letter-spacing: -0.01em; color: #0B1A3C; }
.pane__was { grid-column: 1; font-size: 0.82rem; color: #B04A38; }
.pane__now { grid-column: 1; font-size: clamp(0.88rem, 1.15vw, 1rem); color: #3A4670; }
.pane__result { grid-column: 2; grid-row: 1 / span 3; max-width: 17rem; padding: 0.6rem 0.9rem; border-radius: 8px; background: #D9F4EC; font-size: clamp(0.85rem, 1.1vw, 1rem); font-weight: 600; line-height: 1.3; color: #0E5C48; }
.pane__shot { flex: 1; min-height: 0; aspect-ratio: 16 / 9; background: #F7F9FD; overflow: hidden; }
.pane__shot picture { display: block; height: 100%; }
.pane__shot img, .pane__shot video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }

.shift.is-live .plat__win { height: 100%; max-height: 820px; align-self: center; }
.shift.is-live .plat__main { display: block; padding: 0; }
.shift.is-live .pane { position: absolute; inset: 0; display: flex; flex-direction: column; height: auto; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s 0.5s; }
.shift.is-live .plat__main > .pane { transform: none; }
.shift.is-live.is-done .plat__main > .pane:not(.is-on) { opacity: 0; }
.shift.is-live.is-done .plat__main > .pane.is-on { opacity: 1; visibility: visible; transition: opacity 0.5s ease, visibility 0s; }
.shift.is-live .pane__shot { aspect-ratio: auto; }
.shift.is-live .plat__nav > .plat__sync, .shift.is-live .plat__nav > .plat__erp { opacity: 0; transition: opacity 0.5s ease 0.3s; }
.shift.is-live.is-done .plat__nav > .plat__sync, .shift.is-live.is-done .plat__nav > .plat__erp { opacity: 1; }

@media (max-width: 900px) {
  .plat__nav { flex-flow: row wrap; align-items: center; gap: 0.4rem 0.6rem; }
  .plat__brand { width: 100%; margin: 0; }
  .plat__nav ul { width: 100%; }
  .plat__nav li button { padding: 0.35rem 0.6rem; font-size: 0.8rem; }
  .plat__nav .plat__next { padding: 0.3rem 0.55rem; }
  .plat__nav .plat__sync { margin: 0; padding: 0; font-size: 0.72rem; }
  .plat__nav .plat__erp { display: flex; gap: 0.35rem; align-items: baseline; padding: 0.25rem 0.6rem; font-size: 0.7rem; }
  .plat__nav .plat__erp b { font-size: 0.78rem; }
  .pane__head { grid-template-columns: 1fr; padding: 0.7rem 0.8rem; }
  .pane__result { grid-column: 1; grid-row: auto; max-width: none; margin-top: 0.35rem; padding: 0.4rem 0.6rem; }
  .pane__shot { aspect-ratio: 1; }
}
@media (max-width: 900px) {
  .shift.is-live .plat__win { grid-template-rows: auto minmax(0, 1fr); }
  .plat__nav { align-content: flex-start; }
  .plat__brand { display: none; }
  .shift.is-live .pane__head { padding: 0.55rem 0.75rem; }
  .shift.is-live .pane__was { font-size: 0.72rem; }
  .shift.is-live .pane__now { font-size: 0.82rem; }
}

/* Purchasing: a drawn four-step flow (book, track, match, enter) */
.pane__result--plain { background: #EDF3FF; color: #1B3E94; }
.flow { display: flex; flex-direction: column; height: 100%; padding: clamp(0.75rem, 1.6vw, 1.25rem); gap: clamp(0.6rem, 1.2vw, 1rem); }
.flow__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; margin: 0; padding: 0; list-style: none; counter-reset: fs; }
.flow__steps li { counter-increment: fs; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.7rem; border: 1px solid #DCE2F0; border-radius: 8px; background: #fff; font-size: clamp(0.8rem, 1.1vw, 0.98rem); font-weight: 600; color: #8490B0; transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease; }
.flow__steps li::before { content: counter(fs); display: grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #E8EEFB; font-size: 0.75rem; color: #5B6686; transition: background 0.4s ease, color 0.4s ease; }
.flow__steps li.is-past { color: #0E5C48; border-color: #BFE7DA; }
.flow__steps li.is-past::before { content: "✓"; background: #3FBF9C; color: #fff; }
.flow__steps li.is-now { border-color: #2353C4; background: #EDF3FF; color: #0B1A3C; box-shadow: 0 0 0 3px rgb(35 83 196 / 0.14); }
.flow__steps li.is-now::before { background: #2353C4; color: #fff; }
.flow__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(0.6rem, 1.2vw, 1rem); }
.flow__map { position: relative; display: flex; flex-direction: column; min-height: 0; border: 1px solid #DCE2F0; border-radius: 10px; background: linear-gradient(#EAF2FF, #F4F8FF); overflow: hidden; }
.flow__map svg { flex: 1; min-height: 0; width: 100%; }
.flow__land { fill: #D5DFF3; }
.flow__route { fill: none; stroke: #9DB2DD; stroke-width: 2; stroke-dasharray: 5 6; }
.flow__done { fill: none; stroke: #2353C4; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease-in-out; }
.flow__port { fill: #fff; stroke: #2353C4; stroke-width: 2.5; }
.flow__map text { font-size: 13px; font-weight: 600; fill: #3A4670; }
.flow__ship { transform: translate(360px, -50px); transition: transform 1.6s ease-in-out; }
.flow__ship circle:first-child { fill: rgb(35 83 196 / 0.2); }
.flow__ship circle:last-child { fill: #2353C4; stroke: #fff; stroke-width: 2; }
.flow[data-step="1"] .flow__ship { transform: none; }
.flow[data-step="1"] .flow__done { stroke-dashoffset: 1; }
.flow[data-step="2"] .flow__ship { transform: translate(198px, -114px); }
.flow[data-step="2"] .flow__done { stroke-dashoffset: 0.46; }
.flow__status { position: relative; margin: 0; min-height: 2.6rem; border-top: 1px solid #DCE2F0; background: #fff; font-size: clamp(0.78rem, 1.05vw, 0.95rem); font-weight: 600; color: #17203D; }
.flow__status span { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 0.9rem; opacity: 0; transition: opacity 0.4s ease; }
.flow__status span.is-now { opacity: 1; }
.flow__cards { display: grid; grid-template-rows: repeat(4, 1fr); gap: 0.5rem; margin: 0; padding: 0; list-style: none; min-height: 0; }
.flow__cards li { display: grid; align-content: center; gap: 0.1rem; padding: 0.5rem 0.9rem; border: 1px solid #DCE2F0; border-left: 4px solid #DCE2F0; border-radius: 8px; background: #fff; opacity: 0.4; transition: opacity 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; }
.flow__cards li.is-past { opacity: 1; border-left-color: #3FBF9C; }
.flow__cards li.is-now { opacity: 1; border-color: #2353C4; box-shadow: 0 6px 18px rgb(35 83 196 / 0.14); }
.flow__cards b { font-size: clamp(0.85rem, 1.15vw, 1.02rem); color: #0B1A3C; }
.flow__cards span { font-size: clamp(0.76rem, 1vw, 0.9rem); color: #3A4670; }
.flow__cards small { font-size: clamp(0.72rem, 0.95vw, 0.84rem); color: #5B6686; }
.flow__cards .flow__flag { justify-self: start; padding: 0.1rem 0.5rem; border-radius: 999px; background: #FDE8E2; font-weight: 600; color: #A63A2B; }
.shift:not(.is-live) .pane__shot:has(.flow) { aspect-ratio: auto; }
@media (max-width: 900px) {
  .flow { padding: 0.6rem; gap: 0.5rem; }
  .flow__steps li { padding: 0.3rem 0.4rem; gap: 0.3rem; font-size: 0.72rem; }
  .flow__steps li::before { width: 1.1rem; height: 1.1rem; font-size: 0.62rem; }
  .flow__body { grid-template-columns: 1fr; grid-template-rows: minmax(6.5rem, 0.8fr) auto; }
  .flow__cards { gap: 0.3rem; }
  .flow__cards li { padding: 0.3rem 0.6rem; }
  .flow__cards small:not(.flow__flag) { display: none; }
  .flow__status { min-height: 2rem; }
  .pane__shot:has(.flow) { aspect-ratio: auto; }
}
.flow__grid path { fill: none; stroke: #D9E4F7; stroke-width: 1; }
.flow__docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin: 0; padding: 0.5rem 0.6rem; list-style: none; border-top: 1px solid #DCE2F0; background: #F7F9FD; }
.flow__docs li { display: flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.5rem; border: 1px solid #BFE7DA; border-radius: 6px; background: #fff; font-size: clamp(0.68rem, 0.9vw, 0.82rem); font-weight: 600; color: #0E5C48; transition: opacity 0.4s ease, border-color 0.4s ease, color 0.4s ease; }
.flow__docs li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: #3FBF9C; font-size: 0.65rem; color: #fff; transition: background 0.4s ease; }
.flow[data-step="1"] .flow__docs li, .flow[data-step="2"] .flow__docs li { opacity: 0.45; border-color: #DCE2F0; color: #8490B0; }
.flow[data-step="1"] .flow__docs li::before, .flow[data-step="2"] .flow__docs li::before { content: ""; background: #E8EEFB; }
.flow[data-step="3"] .flow__docs li:last-child { border-color: #F0B8AB; color: #A63A2B; }
.flow[data-step="3"] .flow__docs li:last-child::before { content: "!"; background: #C8452F; }
@media (max-width: 900px) { .flow__docs { padding: 0.3rem 0.4rem; gap: 0.25rem; } .flow__docs li { padding: 0.2rem 0.3rem; font-size: 0.62rem; } .flow__docs li::before { display: none; } }
@media (max-width: 900px) {
  .flow__map svg { display: none; }
  .flow__body { grid-template-rows: auto auto; align-content: start; }
  .flow__cards { grid-template-rows: none; }
  .flow__cards span { font-size: 0.72rem; }
  .flow__cards b { font-size: 0.8rem; }
}
@media (max-width: 900px) {
  .shift.is-live .pane[data-pane="purchasing"] .pane__was, .shift.is-live .flow__docs { display: none; }
  .shift.is-live .flow__cards span { display: none; }
  .shift.is-live .flow__cards .flow__flag { display: inline-block; }
}

/* You're in control */
.charge__levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--rule-2); border-radius: 12px; overflow: hidden; }
.charge__levels button { display: grid; gap: 0.25rem; padding: 1.1rem 1.25rem; border: 0; border-right: 1px solid var(--rule-2); background: none; font: inherit; text-align: left; color: var(--fg-2); cursor: pointer; transition: background 0.3s ease, color 0.3s ease; }
.charge__levels button:last-child { border-right: 0; }
.charge__levels b { font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--text); }
.charge__levels span { font-size: 0.9rem; }
.charge__levels button:hover { background: rgb(141 183 255 / 0.08); }
.charge__levels button[aria-pressed="true"] { background: var(--sky); color: #1B2B55; }
.charge__levels button[aria-pressed="true"] b { color: #0B1A3C; }
.charge__levels button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.charge__flow { position: relative; margin: 1rem 0 0; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 12px; background: radial-gradient(90% 140% at 50% 0%, rgb(47 98 221 / 0.55) 0%, rgb(23 64 159 / 0.25) 45%, transparent 80%), var(--midnight, #081330); box-shadow: inset 0 0 0 1px rgb(141 183 255 / 0.18); }
.charge__flow figcaption { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-3); }
.charge__flow ol { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.charge__flow ol::before { content: ""; position: absolute; left: 8%; right: 8%; top: 1.6rem; height: 2px; background: repeating-linear-gradient(to right, rgb(141 183 255 / 0.5) 0 6px, transparent 6px 12px); }
.charge__flow li { position: relative; display: grid; justify-items: center; gap: 0.75rem; text-align: center; }
.charge__flow li b { font-size: clamp(0.9rem, 1.3vw, 1.08rem); font-weight: 600; line-height: 1.25; color: var(--text); }
.who { display: grid; justify-items: center; gap: 0.4rem; }
.who i { position: relative; display: block; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: #fff center / 56% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='5.4' r='2.8' fill='%230B1A3C'/%3E%3Cpath d='M2.600 14c.6-3.200 2.800-4.600 5.400-4.600s4.800 1.400 5.400 4.600z' fill='%230B1A3C'/%3E%3C/svg%3E"); box-shadow: 0 0 0 4px rgb(255 255 255 / 0.12); transition: background-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease; }
.who em { padding: 0.1rem 0.6rem; border-radius: 999px; background: rgb(255 255 255 / 0.12); font-style: normal; font-size: 0.75rem; font-weight: 600; color: #fff; transition: background 0.35s ease, color 0.35s ease; }
.who--agent i { background-color: var(--sky); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.500l1.700 4.800 4.800 1.700-4.800 1.700L8 14.500l-1.700-4.800L1.500 8l4.800-1.700z' fill='%230B1A3C'/%3E%3C/svg%3E"); box-shadow: 0 0 0 4px rgb(141 183 255 / 0.25), 0 0 28px rgb(141 183 255 / 0.7); transform: scale(1.06); }
.who--agent em { background: var(--sky); color: #0B1A3C; }
.who--approve i { box-shadow: 0 0 0 3px var(--midnight, #081330), 0 0 0 6px var(--sky), 0 0 22px rgb(141 183 255 / 0.5); }
.who--approve em { background: #fff; color: #0B1A3C; }
.charge__sum { margin: 1.75rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--rule-2); font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--text); }
.charge .aside-line { margin-top: 1.25rem; }
@media (max-width: 760px) {
  .charge__levels { grid-template-columns: 1fr; }
  .charge__levels button { border-right: 0; border-bottom: 1px solid var(--rule-2); padding: 0.8rem 1rem; }
  .charge__levels button:last-child { border-bottom: 0; }
  .charge__flow ol { grid-template-columns: 1fr; gap: 0.6rem; }
  .charge__flow ol::before { left: 1.4rem; right: auto; top: 1rem; bottom: 1rem; width: 2px; height: auto; background: repeating-linear-gradient(to bottom, rgb(141 183 255 / 0.5) 0 6px, transparent 6px 12px); }
  .charge__flow li { grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: left; gap: 0.9rem; }
  .who { grid-template-columns: auto; }
  .who i { width: 2.8rem; height: 2.8rem; }
  .who em { position: absolute; left: 3.7rem; top: 0; font-size: 0.68rem; }
  .charge__flow li b { padding-top: 1.2rem; }
}

/* How we work: the five steps as a path */
.path { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 1rem; margin: clamp(1.5rem, 4vw, 3rem) 0 0; padding: 0; list-style: none; }
.path__group { grid-row: 1; padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; justify-self: start; margin-bottom: 1.5rem; }
.path__group--a { grid-column: 1 / span 3; background: #E8EEFB; color: #1B3E94; }
.path__group--b { grid-column: 4 / span 2; background: #D9F4EC; color: #0E5C48; }
.path__step { grid-row: 2; position: relative; display: grid; align-content: start; gap: 0.5rem; }
.path__step::before { content: ""; position: absolute; left: 4.6rem; right: -1rem; top: 2.1rem; height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--cobalt), #9DB2DD); }
.path__step:last-child::before { display: none; }
.path__n { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--navy); font-size: 1.7rem; font-weight: 700; color: #fff; box-shadow: 0 10px 24px rgb(11 26 60 / 0.22); }
.path__step--agent .path__n { background: var(--sky); color: #0B1A3C; box-shadow: 0 0 0 6px rgb(141 183 255 / 0.3), 0 10px 30px rgb(35 83 196 / 0.4); }
.path__step h3 { margin: 0.6rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.2; color: var(--navy); }
.path__step p { margin: 0; font-size: 0.98rem; color: var(--fg-2); }
@media (max-width: 860px) {
  .path { grid-template-columns: 1fr; gap: 0; }
  .path__group, .path__step { grid-column: 1; grid-row: auto; }
  .path__group { margin: 0.75rem 0; }
  .path__step { grid-template-columns: 3.4rem 1fr; gap: 0.1rem 1rem; padding-bottom: 1.4rem; }
  .path__n { grid-row: 1 / span 2; width: 3.2rem; height: 3.2rem; font-size: 1.3rem; }
  .path__step h3 { margin: 0.2rem 0 0; }
  .path__step::before { left: 1.5rem; right: auto; top: 3.3rem; bottom: 0.1rem; width: 3px; height: auto; background: linear-gradient(var(--cobalt), #9DB2DD); }
}

/* The mess: people asking, and dotted links between the tools */
.mess__links, .mess__chat { display: none; }
.shift.is-live .mess__links { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.mess__links path { fill: none; stroke: #C8452F; stroke-width: 1.5; stroke-dasharray: 3 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.shift.is-live .mess__chat { display: block; width: auto; z-index: 2; }
.mess__chat p { display: grid; margin: 0; padding: 0.5rem 0.9rem 0.55rem; border-radius: 14px 14px 14px 4px; background: #fff; box-shadow: 0 10px 28px rgb(120 40 25 / 0.22); font-size: clamp(0.85rem, 1.15vw, 1.02rem); font-weight: 600; white-space: nowrap; color: #17203D; }
.mess__chat b { font-size: 0.7rem; font-weight: 600; color: #B04A38; }
@media (max-width: 900px) { .shift.is-live .mess__links { display: none; } .shift.is-live .mess__chat { width: auto; } .shift.is-live .mess__chat.mess__i--wide { display: none; } }
.who--agent em { background: rgb(141 183 255 / 0.18); color: var(--sky); }
.who em { margin-top: 0.15rem; }

/* Supply chain: a live map of every shipment, with one PO followed through four steps */
.flow--map { position: relative; display: block; padding: 0; background: #0B1A3C; overflow: hidden; }
.smap { position: absolute; inset: 0; width: 100%; height: 100%; background: radial-gradient(70% 80% at 50% 45%, #14327F 0%, #0B1A3C 75%); }
.smap__land { fill: #2B55B8; stroke: #6F96E8; stroke-width: 0.8; }
.smap__globe { fill: #0F2A6B; stroke: rgb(141 183 255 / 0.5); stroke-width: 1.5; }
.smap__grat { fill: none; stroke: rgb(141 183 255 / 0.14); stroke-width: 0.8; }
.smap__sea { fill: none; stroke: rgb(141 183 255 / 0.55); stroke-width: 1.2; stroke-dasharray: 3 5; }
.smap__road { fill: none; stroke: rgb(142 221 200 / 0.6); stroke-width: 1.2; stroke-dasharray: 2 4; }
.smap__port { fill: #0B1A3C; stroke: #8DB7FF; stroke-width: 2; }
.smap__wh { fill: #8EDDC8; stroke: #0B1A3C; stroke-width: 1; }
.smap__ship .a { fill: rgb(141 183 255 / 0.28); }
.smap__ship .b { fill: #fff; }
.smap__truck { fill: #8EDDC8; }
.smap__mine { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s ease-in-out; filter: drop-shadow(0 0 4px rgb(141 183 255 / 0.9)); }
.smap__me { transform: translate(var(--x3), var(--y3)); transition: transform 1.8s ease-in-out; }
.smap__me .a { fill: rgb(255 255 255 / 0.25); stroke: #fff; stroke-width: 1.5; }
.smap__me .b { fill: #8DB7FF; stroke: #fff; stroke-width: 2; }
.flow--map[data-step="1"] .smap__me { transform: translate(var(--x0), var(--y0)); }
.flow--map[data-step="2"] .smap__me { transform: translate(var(--x1), var(--y1)); }
.flow--map[data-step="3"] .smap__me { transform: translate(var(--x2), var(--y2)); }
.flow--map[data-step="1"] .smap__mine { stroke-dashoffset: 1; }
.flow--map[data-step="2"] .smap__mine:not(.smap__mine--road) { stroke-dashoffset: 0.45; }
.flow--map[data-step="2"] .smap__mine--road, .flow--map[data-step="3"] .smap__mine--road { stroke-dashoffset: 1; }
.smap__stats { position: absolute; left: 1rem; top: 1rem; display: flex; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.smap__stats li { display: grid; padding: 0.45rem 0.8rem; border-radius: 8px; background: rgb(11 26 60 / 0.72); box-shadow: inset 0 0 0 1px rgb(141 183 255 / 0.3); backdrop-filter: blur(6px); font-size: clamp(0.66rem, 0.9vw, 0.8rem); color: #C9D8FA; }
.smap__stats b { font-size: clamp(1rem, 1.6vw, 1.4rem); line-height: 1.1; color: #fff; }
.flow__panel { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; align-items: center; padding: 0.8rem 1rem; border-radius: 10px; background: rgb(255 255 255 / 0.97); box-shadow: 0 18px 44px rgb(3 10 30 / 0.5); }
.flow__track { margin: 0; font-size: clamp(0.8rem, 1.05vw, 0.95rem); color: #3A4670; }
.flow__track b { color: #0B1A3C; }
.flow--map .flow__steps { grid-column: 2; }
.flow--map .flow__steps li { padding: 0.35rem 0.6rem; }
.flow--map .flow__cards { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.flow--map .flow__cards li { align-content: start; padding: 0.55rem 0.75rem; border-left-width: 1px; border-top: 3px solid #DCE2F0; }
.flow--map .flow__cards li.is-past { border-left-color: #DCE2F0; border-top-color: #3FBF9C; }
.flow--map .flow__cards li.is-now { border-top-color: #2353C4; }
.shift:not(.is-live) .flow--map { min-height: 30rem; }
@media (max-width: 900px) {
  .flow--map .smap { height: 46%; }
  .smap__stats { left: 0.5rem; top: 0.5rem; gap: 0.3rem; }
  .smap__stats li { padding: 0.25rem 0.45rem; }
  .smap__stats li:nth-child(n+3) { display: none; }
  .flow__panel { left: 0.5rem; right: 0.5rem; bottom: 0.5rem; grid-template-columns: 1fr; padding: 0.6rem; gap: 0.4rem; }
  .flow--map .flow__steps { grid-column: 1; }
  .flow--map .flow__cards { grid-template-columns: 1fr; gap: 0.3rem; }
  .flow--map .flow__cards li { border-top-width: 1px; border-left: 3px solid #DCE2F0; padding: 0.3rem 0.6rem; }
  .flow--map .flow__cards li.is-past { border-left-color: #3FBF9C; }
  .flow--map .flow__cards li.is-now { border-left-color: #2353C4; }
  .shift.is-live .flow--map .flow__cards span { display: block; font-size: 0.68rem; }
}

/* Scheduling: a drawn five-week look-ahead and a shop-against-install timeline */
.sched { display: flex; flex-direction: column; height: 100%; background: #F7F9FD; }
.sched__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding: 0.6rem clamp(0.75rem, 1.5vw, 1.25rem); border-bottom: 1px solid #DCE2F0; background: #fff; }
.sched__tabs { display: flex; margin: 0; border: 1px solid #DCE2F0; border-radius: 8px; overflow: hidden; }
.sched__tabs button { padding: 0.4rem 0.8rem; border: 0; background: #fff; font: inherit; font-size: clamp(0.78rem, 1vw, 0.92rem); font-weight: 600; color: #5B6686; cursor: pointer; }
.sched__tabs button.is-on { background: #0B1A3C; color: #fff; }
.sched__alert { margin: 0; padding: 0.35rem 0.75rem; border-radius: 8px; background: #FDE8E2; font-size: clamp(0.76rem, 1vw, 0.9rem); color: #8A2F20; }
.sched__view { display: none; flex: 1; min-height: 0; padding: clamp(0.6rem, 1.4vw, 1.1rem); }
.sched__view.is-on { display: grid; animation: sched-in 0.45s ease both; }
@keyframes sched-in { from { opacity: 0; transform: translateY(8px); } }
.la { grid-template-columns: repeat(5, 1fr); gap: 0.6rem; align-items: start; }
.la__week { display: grid; gap: 0.5rem; padding: 0.6rem; border: 1px solid #DCE2F0; border-radius: 10px; background: #fff; }
.la__week--now { border-color: #2353C4; box-shadow: 0 0 0 3px rgb(35 83 196 / 0.12); }
.la__week > p { display: grid; margin: 0; font-size: clamp(0.68rem, 0.9vw, 0.8rem); color: #5B6686; }
.la__week > p b { font-size: clamp(0.85rem, 1.15vw, 1.02rem); color: #0B1A3C; }
.la__week ul { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.la__job { display: grid; gap: 0.1rem; padding: 0.5rem 0.6rem; border: 1px solid #DCE2F0; border-left: 4px solid #3FBF9C; border-radius: 8px; background: #F7F9FD; }
.la__job small { font-size: 0.66rem; color: #8490B0; }
.la__job b { font-size: clamp(0.78rem, 1.05vw, 0.95rem); line-height: 1.2; color: #0B1A3C; }
.la__job span { font-size: clamp(0.7rem, 0.92vw, 0.82rem); color: #3A4670; }
.la__job em { justify-self: start; margin-top: 0.15rem; padding: 0.05rem 0.45rem; border-radius: 999px; background: #D9F4EC; font-style: normal; font-size: 0.68rem; font-weight: 600; color: #0E5C48; }
.la__job i { justify-self: start; margin-top: 0.15rem; padding: 0.05rem 0.45rem; border-radius: 999px; background: #EDF3FF; font-style: normal; font-size: 0.68rem; font-weight: 600; color: #1B3E94; }
.la__job--on { border-left-color: #2353C4; }
.la__job--on em { background: #E1EAFF; color: #1B3E94; }
.la__job--tent { border-left-color: #9DB2DD; }
.la__job--tent em { background: #EEF0F6; color: #5B6686; }
.la__job--risk { border-color: #F0B8AB; border-left-color: #C8452F; background: #FFF5F2; }
.la__job--risk em, .la__job--risk i { background: #FDE8E2; color: #A63A2B; }
.gt { grid-template-rows: auto 1fr auto auto; gap: 0.5rem; }
.gt__head, .gt li { display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr; gap: 0.75rem; align-items: center; margin: 0; }
.gt__weeks { display: grid; grid-template-columns: repeat(5, 1fr); font-size: clamp(0.7rem, 0.95vw, 0.85rem); font-weight: 600; color: #5B6686; }
.gt__weeks span { padding-left: 0.4rem; border-left: 1px solid #DCE2F0; }
.gt ul { display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none; align-content: space-evenly; }
.gt li p { display: grid; margin: 0; font-size: clamp(0.78rem, 1.05vw, 0.95rem); font-weight: 600; line-height: 1.2; color: #0B1A3C; }
.gt li p small { font-size: 0.66rem; font-weight: 500; color: #8490B0; }
.gt__lane { display: grid; grid-template-columns: repeat(25, 1fr); grid-auto-flow: column; align-items: center; height: 2.1rem; border-radius: 6px; background: repeating-linear-gradient(to right, #fff 0 calc(20% - 1px), #DCE2F0 calc(20% - 1px) 20%); box-shadow: inset 0 0 0 1px #DCE2F0; }
.gt__bar { grid-row: 1; display: flex; align-items: center; height: 1.4rem; padding: 0 0.5rem; border-radius: 5px; font-size: 0.7rem; font-weight: 600; white-space: nowrap; overflow: hidden; }
.gt__bar--shop { background: #0B1A3C; color: #fff; }
.gt__bar--inst { background: #8DB7FF; color: #0B1A3C; }
.gt__bar--late { background: #C8452F; color: #fff; }
.gt__lane .gt__bar--inst { grid-row: 1; margin-top: 0.5rem; opacity: 0.95; }
.gt__lane .gt__bar--shop { margin-bottom: 0.5rem; }
.gt__row--late .gt__lane { box-shadow: inset 0 0 0 1px #F0B8AB; }
.gt__key { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; }
.gt__key .gt__bar { height: 1.3rem; }
.gt__agent { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.5rem 0.8rem; border: 1px solid #C5D8FF; border-radius: 8px; background: #EDF3FF; font-size: clamp(0.78rem, 1.05vw, 0.95rem); color: #1B3E94; }
.gt__agent i { flex: none; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #2353C4; box-shadow: 0 0 0 4px rgb(35 83 196 / 0.18); }
.shift:not(.is-live) .pane__shot:has(.sched) { aspect-ratio: auto; }
@media (max-width: 900px) {
  .pane__shot:has(.sched) { aspect-ratio: auto; }
  .sched__alert { display: none; }
  .sched__tabs button { padding: 0.3rem 0.5rem; font-size: 0.7rem; }
  .la { grid-template-columns: 1fr 1fr; gap: 0.35rem; }
  .la__week { padding: 0.4rem; gap: 0.3rem; }
  .la__week:nth-child(n+5) { display: none; }
  .la__job { padding: 0.3rem 0.4rem; }
  .la__job span, .la__job small { display: none; }
  .gt__head, .gt li { grid-template-columns: 6.2rem 1fr; gap: 0.4rem; }
  .gt li p small, .gt__key { display: none; }
  .gt__lane { height: 1.7rem; }
  .gt__bar { font-size: 0; padding: 0; height: 0.9rem; }
  .gt__agent { font-size: 0.7rem; padding: 0.35rem 0.5rem; }
}

/* Quoting: draw the plan, it prices itself, send the contract */
.plan { margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; }
.plan__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 0.75rem; padding: 0; list-style: none; counter-reset: ps; }
.plan__steps li { counter-increment: ps; display: flex; align-items: center; gap: 0.6rem; font-size: clamp(0.95rem, 1.4vw, 1.2rem); font-weight: 700; color: #8490B0; transition: color 0.4s ease; }
.plan__steps li::before { content: counter(ps); display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: #E8EEFB; font-size: 0.95rem; color: #5B6686; transition: background 0.4s ease, color 0.4s ease; }
.plan__steps li.is-past, .plan[data-step="3"] .plan__steps li { color: var(--navy); }
.plan__steps li.is-now { color: var(--cobalt); }
.plan__steps li.is-now::before { background: var(--cobalt); color: #fff; }
.plan__steps li.is-past::before { background: var(--navy); color: #fff; }
.plan__grid { display: grid; grid-template-columns: 1.15fr 1fr 0.85fr; gap: 1rem; align-items: stretch; }
.plan__cell { display: flex; flex-direction: column; gap: 0.6rem; transition: opacity 0.5s ease; }
.plan__cell figcaption { font-size: 0.92rem; color: var(--fg-2); }
.plan__cell > svg, .plan__sheet, .plan__paper { flex: 1; border: 1px solid #DCE2F0; border-radius: 12px; background: #fff; box-shadow: 0 14px 34px rgb(11 26 60 / 0.08); }
.plan__cell > svg { width: 100%; height: auto; }
.plan__walls path { fill: none; stroke: #0B1A3C; stroke-width: 5; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 0; }
.plan__doors path { fill: none; stroke: #8490B0; stroke-width: 1.5; stroke-dasharray: 3 3; }
.plan__runs path { fill: none; stroke: #2353C4; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 0.85; }
.plan__labels text { font-size: 13px; font-weight: 700; fill: #0B1A3C; }
.plan__labels text.s { font-size: 10.5px; font-weight: 500; fill: #3A4670; }
.plan__cursor { fill: #0B1A3C; stroke: #fff; stroke-width: 1.5; opacity: 0; }
.plan__sheet { display: flex; flex-direction: column; padding: 1rem 1.1rem; }
.plan__sheet-title { margin: 0 0 0.6rem; font-size: 0.85rem; font-weight: 600; color: #5B6686; }
.plan__sheet ul { display: grid; margin: 0; padding: 0; list-style: none; }
.plan__sheet li { display: grid; grid-template-columns: 1fr 3rem auto; gap: 0.5rem; padding: 0.55rem 0; border-bottom: 1px solid #EEF0F6; font-size: clamp(0.85rem, 1.1vw, 0.98rem); color: #17203D; transition: opacity 0.4s ease, transform 0.4s ease; }
.plan__sheet li span:nth-child(2) { color: #5B6686; text-align: right; }
.plan__total { display: flex; justify-content: space-between; margin: 0.6rem 0 0; font-size: 0.95rem; color: #3A4670; transition: opacity 0.4s ease; }
.plan__total--grand { margin-top: auto; padding-top: 0.7rem; border-top: 2px solid #0B1A3C; font-size: 1.15rem; color: #0B1A3C; }
.plan__paper { position: relative; display: flex; flex-direction: column; gap: 0.45rem; padding: 1.25rem 1.2rem; transition: transform 0.6s ease, opacity 0.5s ease; }
.plan__paper p { margin: 0; }
.plan__paper-kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #5B6686; }
.plan__paper-title { font-size: 1.25rem; font-weight: 700; color: #0B1A3C; }
.plan__paper-sub { margin-bottom: 0.5rem !important; font-size: 0.85rem; color: #3A4670; }
.plan__paper i { display: block; height: 0.45rem; border-radius: 3px; background: #E6EAF4; }
.plan__paper i.short { width: 62%; }
.plan__paper-total { display: flex; justify-content: space-between; margin-top: auto !important; padding-top: 0.7rem; border-top: 1px solid #DCE2F0; font-size: 1.05rem; color: #0B1A3C; }
.plan__paper-sign { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem; margin-top: 1.1rem !important; font-size: 0.7rem; color: #8490B0; }
.plan__paper-sign span { padding-top: 0.3rem; border-top: 1px solid #8490B0; }
.plan__stamp { position: absolute; right: 0.9rem; top: 0.9rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: #D9F4EC; font-size: 0.72rem; font-weight: 600; color: #0E5C48; transition: opacity 0.4s ease 0.5s, transform 0.4s ease 0.5s; }
/* step 1: drawing; nothing priced yet */
.plan[data-step="1"] .plan__walls path { animation: plan-draw 1.3s ease both; }
.plan[data-step="1"] .plan__walls path:nth-child(2) { animation-delay: 0.6s; }
.plan[data-step="1"] .plan__walls path:nth-child(3) { animation-delay: 1s; }
.plan[data-step="1"] .plan__runs path { animation: plan-draw 0.6s ease both; animation-delay: calc(1.5s + var(--i, 0) * 0.3s); }
.plan[data-step="1"] .plan__runs path:nth-child(2) { --i: 1; } .plan[data-step="1"] .plan__runs path:nth-child(3) { --i: 2; } .plan[data-step="1"] .plan__runs path:nth-child(4) { --i: 3; } .plan[data-step="1"] .plan__runs path:nth-child(5) { --i: 4; }
.plan[data-step="1"] .plan__labels { animation: plan-fade 0.5s ease 2.4s both; }
.plan[data-step="1"] .plan__cursor { opacity: 1; animation: plan-cursor 3s ease both; }
@keyframes plan-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes plan-fade { from { opacity: 0; } }
@keyframes plan-cursor { 0% { transform: translate(30px, 30px); } 30% { transform: translate(390px, 270px); } 55% { transform: translate(210px, 170px); } 80% { transform: translate(374px, 150px); } 100% { transform: translate(300px, 120px); } }
.plan[data-step="1"] .plan__cell--price, .plan[data-step="1"] .plan__cell--send, .plan[data-step="2"] .plan__cell--send { opacity: 0.28; }
.plan[data-step="1"] .plan__sheet li, .plan[data-step="1"] .plan__total { opacity: 0; }
.plan[data-step="2"] .plan__sheet li { animation: plan-row 0.45s ease both; animation-delay: calc(var(--i, 0) * 0.35s); }
.plan[data-step="2"] .plan__sheet li:nth-child(2) { --i: 1; } .plan[data-step="2"] .plan__sheet li:nth-child(3) { --i: 2; } .plan[data-step="2"] .plan__sheet li:nth-child(4) { --i: 3; }
.plan[data-step="2"] .plan__total { animation: plan-fade 0.5s ease 1.6s both; }
.plan[data-step="2"] .plan__total--grand { animation-delay: 2s; }
@keyframes plan-row { from { opacity: 0; transform: translateX(-14px); } }
.plan[data-step="1"] .plan__paper, .plan[data-step="2"] .plan__paper { transform: translateY(10px); }
.plan[data-step="1"] .plan__stamp, .plan[data-step="2"] .plan__stamp { opacity: 0; transform: scale(0.8); }
@media (max-width: 860px) {
  .plan__grid { grid-template-columns: 1fr; }
  .plan__steps { gap: 0.4rem; }
  .plan__steps li { font-size: 0.78rem; gap: 0.35rem; }
  .plan__steps li::before { width: 1.5rem; height: 1.5rem; font-size: 0.75rem; }
  .plan[data-step="1"] .plan__cell--price, .plan[data-step="1"] .plan__cell--send, .plan[data-step="2"] .plan__cell--send { opacity: 1; }
}
.plan__stamp { position: static; align-self: flex-start; order: -1; margin-bottom: 0.2rem !important; }

/* Company brain: the four outputs */
.outs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.out { display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: clamp(1rem, 2vw, 1.5rem); border-radius: 12px; background: #fff; color: #17203D; box-shadow: 0 24px 60px rgb(3 10 30 / 0.4); }
.out figcaption { display: grid; font-size: 0.92rem; color: #5B6686; }
.out figcaption b { font-size: 1.15rem; color: #0B1A3C; }
.org { display: grid; gap: 0.9rem; justify-items: center; }
.org p, .org ul { margin: 0; padding: 0; list-style: none; }
.org__top { padding: 0.5rem 1.4rem; border-radius: 8px; background: #0B1A3C; font-weight: 700; color: #fff; }
.org ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; width: 100%; padding-top: 0.9rem; border-top: 2px solid #DCE2F0; }
.org li { display: grid; gap: 0.1rem; padding: 0.55rem 0.7rem; border: 1px solid #DCE2F0; border-radius: 8px; background: #F7F9FD; font-size: 0.82rem; color: #5B6686; }
.org li b { font-size: 0.98rem; color: #0B1A3C; }
.org .org__sub { grid-template-columns: repeat(4, 1fr); padding-top: 0; border-top: 0; }
.org .org__sub li { grid-template-columns: 1fr auto; align-items: center; background: #EDF3FF; border-color: #C5D8FF; font-weight: 600; color: #1B3E94; }
.stackmap { display: grid; margin: 0; padding: 0; list-style: none; }
.stackmap li { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0.75rem; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid #EEF0F6; font-size: 0.9rem; color: #5B6686; }
.stackmap li b { color: #0B1A3C; }
.stackmap em { padding: 0.1rem 0.6rem; border-radius: 999px; font-style: normal; font-size: 0.75rem; font-weight: 600; }
.stackmap .keep { background: #0B1A3C; color: #fff; }
.stackmap .sync { background: #D9F4EC; color: #0E5C48; }
.stackmap .gone { background: #FDE8E2; color: #A63A2B; }
.rolecard { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0; font-size: 0.92rem; }
.rolecard dt, .rolecard dd { margin: 0; padding: 0.5rem 0; border-bottom: 1px solid #EEF0F6; }
.rolecard dt { padding-right: 1.25rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #8490B0; }
.rolecard dd b { font-size: 1.05rem; color: #0B1A3C; }
.procmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin: 0; padding: 0; list-style: none; counter-reset: pm; }
.procmap li { counter-increment: pm; position: relative; display: grid; gap: 0.1rem; padding: 0.6rem 0.7rem 0.6rem 2.3rem; border: 1px solid #DCE2F0; border-radius: 8px; background: #F7F9FD; font-size: 0.8rem; color: #5B6686; }
.procmap li::before { content: counter(pm); position: absolute; left: 0.6rem; top: 0.65rem; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #0B1A3C; font-size: 0.7rem; font-weight: 700; color: #fff; }
.procmap li b { font-size: 0.95rem; color: #0B1A3C; }
.procmap .agent { border-color: #8DB7FF; background: #EDF3FF; color: #1B3E94; }
.procmap .agent::before { background: #2353C4; }
@media (max-width: 860px) { .outs { grid-template-columns: 1fr; } .org .org__sub { grid-template-columns: repeat(2, 1fr); } .procmap { grid-template-columns: repeat(2, 1fr); } .stackmap li { grid-template-columns: 1fr auto; } .stackmap li span { display: none; } }
.org .org__top { padding: 0.5rem 1.4rem; }
@media (max-width: 900px) {
  .shift.is-live .flow--map { display: flex; flex-direction: column; }
  .shift.is-live .flow--map .smap { position: relative; inset: auto; flex: 1; min-height: 7rem; height: auto; }
  .shift.is-live .flow__panel { position: static; border-radius: 0; box-shadow: none; }
  .shift.is-live .flow--map .flow__cards li:not(.is-now) span { display: none; }
  .shift.is-live .pane[data-pane="purchasing"] .pane__result { display: none; }
}

/* Inventory: the planning assistant reads the plan, then suggests */
.flow.inv { display: grid; grid-template-columns: minmax(12rem, 0.8fr) 2fr; gap: 0; padding: 0; background: #0B1A3C; color: #C9D8FA; }
.inv__side { display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(0.9rem, 1.6vw, 1.4rem); border-right: 1px solid rgb(141 183 255 / 0.2); background: radial-gradient(120% 60% at 0% 0%, rgb(47 98 221 / 0.45), transparent 70%); }
.inv__side p { margin: 0; }
.inv__name { display: flex; align-items: center; gap: 0.5rem; font-size: clamp(0.9rem, 1.2vw, 1.05rem); font-weight: 700; color: #fff; }
.inv__name i { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--sky) center / 60% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.500l1.700 4.800 4.800 1.700-4.800 1.700L8 14.500l-1.700-4.800L1.500 8l4.800-1.700z' fill='%230B1A3C'/%3E%3C/svg%3E"); box-shadow: 0 0 18px rgb(141 183 255 / 0.7); }
.inv .flow__steps { display: grid; grid-template-columns: 1fr; gap: 0.55rem; counter-reset: none; }
.inv .flow__steps li { padding: 0; border: 0; background: none; box-shadow: none; font-size: clamp(0.76rem, 1vw, 0.9rem); font-weight: 500; color: rgb(201 216 250 / 0.4); align-items: flex-start; }
.inv .flow__steps li::before { content: ""; width: 1rem; height: 1rem; margin-top: 0.1rem; border: 2px solid rgb(201 216 250 / 0.3); border-radius: 50%; background: none; }
.inv .flow__steps li.is-now { color: #fff; background: none; border: 0; box-shadow: none; }
.inv .flow__steps li.is-now::before { border-color: var(--sky); border-top-color: transparent; background: none; animation: inv-spin 0.8s linear infinite; }
.inv .flow__steps li.is-past { color: #C9D8FA; border: 0; }
.inv .flow__steps li.is-past::before { content: "✓"; border-color: #3FBF9C; background: #3FBF9C; font-size: 0.6rem; color: #0B1A3C; }
@keyframes inv-spin { to { transform: rotate(1turn); } }
.inv__brief { margin-top: auto !important; padding-top: 0.9rem; border-top: 1px solid rgb(141 183 255 / 0.2); font-size: clamp(0.8rem, 1.05vw, 0.95rem); line-height: 1.4; }
.inv__brief b { display: block; font-size: clamp(0.95rem, 1.35vw, 1.2rem); color: #fff; }
.inv .flow__cards { grid-template-rows: repeat(3, 1fr); gap: 0.6rem; padding: clamp(0.75rem, 1.4vw, 1.2rem); }
.inv .flow__cards li { grid-template-columns: 1fr auto; align-content: center; gap: 0.15rem 1rem; padding: 0.7rem 1rem; border: 1px solid rgb(141 183 255 / 0.25); border-left: 1px solid rgb(141 183 255 / 0.25); border-radius: 10px; background: rgb(255 255 255 / 0.05); opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.4s ease; }
.inv .flow__cards li.is-now, .inv .flow__cards li.is-past { opacity: 1; transform: none; box-shadow: none; }
.inv .flow__cards li.is-now { border-color: var(--sky); }
.inv .flow__cards em { grid-column: 1 / -1; justify-self: start; padding: 0.05rem 0.55rem; border-radius: 999px; font-style: normal; font-size: 0.7rem; font-weight: 600; }
.inv .flow__cards .risk { background: rgb(200 69 47 / 0.25); color: #FFB7A8; }
.inv .flow__cards .grow { background: rgb(141 183 255 / 0.2); color: var(--sky); }
.inv .flow__cards .cash { background: rgb(63 191 156 / 0.2); color: #8EDDC8; }
.inv .flow__cards b { grid-column: 1; font-size: clamp(0.88rem, 1.2vw, 1.08rem); line-height: 1.25; color: #fff; }
.inv .flow__cards span { grid-column: 1; color: #C9D8FA; }
.inv .flow__cards small { grid-column: 1; color: #8EDDC8; }
.inv__act { grid-column: 2; grid-row: 2 / span 3; align-self: center; display: grid; justify-items: end; gap: 0.3rem; margin: 0; }
.inv__btn { padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--sky); font-size: clamp(0.74rem, 1vw, 0.88rem); font-weight: 600; white-space: nowrap; color: #0B1A3C !important; transition: opacity 0.3s ease, transform 0.2s ease; }
.inv__ok { display: none; padding: 0.4rem 0.8rem; border-radius: 999px; background: rgb(63 191 156 / 0.2); font-size: clamp(0.72rem, 0.95vw, 0.84rem); font-weight: 600; white-space: nowrap; color: #8EDDC8 !important; }
.inv[data-step="4"] .inv__ok { display: block; animation: sched-in 0.4s ease both; }
.inv[data-step="4"] li:first-child .inv__btn { display: none; }
.inv[data-step="1"] .inv__brief, .inv[data-step="2"] .inv__brief { opacity: 0; }
.inv__brief { transition: opacity 0.5s ease; }
.shift:not(.is-live) .pane__shot:has(.inv) { aspect-ratio: auto; }
@media (max-width: 900px) {
  .pane__shot:has(.inv) { aspect-ratio: auto; }
  .flow.inv { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .inv__side { padding: 0.6rem 0.75rem; gap: 0.4rem; border-right: 0; }
  .inv .flow__steps { display: none; }
  .inv__brief { margin: 0 !important; padding: 0; border: 0; }
  .inv .flow__cards { padding: 0.5rem; gap: 0.35rem; }
  .inv .flow__cards li { grid-template-columns: 1fr; padding: 0.4rem 0.6rem; }
  .shift.is-live .inv .flow__cards span { display: none; }
  .inv__act { grid-column: 1; grid-row: auto; justify-items: start; }
  .shift.is-live .pane[data-pane="inventory"] .pane__was { display: none; }
}
.la { align-items: stretch; }
.la__week { grid-template-rows: auto 1fr auto; }
.la__week ul { align-content: start; }
.la__cap { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 0.5rem; margin: 0; padding-top: 0.5rem; border-top: 1px solid #EEF0F6; font-size: clamp(0.68rem, 0.9vw, 0.8rem); color: #5B6686; }
.la__cap b { color: #0B1A3C; }
.la__cap i { grid-column: 1 / -1; height: 0.4rem; border-radius: 3px; background: linear-gradient(to right, #2353C4 var(--w), #E6EAF4 var(--w)); }
.la__cap--over b { color: #A63A2B; }
.la__cap--over i { background: #C8452F; }
@media (min-width: 901px) { .shift.is-live .la__job { padding: 0.6rem 0.7rem; } }
@media (max-width: 900px) { .la__cap { display: none; } .la__week ul li:nth-child(n+3) { display: none; } }

/* Plan builder: a full drawing app, in four beats */
.pb .plan__steps { grid-template-columns: repeat(4, 1fr); }
.pb .plan__steps li { font-size: clamp(0.82rem, 1.15vw, 1.02rem); }
.pb[data-step="4"] .plan__steps li { color: var(--navy); }
.pb > figcaption { margin-top: 0.75rem; font-size: 0.9rem; color: var(--fg-2); }
.pb__app { display: grid; grid-template-columns: auto 1fr minmax(14rem, 17rem); grid-template-rows: auto 1fr; border: 1px solid #C9D4EC; border-radius: 12px; background: #fff; box-shadow: 0 30px 70px rgb(11 26 60 / 0.18); overflow: hidden; color: #17203D; }
.pb__bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.75rem; margin: 0; padding: 0.55rem 0.9rem; background: #0B1A3C; font-size: 0.85rem; color: #C9D8FA; }
.pb__bar b { color: #fff; }
.pb__logo { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 5px; background: var(--sky); font-weight: 700; font-size: 0.8rem; color: #0B1A3C; }
.pb__tabs { display: flex; gap: 0.25rem; margin-left: 0.5rem; }
.pb__tabs i { padding: 0.25rem 0.7rem; border-radius: 6px; font-style: normal; font-weight: 600; transition: background 0.3s ease, color 0.3s ease; }
.pb[data-step="1"] .t1, .pb[data-step="2"] .t1, .pb[data-step="3"] .t3, .pb[data-step="4"] .t4 { background: rgb(141 183 255 / 0.22); color: #fff; }
.pb__snap { margin-left: auto; padding: 0.15rem 0.6rem; border-radius: 999px; background: rgb(142 221 200 / 0.18); font-size: 0.75rem; font-weight: 600; color: #8EDDC8; }
.pb__saved { font-size: 0.75rem; color: #8EDDC8; }
.pb__tools { display: grid; align-content: start; gap: 0.15rem; margin: 0; padding: 0.6rem 0.4rem; list-style: none; border-right: 1px solid #DCE2F0; background: #F7F9FD; }
.pb__tools li { display: grid; justify-items: center; gap: 0.15rem; padding: 0.45rem 0.5rem; border-radius: 8px; font-size: 0.66rem; font-weight: 600; color: #5B6686; transition: background 0.3s ease, color 0.3s ease; }
.pb__tools svg { width: 1.3rem; height: 1.3rem; fill: currentColor; stroke: currentColor; }
.pb[data-step="1"] .pb__tools .k1, .pb[data-step="2"] .pb__tools .k2 { background: #2353C4; color: #fff; }
.pb__canvas { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.pb__canvas svg { display: block; width: 100%; height: auto; }
.pb__rooms rect, .pb__room { fill: #F4F7FD; stroke: #0B1A3C; stroke-width: 8; stroke-linejoin: miter; }
.pb__names text, .pb__nm { font-size: 14px; font-weight: 700; fill: #0B1A3C; text-anchor: middle; }
.pb__names .s, .pb__nm.s { font-size: 11px; font-weight: 500; fill: #5B6686; }
.pb__dims path, .pb__dim3 path { fill: none; stroke: #8490B0; stroke-width: 1; }
.pb__dims text, .pb__dim3 text { font-size: 11px; font-weight: 600; fill: #3A4670; }
.pb__guides path { fill: none; stroke: #E0457B; stroke-width: 1; stroke-dasharray: 4 4; }
.pb__guides, .pb__chip, .pb__handles, .pb__cursor { opacity: 0; }
.pb__handles rect { fill: #fff; stroke: #2353C4; stroke-width: 2; }
.pb__cursor path { fill: #0B1A3C; stroke: #fff; stroke-width: 1.5; }
.pb__chip rect { fill: #0B1A3C; }
.pb__chip text { font-size: 11px; font-weight: 600; fill: #fff; }
.pb__doors .gap { fill: #F4F7FD; }
.pb__doors .leaf { fill: none; stroke: #2353C4; stroke-width: 3.5; stroke-linecap: round; }
.pb__doors .arc { fill: none; stroke: #2353C4; stroke-width: 1.2; stroke-dasharray: 3 3; }
.pb__doors .pan { fill: #2353C4; }
.pb__doors .pocket { fill: none; stroke: #2353C4; stroke-width: 1; stroke-dasharray: 2 2; }
.pb__doors .arr { fill: none; stroke: #2353C4; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.pb__doors text { font-size: 10.5px; font-weight: 600; fill: #1B3E94; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.pb__status { display: flex; gap: 1.25rem; margin: 0; padding: 0.4rem 0.9rem; border-top: 1px solid #DCE2F0; background: #F7F9FD; font-size: 0.75rem; color: #5B6686; }
.pb__side { display: flex; flex-direction: column; padding: 0.9rem 1rem; border-left: 1px solid #DCE2F0; }
.pb__side p { margin: 0; }
.pb__side-title { margin-bottom: 0.4rem !important; font-size: 1rem; font-weight: 700; color: #0B1A3C; }
.pb__side-title span { font-size: 0.78rem; font-weight: 500; color: #8490B0; }
.pb__side ul { display: grid; margin: 0; padding: 0; list-style: none; }
.pb__side li { display: grid; grid-template-columns: 1fr auto 4.6rem; gap: 0.5rem; padding: 0.42rem 0; border-bottom: 1px solid #EEF0F6; font-size: 0.86rem; }
.pb__side li span:nth-child(2) { font-size: 0.76rem; color: #8490B0; }
.pb__side li b { text-align: right; }
.pb__total { display: flex; justify-content: space-between; margin-top: auto !important; padding-top: 0.7rem; border-top: 2px solid #0B1A3C; font-size: 1.2rem; color: #0B1A3C; }
.pb__go { margin-top: 0.7rem !important; padding: 0.6rem; border-radius: 8px; background: #2353C4; font-size: 0.9rem; font-weight: 600; text-align: center; color: #fff; transition: transform 0.2s ease, box-shadow 0.3s ease; }
.pb__paper { position: absolute; right: 1rem; top: 1rem; bottom: 2.6rem; width: min(46%, 17rem); display: flex; flex-direction: column; gap: 0.45rem; padding: 1.1rem 1.1rem; border: 1px solid #DCE2F0; border-radius: 10px; background: #fff; box-shadow: 0 24px 60px rgb(11 26 60 / 0.3); transition: transform 0.7s cubic-bezier(.2,.8,.2,1), opacity 0.4s ease; }
.pb__paper p { margin: 0; }
.pb__paper i { display: block; height: 0.42rem; border-radius: 3px; background: #E6EAF4; }
.pb__paper i.short { width: 62%; }
/* beat 1: room 3 is dragged in and snaps */
.pb[data-step="1"] .pb__doors, .pb[data-step="1"] .pb__dim3 { opacity: 0; }
.pb[data-step="1"] .pb__r3 { animation: pb-drag 2.2s cubic-bezier(.3,.7,.2,1) both; }
.pb[data-step="1"] .pb__room { animation: pb-ghost 2.2s linear both; }
.pb[data-step="1"] .pb__handles, .pb[data-step="1"] .pb__cursor { opacity: 1; }
.pb[data-step="1"] .pb__guides { animation: pb-flash 2.8s linear both; }
.pb[data-step="1"] .pb__chip { animation: pb-chip 3.4s ease both; }
@keyframes pb-drag { 0% { transform: translate(86px, 96px); } 55% { transform: translate(22px, 14px); } 72%, 100% { transform: none; } }
@keyframes pb-ghost { 0%, 60% { stroke-dasharray: 6 5; fill-opacity: 0.4; } 72%, 100% { stroke-dasharray: none; fill-opacity: 1; } }
@keyframes pb-flash { 0%, 50% { opacity: 0; } 62%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pb-chip { 0%, 66% { opacity: 0; transform: translateY(6px); } 74%, 100% { opacity: 1; transform: none; } }
/* beat 2: doors drop in one at a time */
.pb[data-step="2"] .pb__doors > g { animation: pb-door 0.5s ease both; animation-delay: calc(0.3s + var(--i, 0) * 0.65s); }
.pb[data-step="2"] .pb__doors > g:nth-child(2) { --i: 1; } .pb[data-step="2"] .pb__doors > g:nth-child(3) { --i: 2; } .pb[data-step="2"] .pb__doors > g:nth-child(4) { --i: 3; }
@keyframes pb-door { from { opacity: 0; transform: scale(0.9); } }
.pb__doors > g { transform-box: fill-box; transform-origin: center; }
/* beat 3: the estimate fills in */
.pb[data-step="1"] .pb__side li, .pb[data-step="1"] .pb__total b { opacity: 0.15; }
.pb[data-step="2"] .pb__side li:nth-child(n+5), .pb[data-step="2"] .pb__total b { opacity: 0.15; }
.pb__side li, .pb__total b { transition: opacity 0.4s ease; }
.pb[data-step="3"] .pb__side li { animation: plan-row 0.4s ease both; animation-delay: calc(var(--i, 0) * 0.22s); }
.pb[data-step="3"] .pb__side li:nth-child(2) { --i: 1; } .pb[data-step="3"] .pb__side li:nth-child(3) { --i: 2; } .pb[data-step="3"] .pb__side li:nth-child(4) { --i: 3; } .pb[data-step="3"] .pb__side li:nth-child(5) { --i: 4; } .pb[data-step="3"] .pb__side li:nth-child(6) { --i: 5; } .pb[data-step="3"] .pb__side li:nth-child(7) { --i: 6; }
.pb[data-step="3"] .pb__total { animation: plan-fade 0.5s ease 1.7s both; }
.pb[data-step="3"] .pb__go { box-shadow: 0 0 0 4px rgb(35 83 196 / 0.25); }
/* beat 4: the contract */
.pb:not([data-step="4"]) .pb__paper { transform: translateX(115%) rotate(3deg); opacity: 0; }
.pb[data-step="4"] .pb__go { background: #0B1A3C; }
@media (max-width: 860px) {
  .pb .plan__steps { grid-template-columns: 1fr 1fr; }
  .pb__app { grid-template-columns: 1fr; }
  .pb__tools { grid-auto-flow: column; grid-auto-columns: 1fr; border-right: 0; border-bottom: 1px solid #DCE2F0; padding: 0.3rem; }
  .pb__tools li { padding: 0.3rem 0.1rem; font-size: 0; }
  .pb__tabs, .pb__saved { display: none; }
  .pb__side { border-left: 0; border-top: 1px solid #DCE2F0; }
  .pb__status span:nth-child(n+3) { display: none; }
  .pb__paper { width: 62%; }
}

/* Quoting page: the CRM screens */
.qshots { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; margin: clamp(1.5rem, 3vw, 2.5rem) 0; }
.qshot { margin: 0; display: grid; gap: 0.6rem; align-content: start; }
.qshot--wide { grid-column: 1 / -1; }
.qshot .frame { border: 1px solid #C9D4EC; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px rgb(11 26 60 / 0.12); }
.qshot img { display: block; width: 100%; height: auto; }
.qshot figcaption { font-size: 0.95rem; color: var(--fg-2); }
.qshot figcaption b { color: var(--navy); }
@media (max-width: 760px) { .qshots { grid-template-columns: 1fr; } }

/* Sample product configurator */
.cfg { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px rgb(141 183 255 / 0.22), 0 40px 90px rgb(3 10 30 / 0.5); }
.cfg__stage { position: relative; display: grid; place-items: center; min-height: 34rem; padding: 1rem; background: radial-gradient(70% 60% at 50% 42%, #2F62DD 0%, #17409F 38%, #0B1A3C 78%); }
.cfg__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 15%; background: linear-gradient(rgb(8 19 48 / 0), rgb(8 19 48 / 0.85)); pointer-events: none; }
.cfg__door { position: relative; z-index: 1; width: min(100%, 30rem); height: auto; }
.cfg__door text { font-size: 13px; font-weight: 600; fill: #C9D8FA; }
.cfg__spec { position: absolute; z-index: 2; left: 1rem; right: 1rem; bottom: 0.9rem; margin: 0; font-size: 0.9rem; text-align: center; color: #C9D8FA; }
.cfg__panel { display: grid; align-content: start; gap: 0.35rem; padding: clamp(1rem, 2.2vw, 1.75rem); background: #fff; color: #17203D; }
.cfg__panel p { margin: 0; }
.cfg__h { margin-top: 0.55rem !important; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #8490B0; }
.cfg__opts { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cfg__opts button { padding: 0.5rem 0.9rem; border: 1px solid #C9D4EC; border-radius: 8px; background: #fff; font: inherit; font-size: 0.92rem; font-weight: 600; color: #3A4670; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.cfg__opts button:hover { border-color: #2353C4; }
.cfg__opts button[aria-pressed="true"] { border-color: #0B1A3C; background: #0B1A3C; color: #fff; }
.cfg__opts button:focus-visible { outline: 2px solid #2353C4; outline-offset: 2px; }
.cfg__opts--sw button { width: 2.4rem; height: 2.4rem; padding: 0; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px #C9D4EC; }
.cfg__opts--sw button[aria-pressed="true"] { background: var(--c); box-shadow: 0 0 0 3px #2353C4; }
.cfg__price { display: grid; gap: 0.6rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 2px solid #0B1A3C; }
.cfg__price p:first-child { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.95rem; color: #5B6686; }
.cfg__price b { font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #0B1A3C; }
.cfg__add { padding: 0.8rem; border: 0; border-radius: 999px; background: #2353C4; font: inherit; font-weight: 600; color: #fff; cursor: pointer; }
.cfg__add:hover { background: #1B3E94; }
.cfg__added { padding: 0.5rem 0.8rem; border-radius: 8px; background: #D9F4EC; font-size: 0.88rem; font-weight: 600; color: #0E5C48; }
.workrow__shot--door svg { display: block; width: 100%; height: auto; border-radius: inherit; }
@media (max-width: 860px) { .cfg { grid-template-columns: 1fr; } .cfg__stage { min-height: 24rem; } .cfg__door { width: min(100%, 19rem); } }

/* Roles, usage, and what the agents did */
.access__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.access__card { display: flex; flex-direction: column; gap: 0.9rem; margin: 0; padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid #C9D4EC; border-radius: 12px; background: #fff; box-shadow: 0 18px 44px rgb(11 26 60 / 0.08); color: #17203D; }
.access__card--wide { grid-column: 1 / -1; }
.access__card figcaption { display: grid; font-size: 0.92rem; color: #5B6686; }
.access__card figcaption b { font-size: 1.15rem; color: #0B1A3C; }
.access__note { margin: auto 0 0; padding-top: 0.75rem; border-top: 1px solid #EEF0F6; font-size: 0.88rem; color: #5B6686; }
.permtable { display: grid; margin: 0; padding: 0; list-style: none; }
.permtable li { display: grid; grid-template-columns: minmax(8rem, 1.3fr) repeat(5, 1fr) minmax(9rem, 1.6fr); gap: 0.5rem; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid #EEF0F6; font-size: 0.88rem; }
.permtable__head { font-size: 0.72rem !important; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #8490B0; }
.permtable [role="rowheader"] { display: grid; }
.permtable [role="rowheader"] small { font-size: 0.72rem; color: #8490B0; }
.permtable .out-party [role="rowheader"] small { color: #2353C4; font-weight: 600; }
.perm { justify-self: start; padding: 0.12rem 0.6rem; border-radius: 999px; font-size: 0.76rem; font-weight: 600; }
.perm--e { background: #0B1A3C; color: #fff; }
.perm--v { background: #E1EAFF; color: #1B3E94; }
.perm--n { background: #F1F3F9; color: #A0A9C2; }
.perm__sees { color: #3A4670; }
.usebars { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.usebars li { display: grid; grid-template-columns: 7rem 1fr auto; gap: 0.75rem; align-items: center; font-size: 0.9rem; color: #3A4670; }
.usebars i { height: 0.6rem; border-radius: 4px; background: linear-gradient(to right, #2353C4 var(--w), #E6EAF4 var(--w)); }
.usebars b { font-size: 0.85rem; color: #0B1A3C; }
.agentstats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.agentstats li { display: grid; padding: 0.8rem 0.9rem; border-radius: 10px; background: #EDF3FF; }
.agentstats b { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; color: #0B1A3C; }
.agentstats span { font-size: 0.85rem; color: #3A4670; }
@media (max-width: 860px) {
  .access__grid { grid-template-columns: 1fr; }
  .permtable li { grid-template-columns: 1fr 1fr 1fr; gap: 0.3rem 0.5rem; }
  .permtable__head { display: none !important; }
  .permtable [role="rowheader"] { grid-column: 1 / -1; }
  .perm__sees { grid-column: 1 / -1; font-size: 0.8rem; }
  .permtable li .perm:nth-of-type(n+5) { display: none; }
}

/* Work page: examples with large screens */
.exnav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; }
.exnav a { padding: 0.4rem 0.9rem; border: 1px solid rgb(141 183 255 / 0.4); border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: #fff; text-decoration: none; }
.exnav a:hover { background: rgb(141 183 255 / 0.18); }
.ex { scroll-margin-top: 4rem; }
.ex__head { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem clamp(1.5rem, 5vw, 4rem); align-items: start; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.ex__say { display: grid; gap: 0.9rem; justify-items: start; }
.ex__say .lede { margin: 0; }
.ex__result { margin: 0; padding: 0.6rem 0.9rem; border-radius: 8px; background: #D9F4EC; font-weight: 600; line-height: 1.35; color: #0E5C48; }
.band:not(.band--light) .ex__result { background: rgb(142 221 200 / 0.16); color: var(--mint); }
.ex__main .plan { margin-top: 0; }
.ex__more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.exshot { margin: 0; display: grid; gap: 0.6rem; align-content: start; }
.exshot__frame { display: block; border: 1px solid #C9D4EC; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 20px 50px rgb(11 26 60 / 0.14); text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.band:not(.band--light) .exshot__frame { border-color: rgb(141 183 255 / 0.3); box-shadow: 0 24px 60px rgb(3 10 30 / 0.5); }
.exshot__frame:hover { transform: translateY(-3px); }
.exshot__frame .frame__bar { display: flex; }
.exshot__frame img { display: block; width: 100%; height: auto; }
.exshot__frame--clip { display: flex; flex-direction: column; }
.exshot__frame--clip img { flex: 1; min-height: 0; height: 100%; object-fit: cover; object-position: top left; }
.exshot figcaption { font-size: 0.92rem; color: var(--fg-2); }
.exshot figcaption b { color: var(--navy); }
.band:not(.band--light) .exshot figcaption b { color: var(--text); }
.ex .cfg { margin-top: 0; }
@media (max-width: 860px) { .ex__head { grid-template-columns: 1fr; } }
.ex__more { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }

/* Work page: sticky section menu, galleries, and the in-page viewer */
.subnav { position: sticky; top: 3.9rem; z-index: 15; border-bottom: 1px solid #DCE2F0; background: rgb(245 247 252 / 0.92); backdrop-filter: blur(12px); }
.subnav .wrap { display: flex; gap: 0.25rem; overflow-x: auto; padding-block: 0.5rem; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: #3A4670; text-decoration: none; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
.subnav a:hover { background: #E8EEFB; }
.subnav a.is-on { background: #0B1A3C; color: #fff; }
.ex { scroll-margin-top: 7rem; }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 0 0 1rem; font-size: 0.95rem; }
.crumb a { padding: 0.35rem 0.9rem; border: 1px solid rgb(141 183 255 / 0.45); border-radius: 999px; font-weight: 600; color: #fff; text-decoration: none; }
.crumb a:hover { background: rgb(141 183 255 / 0.18); }
.crumb span { color: var(--fg-3); }
.gal { display: grid; gap: 0.9rem; }
.ex .plan + .gal { margin-top: 2rem; }
.gal__stage { margin: 0; display: grid; gap: 0.7rem; }
.gal__open { display: flex; flex-direction: column; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid #C9D4EC; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgb(11 26 60 / 0.16); font: inherit; text-align: left; cursor: zoom-in; }
.band:not(.band--light) .gal__open { border-color: rgb(141 183 255 / 0.3); box-shadow: 0 30px 70px rgb(3 10 30 / 0.55); }
.gal__open .frame__bar { display: flex; flex: none; width: 100%; }
.gal__open .frame__bar em { margin-left: auto; padding: 0.1rem 0.6rem; border-radius: 999px; background: rgb(141 183 255 / 0.2); font-style: normal; font-size: 0.72rem; font-weight: 600; color: #C9D8FA; }
.gal__open img { flex: 1; min-height: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: opacity 0.25s ease; }
.gal__open:focus-visible { outline: 3px solid #2353C4; outline-offset: 3px; }
.gal__stage figcaption { font-size: 1rem; color: var(--fg-2); }
.gal__stage figcaption b { color: var(--navy); }
.band:not(.band--light) .gal__stage figcaption b { color: var(--text); }
.gal__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(7.5rem, 1fr); gap: 0.6rem; overflow-x: auto; padding: 0.25rem 0.25rem 0.5rem; margin: 0 -0.25rem; scrollbar-width: thin; }
.gal__thumb { display: grid; gap: 0.35rem; padding: 0.3rem; border: 2px solid transparent; border-radius: 10px; font-size: 0.8rem; font-weight: 600; text-align: center; text-decoration: none; color: var(--fg-2); transition: border-color 0.2s ease, background 0.2s ease; }
.gal__thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top left; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgb(141 183 255 / 0.3); }
.gal__thumb:hover { border-color: rgb(141 183 255 / 0.6); }
.gal__thumb[aria-current="true"] { border-color: #2353C4; background: rgb(35 83 196 / 0.08); color: var(--navy); }
.band:not(.band--light) .gal__thumb[aria-current="true"] { border-color: var(--sky); background: rgb(141 183 255 / 0.12); color: #fff; }
.lightbox { width: min(96vw, 1500px); max-width: none; height: 94vh; max-height: none; padding: 0; border: 0; border-radius: 14px; background: #0B1A3C; color: #fff; overflow: hidden; box-shadow: 0 40px 120px rgb(0 0 0 / 0.6); }
.lightbox::backdrop { background: rgb(4 10 28 / 0.82); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lb-in 0.25s ease; }
@keyframes lb-in { from { opacity: 0; transform: scale(0.97); } }
.lightbox__bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1rem; border-bottom: 1px solid rgb(141 183 255 / 0.2); }
.lightbox__bar b { font-size: 1rem; }
.lightbox__bar span { font-size: 0.85rem; color: #9FB3E0; }
.lightbox__bar button { margin-left: auto; }
.lightbox button { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid rgb(141 183 255 / 0.35); border-radius: 50%; background: rgb(141 183 255 / 0.1); font: inherit; font-size: 1.2rem; line-height: 1; color: #fff; cursor: pointer; }
.lightbox button:hover { background: rgb(141 183 255 / 0.25); }
.lightbox__body { position: relative; min-height: 0; overflow: auto; background: #F5F7FC; overscroll-behavior: contain; }
.lightbox__body img { display: block; width: 100%; height: auto; }
.lightbox__foot { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1rem; border-top: 1px solid rgb(141 183 255 / 0.2); }
.lightbox__foot p { flex: 1; margin: 0; font-size: 0.95rem; color: #C9D8FA; }
.lightbox__foot p b { color: #fff; }
@media (max-width: 760px) { .subnav { top: 3.6rem; } .gal__open { aspect-ratio: 4 / 3; } .gal__open .frame__bar em { display: none; } .lightbox { width: 100vw; height: 100dvh; border-radius: 0; } }

/* Company brain: a sample explorer */
.xp { display: grid; grid-template-columns: 15rem 1fr; grid-template-rows: auto 1fr; margin-top: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid #C9D4EC; border-radius: 14px; background: #fff; box-shadow: 0 34px 80px rgb(11 26 60 / 0.18); overflow: hidden; color: #17203D; }
.xp__bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.75rem; margin: 0; padding: 0.6rem 1rem; background: #0B1A3C; font-size: 0.88rem; color: #C9D8FA; }
.xp__bar b { color: #fff; }
.xp__where { padding: 0.15rem 0.65rem; border-radius: 999px; background: rgb(141 183 255 / 0.2); font-weight: 600; color: #fff; }
.xp__meta { margin-left: auto; font-size: 0.78rem; }
.xp__nav { display: grid; align-content: start; gap: 0.2rem; padding: 0.75rem 0.6rem; border-right: 1px solid #DCE2F0; background: #F7F9FD; }
.xp__nav button { display: grid; gap: 0.05rem; padding: 0.6rem 0.8rem; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 0.98rem; font-weight: 600; text-align: left; color: #3A4670; cursor: pointer; }
.xp__nav button small { font-size: 0.76rem; font-weight: 500; color: #8490B0; }
.xp__nav button:hover { background: #E8EEFB; }
.xp__nav button[aria-selected="true"] { background: #0B1A3C; color: #fff; }
.xp__nav button[aria-selected="true"] small { color: #9FB3E0; }
.xp__nav button:focus-visible { outline: 2px solid #2353C4; outline-offset: 2px; }
.xp__main { min-width: 0; min-height: 27rem; padding: clamp(1rem, 2.4vw, 1.75rem); }
.xp__view { display: none; }
.xp__view.is-on { display: grid; gap: 1.1rem; animation: sched-in 0.4s ease both; }
.xp__title { margin: 0; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -0.01em; color: #0B1A3C; }
.xp__title span { margin-left: 0.5rem; font-size: 0.9rem; font-weight: 500; letter-spacing: 0; color: #8490B0; }
.xp__note { margin: 0; padding-top: 0.9rem; border-top: 1px solid #EEF0F6; font-size: 0.92rem; color: #5B6686; }
.tree { display: grid; gap: 1.1rem; justify-items: center; }
.tree p { margin: 0; }
.tree__n { display: grid; justify-items: center; gap: 0.05rem; min-width: 8rem; padding: 0.55rem 0.9rem; border: 1px solid #C9D4EC; border-radius: 10px; background: #F7F9FD; font-size: 0.82rem; color: #5B6686; }
.tree__n b { font-size: 1rem; color: #0B1A3C; }
.tree__n--top { position: relative; border-color: #0B1A3C; background: #0B1A3C; color: #9FB3E0; }
.tree__n--top b { color: #fff; }
.tree__n--top::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 1.1rem; background: #C9D4EC; }
.tree__row { position: relative; display: grid; grid-template-columns: 1fr 2.2fr 1fr; gap: 1rem; width: 100%; padding-top: 1.1rem; border-top: 2px solid #C9D4EC; }
.tree__col { position: relative; display: grid; gap: 0.5rem; justify-items: center; align-content: start; }
.tree__col::before { content: ""; position: absolute; left: 50%; top: -1.1rem; width: 2px; height: 1.1rem; background: #C9D4EC; }
.tree__leaves { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; width: 100%; }
.tree__n--leaf { grid-template-columns: 1fr auto; justify-items: start; align-items: center; width: 100%; min-width: 0; background: #fff; font-size: 0.9rem; font-weight: 600; color: #3A4670; }
.tree__n--leaf i { padding: 0 0.5rem; border-radius: 999px; background: #E8EEFB; font-style: normal; font-size: 0.78rem; color: #1B3E94; }
.tree__n--pick { border-color: #2353C4; box-shadow: 0 0 0 3px rgb(35 83 196 / 0.14); }
.tree .xp__note { width: 100%; }
.stackgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.sg { display: grid; gap: 0.1rem; margin: 0; padding: 0.75rem 0.9rem; border: 1px solid #C9D4EC; border-radius: 10px; background: #F7F9FD; font-size: 0.82rem; color: #5B6686; }
.sg b { font-size: 0.98rem; color: #0B1A3C; }
.sg em { justify-self: start; margin-top: 0.35rem; padding: 0.1rem 0.6rem; border-radius: 999px; font-style: normal; font-size: 0.74rem; font-weight: 600; }
.sg .keep { background: #fff; color: #0B1A3C; }
.sg .sync { background: #D9F4EC; color: #0E5C48; }
.sg .gone { background: #FDE8E2; color: #A63A2B; }
.sg--erp { grid-row: span 2; align-content: center; border-color: #0B1A3C; background: #0B1A3C; color: #9FB3E0; }
.sg--erp b { font-size: 1.5rem; color: #fff; }
.sg--x { border-style: dashed; background: #fff; }
.sg--x b { text-decoration: line-through; text-decoration-color: #C8452F; }
.rolex { display: grid; grid-template-columns: 11rem 1fr; gap: 1.25rem; }
.rolex__list { display: grid; align-content: start; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.rolex__list li { padding: 0.45rem 0.7rem; border-radius: 8px; font-size: 0.92rem; font-weight: 600; color: #5B6686; }
.rolex__list li.is-on { background: #EDF3FF; color: #1B3E94; box-shadow: inset 3px 0 0 #2353C4; }
.hours { display: grid; gap: 0.2rem; margin-bottom: 0.5rem; font-size: 0.88rem; }
.hours i { display: block; height: 0.5rem; width: var(--w); border-radius: 4px; background: #C8452F; }
.lanes { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.4rem 0.75rem; align-items: center; }
.lanes p { margin: 0; }
.lanes__h { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #8490B0; }
.lanes__r { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.4rem; padding: 0.4rem; border-radius: 10px; background: #F7F9FD; }
.lanes__r span { display: grid; padding: 0.5rem 0.6rem; border: 1px solid #C9D4EC; border-radius: 8px; background: #fff; font-size: 0.86rem; font-weight: 600; color: #0B1A3C; }
.lanes__r .agent { border-color: #8DB7FF; background: #EDF3FF; color: #1B3E94; }
.lanes__r em { font-style: normal; font-size: 0.72rem; font-weight: 600; color: #2353C4; }
.opps { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; counter-reset: op; }
.opps li { counter-increment: op; display: grid; grid-template-columns: 2rem 1fr auto; gap: 0.15rem 0.75rem; align-items: center; padding: 0.7rem 0.9rem; border: 1px solid #DCE2F0; border-radius: 10px; }
.opps li::before { content: counter(op); grid-row: 1 / span 3; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #0B1A3C; font-weight: 700; color: #fff; }
.opps b { grid-column: 2; font-size: 1rem; color: #0B1A3C; }
.opps span { grid-column: 2; font-size: 0.84rem; color: #5B6686; }
.opps i { grid-column: 2; height: 0.45rem; width: var(--w); border-radius: 4px; background: linear-gradient(to right, #C8452F, #E58A78); }
.opps em { grid-column: 3; grid-row: 1 / span 3; padding: 0.25rem 0.75rem; border-radius: 999px; background: #EEF0F6; font-style: normal; font-size: 0.8rem; font-weight: 600; color: #5B6686; }
.opps li:nth-child(-n+3) em { background: #0B1A3C; color: #fff; }
@media (max-width: 860px) {
  .xp { grid-template-columns: 1fr; }
  .xp__meta { display: none; }
  .xp__nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; border-right: 0; border-bottom: 1px solid #DCE2F0; padding: 0.5rem; }
  .xp__nav button small { display: none; }
  .tree__row { grid-template-columns: 1fr; border-top: 0; padding-top: 0; }
  .tree__col::before, .tree__n--top::after { display: none; }
  .stackgrid { grid-template-columns: 1fr 1fr; }
  .rolex { grid-template-columns: 1fr; }
  .rolex__list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .lanes { grid-template-columns: 1fr; }
  .lanes__r { grid-template-columns: repeat(2, 1fr); }
  .lanes__r span { grid-column: auto !important; }
  .opps li { grid-template-columns: 2rem 1fr; }
  .opps em { grid-column: 2; grid-row: auto; justify-self: start; }
}
.band--light .charge__levels { border-color: #C9D4EC; background: #fff; }
.band--light .charge__levels button { border-color: #C9D4EC; color: #5B6686; }
.band--light .charge__levels b { color: var(--navy); }
.band--light .charge__levels button:hover { background: #EDF3FF; }
.band--light .charge__levels button[aria-pressed="true"] { background: #0B1A3C; color: #C9D8FA; }
.band--light .charge__levels button[aria-pressed="true"] b { color: #fff; }
.band--light .charge__flow { --text: #F5F7FC; --fg-3: #9FB3E0; --rule-2: rgb(141 183 255 / 0.25); }

/* ---- The thin vertical lines are gone, site-wide. Dark sections get a slow drifting glow instead,
        and a soft light that follows the pointer. ---- */
.hub::before, .cta > .wrap::before { background: none; -webkit-mask-image: none; mask-image: none; }
.cta > .wrap::after, .hub::after, .spot {
  background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgb(63 118 240 / 0.3) 0%, rgb(63 118 240 / 0.1) 45%, transparent 72%);
  -webkit-mask-image: none; mask-image: none;
}
.band:not(.band--light), .cta {
  background-image: radial-gradient(38% 55% at 18% 28%, rgb(47 98 221 / 0.34) 0%, transparent 70%), radial-gradient(34% 50% at 84% 72%, rgb(35 83 196 / 0.3) 0%, transparent 70%), radial-gradient(26% 40% at 62% 12%, rgb(142 221 200 / 0.09) 0%, transparent 70%);
  background-size: 180% 180%, 170% 170%, 160% 160%;
  background-position: 0% 0%, 100% 100%, 50% 0%;
  background-repeat: no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  .band:not(.band--light), .cta { animation: band-drift 26s ease-in-out infinite alternate; }
  .motion-paused .band, .motion-paused .cta { animation-play-state: paused; }
}
@keyframes band-drift {
  0% { background-position: 0% 0%, 100% 100%, 50% 0%; }
  50% { background-position: 60% 40%, 30% 60%, 10% 50%; }
  100% { background-position: 100% 80%, 0% 20%, 90% 30%; }
}

/* Menu dropdowns: a caret on the parent, and rows that light up */
.nav__links .has-sub > a::after { content: ""; display: inline-block; width: 0.4rem; height: 0.4rem; margin-left: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-0.2rem) rotate(45deg); opacity: 0.7; transition: transform 0.2s ease; }
.nav__links .has-sub:hover > a::after, .nav__links .has-sub:focus-within > a::after { transform: translateY(0) rotate(225deg); }
.nav__links .has-sub:hover > a, .nav__links .has-sub:focus-within > a { color: #fff; }
.nav__sub { left: -0.6rem; min-width: 14rem; padding: 0.4rem; border-color: rgb(141 183 255 / 0.3); border-radius: 12px; background: #0B1A3C; box-shadow: 0 24px 60px rgb(3 10 30 / 0.6); }
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -0.75rem; height: 0.75rem; }
.nav__sub a { padding: 0.65rem 0.8rem; border-radius: 8px; font-weight: 600; color: #C9D8FA; transition: background 0.15s ease, color 0.15s ease; }
.nav__sub a:hover, .nav__sub a:focus-visible { background: rgb(141 183 255 / 0.18); color: #fff; }
.nav__sub a[aria-current="page"] { background: var(--sky); color: #0B1A3C; text-decoration: none; }
@media (max-width: 1040px) {
  .nav__links .has-sub > a::after { display: none; }
  .nav__sub, .has-sub:hover > .nav__sub { box-shadow: none; background: none; }
  .nav__sub::before { display: none; }
}

/* Company brain: the tech stack as a map, with the replaced ones crossed out */
.tm { position: relative; height: clamp(24rem, 46vw, 31rem); border-radius: 12px; background: radial-gradient(60% 60% at 50% 50%, #EDF3FF 0%, #F7F9FD 70%); }
.tm svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tm svg path { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.tm svg .keep { stroke: #3FBF9C; }
.tm svg .gone { stroke: #E9B9AE; stroke-dasharray: 5 6; }
.tm__n { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 0.05rem; width: max-content; max-width: 11.5rem; margin: 0; padding: 0.65rem 1rem; border: 1px solid #C9D4EC; border-radius: 12px; background: #fff; box-shadow: 0 10px 26px rgb(11 26 60 / 0.1); font-size: 0.8rem; text-align: center; color: #5B6686; }
.tm__n b { font-size: 1rem; color: #0B1A3C; }
.tm__n em { margin-top: 0.25rem; padding: 0.1rem 0.6rem; border-radius: 999px; font-style: normal; font-size: 0.74rem; font-weight: 600; }
.tm__n--keep { border-color: #9FDCC9; }
.tm__n--keep em { background: #D9F4EC; color: #0E5C48; }
.tm__n--erp { z-index: 1; padding: 1.1rem 1.6rem; border-color: #0B1A3C; background: #0B1A3C; color: #9FB3E0; box-shadow: 0 0 0 8px rgb(11 26 60 / 0.08), 0 20px 44px rgb(11 26 60 / 0.3); }
.tm__n--erp b { font-size: 1.7rem; color: #fff; }
.tm__n--erp em { background: rgb(255 255 255 / 0.16); color: #fff; }
.tm__n--gone { border-style: dashed; border-color: #E3B4A8; background: #FFF8F6; }
.tm__n--gone b, .tm__n--gone span { opacity: 0.55; }
.tm__n--gone em { position: relative; z-index: 2; background: #0B1A3C; color: #fff; }
.tm__n--gone::after { content: ""; position: absolute; inset: -0.5rem; z-index: 1; pointer-events: none; background: linear-gradient(to top right, transparent calc(50% - 2.5px), #C8452F calc(50% - 2.5px) calc(50% + 2.5px), transparent calc(50% + 2.5px)), linear-gradient(to bottom right, transparent calc(50% - 2.5px), #C8452F calc(50% - 2.5px) calc(50% + 2.5px), transparent calc(50% + 2.5px)); }
.xp__view.is-on .tm__n--gone::after { animation: tm-x 0.5s ease both; animation-delay: calc(0.5s + (var(--i) - 3) * 0.28s); }
@keyframes tm-x { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.tm__key { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; font-size: 0.88rem; color: #3A4670; }
.tm__key span::before { content: ""; display: inline-block; width: 1.6rem; height: 0; margin-right: 0.5rem; vertical-align: middle; border-top: 3px solid #3FBF9C; }
.tm__key .k2::before { border-top: 3px dashed #C8452F; }
@media (max-width: 860px) {
  .tm { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 0.6rem; padding: 0.9rem; }
  .tm svg { display: none; }
  .tm__n { position: relative; left: auto; top: auto; transform: none; width: auto; max-width: none; padding: 0.55rem 0.5rem; }
  .tm__n--erp { grid-column: 1 / -1; order: -1; }
  .tm__n--gone::after { inset: -0.25rem; }
}
/* Fade each dark section's glow out at its top and bottom edge, so two dark sections meet without a seam */
.band:not(.band--light), .cta {
  background-image: linear-gradient(to bottom, var(--ink) 0%, transparent 16%, transparent 84%, var(--ink) 100%), radial-gradient(38% 55% at 18% 28%, rgb(47 98 221 / 0.34) 0%, transparent 70%), radial-gradient(34% 50% at 84% 72%, rgb(35 83 196 / 0.3) 0%, transparent 70%), radial-gradient(26% 40% at 62% 12%, rgb(142 221 200 / 0.09) 0%, transparent 70%);
  background-size: 100% 100%, 180% 180%, 170% 170%, 160% 160%;
  background-position: 0 0, 0% 0%, 100% 100%, 50% 0%;
}
@keyframes band-drift {
  0% { background-position: 0 0, 0% 0%, 100% 100%, 50% 0%; }
  50% { background-position: 0 0, 60% 40%, 30% 60%, 10% 50%; }
  100% { background-position: 0 0, 100% 80%, 0% 20%, 90% 30%; }
}
.cta { border-top: 0; }

/* Company brain: real explorer screens */
.flip { margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; display: grid; gap: 0.9rem; }
.flip__switch { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0; }
.flip__switch button { padding: 0.55rem 1.3rem; border: 1px solid #C9D4EC; border-radius: 999px; background: #fff; font: inherit; font-weight: 600; color: #3A4670; cursor: pointer; }
.flip__switch button[aria-pressed="true"] { border-color: #0B1A3C; background: #0B1A3C; color: #fff; }
.flip__say { position: relative; flex: 1; min-width: 14rem; min-height: 1.5rem; margin-left: 0.75rem; font-size: 1rem; color: var(--navy); }
.flip__say b { position: absolute; inset: 0 auto auto 0; transition: opacity 0.4s ease; }
.flip__say .b, .flip.is-plan .flip__say .a { opacity: 0; }
.flip.is-plan .flip__say .b { opacity: 1; }
.flip__stage { position: relative; border: 1px solid #C9D4EC; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgb(11 26 60 / 0.16); }
.flip__stage img { display: block; width: 100%; height: auto; transition: opacity 0.6s ease; }
.flip__b { position: absolute; inset: 0; opacity: 0; }
.flip.is-plan .flip__b { opacity: 1; }
.flip__x { position: absolute; inset: 0; pointer-events: none; }
.flip__x i { position: absolute; left: var(--x); top: var(--y); width: 15%; height: 8.2%; transform: translate(-50%, -50%); opacity: 0; background: linear-gradient(to top right, transparent calc(50% - 3px), #C8452F calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)), linear-gradient(to bottom right, transparent calc(50% - 3px), #C8452F calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)); }
.flip.is-plan .flip__x i { opacity: 1; animation: tm-x 0.45s ease both; animation-delay: calc(0.5s + var(--i) * 0.22s); }
.flip figcaption, .journey figcaption, .pair figcaption { font-size: 0.92rem; color: var(--fg-2); }
.journey { margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; display: grid; gap: 0.6rem; }
.journey__scroll { overflow-x: auto; border: 1px solid #C9D4EC; border-radius: 12px; background: #fff; box-shadow: 0 18px 44px rgb(11 26 60 / 0.1); }
.journey__scroll img { display: block; width: 100%; min-width: 1100px; height: auto; }
.pair { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 1.5rem; align-items: start; margin-top: 2rem; }
.pair figure { position: relative; margin: 0; display: grid; gap: 0.6rem; }
.pair img { display: block; width: 100%; height: 34rem; object-fit: cover; object-position: top; border: 1px solid #C9D4EC; border-radius: 12px; box-shadow: 0 18px 44px rgb(11 26 60 / 0.12); }
.pair__tag { position: absolute; left: 0.75rem; top: -0.8rem; z-index: 1; margin: 0; padding: 0.2rem 0.8rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: #fff; }
.pair__tag--a { background: #C8452F; }
.pair__tag--b { background: #0B1A3C; }
.pair__say { align-self: center; display: grid; gap: 0.75rem; }
.pair__say h3 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.15; color: var(--navy); }
.pair__say p { margin: 0; color: var(--fg-2); }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr 1fr; } .pair__say { grid-column: 1 / -1; order: -1; } .pair img { height: 24rem; } .flip__say { flex-basis: 100%; margin-left: 0; min-height: 3rem; } }

/* ---------- 2026-11-15: scene refinements ---------- */
/* Lines in the mess run from each tool to the thing it is retyped into. */
.shift.is-live .mess__links { z-index: 0; overflow: visible; }
.mess__links path { stroke-dasharray: 5 6; stroke-width: 1.6; opacity: 0.85; }
.mess__links .mess__head { fill: #C8452F; stroke: none; opacity: 1; }
.mess__links rect { fill: #fff; stroke: #F0B8AB; }
.mess__links text { font: 600 11px "Mona Sans", sans-serif; fill: #A63A2B; text-anchor: middle; dominant-baseline: central; }
.shift.is-live .mess__i { z-index: 1; }
.shift.is-live .mess__i--erp { z-index: 2; }
.shift.is-live .mess__chat { z-index: 3; }

/* The dock: every system you keep, synced both ways */
.plat__win { grid-template-rows: minmax(0, 1fr) auto; }
.plat__dock { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; padding: 0.6rem 1.1rem; border-top: 1px solid #BFE9DC; background: linear-gradient(90deg, #E3F7F0, #F1FBF7); }
.plat__dock p { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: clamp(0.82rem, 1.05vw, 0.98rem); color: #0E5C48; }
.plat__dock p svg { flex: none; color: #17A67E; }
.plat__dock p b { font-weight: 700; }
.plat__dock ul { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.plat__dock li { position: relative; display: flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.75rem 0.3rem 0.6rem; border: 1px solid #BFE9DC; border-radius: 999px; background: #fff; font-size: clamp(0.76rem, 0.95vw, 0.9rem); font-weight: 600; color: #17203D; }
.plat__dock li::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #17A67E; box-shadow: 0 0 0 0 rgb(23 166 126 / 0.5); }
.plat__dock li:first-child { border-color: #0B1A3C; background: #0B1A3C; color: #fff; }
.plat__dock li:first-child::before { background: #8EDDC8; }
.plat__dock .plat__dock-more { border-style: dashed; background: none; font-weight: 500; color: #0E5C48; }
.plat__dock .plat__dock-more::before { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .plat__dock li::before { animation: dock-ping 2.8s ease-out infinite; }
  .plat__dock li:nth-child(2)::before { animation-delay: 0.4s; } .plat__dock li:nth-child(3)::before { animation-delay: 0.8s; }
  .plat__dock li:nth-child(4)::before { animation-delay: 1.2s; } .plat__dock li:nth-child(5)::before { animation-delay: 1.6s; } .plat__dock li:nth-child(6)::before { animation-delay: 2s; }
  .plat__dock p svg { animation: dock-nudge 2.8s ease-in-out infinite; }
}
@keyframes dock-ping { 0% { box-shadow: 0 0 0 0 rgb(23 166 126 / 0.55); } 60%, 100% { box-shadow: 0 0 0 7px rgb(23 166 126 / 0); } }
@keyframes dock-nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(2px); } }
.shift.is-live .plat__dock { opacity: 0; transition: opacity 0.5s ease 0.3s; }
.shift.is-live.is-done .plat__dock { opacity: 1; }
.plat__nav .plat__next { padding: 0; }
.plat__nav .plat__next button { padding: 0.5rem 0.65rem; text-align: center; font-size: 0.82rem; }
@media (max-width: 900px) {
  .plat__dock { padding: 0.45rem 0.6rem; gap: 0.35rem 0.6rem; }
  .plat__dock li:nth-child(n+5):not(.plat__dock-more) { display: none; }
  .plat__dock li { padding: 0.2rem 0.55rem 0.2rem 0.45rem; }
}

/* The real production board, played as a short reel */
.sched__view.reel.is-on { display: flex; flex-direction: column; gap: 0.5rem; }
.reel__frames { position: relative; flex: 1; min-height: 12rem; border: 1px solid #DCE2F0; border-radius: 8px; background: #fff; overflow: hidden; }
.reel__frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; }
.reel__frames img.is-on, .reel__frames img:first-child { opacity: 1; }
.reel__frames img.is-on { z-index: 1; }

/* Your next workflow: a blank canvas that fills in */
.canvas { position: relative; display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; grid-template-rows: auto auto 1fr; gap: clamp(0.5rem, 1.1vw, 0.9rem); height: 100%; padding: clamp(0.9rem, 2vw, 1.6rem); padding-top: clamp(2.4rem, 4vw, 3rem); background-color: #F7F9FD; background-image: radial-gradient(#C9D3EA 1.1px, transparent 1.2px); background-size: 18px 18px; }
.canvas__tag { position: absolute; top: 0.7rem; left: clamp(0.9rem, 2vw, 1.6rem); margin: 0; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #8490B0; }
.canvas__b { display: grid; align-content: start; gap: 0.45rem; padding: clamp(0.55rem, 1.1vw, 0.9rem); border: 1.5px dashed #8DB7FF; border-radius: 10px; background: rgb(255 255 255 / 0.86); font-style: normal; }
.canvas__b em { font-style: normal; font-size: clamp(0.76rem, 1vw, 0.95rem); font-weight: 600; color: #2353C4; }
.canvas__b span { height: 0.6rem; border-radius: 4px; background: #E3E9F6; }
.canvas__b span:nth-of-type(2n) { width: 82%; } .canvas__b span:nth-of-type(3n) { width: 64%; }
.canvas__b b { justify-self: start; margin-top: auto; padding: 0.4rem 0.9rem; border-radius: 999px; background: #8DB7FF; font-size: 0.8rem; color: #0B1A3C; }
.canvas__b--bar { grid-column: 1 / -1; }
.canvas__b--list { grid-column: 1 / span 3; }
.canvas__b--side { align-content: stretch; grid-template-rows: auto auto auto 1fr; }
@media (prefers-reduced-motion: no-preference) {
  .pane.is-on .canvas__b { animation: canvas-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .pane.is-on .canvas__b--t1 { animation-delay: 0.5s; } .pane.is-on .canvas__b--t2 { animation-delay: 0.8s; } .pane.is-on .canvas__b--t3 { animation-delay: 1.1s; }
  .pane.is-on .canvas__b--list { animation-delay: 1.6s; } .pane.is-on .canvas__b--side { animation-delay: 2.2s; }
}
@keyframes canvas-in { from { opacity: 0; transform: scale(0.94) translateY(10px); } }
@media (max-width: 700px) { .canvas { grid-template-columns: 1fr 1fr; } .canvas__b--t3, .canvas__b--side { display: none; } .canvas__b--list { grid-column: 1 / -1; } }

.shift__note { margin-top: 1.5rem; font-size: clamp(1rem, 1.5vw, 1.25rem); text-align: center; color: var(--fg-2); }
.shift__note b { color: var(--navy); }

/* ---------- Tech stack map, drawn (today / the plan) ---------- */
.band--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.flip--tk { margin-top: 0; }
.flip__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1rem 2.5rem; align-items: end; }
.flip__top .chip { margin-bottom: 0.75rem; }
.flip__top .title { margin: 0; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.flip__top .flip__say { flex-basis: 100%; margin: 0.25rem 0 0; min-height: 3rem; }
.flip--tk .flip__stage { padding: clamp(0.4rem, 1vw, 0.9rem); background: #FBFCFF; }
.tk { display: block; width: 100%; height: auto; max-height: min(64vh, 660px); margin: 0 auto; font-family: "Mona Sans", sans-serif; }
.tk text { fill: #fff; font-size: 21px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.tk .tk__s { font-size: 15px; font-weight: 500; opacity: 0.85; }
.tk__n rect { fill: #5F6E8C; filter: drop-shadow(0 4px 6px rgb(11 26 60 / 0.18)); transition: fill 0.5s ease, opacity 0.5s ease; }
.tk__n--app rect { fill: #3F6B93; }
.tk__n--comm rect { fill: #2563EB; }
.tk__n--erp rect { fill: #14224B; }
.tk__n text { transition: opacity 0.5s ease; }
.tk__l { fill: none; stroke-width: 3; stroke-linecap: round; }
.tk__l--hand { stroke: #C8452F; stroke-dasharray: 9 8; }
.tk__l--auto { stroke: #9AA8C4; }
.tk__l--sync { stroke: #17A67E; stroke-width: 4; }
.tk__h--hand { fill: #C8452F; } .tk__h--auto { fill: #9AA8C4; }
.tk__d { fill: #5B6E99; } .tk__d--sync { fill: #0E7C5E; }
.tk__plat > rect { fill: #0B1A3C; stroke: #8DB7FF; stroke-width: 3; filter: drop-shadow(0 14px 22px rgb(11 26 60 / 0.3)); }
.tk .tk__tool { fill: #0F7892; }
.tk .tk__tt { font-size: 16px; font-weight: 600; }
.tk .tk__note { fill: #0E5C48; font-size: 15px; font-weight: 700; }
.tk__x path { fill: none; stroke: #D8402B; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; }
.tk__plan { opacity: 0; transition: opacity 0.6s ease; }
.tk__today { transition: opacity 0.5s ease; }
.flip.is-plan .tk__today { opacity: 0; }
.flip.is-plan .tk__plan { opacity: 1; transition-delay: 0.7s; }
.flip.is-plan .tk__n--gone rect { fill: #C9CFDD; }
.flip.is-plan .tk__n--gone text { opacity: 0.55; }
.flip.is-plan .tk__x path { stroke-dashoffset: 0; transition: stroke-dashoffset 0.35s ease; }
.flip.is-plan .tk__x path + path { transition-delay: 0.18s; }
.flip.is-plan .tk__n--gone:nth-of-type(2n) .tk__x path { transition-delay: 0.25s; } .flip.is-plan .tk__n--gone:nth-of-type(2n) .tk__x path + path { transition-delay: 0.43s; }
.flip.is-plan .tk__n--gone:nth-of-type(3n) .tk__x path { transition-delay: 0.45s; } .flip.is-plan .tk__n--gone:nth-of-type(3n) .tk__x path + path { transition-delay: 0.63s; }
.tk__lists { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.5rem 2rem; padding: 0.6rem 0.5rem 0.2rem; font-size: 0.92rem; color: var(--fg-2); }
.tk__lists p { margin: 0; }
.tk__lists b { display: block; font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: #A63A2B; }
.tk__lists p + p b { color: #0E5C48; }
@media (max-width: 860px) { .flip__top { grid-template-columns: 1fr; } .tk__lists { grid-template-columns: 1fr; } .flip__top .flip__say { min-height: 4.5rem; } }

/* ---------- How we work, as six pictures ---------- */
.hw { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem; margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; padding: 0; list-style: none; counter-reset: hw; }
.hw__s { position: relative; display: grid; align-content: start; gap: 0.35rem; padding: 0.75rem 0.85rem 1rem; border: 1px solid #DCE2F0; border-radius: 12px; background: #fff; transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease; }
.hw__s svg { width: 100%; height: auto; border-radius: 8px; background: #F3F6FC; }
.hw__s::after { content: ""; position: absolute; top: 5.2rem; right: -0.75rem; width: 0.75rem; height: 3px; background: #9DB2DD; }
.hw__s:last-child::after { display: none; }
.hw__n { display: grid; place-items: center; width: 2rem; height: 2rem; margin-top: -1.35rem; margin-left: 0.2rem; border: 3px solid #fff; border-radius: 50%; background: var(--navy); font-size: 0.95rem; font-weight: 700; color: #fff; }
.hw__s h3 { margin: 0.1rem 0 0; font-size: clamp(0.98rem, 1.2vw, 1.12rem); line-height: 1.2; color: var(--navy); }
.hw__s p { margin: 0; font-size: 0.9rem; line-height: 1.35; color: var(--fg-2); }
.hw__s--agent .hw__n { background: var(--sky); color: #0B1A3C; }
.hw__s--run { border-color: #BFE9DC; background: #F1FBF7; }
.hw__s--run svg { background: #E3F7F0; }
.hw__s--run .hw__n { background: #17A67E; }
.hw__t { font: 600 8px "Mona Sans", sans-serif; fill: #fff; text-anchor: middle; dominant-baseline: central; }
.hw__v { font: 600 12px "Mona Sans", sans-serif; fill: #5B6686; text-anchor: middle; }
.hw__s.is-now { transform: translateY(-6px); border-color: #8DB7FF; box-shadow: 0 18px 36px rgb(11 26 60 / 0.16); }
.hw__s--run.is-now { border-color: #3FBF9C; }
@media (prefers-reduced-motion: no-preference) { .hw__spin { transform-origin: 120px 76px; animation: hw-spin 9s linear infinite; } }
@keyframes hw-spin { to { transform: rotate(360deg); } }
@media (max-width: 1080px) { .hw { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 0.75rem; } .hw__s:nth-child(3)::after { display: none; } }
@media (max-width: 620px) {
  .hw { grid-template-columns: 1fr; gap: 0.6rem; }
  .hw__s { grid-template-columns: 6.5rem 1fr; gap: 0.1rem 0.9rem; padding: 0.6rem; align-items: start; }
  .hw__s svg { grid-row: 1 / span 3; }
  .hw__n { margin: 0; width: 1.6rem; height: 1.6rem; font-size: 0.8rem; border: 0; }
  .hw__s::after { display: none; }
}

/* Keep it, or replace it */
.twoways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1rem; margin-top: 1.25rem; }
.twoways p { margin: 0; padding: 1rem 1.25rem; border: 1px solid #DCE2F0; border-radius: 12px; background: #fff; font-size: 1.02rem; line-height: 1.45; color: var(--fg-2); }
.twoways b { display: block; margin-bottom: 0.2rem; font-size: 1.15rem; color: var(--navy); }
.twoways p:first-child { border-color: #BFE9DC; } .twoways p:first-child b { color: #0E5C48; }

/* Who runs it */
.runit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1rem; margin: clamp(1.5rem, 3vw, 2.5rem) 0; }
.runit__col { padding: 1.25rem 1.4rem; border-radius: 14px; border: 1px solid rgb(255 255 255 / 0.14); background: rgb(255 255 255 / 0.04); }
.runit__col h3 { margin: 0 0 0.75rem; font-size: 1.15rem; color: #fff; }
.runit__col ul { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.runit__col li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.8rem; border-radius: 9px; background: rgb(255 255 255 / 0.06); font-size: 1rem; color: #DCE6FB; }
.runit__col em { flex: none; padding: 0.15rem 0.65rem; border-radius: 999px; font-style: normal; font-size: 0.8rem; font-weight: 600; }
.runit__col--a em { background: rgb(200 69 47 / 0.22); color: #FFB4A4; }
.runit__col--b { border-color: rgb(63 191 156 / 0.5); background: rgb(63 191 156 / 0.08); }
.runit__col--b em { background: #3FBF9C; color: #06281F; }
.runit + .roles { margin-top: 0; }
.flip.is-plan .tk__n--gone rect { fill: #D5DAE6; }
.flip.is-plan .tk__n--gone text { opacity: 1; fill: #55607C; }
.tk__x path { stroke-width: 7; opacity: 0.92; }
.sched:has(.reel.is-on) .sched__alert { display: none; }
.canvas__b--side { grid-column: 4; grid-row: 2 / span 2; }
@media (max-width: 700px) { .canvas__b--side { display: none; } }
@media (max-width: 900px) { .plat__dock p { font-size: 0.78rem; } .plat__dock ul { flex-wrap: nowrap; overflow: hidden; } .plat__dock li { flex: none; font-size: 0.72rem; } .plat__dock li:nth-child(n+4) { display: none; } }

/* ---------- 2026-11-15 (later): platform map, grow chain, pictures, admin, collections ---------- */
.band:not(.band--light) .fine a, .cta .fine a { color: var(--sky); }
.hero--flat { padding-bottom: clamp(1rem, 2vw, 1.5rem); }
.hero--flat::after { display: none; }
.hero--flat + .band { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* Platform hero: what it replaces, what your team works in, what you keep */
.pmap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1.5rem clamp(2rem, 7vw, 7rem); align-items: center; margin-inline: 0; padding: clamp(1rem, 2.5vw, 2rem); border: 1px solid rgb(141 183 255 / 0.22); border-radius: 18px; background: radial-gradient(rgb(141 183 255 / 0.16) 1px, transparent 1.2px) 0 0 / 20px 20px, rgb(8 18 46 / 0.55); }
.pmap__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.pmap__l { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 5 6; }
.pmap__l--old { stroke: #E07A66; } .pmap__l--new { stroke: #8DB7FF; } .pmap__l--keep { stroke: #3FBF9C; stroke-dasharray: none; }
.pmap__d--old { fill: #E07A66; } .pmap__d--new { fill: #8DB7FF; } .pmap__d--keep { fill: #8EDDC8; }
.pmap__col, .pmap__core, .pmap__keep { position: relative; z-index: 1; }
.pmap__col { display: grid; gap: 0.9rem; }
.pmap__h { margin: 0; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #9FB3E0; }
.pmap__col--new .pmap__h { text-align: right; }
.pmap__gone { position: relative; width: min(100%, 15rem); opacity: 0.92; }
.pmap__gone:nth-of-type(2) { margin-left: 1.5rem; }
.pmap__gone .win { border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 10px 24px rgb(0 0 0 / 0.35); color: #17203D; filter: saturate(0.6); }
.pmap__gone::after { content: ""; position: absolute; inset: -4px; background: linear-gradient(to top right, transparent calc(50% - 2.5px), #E0452F calc(50% - 2.5px), #E0452F calc(50% + 2.5px), transparent calc(50% + 2.5px)), linear-gradient(to bottom right, transparent calc(50% - 2.5px), #E0452F calc(50% - 2.5px), #E0452F calc(50% + 2.5px), transparent calc(50% + 2.5px)); }
.pmap__core { display: grid; justify-items: center; gap: 0.2rem; padding: 1.4rem 1.6rem; border-radius: 20px; background: linear-gradient(160deg, #2353C4, #0F2A72); box-shadow: 0 0 0 10px rgb(141 183 255 / 0.12), 0 0 0 22px rgb(141 183 255 / 0.06), 0 24px 60px rgb(0 0 0 / 0.45); text-align: center; color: #fff; }
.pmap__core span { display: grid; place-items: center; width: 4rem; height: 4rem; }
.pmap__core svg { width: 3.5rem; height: 3.5rem; }
.pmap__core b { font-size: 1.15rem; }
.pmap__core small { font-size: 0.82rem; color: #C9D8FA; }
.pmap__col--new { justify-items: end; }
.pmap__shot { position: relative; width: min(100%, 17rem); margin: 0; border-radius: 10px; background: #fff; overflow: hidden; box-shadow: 0 14px 34px rgb(0 0 0 / 0.4), 0 0 0 1px rgb(255 255 255 / 0.2); }
.pmap__shot:nth-of-type(3) { margin-right: 1.5rem; }
.pmap__shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8.5; object-fit: cover; object-position: top left; }
.pmap__shot b { position: absolute; left: 0.5rem; bottom: 0.5rem; padding: 0.15rem 0.6rem; border-radius: 999px; background: #0B1A3C; font-size: 0.78rem; color: #fff; }
.pmap__keep { grid-column: 1 / -1; display: grid; justify-items: center; gap: 0.6rem; padding-top: 2.2rem; }
.pmap__keep ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.pmap__keep li { padding: 0.45rem 1rem; border: 1px solid rgb(63 191 156 / 0.6); border-radius: 999px; background: #0B2A3A; font-size: 0.92rem; font-weight: 600; color: #D9F4EC; }
.pmap__keep li:first-child { background: #3FBF9C; color: #06281F; }
@media (max-width: 820px) {
  .pmap { grid-template-columns: 1fr; gap: 1rem; }
  .pmap__lines { display: none; }
  .pmap__col { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .pmap__h { grid-column: 1 / -1; text-align: left !important; }
  .pmap__gone, .pmap__shot { width: 100%; margin: 0 !important; }
  .pmap__gone .win__rows, .pmap__gone .win__list { display: none; }
  .pmap__gone .win__bar { font-size: 0.62rem; } .pmap__gone .win__bar em { display: none; }
  .pmap__core { justify-self: center; padding: 0.9rem 1.2rem; }
  .pmap__keep { padding-top: 0.25rem; justify-items: start; } .pmap__keep ul { justify-content: flex-start; }
}

/* Start with one workflow: screens in a chain */
.grow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 0.8fr; align-items: center; gap: 0; margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; padding: 0; list-style: none; }
.grow__s { display: grid; gap: 0.15rem; padding: 0.5rem 0.5rem 0.75rem; border: 1px solid #DCE2F0; border-radius: 12px; background: #fff; box-shadow: 0 10px 26px rgb(11 26 60 / 0.08); transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease; }
.grow__s img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 7px; margin-bottom: 0.4rem; }
.grow__s b { padding: 0 0.3rem; font-size: 1.05rem; color: var(--navy); }
.grow__s small { padding: 0 0.3rem; font-size: 0.84rem; color: var(--fg-2); }
.grow__s.is-now { transform: translateY(-6px); border-color: #8DB7FF; box-shadow: 0 20px 40px rgb(11 26 60 / 0.18); }
.grow__link { position: relative; width: clamp(4.5rem, 8vw, 7.5rem); padding: 0 0.4rem 1.6rem; font-size: 0.74rem; font-weight: 600; line-height: 1.25; text-align: center; color: #0E5C48; }
.grow__link::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 0.7rem; height: 2px; background: #3FBF9C; }
.grow__link::before { content: ""; position: absolute; right: 2px; bottom: calc(0.7rem - 4px); border: 5px solid transparent; border-left: 8px solid #3FBF9C; border-right: 0; }
.grow__link--next { width: 2.5rem; } .grow__link--next::after { background: repeating-linear-gradient(to right, #9DB2DD 0 5px, transparent 5px 9px); } .grow__link--next::before { border-left-color: #9DB2DD; }
.grow__s--next { justify-items: center; padding: 1.25rem 0.75rem; border-style: dashed; border-color: #9DB2DD; background: none; box-shadow: none; text-align: center; }
.grow__s--next i { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #E8EEFB; font-style: normal; font-size: 1.5rem; color: #2353C4; }
@media (max-width: 900px) {
  .grow { grid-template-columns: 1fr; gap: 0; }
  .grow__s { grid-template-columns: 7rem 1fr; gap: 0 0.8rem; align-items: center; padding: 0.5rem; }
  .grow__s img { grid-row: 1 / span 2; margin: 0; } .grow__s--next { grid-template-columns: 1fr; }
  .grow__link { width: auto; padding: 0.5rem 0 0.5rem 2.2rem; text-align: left; } .grow__link br { display: none; }
  .grow__link::after { left: 1rem; right: auto; top: 0.2rem; bottom: 0.2rem; width: 2px; height: auto; } .grow__link::before { display: none; }
  .grow__link--next { height: 1.4rem; }
}
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1.5rem 2rem; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 3rem 1fr; gap: 0.9rem; align-items: start; }
.points svg { width: 3rem; height: 3rem; padding: 0.45rem; border-radius: 12px; background: #E8EEFB; color: var(--navy); }
.points h3 { margin: 0 0 0.2rem; font-size: 1.15rem; color: var(--navy); }
.points p { margin: 0; font-size: 0.98rem; line-height: 1.45; color: var(--fg-2); }

/* Picture cards */
.pics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.pic { display: grid; align-content: start; gap: 0.4rem; padding: 0.75rem 0.9rem 1.1rem; border-radius: 14px; background: #fff; text-decoration: none; color: #3A4670; box-shadow: 0 18px 44px rgb(0 0 0 / 0.3); transition: transform 0.3s ease; }
.pic:hover { transform: translateY(-4px); }
.pic svg { width: 100%; height: auto; border-radius: 9px; background: #F3F6FC; margin-bottom: 0.3rem; }
.pic h3 { margin: 0; font-size: 1.15rem; color: #0B1A3C; }
.pic p { margin: 0; font-size: 0.95rem; line-height: 1.4; }
.pic .link { justify-self: start; margin-top: 0.3rem; color: #0B1A3C; }
.pic__t { font: 600 11px "Mona Sans", sans-serif; fill: #5B6686; text-anchor: middle; }
.pic__q { font: 600 9.5px "Mona Sans", sans-serif; fill: #fff; text-anchor: middle; dominant-baseline: central; }
.pic__a { font: 700 10px "Mona Sans", sans-serif; fill: #fff; text-anchor: middle; dominant-baseline: central; }

/* Admin page */
.adm { margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; border: 1px solid #C9D4EC; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 30px 70px rgb(11 26 60 / 0.16); color: #17203D; }
.adm__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; padding: 0.7rem 1.1rem; background: #0B1A3C; }
.adm__bar p { margin: 0; }
.adm__title { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: #fff; }
.adm__title span { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 6px; background: #8DB7FF; font-size: 0.8rem; color: #0B1A3C; }
.adm__tabs, .adm__auds { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; }
.adm__tabs button { padding: 0.35rem 0.9rem; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 0.9rem; font-weight: 600; color: #C9D8FA; cursor: pointer; }
.adm__tabs button[aria-pressed="true"] { background: rgb(141 183 255 / 0.25); color: #fff; }
.adm__range { margin-left: auto !important; padding: 0.2rem 0.7rem; border: 1px solid rgb(201 216 250 / 0.35); border-radius: 999px; font-size: 0.8rem; color: #C9D8FA; }
.adm__view { display: none; padding: clamp(0.8rem, 2vw, 1.4rem); }
.adm__view.is-on { display: grid; gap: 1rem; }
.adm__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.adm__tiles li { display: grid; gap: 0.1rem; padding: 0.8rem 1rem; border: 1px solid #DCE2F0; border-radius: 10px; }
.adm__tiles small { font-size: 0.78rem; color: #5B6686; } .adm__tiles b { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.1; color: #0B1A3C; } .adm__tiles span { font-size: 0.8rem; color: #5B6686; }
.adm__mid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0.7rem; }
.adm__chart, .adm__feat { padding: 0.8rem 1rem; border: 1px solid #DCE2F0; border-radius: 10px; }
.adm__chart p, .adm__feat p { display: flex; justify-content: space-between; margin: 0 0 0.6rem; font-size: 0.82rem; color: #5B6686; } .adm__chart p b, .adm__feat p b { font-size: 0.95rem; color: #0B1A3C; }
.adm__chart svg { display: block; width: 100%; height: 7rem; } .adm__chart rect { fill: #2353C4; } .adm__chart rect.wk { fill: #C9D4EC; }
.adm__feat ul { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.adm__feat li { display: grid; grid-template-columns: 9.5rem 1fr 2.6rem; gap: 0.6rem; align-items: center; font-size: 0.86rem; }
.adm__feat i { height: 0.6rem; border-radius: 999px; background: linear-gradient(to right, #8DB7FF var(--w), #E8EEFB var(--w)); } .adm__feat li b { text-align: right; }
.adm__auds button { padding: 0.4rem 1rem; border: 1px solid #C9D4EC; border-radius: 999px; background: #fff; font: inherit; font-size: 0.9rem; font-weight: 600; color: #3A4670; cursor: pointer; }
.adm__auds button[aria-pressed="true"] { border-color: #0B1A3C; background: #0B1A3C; color: #fff; }
.adm__auds span { margin-left: 0.5rem; font-size: 0.84rem; color: #5B6686; }
.adm__aud { display: none; border: 1px solid #DCE2F0; border-radius: 10px; overflow: hidden; } .adm__aud.is-on { display: block; }
.adm__thead, .adm__row { display: grid; grid-template-columns: 1.4fr 1.5fr 0.7fr 0.9fr 0.9fr; gap: 0.75rem; align-items: center; margin: 0; padding: 0.6rem 1rem; }
.adm__thead { background: #F3F6FC; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #5B6686; }
.adm__row { width: 100%; border: 0; border-top: 1px solid #EEF0F6; background: #fff; font: inherit; font-size: 0.95rem; text-align: left; color: inherit; cursor: pointer; }
.adm__row:hover { background: #F7F9FD; }
.adm__row b::before { content: "›"; display: inline-block; width: 1rem; color: #8490B0; transition: transform 0.2s ease; }
.adm__row[aria-expanded="true"] b::before { transform: rotate(90deg); }
.adm__act { display: grid; grid-template-columns: 1fr 4.2rem; gap: 0.6rem; align-items: center; }
.adm__act i { height: 0.55rem; border-radius: 999px; background: linear-gradient(to right, #3FBF9C var(--w), #E3E9F6 var(--w)); }
.adm__ppl { display: none; margin: 0; padding: 0.3rem 1rem 0.7rem 2rem; list-style: none; background: #F7F9FD; }
.adm__row[aria-expanded="true"] + .adm__ppl { display: grid; gap: 0.1rem; }
.adm__ppl li { display: grid; grid-template-columns: 1.2fr 1.3fr 0.9fr 0.9fr; gap: 0.75rem; padding: 0.35rem 0; border-bottom: 1px solid #E6EAF4; font-size: 0.88rem; color: #3A4670; } .adm__ppl li:last-child { border: 0; }
.adm__log { display: grid; margin: 0; padding: 0; list-style: none; }
.adm__log li { display: grid; grid-template-columns: 8.5rem 1fr auto; gap: 1rem; align-items: center; padding: 0.7rem 0.4rem; border-bottom: 1px solid #EEF0F6; font-size: 0.95rem; }
.adm__log time { font-size: 0.84rem; color: #5B6686; } .adm__log p { margin: 0; } .adm__log em { padding: 0.15rem 0.7rem; border-radius: 999px; background: #E8EEFB; font-style: normal; font-size: 0.78rem; font-weight: 600; color: #1B3E94; }
.adm figcaption { padding: 0.6rem 1.1rem; border-top: 1px solid #EEF0F6; font-size: 0.86rem; color: #5B6686; }
@media (max-width: 760px) {
  .adm__mid { grid-template-columns: 1fr; } .adm__range, .adm__auds span { display: none; }
  .adm__thead { display: none; } .adm__row { grid-template-columns: 1fr 1fr; gap: 0.3rem 0.75rem; } .adm__row span:nth-of-type(n+2) { display: none; }
  .adm__ppl { padding-left: 1rem; } .adm__ppl li { grid-template-columns: 1fr 1fr; gap: 0.1rem 0.75rem; } .adm__ppl li span:nth-of-type(2) { display: none; }
  .adm__log li { grid-template-columns: 1fr; gap: 0.15rem; } .adm__log em { justify-self: start; }
  .adm__feat li { grid-template-columns: 8rem 1fr 2.4rem; }
}

/* Collections, drawn */
.arx { margin: 0; display: grid; gap: 0.8rem; }
.arx__win { border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 30px 70px rgb(0 0 0 / 0.35); color: #17203D; }
.arx__body { display: grid; grid-template-columns: 1.7fr 1fr; }
.arx__acct { padding: clamp(0.9rem, 2vw, 1.5rem); }
.arx__queue { padding: clamp(0.9rem, 2vw, 1.5rem); border-left: 1px solid #E6EAF4; background: #F7F9FD; }
.arx__name { display: grid; margin: 0 0 0.9rem; } .arx__name b { font-size: clamp(1.15rem, 2vw, 1.5rem); color: #0B1A3C; } .arx__name span { font-size: 0.88rem; color: #5B6686; }
.arx__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.arx__tiles li { display: grid; padding: 0.65rem 0.8rem; border: 1px solid #DCE2F0; border-radius: 10px; } .arx__tiles small { font-size: 0.74rem; color: #5B6686; } .arx__tiles b { font-size: clamp(1.05rem, 1.8vw, 1.4rem); color: #0B1A3C; }
.arx__tiles li:nth-child(2) b { color: #B04A38; }
.arx__h { display: flex; align-items: baseline; gap: 0.6rem; margin: 0 0 0.6rem; font-size: 1rem; font-weight: 700; color: #0B1A3C; } .arx__h span { font-size: 0.8rem; font-weight: 500; color: #5B6686; }
.arx__tl { display: grid; margin: 0; padding: 0; list-style: none; }
.arx__e { position: relative; display: grid; grid-template-columns: 3.4rem 1.6rem 1fr; gap: 0.6rem; padding-bottom: 0.9rem; }
.arx__e time { padding-top: 0.15rem; font-size: 0.8rem; color: #5B6686; }
.arx__e i { position: relative; z-index: 1; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #2353C4; box-shadow: 0 0 0 4px #fff; }
.arx__e i::after { content: ""; position: absolute; inset: 0.45rem; border-radius: 50%; background: #fff; }
.arx__e--call i { background: #17A67E; } .arx__e--in i { background: #8DB7FF; } .arx__e--note i { background: #8490B0; }
.arx__e::before { content: ""; position: absolute; left: calc(3.4rem + 0.6rem + 0.8rem - 1px); top: 1.6rem; bottom: 0; width: 2px; background: #E3E9F6; } .arx__e:last-child::before { display: none; }
.arx__e p { margin: 0; font-size: 0.92rem; line-height: 1.4; color: #3A4670; }
.arx__e p:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; } .arx__e p b { color: #0B1A3C; } .arx__e p span { font-size: 0.8rem; color: #5B6686; }
.arx__e em { padding: 0.05rem 0.6rem; border-radius: 999px; background: #D9F4EC; font-style: normal; font-size: 0.76rem; font-weight: 600; color: #0E5C48; }
.arx__queue ul { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.arx__f { display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 0.6rem; padding: 0.65rem 0.8rem; border: 1px solid #DCE2F0; border-left: 4px solid #8490B0; border-radius: 9px; background: #fff; }
.arx__f em { grid-column: 1 / -1; justify-self: start; padding: 0.05rem 0.55rem; border-radius: 999px; background: #EEF0F6; font-style: normal; font-size: 0.72rem; font-weight: 700; color: #3A4670; }
.arx__f b { font-size: 0.95rem; color: #0B1A3C; } .arx__f span { font-size: 0.82rem; color: #5B6686; white-space: nowrap; } .arx__f p { grid-column: 1 / -1; margin: 0; font-size: 0.86rem; color: #3A4670; }
.arx__f--late { border-left-color: #C8452F; } .arx__f--late em { background: #FDE8E2; color: #A63A2B; }
.arx__f--today { border-left-color: #E0A21A; } .arx__f--today em { background: #FFF1CC; color: #7A5600; }
.arx__f--agent { border-left-color: #2353C4; background: #EDF3FF; } .arx__f--agent em { background: #8DB7FF; color: #0B1A3C; }
.arx figcaption { font-size: 1rem; color: var(--fg-2); } .arx figcaption b { color: var(--text); }
@media (max-width: 860px) { .arx__body { grid-template-columns: 1fr; } .arx__queue { border-left: 0; border-top: 1px solid #E6EAF4; } .arx__tiles { grid-template-columns: 1fr 1fr; } .arx__e { grid-template-columns: 2.9rem 1.6rem 1fr; } .arx__e::before { left: calc(2.9rem + 0.6rem + 0.8rem - 1px); } }

/* Company brain highlight: real screens beside the words, pictures on the departments */
.brain__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.brain__shots { position: relative; display: block; aspect-ratio: 16 / 11; }
.brain__shots img { position: absolute; width: 74%; height: auto; aspect-ratio: 16 / 12; object-fit: cover; object-position: top center; border: 1px solid #C9D4EC; border-radius: 12px; background: #fff; box-shadow: 0 24px 54px rgb(11 26 60 / 0.2); transition: transform 0.4s ease; }
.brain__shots img:first-child { left: 0; top: 0; transform: rotate(-3deg); }
.brain__shots img:last-child { right: 0; bottom: 0; transform: rotate(2.5deg); }
.brain__shots:hover img:first-child { transform: rotate(-4deg) translate(-6px, -4px); } .brain__shots:hover img:last-child { transform: rotate(3.5deg) translate(6px, 4px); }
.brain .dept { position: relative; min-height: 0; padding: 0.9rem 0.9rem 0.8rem; gap: 0.15rem; border: 0; border-radius: 14px; background: linear-gradient(160deg, #17306E, #0B1A3C); color: #fff; box-shadow: 0 12px 28px rgb(11 26 60 / 0.22); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.brain .dept .label { color: #9FB3E0; }
.brain .dept__pic { width: 2.6rem; height: 2.6rem; margin-bottom: 0.4rem; padding: 0.35rem; border-radius: 10px; background: rgb(141 183 255 / 0.22); }
.brain .dept:hover:not(.is-on) { transform: translateY(-3px); }
.brain .dept.is-on { background: linear-gradient(160deg, #4F7DF0, #2353C4); box-shadow: 0 0 0 4px rgb(141 183 255 / 0.45), 0 18px 36px rgb(35 83 196 / 0.35); }
.brain .dept.is-on::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; background: #2353C4; transform: translateX(-50%) rotate(45deg); }
.brain .handoff { font-weight: 600; }
.brain .erp-rail { border: 0; border-radius: 999px; background: #D9F4EC; color: #0E5C48; }
.brain .dept-panel { border: 0; border-radius: 14px; background: #fff; box-shadow: 0 16px 40px rgb(11 26 60 / 0.1); }
.brain .dept-facts > div { padding: 0.8rem 0.9rem; border-radius: 10px; background: #F3F6FC; }
.brain .dept-facts > div:last-child { background: #FDE8E2; }
.brain .dept-facts dd { margin: 0; }
@container brainmap (min-width: 860px) { .js .brain .dept { min-height: 0; } }
@media (max-width: 860px) { .brain__top { grid-template-columns: 1fr; } .brain .dept { flex-direction: row; align-items: center; gap: 0.75rem; } .brain .dept__pic { margin: 0; } .brain .dept .label { display: none; } .brain .dept.is-on::after { display: none; } }
.brain__shots { aspect-ratio: 16 / 11.5; }
.brain__shots img { width: 82%; aspect-ratio: 16 / 10; object-position: top left; }

/* System map, drawn */
.smfig { margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; padding: clamp(0.5rem, 1.5vw, 1.25rem); border: 1px solid rgb(141 183 255 / 0.22); border-radius: 18px; background: radial-gradient(rgb(141 183 255 / 0.14) 1px, transparent 1.2px) 0 0 / 20px 20px, rgb(8 18 46 / 0.55); }
.sm { display: block; width: 100%; height: auto; max-height: min(70vh, 700px); font-family: "Mona Sans", sans-serif; }
.sm text { dominant-baseline: central; }
.sm__n > rect:first-child { fill: #2353C4; stroke: #8DB7FF; stroke-width: 2; filter: drop-shadow(0 12px 18px rgb(0 0 0 / 0.4)); }
.sm__nt { fill: #fff; font-size: 26px; font-weight: 700; } .sm__ns { fill: #C9D8FA; font-size: 16px; }
.sm__pp { fill: #fff; } .sm__pt { fill: #B03A27; font-size: 14px; font-weight: 700; text-anchor: middle; }
.sm__o rect { fill: rgb(11 26 60 / 0.9); stroke: #9FB3E0; stroke-width: 2; stroke-dasharray: 6 6; }
.sm__o text { fill: #DCE6FB; font-size: 16px; font-weight: 600; text-anchor: middle; }
.sm__l { fill: none; stroke-width: 3; stroke-linecap: round; } .sm__l--ok { stroke: #5F7CB8; } .sm__l--pain { stroke: #F0705A; stroke-width: 4; }
.sm__h--ok { fill: #5F7CB8; } .sm__h--pain { fill: #F0705A; }
.sm__d--ok { fill: #8EDDC8; } .sm__d--pain { fill: #FFD0C6; }
.sm__lb { fill: #0B1A3C; stroke: #5F7CB8; } .sm__lb--pain { fill: #F0705A; stroke: none; }
.sm__lt { fill: #C9D8FA; font-size: 13px; font-weight: 600; text-anchor: middle; } .sm__lt--pain { fill: #2A0A04; }
.smfig figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; padding: 0.6rem 0.5rem 0.1rem; font-size: 0.88rem; color: #C9D8FA; }
.smfig figcaption span { display: inline-flex; align-items: center; gap: 0.45rem; } .smfig figcaption em { margin-left: auto; font-style: normal; color: #9FB3E0; }
.smfig .k { width: 1.1rem; height: 0.8rem; border-radius: 4px; } .k--d { background: #2353C4; border: 1px solid #8DB7FF; } .k--o { border: 1.5px dashed #9FB3E0; border-radius: 999px !important; } .k--ok { height: 3px !important; background: #5F7CB8; } .k--pain { height: 4px !important; background: #F0705A; }
.stack--sub { margin-top: clamp(2.5rem, 5vw, 4rem); }
.path__step .link { font-size: 0.9rem; }

/* ---- QA pass, 2026-11-15: contrast, focus rings, phone overlaps ---- */

/* Small grey labels on white and paper were 3.2:1. Slate is 5.8:1 on white. */
.la__job small, .gt li p small, .plan__steps li, .plan__paper-sign, .rolecard dt,
.pb__side-title span, .pb__side li span:nth-child(2), .cfg__h, .permtable__head,
.permtable [role="rowheader"] small, .flow__steps li, .canvas__tag { color: #5A6585; }
.perm--n { color: #5A6585; }
.win__bar em { color: #4A5576; }
.hw__s--run .hw__n { color: #0B1A3C; }
.charge__flow figcaption { color: #C5CBDD; }
.inv .flow__steps li { color: rgb(201 216 250 / 0.72); }
.tk .tk__s { opacity: 1; }
.flip.is-plan .tk__n--gone text { fill: #4F5A76; }
.brain .dept.is-on { background: linear-gradient(160deg, #3A66DB, #2353C4); }
.brain .dept.is-on .label { color: #fff; opacity: 1; }

/* With motion paused, the steps a demo has not reached yet are shown at full strength. */
.motion-paused .flow__cards li, .motion-paused .inv .flow__cards li { opacity: 1; transform: none; }
.motion-paused .inv .flow__steps li { color: #C9D8FA; }

/* Focus rings that were the same colour as what is behind them, or cut off. */
.charge__levels button[aria-pressed="true"]:focus-visible { outline-color: #0B1A3C; }
.band--light .charge__levels button:focus-visible { outline-color: #2353C4; }
.band--light .charge__levels button[aria-pressed="true"]:focus-visible { outline-color: #fff; }
.adm__bar :focus-visible { outline-color: #8DB7FF; }
.adm__row:focus-visible { outline-offset: -2px; }
.subnav :focus-visible { outline-color: #2353C4; }
.band:not(.band--light) .gal__open:focus-visible { outline-color: #8DB7FF; }
.gal__thumb:focus-visible { outline-width: 3px; outline-offset: -3px; }

/* Phones: the pinned scene keeps clear of the Pause motion button, and the draft pill stops short of it. */
@media (max-width: 900px) {
  .shift.is-live .plat { bottom: 3.75rem; }
}
@media (max-width: 760px) {
  .who em { font-size: 0.75rem; }
}
@media (max-width: 520px) {
  .draft-bar { max-width: calc(100vw - 150px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
}
/* Short phones (a phone browser with its toolbars showing is about 660px tall): the pile of tools
   and the platform window were squeezed. Windows show one row each, and the tabs become one row. */
@media (max-width: 900px) and (max-height: 740px) {
  .shift.is-live .win__rows span:nth-child(n+3), .shift.is-live .win__mail span:nth-child(n+2), .shift.is-live .win__list span:nth-child(n+2) { display: none; }
  .shift.is-live .mess__chat { display: none; }
  .shift.is-live .mess__i--erp { top: auto; bottom: 0; }
  .shift.is-live .plat__win { grid-template-columns: minmax(0, 1fr); }
  .shift.is-live .plat__nav { min-width: 0; }
  .shift.is-live .plat__nav ul { flex-wrap: nowrap; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .shift.is-live .plat__nav ul::-webkit-scrollbar { display: none; }
  .shift.is-live .plat__nav li { flex: none; }
  .shift.is-live .pane__was { display: none; }
}
/* Short desktop windows (most laptops): the last tabs in the platform window were cut off below
   its bottom edge, and the pile of tools overlapped itself. */
@media (min-width: 901px) and (max-height: 820px) {
  .shift.is-live .plat__nav { min-height: 0; padding-top: 0.8rem; padding-bottom: 0.6rem; overflow-y: auto; }
  .shift.is-live .plat__nav li { padding: 0; }
  .shift.is-live .plat__nav li button { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .shift.is-live .plat__brand { margin-bottom: 0.6rem; }
  .shift.is-live .win__rows span:nth-child(n+5), .shift.is-live .win__mail span:nth-child(3), .shift.is-live .win__list span:nth-child(3) { display: none; }
}
/* Phones: the permissions table had lost its column names, so the pills said Edit or View of nothing.
   The three columns that are shown keep their headings, and the headings stay in view. */
@media (max-width: 860px) {
  .permtable__head { display: grid !important; position: sticky; top: var(--nav-h); z-index: 1; background: #fff; }
  .permtable__head span:first-child, .permtable__head span:nth-child(n+5) { display: none; }
}
/* The menu: the current page in a dropdown was white on sky (2:1). Escape shuts a dropdown. */
.nav .nav__links .nav__sub a[aria-current="page"] { color: #0B1A3C; }
.nav__links .has-sub.is-shut > .nav__sub { display: none; }
/* The viewer's picture area scrolls, so it takes keyboard focus and shows it. */
.lightbox__body:focus-visible { outline: 3px solid #2353C4; outline-offset: -3px; }
.cfg__panel :focus-visible, .sched__tabs :focus-visible { outline-color: #2353C4; }
/* Work page: a focused item lands below the sticky section menu as well as the header. */
html:has(.subnav) { scroll-padding-top: calc(var(--nav-h) + 4rem); }

/* ---------- 2026-11-15: the scene plays on a loop, with a progress bar; no scroll pinning ---------- */
.shift.is-live.is-loop { height: auto; }
.shift.is-loop > .shift__intro { position: static; inset: auto; width: min(100% - 2rem, 1360px); max-width: none; margin: 0 auto clamp(1.25rem, 3vw, 2rem); padding: clamp(3rem, 6vw, 5rem) 0 0; align-content: start; justify-items: start; text-align: left; opacity: 1 !important; transform: none !important; visibility: visible !important; }
.shift.is-loop > .shift__intro .title { max-width: none; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.02; }
.shift.is-loop > .shift__intro .lede { max-width: 46rem; }
.shift.is-live.is-loop .shift__pin { position: relative; top: auto; height: clamp(600px, 86vh, 880px); height: clamp(600px, 86svh, 880px); }
.shift.is-live.is-loop .shift__stage { --head: 1.25rem; }
.shift.is-live.is-loop .mess, .shift.is-live.is-loop .plat { bottom: 4.5rem; }
.shift__ctl { position: absolute; left: var(--side); right: var(--side); bottom: 0.85rem; z-index: 6; display: flex; align-items: center; gap: 0.75rem; padding: 0.4rem 0.9rem 0.4rem 0.4rem; border-radius: 999px; background: rgb(11 26 60 / 0.92); box-shadow: 0 10px 30px rgb(3 10 30 / 0.3); }
.shift__play { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: #8DB7FF; cursor: pointer; }
.shift__play i { width: 0.7rem; height: 0.8rem; border-left: 0.24rem solid #0B1A3C; border-right: 0.24rem solid #0B1A3C; }
.shift__play.is-paused i { width: 0; height: 0; margin-left: 0.2rem; border: 0.45rem solid transparent; border-left: 0.72rem solid #0B1A3C; border-right: 0; }
.shift__play:focus-visible, .shift__ctl ol button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.shift__now { display: none; font-style: normal; font-size: 0.85rem; font-weight: 600; color: #fff; white-space: nowrap; }
.shift__ctl ol { flex: 1; display: grid; grid-template-columns: 1.3fr 1fr repeat(7, 1fr); gap: 0.4rem; margin: 0; padding: 0; list-style: none; min-width: 0; }
.shift__ctl ol button { display: grid; gap: 0.3rem; width: 100%; padding: 0.3rem 0.1rem; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.shift__ctl ol span { font-size: 0.76rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #9FB3E0; transition: color 0.3s ease; }
.shift__ctl ol button:hover span, .shift__ctl ol button.is-on span { color: #fff; }
.shift__ctl ol i { display: block; height: 4px; border-radius: 2px; background: rgb(201 216 250 / 0.28); overflow: hidden; }
.shift__ctl ol b { display: block; height: 100%; background: #8DB7FF; transform: scaleX(0); transform-origin: left center; }
@media (max-width: 900px) {
  .shift.is-live.is-loop .shift__pin { height: clamp(560px, 84vh, 760px); height: clamp(560px, 84svh, 760px); }
  .shift.is-live.is-loop .shift__stage { --head: 0.75rem; }
  .shift.is-live.is-loop .mess, .shift.is-live.is-loop .plat { bottom: 4rem; }
  .shift__ctl { left: 0.75rem; right: 0.75rem; bottom: 0.6rem; gap: 0.6rem; }
  .shift__now { display: block; min-width: 6.5rem; }
  .shift__ctl ol { gap: 3px; } .shift__ctl ol span { display: none; } .shift__ctl ol button { padding: 0.7rem 0; }
}
.shift.is-live.is-loop .shift__pin { height: clamp(580px, 100vh - 17rem, 840px); height: clamp(580px, 100svh - 17rem, 840px); }
@media (max-width: 900px) { .shift.is-live.is-loop .shift__pin { height: clamp(560px, 100vh - 6rem, 740px); height: clamp(560px, 100svh - 6rem, 740px); } }
.shift.is-live.is-loop .shift__pin { height: clamp(560px, 100vh - 21rem, 820px); height: clamp(560px, 100svh - 21rem, 820px); }
.shift.is-loop > .shift__intro { padding-top: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 900px) { .shift.is-live.is-loop .shift__pin { height: clamp(560px, 100vh - 6rem, 740px); height: clamp(560px, 100svh - 6rem, 740px); } }

/* ---------- 2026-11-15: readable maps on phones, heading helpers ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
h2.label { margin: 0; font-size: 0.75rem; line-height: 1.3; letter-spacing: 0.06em; }
.brain h2.display { margin: 0; }
.pan:focus-visible { outline: 2px solid var(--cobalt, #2353C4); outline-offset: 2px; }
.band:not(.band--light) .pan:focus-visible { outline-color: #8DB7FF; }
.pan__hint { display: none; }
@media (max-width: 760px) {
  .pan { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .pan > svg { width: 940px; max-width: none; max-height: none; }
  .pan > svg.sm { width: 1000px; }
  .pan__hint { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.4rem; font-size: 0.8rem; font-weight: 600; color: #5A6585; }
  .band:not(.band--light) .pan__hint { color: #C9D8FA; }
  .pan__hint::before { content: "↔"; font-size: 1rem; }
  .hw__v, .hw__t, .pic__t { display: none; }
  .pb__canvas { overflow-x: auto; overscroll-behavior-x: contain; }
  .pb__canvas svg { width: 600px; max-width: none; }
}

/* Supply chain map: the routes fill the space above the panel instead of hiding under it */
.shift.is-live .flow--map { display: flex; flex-direction: column; }
.shift.is-live .flow--map .smap { position: relative; inset: auto; flex: 1; min-height: 6rem; height: auto; }
.shift.is-live .flow--map .flow__panel { position: relative; inset: auto; flex: none; margin: 0 1rem 1rem; }
.smap__sea { stroke: rgb(141 183 255 / 0.8); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.smap__road { stroke-width: 1.6; vector-effect: non-scaling-stroke; }
@media (max-width: 900px) { .shift.is-live .flow--map .flow__panel { margin: 0 0.5rem 0.5rem; } }

/* ---------- 2026-11-15: phone fixes after testing on a real phone ---------- */
.hub__core { fill: #2353C4; stroke: #C9D8FA; stroke-width: 2; }
.hub__halo { fill: rgb(141 183 255 / 0.2); }
.draft-bar { padding: 0.15rem 0.6rem; font-size: 0.72rem; opacity: 0.9; }
@media (max-width: 760px) {
  /* The pause button becomes a small round one, so it stops covering the page. */
  .motion-toggle { width: 44px; min-height: 44px; padding: 0; font-size: 0; right: 10px; bottom: 10px; }
  .motion-toggle::before { content: ""; display: block; width: 12px; height: 14px; margin: 0 auto; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
  .motion-paused .motion-toggle::before { width: 0; height: 0; border: 8px solid transparent; border-left: 13px solid currentColor; border-right: 0; margin-left: 17px; }
  .draft-bar { max-width: none; }

  /* Home scene: a taller stage, and each screen cut down to what fits. */
  .shift.is-live.is-loop .shift__pin { height: clamp(640px, 100vh - 4rem, 760px); height: clamp(640px, 100svh - 4rem, 760px); }
  .shift.is-live .plat { bottom: 4rem; }
  .plat__dock ul { display: none; }
  .plat__dock { padding: 0.4rem 0.7rem; }
  .shift.is-live .pane__head { padding: 0.6rem 0.8rem; gap: 0.1rem; }
  .shift.is-live .pane__was { display: none; }
  .shift.is-live .pane__now { font-size: 0.86rem; line-height: 1.35; }
  .shift.is-live .pane__result { margin-top: 0.3rem; font-size: 0.82rem; }
  .sched__bar { display: none; }
  .sched__view.la { grid-template-columns: 1fr 1fr; }
  .sched__view.la .la__week:nth-child(n+3) { display: none; }

  /* Ask your data: one row of tabs, a shorter window. */
  .assistant__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .assistant__tabs::-webkit-scrollbar { display: none; }
  .assistant__tab { flex: none; padding: 0.5rem 0.9rem; font-size: 0.9rem; }
  .assistant__chat { gap: 0.6rem; padding: 0.9rem; }
  .assistant__ask { display: none; }
  .msg { font-size: 0.92rem; line-height: 1.45; }
  .assistant__steps li { font-size: 0.85rem; }

  /* Why StayNative: "Good at" and "Where it stops" as two clearly different blocks. */
  .versus__row { gap: 0.6rem; padding: 1.4rem 0; }
  .versus__row h2 { margin-bottom: 0.2rem; font-size: 1.35rem; }
  .versus__row p { margin: 0; padding: 0.75rem 0.9rem; border-radius: 10px; border-left: 4px solid #3FBF9C; background: #E9F8F3; color: #17203D; }
  .versus__row p + p { border-left-color: #C8452F; background: #FCECE7; }
  .versus__row .label { display: block; margin-bottom: 0.25rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: #0E5C48; }
  .versus__row p + p .label { color: #A63A2B; }
  .versus__row--us p, .versus__row--us p + p { border-left-color: #2353C4; background: #EDF3FF; }
  .versus__row--us .label, .versus__row--us p + p .label { color: #1B3E94; }

  /* Platform map: lines between the stacked parts. */
  .pmap { gap: 2.2rem; }
  .pmap__core { position: relative; }
  .pmap__core::before, .pmap__core::after, .pmap__keep::before { content: ""; position: absolute; left: 50%; width: 0; height: 1.7rem; border-left: 2px dashed #E07A66; transform: translateX(-1px); }
  .pmap__core::before { bottom: calc(100% + 0.25rem); }
  .pmap__core::after { top: calc(100% + 0.25rem); border-left-color: #8DB7FF; }
  .pmap__keep { position: relative; }
  .pmap__keep::before { bottom: calc(100% + 0.25rem); border-left: 2px solid #3FBF9C; }
  .pmap__col--new .pmap__h { text-align: center !important; }
  .pmap__col--old .pmap__h, .pmap__keep .pmap__h { text-align: center !important; justify-self: center; }
  .pmap__keep { justify-items: center; } .pmap__keep ul { justify-content: center; }

  /* Plan builder: the whole plan fits, with larger lettering. */
  .pb__canvas { overflow: hidden; }
  .pb__canvas svg { width: 100%; max-width: 100%; }
  .pb__names text, .pb__nm { font-size: 24px; }
  .pb__names .s, .pb__nm.s { font-size: 17px; }
  .pb__dims text, .pb__dim3 text { font-size: 17px; }

  /* Work screens: shown at a readable size inside the frame; drag to look around. */
  .gal__open { display: block; aspect-ratio: auto; max-height: 26rem; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .gal__open .frame__bar { position: sticky; top: 0; left: 0; z-index: 1; width: auto; }
  .gal__open img { display: block; flex: none; width: 1000px; max-width: none; height: auto; }
  .gal__stage figcaption::after { content: " Drag the screen to look around, or open it full size."; color: var(--fg-3); }
  .lightbox__body img { width: 1100px; max-width: none; }
}
.pane__shot--arx { overflow: hidden; background: #fff; }
.pane__shot--arx .arx { display: block; height: 100%; }
.pane__shot--arx .arx__win { height: 100%; border-radius: 0; box-shadow: none; }
.pane__shot--arx .frame__bar, .pane__shot--arx figcaption { display: none; }
@media (max-width: 760px) {
  .draft-bar { display: none; }
  .motion-toggle { width: 38px; min-height: 38px; opacity: 0.85; }
  .motion-toggle::before { width: 10px; height: 12px; border-left-width: 3px; border-right-width: 3px; }
  .motion-paused .motion-toggle::before { margin-left: 14px; }
  .shift__ctl { right: 3.4rem; }
  .pane__shot--arx .arx__queue, .pane__shot--arx .arx__tiles li:nth-child(n+3) { display: none; }
  .pane__shot--arx .arx__acct { padding: 0.7rem 0.8rem; }
  .pane__shot--arx .arx__tiles { margin-bottom: 0.7rem; }
  .pane__shot--arx .arx__e { padding-bottom: 0.6rem; }
  .pane__shot--arx .arx__e p { font-size: 0.82rem; }
}

/* ---------- 2026-11-15: proper phone layouts (checked in the iPhone simulator) ---------- */
.qph { display: none; }
@media (max-width: 760px) {
  /* Quoting on a phone: a simple quote, not a cropped desktop screen */
  .pane[data-pane="quoting"] video { display: none; }
  .qph { display: grid; align-content: start; gap: 0.6rem; height: 100%; padding: 0.8rem; background: #F7F9FD; overflow: hidden; }
  .qph p, .qph ul { margin: 0; padding: 0; list-style: none; }
  .qph__job { display: grid; } .qph__job b { font-size: 1rem; line-height: 1.25; color: #0B1A3C; } .qph__job span { font-size: 0.8rem; color: #5A6585; }
  .qph__lines { display: grid; border: 1px solid #DCE2F0; border-radius: 10px; background: #fff; }
  .qph__lines li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0.7rem; border-bottom: 1px solid #EEF0F6; }
  .qph__lines li:last-child { border: 0; }
  .qph__lines span { display: grid; min-width: 0; } .qph__lines b { font-size: 0.86rem; line-height: 1.25; color: #17203D; } .qph__lines small { font-size: 0.74rem; color: #5A6585; }
  .qph__lines em { flex: none; font-style: normal; font-size: 0.9rem; font-weight: 700; color: #0B1A3C; }
  .qph__total { display: flex; justify-content: space-between; align-items: baseline; padding: 0 0.2rem; font-size: 0.86rem; color: #5A6585; } .qph__total b { font-size: 1.2rem; color: #0B1A3C; }
  .qph__done { display: grid; gap: 0.35rem; }
  .qph__done li { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.7rem; border-radius: 9px; background: #D9F4EC; font-size: 0.84rem; font-weight: 600; color: #0E5C48; }
  .qph__done li::before { content: "✓"; display: grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #17A67E; font-size: 0.7rem; color: #fff; }

  /* Platform map on a phone: one column, each part readable */
  .pmap { gap: 2.6rem; padding: 1.1rem 0.9rem 1.3rem; }
  .pmap__h { justify-self: center !important; text-align: center !important; }
  .pmap__col--old { grid-template-columns: 1fr; gap: 0.45rem; }
  .pmap__gone { display: block; opacity: 1; }
  .pmap__gone::after { content: "✕"; inset: 50% 0.6rem auto auto; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #E0452F; font-size: 0.8rem; font-weight: 700; color: #fff; transform: translateY(-50%); }
  .pmap__gone .win { filter: none; border-radius: 9px; box-shadow: none; background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.18); }
  .pmap__gone .win__bar { margin: 0; padding: 0.6rem 2.6rem 0.6rem 0.8rem; border: 0; background: none; font-size: 0.92rem; color: #C9D8FA; text-decoration: line-through; text-decoration-color: #E07A66; }
  .pmap__gone .win__bar i { background: #9FB3E0; }
  .pmap__gone .win__bar em { display: inline; margin-left: 0.5rem; background: none; padding: 0; font-size: 0.78rem; color: #9FB3E0; }
  .pmap__core { grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 0 0.9rem; justify-self: stretch; padding: 1rem; border-radius: 16px; text-align: left; box-shadow: 0 0 0 6px rgb(141 183 255 / 0.12), 0 18px 40px rgb(0 0 0 / 0.4); }
  .pmap__core span { grid-row: 1 / span 2; width: 3rem; height: 3rem; } .pmap__core svg { width: 2.8rem; height: 2.8rem; }
  .pmap__core b { align-self: end; } .pmap__core small { align-self: start; }
  .pmap__core::before, .pmap__core::after, .pmap__keep::before { content: "▼"; display: flex; align-items: flex-end; justify-content: center; width: 1rem; height: 2.1rem; border: 0; font-size: 0.6rem; line-height: 1; color: #E07A66; background: linear-gradient(currentColor, currentColor) center top / 2px calc(100% - 0.5rem) no-repeat; transform: translateX(-50%); }
  .pmap__core::before { bottom: calc(100% + 0.25rem); }
  .pmap__core::after { top: calc(100% + 0.25rem); color: #8DB7FF; }
  .pmap__keep::before { bottom: calc(100% + 0.25rem); color: #3FBF9C; }
  .pmap__col--new { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .pmap__shot { background: none; box-shadow: none; overflow: visible; }
  .pmap__shot img { aspect-ratio: 4 / 3; border-radius: 8px; box-shadow: 0 8px 20px rgb(0 0 0 / 0.4), 0 0 0 1px rgb(255 255 255 / 0.25); }
  .pmap__shot b { position: static; display: block; padding: 0.4rem 0 0; background: none; font-size: 0.82rem; text-align: center; color: #fff; }
  .pmap__keep { padding-top: 0; }
  .pmap__keep li { padding: 0.4rem 0.85rem; font-size: 0.86rem; }
}
.shift__anchor { display: block; height: 0; scroll-margin-top: 0; } .shift__pin { scroll-margin-top: 4.5rem; }
@media (max-width: 760px) {
  .shift.is-live.is-loop .shift__pin { height: clamp(540px, 100vh - 12rem, 660px); height: clamp(540px, 100svh - 12rem, 660px); }
  .shift.is-live .shift__label { font-size: 0; line-height: 0; }
  .shift.is-live .shift__label b { font-size: 1.15rem; line-height: 1.2; }
  .shift.is-live .mess, .shift.is-live .plat { top: calc(var(--head) + 2.3rem); }
  .shift.is-live .pane__now { display: none; }
  .shift.is-live .pane__head { padding: 0.55rem 0.8rem; }
  .shift.is-live .pane__title { font-size: 1.05rem; }
  .shift.is-live .pane__result { margin-top: 0.25rem; padding: 0.3rem 0.6rem; }
  .qph { gap: 0.45rem; padding: 0.6rem 0.7rem; }
  .qph__lines li { padding: 0.35rem 0.6rem; }
  .qph__lines small { display: none; }
  .qph__done { grid-template-columns: 1fr 1fr; } .qph__done li { padding: 0.35rem 0.5rem; font-size: 0.76rem; line-height: 1.2; }
}
@media (max-width: 760px) { .shift.is-live .flow--map .flow__cards li:not(.is-now) { display: none; } }
@media (max-width: 760px) {
  .shift.is-live.is-loop .shift__pin { height: clamp(572px, 100vh - 10rem, 660px); height: clamp(572px, 100svh - 10rem, 660px); }
  .qph__lines li { padding: 0.28rem 0.6rem; }
  .qph__job span { display: none; }
}

/* ---------- 2026-11-15: phone versions of each example; no desktop screenshots squeezed onto a phone ---------- */
.ph, .bkph, .supph, .gal__say { display: none; }
@media (max-width: 760px) {
  .ph { display: grid; gap: 0.6rem; margin: 1.25rem 0 0; }
  .ph img, .ph__screen { display: block; width: 100%; height: auto; border: 1px solid #C9D4EC; border-radius: 14px; background: #fff; box-shadow: 0 18px 44px rgb(11 26 60 / 0.18); overflow: hidden; }
  .ph figcaption { font-size: 0.95rem; color: var(--fg-2); }
  .ph .qph { height: auto; }
  /* The screen list: names you tap, not thumbnails you squint at */
  .gal { margin-top: 1.5rem; }
  .gal__stage { display: none; }
  .gal__thumbs { display: grid; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; gap: 0; overflow: visible; margin: 0; padding: 0; border: 1px solid #C9D4EC; border-radius: 12px; background: #fff; }
  .gal__thumbs::before { content: "More screens, full size"; padding: 0.6rem 0.9rem; border-bottom: 1px solid #E6EAF4; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #5A6585; }
  .gal__thumb, .gal__thumb[aria-current] { position: relative; display: grid; gap: 0.1rem; padding: 0.7rem 2.4rem 0.7rem 0.9rem; border: 0; border-bottom: 1px solid #EEF0F6; border-radius: 0; background: none; text-align: left; font-size: 1rem; color: #0B1A3C; }
  .gal__thumb:last-child { border-bottom: 0; }
  .gal__thumb img { display: none; }
  .gal__thumb::after { content: "›"; position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: #2353C4; }
  .gal__say { display: block; font-size: 0.86rem; font-weight: 400; line-height: 1.35; color: #5A6585; }
  .lightbox__body img { width: 1000px; max-width: none; }

  /* Bookkeeping, drawn for a phone */
  .pane[data-pane="bookkeeping"] video { display: none; }
  .bkph { display: grid; align-content: start; gap: 0.45rem; height: 100%; padding: 0.6rem 0.7rem; background: #F7F9FD; overflow: hidden; }
  .bkph p, .bkph ul { margin: 0; padding: 0; list-style: none; }
  .bkph__top { display: flex; align-items: baseline; gap: 0.6rem; } .bkph__top b { font-size: 1.05rem; color: #0B1A3C; } .bkph__top span { font-size: 0.8rem; color: #5A6585; }
  .bkph__all { padding: 0.5rem; border-radius: 8px; background: #17803D; font-size: 0.88rem; font-weight: 600; text-align: center; color: #fff; }
  .bkph ul { display: grid; gap: 0.35rem; }
  .bkph li { display: grid; gap: 0.1rem; padding: 0.4rem 0.65rem; border: 1px solid #DCE2F0; border-left: 4px solid #17A67E; border-radius: 9px; background: #fff; }
  .bkph li p { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; }
  .bkph li b { font-size: 0.88rem; color: #17203D; } .bkph li em { font-style: normal; font-size: 0.88rem; font-weight: 700; color: #B03A27; } .bkph li em.in { color: #17803D; }
  .bkph li span { font-size: 0.78rem; color: #5A6585; } .bkph li i { font-style: normal; padding: 0.05rem 0.5rem; border-radius: 999px; background: #D9F4EC; font-size: 0.72rem; font-weight: 600; color: #0E5C48; white-space: nowrap; }
  .bkph li.ask { border-left-color: #E0A21A; } .bkph li.ask i { background: #FFF1CC; color: #7A5600; }

  /* Collections in the Home scene: everything shown fits */
  .pane__shot--arx .arx__name span, .pane__shot--arx .arx__h span { display: none; }
  .pane__shot--arx .arx__name { margin-bottom: 0.5rem; } .pane__shot--arx .arx__name b { font-size: 1.05rem; }
  .pane__shot--arx .arx__tiles { margin-bottom: 0.5rem; } .pane__shot--arx .arx__tiles li { padding: 0.35rem 0.6rem; }
  .pane__shot--arx .arx__h { margin-bottom: 0.4rem; font-size: 0.9rem; }
  .pane__shot--arx .arx__e:nth-child(n+3) { display: none; }
  .pane__shot--arx .arx__e:nth-child(2)::before { display: none; }
  .pane__shot--arx .arx__e p + p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* Inventory in the Home scene: the brief and one suggestion */
  .shift.is-live .inv .flow__cards li:nth-child(n+2) { display: none; }
  .shift.is-live .inv .flow__cards li:first-child { opacity: 1 !important; }

  /* Supply chain, drawn for a phone (Work page) */
  .supph { display: grid; gap: 0.6rem; padding: 0.9rem; background: #0B1A3C; color: #C9D8FA; }
  .supph p, .supph ol { margin: 0; padding: 0; list-style: none; }
  .supph__brief { display: grid; } .supph__brief b { font-size: 1.05rem; color: #fff; } .supph__brief span { font-size: 0.85rem; }
  .supph__card { display: grid; gap: 0.3rem; padding: 0.7rem 0.8rem; border: 1px solid rgb(141 183 255 / 0.4); border-radius: 10px; background: rgb(141 183 255 / 0.08); }
  .supph__card em { justify-self: start; padding: 0.05rem 0.55rem; border-radius: 999px; background: rgb(240 112 90 / 0.25); font-style: normal; font-size: 0.72rem; font-weight: 700; color: #FFC2B6; }
  .supph__card b { font-size: 0.95rem; line-height: 1.3; color: #fff; } .supph__card span { font-size: 0.84rem; line-height: 1.4; }
  .supph__card i { justify-self: start; margin-top: 0.2rem; padding: 0.35rem 0.8rem; border-radius: 999px; background: #8DB7FF; font-style: normal; font-size: 0.82rem; font-weight: 600; color: #0B1A3C; }
  .supph__po { padding-top: 0.5rem; border-top: 1px solid rgb(141 183 255 / 0.2); font-size: 0.88rem; } .supph__po b { color: #fff; }
  .supph ol { display: grid; gap: 0.3rem; }
  .supph li { display: grid; grid-template-columns: 1.3rem 1fr; gap: 0 0.6rem; align-items: start; font-size: 0.86rem; }
  .supph li::before { content: ""; grid-row: 1 / span 2; width: 1.1rem; height: 1.1rem; margin-top: 0.1rem; border: 2px solid rgb(201 216 250 / 0.4); border-radius: 50%; }
  .supph li b { color: #fff; } .supph li span { grid-column: 2; font-size: 0.8rem; }
  .supph li.done::before { border-color: #3FBF9C; background: #3FBF9C; } .supph li.now::before { border-color: #8DB7FF; background: #8DB7FF; box-shadow: 0 0 0 4px rgb(141 183 255 / 0.25); }
}
@media (max-width: 760px) {
  .shift.is-live .inv .flow__cards li:first-child > span, .shift.is-live .inv .flow__cards li:first-child > small { display: block !important; font-size: 0.84rem; line-height: 1.4; }
  .shift.is-live .inv .flow__cards li:first-child .inv__act { display: flex !important; margin-top: 0.3rem; }
  .shift.is-live .inv .flow__cards li:first-child { gap: 0.3rem; padding: 0.7rem 0.8rem; }
}
@media (max-width: 760px) {
  .gal__thumbs .gal__thumb, .gal__thumbs .gal__thumb[aria-current] { background: none !important; color: #0B1A3C !important; border-color: #EEF0F6 !important; box-shadow: none !important; }
  .gal__thumbs .gal__thumb > span { color: #0B1A3C !important; font-weight: 700; }
}
section[id^="s-"] { scroll-margin-top: 4.25rem; }

/* ---------- 2026-11-15: fixes from walking every page in the iPhone simulator ---------- */
.nav__cta { display: none; }
@media (max-width: 1000px) {
  /* The phone menu scrolls, clears Safari's toolbar, and ends with the call button */
  .nav.is-open nav { max-height: calc(100vh - 4.5rem); max-height: calc(100dvh - 4.5rem); overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
  .nav.is-open .nav__links > li > a { font-weight: 600; }
  .nav.is-open .nav__sub { padding: 0 0 0 1rem; }
  .nav.is-open .nav__sub a, .nav.is-open .nav__sub a[aria-current="page"] { padding: 0.7rem 0; border-radius: 0; border-bottom: 1px solid var(--line); background: none; font-size: 1rem; font-weight: 400; color: #C9D8FA; }
  .nav.is-open .nav__sub a[aria-current="page"] { color: #fff; font-weight: 600; box-shadow: inset 3px 0 0 var(--sky); padding-left: 0.75rem; }
  .nav.is-open .nav__cta { display: block; padding-top: 1.1rem; }
  .nav.is-open .nav__links .nav__cta a { display: flex; justify-content: center; padding: 0.9rem 1rem; border: 0; border-radius: 999px; font-weight: 600; color: #0B1A3C; }
}
@media (max-width: 760px) {
  /* Agent icons stay round */
  .who i, .who--agent i { flex: none; justify-self: start; width: 2.8rem !important; min-width: 2.8rem; max-width: 2.8rem; height: 2.8rem !important; aspect-ratio: 1; border-radius: 50%; padding: 0; }
}
.motion-toggle { transition: opacity 0.25s ease, visibility 0s 0s; }
.motion-toggle.is-away { opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0s 0.25s; }
@media (max-width: 760px) { .band, .band:not(.band--light) { animation: none !important; } }
@media (max-width: 760px) { .who--agent i { box-shadow: 0 0 0 4px rgb(141 183 255 / 0.28); transform: none; } }
@media (max-width: 760px) { .charge__flow li .who i, .charge__flow li .who--agent i, .charge__flow li .who--approve i { box-shadow: none !important; transform: none !important; filter: none !important; outline: 3px solid rgb(141 183 255 / 0.35); outline-offset: 2px; } .charge__flow li .who--approve i { outline-color: #8DB7FF; } .charge__flow li .who:not(.who--agent):not(.who--approve) i { outline-color: rgb(255 255 255 / 0.2); } }
.charge__flow .who, .charge__flow .who--agent, .charge__flow .who--approve { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }

/* ---------- 2026-11-15: quoting "before" as pictures; phone versions of the brain maps ---------- */
.bf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.bf__s { position: relative; display: grid; align-content: start; gap: 0.3rem; padding: 0.7rem 0.8rem 1rem; border: 1px solid #F0D2CA; border-radius: 12px; background: #fff; }
.bf__s svg { width: 100%; height: auto; border-radius: 8px; background: #FBF1EE; }
.bf__s::after { content: ""; position: absolute; top: 4.6rem; right: -0.75rem; width: 0.75rem; border-top: 3px dotted #C8452F; }
.bf__s:last-child::after { display: none; }
.bf__n { display: grid; place-items: center; width: 2rem; height: 2rem; margin: -1.35rem 0 0 0.2rem; border: 3px solid #fff; border-radius: 50%; background: #C8452F; font-size: 0.95rem; font-weight: 700; color: #fff; }
.bf__s h3 { margin: 0.1rem 0 0; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.2; color: var(--navy); }
.bf__s p { margin: 0; font-size: 0.92rem; line-height: 1.4; color: var(--fg-2); }
.bf__t { font: 600 9px "Mona Sans", sans-serif; fill: #5A6585; text-anchor: middle; }
.bf__q { font: 700 30px "Mona Sans", sans-serif; fill: #C8452F; text-anchor: middle; dominant-baseline: central; }
@media (max-width: 1080px) { .bf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 0.75rem; } .bf__s:nth-child(3)::after { display: none; } }
@media (max-width: 620px) {
  .bf { grid-template-columns: 1fr; gap: 0.6rem; }
  .bf__s { grid-template-columns: 6.5rem 1fr; gap: 0.1rem 0.9rem; padding: 0.6rem; }
  .bf__s svg { grid-row: 1 / span 3; }
  .bf__n { margin: 0; width: 1.6rem; height: 1.6rem; border: 0; font-size: 0.8rem; }
  .bf__s::after { display: none; }
}
.tkph, .smph, .smph__also { display: none; }
@media (max-width: 760px) {
  .flip--tk .pan, .flip--tk .pan__hint, .flip--tk .tk__lists, .smfig .pan, .smfig .pan__hint { display: none; }
  .flip--tk .flip__stage { padding: 0.8rem; }
  .tkph { display: grid; gap: 0.6rem; }
  .tkph p, .tkph ul { margin: 0; padding: 0; list-style: none; }
  .tkph__erp, .tkph__plat { display: grid; padding: 0.7rem 0.9rem; border-radius: 12px; background: #14224B; color: #C9D8FA; }
  .tkph__erp b, .tkph__plat b { font-size: 1.1rem; color: #fff; } .tkph__erp span, .tkph__plat span { font-size: 0.84rem; }
  .tkph__plat { max-height: 0; padding-block: 0; overflow: hidden; opacity: 0; border: 2px solid #8DB7FF; border-width: 0; background: #0B1A3C; transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease; }
  .tkph__plat em { margin-top: 0.25rem; font-style: normal; font-size: 0.82rem; font-weight: 600; color: #8EDDC8; }
  .flip.is-plan .tkph__plat { max-height: 8rem; padding-block: 0.7rem; border-width: 2px; opacity: 1; }
  .tkph ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
  .tkph li { position: relative; display: grid; gap: 0.1rem; padding: 0.5rem 0.6rem; border-radius: 9px; background: #5F6E8C; color: #fff; transition: background 0.4s ease, color 0.4s ease; }
  .tkph li b { font-size: 0.86rem; line-height: 1.2; overflow-wrap: anywhere; }
  .tkph li small { font-size: 0.72rem; line-height: 1.25; }
  .tkph li small.b { display: none; }
  .tkph--h small.a { color: #FFD0C6; } .tkph--h { box-shadow: inset 3px 0 0 #F0705A; }
  .tkph--a small.a, .tkph--n small.a { color: #DCE6FB; }
  .flip.is-plan .tkph li small.a { display: none; } .flip.is-plan .tkph li small.b { display: block; }
  .flip.is-plan .tkph li.gone { background: #E3E7F0; color: #6B7591; box-shadow: none; }
  .flip.is-plan .tkph li.gone b { text-decoration: line-through; text-decoration-color: #D8402B; text-decoration-thickness: 2px; }
  .flip.is-plan .tkph li.gone::after { content: "✕"; position: absolute; right: 0.45rem; top: 0.4rem; font-size: 0.9rem; font-weight: 700; color: #D8402B; }
  .flip.is-plan .tkph li.keep { background: #1F6F5C; box-shadow: none; } .flip.is-plan .tkph li.keep small.b { color: #C8F1E4; }

  .smfig { padding: 0.9rem; }
  .smph { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
  .smph__d { display: grid; grid-template-columns: 1fr auto; gap: 0 0.75rem; align-items: center; padding: 0.7rem 0.9rem; border: 1.5px solid #8DB7FF; border-radius: 12px; background: #2353C4; color: #fff; }
  .smph__d b { font-size: 1.1rem; } .smph__d span { grid-column: 1; font-size: 0.84rem; color: #C9D8FA; }
  .smph__d em { grid-column: 2; grid-row: 1 / span 2; padding: 0.15rem 0.6rem; border-radius: 999px; background: #fff; font-style: normal; font-size: 0.76rem; font-weight: 700; color: #B03A27; }
  .smph__h, .smph__out { position: relative; margin-left: 1.6rem; padding: 0.55rem 0 0.55rem 1.1rem; border-left: 3px solid #5F7CB8; font-size: 0.86rem; font-weight: 600; color: #C9D8FA; }
  .smph__h--pain { border-left-color: #F0705A; color: #FFC2B6; }
  .smph__h::after, .smph__out:first-child::after { content: ""; position: absolute; left: -7.500px; bottom: -1px; border: 6px solid transparent; border-top: 8px solid #5F7CB8; border-bottom: 0; }
  .smph__h--pain::after { border-top-color: #F0705A; }
  .smph__out { border-left-style: dashed; color: #9FB3E0; font-weight: 500; }
  .smph__also { display: block; margin: 0.8rem 0 0; font-size: 0.84rem; line-height: 1.4; color: #9FB3E0; }
  .smfig figcaption span:nth-child(2), .smfig figcaption span:nth-child(3) { display: none; }
}
@media (max-width: 760px) { .tkph .tkph__erp { padding: 0.7rem 0.9rem; } .tkph .tkph__plat { padding-inline: 0.9rem; } }
@media (max-width: 760px) {
  .pair { grid-template-columns: 1fr; gap: 1.75rem; }
  .pair img { height: 30rem; }
  .pair__say { order: -1; }
  .journey figcaption::after { content: " Swipe the picture sideways to follow the job."; color: var(--fg-3); }
}
@media (max-width: 760px) {
  /* On a phone the estimate sits below the plan, out of sight of the steps, so it always shows complete. */
  .pb .pb__side li, .pb .pb__total, .pb .pb__total b { opacity: 1 !important; animation: none !important; }
}

/* ---------- 2026-11-17: Mike's preview comments ---------- */
/* The before/after scene lost its caption (its intro now says both halves), so the screens start at the top of the stage. */
.shift.is-live.is-loop .mess, .shift.is-live.is-loop .plat { top: var(--head); }
/* Work: the big screen always shows the whole screen, never cropped ("the bottom of this image is cut off"). */
@media (min-width: 761px) {
  .gal__open { aspect-ratio: 3 / 2; }
  .gal__open img { object-fit: contain; object-position: center; background: #EEF2F9; }
}

/* ---------- 2026-11-17: pricing, what's included as one flow ---------- */
.keep { margin-top: clamp(2.5rem, 4vw, 3.5rem); display: grid; gap: 1.75rem; }
.keep__title { color: var(--navy); max-width: 22ch; text-wrap: balance; }
.keep__flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 2fr); align-items: stretch; gap: 1rem; }
.keep__step { display: grid; align-content: start; gap: 1.1rem; padding: clamp(1.4rem, 2.6vw, 2rem); border: 1px solid var(--rule-2); border-radius: var(--r); background: var(--white); }
.keep__step--on { background: var(--ink); border-color: var(--ink); }
.keep__step--on .label { color: var(--sky); }
.keep__arrow { align-self: center; width: 2.25rem; height: 2px; background: var(--cobalt); position: relative; }
.keep__arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--cobalt); border-right: 0; }
.ticks { display: grid; gap: 0.85rem 2rem; }
.ticks--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ticks li { position: relative; padding-left: 1.75rem; color: var(--navy); font-size: 1.0625rem; line-height: 1.35; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.keep__step--on .ticks li { color: var(--white); }
.keep__step--on .ticks li::before { background-color: var(--sky); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%230B1A3C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.nopay { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; color: var(--slate); font-size: 1rem; }
.nopay li { position: relative; padding-left: 1.4rem; }
.nopay li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.8rem; height: 2px; background: var(--slate); transform: rotate(45deg); box-shadow: 0 0 0 0 transparent; }
.nopay li::after { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.8rem; height: 2px; background: var(--slate); transform: rotate(-45deg); }
@media (max-width: 760px) {
  .keep__flow { grid-template-columns: 1fr; }
  .keep__arrow { justify-self: start; margin-left: 1.6rem; width: 2px; height: 1.5rem; }
  .keep__arrow::after { right: -4px; top: auto; bottom: -1px; border: 5px solid transparent; border-top: 7px solid var(--cobalt); border-bottom: 0; }
  .ticks--two { grid-template-columns: 1fr; }
  .nopay { flex-direction: column; }
}

/* ---------- insights articles (helper) ---------- */
/* Founder notes: a smaller hero title than the other pages, a byline, and one readable column. */
.hero--article .hero__title { font-size: clamp(2.25rem, 1rem + 3.6vw, 4.25rem); line-height: 1.02; }
.hero--article .hero__title .c2 { max-width: 22ch; }
.byline { margin-top: 1.25rem; color: var(--text-3); font-size: 0.9375rem; font-weight: 550; letter-spacing: 0.01em; }
.article { max-width: 68ch; color: var(--navy-2); font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem); line-height: 1.65; }
.article > * + * { margin-top: 1.15em; }
.article > .for-mike { margin-bottom: 1rem; color: var(--navy); }
.article h2 { margin-top: 2.2em; color: var(--navy); font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem); font-weight: 640; font-stretch: 108%; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.article h2 + * { margin-top: 0.7em; }
.article strong { color: var(--navy); font-weight: 650; }
.article > ul { display: grid; gap: 0.55em; }
.article > ul li { position: relative; padding-left: 1.35em; }
.article > ul li::before { content: ""; position: absolute; left: 0.2em; top: 0.68em; width: 0.42em; height: 0.42em; border-radius: 50%; background: var(--cobalt); }
.article .link { color: var(--cobalt); }
.article__more { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-light-2); }
.article__more ul { display: grid; gap: 0.6rem; margin-top: 0.75rem; font-size: 1rem; line-height: 1.4; }
.notes { display: grid; max-width: 68ch; border-top: 1px solid var(--rule-light-2); }
.note { display: grid; gap: 0.5rem; padding-block: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--rule-light); }
.note h2 { color: var(--navy); font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 640; font-stretch: 108%; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.note h2 a { color: inherit; text-decoration: underline; text-decoration-color: var(--rule-light-2); text-underline-offset: 0.18em; }
.note h2 a:hover { text-decoration-color: var(--cobalt); }
.note p:last-child { color: var(--navy-2); font-size: 1.0625rem; line-height: 1.55; }

/* Reduced motion, everywhere: anything still animated finishes at once and holds still,
   whatever rule started it. Nothing moves for a visitor who has asked for less motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
