/* ==========================================================================
   COMPONENTS — product UI mockups, cards, flows, pricing, FAQ, forms
   ========================================================================== */

/* --- APP MOCKUP SHELL --------------------------------------------------- */
.app {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-2);
  container-type: inline-size;
}
.app--tilt {
  transform: perspective(1900px) rotateY(-3.6deg) rotateX(1.6deg) translateZ(0);
  transition: transform .7s var(--ease-out);
}
.hero__stage:hover .app--tilt { transform: perspective(1900px) rotateY(-1.6deg) rotateX(.6deg); }
.kpi__of { font-size: .62em; font-weight: 600; color: var(--muted-2); letter-spacing: 0; }

/* --- HERO SLIDER (also the product tour) --------------------------------
   Slides are stacked so the stage never jumps height between views. */
.hs { position: relative; }
.hs__view { display: grid; }
/* Slides share one grid cell so the stage never jumps height. Each slide
   then stretches to that shared height — panels fill space like a real app
   viewport instead of leaving dead white below the content. */
.hs__slide { grid-area: 1 / 1; display: flex; flex-direction: column; }
.hs__slide > .app__body { flex: 1 1 auto; min-height: 0; }
.hs__slide > .app__main { flex: 1 1 auto; min-height: 0; }
.hs__slide > .app__main,
.hs__slide > .app__body > .app__main { display: flex; flex-direction: column; }
.hs__slide .app__main > .app__cols:last-of-type { flex: 1 1 auto; min-height: 0; }
.hs__slide .app__main > .app__cols:last-of-type > .panel { display: flex; flex-direction: column; }
.hs__slide .app__main > .app__cols:last-of-type > .panel > .tbl,
.hs__slide .app__main > .app__cols:last-of-type > .panel > .tline { margin-bottom: auto; }
.hs__slide[hidden] {
  display: block; visibility: hidden; pointer-events: none;
  opacity: 0;
}
.hs__slide {
  opacity: 1; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.hs__slide.is-in {
  animation: hsIn .55s var(--ease-out) both;
}
@keyframes hsIn {
  from { opacity: 0; transform: perspective(1900px) rotateY(-3.6deg) rotateX(1.6deg) translateY(10px) scale(.988); }
}

/* auto-fit, not repeat(4): adding a fifth slide is then a markup-only change.
   140px is the width at which "Manufacturing ERP" still sets on two lines.

   margin-right cancels the stage's negative bleed. The mockup is allowed to run
   off the right edge — that's the design — but the CONTROLS are interactive and
   must stay fully on screen; with four tabs the fourth one was being clipped by
   the viewport. Same expression as .hero__stage, so the two can't drift. */
.hs__nav {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px; margin-top: 18px;
  margin-right: min(9vw, 132px);
}
.hs__note { margin-right: min(9vw, 132px); }
@media (min-width: 1600px) {
  .hs__nav, .hs__note { margin-right: 60px; }
}
.hs__tab {
  position: relative; overflow: hidden; text-align: left;
  display: flex; align-items: flex-start; gap: 9px;
  padding: 11px 12px 13px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: border-color .2s var(--ease), background-color .2s var(--ease),
              box-shadow .2s var(--ease), transform .2s var(--ease);
}
.hs__tab:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.hs__tab.is-on {
  background: #fff; border-color: rgba(14,159,110,.34);
  box-shadow: 0 6px 18px -10px rgba(14,159,110,.4);
}
.hs__n {
  font-family: var(--font-mono); font-size: .625rem; font-weight: 600;
  letter-spacing: .1em; color: var(--muted-2); flex: none; margin-top: 2px;
  transition: color .2s var(--ease);
}
.hs__tab.is-on .hs__n { color: var(--green); }
.hs__lbl {
  display: flex; flex-direction: column; gap: 1px; min-width: 0;
  font-family: var(--font-display); font-size: .8125rem; font-weight: 650;
  color: var(--text); letter-spacing: -.012em; line-height: 1.25;
}
.hs__lbl em {
  font-style: normal; font-family: var(--font-body); font-size: .6875rem;
  font-weight: 500; color: var(--muted); letter-spacing: 0;
}
/* Progress bar doubles as the autoplay timer */
.hs__bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--line);
}
.hs__bar i {
  display: block; height: 100%; width: 100%;
  background: var(--green); transform: scaleX(0); transform-origin: left;
}
.hs__tab.is-on .hs__bar i { animation: hsTick 7s linear both; }
.hs.is-paused .hs__tab.is-on .hs__bar i { animation-play-state: paused; }
@keyframes hsTick { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* The slider shows "Synced 12s ago" next to a pulsing dot, which reads as a real
   account. This is the first product UI on the page, so it is labelled here
   rather than only in the caption far below the fold. */
.hs__note {
  display: flex; align-items: center; gap: 7px; margin-top: 12px;
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted-2);
}
.hs__note::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--line-strong); flex: none;
}

@media (prefers-reduced-motion: reduce) {
  .hs__slide.is-in { animation: none; }
  .hs__tab.is-on .hs__bar i { animation: none; transform: scaleX(1); }
}

/* Product top bar — breadcrumb, search, tools. Not a browser window:
   real SaaS marketing shows the app's own chrome. */
.app__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 13px; border-bottom: 1px solid var(--line);
  background: #fff;
}
.app__crumb {
  display: flex; align-items: center; gap: 6px; flex: none;
  font-size: 11.5px; min-width: 0;
}
.app__crumb b { font-weight: 500; color: var(--muted); white-space: nowrap; }
.app__crumb i {
  font-style: normal; color: var(--line-strong); font-size: 11px;
  transform: translateY(-.5px);
}
.app__crumb em {
  font-style: normal; font-weight: 600; color: var(--text);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app__search {
  flex: 1 1 auto; min-width: 0; max-width: 300px; margin-left: auto;
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; color: var(--muted-2);
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 7px; padding: 4.5px 8px;
  white-space: nowrap; overflow: hidden;
}
.app__search svg { width: 12px; height: 12px; color: var(--muted-2); flex: none; }
.app__search span { overflow: hidden; text-overflow: ellipsis; }
.app__search kbd {
  margin-left: auto; flex: none;
  font-family: var(--font-mono); font-size: 9px; color: var(--muted);
  background: #fff; border: 1px solid var(--line-2);
  border-bottom-width: 2px; border-radius: 4px; padding: 1px 4px;
}
.app__tools { display: flex; align-items: center; gap: 4px; flex: none; }
.app__ico {
  position: relative; width: 24px; height: 24px; border-radius: 6px;
  display: grid; place-items: center; color: var(--muted);
  transition: background-color .16s var(--ease);
}
.app__ico svg { width: 13.5px; height: 13.5px; }
.app__ico[data-badge]::after {
  content: attr(data-badge);
  position: absolute; top: -1px; right: -1px;
  min-width: 12px; height: 12px; padding: 0 3px;
  border-radius: 999px; background: var(--green); color: #fff;
  font-family: var(--font-mono); font-size: 8px; font-weight: 600;
  display: grid; place-items: center; border: 1.5px solid #fff;
}
.app__bar .avatar--xs {
  width: 22px; height: 22px; font-size: 9.5px; margin-left: 3px;
}

.app__body { display: grid; grid-template-columns: 186px minmax(0,1fr); min-height: 0; }
.app__side {
  border-right: 1px solid var(--line);
  background: #FCFDFE;
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 3px;
}
.app__side .side-label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-2); padding: 10px 10px 5px;
}
.side-row {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px; border-radius: 7px;
  font-size: 12.5px; font-weight: 500; color: var(--text-2);
  transition: background-color .18s var(--ease);
}
.side-row svg { width: 14px; height: 14px; color: var(--muted-2); flex: none; }
.side-row.is-active {
  background: var(--mint-2); color: var(--green-700); font-weight: 600;
  box-shadow: inset 2px 0 0 var(--green);
}
.side-row.is-active svg { color: var(--green); }
.side-row .badge {
  margin-left: auto; font-family: var(--font-mono); font-size: 9px; font-weight: 600;
  background: var(--ink); color: #fff; border-radius: 5px; padding: 1px 5px;
}
.side-row .badge--mint { background: var(--mint); color: var(--green-700); }
.app__side-foot {
  margin-top: auto; padding: 10px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px; min-width: 0;
}
.app__side-foot .avatar { margin-left: 2px; }
.avatar {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center;
  font-family: var(--font-display);
}
.app__side-foot div { min-width: 0; }
.app__side-foot strong { display: block; font-size: 11.5px; color: var(--text); font-weight: 600; }
/* Scoped to the text block: an unscoped `span` rule also hit .avatar and
   knocked its initials out of the circle. */
.app__side-foot > div span { display: block; font-size: 10px; color: var(--muted-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__side-foot > div strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.app__main { padding: 16px; min-width: 0; background: var(--bg); }
.app__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px; margin-bottom: 14px;
}
/* Record-detail actions belong on the title row. Wrapping them to their own
   line is the single clearest "this is a mockup" tell — real apps keep the
   primary action anchored top-right and truncate the title instead. */
.app__head > div:first-child { min-width: 0; }
.app__head h4, .app__title {
  font-family: var(--font-display); font-size: 15.5px; font-weight: 700;
  color: var(--text); letter-spacing: -.02em; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app__head p { font-size: 11px; color: var(--muted-2); margin-top: 3px; font-family: var(--font-mono); letter-spacing: .04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__head-actions { display: flex; gap: 6px; align-items: center; flex: none; }
.app__head-actions .mini-btn { white-space: nowrap; }
.mini-btn {
  font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 7px;
  border: 1px solid var(--line-2); background: #fff; color: var(--text-2);
}
/* --green-700, not --green: white on the brand green is 3.39:1, and at 11px
   these are the smallest text on the page. Same substitution as .btn--primary. */
.mini-btn--solid { background: var(--green-700); color: #fff; border-color: transparent; }

/* KPI tiles */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 9px; }
.kpi {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 12px; background: #fff; position: relative; overflow: hidden;
}
.kpi__label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted-2); display: block; margin-bottom: 5px;
  /* One line only — "Open work orders" wrapping to two lines shoves the
     whole tile out of alignment with its neighbours. */
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kpi__val {
  font-family: var(--font-display); font-size: 19px; font-weight: 750;
  color: var(--text); letter-spacing: -.03em; line-height: 1.05;
  font-variant-numeric: tabular-nums;
  display: block; white-space: nowrap;
}
.kpi__delta {
  display: inline-flex; align-items: center; gap: 3px; margin-top: 5px;
  font-size: 10.5px; font-weight: 650; font-family: var(--font-mono);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
/* Deltas are 10.5px mono, so they need the full 4.5:1. --green-600 lands at
   4.36 and the old terracotta #D9683E at 3.50; these two clear it (5.72 / 5.05)
   without turning into generic red-vs-green traffic lights. */
.kpi__delta--up { color: var(--green-700); }
.kpi__delta--down { color: #B84E27; }
.kpi__delta--flat { color: var(--muted); }
/* Sparkline sits in its own row-end cell so it can never collide with the
   delta text (an absolutely-positioned spark did exactly that). */
.kpi:has(.kpi__spark) {
  display: grid; grid-template-columns: minmax(0,1fr) auto;
  grid-template-areas: "label label" "val spark" "delta spark";
  align-items: end; column-gap: 8px;
}
.kpi:has(.kpi__spark) .kpi__label { grid-area: label; }
.kpi:has(.kpi__spark) .kpi__val   { grid-area: val; }
.kpi:has(.kpi__spark) .kpi__delta { grid-area: delta; }
.kpi__spark { grid-area: spark; align-self: end; margin-bottom: 2px; opacity: .75; }
/* Fallback for engines without :has() — hide the spark rather than overlap */
@supports not selector(:has(*)) { .kpi__spark { display: none; } }

/* Panels inside app */
.app__cols { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); gap: 9px; margin-top: 9px; }
.app__cols--even { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.app__cols--3 { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr); }
.panel {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; padding: 12px; min-width: 0; overflow: hidden;
}
.panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 11px; min-width: 0;
}
/* Panel titles inside the simulated product UI. Deliberately NOT headings:
   they are a picture of an application, not document structure, and 25 of them
   wrecked the heading outline (h2 -> h5 jumps) for screen-reader users. */
.panel__t {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 680;
  color: var(--text); letter-spacing: -.012em;
  /* Panel titles are UI labels — they must stay on one line, not wrap
     into three like a paragraph. */
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.panel__head > .mono, .panel__head > .p-tools { flex: none; }
/* Secondary block inside a panel — keeps dense views full without adding
   another card and its border noise. */
.panel__sub { margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--line-2); }
.panel__sub-h {
  display: block; margin-bottom: 7px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2);
}
.chart-x { display: flex; justify-content: space-between; margin-top: 6px; font-size: 9px; color: var(--muted-2); }
/* Panel footer — a totals strip for panels that hold a chart rather than a
   table, so charts and grids close the same way. */
.panel__foot {
  display: flex; justify-content: space-between; gap: 10px;
  margin-top: 11px; padding-top: 9px; border-top: 1px solid var(--line-2);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted-2);
}
.panel__foot b { color: var(--text); font-weight: 600; }
/* Action label in a table footer — right-aligned like a numeric cell but
   coloured as an affordance, not as data. */
.tbl tfoot td.act { text-align: right; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--green-700); font-weight: 600; }
.panel__head .mono { font-size: 9px; }
.legend { display: flex; gap: 10px; align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; color: var(--muted); font-family: var(--font-mono); }
.legend i { width: 7px; height: 7px; border-radius: 2px; display: block; }

/* Bar chart */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.bars > div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; }
.bars b {
  display: block; width: 100%; border-radius: 3px 3px 0 0;
  background: var(--green); transform-origin: bottom;
  animation: growBar .9s var(--ease-out) both;
}
.bars b.b2 { background: #BFEAD8; border-radius: 0; }
.bars b.b3 { background: #E8EEF5; border-radius: 0 0 3px 3px; }
.bars span { font-size: 9px; font-family: var(--font-mono); color: var(--muted-2); text-align: center; }
@keyframes growBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Line chart wrapper */
.chart-svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart-anim { stroke-dasharray: 1200; stroke-dashoffset: 1200; }
.in .chart-anim, .app .chart-anim { animation: drawLine 1.6s var(--ease-out) .2s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.chart-area-anim { opacity: 0; animation: fadeArea .9s var(--ease) .7s forwards; }
@keyframes fadeArea { to { opacity: 1; } }

/* Progress rows */
.prow { display: grid; gap: 9px; }
.prow > li { font-size: 11.5px; }
.prow .pr-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.prow .pr-top strong { font-weight: 600; color: var(--text); }
.prow .pr-top span { font-family: var(--font-mono); font-size: 10px; color: var(--muted); }
.track { height: 5px; border-radius: 999px; background: var(--bg-3); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 999px; background: var(--green); transform-origin: left; animation: growX 1.1s var(--ease-out) both; }
.track i.amber { background: var(--amber); }
.track i.sky { background: var(--sky); }
.track i.slate { background: var(--muted-2); }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Data table.
   Long item names truncate instead of forcing the table wider than its
   panel — the behaviour of a real data grid. */
.tbl { width: 100%; border-collapse: collapse; font-size: 11.5px; table-layout: auto; }
.tbl th {
  text-align: left; font-family: var(--font-mono); font-size: 9px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2);
  padding: 0 8px 7px 0; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.tbl td {
  padding: 8px 8px 8px 0; border-bottom: 1px solid var(--bg-3);
  color: var(--text-2); white-space: nowrap;
  max-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.tbl td.id, .tbl td.num, .tbl td.tight { max-width: none; }
/* Secondary tables inside a panel have no header row and only 2–3 narrow
   numeric columns, so the label column should take its natural width rather
   than collapsing to "S…". */
.panel__sub .tbl td:first-child { max-width: none; }
/* Indented BOM levels. A real explorer shows depth with a tree rule, not
   ASCII bullets. */
.tbl td.lvl { position: relative; }
.tbl td.lvl--2 { padding-left: 24px; color: var(--muted); }
/* Vertical trunk stops at the elbow so it never strikes through the label. */
.tbl td.lvl--2::before {
  content: ""; position: absolute; left: 12px; top: -1px; height: 50%;
  width: 1px; background: var(--line-2);
}
.tbl td.lvl--2::after {
  content: ""; position: absolute; left: 12px; top: 50%;
  width: 7px; height: 1px; background: var(--line-2);
}
/* A status cell must never clip its pill — give it intrinsic width and let
   the free-text columns absorb the slack instead. */
.tbl td:has(> .pill) { max-width: none; width: 1%; white-space: nowrap; }
.tbl td > .pill { max-width: 100%; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; padding-right: 0; }
/* A numeric header must sit over its column, not float left of it. */
.tbl th.num { text-align: right; padding-right: 0; }
.tbl td strong { color: var(--text); font-weight: 600; }
.tbl .id { font-family: var(--font-mono); font-size: 10.5px; color: var(--text); font-weight: 500; }
.tbl tbody tr { transition: background-color .16s var(--ease); }
.tbl tbody tr:hover { background: var(--mint-2); }

.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 9px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 5px;
  background: var(--bg-3); color: var(--muted); white-space: nowrap;
}
.pill--green { background: var(--mint); color: var(--green-700); }
.pill--amber { background: #FDF3E1; color: #8A5A08; }
.pill--sky   { background: #E7F1FD; color: #0B5CB0; }
.pill--slate { background: #EEF2F7; color: #475569; }
.pill--red   { background: #FCEDE9; color: #B44A26; }
.pill--ink   { background: var(--ink); color: #fff; }
.pill--dot::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; flex: none; opacity: .85;
}

/* --- PRODUCT UI DETAIL PRIMITIVES ---------------------------------------
   The details that separate a real product from a wireframe: sortable
   headers, row selection, table footers, sparklines, segmented filters,
   in-app tabs and a status bar. Shared by every mockup for consistency. */

/* Sortable column header */
.tbl th.srt { color: var(--text-2); }
.tbl th.srt::after {
  content: "▾"; font-size: 8px; margin-left: 4px; color: var(--green);
  display: inline-block; vertical-align: middle;
}
.tbl th.srt--up::after { content: "▴"; }

/* Leading checkbox cell */
.tbl .chk {
  width: 13px; height: 13px; border-radius: 3.5px;
  border: 1.5px solid var(--line-strong); display: inline-block;
  vertical-align: middle; flex: none; background: #fff;
}
.tbl .chk--on {
  background: var(--green); border-color: var(--green); position: relative;
}
.tbl .chk--on::after {
  content: ""; position: absolute; inset: 0;
  background: no-repeat center/8px 8px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.tbl td.tight, .tbl th.tight { width: 1%; padding-right: 6px; }

/* Row emphasis states */
/* Row markers live in a dedicated left gutter so the 2px bar never sits on
   top of the first cell's text. Applied to every row for column alignment. */
.tbl th:first-child, .tbl td:first-child { padding-left: 7px; }
.tbl tr.is-sel { background: var(--mint-2); }
.tbl tr.is-sel td:first-child { box-shadow: inset 2px 0 0 var(--green); }
.tbl tr.is-warn td:first-child { box-shadow: inset 2px 0 0 var(--amber); }

/* Table footer — totals row, the hallmark of real ERP tables */
.tbl tfoot td {
  border-top: 1px solid var(--line-2); border-bottom: 0;
  padding-top: 8px; font-weight: 600; color: var(--text);
  font-size: 11px;
}
.tbl tfoot .lbl {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted-2); font-weight: 500;
}

/* Panel toolbar: segmented filter + result count */
.p-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.seg {
  display: inline-flex; padding: 2px; gap: 1px;
  background: var(--bg-3); border-radius: 6px;
}
.seg span {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted);
  padding: 3px 7px; border-radius: 4px; white-space: nowrap;
}
.seg span.is-on {
  background: #fff; color: var(--text); font-weight: 600;
  box-shadow: var(--sh-xs);
}

/* In-app tab strip (record detail views) */
.app__tabs {
  display: flex; gap: 2px; align-items: center;
  border-bottom: 1px solid var(--line); margin: 0 0 11px;
  overflow: hidden;
}
.app__tabs span {
  font-size: 11.5px; font-weight: 550; color: var(--muted);
  padding: 6px 10px 8px; white-space: nowrap; position: relative;
}
.app__tabs span.is-on { color: var(--text); font-weight: 650; }
.app__tabs span.is-on::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: -1px;
  height: 2px; background: var(--green); border-radius: 2px 2px 0 0;
}
.app__tabs em {
  font-style: normal; font-family: var(--font-mono); font-size: 9px;
  color: var(--muted-2); margin-left: 5px;
}

/* Status bar — pinned footer with record counts and sync state */
.app__status {
  display: flex; align-items: center; gap: 14px;
  padding: 6px 13px; border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted-2);
}
.app__status .sp { margin-left: auto; }
.app__status b { font-weight: 600; color: var(--muted); }

/* Inline sparkline (KPI trend) */
.spark { display: block; width: 46px; height: 15px; overflow: visible; }
.spark path { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Field / value read-out grid for record detail panes */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px 12px; }
.fields > div { min-width: 0; }
.fields dt {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 2px;
}
.fields dd { font-size: 11.5px; font-weight: 600; color: var(--text); }
.fields dd .sub { font-weight: 400; color: var(--muted); font-size: 10.5px; }

/* Timeline / audit trail — proves the "audit ready" claim visually */
.tline { display: grid; gap: 0; position: relative; }
.tline li { display: flex; gap: 9px; padding-bottom: 11px; position: relative; }
.tline li:last-child { padding-bottom: 0; }
.tline li::before {
  content: ""; position: absolute; left: 5px; top: 13px; bottom: 0;
  width: 1px; background: var(--line-2);
}
.tline li:last-child::before { display: none; }
.tline .tdot {
  width: 11px; height: 11px; border-radius: 50%; flex: none; margin-top: 2px;
  background: #fff; border: 2px solid var(--line-strong); position: relative; z-index: 1;
}
.tline .tdot--on { border-color: var(--green); background: var(--mint); }
.tline .tdot--now { border-color: var(--green); background: var(--green); }
.tline div { min-width: 0; }
.tline strong { display: block; font-size: 11.5px; font-weight: 600; color: var(--text); }
.tline span {
  display: block; font-family: var(--font-mono); font-size: 9.5px;
  color: var(--muted-2); letter-spacing: .03em;
}

/* Floating callouts around hero mockup */
.float {
  position: absolute; z-index: 4;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 9px 12px;
  box-shadow: var(--sh-md);
  display: flex; align-items: center; gap: 10px;
  animation: bob 7s var(--ease) infinite;
  pointer-events: none;   /* decorative — must never block the slider */
}
.float__ico {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  background: var(--mint-2); color: var(--green-700);
  border: 1px solid rgba(14,159,110,.14);
}
.float__ico svg { width: 14px; height: 14px; }
.float__ico--sky { background: #EAF2FD; color: #0B5CB0; border-color: rgba(15,117,224,.14); }
.float__ico--amber { background: #FEF6E9; color: #8A5A08; border-color: rgba(240,160,42,.18); }
.float b {
  display: block; font-family: var(--font-display); font-size: 12px;
  font-weight: 680; color: var(--text); letter-spacing: -.01em; line-height: 1.25;
}
.float span {
  display: block; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin-top: 2px;
}
/* Bottom offsets are measured from the stage, which also contains the slider
   tabs and the sample-data note (~11% of stage height). The two bottom-anchored
   badges therefore start above that band — a decorative badge sitting on top of
   an interactive tab looks like a rendering bug even though it can't block the
   click (pointer-events: none). */
.float--wo  { top: 3%;    left: -6.5%;  animation-delay: -.6s; }
.float--inv { top: 25%;   right: -2.5%; animation-delay: -2.6s; }
.float--pro { bottom: 34%; left: -7.5%; animation-delay: -4.1s; }
.float--po  { bottom: 15%; right: -1.5%; animation-delay: -5.3s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* --- FEATURE CARD GRID -------------------------------------------------- */
.mod-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px; margin-top: 46px;
}
.mod {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  overflow: hidden;
}
.mod::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px 180px at 88% -14%, rgba(14,159,110,.09), transparent 70%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.mod:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: rgba(14,159,110,.34);
}
.mod:hover::after { opacity: 1; }
.mod__ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--mint-2); border: 1px solid rgba(14,159,110,.16);
  display: grid; place-items: center; color: var(--green-700);
  margin-bottom: 18px; position: relative; z-index: 1;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.mod__ico svg { width: 21px; height: 21px; }
.mod:hover .mod__ico { transform: scale(1.06) rotate(-3deg); background: var(--mint); }
/* 1.125rem, down from 1.25: the heading is now an outcome sentence rather than a
   one-word module name, so it needs to hold three lines without dominating. */
.mod h3 {
  margin-bottom: 9px; position: relative; z-index: 1;
  font-size: 1.125rem; line-height: 1.28;
}
.mod p {
  font-size: .9375rem; color: var(--muted); line-height: 1.58;
  margin-bottom: 16px; position: relative; z-index: 1;
}

/* Outcome leads, module name and capabilities follow. The name has to stay
   findable — a buyer scanning for "Procurement" must still hit it — so it sits
   in brand green above the capability chips rather than being dropped. */
.mod__name {
  position: relative; z-index: 1; margin-top: auto;
  padding-top: 15px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .625rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-700);
}
.mod__caps {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px;
}
.mod__caps li {
  font-size: .75rem; font-weight: 500; color: var(--text-2);
  background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: 6px; padding: 3px 8px;
}
.mod .tlink { position: relative; z-index: 1; font-size: .875rem; margin-top: 16px; }

/* --- PROBLEM SECTION ---------------------------------------------------- */
.prob-grid {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 4vw, 60px);
  align-items: start; margin-top: 44px;
}
.prob-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.prob-list li {
  display: flex; align-items: center; gap: 14px;
  background: #fff; padding: 15px 18px;
  transition: background-color .2s var(--ease);
}
.prob-list li:hover { background: #FEFCFB; }
.prob-list .sys {
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted-2);
  border: 1px dashed var(--line-strong); border-radius: 6px;
  padding: 4px 8px; flex: none; width: 104px; text-align: center;
}
.prob-list p { font-size: .9375rem; color: var(--text-2); }
.prob-list .x { margin-left: auto; color: #D9A08A; flex: none; }

.disconnect {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-sm);
}
.disconnect h3 { margin-bottom: 4px; font-size: 1.0625rem; }
.disconnect > p { font-size: .875rem; color: var(--muted); margin-bottom: 20px; }
.scatter {
  position: relative; height: 218px;
  border: 1px dashed var(--line-2); border-radius: var(--r); background: var(--bg-2);
  overflow: hidden;
}
.scatter .node {
  position: absolute; background: #fff; border: 1px solid var(--line-2);
  border-radius: 8px; padding: 7px 11px; box-shadow: var(--sh-xs);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.scatter .node--warn { border-color: #F0D2C4; color: #B4643F; }

/* Lane flow (connected) */
.lane {
  margin-top: 26px; background: var(--ink); border-radius: var(--r-lg);
  padding: 22px; position: relative; overflow: hidden;
}
.lane::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 160px at 20% 0%, rgba(14,159,110,.22), transparent 70%);
}
.lane h3 { color: #fff; position: relative; margin-bottom: 4px; font-size: 1.0625rem; }
.lane > p { position: relative; font-size: .875rem; color: var(--on-ink-mut); margin-bottom: 20px; }
.lane__track {
  position: relative; display: flex; align-items: center; gap: 0;
  overflow-x: auto; padding-bottom: 6px; scrollbar-width: none;
}
.lane__track::-webkit-scrollbar { display: none; }
.lane__node {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  flex: 0 1 auto; min-width: 62px; text-align: center;
}
.lane__dot {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center; color: var(--green-300);
  position: relative;
}
.lane__dot svg { width: 16px; height: 16px; }
.lane__node span {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em;
  text-transform: uppercase; color: #C7D3E3; line-height: 1.3;
}
.lane__link {
  flex: 1 1 18px; min-width: 12px; height: 1px; position: relative;
  background: rgba(255,255,255,.16); margin-top: -22px;
}
.lane__link::after {
  content: ""; position: absolute; top: -1.5px; left: 0;
  width: 22px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--green-300), transparent);
  animation: flow 2.6s linear infinite;
}
.lane__link:nth-of-type(2)::after { animation-delay: .35s; }
.lane__link:nth-of-type(3)::after { animation-delay: .7s; }
.lane__link:nth-of-type(4)::after { animation-delay: 1.05s; }
.lane__link:nth-of-type(5)::after { animation-delay: 1.4s; }
@keyframes flow {
  from { transform: translateX(-24px); opacity: 0; }
  20%, 80% { opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* --- ECOSYSTEM ORBIT ---------------------------------------------------- */
.orbit {
  position: relative; margin-top: 52px;
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px;
  align-items: stretch;
}
.orbit__core {
  grid-column: 2 / 4; grid-row: 2;
  background: var(--ink); border-radius: var(--r-lg);
  padding: 26px 22px; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  position: relative; overflow: hidden;
  box-shadow: var(--sh-lg);
}
.orbit__core::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(300px 160px at 50% 0%, rgba(14,159,110,.3), transparent 70%);
}
.orbit__core img { height: 34px; width: auto; position: relative; }
/* Square mark, so constrain both axes rather than letting height alone drive it. */
.orbit__core .orbit__mark { width: 38px; height: 38px; margin-bottom: 4px; }
.orbit__core p { font-size: .875rem; color: var(--on-ink-mut); position: relative; max-width: 34ch; }
.orbit__core .mono { color: var(--green-300); position: relative; }
.orb {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px; display: flex; flex-direction: column; gap: 9px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.orb:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: rgba(14,159,110,.3); }
.orb__ico {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--mint-2); border: 1px solid rgba(14,159,110,.14); color: var(--green-700);
}
.orb__ico svg { width: 17px; height: 17px; }
.orb strong { font-family: var(--font-display); font-size: .9375rem; font-weight: 680; color: var(--text); letter-spacing: -.014em; }
.orb span { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }

/* --- MANUFACTURING WORKFLOW STEPPER ------------------------------------ */
.mfg { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: clamp(24px, 3vw, 44px); margin-top: 46px; align-items: start; }
.steps {
  border-left: 1px solid var(--line); padding-left: 0; position: relative;
}
.step {
  position: relative; width: 100%; text-align: left;
  display: flex; gap: 13px; align-items: flex-start;
  padding: 11px 12px 11px 20px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  transition: background-color .22s var(--ease);
}
.step::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px;
  background: var(--green); transform: scaleY(0); transform-origin: top;
  transition: transform .3s var(--ease);
}
.step:hover { background: var(--bg-2); }
.step.is-on { background: var(--mint-2); }
.step.is-on::before { transform: scaleY(1); }
.step__n {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  color: var(--muted-2); flex: none; width: 20px; padding-top: 3px;
}
.step.is-on .step__n { color: var(--green); }
.step__t {
  font-family: var(--font-display); font-size: .9375rem; font-weight: 640;
  color: var(--text-2); letter-spacing: -.012em; line-height: 1.35;
}
.step.is-on .step__t { color: var(--green-700); }
.step__d { font-size: .8125rem; color: var(--muted); margin-top: 2px; display: block; }
.step__ico { margin-left: auto; color: var(--muted-2); opacity: 0; transition: opacity .2s var(--ease); flex: none; padding-top: 3px; }
.step.is-on .step__ico { opacity: 1; color: var(--green); }

.mfg__stage { position: relative; min-width: 0; }
.mfg__panes { position: relative; }
.pane { display: none; }
.pane.is-on { display: block; animation: paneIn .5s var(--ease-out) both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --- OPS → FINANCE MAPPING --------------------------------------------- */
.map { margin-top: 46px; display: grid; gap: 10px; }
.map__head {
  display: grid; grid-template-columns: minmax(0,1fr) 92px minmax(0,1fr); gap: 14px; align-items: center;
  padding-bottom: 6px;
}
.map__head span { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; }
.map__head span:first-child { color: var(--green-300); }
.map__head span:last-child { text-align: right; color: #7FB3FF; }
.mrow {
  display: grid; grid-template-columns: minmax(0,1fr) 92px minmax(0,1fr); gap: 14px; align-items: stretch;
}
.mcell {
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-sm);
  background: rgba(255,255,255,.035); padding: 13px 15px;
  display: flex; align-items: center; gap: 12px;
  transition: border-color .28s var(--ease), background-color .28s var(--ease), transform .28s var(--ease);
}
.mrow:hover .mcell { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.mcell__ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.mcell--ops .mcell__ico { background: rgba(14,159,110,.16); color: var(--green-300); }
.mcell--fin .mcell__ico { background: rgba(15,117,224,.16); color: #8FC0FF; }
.mcell__ico svg { width: 15px; height: 15px; }
.mcell b { display: block; font-family: var(--font-display); font-size: .9375rem; font-weight: 650; color: #fff; letter-spacing: -.014em; }
.mcell span { display: block; font-family: var(--font-mono); font-size: .5875rem; letter-spacing: .09em; text-transform: uppercase; color: var(--on-ink-mut); margin-top: 3px; }
.mcell--fin { justify-content: flex-end; text-align: right; }
.mcell--fin .mcell__ico { order: 2; }

.mwire { position: relative; display: grid; place-items: center; }
.mwire::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: linear-gradient(90deg, rgba(91,211,166,.45), rgba(143,192,255,.45));
}
.mwire i {
  position: absolute; top: calc(50% - 2.5px); left: 0;
  width: 5px; height: 5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px 2px rgba(255,255,255,.7);
  animation: wire 2.8s var(--ease) infinite;
}
.mrow:nth-child(2) .mwire i { animation-delay: .2s; }
.mrow:nth-child(3) .mwire i { animation-delay: .4s; }
.mrow:nth-child(4) .mwire i { animation-delay: .6s; }
.mrow:nth-child(5) .mwire i { animation-delay: .8s; }
.mrow:nth-child(6) .mwire i { animation-delay: 1s; }
.mrow:nth-child(7) .mwire i { animation-delay: 1.2s; }
@keyframes wire {
  0%   { left: 0; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: calc(100% - 5px); opacity: 0; }
}
.mwire__tag {
  position: relative; z-index: 1;
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--on-ink-mut);
  background: var(--ink); padding: 2px 7px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,.12);
}

/* --- AI SECTION -------------------------------------------------------- */
.ai-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.06fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.ai-caps { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 9px; margin-top: 28px; }
.ai-cap {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
  background: rgba(255,255,255,.035); padding: 11px 13px;
  font-size: .875rem; color: #DCE6F2; font-weight: 500;
  transition: border-color .24s var(--ease), background-color .24s var(--ease);
}
.ai-cap:hover { border-color: rgba(91,211,166,.4); background: rgba(14,159,110,.09); }
.ai-cap svg { color: var(--green-300); flex: none; width: 15px; height: 15px; }

.copilot {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 34px 70px -30px rgba(0,0,0,.7);
  backdrop-filter: blur(2px);
}
.copilot__bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 15px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.03);
}
.copilot__bar strong { font-family: var(--font-display); font-size: .875rem; color: #fff; font-weight: 650; letter-spacing: -.01em; }
.copilot__bar .mono { margin-left: auto; font-size: .625rem; color: var(--green-300); }
.copilot__ico {
  width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green), var(--teal)); color: #fff;
}
.copilot__ico svg { width: 14px; height: 14px; }
.copilot__body { padding: 16px; display: grid; gap: 12px; }
.bubble {
  border-radius: 12px; padding: 12px 14px; font-size: .8125rem; line-height: 1.55;
  max-width: 92%;
}
.bubble--user {
  margin-left: auto; background: rgba(255,255,255,.09); color: #EAF1F8;
  border: 1px solid rgba(255,255,255,.1); border-bottom-right-radius: 4px;
}
.bubble--ai {
  background: rgba(14,159,110,.1); border: 1px solid rgba(91,211,166,.26);
  color: #DCEFE6; border-bottom-left-radius: 4px;
}
.bubble--ai strong { color: #fff; font-weight: 650; }
.bubble ul { margin-top: 8px; display: grid; gap: 6px; }
.bubble li { display: flex; gap: 8px; align-items: flex-start; font-size: .78125rem; }
.bubble li svg { color: var(--green-300); flex: none; margin-top: 3px; width: 12px; height: 12px; }
.bubble__meta {
  margin-top: 11px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; gap: 8px; flex-wrap: wrap;
}
.bubble__meta .pill { background: rgba(255,255,255,.07); color: #B9C9DC; font-size: 9.5px; }
.typing { display: inline-flex; gap: 3px; align-items: center; padding: 2px 0; }
.typing i { width: 4px; height: 4px; border-radius: 50%; background: var(--green-300); animation: typing 1.3s var(--ease) infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typing { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.copilot__input {
  border-top: 1px solid rgba(255,255,255,.09); padding: 12px 15px;
  display: flex; align-items: center; gap: 10px;
  font-size: .8125rem; color: var(--on-ink-mut);
  background: rgba(0,0,0,.16);
}
.copilot__input .cursor { width: 1.5px; height: 14px; background: var(--green-300); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.copilot__input .send { margin-left: auto; width: 26px; height: 26px; border-radius: 7px; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }

/* --- AI SURFACE TABS: copilot / WhatsApp -------------------------------
   One shell, two channels. The tabs sit in the panel's own title bar so it
   reads as a product surface with two entry points, not two marketing cards. */
.cp__tabs { display: flex; gap: 4px; margin-left: auto; flex: none; }
.cp__tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: -.005em;
  color: var(--on-ink-mut); background: transparent;
  border: 1px solid transparent; white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.cp__tab svg { width: 14px; height: 14px; flex: none; }
.cp__tab:hover { color: #EAF1F8; background: rgba(255,255,255,.06); }
.cp__tab.is-on {
  color: #fff; background: rgba(14,159,110,.16);
  border-color: rgba(91,211,166,.34);
}
.cp__tab.is-on svg { color: var(--green-300); }
/* Both channels share one viewport height so switching tabs never shifts the
   page. The height is measured from the in-app panel at runtime, which makes
   the WhatsApp thread read the way a real long-running thread does: newest
   message at the bottom, older ones fading off the top edge. */
.cp__panel { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.copilot.is-synced .cp__panel { height: var(--cp-h); }
.cp__panel[hidden] { display: none; }
/* Genuinely scrollable rather than clipped: the fade implies history above,
   and a keyboard or screen-reader user can still reach it. overscroll-behavior
   stops the page from being hijacked once the thread hits its end. */
.cp__panel > .copilot__body,
.cp__panel > .wa {
  overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 34px);
          mask-image: linear-gradient(180deg, transparent 0, #000 34px);
}
/* The thread is a scroll container and therefore focusable — show it. */
.cp__panel > *:focus-visible { outline: 2px solid var(--green-300); outline-offset: -2px; }
.cp__panel > *::-webkit-scrollbar { width: 5px; }
.cp__panel > *::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 3px; }
.cp__panel > *::-webkit-scrollbar-track { background: transparent; }

/* WhatsApp thread. Deliberately not a WhatsApp brand reproduction — same
   ink palette as the rest of the section, with the message geometry and
   tick marks that make the channel instantly recognisable. */
.wa { padding: 14px 15px 4px; display: grid; gap: 9px; }
.wa__day {
  justify-self: center; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-mut);
  background: rgba(255,255,255,.06); border-radius: 6px; padding: 3px 9px; margin-bottom: 2px;
}
.wa__msg {
  position: relative; max-width: 84%; padding: 9px 12px 7px;
  border-radius: 11px; font-size: .8125rem; line-height: 1.5;
  border: 1px solid rgba(255,255,255,.09);
}
.wa__msg--in { background: rgba(255,255,255,.055); color: #E4ECF5; border-bottom-left-radius: 3px; }
.wa__msg--out {
  margin-left: auto; background: rgba(14,159,110,.16);
  border-color: rgba(91,211,166,.3); color: #E6F4EE; border-bottom-right-radius: 3px;
}
.wa__from {
  display: block; font-size: .6875rem; font-weight: 700; letter-spacing: -.005em;
  color: var(--green-300); margin-bottom: 3px;
}
.wa__msg b { color: #fff; font-weight: 650; }
.wa__t {
  display: flex; align-items: center; justify-content: flex-end; gap: 4px;
  margin-top: 5px; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .04em; color: rgba(255,255,255,.42);
}
.wa__t .tick { display: inline-flex; color: #5BD3A6; }
.wa__t .tick svg { width: 12px; height: 8px; }

/* A structured record returned into the chat — the point of the integration
   is that WhatsApp returns real ERP records, not free text. */
.wa__card {
  margin-top: 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px;
  background: rgba(0,0,0,.22); overflow: hidden;
}
.wa__card-h {
  display: flex; align-items: center; gap: 7px; padding: 7px 10px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green-300);
}
.wa__card-h .sp { margin-left: auto; color: var(--on-ink-mut); }
.wa__rows { display: grid; }
.wa__row {
  display: flex; align-items: center; gap: 8px; padding: 7px 10px;
  font-size: .75rem; color: #CFDCEA;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.wa__row:last-child { border-bottom: 0; }
.wa__row b { color: #fff; font-weight: 600; }
.wa__row .v {
  margin-left: auto; font-family: var(--font-mono); font-size: .6875rem;
  color: #fff; font-variant-numeric: tabular-nums; flex: none;
}
.wa__row .v--warn { color: var(--amber); }

/* Inline approval actions. Rendered as chips because that is how a
   WhatsApp reply keyboard actually appears. */
.wa__acts { display: flex; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.wa__act {
  font-size: .6875rem; font-weight: 650; padding: 5px 10px; border-radius: 7px;
  border: 1px solid rgba(91,211,166,.34); background: rgba(14,159,110,.14);
  color: #9FE7C8; white-space: nowrap;
}
.wa__act--ghost { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #B9C9DC; }
.wa__note {
  display: flex; align-items: flex-start; gap: 7px; padding: 11px 15px 13px;
  border-top: 1px solid rgba(255,255,255,.09); background: rgba(0,0,0,.16);
  font-size: .75rem; color: var(--on-ink-mut);
}
.wa__note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--green-300); }

/* Light variant, for the hero slider. The dark thread above lives inside an ink
   section; the hero is white, so every colour is re-derived rather than reused
   at low opacity — translucent whites over white produce mud. */
.wa--lt { background: #F3F6F4; border-radius: inherit; }
.wa--lt .wa__day { color: var(--muted-2); background: rgba(15,23,42,.05); }
.wa--lt .wa__msg { border-color: var(--line-2); }
.wa--lt .wa__msg--in { background: #fff; color: var(--text-2); }
.wa--lt .wa__msg--out { background: var(--mint); border-color: rgba(14,159,110,.24); color: #1A3D31; }
.wa--lt .wa__from { color: var(--green-700); }
.wa--lt .wa__msg b { color: var(--text); }
.wa--lt .wa__t { color: var(--muted-2); }
.wa--lt .wa__t .tick { color: var(--green); }
.wa--lt .wa__card { background: var(--bg-2); border-color: var(--line); }
.wa--lt .wa__card-h { color: var(--text-2); border-bottom-color: var(--line); }
.wa--lt .wa__card-h .sp { color: var(--muted); }
.wa--lt .wa__row { border-bottom-color: var(--line-2); }
.wa--lt .wa__row b { color: var(--text-2); }
.wa--lt .wa__row .v { color: var(--text); }
.wa--lt .wa__row .v--warn { color: #B84E27; }
.wa--lt .wa__act { border-color: rgba(14,159,110,.3); background: var(--mint); color: var(--green-700); }
.wa--lt .wa__act--ghost { border-color: var(--line-2); background: #fff; color: var(--text-2); }

/* The point of the slide is the handoff: a WhatsApp reply becomes an ERP
   record. This is the "→ posted to Suitelane" receipt under the thread. */
.wa__post {
  display: flex; align-items: center; gap: 9px; margin: 0 15px 14px;
  padding: 9px 11px; border-radius: 8px;
  background: #fff; border: 1px solid rgba(14,159,110,.26);
  box-shadow: 0 4px 14px -10px rgba(14,159,110,.5);
}
.wa__post svg { width: 15px; height: 15px; flex: none; color: var(--green-700); }
.wa__post strong { font-size: .75rem; font-weight: 650; color: var(--text); }
.wa__post span {
  margin-left: auto; font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--green-700);
  white-space: nowrap;
}

/* --- FOUR DIFFERENTIATORS ----------------------------------------------
   Asymmetric on purpose: 01 is the claim the whole product rests on, so it
   spans two columns and carries the chain graphic. 02-04 are supporting and
   sit in a row beneath. At one column everything stacks in order. */
.diffs {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px; margin-top: 40px;
}
.diff {
  position: relative; display: flex; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.diff:first-child { grid-column: span 3; }
.diff:hover {
  transform: translateY(-3px); box-shadow: var(--sh-md);
  border-color: rgba(14,159,110,.3);
}
.diff__n {
  flex: none; font-family: var(--font-mono); font-size: .6875rem; font-weight: 600;
  letter-spacing: .1em; color: var(--green-700);
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--mint-2); border: 1px solid rgba(14,159,110,.16);
}
.diff__b { min-width: 0; }
.diff__k {
  font-family: var(--font-mono); font-size: .625rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2);
  margin-bottom: 7px;
}
.diff__b h3 {
  font-size: 1.0625rem; line-height: 1.34; letter-spacing: -.015em;
  color: var(--text); margin-bottom: 8px;
}
.diff:first-child .diff__b h3 { font-size: 1.25rem; }
.diff__b > p { font-size: .875rem; line-height: 1.62; color: var(--muted); max-width: 62ch; }
.diff .tlink { margin-top: 14px; font-size: .875rem; }

/* The manufacturing chain. Scrolls rather than wrapping — the order is the
   point, and a wrapped sequence stops reading as a sequence. */
.dchain {
  display: flex; align-items: center; gap: 0; margin-top: 18px;
  overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
}
.dchain::-webkit-scrollbar { display: none; }
.dchain span {
  flex: 0 0 auto; padding: 7px 13px; border-radius: 8px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  font-family: var(--font-mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.dchain span + span { margin-left: 26px; position: relative; }
.dchain span + span::before {
  content: ""; position: absolute; left: -20px; top: 50%;
  width: 14px; height: 1px; background: var(--line-strong);
}
.dchain span + span::after {
  content: ""; position: absolute; left: -9px; top: 50%;
  width: 5px; height: 5px; transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong);
}
.dchain span:first-child { background: #fff; border-color: var(--line-strong); color: var(--text-2); }
.dchain span:last-child {
  background: var(--mint); border-color: rgba(14,159,110,.28);
  color: var(--green-700); font-weight: 600;
}

/* "One platform. One connected business." The summary line, so it gets the
   ink treatment — it closes the argument the four cards just made. */
.onep {
  margin-top: 16px; border-radius: var(--r-lg); background: var(--ink);
  padding: 30px 28px; text-align: center; position: relative; overflow: hidden;
}
.onep::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 200px at 50% -30%, rgba(14,159,110,.26), transparent 68%);
}
.onep__h {
  position: relative; font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem); font-weight: 650;
  letter-spacing: -.02em; color: #fff;
}
.onep__row {
  position: relative; display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px; margin-top: 18px;
}
.onep__row span {
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font-size: .8125rem; font-weight: 550; color: #E4ECF5; white-space: nowrap;
}
.onep__row i {
  font-style: normal; font-family: var(--font-mono); font-size: .8125rem;
  color: var(--green-300); opacity: .8;
}

/* --- LOGO STRIP --------------------------------------------------------
   Grayscale at rest so five unrelated brand palettes do not fight the page or
   each other; full colour on hover. Height-constrained rather than
   width-constrained, because these marks have very different aspect ratios and
   equal heights are what make a row of logos look deliberate. */
.logos { margin-bottom: 30px; }
.logos__k {
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px;
}
.logos__row {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 14px;
}
.logos__row li {
  flex: 1 1 150px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 16px 18px; min-height: 74px;
}
.logos__row img {
  display: block; width: auto; height: auto;
  max-height: 34px; max-width: 100%;
  filter: grayscale(1); opacity: .72;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.logos__row li:hover img { filter: none; opacity: 1; }
.logos__note {
  margin-top: 12px; font-size: .75rem; line-height: 1.55; color: var(--muted-2);
}

/* --- COMPARISON TABLE -------------------------------------------------- */
.cmp {
  margin-top: 46px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; overflow: hidden; box-shadow: var(--sh-sm);
}
.cmp table { width: 100%; border-collapse: collapse; }
.cmp__scroll { scrollbar-width: thin; }
.cmp__scroll:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.cmp__hint {
  display: none; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2);
  padding: 11px 16px 0;
}
.cmp th, .cmp td { padding: 15px 18px; text-align: left; vertical-align: middle; }
.cmp thead th {
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: .9375rem; font-weight: 650;
  color: var(--text-2); letter-spacing: -.012em;
}
.cmp thead th:first-child {
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted-2); font-weight: 500;
}
.cmp th.is-us {
  background: var(--ink); color: #fff; position: relative;
}
.cmp th.is-us .u-brand { display: flex; align-items: center; gap: 8px; }
.cmp th.is-us img { width: 20px; height: 20px; flex: none; }
.cmp th.is-us .brand__txt { font-size: 1rem; color: #fff; }
.cmp th.is-us .brand__txt i { color: rgba(255,255,255,.62); }
.cmp th.is-us .mono { color: var(--green-300); display: block; margin-top: 3px; font-size: .625rem; }
.cmp tbody tr { border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child { border-bottom: 0; }
.cmp tbody tr:hover { background: #FCFDFE; }
.cmp td:first-child { font-weight: 600; color: var(--text); font-size: .9375rem; }
.cmp td { font-size: .875rem; color: var(--muted); }
.cmp td.us {
  background: var(--mint-2); color: var(--green-700); font-weight: 600;
  border-left: 1px solid rgba(14,159,110,.16); border-right: 1px solid rgba(14,159,110,.16);
  position: relative;
}
.cmp tbody tr:last-child td.us { border-bottom: 1px solid rgba(14,159,110,.16); }
.cmp .cmark { display: inline-flex; align-items: center; gap: 8px; }
.cmp .cmark svg { flex: none; }
.cmp td.us .cmark svg { color: var(--green); }
.cmp td .cmark svg { color: var(--muted-2); }
.cmp__foot {
  border-top: 1px solid var(--line); padding: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: var(--bg-2);
}
.cmp__foot p { font-size: .875rem; color: var(--muted); }
.cmp__foot strong { color: var(--text); font-weight: 650; }

/* --- PRICING ----------------------------------------------------------- */
/* Single billing basis, stated once above the cards. Replaces the old
   monthly/annual toggle, which implied annual rates that don't exist. */
.price-basis {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 30px; font-size: .9375rem; color: var(--muted);
}
.price-basis strong { color: var(--text); font-weight: 650; }
.price-basis svg { color: var(--green-700); flex: none; }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 38px; align-items: start; }
.plan {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 22px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.plan:hover { box-shadow: var(--sh-md); border-color: var(--line-strong); }
.plan--pop {
  border-color: rgba(14,159,110,.4); box-shadow: var(--sh-md);
  position: relative;
}
.plan--pop::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,159,110,.07), transparent 30%);
}
.plan__tag {
  position: absolute; top: -1px; left: 22px;
  font-family: var(--font-mono); font-size: .625rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--green-700); color: #fff; padding: 4px 10px;
  border-radius: 0 0 7px 7px;
}
.plan h3 { font-size: 1.1875rem; margin-bottom: 5px; position: relative; }
.plan__for { font-size: .8125rem; color: var(--muted); min-height: 40px; line-height: 1.45; position: relative; }
/* Fixed block height so the feature lists start on the same line across all
   four cards, whether the price is a numeral or the words "Custom pricing". */
.plan__price {
  margin: 18px 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); position: relative;
  min-height: 104px;
}
.plan__amt {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 780;
  color: var(--text); letter-spacing: -.038em; line-height: 1;
  display: flex; align-items: baseline; gap: 6px;
}
.plan__amt .cur { font-size: 1.0625rem; font-weight: 650; color: var(--muted-2); }
/* "Custom pricing" replaces a numeral, so it is baseline-nudged to sit on the
   same optical line as the ₹ figures in the sibling cards. */
.plan__amt--tbd { font-size: 1.4rem; letter-spacing: -.02em; padding-block: 4px 3px; }
/* "/ user / month" gets its own line at full weight rather than being tucked
   beside the figure — per-user billing is the single most misread thing on a
   B2B pricing page, so it is never smaller than the supporting hint text. */
.plan__per {
  display: block; margin-top: 7px;
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 500;
  letter-spacing: .06em; color: var(--text-2);
}
.plan__hint { font-size: .75rem; color: var(--muted-2); margin-top: 6px; font-family: var(--font-mono); letter-spacing: .04em; }
.plan__feats { display: grid; gap: 10px; margin: 4px 0 22px; position: relative; }
.plan__feats li { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--text-2); line-height: 1.45; }
.plan__feats svg { color: var(--green); flex: none; margin-top: 3.5px; }
.plan__feats .inc-head {
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2); display: block; padding-top: 2px;
}
.plan .btn { margin-top: auto; position: relative; }
.plan__note { font-size: .6875rem; color: var(--muted-2); text-align: center; margin-top: 10px; position: relative; }

.price-foot {
  margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.price-foot h3 { margin-bottom: 4px; font-size: 1.125rem; }
.price-foot p { font-size: .9375rem; color: var(--muted); }

.gst-note {
  margin-top: 20px; text-align: center;
  font-size: .8125rem; color: var(--muted);
}

/* --- PRICING CALCULATOR ------------------------------------------------- */
.calc {
  margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; overflow: hidden;
}
.calc__head { padding: 24px 26px 0; }
.calc__head h3 { font-size: 1.1875rem; }
.calc__head p { font-size: .875rem; color: var(--muted); margin-top: 4px; }
.calc__body {
  display: grid; grid-template-columns: auto 1fr; gap: 26px 34px;
  align-items: end; padding: 20px 26px 24px;
}
.calc__lbl {
  display: block; margin-bottom: 9px;
  font-family: var(--font-mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2);
}

.stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2);
  overflow: hidden;
}
.stepper__b {
  width: 42px; height: 44px; display: grid; place-items: center;
  color: var(--text-2); transition: background-color .18s var(--ease), color .18s var(--ease);
}
.stepper__b:hover { background: var(--mint); color: var(--green-700); }
.stepper__in {
  width: 62px; height: 44px; text-align: center; border: 0; background: #fff;
  border-inline: 1px solid var(--line-2);
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700;
  color: var(--text); -moz-appearance: textfield;
}
.stepper__in::-webkit-outer-spin-button,
.stepper__in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.segs { display: inline-flex; gap: 7px; flex-wrap: wrap; }
.seg {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  padding: 8px 15px; border-radius: 10px;
  border: 1px solid var(--line-2); background: #fff;
  font-size: .875rem; font-weight: 600; color: var(--text-2);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.seg span {
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 500;
  color: var(--muted-2); letter-spacing: .02em;
}
.seg:hover { border-color: var(--line-strong); }
.seg.is-on { border-color: var(--green-700); background: var(--mint); color: var(--green-700); }
.seg.is-on span { color: var(--green-700); }

.calc__out {
  border-top: 1px solid var(--line); background: var(--bg-2);
  padding: 20px 26px;
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
}
/* The equation, not just the total: this is what teaches "per user". */
.calc__eq {
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em;
  color: var(--muted); flex: 1 1 100%;
}
.calc__total {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 800; letter-spacing: -.04em; color: var(--text);
  display: flex; align-items: baseline; gap: 5px; font-variant-numeric: tabular-nums;
}
.calc__total .cur { font-size: .5em; font-weight: 650; color: var(--muted-2); }
.calc__per {
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500;
  letter-spacing: .06em; color: var(--text-2); align-self: center;
}
.calc__tax { font-size: .75rem; color: var(--muted-2); font-family: var(--font-mono); letter-spacing: .04em; }
.calc__foot {
  padding: 16px 26px; border-top: 1px solid var(--line);
  font-size: .8125rem; color: var(--muted);
}

/* --- WHICH PLAN (decision guidance) ------------------------------------ */
.fit { margin-top: 54px; }
.fit__head { text-align: center; max-width: 60ch; margin: 0 auto 26px; }
.fit__head h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.fit__head p { font-size: .9375rem; color: var(--muted); margin-top: 7px; }
.fit__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; align-items: start; }
.fit__card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 20px 22px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.fit__card:hover { border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.fit__card--pop { border-color: rgba(14,159,110,.42); box-shadow: var(--sh-md); }
.fit__flag {
  position: absolute; top: -1px; left: 20px;
  font-family: var(--font-mono); font-size: .625rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--green-700); color: #fff; padding: 4px 10px;
  border-radius: 0 0 7px 7px;
}
/* Fixed height: the Custom card's worded rate is a smaller type size than the
   ₹ numerals (63px vs 70px natural), which would otherwise offset everything
   beneath it. Measured, not guessed. */
.fit__top { display: flex; flex-direction: column; gap: 5px; min-height: 70px; }
.fit__name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 750; letter-spacing: -.02em; color: var(--text); }
.fit__rate {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 780;
  letter-spacing: -.035em; color: var(--text); display: flex; align-items: baseline; gap: 4px;
}
.fit__rate .cur { font-size: .68em; font-weight: 650; color: var(--muted-2); }
.fit__rate em {
  font-style: normal; font-family: var(--font-mono); font-size: .625rem;
  font-weight: 500; letter-spacing: .05em; color: var(--text-2);
}
.fit__rate--custom { font-size: 1.0625rem; letter-spacing: -.02em; }
/* Reserve two lines: "For growing manufacturers" wraps at some widths and
   "For advanced operations" doesn't, which otherwise staggers the four
   "Best when" labels below. */
.fit__who {
  margin-top: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
  font-size: .8125rem; color: var(--muted); min-height: 40px;
}
.fit__when {
  margin-top: 14px;
  font-family: var(--font-mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2);
}
.fit__list { display: grid; gap: 8px; margin: 9px 0 16px; }
.fit__list li {
  position: relative; padding-left: 15px;
  font-size: .8125rem; color: var(--text-2); line-height: 1.5;
}
.fit__list li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--green);
}
.fit__roles {
  margin-top: auto; margin-bottom: 15px; padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: .75rem; color: var(--muted); line-height: 1.5;
}
.fit__roles span {
  display: block; margin-bottom: 4px;
  font-family: var(--font-mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2);
}
.fit__card .btn { margin-top: 0; }

/* --- TRIAL / 3 STEPS --------------------------------------------------- */
.trial {
  position: relative; overflow: hidden;
  background: var(--ink);
  border-radius: var(--r-2xl);
  padding: clamp(36px, 5vw, 62px);
  color: var(--on-ink-mut);
}
.trial::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(560px 260px at 12% 0%, rgba(14,159,110,.28), transparent 66%),
    radial-gradient(460px 240px at 92% 100%, rgba(15,117,224,.2), transparent 66%);
}
.trial::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 40%, #000, transparent 75%);
}
.trial__in { position: relative; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: clamp(32px, 4vw, 60px); align-items: center; }
.trial h2 { color: #fff; }
.trial .lede { color: #C3D1E2; margin-top: 18px; }
.trial .cta-row { margin-top: 28px; }
.trial__micro { margin-top: 16px; font-size: .8125rem; color: var(--on-ink-mut); display: flex; align-items: center; gap: 8px; }

.steps3 { display: grid; gap: 12px; }
.step3 {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid rgba(255,255,255,.11); border-radius: var(--r);
  background: rgba(255,255,255,.045); padding: 17px 19px;
  backdrop-filter: blur(3px);
  transition: border-color .26s var(--ease), transform .26s var(--ease);
}
.step3:hover { border-color: rgba(91,211,166,.45); transform: translateX(3px); }
.step3__n {
  width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: rgba(14,159,110,.18); border: 1px solid rgba(91,211,166,.3);
  color: var(--green-300); font-family: var(--font-mono); font-size: 12px; font-weight: 600;
}
.step3 strong { display: block; font-family: var(--font-display); font-size: 1rem; color: #fff; font-weight: 650; letter-spacing: -.016em; }
.step3 p { font-size: .875rem; color: var(--on-ink-mut); margin-top: 3px; }

/* --- DEMO FORM --------------------------------------------------------- */
.demo { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: clamp(32px, 4vw, 60px); align-items: start; }
.demo__side ul { display: grid; gap: 16px; margin-top: 28px; }
.demo__side li { display: flex; gap: 13px; align-items: flex-start; }
.demo__side li svg { color: var(--green); flex: none; margin-top: 3px; }
.demo__side strong { display: block; font-family: var(--font-display); font-size: .9375rem; color: var(--text); font-weight: 650; letter-spacing: -.014em; }
.demo__side span { display: block; font-size: .875rem; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.demo__aside {
  margin-top: 30px; padding: 18px; border-radius: var(--r);
  background: var(--bg-2); border: 1px solid var(--line);
}
.demo__aside p { font-size: .8125rem; color: var(--muted); }
.demo__aside .mono { display: block; margin-bottom: 7px; color: var(--green-700); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 34px); box-shadow: var(--sh-md);
  position: relative; overflow: hidden;
}
.fgrid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .8125rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.field label .req { color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: #fff; font-size: .9375rem; color: var(--text);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
  font-family: var(--font-body);
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.55; }
.field select {
  appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3.5px rgba(14,159,110,.13);
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid {
  border-color: #E0A288; box-shadow: 0 0 0 3.5px rgba(217,104,62,.09);
}
.field .err { font-size: .75rem; color: #B4643F; display: none; }
.field.has-err .err { display: block; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: #E0A288; }
.form-foot { margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
/* The <label> wraps both control and text, so the effective target is the full
   row — the box only needs to be visually comfortable, not 44px itself. */
.consent input { width: 19px; height: 19px; flex: none; margin: 1px 0 0; accent-color: var(--green); }
.consent a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-note { font-size: .75rem; color: var(--muted-2); display: flex; align-items: center; gap: 7px; }
.form-note svg { color: var(--green); flex: none; }

.form-ok {
  position: absolute; inset: 0; z-index: 3;
  background: #fff; display: none;
  flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 40px 30px; gap: 8px;
}
.form-ok.show { display: flex; animation: paneIn .45s var(--ease-out) both; }
.form-ok__ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--mint); color: var(--green-700); margin-bottom: 8px;
}
.form-ok h3 { font-size: 1.4rem; }
.form-ok p { font-size: .9375rem; color: var(--muted); max-width: 40ch; }
.form-ok .placeholder-note { margin-top: 12px; }

/* --- RESOURCES --------------------------------------------------------- */
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 42px; }
.res {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.res:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.res__art {
  height: 132px; position: relative; overflow: hidden;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
}
.res__art::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,23,42,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.res__art svg { position: relative; color: var(--green); opacity: .9; }
.res__art--a { background: linear-gradient(140deg, #EAF7F1, #F7FBFD); }
.res__art--b { background: linear-gradient(140deg, #EDF4FD, #F8FAFC); }
.res__art--c { background: linear-gradient(140deg, #F6F3EC, #FBFAF7); }
.res__art .kind {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .11em;
  text-transform: uppercase; font-weight: 600;
  background: #fff; color: var(--text-2); border: 1px solid var(--line);
  padding: 4px 8px; border-radius: 5px;
}
.res__in { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.res h3 { font-size: 1.0625rem; margin-bottom: 7px; }
.res p { font-size: .875rem; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.res__meta {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.res__meta .mono { font-size: .625rem; }

/* --- FAQ --------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: 340px minmax(0,1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.faq__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; padding: 19px 4px; text-align: left;
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 640;
  color: var(--text); letter-spacing: -.018em; line-height: 1.35;
  transition: color .2s var(--ease);
}
.faq__q:hover { color: var(--green-700); }
.faq__ico {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  color: var(--muted); margin-top: 1px;
  transition: transform .3s var(--ease), background-color .24s var(--ease), border-color .24s var(--ease), color .24s var(--ease);
}
.faq__item.open .faq__ico { transform: rotate(45deg); background: var(--mint); border-color: rgba(14,159,110,.28); color: var(--green-700); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .36s var(--ease); }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { font-size: .9375rem; color: var(--muted); line-height: 1.65; padding: 0 44px 21px 4px; max-width: 68ch; }
.faq__aside {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; padding: 24px; position: sticky; top: calc(var(--nav-h) + 22px);
}
.faq__aside h3 { font-size: 1.125rem; margin-bottom: 8px; }
.faq__aside p { font-size: .875rem; color: var(--muted); margin-bottom: 18px; }
.faq__aside .btn { width: 100%; }
.faq__aside .btn + .btn { margin-top: 9px; }

/* --- PROOF STRIP -------------------------------------------------------- */
/* Replaces the old logo-slot + empty-quote placeholder block. With no
   publishable customers yet, six dashed rectangles and three blank quote cards
   read as an unfinished site; stating what the product is instead reads as a
   confident one. Same slot in the page, same height budget. */
.proof { padding-block: clamp(40px, 4.5vw, 58px); border-block: 1px solid var(--line); background: var(--bg-2); }
.proof__head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.proof__head p { font-size: .875rem; color: var(--muted); }
.proof__lede { font-size: 1.0625rem; font-weight: 500; color: var(--text); max-width: 62ch; }
.proof__lede em { font-style: normal; color: var(--muted); font-weight: 450; }

.creds { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.cred {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 17px 16px 15px; display: flex; flex-direction: column; gap: 7px;
}
.cred__k {
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--green-700);
}
.cred strong { font-size: .9375rem; font-weight: 650; letter-spacing: -.008em; color: var(--text); }
.cred p { font-size: .8125rem; line-height: 1.55; color: var(--muted); }

/* --- STATS STRIP ------------------------------------------------------- */
.mini-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; margin-top: 46px;
}
.mini-stat { background: #fff; padding: 22px 20px; }
.mini-stat .mono { display: block; margin-bottom: 10px; }
.mini-stat strong {
  display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 750;
  color: var(--text); letter-spacing: -.032em; line-height: 1.05;
}
.mini-stat p { font-size: .8125rem; color: var(--muted); margin-top: 7px; line-height: 1.5; }

/* --- MANUFACTURING CONTROL TOWER ---------------------------------------
   A plant-floor board, not another light dashboard. Real control towers are
   dark and read from across a room, so this one is dark on an ink section:
   it differentiates itself from the executive dashboard further down the page
   while using the same data primitives (tracks, tables, pills). */
.tower {
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  box-shadow: 0 40px 80px -34px rgba(0,0,0,.72);
  overflow: hidden; backdrop-filter: blur(2px);
}
.tower__bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 13px 17px; border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
}
.tower__bar strong {
  font-family: var(--font-display); font-size: .875rem; font-weight: 650;
  color: #fff; letter-spacing: -.01em;
}
.tower__bar .mono { font-size: .625rem; color: var(--on-ink-mut); letter-spacing: .1em; }
.tower__ico {
  width: 26px; height: 26px; border-radius: 7px; flex: none; display: grid; place-items: center;
  background: rgba(14,159,110,.18); border: 1px solid rgba(91,211,166,.28); color: var(--green-300);
}
.tower__ico svg { width: 14px; height: 14px; }
/* Sample-data marker sits in the chrome, where a real product would show the
   environment name — the brief requires the figures be unmistakably demo. */
.tower__demo {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border-radius: 6px;
  background: rgba(240,160,42,.15); border: 1px solid rgba(240,160,42,.32);
  font-family: var(--font-mono); font-size: .625rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: #F5C577; white-space: nowrap;
}
.tower__demo::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: #F0A02A; flex: none;
}
.tower__body { padding: 17px; display: grid; gap: 13px; }

/* Five headline metrics. auto-fit so a sixth metric is a markup-only change. */
.tow-kpis {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 10px;
}
.tow-kpi {
  padding: 14px 15px 13px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.tow-kpi__l {
  font-family: var(--font-mono); font-size: .5875rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-mut);
}
.tow-kpi__v {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 750;
  letter-spacing: -.038em; line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.tow-kpi__v small { font-size: .5em; font-weight: 650; letter-spacing: -.01em; margin-left: 1px; }
.tow-kpi__m { font-size: .6875rem; color: var(--on-ink-mut); letter-spacing: .01em; }
/* Attention states. Colour alone never carries the meaning — the metre text
   states it too ("3 past promise date"), so this passes without colour vision. */
.tow-kpi--warn { border-color: rgba(240,160,42,.34); background: rgba(240,160,42,.09); }
.tow-kpi--warn .tow-kpi__v { color: #F7CE8A; }
.tow-kpi--good .tow-kpi__v { color: var(--green-300); }
.tow-kpi__bar { height: 4px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.tow-kpi__bar i {
  display: block; height: 100%; border-radius: 999px; background: var(--green-300);
  transform-origin: left; animation: growX 1.2s var(--ease-out) both;
}
.tow-kpi__bar i.amber { background: var(--amber); }

/* Work-order detail: the one card that proves the board drills to a document. */
.tow-cols { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 13px; }
.tow-card {
  padding: 15px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); min-width: 0;
}
.tow-card__h {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding-bottom: 12px; margin-bottom: 13px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.tow-card__h .wo-id {
  font-family: var(--font-mono); font-size: .8125rem; font-weight: 600;
  color: var(--green-300); letter-spacing: .02em;
}
.tow-card__h .wo-nm {
  font-family: var(--font-display); font-size: .9375rem; font-weight: 650; color: #fff;
  letter-spacing: -.012em;
}
.tow-card__h .mono { margin-left: auto; font-size: .5875rem; color: var(--on-ink-mut); letter-spacing: .1em; }

/* Planned / produced / remaining. Three numbers that must add up: 68 + 32 = 100. */
.wo-nums { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.wo-num { min-width: 0; }
.wo-num span {
  display: block; font-family: var(--font-mono); font-size: .5875rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-mut); margin-bottom: 5px;
}
.wo-num b {
  font-family: var(--font-display); font-size: 1.375rem; font-weight: 750; letter-spacing: -.03em;
  color: var(--on-ink); line-height: 1; font-variant-numeric: tabular-nums; display: block;
}
.wo-num--done b { color: var(--green-300); }
.wo-num--left b { color: #F7CE8A; }

.wo-prog { margin-top: 14px; }
.wo-prog__t {
  display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px;
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .06em; color: var(--on-ink-mut);
}
.wo-prog__t b { color: #fff; font-weight: 600; }
.wo-track { height: 7px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.wo-track i {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--green-300));
  transform-origin: left; animation: growX 1.3s var(--ease-out) both;
}

/* Status rows: material / quality / delivery. Each pairs a label with a state
   pill, and "At risk" gets its reason inline rather than a bare red flag. */
.wo-st { display: grid; gap: 1px; margin-top: 15px; background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.09); border-radius: 8px; overflow: hidden; }
.wo-st > li {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px;
  background: rgba(13,22,38,.55); font-size: .8125rem; color: var(--on-ink); min-width: 0;
}
.wo-st > li > span:first-child {
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--on-ink-mut); width: 74px; flex: none;
}
.wo-st .st-note { margin-left: auto; font-size: .75rem; color: var(--on-ink-mut); text-align: right; }
/* Dark-surface pills. The light .pill palette is unreadable here, so the three
   states used on this board are re-derived against the ink background. */
.pill--ok   { background: rgba(14,159,110,.18); border: 1px solid rgba(91,211,166,.34); color: #7FE0BB; }
.pill--risk { background: rgba(240,160,42,.16); border: 1px solid rgba(240,160,42,.34); color: #F7CE8A; }
.pill--info { background: rgba(15,117,224,.18); border: 1px solid rgba(96,165,250,.34); color: #9CC8F8; }

/* Live queue beside the work order — shows the board is a list, not one record. */
.tow-q { width: 100%; border-collapse: collapse; font-size: .75rem; }
.tow-q th {
  text-align: left; font-family: var(--font-mono); font-size: .5875rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-mut);
  padding: 0 8px 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); white-space: nowrap;
}
.tow-q td {
  padding: 8px 8px 8px 0; border-bottom: 1px solid rgba(255,255,255,.07);
  color: var(--on-ink); white-space: nowrap;
}
.tow-q tr:last-child td { border-bottom: 0; }
.tow-q .id { font-family: var(--font-mono); font-size: .6875rem; color: var(--green-300); }
.tow-q .nm { color: var(--on-ink); overflow: hidden; text-overflow: ellipsis; max-width: 0; width: 40%; }
.tow-q .num { text-align: right; font-family: var(--font-mono); font-size: .6875rem;
  font-variant-numeric: tabular-nums; color: var(--on-ink-mut); }
.tow-q tr.is-sel td { background: rgba(14,159,110,.1); }
.tow-q tr.is-sel .nm { color: #fff; font-weight: 600; }

.tower__foot {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 11px 17px; border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.16);
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .06em; color: var(--on-ink-mut);
}
.tower__foot b { color: var(--on-ink); font-weight: 600; }
.tower__foot .sp { margin-left: auto; }

/* --- ROLE-BASED VALUE ---------------------------------------------------
   Six roles, each with the one thing that role gets. auto-fit rather than
   repeat(3) so a seventh role is a markup-only change, and so the grid
   reflows to 2-up and 1-up without a breakpoint of its own. */
/* 320px, not 268: at the 1240 wrap this resolves to three columns, so six roles
   land 3 + 3 instead of 4 + 2 with a hole in the corner. Still auto-fit, so a
   seventh role and the 2-up / 1-up reflow both happen without touching CSS. */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.role {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.role:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: rgba(14,159,110,.32); }
/* A hairline that fills in on hover — the "lane" motif from the logo, used as a
   pointer affordance instead of another shadow. */
.role::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-300));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.role:hover::before { transform: scaleX(1); }
.role__top { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.role__ico {
  width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--mint-2); border: 1px solid rgba(14,159,110,.16); color: var(--green-700);
  transition: background-color .3s var(--ease);
}
.role__ico svg { width: 18px; height: 18px; }
.role:hover .role__ico { background: var(--mint); }
.role__who {
  font-family: var(--font-mono); font-size: .625rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2);
}
.role h3 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.014em; margin-bottom: 8px; }
.role p { font-size: .875rem; color: var(--muted); line-height: 1.6; }
/* What that role actually opens on day one. Ticks, not chips: these are the
   screens they use, and a list reads faster than a tag cloud at this size. */
.role__does { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); display: grid; gap: 7px; }
.role__does li {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: .8125rem; color: var(--text-2); line-height: 1.45;
}
.role__does li > span { min-width: 0; }
.role__does svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--green-700); }

/* --- WHATSAPP SECTION ---------------------------------------------------
   Split layout: the five-step handoff on the left, the conversation as it
   actually appears on a phone on the right. The hero slider already shows the
   WhatsApp flow inside the ERP; this shows it from the CUSTOMER's side, which
   is the differentiator — so a phone frame rather than another app window. */
.waz { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.82fr); gap: clamp(32px,4.5vw,64px); align-items: center; }

/* Five numbered steps, vertical, with a connecting rail. */
.wflow { display: grid; gap: 0; margin-top: 30px; }
.wstep { position: relative; display: flex; gap: 14px; padding-bottom: 20px; }
.wstep:last-child { padding-bottom: 0; }
/* The rail. Drawn on the step rather than the container so the last step
   doesn't trail a stub below its own marker. */
.wstep:not(:last-child)::before {
  content: ""; position: absolute; left: 15px; top: 32px; bottom: 4px; width: 1px;
  background: linear-gradient(180deg, rgba(91,211,166,.5), rgba(255,255,255,.1));
}
.wstep__n {
  width: 31px; height: 31px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .625rem; font-weight: 600; letter-spacing: .04em;
  background: rgba(14,159,110,.16); border: 1px solid rgba(91,211,166,.34); color: var(--green-300);
}
/* The last step is the payoff (the ERP record), so it is solid rather than
   outlined — the eye should land there. */
.wstep:last-child .wstep__n { background: var(--green); border-color: var(--green); color: #fff; }
.wstep__b { min-width: 0; padding-top: 4px; }
.wstep__b strong {
  display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 650;
  letter-spacing: -.014em; color: #fff; margin-bottom: 4px;
}
.wstep__b span { display: block; font-size: .875rem; line-height: 1.55; color: var(--on-ink-mut); }

/* Phone frame. Deliberately restrained: a bezel and a status bar, no notch
   drawing or fake carrier logos — the content is the point. */
.phone {
  width: 100%; max-width: 336px; margin-inline: auto;
  border-radius: 34px; padding: 9px;
  background: linear-gradient(160deg, #1E2A3E, #0E1626);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 46px 90px -34px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.09);
}
.phone__scr {
  border-radius: 26px; overflow: hidden; background: #0A121F;
  border: 1px solid rgba(255,255,255,.07);
}
.phone__bar {
  display: flex; align-items: center; gap: 9px; padding: 12px 14px 11px;
  background: rgba(255,255,255,.045); border-bottom: 1px solid rgba(255,255,255,.08);
}
.phone__av {
  width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--green); color: #fff;
}
.phone__av svg { width: 15px; height: 15px; }
.phone__who { min-width: 0; }
.phone__who strong {
  display: block; font-size: .8125rem; font-weight: 650; color: #fff; letter-spacing: -.008em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.phone__who span {
  display: block; font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--green-300); margin-top: 2px;
}
.phone__wa { margin-left: auto; flex: none; color: #4E7F68; }
.phone__wa svg { width: 17px; height: 17px; }
/* The thread scrolls inside the frame on small screens rather than making the
   phone taller than the viewport. */
.phone .wa { padding: 14px 13px 12px; }
.phone__foot {
  display: flex; align-items: center; gap: 8px; padding: 10px 13px;
  border-top: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03);
  font-size: .75rem; color: rgba(255,255,255,.34);
}
.phone__foot .send {
  margin-left: auto; width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--green); color: #fff; display: grid; place-items: center;
}
.phone__foot .send svg { width: 13px; height: 13px; }

/* --- MIGRATION & IMPLEMENTATION ----------------------------------------
   Two migration paths (spreadsheets, another ERP) plus the go-live steps, in
   one section rather than three — the brief asks for all three but also warns
   against an unnecessarily long homepage, and they answer one question. */
.mig { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.mig-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; display: flex; flex-direction: column;
}
.mig-card__h { display: flex; align-items: center; gap: 11px; margin-bottom: 7px; flex-wrap: wrap; }
.mig-card__ico {
  width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: var(--mint-2); border: 1px solid rgba(14,159,110,.16); color: var(--green-700);
}
.mig-card__ico svg { width: 17px; height: 17px; }
.mig-card h3 { font-size: 1.0625rem; letter-spacing: -.014em; }
.mig-card > p { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* The path. Horizontal on wide cards, and it scrolls rather than wrapping into
   an unreadable zigzag — the sequence has to stay legible as a sequence. */
.path {
  display: flex; align-items: stretch; gap: 0; margin: 18px 0 0;
  overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
}
.path::-webkit-scrollbar { display: none; }
.path__s {
  flex: 1 1 0; min-width: 74px; display: flex; flex-direction: column; gap: 7px;
  align-items: center; text-align: center;
}
.path__b {
  width: 100%; min-height: 40px; display: grid; place-items: center; padding: 8px 6px;
  border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line-2);
  font-family: var(--font-mono); font-size: .5875rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase; color: var(--muted); line-height: 1.35;
}
/* First and last box are the endpoints — where the data is now, and where it
   ends up. Marking them stops the row reading as five equal boxes. */
.path__s:first-child .path__b { background: #fff; border-color: var(--line-strong); color: var(--text-2); }
.path__s:last-child .path__b {
  background: var(--mint); border-color: rgba(14,159,110,.28);
  color: var(--green-700); font-weight: 600;
}
.path__a {
  flex: 0 0 20px; display: grid; place-items: center; color: var(--line-strong);
  min-height: 40px; margin-top: 0;
}
.path__a svg { width: 14px; height: 14px; }

.mig-card__what { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.mig-card__what > span {
  display: block; margin-bottom: 9px;
  font-family: var(--font-mono); font-size: .5875rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2);
}
.mig-card__what ul { display: flex; flex-wrap: wrap; gap: 6px; }
.mig-card__what li {
  font-size: .75rem; font-weight: 500; color: var(--text-2);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 9px;
}
.mig-card .tlink { margin-top: auto; padding-top: 18px; font-size: .875rem; }

/* Go-live steps. Five equal columns with a rail behind the markers — a
   sequence, not five cards, because the order is the message. */
.golive {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 0;
  margin-top: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.gostep {
  padding: 22px 20px; border-right: 1px solid var(--line); position: relative;
}
.gostep:last-child { border-right: 0; }
.gostep__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 27px; height: 27px; border-radius: 50%; margin-bottom: 13px;
  background: var(--bg-2); border: 1px solid var(--line-2);
  font-family: var(--font-mono); font-size: .625rem; font-weight: 600; color: var(--muted);
}
.gostep:last-child .gostep__n {
  background: var(--green-700); border-color: var(--green-700); color: #fff;
}
.gostep strong {
  display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 650;
  letter-spacing: -.014em; color: var(--text); margin-bottom: 6px;
}
.gostep p { font-size: .8125rem; color: var(--muted); line-height: 1.55; }

/* --- TRUST / DATA OWNERSHIP --------------------------------------------
   Deliberately plain. A trust section that shouts is less trustworthy, and
   with no certifications to display there are no badges to show — so this is
   typography and hairlines rather than shields and seals. */
.trust-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px,4vw,56px); }
.tcards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; }
.tcard { background: #fff; padding: 19px 20px; display: flex; gap: 13px; }
.tcard__ico {
  width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: var(--mint-2); border: 1px solid rgba(14,159,110,.16); color: var(--green-700);
}
.tcard__ico svg { width: 16px; height: 16px; }
.tcard__b { min-width: 0; }
.tcard__b strong {
  display: block; font-family: var(--font-display); font-size: .9375rem; font-weight: 650;
  letter-spacing: -.01em; color: var(--text); margin-bottom: 5px;
}
.tcard__b p { font-size: .8125rem; line-height: 1.6; color: var(--muted); }
/* Roadmap variant — same row, visibly not a claim. */
.tcard--soon .tcard__ico { background: #FDF3E1; border-color: rgba(240,160,42,.24); color: #8A5A08; }

/* Data-ownership statements. A definition list because that is what they are:
   a term and the plain-English position on it. */
.own { display: grid; gap: 0; margin-top: 22px; }
.own > div { padding: 15px 0; border-top: 1px solid var(--line); }
.own > div:last-child { border-bottom: 1px solid var(--line); }
.own dt {
  font-family: var(--font-mono); font-size: .625rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); margin-bottom: 6px;
}
.own dd { font-size: .875rem; line-height: 1.62; color: var(--muted); }
.own dd b { color: var(--text); font-weight: 600; }
