/* =========================================================
   Analytics & BI — product page
   Self-contained by design: every page keeps its own stylesheet.
   The product-page foundation (type, sections, buttons, FAQ) is
   copied from the other product pages so they read as one
   system; blocks only this page uses are prefixed .ab-.
   Loaded after /index.css (palette, fonts, nav, footer, --u).
   ========================================================= */

.cos {
  --k: var(--u);
  --pad: calc(67 * var(--u));

  --ui-line:  #eaeaea;
  --ui-soft:  #f6f6f3;
  --ui-text:  #2a2a2a;
  --ui-muted: #6d6d6d;
  --ui-faint: #9a9a9a;
  --lime-tint: #effcb5;
  --lime-ink:  #3f5a00;
  --lime-wash: #fbfff0;
  --amber:  #fff1d2;  --amber-ink:  #8a5600;
  --rose:   #ffe8e4;  --rose-ink:   #b23a2c;
  --cyan:   #ddf4fa;  --cyan-ink:   #0e7490;
  --violet: #efe6fa;  --violet-ink: #6b3fa0;
  --wa:     #e3f6e8;  --wa-ink:     #1e7f45;
  --ui-shadow: 0 1px 2px rgba(17, 19, 24, .04), 0 32px 64px -40px rgba(17, 19, 24, .26);
  --ease: cubic-bezier(.2, .8, .2, 1);

  display: block;
}

.cos section[id] { scroll-margin-top: calc(40 * var(--u)); }
.cos figure { margin: 0; }      /* UA default is 1em 40px; figures needing a margin use figure.<class> */
.cos .i {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.cos .btn .i { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.cos .sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================
   TYPE
   ========================================================= */
.cos-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: calc(10 * var(--u));
  margin: 0 0 calc(24 * var(--u));
  font-size: calc(15 * var(--u));
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--lime-ink);
}
.cos-eyebrow::before {
  content: "";
  width: calc(9 * var(--u));
  height: calc(9 * var(--u));
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 calc(3 * var(--u)) var(--lime-tint);
}

.cos-h1, .cos-h2, .cos-h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
}
.cos-h1 { font-size: calc(80 * var(--u)); line-height: calc(86 * var(--u)); letter-spacing: -0.04em; }
.cos-h2 { font-size: calc(56 * var(--u)); line-height: calc(64 * var(--u)); letter-spacing: -0.035em; }
.cos-h3 { font-size: calc(36 * var(--u)); line-height: calc(44 * var(--u)); letter-spacing: -0.03em; }
.cos .dim { color: #8c8c8c; }
.cos-body {
  margin: calc(14 * var(--u)) 0 0;
  font-size: calc(18 * var(--u));
  line-height: calc(29 * var(--u));
  color: var(--muted);
}

.cos-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(20 * var(--u)) calc(20 * var(--u));
  margin-top: calc(36 * var(--u));
}
.cos-link {
  display: inline-flex;
  align-items: center;
  gap: calc(10 * var(--u));
  padding-bottom: calc(3 * var(--u));
  border-bottom: 1px solid currentColor;
  font-size: calc(19 * var(--u));
  font-weight: 500;
  color: var(--ink);
}
.cos-link .i { width: calc(18 * var(--u)); height: calc(18 * var(--u)); transition: transform .2s var(--ease); }
.cos-link:hover .i { transform: translateX(3px); }
.os-link { margin-top: calc(22 * var(--u)); }

/* outline button — on the brand sheet; lives here until a second page needs it */
.btn--line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #d9d9d9;
}
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink); }

/* "Start free. Pay as you use." */
.os-note {
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--u));
  margin: calc(22 * var(--u)) 0 0;
  font-size: calc(16 * var(--u));
  font-weight: 500;
  color: var(--muted);
}
.os-note .i {
  width: calc(18 * var(--u)); height: calc(18 * var(--u));
  padding: calc(3 * var(--u));
  border-radius: 50%;
  background: var(--lime-tint);
  color: var(--lime-ink);
  stroke-width: 2.4;
}

/* a closing statement under a visual */
.os-say {
  max-width: calc(900 * var(--u));
  margin: calc(88 * var(--u)) 0 0;
  font-family: var(--font-head);
  font-size: calc(36 * var(--u));
  line-height: calc(44 * var(--u));
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.os-say--center { margin-left: auto; margin-right: auto; text-align: center; }

/* heading left, copy right — the opener every section uses */
.sec-head,
.os-keyline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(470 * var(--u));
  column-gap: calc(80 * var(--u));
  align-items: end;
}
.sec-head .cos-h2 { max-width: calc(820 * var(--u)); }
.sec-head__copy > :first-child { margin-top: 0; }

/* =========================================================
   SECTIONS
   ========================================================= */
.cos-sec {
  position: relative;
  padding: calc(136 * var(--u)) var(--pad);
  border-top: 1px solid var(--rule);
}
figure.os-figure { margin-top: calc(88 * var(--u)); }

/* ---------- image placeholders ---------- */
.os-ph {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: calc(14 * var(--u));
  padding: calc(24 * var(--u));
  border: 1px dashed #cfcfca;
  border-radius: calc(12 * var(--u));
  background:
    repeating-linear-gradient(135deg, transparent 0 calc(14 * var(--u)), rgba(17, 19, 24, .025) calc(14 * var(--u)) calc(15 * var(--u))),
    #fafaf8;
  color: var(--muted);
}
.os-ph > .i { width: calc(30 * var(--u)); height: calc(30 * var(--u)); color: var(--ui-faint); stroke-width: 1.5; }
.os-ph figcaption { font-size: calc(15 * var(--u)); line-height: 1.5; }
.os-ph figcaption b {
  display: block;
  margin-bottom: calc(6 * var(--u));
  font-size: calc(12 * var(--u));
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ui-faint);
}

/* ---------- 01 hero ---------- */
.cos-hero {
  position: relative;
  padding: calc(104 * var(--u)) var(--pad) calc(128 * var(--u));
}
.cos-hero__grid {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: calc(620 * var(--u));
  pointer-events: none;
  background-image:
    linear-gradient(to right,  var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: calc(100% / 11) calc(620 * var(--u) / 5);
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
}
.cos-hero__intro {
  max-width: calc(760 * var(--u));
  margin: calc(34 * var(--u)) 0 0;
  font-size: calc(24 * var(--u));
  line-height: calc(34 * var(--u));
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cos-hero .cos-cta { margin-top: calc(44 * var(--u)); }

/* ---------- small labels row ---------- */

/* ---------- 13 FAQ ---------- */
.os-faq {
  display: grid;
  grid-template-columns: calc(440 * var(--u)) minmax(0, 1fr);
  column-gap: calc(80 * var(--u));
  align-items: start;
}
.os-faq__intro { position: sticky; top: calc(56 * var(--u)); }
.os-faq__intro .cos-body { margin-top: calc(22 * var(--u)); }
.os-faq__intro .os-link { margin-top: calc(10 * var(--u)); }
.os-qa { border-bottom: 1px solid var(--rule); }
.os-qa:first-child { border-top: 1px solid var(--rule); }
.os-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(24 * var(--u));
  padding: calc(26 * var(--u)) 0;
  font-family: var(--font-head);
  font-size: calc(22 * var(--u));
  line-height: calc(30 * var(--u));
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
.os-qa summary::-webkit-details-marker { display: none; }
.os-qa summary:focus-visible { outline: 2px solid var(--lime-ico); outline-offset: 4px; border-radius: 4px; }
.os-qa__icon {
  position: relative;
  flex: none;
  width: calc(36 * var(--u));
  height: calc(36 * var(--u));
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: background-color .2s ease, border-color .2s ease, transform .3s var(--ease);
}
.os-qa__icon::before,
.os-qa__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: calc(12 * var(--u));
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.os-qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.os-qa summary:hover .os-qa__icon { border-color: var(--lime-ico); }
.os-qa[open] .os-qa__icon { transform: rotate(45deg); background: var(--lime); border-color: var(--lime); }
.os-qa__a p {
  max-width: calc(760 * var(--u));
  margin: 0;
  padding: 0 calc(60 * var(--u)) calc(28 * var(--u)) 0;
  font-size: calc(18 * var(--u));
  line-height: calc(29 * var(--u));
  color: var(--muted);
}

/* ---------- 14 final call to action ---------- */
.cos-final {
  position: relative;
  isolation: isolate;
  padding: calc(152 * var(--u)) var(--pad) calc(160 * var(--u));
  border-top: 1px solid var(--rule);
  text-align: center;
}
.cos-final__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right,  var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: calc(100% / 11) calc(100% / 5);
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(58% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(58% 70% at 50% 50%, #000, transparent);
}
.cos-final .cos-h2 { font-size: calc(68 * var(--u)); line-height: calc(74 * var(--u)); }
.cos-final .cos-body { max-width: calc(720 * var(--u)); margin: calc(20 * var(--u)) auto 0; font-size: calc(21 * var(--u)); }
.cos-final .cos-cta { justify-content: center; margin-top: calc(44 * var(--u)); }

/* =========================================================
   PRODUCT UI — shared pieces. Every size inside a screen is --k.
   ========================================================= */
.app {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ui-line);
  border-radius: calc(18 * var(--k));
  background: #fff;
  box-shadow: var(--ui-shadow);
  font-family: var(--font-body);
  font-size: calc(14 * var(--k));
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ui-text);
  text-align: left;
}
.app p { margin: 0; }
.app__top {
  display: flex;
  align-items: center;
  gap: calc(16 * var(--k));
  height: calc(58 * var(--k));
  padding: 0 calc(18 * var(--k));
  border-bottom: 1px solid var(--ui-line);
}
.app__top--slim { height: calc(52 * var(--k)); }
.app__crumb { display: inline-flex; align-items: center; gap: calc(6 * var(--k)); font-size: calc(13 * var(--k)); color: var(--ui-muted); white-space: nowrap; }
.app__crumb b { color: var(--ink); font-weight: 600; }
.app__crumb .i { width: calc(13 * var(--k)); height: calc(13 * var(--k)); color: var(--ui-faint); }

.av {
  display: inline-grid; place-items: center; flex: none;
  width: calc(28 * var(--k)); height: calc(28 * var(--k));
  border-radius: 50%; background: #eeeeea;
  font-size: calc(10.5 * var(--k)); font-weight: 700; letter-spacing: 0; color: var(--ui-text);
}
.av--lime   { background: var(--lime-tint); color: var(--lime-ink); }
.av--cyan   { background: var(--cyan);      color: var(--cyan-ink); }
.av--violet { background: var(--violet);    color: var(--violet-ink); }

.tag {
  display: inline-flex; align-items: center; gap: calc(5 * var(--k));
  height: calc(24 * var(--k)); padding: 0 calc(9 * var(--k));
  border-radius: 999px; background: #f1f1ed;
  font-size: calc(12 * var(--k)); font-weight: 500; color: var(--ui-text); white-space: nowrap;
}
.tag .i { width: calc(12 * var(--k)); height: calc(12 * var(--k)); }
.tag--lime  { background: var(--lime-tint); color: var(--lime-ink); }
.tag--amber { background: var(--amber);     color: var(--amber-ink); }

.chip {
  display: inline-flex; align-items: center; gap: calc(6 * var(--k));
  height: calc(30 * var(--k)); padding: 0 calc(10 * var(--k));
  border: 1px solid var(--ui-line); border-radius: calc(8 * var(--k));
  background: #fff; font-size: calc(12.5 * var(--k)); color: var(--ui-text); white-space: nowrap;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.chip .i { width: calc(14 * var(--k)); height: calc(14 * var(--k)); color: var(--ui-faint); }
.chip.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip.is-on .i { color: var(--lime); }

.mini-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: calc(7 * var(--k));
  height: calc(34 * var(--k)); padding: 0 calc(13 * var(--k));
  border-radius: calc(9 * var(--k)); background: var(--ink); color: var(--lime);
  font-size: calc(13 * var(--k)); font-weight: 500; white-space: nowrap;
}
.mini-btn .i { width: calc(15 * var(--k)); height: calc(15 * var(--k)); }
.mini-btn--lime { background: var(--lime); color: var(--ink); }

.ch {
  display: inline-grid; place-items: center; flex: none;
  width: calc(26 * var(--k)); height: calc(26 * var(--k));
  border-radius: calc(7 * var(--k)); background: #f2f2ef; color: var(--ui-muted);
}
.ch .i { width: calc(14 * var(--k)); height: calc(14 * var(--k)); }
.muted { color: var(--ui-muted); }
.proc__bar { display: block; height: calc(6 * var(--k)); border-radius: 99px; background: #eeeeea; overflow: hidden; }
.proc__bar i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--lime-ico); }

/* chat */

/* chat column, composer and highlighted numbers (from the Customer OS screens) */
.os-compose {
  display: flex; align-items: center; justify-content: space-between;
  height: calc(46 * var(--k)); margin: 0 calc(18 * var(--k)) calc(18 * var(--k)); padding: 0 calc(6 * var(--k)) 0 calc(14 * var(--k));
  border: 1px solid var(--ui-line); border-radius: calc(12 * var(--k)); background: #fff;
  font-size: calc(13 * var(--k)); color: var(--ui-faint);
}
.os-compose .mini-btn { width: calc(34 * var(--k)); padding: 0; }

/* ---------- 13 related ---------- */
.os-related { padding-top: calc(104 * var(--u)); padding-bottom: calc(112 * var(--u)); }
.os-rel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(16 * var(--u));
  margin: calc(40 * var(--u)) 0 0;
  padding: 0;
  list-style: none;
}
.os-relcard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: calc(26 * var(--u));
  border: 1px solid var(--rule);
  border-radius: calc(14 * var(--u));
  transition: border-color .2s ease;
}
.os-relcard:hover { border-color: var(--divider); }
.os-relcard__ico {
  display: grid;
  place-items: center;
  width: calc(44 * var(--u));
  height: calc(44 * var(--u));
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .2s ease, border-color .2s ease;
}
.os-relcard__ico .i { width: calc(19 * var(--u)); height: calc(19 * var(--u)); }
.os-relcard:hover .os-relcard__ico { background: var(--lime); border-color: var(--lime); }
.os-relcard__name {
  margin-top: calc(22 * var(--u));
  font-size: calc(14 * var(--u));
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.os-relcard b {
  margin: calc(10 * var(--u)) 0 calc(30 * var(--u));
  font-family: var(--font-head);
  font-size: calc(22 * var(--u));
  line-height: calc(29 * var(--u));
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.os-relcard__go {
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--u));
  margin-top: auto;
  font-size: calc(16 * var(--u));
  font-weight: 500;
  color: var(--ink);
}
.os-relcard__go .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); transition: transform .2s var(--ease); }
.os-relcard:hover .os-relcard__go .i { transform: translateX(3px); }


/* =========================================================
   ANALYTICS & BI — page blocks
   One motif runs through the page: black points and thin lines
   (signals) that lime paths connect, section by section, until
   they resolve into one network. Heads are stacked (owner rule).
   ========================================================= */
.ab .sec-head { display: block; }
.ab .sec-head .cos-h2 { max-width: calc(980 * var(--u)); }
.ab .sec-head__copy { max-width: calc(780 * var(--u)); margin-top: calc(22 * var(--u)); }
.ab-note__mark img { filter: invert(1); }

/* the thread: each section continues the line from the one above */
.ab-sec::before { content: ""; position: absolute; left: calc(var(--pad) + 4 * var(--u)); top: 0; width: 1px; height: calc(120 * var(--u)); background: linear-gradient(rgba(165, 205, 78, 0), var(--lime-ico)); }
#faq.ab-sec::before { display: none; }

/* shared motif */
.ab-dot { fill: var(--ink); }
.ab-dot--soft { fill: #c9c9c3; }
.ab-faint { stroke: #e3e3dd; stroke-width: 1; }
.ab-glyph { fill: #bdbdb6; }
.ab-glyph-l, .ab-glyph-l line { fill: none; stroke: #bdbdb6; stroke-width: 1.4; stroke-linecap: round; }
.ab-path { fill: none; stroke: var(--lime-ico); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ab-node { fill: var(--lime); stroke: var(--ink); stroke-width: 1.6; }
.ab-n { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.ab-base { fill: none; stroke: #e6e6e0; stroke-width: 1.4; }
.ab-join { fill: none; stroke: var(--lime-ico); stroke-width: 2.2; stroke-linecap: round; }
.ab-flow { fill: none; stroke: var(--lime); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 0.1 99.9; opacity: 0; }

/* ---------- 01 hero ---------- */
.ab-hero { padding-bottom: calc(96 * var(--u)); }
.ab-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) calc(600 * var(--u)); column-gap: calc(72 * var(--u)); align-items: center; }
.ab-hero__copy .cos-hero__intro { max-width: calc(620 * var(--u)); font-size: calc(20 * var(--u)); line-height: calc(31 * var(--u)); }
figure.ab-sky { margin: 0; }
.ab-sky__svg { display: block; width: 100%; height: auto; overflow: visible; }

/* ---------- 02 the connection ---------- */
.ab-streams { display: grid; grid-template-columns: calc(420 * var(--u)) minmax(0, 1fr); column-gap: calc(56 * var(--u)); margin-top: calc(72 * var(--u)); }
.ab-streams__txt { display: grid; grid-template-rows: repeat(3, 1fr); }
.ab-st { align-self: center; padding: calc(10 * var(--u)) 0; }
.ab-st__k { margin: 0; font-size: calc(13 * var(--u)); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime-ink); }
.ab-st__h { margin: calc(8 * var(--u)) 0 0; font-family: var(--font-head); font-size: calc(22 * var(--u)); line-height: calc(29 * var(--u)); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.ab-st__p { margin: calc(8 * var(--u)) 0 0; font-size: calc(15 * var(--u)); line-height: calc(23 * var(--u)); color: var(--muted); }
.ab-mini, .ab-meet { display: none; }
figure.ab-streams__fig { position: relative; margin: 0; aspect-ratio: 900 / 600; align-self: center; }
.ab-streams__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ab-tick { stroke: #bdbdb6; stroke-width: 2; stroke-linecap: round; }
.ab-arc { fill: none; stroke: #cfcfca; stroke-width: 1.4; stroke-dasharray: 3 4; }
.ab-step { fill: none; stroke: #cfcfca; stroke-width: 1.6; }
.ab-focal { fill: var(--lime-wash); stroke: var(--lime-ico); stroke-width: 2; }
.ab-focal__c { fill: var(--ink); }
.ab-tag { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translateX(-50%); font-size: calc(12.5 * var(--u)); font-weight: 600; color: var(--muted); white-space: nowrap; }

/* ---------- 03 the reveal ---------- */
figure.ab-journey { margin: calc(72 * var(--u)) 0 0; }
.ab-journey__k { margin: 0 0 calc(20 * var(--u)); font-family: var(--font-head); font-size: calc(22 * var(--u)); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.ab-band { position: relative; aspect-ratio: 1336 / 300; }
.ab-band__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ab-div { stroke: #dcdcd6; stroke-width: 1; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.ab-drop { fill: none; stroke: #cfcfca; stroke-width: 1.4; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.ab-body { fill: #f3f9e4; }
.ab-line { fill: none; stroke: var(--lime-ico); stroke-width: 1.2; opacity: .55; vector-effect: non-scaling-stroke; }
.ab-ring { fill: #fff; stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.ab-ring__c { fill: var(--lime); stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.ab-look { position: absolute; left: calc(1180 / 1336 * 100%); top: calc(150 / 300 * 100% - 62 * var(--u)); transform: translateX(-50%); display: inline-flex; align-items: center; gap: calc(6 * var(--u)); padding: calc(6 * var(--u)) calc(12 * var(--u)); border: 1px solid var(--ink); border-radius: 999px; background: #fff; font-size: calc(13 * var(--u)); font-weight: 600; color: var(--ink); white-space: nowrap; }
.ab-look .i { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.ab-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: calc(20 * var(--u)) 0 0; padding: 0; list-style: none; }
.ab-stages li { padding: 0 calc(28 * var(--u)) 0 0; font-size: calc(15.5 * var(--u)); line-height: calc(24 * var(--u)); color: var(--muted); }
.ab-stages li + li { padding-left: calc(28 * var(--u)); }
.ab-stages b { display: block; margin-bottom: calc(6 * var(--u)); font-size: calc(17 * var(--u)); font-weight: 600; color: var(--ink); }
.ab-stages li:last-child b { color: var(--lime-ink); }
.ab-disc { margin-top: calc(26 * var(--u)); font-size: calc(13 * var(--u)); color: var(--ui-faint); }

/* ---------- 04 the learning loop ---------- */
figure.ab-loop { margin: calc(72 * var(--u)) 0 0; }
.ab-loop__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(48 * var(--u)); margin: 0; padding: 0; list-style: none; }
.ab-lp__art { position: relative; display: grid; place-items: center; height: calc(230 * var(--u)); }
.ab-lp__art svg { width: calc(220 * var(--u)); height: auto; max-height: 100%; overflow: visible; }
.ab-lp:not(:last-child) .ab-lp__art::after { content: ""; position: absolute; right: calc(-44 * var(--u)); top: 50%; width: calc(40 * var(--u)); height: 2px; background: repeating-linear-gradient(90deg, var(--lime-ico) 0 calc(5 * var(--u)), transparent calc(5 * var(--u)) calc(10 * var(--u))); }
.ab-in { fill: none; stroke: var(--lime-ico); stroke-width: 2; stroke-dasharray: 4 4; }
.ab-ringline { fill: none; stroke: #e0e0da; stroke-width: 1.2; }
.ab-latt { stroke: #d0d0ca; stroke-width: 1; }
.ab-n--mid { fill: var(--lime-tint); }
.ab-core__c { fill: var(--ink); }
.ab-core__d { fill: var(--lime); }
.ab-core__spin { transform-origin: 110px 110px; }
.ab-rec { position: absolute; left: 50%; bottom: calc(10 * var(--u)); transform: translateX(-50%); display: inline-flex; align-items: center; gap: calc(6 * var(--u)); padding: calc(6 * var(--u)) calc(12 * var(--u)); border-radius: 999px; background: var(--lime); font-size: calc(13 * var(--u)); font-weight: 600; color: var(--ink); white-space: nowrap; }
.ab-rec .i { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.ab-note { --k: var(--u); width: 100%; padding: calc(14 * var(--u)) calc(16 * var(--u)); border: 1px solid var(--rule); border-radius: calc(16 * var(--u)); background: #fff; box-shadow: var(--ui-shadow); }
.ab-note p { margin: 0; }
.ab-note__h { display: flex; align-items: center; gap: calc(8 * var(--u)); font-size: calc(13 * var(--u)); font-weight: 600; color: var(--ink); }
.ab-note__h span:last-child { margin-left: auto; font-weight: 500; color: var(--ui-faint); }
.ab-note__mark { display: grid; place-items: center; width: calc(22 * var(--u)); height: calc(22 * var(--u)); border-radius: calc(6 * var(--u)); background: var(--ink); }
.ab-note__mark img { width: 62%; height: auto; }
.ab-note__t { margin-top: calc(10 * var(--u)) !important; font-size: calc(14 * var(--u)); line-height: 1.45; color: var(--ink); }
.ab-note__x { margin-top: calc(10 * var(--u)) !important; font-size: calc(11.5 * var(--u)); color: var(--ui-faint); }
.ab-lp__tag { margin: calc(18 * var(--u)) 0 0; font-size: calc(12.5 * var(--u)); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--lime-ink); }
.ab-lp h3 { margin: calc(8 * var(--u)) 0 0; font-family: var(--font-head); font-size: calc(24 * var(--u)); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.ab-lp > p:last-child { margin: calc(8 * var(--u)) 0 0; font-size: calc(15 * var(--u)); line-height: calc(23 * var(--u)); color: var(--muted); }
.ab-loop__back { display: block; width: 100%; height: calc(90 * var(--u)); margin-top: calc(24 * var(--u)); overflow: visible; }
.ab-loop__back path { fill: none; stroke: var(--lime-ico); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ab-loop__say { display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--u)); margin: calc(10 * var(--u)) 0 0; font-size: calc(14 * var(--u)); font-weight: 600; color: var(--lime-ink); }
.ab-loop__say .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); }

/* ---------- 05 insight → action ---------- */
.ab-branch { display: grid; grid-template-columns: calc(300 * var(--u)) calc(160 * var(--u)) minmax(0, 1fr); align-items: stretch; margin-top: calc(72 * var(--u)); }
.ab-branch__from { position: relative; align-self: center; padding: calc(24 * var(--u)); border: 1px solid var(--ink); border-radius: calc(18 * var(--u)); background: #fff; box-shadow: calc(5 * var(--u)) calc(6 * var(--u)) 0 var(--lime-tint); }
.ab-pulse { position: absolute; right: calc(-7 * var(--u)); top: 50%; width: calc(14 * var(--u)); height: calc(14 * var(--u)); margin-top: calc(-7 * var(--u)); border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); }
.ab-branch__k { margin: 0; font-size: calc(12.5 * var(--u)); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime-ink); }
.ab-branch__t { margin: calc(10 * var(--u)) 0 0; font-family: var(--font-head); font-size: calc(21 * var(--u)); line-height: 1.35; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.ab-branch__x { margin: calc(10 * var(--u)) 0 0; font-size: calc(12 * var(--u)); color: var(--ui-faint); }
.ab-branch__wires { width: 100%; height: 100%; overflow: visible; }
.ab-branch__wires path { fill: none; stroke: var(--lime-ico); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ab-branch__to { display: grid; grid-template-rows: repeat(3, 1fr); gap: calc(14 * var(--u)); margin: 0; padding: 0; list-style: none; }
.ab-branch__to li { display: grid; grid-template-columns: calc(180 * var(--u)) minmax(0, 1fr); column-gap: calc(28 * var(--u)); align-items: center; padding: calc(18 * var(--u)) calc(22 * var(--u)); border: 1px solid var(--rule); border-radius: calc(18 * var(--u)); background: #fff; }
.ab-branch__to h3 { margin: 0; font-size: calc(18 * var(--u)); font-weight: 600; color: var(--ink); }
.ab-branch__to p { margin: calc(6 * var(--u)) 0 0; font-size: calc(15 * var(--u)); line-height: calc(23 * var(--u)); color: var(--muted); }
.ab-act { width: 100%; height: auto; overflow: visible; }
.ab-fan { fill: none; stroke: #cfcfca; stroke-width: 1.4; }
.ab-beam { fill: none; stroke: var(--lime-ico); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ab-tgt { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
.ab-tgt__c { fill: var(--lime); stroke: var(--ink); stroke-width: 1.2; }
.ab-dotted { fill: none; stroke: #bdbdb6; stroke-width: 1.8; stroke-dasharray: 2 5; stroke-linecap: round; }
.ab-bridge { fill: none; stroke: var(--lime-ico); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ab-block { fill: var(--rose); stroke: var(--rose-ink); stroke-width: 1.5; }
.ab-x { stroke: var(--rose-ink); stroke-width: 2; stroke-linecap: round; }
.ab-support { max-width: calc(820 * var(--u)); margin: calc(44 * var(--u)) 0 0; font-size: calc(17 * var(--u)); line-height: calc(27 * var(--u)); color: var(--muted); }
.ab-support a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime-ico); text-underline-offset: 3px; }

/* ---------- 06 the bigger picture ---------- */
figure.ab-whole { margin: calc(72 * var(--u)) 0 0; }
.ab-whole svg { display: block; width: 100%; height: auto; overflow: visible; }
.ab-edge { stroke: #dcdcd6; stroke-width: 1.2; }
.ab-edge--s { stroke: var(--ink); stroke-width: 1.2; }
.ab-w { fill: var(--ink); }
.ab-w--hub { fill: var(--lime); stroke: var(--ink); stroke-width: 2; }
.ab-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(40 * var(--u)); margin: calc(32 * var(--u)) 0 0; padding: 0; list-style: none; }
.ab-areas li { padding-top: calc(16 * var(--u)); border-top: 2px solid var(--ink); }
.ab-areas h3 { margin: 0; font-size: calc(19 * var(--u)); font-weight: 600; color: var(--ink); }
.ab-areas p { margin: calc(8 * var(--u)) 0 0; font-size: calc(15.5 * var(--u)); line-height: calc(24 * var(--u)); color: var(--muted); }

/* ---------- closing ---------- */
.ab-final__mark { display: block; width: calc(420 * var(--u)); height: auto; margin: 0 auto calc(36 * var(--u)); overflow: visible; }

/* =========================================================
   MOTION — opt-in, and only when the visitor allows it.
   Without it every visual shows its finished, connected state.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .cos-js .rv { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .cos-js .rv.is-in { opacity: 1; transform: none; }

  /* hero: the constellation drifts into place and connects */
  .cos-js .ab-sky .ab-path { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.6s var(--ease) .6s; }
  .cos-js .ab-sky .ab-path--exit { transition-delay: 3s; transition-duration: 1s; }
  .cos-js .ab-sky.is-in .ab-path { stroke-dashoffset: 0; }
  .cos-js .ab-sky .ab-node { transform-box: fill-box; transform-origin: center; transition: transform 1.4s var(--ease), fill .5s ease; transition-delay: .2s, calc(.7s + var(--i) * .28s); }
  .cos-js .ab-sky:not(.is-in) .ab-node { transform: translate(var(--dx), var(--dy)); fill: var(--ink); }

  /* streams converge */
  .cos-js .ab-streams .ab-join { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s var(--ease); transition-delay: calc(.6s + var(--i) * .3s); }
  .cos-js .ab-streams.is-in .ab-join { stroke-dashoffset: 0; }
  .cos-js .ab-streams.is-in .ab-flow { opacity: 1; animation: abFlow 3s linear infinite; animation-delay: calc(2s + var(--i) * .5s); }
  @keyframes abFlow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }

  /* the reveal: the flow runs left to right, then the point to investigate pulses */
  .cos-js .ab-band__fill { clip-path: inset(0 100% 0 0); transition: clip-path 2s var(--ease) .4s; }
  .cos-js .ab-journey.is-in .ab-band__fill { clip-path: inset(0 0 0 0); }
  .cos-js .ab-look { transition: opacity .6s ease 2.3s; }
  .cos-js .ab-journey:not(.is-in) .ab-look { opacity: 0; }
  .cos-js .ab-journey.is-in .ab-ring { animation: abRing 2.4s ease-in-out 2.4s infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes abRing { 50% { transform: scale(1.12); } }

  /* the loop: the core turns slowly, the path back draws in */
  .cos-js .ab-loop.is-in .ab-core__spin { animation: abSpin 40s linear infinite; }
  @keyframes abSpin { to { transform: rotate(360deg); } }
  .cos-js .ab-loop__back path:first-child { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--ease) .8s; }
  .cos-js .ab-loop.is-in .ab-loop__back path:first-child { stroke-dashoffset: 0; }

  /* insight → action: three branches draw out */
  .cos-js .ab-branch__wires path { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1s var(--ease); }
  .cos-js .ab-branch__wires path:nth-child(2) { transition-delay: .2s; }
  .cos-js .ab-branch__wires path:nth-child(3) { transition-delay: .4s; }
  .cos-js .ab-branch.is-in .ab-branch__wires path { stroke-dashoffset: 0; }
  .cos-js .ab-branch.is-in .ab-pulse { animation: abPulse 2.4s ease-out infinite; }
  @keyframes abPulse { 0% { box-shadow: 0 0 0 0 rgba(199, 243, 104, .8); } 100% { box-shadow: 0 0 0 calc(14 * var(--u)) rgba(199, 243, 104, 0); } }

  /* the bigger picture: the scattered points settle into one network */
  .cos-js .ab-whole .ab-w { transform-box: fill-box; transform-origin: center; transition: transform 1.3s var(--ease); transition-delay: calc(.2s + var(--i) * .05s); }
  .cos-js .ab-whole:not(.is-in) .ab-w { transform: translate(var(--dx), var(--dy)); }
  .cos-js .ab-whole .ab-edge { transition: opacity .8s ease 1.2s; }
  .cos-js .ab-whole:not(.is-in) .ab-edge { opacity: 0; }
  .cos-js .ab-whole .ab-join { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s var(--ease); transition-delay: calc(1.6s + var(--i) * .25s); }
  .cos-js .ab-whole.is-in .ab-join { stroke-dashoffset: 0; }

  .os-qa[open] .os-qa__a { animation: osSettle .35s var(--ease); }
  @keyframes osSettle { from { opacity: 0; transform: translateY(6px); } }
}

/* =========================================================
   BELOW 1180px — one column, considered for a phone.
   ========================================================= */
@media (max-width: 1179px) {
  .cos { --k: .86px; --pad: 22px; }

  .cos-eyebrow { font-size: 12px; margin-bottom: 16px; gap: 8px; }
  .cos-eyebrow::before { width: 7px; height: 7px; box-shadow: 0 0 0 3px var(--lime-tint); }
  .cos-h1 { font-size: 38px; line-height: 43px; }
  .cos-h2 { font-size: 30px; line-height: 36px; }
  .cos-h1 br, .cos-h2 br, .os-say br { display: none; }
  .cos-hero__intro { font-size: 17px; line-height: 26px; }
  .cos-body { font-size: 16px; line-height: 26px; }
  .cos-cta { gap: 12px; margin-top: 28px; }
  .cos-link { font-size: 16px; gap: 8px; }
  .cos-link .i, .cos .btn .i { width: 18px; height: 18px; }
  .cos .btn--lg { height: 52px; padding: 0 20px; gap: 10px; font-size: 17px; }
  .os-say { margin-top: 44px; font-size: 21px; line-height: 28px; }
  .os-link { margin-top: 16px; }

  .cos-sec { padding: 64px 22px; }
  .cos-hero { padding: 44px 22px 56px; }
  .os-faq { display: block; }
  .ab .sec-head__copy { margin-top: 16px; }
  .ab-sec::before { left: 25px; height: 52px; }

  /* hero: copy, then the sky */
  .ab-hero__grid { display: block; }
  .ab-hero__copy .cos-hero__intro { font-size: 17px; line-height: 26px; }
  figure.ab-sky { margin-top: 32px; }

  /* streams stack, each with its own small stream; they meet below */
  .ab-streams { display: block; margin-top: 32px; }
  .ab-streams__txt { display: block; }
  .ab-st { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--rule); }
  .ab-st__k { font-size: 12px; }
  .ab-st__h { font-size: 19px; line-height: 25px; }
  .ab-st__p { font-size: 15px; line-height: 23px; }
  .ab-mini { display: block; width: 100%; height: auto; margin-top: 14px; overflow: visible; }
  .ab-mini path { fill: none; stroke: #cfcfca; stroke-width: 1.6; }
  .ab-mini circle, .ab-mini rect { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
  .ab-mini > :last-child { fill: var(--lime); }
  .ab-meet { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--lime-ink); }
  .ab-meet span { width: 16px; height: 16px; border: 2px solid var(--lime-ico); border-radius: 50%; background: var(--lime-wash); box-shadow: 0 0 0 4px var(--lime-tint); }
  figure.ab-streams__fig { display: none; }

  /* reveal */
  figure.ab-journey { margin-top: 32px; }
  .ab-journey__k { font-size: 18px; margin-bottom: 12px; }
  .ab-band { aspect-ratio: 1336 / 420; }
  .ab-look { top: auto; bottom: -6px; left: auto; right: 0; transform: none; font-size: 12px; padding: 5px 10px; }
  .ab-look .i { width: 13px; height: 13px; }
  .ab-stages { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .ab-stages li, .ab-stages li + li { padding: 0 0 0 14px; border-left: 2px solid var(--rule); font-size: 15px; line-height: 23px; }
  .ab-stages li:last-child { border-left-color: var(--lime-ico); }
  .ab-stages b { font-size: 16px; margin-bottom: 4px; }
  .ab-disc { font-size: 12px; margin-top: 18px; }

  /* loop: a vertical journey with the return path as a note */
  figure.ab-loop { margin-top: 32px; }
  .ab-loop__row { grid-template-columns: 1fr; gap: 30px; }
  .ab-lp { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .ab-lp__art { grid-row: span 3; height: 120px; }
  .ab-lp__art svg { width: 120px; }
  .ab-lp:not(:last-child) .ab-lp__art::after { right: auto; left: 59px; top: auto; bottom: -24px; width: 2px; height: 18px; background: repeating-linear-gradient(180deg, var(--lime-ico) 0 4px, transparent 4px 8px); }
  .ab-lp:last-child { grid-template-columns: 1fr; }
  .ab-lp:last-child .ab-lp__art { grid-row: auto; height: auto; margin-bottom: 14px; }
  .ab-rec { display: none; }
  .ab-rec .i { width: 12px; height: 12px; }
  .ab-note { --k: 1px; padding: 12px 14px; border-radius: 14px; }
  .ab-note__h { font-size: 12.5px; }
  .ab-note__mark { width: 20px; height: 20px; }
  .ab-note__t { font-size: 14px; }
  .ab-note__x { font-size: 11px; }
  .ab-lp__tag { margin-top: 0; font-size: 11px; }
  .ab-lp h3 { font-size: 19px; margin-top: 4px; }
  .ab-lp > p:last-child { font-size: 14.5px; line-height: 22px; }
  .ab-loop__back { display: none; }
  .ab-loop__say { justify-content: flex-start; margin-top: 24px; font-size: 13.5px; padding: 10px 14px; border: 1px dashed var(--lime-ico); border-radius: 12px; }

  /* insight → action */
  .ab-branch { display: block; margin-top: 32px; }
  .ab-branch__from { padding: 18px; border-radius: 14px; }
  .ab-pulse { right: auto; left: 30px; top: auto; bottom: -8px; margin-top: 0; width: 14px; height: 14px; }
  .ab-branch__k { font-size: 11.5px; }
  .ab-branch__t { font-size: 18px; }
  .ab-branch__wires { display: none; }
  .ab-branch__to { position: relative; gap: 12px; margin-top: 28px; padding-left: 22px; }
  .ab-branch__to::before { content: ""; position: absolute; left: 6px; top: -20px; bottom: 30px; width: 2px; background: var(--lime-ico); }
  .ab-branch__to li { position: relative; grid-template-columns: 1fr; row-gap: 10px; padding: 14px; border-radius: 14px; }
  .ab-branch__to li::before { content: ""; position: absolute; left: -16px; top: 30px; width: 16px; height: 2px; background: var(--lime-ico); }
  .ab-act { max-width: 180px; }
  .ab-branch__to h3 { font-size: 16px; }
  .ab-branch__to p { font-size: 14.5px; line-height: 22px; }
  .ab-support { font-size: 15px; line-height: 24px; margin-top: 28px; }

  /* bigger picture */
  figure.ab-whole { margin-top: 28px; }
  .ab-areas { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .ab-areas h3 { font-size: 17px; }
  .ab-areas p { font-size: 15px; line-height: 23px; }

  /* FAQ */
  .os-faq__intro { position: static; margin-bottom: 24px; }
  .os-faq__intro .cos-body { margin-top: 14px; }
  .os-qa summary { gap: 16px; padding: 18px 0; font-size: 17px; line-height: 24px; }
  .os-qa__icon { width: 30px; height: 30px; }
  .os-qa__icon::before, .os-qa__icon::after { width: 11px; }
  .os-qa__a p { padding: 0 0 20px; font-size: 15px; line-height: 24px; }

  /* closing */
  .cos-final { padding: 72px 22px 88px; }
  .ab-final__mark { width: 260px; margin-bottom: 24px; }
  .cos-final .cos-h2 { font-size: 30px; line-height: 36px; }
  .cos-final .cos-body { font-size: 16px; }
  .cos-final .cos-cta { flex-direction: column; align-items: stretch; }
}
