/* =========================================================
   Customer OS — product page
   Loaded after /index.css, which supplies the palette, the
   fonts, the nav and footer, and --u (one design pixel of the
   1470 frame). Two units are used here:
     --u  page layout and type
     --k  the inside of a product screen. Equal to --u on
          desktop; below 1180px it is fixed, and each screen
          scrolls sideways instead of shrinking past legibility.
   ========================================================= */

.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;
  --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 .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;
}
.cos section[id] { scroll-margin-top: calc(40 * var(--u)); }
.cos figure { margin: 0; }      /* the UA default is 1em 40px, which would eat into every product screen */
.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)); }

/* =========================================================
   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-lead {
  margin: 0;
  font-size: calc(22 * var(--u));
  line-height: calc(32 * var(--u));
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.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(32 * 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); }

/* the lead block most sections open with: heading left, copy right */
.sec-head {
  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);
}

/* ---------- 01 overview ---------- */
.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__head { position: relative; }
.cos-hero__copy {
  max-width: calc(780 * var(--u));   /* a readable measure, not the full frame */
  margin-top: calc(34 * var(--u));
}
.cos-hero__intro {
  margin: 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__copy .cos-body { max-width: calc(720 * var(--u)); }
.cos-hero .cos-cta { margin-top: calc(44 * var(--u)); }
figure.cos-hero__ui { position: relative; margin: calc(150 * var(--u)) 0 0; }

/* ---------- 02 core idea ---------- */
.flow {
  display: flex;
  align-items: center;
  margin: calc(112 * var(--u)) 0 0;
  padding: calc(34 * var(--u)) 0 0;
  list-style: none;
}
.flow__step {
  display: flex;
  align-items: center;
  flex: 1 1 auto;             /* base = its own content, then share the slack */
  min-width: 0;
}
.flow__step:last-child { flex: 0 0 auto; }
.flow__step::after {            /* connector, with a lime bead at the arriving end */
  content: "";
  flex: 1;
  min-width: calc(24 * var(--u));
  height: 9px;
  margin: 0 calc(12 * var(--u));
  background:
    radial-gradient(circle at calc(100% - 4px) 50%, var(--lime-ico) 3px, transparent 3.6px),
    linear-gradient(#d4d4d4, #d4d4d4) left center / calc(100% - 6px) 1px no-repeat;
  transform-origin: left center;
}
.flow__step:last-child::after { display: none; }
.flow__node {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: calc(62 * var(--u));
  padding: 0 calc(22 * var(--u));
  border: 1px solid #dadada;
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-head);
  font-size: calc(20 * var(--u));
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.flow__n {
  position: absolute;
  left: calc(22 * var(--u));
  bottom: calc(100% + 12 * var(--u));
  font-family: var(--font-body);
  font-size: calc(13 * var(--u));
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ui-faint);
}
.flow__node--trio { padding: 0 calc(9 * var(--u)); gap: calc(2 * var(--u)); background: #fafaf7; }
.flow__node--trio .flow__n { left: calc(22 * var(--u)); }
.flow__node--trio span:not(.flow__n) {
  display: inline-flex;
  align-items: center;
  height: calc(44 * var(--u));
  padding: 0 calc(14 * var(--u));
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e6e6e6;
}
.flow__node--trio i {
  padding: 0 calc(4 * var(--u));
  font-style: normal;
  color: var(--ui-faint);
}
.flow__node--end { background: var(--lime); border-color: var(--lime); }

/* ---------- 03 build ---------- */
.split {
  display: grid;
  grid-template-columns: calc(440 * var(--u)) minmax(0, 1fr);
  column-gap: calc(80 * var(--u));
  align-items: start;
}
.split__text {
  position: sticky;
  top: calc(56 * var(--u));
}
.split__text .cos-lead { margin-top: calc(28 * var(--u)); }
.cos-statement {
  margin: calc(36 * var(--u)) 0 0;
  padding-top: calc(26 * var(--u));
  border-top: 1px solid var(--rule);
  font-family: var(--font-head);
  font-size: calc(24 * var(--u));
  line-height: calc(32 * var(--u));
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: calc(120 * var(--u)) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.point {
  padding: calc(36 * var(--u)) calc(36 * var(--u)) 0;
  border-left: 1px solid var(--rule);
}
.point:first-child { padding-left: 0; border-left: 0; }
.point .i {
  width: calc(28 * var(--u));
  height: calc(28 * var(--u));
  margin-bottom: calc(26 * var(--u));
  stroke-width: 1.5;
  color: var(--ink);
}
.point h3 {
  margin: 0 0 calc(10 * var(--u));
  font-family: var(--font-head);
  font-size: calc(22 * var(--u));
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.point p {
  margin: 0;
  font-size: calc(17 * var(--u));
  line-height: calc(27 * var(--u));
  color: var(--muted);
}

/* ---------- 04 connect ---------- */
figure.hub {
  position: relative;
  margin: calc(150 * var(--u)) calc(-1 * var(--pad)) 0;
  padding: calc(64 * var(--u)) var(--pad);
  background: #fafaf8;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.hub__stage {
  position: relative;
  height: calc(600 * var(--u));
}
.hub__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hub__wire  { fill: none; stroke: #d3d3ce; stroke-width: 1.3; }
.hub__pulse { fill: none; stroke: var(--lime-ico); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 6 94; stroke-dashoffset: 100; opacity: 0; }
.hub__port  { fill: #c4c4bd; }

.hub__label {
  position: absolute;
  top: calc(26 * var(--u));
  margin: 0;
  font-size: calc(13 * var(--u));
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ui-faint);
}
.hub__label--in { right: calc(984 * var(--u)); }
.hub__label--ex { left:  calc(984 * var(--u)); }

.hub__list { margin: 0; padding: 0; list-style: none; }
.hub__item {
  position: absolute;
  top: calc((var(--y) - 22) * var(--u));
  display: flex;
  align-items: center;
  gap: calc(14 * var(--u));
  height: calc(44 * var(--u));
  font-size: calc(18 * var(--u));
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.hub__list--in .hub__item { right: calc(984 * var(--u)); }
.hub__list--ex .hub__item { left:  calc(984 * var(--u)); }
.hub__ico {
  display: grid;
  place-items: center;
  width: calc(40 * var(--u));
  height: calc(40 * var(--u));
  border: 1px solid #e0e0db;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 calc(6 * var(--u)) calc(14 * var(--u)) calc(-10 * var(--u)) rgba(0, 0, 0, .25);
  color: var(--ink);
}
.hub__ico .i { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }

.hub__core {
  position: absolute;
  left: calc(518 * var(--u));
  top: calc(196 * var(--u));
  width: calc(300 * var(--u));
  height: calc(240 * var(--u));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: calc(26 * var(--u));
  background: var(--ink);
  color: #fff;
  text-align: center;
  box-shadow:
    0 0 0 calc(10 * var(--u)) rgba(199, 243, 104, .18),
    0 calc(40 * var(--u)) calc(80 * var(--u)) calc(-40 * var(--u)) rgba(0, 0, 0, .5);
}
.hub__mark { width: calc(54 * var(--u)); height: auto; }
.hub__name {
  margin: calc(16 * var(--u)) 0 0;
  font-family: var(--font-head);
  font-size: calc(28 * var(--u));
  font-weight: 600;
  letter-spacing: -0.03em;
}
.hub__sub { margin: calc(4 * var(--u)) 0 0; font-size: calc(14 * var(--u)); color: #9a9a9a; }
.hub__caps { display: flex; gap: calc(6 * var(--u)); margin: calc(18 * var(--u)) 0 0; }
.hub__caps span {
  padding: calc(5 * var(--u)) calc(10 * var(--u));
  border-radius: 999px;
  background: #343434;
  font-size: calc(12 * var(--u));
  color: #d9d9d9;
}

.hub__after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(470 * var(--u));
  column-gap: calc(80 * var(--u));
  align-items: end;
  margin-top: calc(88 * var(--u));
}
.hub__after .cos-body { margin: 0; }

/* ---------- 05 operate ---------- */
.teams {
  display: grid;
  grid-template-columns: calc(360 * var(--u)) minmax(0, 1fr);
  column-gap: calc(56 * var(--u));
  align-items: start;
  margin-top: calc(88 * var(--u));
}
.teams__list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.team {
  position: relative;
  display: block;
  width: 100%;
  padding: calc(22 * var(--u)) 0 calc(22 * var(--u)) calc(24 * var(--u));
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.team b {
  display: block;
  font-family: var(--font-head);
  font-size: calc(24 * var(--u));
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #9a9a9a;
  transition: color .2s ease;
}
.team span {
  display: block;
  margin-top: calc(6 * var(--u));
  font-size: calc(15 * var(--u));
  color: var(--ui-faint);
  transition: color .2s ease;
}
.team::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(22 * var(--u));
  bottom: calc(22 * var(--u));
  width: calc(3 * var(--u));
  min-width: 2px;
  border-radius: 3px;
  background: var(--lime);
  transform: scaleY(0);
  transition: transform .3s var(--ease);
}
.team:hover b,
.team.is-on b { color: var(--ink); }
.team.is-on span { color: var(--muted); }
.team.is-on::before { transform: scaleY(1); }
.team:focus-visible { outline: 2px solid var(--lime-ico); outline-offset: -2px; }
.team__bar {                    /* fills while the demo is playing itself */
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--lime-ico);
  transform: scaleX(0);
  transform-origin: left;
}

.keyline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(470 * var(--u));
  column-gap: calc(80 * var(--u));
  align-items: end;
  margin-top: calc(96 * var(--u));
}
.keyline .cos-body { margin: 0; }

/* ---------- 06 journey ---------- */
.jrail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin: calc(88 * var(--u)) 0 0;
  padding: 0;
  list-style: none;
  --p: 0;
}
.jrail::before,
.jrail::after {
  content: "";
  position: absolute;
  left: calc(100% / 12);
  width: calc(100% * 10 / 12);
  top: calc(21 * var(--u));
  height: 2px;
  background: #e4e4e4;
}
.jrail::after {
  background: var(--lime-ico);
  transform: scaleX(var(--p));
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.jnode {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(14 * var(--u));
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: calc(16 * var(--u));
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  cursor: pointer;
  transition: color .2s ease;
}
.jnode em {
  display: grid;
  place-items: center;
  width: calc(44 * var(--u));
  height: calc(44 * var(--u));
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  background: #fff;
  font-style: normal;
  font-size: calc(15 * var(--u));
  font-weight: 600;
  color: var(--ink);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.jnode.is-past em { background: var(--lime-tint); border-color: var(--lime); }
.jnode.is-on { color: var(--ink); }
.jnode.is-on em {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 calc(6 * var(--u)) rgba(199, 243, 104, .3);
}
.jnode:focus-visible { outline: none; }
.jnode:focus-visible em { outline: 2px solid var(--ink); outline-offset: 3px; }

.jscreens {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  column-gap: calc(32 * var(--u));
  align-items: start;
  margin-top: calc(56 * var(--u));
}
.jbrace { position: relative; height: calc(64 * var(--u)); margin-top: calc(20 * var(--u)); }
.jbrace::before {
  content: "";
  position: absolute;
  left: 29.3%;
  right: 19.5%;
  top: 0;
  height: calc(30 * var(--u));
  border: 1px solid #d0d0d0;
  border-top: 0;
  border-radius: 0 0 calc(18 * var(--u)) calc(18 * var(--u));
}
.jbrace span {
  position: absolute;
  left: 54.9%;
  top: calc(30 * var(--u));
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: calc(9 * var(--u));
  height: calc(42 * var(--u));
  padding: 0 calc(18 * var(--u));
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: calc(15 * var(--u));
  font-weight: 500;
  white-space: nowrap;
}
.jbrace span .i { color: var(--lime); width: calc(17 * var(--u)); height: calc(17 * var(--u)); }
.jnote {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(470 * var(--u));
  column-gap: calc(80 * var(--u));
  align-items: end;
  margin-top: calc(56 * var(--u));
}
.jnote .cos-h3 { max-width: calc(760 * var(--u)); }
.jnote .cos-body { margin: 0; }

/* ---------- 07 enterprise ---------- */
.split--ent { grid-template-columns: calc(470 * var(--u)) minmax(0, 1fr); }
.caps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.cap {
  display: grid;
  grid-template-columns: calc(64 * var(--u)) minmax(0, 1fr) calc(44 * var(--u));
  column-gap: calc(24 * var(--u));
  align-items: start;
  padding: calc(32 * var(--u)) 0;
  border-bottom: 1px solid var(--rule);
}
.cap__n {
  padding-top: calc(9 * var(--u));
  font-size: calc(14 * var(--u));
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ui-faint);
}
.cap h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: calc(28 * var(--u));
  line-height: calc(36 * var(--u));
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.cap p {
  max-width: calc(560 * var(--u));
  margin: calc(8 * var(--u)) 0 0;
  font-size: calc(18 * var(--u));
  line-height: calc(28 * var(--u));
  color: var(--muted);
}
.cap__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;
}
.cap__ico .i { width: calc(19 * var(--u)); height: calc(19 * var(--u)); }
.cap:hover .cap__ico { background: var(--lime); border-color: var(--lime); }

/* ---------- 08 platform ---------- */
.tree { margin-top: calc(88 * var(--u)); }
.tree__root {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(16 * var(--u));
  width: max-content;
  margin: 0 auto;
  padding: calc(16 * var(--u)) calc(30 * var(--u)) calc(16 * var(--u)) calc(16 * var(--u));
  border-radius: calc(20 * var(--u));
  background: var(--ink);
  color: #fff;
  box-shadow: 0 0 0 calc(8 * var(--u)) rgba(199, 243, 104, .16);
}
.tree__root img { width: calc(46 * var(--u)); height: auto; }
.tree__root b {
  display: block;
  font-family: var(--font-head);
  font-size: calc(26 * var(--u));
  font-weight: 600;
  letter-spacing: -0.03em;
}
.tree__root small {
  display: block;
  margin-top: calc(2 * var(--u));
  font-size: calc(13 * var(--u));
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}
.tree__root::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: calc(48 * var(--u));
  background: #cfcfcf;
}
.tree__cols {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: calc(48 * var(--u));
  padding-top: calc(48 * var(--u));
}
.tree__cols::before {            /* the bar the three pillars hang from */
  content: "";
  position: absolute;
  top: 0;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: #cfcfcf;
}
.tree__col { position: relative; padding: 0 calc(20 * var(--u)); }
.tree__col::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(-48 * var(--u));
  width: 1px;
  height: calc(48 * var(--u));
  background: #cfcfcf;
}
.tree__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--u));
  height: calc(62 * var(--u));
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: calc(14 * var(--u));
  background: #fff;
  font-family: var(--font-head);
  font-size: calc(22 * var(--u));
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.tree__head .i { width: calc(20 * var(--u)); height: calc(20 * var(--u)); color: var(--lime-ink); }
.tree__list { margin: calc(14 * var(--u)) 0 0; padding: 0; list-style: none; }
.tree__list li { border-bottom: 1px solid #f0f0f0; }
.tree__list a,
.tree__list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(52 * var(--u));
  padding: 0 calc(10 * var(--u));
  font-size: calc(18 * var(--u));
  color: var(--ink);
}
.tree__list span { color: var(--ui-faint); }
.tree__list a .i { width: calc(16 * var(--u)); height: calc(16 * var(--u)); opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .2s var(--ease); }
.tree__list a:hover { background: var(--lime-soft); }
.tree__list a:hover .i { opacity: 1; transform: none; }

/* ---------- 09 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 { margin-top: calc(20 * var(--u)); font-size: calc(21 * var(--u)); }
.cos-final .cos-cta { justify-content: center; margin-top: calc(44 * var(--u)); }
.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); }

/* =========================================================
   PRODUCT UI — shared pieces
   Every size inside a screen is written in --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)); }
.ws-switch {
  display: inline-flex;
  align-items: center;
  gap: calc(10 * var(--k));
  flex: none;
  font-weight: 600;
  color: var(--ink);
}
.ws-logo {
  display: grid;
  place-items: center;
  width: calc(28 * var(--k));
  height: calc(28 * var(--k));
  border-radius: calc(8 * var(--k));
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-head);
  font-size: calc(13 * var(--k));
  font-weight: 700;
}
.ws-switch .i { color: var(--ui-faint); }
.app__search {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--k));
  flex: 1;
  max-width: calc(440 * var(--k));
  height: calc(36 * var(--k));
  margin-left: calc(40 * var(--k));
  padding: 0 calc(12 * var(--k));
  border: 1px solid var(--ui-line);
  border-radius: calc(10 * var(--k));
  background: #fafaf9;
  color: var(--ui-faint);
  font-size: calc(13 * var(--k));
}
.app__search kbd {
  margin-left: auto;
  padding: calc(2 * var(--k)) calc(6 * var(--k));
  border: 1px solid var(--ui-line);
  border-radius: calc(5 * var(--k));
  background: #fff;
  font: inherit;
  font-size: calc(11 * var(--k));
  color: var(--ui-muted);
}
.app__tools {
  display: flex;
  align-items: center;
  gap: calc(16 * var(--k));
  margin-left: auto;
  color: var(--ui-muted);
}
.app__crumb {
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--k));
  font-size: calc(13 * var(--k));
  color: var(--ui-muted);
}
.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--amber  { background: var(--amber);     color: var(--amber-ink); }
.av--violet { background: var(--violet);    color: var(--violet-ink); }
.av--rose   { background: var(--rose);      color: var(--rose-ink); }
.av--ink    { background: var(--ink);       color: var(--lime); }
.av--lg     { width: calc(46 * var(--k)); height: calc(46 * var(--k)); font-size: calc(15 * var(--k)); }
.av-stack { display: flex; }
.av-stack .av { box-shadow: 0 0 0 2px #fff; }
.av-stack .av + .av { margin-left: calc(-8 * var(--k)); }

.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--lime  { background: var(--lime-tint); color: var(--lime-ink); }
.tag--amber { background: var(--amber);     color: var(--amber-ink); }
.tag--rose  { background: var(--rose);      color: var(--rose-ink); }
.tag--cyan  { background: var(--cyan);      color: var(--cyan-ink); }
.tag--ink   { background: var(--ink);       color: #fff; }

.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;
}
.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;
  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); }
.mini-btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ui-line); }

.seg { display: inline-flex; padding: calc(3 * var(--k)); border-radius: calc(10 * var(--k)); background: #f2f2ef; }
.seg span {
  padding: calc(5 * var(--k)) calc(11 * var(--k));
  border-radius: calc(8 * var(--k));
  font-size: calc(12.5 * var(--k));
  font-weight: 500;
  color: var(--ui-muted);
}
.seg .is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }

.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)); }
.ch--wa { background: var(--wa); color: var(--wa-ink); }

.who {
  display: flex;
  align-items: center;
  gap: calc(9 * var(--k));
  min-width: 0;
  font-weight: 600;
  color: var(--ink);
}
.who .av { width: calc(26 * var(--k)); height: calc(26 * var(--k)); font-size: calc(10 * var(--k)); }

.side__label {
  margin: calc(16 * var(--k)) calc(10 * var(--k)) calc(8 * var(--k));
  font-size: calc(11 * var(--k));
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ui-faint);
}
.side__label:first-child { margin-top: calc(4 * var(--k)); }
.side__item {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--k));
  height: calc(36 * var(--k));
  padding: 0 calc(10 * var(--k));
  border-radius: calc(9 * var(--k));
  font-weight: 500;
  color: var(--ui-muted);
}
.side__item em {
  margin-left: auto;
  padding: 0 calc(7 * var(--k));
  border-radius: 999px;
  background: #ececea;
  font-style: normal;
  font-size: calc(11.5 * var(--k));
  line-height: calc(20 * var(--k));
  color: var(--ui-text);
}
.side__item.is-on { background: var(--lime-tint); color: var(--ink); }
.side__item.is-on .i { color: var(--lime-ink); }
.side__add {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--k));
  height: calc(34 * var(--k));
  margin-top: calc(10 * var(--k));
  padding: 0 calc(10 * var(--k));
  border: 1px dashed #d4d4d0;
  border-radius: calc(9 * var(--k));
  font-size: calc(13 * var(--k));
  font-weight: 500;
  color: var(--ui-muted);
}

.bub {
  max-width: 86%;
  padding: calc(8 * var(--k)) calc(11 * var(--k));
  border-radius: calc(12 * var(--k));
  background: #f1f1ee;
  border-bottom-left-radius: calc(4 * var(--k));
  font-size: calc(13 * var(--k));
  line-height: 1.4;
}
.bub + .bub { margin-top: calc(6 * var(--k)); }
.bub--out {
  margin-left: auto;
  background: #e6f8d3;
  border-bottom-left-radius: calc(12 * var(--k));
  border-bottom-right-radius: calc(4 * var(--k));
}
.bub__meta { margin-top: calc(6 * var(--k)) !important; text-align: right; font-size: calc(11.5 * var(--k)); color: var(--ui-faint); }
.via {
  display: inline-flex;
  align-items: center;
  gap: calc(5 * var(--k));
  font-size: calc(12 * var(--k));
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--wa-ink);
}
.via .i { width: calc(14 * var(--k)); height: calc(14 * var(--k)); }

.ui-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(8 * var(--k));
  margin-bottom: calc(10 * var(--k)) !important;
  font-size: calc(11 * var(--k));
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ui-faint);
}

/* ---------- hero: appointments workspace ---------- */
.app__body--hero { display: grid; grid-template-columns: calc(224 * var(--k)) minmax(0, 1fr) calc(344 * var(--k)); }
.app__side { padding: calc(14 * var(--k)) calc(12 * var(--k)) calc(18 * var(--k)); border-right: 1px solid var(--ui-line); background: #fcfcfb; }
.app__view { min-width: 0; padding: calc(20 * var(--k)) calc(22 * var(--k)) calc(22 * var(--k)); }
.view__head { display: flex; align-items: flex-start; justify-content: space-between; gap: calc(16 * var(--k)); }
.view__title {
  font-family: var(--font-head);
  font-size: calc(22 * var(--k));
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.view__sub { margin-top: calc(3 * var(--k)) !important; font-size: calc(13 * var(--k)); color: var(--ui-muted); }
.view__actions { display: flex; align-items: center; gap: calc(10 * var(--k)); }
.view__bar {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--k));
  margin: calc(18 * var(--k)) 0 calc(14 * var(--k));
}
.view__bar .tag + .chip { margin-left: auto; }

.tbl { overflow: hidden; border: 1px solid var(--ui-line); border-radius: calc(12 * var(--k)); }
.tbl__row {
  display: grid;
  align-items: center;
  column-gap: calc(12 * var(--k));
  height: calc(47 * var(--k));
  padding: 0 calc(14 * var(--k));
  border-top: 1px solid var(--ui-line);
  font-size: calc(13.5 * var(--k));
}
.tbl__row:first-child { border-top: 0; }
.tbl__row > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl__head {
  height: calc(38 * var(--k));
  background: #fafaf8;
  font-size: calc(11 * var(--k));
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ui-faint);
}
.tbl--appt .tbl__row { grid-template-columns: calc(66 * var(--k)) 1.3fr .8fr 1.35fr 1.15fr calc(52 * var(--k)) calc(106 * var(--k)); }
.tbl__row.is-sel { background: #fbfff0; box-shadow: inset 3px 0 0 var(--lime); }
.tbl__row .muted { color: var(--ui-muted); }

.app__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--k));
  padding: calc(22 * var(--k)) calc(18 * var(--k)) calc(18 * var(--k));
  border-left: 1px solid var(--ui-line);
}
.app__panel::before {           /* ties the panel to the selected row */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--lime);
}
.rec__head { display: flex; align-items: center; gap: calc(12 * var(--k)); }
.rec__name { font-family: var(--font-head); font-size: calc(18 * var(--k)); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.rec__meta { margin-top: calc(2 * var(--k)) !important; font-size: calc(12.5 * var(--k)); color: var(--ui-muted); }
.rec__tags { display: flex; flex-wrap: wrap; gap: calc(6 * var(--k)); }
.rec__block { padding-top: calc(14 * var(--k)); border-top: 1px solid var(--ui-line); }
.rec__card {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--k));
  padding: calc(10 * var(--k)) calc(12 * var(--k));
  border: 1px solid var(--ui-line);
  border-radius: calc(11 * var(--k));
}
.rec__card > .i { color: var(--ui-muted); }
.rec__card div { flex: 1; min-width: 0; }
.rec__card b { display: block; font-size: calc(13.5 * var(--k)); color: var(--ink); }
.rec__card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(12.5 * var(--k)); color: var(--ui-muted); }
.rec__link {
  display: flex;
  align-items: center;
  gap: calc(9 * var(--k));
  height: calc(36 * var(--k));
  font-size: calc(13 * var(--k));
}
.rec__link + .rec__link { border-top: 1px dashed #e8e8e4; }
.rec__link > .i { color: var(--ui-muted); }
.rec__link > span:not(.tag):not(.av-stack) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec__link .av { width: calc(22 * var(--k)); height: calc(22 * var(--k)); font-size: calc(9 * var(--k)); }
.rec__actions { display: flex; gap: calc(8 * var(--k)); margin-top: auto; }
.rec__actions .mini-btn { flex: 1; justify-content: center; }

/* ---------- build: module builder ---------- */
.app--builder .app__top { justify-content: space-between; }
.bld__title {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--k));
  font-family: var(--font-head);
  font-size: calc(17 * var(--k));
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.bld__icon {
  display: grid;
  place-items: center;
  width: calc(30 * var(--k));
  height: calc(30 * var(--k));
  border-radius: calc(9 * var(--k));
  background: var(--lime-tint);
  color: var(--lime-ink);
}
.bld { display: grid; grid-template-columns: calc(190 * var(--k)) minmax(0, 1fr); min-height: calc(492 * var(--k)); }
.bld__tpl { padding: calc(14 * var(--k)) calc(12 * var(--k)); border-right: 1px solid var(--ui-line); background: #fcfcfb; }
.tpl {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--k));
  height: calc(38 * var(--k));
  padding: 0 calc(10 * var(--k));
  border-radius: calc(9 * var(--k));
  font-weight: 500;
  color: var(--ui-muted);
}
.tpl.is-on { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--ui-line), 0 6px 14px -10px rgba(0, 0, 0, .25); }
.tpl.is-on .i:last-child { margin-left: auto; color: var(--lime-ink); }
.bld__main { min-width: 0; padding: calc(16 * var(--k)) calc(20 * var(--k)) calc(20 * var(--k)); }

.steps {
  display: flex;
  align-items: center;
  gap: calc(4 * var(--k));
  margin-bottom: calc(16 * var(--k));
  padding-bottom: calc(14 * var(--k));
  border-bottom: 1px solid var(--ui-line);
}
.step {
  display: inline-flex;
  align-items: center;
  gap: calc(7 * var(--k));
  height: calc(34 * var(--k));
  padding: 0 calc(11 * var(--k)) 0 calc(7 * var(--k));
  border: 0;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: calc(13 * var(--k));
  font-weight: 500;
  color: var(--ui-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.step em {
  display: grid;
  place-items: center;
  width: calc(21 * var(--k));
  height: calc(21 * var(--k));
  border-radius: 50%;
  background: #ededea;
  font-style: normal;
  font-size: calc(11 * var(--k));
  font-weight: 700;
  color: var(--ui-text);
  transition: background-color .2s ease, color .2s ease;
}
.step:hover { color: var(--ink); }
.step.is-done em { background: var(--lime-tint); color: var(--lime-ink); }
.step.is-on { background: var(--ink); color: #fff; }
.step.is-on em { background: var(--lime); color: var(--ink); }
.step:focus-visible { outline: 2px solid var(--lime-ico); outline-offset: 2px; }
.steps > .i { width: calc(14 * var(--k)); height: calc(14 * var(--k)); color: #c8c8c4; }

.fields__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) calc(64 * var(--k));
  align-items: center;
  column-gap: calc(12 * var(--k));
  min-height: calc(46 * var(--k));
  padding: 0 calc(10 * var(--k));
  border-bottom: 1px solid #f0f0ee;
  font-size: calc(13.5 * var(--k));
}
.fields__head {
  min-height: calc(30 * var(--k));
  font-size: calc(11 * var(--k));
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ui-faint);
}
.fields__head span:last-child { text-align: center; }
.fld { display: flex; align-items: center; gap: calc(9 * var(--k)); font-weight: 600; color: var(--ink); }
.fld .i { color: var(--ui-faint); }
.ftype { display: flex; flex-wrap: wrap; align-items: center; gap: calc(5 * var(--k)); color: var(--ui-muted); }
.ftype b { font-weight: 600; color: var(--ink); }
.ftype .tag { height: calc(21 * var(--k)); font-size: calc(11 * var(--k)); }
.req {
  display: grid;
  place-items: center;
  justify-self: center;
  width: calc(20 * var(--k));
  height: calc(20 * var(--k));
  border: 1px solid #d6d6d2;
  border-radius: calc(6 * var(--k));
}
.req .i { width: calc(12 * var(--k)); height: calc(12 * var(--k)); stroke-width: 2.6; }
.req.on { border-color: var(--ink); background: var(--ink); color: var(--lime); }

.vpick { display: flex; align-items: center; gap: calc(6 * var(--k)); margin-bottom: calc(14 * var(--k)); }
.vopt {
  display: inline-flex;
  align-items: center;
  gap: calc(7 * var(--k));
  height: calc(32 * var(--k));
  padding: 0 calc(12 * var(--k));
  border: 1px solid var(--ui-line);
  border-radius: calc(8 * var(--k));
  font-size: calc(13 * var(--k));
  font-weight: 500;
  color: var(--ui-muted);
}
.vopt.is-on { border-color: var(--lime-ico); background: var(--lime-tint); color: var(--lime-ink); }
.vfor { display: inline-flex; align-items: center; gap: calc(6 * var(--k)); margin-left: auto; font-size: calc(12 * var(--k)); color: var(--ui-faint); }
.kb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(10 * var(--k)); }
.kb__col { min-height: calc(300 * var(--k)); padding: calc(10 * var(--k)); border-radius: calc(12 * var(--k)); background: #f7f7f4; }
.kb__h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: calc(10 * var(--k)) !important;
  font-size: calc(12.5 * var(--k));
  font-weight: 600;
  color: var(--ink);
}
.kb__h em { font-style: normal; font-weight: 500; color: var(--ui-faint); }
.kc {
  display: grid;
  gap: calc(3 * var(--k));
  padding: calc(10 * var(--k));
  border: 1px solid var(--ui-line);
  border-radius: calc(10 * var(--k));
  background: #fff;
}
.kc + .kc { margin-top: calc(8 * var(--k)); }
.kc b { font-size: calc(12.5 * var(--k)); color: var(--ink); }
.kc span:not(.tag) { font-size: calc(12 * var(--k)); color: var(--ui-muted); }
.kc .tag { justify-self: start; margin-top: calc(4 * var(--k)); height: calc(21 * var(--k)); font-size: calc(11 * var(--k)); }

.rels { display: grid; gap: calc(12 * var(--k)); padding-top: calc(6 * var(--k)); }
.rel { display: flex; align-items: center; }
.rel__a,
.rel__b {
  display: inline-flex;
  align-items: center;
  gap: calc(8 * var(--k));
  flex: none;
  height: calc(40 * var(--k));
  padding: 0 calc(14 * var(--k));
  border: 1px solid var(--ui-line);
  border-radius: calc(10 * var(--k));
  background: #fff;
  font-weight: 600;
  color: var(--ink);
}
.rel__a { border-color: var(--lime-ico); background: var(--lime-tint); color: var(--lime-ink); }
.rel__line {
  position: relative;
  flex: 1;
  height: 1px;
  margin: 0 calc(6 * var(--k));
  background: repeating-linear-gradient(90deg, #c9c9c4 0 5px, transparent 5px 9px);
}
.rel__line::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid #b5b5b0;
  border-right: 1px solid #b5b5b0;
  transform: translateY(-50%) rotate(45deg);
}
.rel__line em {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  padding: 0 calc(8 * var(--k));
  background: #fff;
  font-style: normal;
  font-size: calc(12 * var(--k));
  color: var(--ui-muted);
  white-space: nowrap;
}

.perm { overflow: hidden; border: 1px solid var(--ui-line); border-radius: calc(12 * var(--k)); }
.perm__row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  align-items: center;
  height: calc(50 * var(--k));
  padding: 0 calc(14 * var(--k));
  border-top: 1px solid var(--ui-line);
  font-size: calc(13.5 * var(--k));
}
.perm__row:first-child { border-top: 0; }
.perm__row > span:not(:first-child) { justify-self: center; }
.perm__head { height: calc(36 * var(--k)); background: #fafaf8; font-size: calc(11 * var(--k)); font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ui-faint); }
.pm {
  display: grid;
  place-items: center;
  width: calc(22 * var(--k));
  height: calc(22 * var(--k));
  border-radius: 50%;
  color: #c9c9c4;
  font-size: calc(13 * var(--k));
}
.pm .i { width: calc(12 * var(--k)); height: calc(12 * var(--k)); stroke-width: 2.6; }
.pm.on { background: var(--lime-tint); color: var(--lime-ink); }
.perm__rule {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--k));
  margin-top: calc(14 * var(--k)) !important;
  padding: calc(12 * var(--k)) calc(14 * var(--k));
  border-radius: calc(11 * var(--k));
  background: #f7f7f4;
  font-size: calc(13 * var(--k));
  color: var(--ui-muted);
}
.perm__rule b { color: var(--ink); }

/* ---------- operate: team workspaces ---------- */
.app--team .app__top { gap: calc(14 * var(--k)); }
.app--team .app__crumb { padding-left: calc(14 * var(--k)); border-left: 1px solid var(--ui-line); }
.tp { height: calc(446 * var(--k)); padding: calc(16 * var(--k)) calc(18 * var(--k)); }
.tp__mods { display: flex; gap: calc(6 * var(--k)); margin-bottom: calc(14 * var(--k)); }
.tp__grid { display: grid; gap: calc(12 * var(--k)); }
.tp__grid--split { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.tp__card { min-width: 0; padding: calc(14 * var(--k)); border: 1px solid var(--ui-line); border-radius: calc(13 * var(--k)); }
.tp__h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(8 * var(--k));
  margin-bottom: calc(10 * var(--k)) !important;
  font-size: calc(14 * var(--k));
  font-weight: 600;
  color: var(--ink);
}

.arr__row,
.rq {
  display: grid;
  align-items: center;
  column-gap: calc(10 * var(--k));
  height: calc(46 * var(--k));
  border-top: 1px solid #f0f0ee;
  font-size: calc(13 * var(--k));
}
.arr__row:first-child,
.rq:first-child { border-top: 0; }
.arr__row { grid-template-columns: calc(44 * var(--k)) minmax(0, 1.2fr) minmax(0, 1.2fr) auto; }
.arr__row > *,
.rq > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arr__row .t, .rq__id { font-weight: 600; color: var(--ui-muted); }
.arr__row .m { color: var(--ui-muted); }

.inbox__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: calc(10 * var(--k));
  padding: calc(9 * var(--k)) 0;
  border-top: 1px solid #f0f0ee;
}
.inbox__row:first-of-type { border-top: 0; }
.inbox__row b { display: block; font-size: calc(13 * var(--k)); color: var(--ink); }
.inbox__row span:not(.ch) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(12.5 * var(--k)); color: var(--ui-muted); }
.inbox__row time { align-self: start; font-size: calc(11.5 * var(--k)); color: var(--ui-faint); }
.inbox__row.is-new b::after {
  content: "";
  display: inline-block;
  width: calc(7 * var(--k));
  height: calc(7 * var(--k));
  margin-left: calc(6 * var(--k));
  border-radius: 50%;
  background: var(--lime-ico);
  vertical-align: middle;
}

.pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(10 * var(--k)); }
.pipe__col { min-height: calc(356 * var(--k)); padding: calc(10 * var(--k)); border-radius: calc(12 * var(--k)); background: #f7f7f4; }
.pipe__h { display: flex; justify-content: space-between; margin-bottom: calc(10 * var(--k)) !important; font-size: calc(12.5 * var(--k)); font-weight: 600; color: var(--ink); }
.pipe__h em { font-style: normal; font-weight: 500; color: var(--ui-faint); }
.deal {
  display: grid;
  gap: calc(3 * var(--k));
  padding: calc(11 * var(--k));
  border: 1px solid var(--ui-line);
  border-radius: calc(10 * var(--k));
  background: #fff;
}
.deal + .deal { margin-top: calc(8 * var(--k)); }
.deal b { font-size: calc(13 * var(--k)); color: var(--ink); }
.deal span:not(.tag) { font-size: calc(12 * var(--k)); color: var(--ui-muted); }
.deal .tag { justify-self: start; margin-top: calc(5 * var(--k)); height: calc(21 * var(--k)); font-size: calc(11 * var(--k)); }
.deal.is-hot { border-color: var(--lime-ico); box-shadow: 0 0 0 3px var(--lime-tint); }

.rq { grid-template-columns: calc(62 * var(--k)) minmax(0, 1fr) calc(66 * var(--k)) auto; }
.rq.is-sel { margin: 0 calc(-8 * var(--k)); padding: 0 calc(8 * var(--k)); border-radius: calc(8 * var(--k)); background: #fbfff0; }
.rq__t { font-weight: 600; color: var(--ink); }
.rq__sla { display: inline-flex; align-items: center; gap: calc(4 * var(--k)); font-size: calc(12 * var(--k)); color: var(--ui-muted); }
.rq__sla .i { width: calc(13 * var(--k)); height: calc(13 * var(--k)); }
.rq__sla.is-risk { color: var(--rose-ink); font-weight: 600; }
.tp__resolve { display: flex; justify-content: flex-end; margin-top: calc(12 * var(--k)); }

.proc__row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) calc(24 * var(--k)) auto;
  align-items: center;
  column-gap: calc(12 * var(--k));
  height: calc(50 * var(--k));
  border-top: 1px solid #f0f0ee;
  font-size: calc(13 * var(--k));
}
.proc__row:first-of-type { border-top: 0; }
.proc__row > span:first-child { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proc__bar { 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); }
.proc__row > span:nth-child(3) { color: var(--ui-muted); text-align: right; }

.task {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--k));
  height: calc(46 * var(--k));
  border-top: 1px solid #f0f0ee;
  font-size: calc(13 * var(--k));
}
.task:first-of-type { border-top: 0; }
.task > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task time { font-size: calc(12 * var(--k)); color: var(--ui-faint); }
.task .box {
  display: grid;
  place-items: center;
  flex: none;
  width: calc(18 * var(--k));
  height: calc(18 * var(--k));
  border: 1.5px solid #cfcfca;
  border-radius: calc(5 * var(--k));
}
.task .box .i { width: calc(11 * var(--k)); height: calc(11 * var(--k)); stroke-width: 2.8; }
.task.is-done { color: var(--ui-faint); }
.task.is-done > span:nth-child(2) { text-decoration: line-through; }
.task.is-done .box { border-color: var(--ink); background: var(--ink); color: var(--lime); }
.task.is-flag .box { border-color: var(--rose-ink); }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(10 * var(--k)); margin-bottom: calc(12 * var(--k)); }
.kpi { padding: calc(13 * var(--k)) calc(14 * var(--k)); border: 1px solid var(--ui-line); border-radius: calc(12 * var(--k)); }
.kpi span { display: block; font-size: calc(12 * var(--k)); color: var(--ui-muted); }
.kpi b { display: block; margin-top: calc(6 * var(--k)); font-family: var(--font-head); font-size: calc(24 * var(--k)); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.kpi em { display: block; margin-top: calc(4 * var(--k)); font-style: normal; font-size: calc(11.5 * var(--k)); color: var(--ui-faint); }
.kpi em.good { color: var(--lime-ink); font-weight: 600; }
.legend { display: inline-flex; align-items: center; gap: calc(6 * var(--k)); font-size: calc(12 * var(--k)); font-weight: 500; color: var(--ui-muted); }
.legend i { width: calc(9 * var(--k)); height: calc(9 * var(--k)); border-radius: 3px; background: var(--lime-ico); }
.bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: calc(14 * var(--k));
  height: calc(200 * var(--k));
  padding: calc(6 * var(--k)) calc(6 * var(--k)) 0;
  background: repeating-linear-gradient(to top, #f1f1ee 0 1px, transparent 1px calc(40 * var(--k)));
}
.bars span {
  position: relative;
  height: calc(var(--h) * 100%);
  border-radius: calc(7 * var(--k)) calc(7 * var(--k)) 0 0;
  background: #e7e7e2;
}
.bars span.is-hi { background: var(--lime); }
.bars em {
  position: absolute;
  left: 50%;
  top: calc(100% + 8 * var(--k));
  transform: translateX(-50%);
  font-style: normal;
  font-size: calc(11.5 * var(--k));
  color: var(--ui-faint);
}
.chart { padding-bottom: calc(30 * var(--k)); }

.ctx {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--k));
  height: calc(54 * var(--k));
  padding: 0 calc(18 * var(--k));
  border-top: 1px solid var(--ui-line);
  background: #fbfff0;
  font-size: calc(13 * var(--k));
  color: var(--ui-muted);
  white-space: nowrap;
}
.ctx__label { display: inline-flex; align-items: center; gap: calc(7 * var(--k)); font-weight: 600; color: var(--lime-ink); }
.ctx__label .i { width: calc(15 * var(--k)); height: calc(15 * var(--k)); }
.ctx .who .av { width: calc(24 * var(--k)); height: calc(24 * var(--k)); }
.ctx__sep { width: 1px; height: calc(18 * var(--k)); background: #e2e6d4; }
.ctx__note { margin-left: auto; font-size: calc(12 * var(--k)); color: var(--ui-faint); }

/* ---------- journey: two screens, one record ---------- */
.js-body { display: grid; grid-template-columns: minmax(0, 1fr) calc(290 * var(--k)); }
.js-main { min-width: 0; padding: calc(18 * var(--k)); }
.js-side { padding: calc(18 * var(--k)); border-left: 1px solid var(--ui-line); background: #fcfcfb; }
.jt { position: relative; border-radius: calc(12 * var(--k)); transition: box-shadow .3s ease, background-color .3s ease; }
.jt::after {
  content: attr(data-j);
  position: absolute;
  top: calc(-9 * var(--k));
  right: calc(-9 * var(--k));
  display: grid;
  place-items: center;
  width: calc(22 * var(--k));
  height: calc(22 * var(--k));
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: calc(11 * var(--k));
  font-weight: 700;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .25s ease, transform .3s var(--ease);
}
.jt.is-lit {
  background-color: #fcfff3;
  box-shadow: 0 0 0 2px var(--lime), 0 0 0 7px rgba(199, 243, 104, .3);
}
.jt.is-lit::after { opacity: 1; transform: none; }
.app--journey { overflow: visible; }         /* lets the step badges sit on the edge */
.app--journey .app__top { border-radius: calc(18 * var(--k)) calc(18 * var(--k)) 0 0; }

.cust {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--k));
  padding: calc(14 * var(--k));
  border: 1px solid var(--ui-line);
}
.cust > div { flex: 1 1 auto; min-width: 0; }
.cust .rec__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cust__tags { display: flex; flex: none; gap: calc(6 * var(--k)); }
.cust__contact {
  display: flex;
  gap: calc(16 * var(--k));
  margin: calc(12 * var(--k)) 0 calc(18 * var(--k)) !important;
  font-size: calc(12.5 * var(--k));
  color: var(--ui-muted);
}
.cust__contact span { display: inline-flex; align-items: center; gap: calc(6 * var(--k)); }
.cust__contact .i { width: calc(14 * var(--k)); height: calc(14 * var(--k)); }
.apt {
  display: grid;
  grid-template-columns: calc(84 * var(--k)) minmax(0, 1fr) auto;
  align-items: center;
  column-gap: calc(12 * var(--k));
  padding: calc(12 * var(--k)) calc(14 * var(--k));
  border: 1px solid var(--ui-line);
  font-size: calc(13 * var(--k));
}
.apt + .apt { margin-top: calc(8 * var(--k)); }
.apt b { display: block; color: var(--ink); }
.apt small { display: block; font-size: calc(12 * var(--k)); color: var(--ui-muted); }
.apt__time { font-weight: 600; color: var(--ink); }
.apt--past { opacity: .6; }
.convo { padding: calc(12 * var(--k)); }

.tk { padding: calc(14 * var(--k)); border: 1px solid var(--ui-line); }
.tk__top { display: flex; align-items: center; justify-content: space-between; gap: calc(8 * var(--k)); }
.tk__id { font-size: calc(12 * var(--k)); font-weight: 600; letter-spacing: 0.04em; color: var(--ui-faint); }
.tk__title { margin-top: calc(6 * var(--k)) !important; font-family: var(--font-head); font-size: calc(18 * var(--k)); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.tk__links { display: flex; flex-wrap: wrap; gap: calc(6 * var(--k)); margin-top: calc(12 * var(--k)); }
.tk__links .chip { height: calc(27 * var(--k)); font-size: calc(12 * var(--k)); }
.tl { position: relative; margin-top: calc(16 * var(--k)); padding-left: calc(22 * var(--k)); }
.tl::before { content: ""; position: absolute; left: calc(6 * var(--k)); top: calc(6 * var(--k)); bottom: calc(6 * var(--k)); width: 1px; background: var(--ui-line); }
.tl__item { position: relative; padding: calc(10 * var(--k)) calc(12 * var(--k)); }
.tl__item + .tl__item { margin-top: calc(8 * var(--k)); }
.tl__item::before {
  content: "";
  position: absolute;
  left: calc(-20 * var(--k));
  top: calc(15 * var(--k));
  width: calc(9 * var(--k));
  height: calc(9 * var(--k));
  border-radius: 50%;
  background: #fff;
  border: 2px solid #cfcfca;
}
.tl__item p { font-size: calc(13 * var(--k)); color: var(--ink); }
.tl__item small { display: block; margin-top: calc(3 * var(--k)); font-size: calc(12 * var(--k)); color: var(--ui-faint); }
.tl__note {
  margin-top: calc(8 * var(--k)) !important;
  padding: calc(10 * var(--k)) calc(12 * var(--k));
  border-radius: calc(10 * var(--k));
  background: #f6f6f3;
  font-size: calc(12.5 * var(--k)) !important;
  line-height: 1.45;
  color: var(--ui-text) !important;
}
.tl__item--fu { border: 1px solid var(--ui-line); }
.tl__item--fu::before { border-color: var(--lime-ico); background: var(--lime); }
.fu__row { display: flex; align-items: center; justify-content: space-between; margin-top: calc(8 * var(--k)); font-size: calc(12.5 * var(--k)); color: var(--ui-muted); }
.toggle {
  position: relative;
  width: calc(30 * var(--k));
  height: calc(18 * var(--k));
  border-radius: 99px;
  background: var(--ink);
}
.toggle::after {
  content: "";
  position: absolute;
  right: calc(3 * var(--k)); top: calc(3 * var(--k));
  width: calc(12 * var(--k));
  height: calc(12 * var(--k));
  border-radius: 50%;
  background: var(--lime);
}

/* =========================================================
   MOTION — opt-in, and only when the visitor allows it
   ========================================================= */
@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; }

  /* core idea: nodes arrive in order, connectors draw between them */
  .cos-js .flow.rv { opacity: 1; transform: none; }
  .cos-js .flow .flow__node { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .cos-js .flow .flow__step::after { transform: scaleX(0); transition: transform .6s var(--ease); }
  .cos-js .flow.is-in .flow__node { opacity: 1; transform: none; }
  .cos-js .flow.is-in .flow__step::after { transform: scaleX(1); }
  .flow__step:nth-child(1) .flow__node { transition-delay: .05s; }
  .flow__step:nth-child(1)::after      { transition-delay: .3s; }
  .flow__step:nth-child(2) .flow__node { transition-delay: .45s; }
  .flow__step:nth-child(2)::after      { transition-delay: .7s; }
  .flow__step:nth-child(3) .flow__node { transition-delay: .85s; }
  .flow__step:nth-child(3)::after      { transition-delay: 1.1s; }
  .flow__step:nth-child(4) .flow__node { transition-delay: 1.25s; }
  .flow__step:nth-child(4)::after      { transition-delay: 1.5s; }
  .flow__step:nth-child(5) .flow__node { transition-delay: 1.65s; }

  /* connect: wires draw in, then a slow pulse runs along each one */
  .cos-js .hub.rv { opacity: 1; transform: none; }
  .cos-js .hub .hub__wire { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s var(--ease); transition-delay: var(--d, 0s); }
  .cos-js .hub.is-in .hub__wire { stroke-dashoffset: 0; }
  .cos-js .hub .hub__item,
  .cos-js .hub .hub__core { opacity: 0; transition: opacity .7s var(--ease); transition-delay: var(--d, 0s); }
  .cos-js .hub.is-in .hub__item,
  .cos-js .hub.is-in .hub__core { opacity: 1; }
  .cos-js .hub.is-in .hub__pulse { opacity: .95; animation: cosPulse 3.8s linear infinite; animation-delay: calc(1.2s + var(--d, 0s)); }
  @keyframes cosPulse { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

  /* tab panels settle in when they change */
  .bld__panel:not([hidden]),
  .tp:not([hidden]) { animation: cosSettle .45s var(--ease); }
  @keyframes cosSettle { from { opacity: 0; transform: translateY(6px); } }

  /* the playing team fills its underline over the interval */
  .teams.is-cycling .team.is-on .team__bar { animation: cosFill 4.8s linear forwards; }
  @keyframes cosFill { to { transform: scaleX(1); } }

  .fields__row { animation: cosSettle .5s var(--ease) both; }
  .fields__row:nth-child(2) { animation-delay: .05s; }
  .fields__row:nth-child(3) { animation-delay: .1s; }
  .fields__row:nth-child(4) { animation-delay: .15s; }
  .fields__row:nth-child(5) { animation-delay: .2s; }
  .fields__row:nth-child(6) { animation-delay: .25s; }
  .fields__row:nth-child(7) { animation-delay: .3s; }
}

/* =========================================================
   BELOW 1180px — one column; product screens keep a fixed,
   readable scale and scroll sideways inside their own frame
   ========================================================= */
@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: 42px; line-height: 46px; }
  .cos-h2 { font-size: 32px; line-height: 38px; }
  .cos-h3 { font-size: 24px; line-height: 31px; }
  .cos-h1 br, .cos-h2 br, .cos-h3 br { display: none; }
  .cos-lead, .cos-hero__intro { font-size: 18px; line-height: 27px; }
  .cos-body { font-size: 16px; line-height: 26px; }
  .cos-cta { gap: 16px 24px; margin-top: 28px; }
  .cos-link { font-size: 16px; gap: 8px; }
  .cos-link .i, .cos .btn .i { width: 18px; height: 18px; }

  .cos-sec { padding: 64px 22px; }
  .cos-hero { padding: 44px 22px 64px; }
  .cos-hero__grid { display: none; }
  .sec-head,
  .hub__after,
  .keyline,
  .jnote,
  .split,
  .split--ent { display: block; }
  .cos-hero__copy,
  .sec-head__copy,
  .hub__after .cos-body,
  .keyline .cos-body,
  .jnote .cos-body { margin-top: 20px; }
  figure.cos-hero__ui { margin-top: 60px; }
  .split__text { position: static; }
  .split__text .cos-lead { margin-top: 20px; }
  .cos-statement { font-size: 19px; line-height: 27px; margin-top: 24px; padding-top: 18px; }
  .split > figure,
  .split--ent .caps { margin-top: 36px; }

  /* screens: fixed scale, sideways scroll */
  .ui-scroll {
    margin: 0 -22px;
    padding: 10px 22px 22px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .ui-scroll > .app { width: calc(var(--w) * var(--k)); }

  .flow { flex-direction: column; align-items: flex-start; margin-top: 40px; padding-top: 0; }
  .flow__step { flex-direction: column; align-items: flex-start; width: 100%; flex: none; }
  .flow__step::after {
    flex: none;
    width: 9px;
    min-width: 0;
    height: 26px;
    margin: 6px 0 6px 22px;
    background:
      radial-gradient(circle at 50% calc(100% - 4px), var(--lime-ico) 3px, transparent 3.6px),
      linear-gradient(#d4d4d4, #d4d4d4) center top / 1px calc(100% - 6px) no-repeat;
    transform-origin: top center;
  }
  .flow__node { height: 48px; padding: 0 18px 0 46px; font-size: 17px; }
  .flow__n { position: absolute; left: 17px; bottom: auto; top: 50%; transform: translateY(-50%); font-size: 11px; }
  .flow__node--trio { flex-wrap: wrap; height: auto; padding: 6px 6px 6px 46px; gap: 4px; }
  .flow__node--trio .flow__n { left: 17px; }
  .flow__node--trio span:not(.flow__n) { height: 36px; padding: 0 12px; }

  .points { grid-template-columns: 1fr 1fr; margin-top: 48px; border-top: 0; }
  .point, .point:first-child { padding: 24px 16px 24px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .point:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
  .point .i { width: 24px; height: 24px; margin-bottom: 14px; }
  .point h3 { font-size: 17px; }
  .point p  { font-size: 14px; line-height: 22px; }

  figure.hub { margin: 56px -22px 0; padding: 36px 22px; }
  .hub__stage { height: auto; display: flex; flex-direction: column; align-items: center; }
  .hub__wires { display: none; }
  .hub__label { position: static; align-self: flex-start; margin-bottom: 12px; font-size: 11px; }
  .hub__list { display: flex; flex-wrap: wrap; gap: 8px; align-self: stretch; }
  .hub__item,
  .hub__list--in .hub__item,
  .hub__list--ex .hub__item {
    position: static;
    flex-direction: row;
    gap: 8px;
    height: 38px;
    padding: 0 12px 0 5px;
    border: 1px solid #e3e3de;
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
  }
  .hub__list--in .hub__item { flex-direction: row-reverse; }
  .hub__ico { width: 28px; height: 28px; box-shadow: none; border: 0; background: #f4f4f0; }
  .hub__ico .i { width: 14px; height: 14px; }
  .hub__core {
    position: relative;
    left: auto; top: auto;
    width: 100%;
    height: auto;
    margin: 34px 0;
    padding: 26px 18px;
    border-radius: 20px;
    box-shadow: 0 0 0 8px rgba(199, 243, 104, .18);
  }
  .hub__core::before,
  .hub__core::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1px;
    height: 26px;
    background: #cfcfca;
  }
  .hub__core::before { bottom: calc(100% + 8px); }
  .hub__core::after  { top: calc(100% + 8px); }
  .hub__mark { width: 40px; }
  .hub__name { font-size: 22px; margin-top: 10px; }
  .hub__sub { font-size: 13px; }
  .hub__caps { margin-top: 12px; flex-wrap: wrap; justify-content: center; }
  .hub__caps span { font-size: 11px; padding: 4px 9px; }
  .hub__label--ex { margin-top: 0; }
  .hub__after { margin-top: 40px; }

  .teams { display: block; margin-top: 36px; }
  .teams__list {
    flex-direction: row;
    gap: 8px;
    margin: 0 -22px 16px;
    padding: 0 22px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    border-top: 0;
  }
  .teams__list::-webkit-scrollbar { display: none; }
  .team {
    flex: none;
    width: auto;
    padding: 9px 14px;
    border: 1px solid var(--rule);
    border-radius: 999px;
  }
  .team b { font-size: 14px; color: var(--muted); }
  .team span, .team::before, .team__bar { display: none; }
  .team.is-on { border-color: var(--ink); background: var(--ink); }
  .team.is-on b { color: #fff; }
  .keyline { margin-top: 44px; }

  .jrail { margin-top: 40px; }
  .jrail::before, .jrail::after { top: 15px; }
  .jnode { gap: 8px; font-size: 11px; line-height: 14px; padding: 0 2px; }
  .jnode em { width: 32px; height: 32px; font-size: 12px; }
  .jscreens { display: block; margin-top: 28px; }
  .jscreens > figure + figure { margin-top: 4px; }
  .jbrace { height: auto; margin: 0; text-align: center; }
  .jbrace::before { display: none; }
  .jbrace span { position: static; transform: none; height: 36px; padding: 0 14px; font-size: 13px; }
  .jbrace span .i { width: 15px; height: 15px; }
  .jnote { margin-top: 36px; }

  .cap { grid-template-columns: 40px minmax(0, 1fr); padding: 22px 0; }
  .cap__ico { display: none; }
  .cap__n { font-size: 12px; padding-top: 5px; }
  .cap h3 { font-size: 20px; line-height: 27px; }
  .cap p { font-size: 15px; line-height: 24px; }

  .tree { margin-top: 40px; }
  .tree__root { padding: 12px 22px 12px 12px; border-radius: 16px; gap: 12px; }
  .tree__root img { width: 36px; }
  .tree__root b { font-size: 19px; }
  .tree__root small { font-size: 11px; }
  .tree__root::after { height: 28px; }
  .tree__cols { display: block; margin-top: 28px; padding-top: 0; }
  .tree__cols::before, .tree__col::before { display: none; }
  .tree__col { padding: 0; }
  .tree__col + .tree__col { margin-top: 24px; }
  .tree__head { height: 50px; font-size: 18px; border-radius: 12px; }
  .tree__head .i { width: 18px; height: 18px; }
  .tree__list a, .tree__list span { height: 46px; font-size: 15px; }

  .cos-final { padding: 80px 22px 88px; }
  .cos-final .cos-h2 { font-size: 36px; line-height: 42px; }
  .cos-final .cos-body { font-size: 16px; }
  .cos-final .cos-cta { flex-direction: column; align-items: stretch; }
}
