/* =========================================================
   Partners — page
   Self-contained by design: every page keeps its own stylesheet.
   The product-page foundation (type, sections, buttons, the
   product-UI kit, FAQ) is copied from the other pages so they
   read as one system; blocks only this page uses are
   prefixed .pt-.
   Loaded after /index.css (palette, fonts, nav, footer, --u).
     --u  page layout and type
     --k  the inside of a product screen (= --u on desktop,
          fixed below 1180px)
   ========================================================= */


.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)); }


/* ---------- 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; }

.av--lg { width: calc(40 * var(--k)); height: calc(40 * var(--k)); font-size: calc(13 * var(--k)); }



/* =========================================================
   PARTNERS — page blocks
   One reading order everywhere: eyebrow → heading → copy →
   visual, stacked (the hero keeps copy | photo, as on Pricing).
   The story: who partners with us → what they get → a distinct
   developer section → three steps → FAQ → a dark close.
   No revenue figures, margins or support guarantees are shown.
   ========================================================= */
.pt .sec-head { display: block; }
.pt .sec-head .cos-h2 { max-width: calc(1040 * var(--u)); }
.pt .sec-head__copy { max-width: calc(780 * var(--u)); margin-top: calc(22 * var(--u)); }
.pt-fine { margin: calc(28 * var(--u)) 0 0; font-size: calc(14 * var(--u)); line-height: calc(22 * var(--u)); color: var(--muted); }
.pt-ill { display: inline-block; margin: 0; padding: calc(3 * var(--u)) calc(10 * var(--u)); border: 1px dashed #c9c9c2; border-radius: 99px; background: rgba(255, 255, 255, .7); font-size: calc(12.5 * var(--u)); font-weight: 600; color: var(--ui-muted); }

.pt-tint--soft { background: #f6f8f6; }
.pt-tint--lav  { background: #f7f4fc; }

/* icon tile */
.pt-ico { display: inline-grid; place-items: center; flex: none; width: calc(48 * var(--u)); height: calc(48 * var(--u)); border-radius: calc(13 * var(--u)); background: var(--lime-tint); color: var(--lime-ink); }
.pt-ico .i { width: calc(23 * var(--u)); height: calc(23 * var(--u)); stroke-width: 1.6; }
.pt-ico--line { background: #fff; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); }

/* image placeholder (from Customer OS .os-ph) */
.pt-ph { display: flex; flex-direction: column; justify-content: flex-end; gap: calc(14 * var(--u)); margin: 0; 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); }
.pt-ph > .i { width: calc(30 * var(--u)); height: calc(30 * var(--u)); color: var(--ui-faint); stroke-width: 1.5; }
.pt-ph figcaption { max-width: calc(400 * var(--u)); font-size: calc(15 * var(--u)); line-height: 1.5; }
.pt-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: copy | one photo ---------- */
.pt-hero { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: calc(64 * var(--u)); align-items: center; }
.pt-hero .cos-h1 { font-size: calc(68 * var(--u)); line-height: calc(74 * var(--u)); }
.pt-hero .cos-hero__intro { max-width: calc(660 * var(--u)); }
.pt-ph--hero { aspect-ratio: 4 / 5; }
/* photo in the placeholder's slot: same placement, no dashed frame */
.pt-ph.pt-photo { position: relative; padding: 0; overflow: hidden; border: 0; background: #f1f1ee; }
.pt-photo > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }

/* ---------- 02 opportunities: three cards ---------- */
.pt-ops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(20 * var(--u)); margin: calc(64 * var(--u)) 0 0; padding: 0; list-style: none; }
.pt-op { padding: calc(30 * var(--u)) calc(28 * var(--u)) calc(32 * var(--u)); border: 1px solid var(--rule); border-radius: calc(18 * var(--u)); background: #fff; transition: border-color .2s ease; }
.pt-op:hover { border-color: #d6d6d0; }
.pt-op h3 { margin: calc(26 * var(--u)) 0 0; font-family: var(--font-head); font-size: calc(22 * var(--u)); line-height: calc(28 * var(--u)); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.pt-op p { margin: calc(8 * var(--u)) 0 0; font-size: calc(16 * var(--u)); line-height: calc(25 * var(--u)); color: var(--muted); }

/* ---------- 03 benefits: 2 × 2 ---------- */
.pt-bens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: calc(64 * var(--u)) 0 0; padding: 0; overflow: hidden; border: 1px solid var(--rule); border-radius: calc(18 * var(--u)); background: #fff; list-style: none; }
.pt-ben { display: grid; grid-template-columns: calc(48 * var(--u)) minmax(0, 1fr); column-gap: calc(20 * var(--u)); align-items: start; padding: calc(30 * var(--u)) calc(30 * var(--u)); }
.pt-ben:nth-child(even) { border-left: 1px solid var(--rule); }
.pt-ben:nth-child(n+3) { border-top: 1px solid var(--rule); }
.pt-ben h3 { margin: calc(2 * var(--u)) 0 0; font-family: var(--font-head); font-size: calc(20 * var(--u)); line-height: calc(26 * var(--u)); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.pt-ben p { margin: calc(6 * var(--u)) 0 0; font-size: calc(15.5 * var(--u)); line-height: calc(24 * var(--u)); color: var(--muted); }

/* ---------- 04 developers: copy | code → flow → preview ---------- */
.pt-dev { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: calc(72 * var(--u)); align-items: center; margin: calc(56 * var(--u)) 0 0; }
.pt-dev__l { display: grid; gap: calc(22 * var(--u)); margin: 0; padding: 0; list-style: none; }
.pt-dev__l li { display: grid; grid-template-columns: calc(48 * var(--u)) minmax(0, 1fr); column-gap: calc(18 * var(--u)); align-items: center; }
.pt-dev__l h3 { margin: 0; font-family: var(--font-head); font-size: calc(20 * var(--u)); line-height: calc(26 * var(--u)); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.pt-dev__l p { margin: calc(2 * var(--u)) 0 0; font-size: calc(15.5 * var(--u)); line-height: calc(23 * var(--u)); color: var(--muted); }
.pt-dev .pt-ico { background: #ece6f8; color: #5b3f93; }
.pt-dev__line { max-width: calc(520 * var(--u)); margin: calc(34 * var(--u)) 0 0; padding-top: calc(26 * var(--u)); border-top: 1px solid rgba(36, 36, 36, .1); font-size: calc(17 * var(--u)); line-height: calc(27 * var(--u)); color: var(--ink); }
.pt-dev__cta { margin-top: calc(26 * var(--u)); }
figure.pt-dev__vis { --k: var(--u); position: relative; display: grid; gap: calc(14 * var(--u)); margin: 0; padding: calc(28 * var(--u)); border: 1px solid rgba(91, 63, 147, .12); border-radius: calc(20 * var(--u)); background: rgba(255, 255, 255, .55); }
.pt-code { background: #1d1f22; border-color: #1d1f22; color: #e6e6e3; transition: opacity .45s ease, transform .45s var(--ease); }
.pt-code__bar { display: flex; align-items: center; gap: calc(6 * var(--k)); padding: calc(11 * var(--k)) calc(14 * var(--k)); border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: calc(12 * var(--k)); color: rgba(255, 255, 255, .5); }
.pt-code__bar i { width: calc(9 * var(--k)); height: calc(9 * var(--k)); border-radius: 50%; background: rgba(255, 255, 255, .18); }
.pt-code__bar span { margin-left: calc(8 * var(--k)); }
.pt-code__b { margin: 0; padding: calc(16 * var(--k)) calc(18 * var(--k)) calc(18 * var(--k)); overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: calc(13.5 * var(--k)); line-height: 1.65; white-space: pre; }
.pt-code__b .c { color: rgba(255, 255, 255, .42); }
.pt-code__b .k { color: #c9b6f2; }
.pt-code__b .s { color: var(--lime); }
.pt-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(26 * var(--k)); margin: 0; padding: 0; list-style: none; }
.pt-flow li { position: relative; display: flex; align-items: center; gap: calc(9 * var(--k)); padding: calc(11 * var(--k)) calc(12 * var(--k)); border: 1px solid var(--ui-line); border-radius: calc(12 * var(--k)); background: #fff; font-size: calc(13 * var(--k)); font-weight: 600; line-height: 1.3; color: var(--ink); transition: opacity .45s ease, transform .45s var(--ease); }
.pt-flow li + li::before { content: ""; position: absolute; right: calc(100% + 3 * var(--k)); top: 50%; width: calc(20 * var(--k)); height: 2px; background: #c9b6f2; }
.pt-flow li span { display: inline-grid; place-items: center; flex: none; width: calc(28 * var(--k)); height: calc(28 * var(--k)); border-radius: calc(8 * var(--k)); background: #f1f1ed; color: var(--ui-muted); }
.pt-flow li span .i { width: calc(15 * var(--k)); height: calc(15 * var(--k)); }
.pt-flow__on { border-color: #b9a2e6 !important; box-shadow: 0 0 0 calc(3 * var(--k)) rgba(185, 162, 230, .25); }
.pt-flow__on span { background: #ece6f8 !important; color: #5b3f93 !important; }
.pt-prev { padding: calc(14 * var(--k)) calc(16 * var(--k)); transition: opacity .45s ease, transform .45s var(--ease); }
.pt-prev p { margin: 0; }
.pt-prev__k { font-size: calc(11 * var(--k)); font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ui-faint); }
.pt-prev__r { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: calc(8 * var(--k)); margin-top: calc(8 * var(--k)) !important; }
.pt-prev__r b { font-size: calc(15 * var(--k)); font-weight: 600; color: var(--ink); }
.pt-prev__st { display: inline-flex; align-items: center; gap: calc(5 * var(--k)); padding: calc(3 * var(--k)) calc(10 * var(--k)); border-radius: 99px; background: var(--lime-tint); font-size: calc(12 * var(--k)); font-weight: 600; color: var(--lime-ink); }
.pt-prev__st .i { width: calc(13 * var(--k)); height: calc(13 * var(--k)); stroke-width: 2.4; }
.pt-prev__m { margin-top: calc(4 * var(--k)) !important; font-size: calc(12.5 * var(--k)); color: var(--ui-muted); }
.pt-dev__vis .pt-ill { justify-self: start; }

/* ---------- 05 how it works: three steps ---------- */
.pt-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: calc(64 * var(--u)) 0 0; padding: 0; list-style: none; counter-reset: none; }
.pt-steps li { padding: calc(30 * var(--u)) calc(36 * var(--u)) 0 0; border-top: 1px solid var(--rule); }
.pt-steps li + li { padding-left: calc(36 * var(--u)); border-left: 1px solid var(--rule); }
.pt-steps__n { display: block; font-family: var(--font-head); font-size: calc(64 * var(--u)); line-height: 1; font-weight: 500; letter-spacing: -0.04em; color: var(--lime-ink); }
.pt-steps h3 { margin: calc(26 * var(--u)) 0 0; font-family: var(--font-head); font-size: calc(22 * var(--u)); line-height: calc(28 * var(--u)); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.pt-steps p { margin: calc(8 * var(--u)) 0 0; max-width: calc(360 * var(--u)); font-size: calc(16 * var(--u)); line-height: calc(25 * var(--u)); color: var(--muted); }

/* ---------- 07 final: dark band inside the frame ---------- */
.cos-final.pt-final { background: var(--ink); border-top-color: var(--ink); color: #fff; }
.pt-final .cos-final__grid { background-image: linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px); }
.pt-final .cos-eyebrow { color: var(--lime); }
.pt-final .cos-eyebrow::before { box-shadow: 0 0 0 calc(3 * var(--u)) rgba(199, 243, 104, .25); }
.pt-final .cos-h2 { color: #fff; }
.pt-final .dim { color: rgba(255, 255, 255, .55); }
.pt-final .cos-body { color: rgba(255, 255, 255, .72); }
.pt-final .btn--line { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38); }
.pt-final .btn--line:hover { box-shadow: inset 0 0 0 1px #fff; }

/* keyboard focus on the CTAs, light and dark */
.pt .btn:focus-visible, .pt .cos-link:focus-visible { outline: 2px solid var(--lime-ico); outline-offset: 3px; }
.pt-final .btn:focus-visible { outline-color: var(--lime); }
.pt .btn:active { transform: translateY(1px); }

/* =========================================================
   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; }
  .cos-js .pt-dev__vis [data-lit]:not(.is-lit) { opacity: 0; transform: translateY(8px); }
  .cos-js .pt-flow li:nth-child(2) { transition-delay: .12s; }
  .cos-js .pt-flow li:nth-child(3) { transition-delay: .24s; }
  @keyframes osSettle { from { opacity: 0; transform: translateY(6px); } }
  .os-qa[open] .os-qa__a { animation: osSettle .35s var(--ease); }
}

/* =========================================================
   BELOW 1180px — one column.
   ========================================================= */
@media (max-width: 1179px) {
  .pt-ph.pt-photo { aspect-ratio: 4 / 3; min-height: 0; padding: 0; }
  .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: 32px; line-height: 38px; }
  .cos-h1 br, .cos-h2 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; }

  .cos-sec { padding: 64px 22px; }
  .cos-hero { padding: 44px 22px 64px; }
  .cos-hero__grid { display: none; }
  .pt .sec-head__copy { margin-top: 16px; }
  .app { font-size: 13px; }
  .pt-fine { margin-top: 20px; font-size: 13px; line-height: 20px; }
  .pt-ill { font-size: 12px; padding: 3px 10px; }

  .pt-ico { width: 42px; height: 42px; border-radius: 11px; }
  .pt-ico .i { width: 20px; height: 20px; }
  .pt-ph { gap: 10px; padding: 18px; border-radius: 12px; }
  .pt-ph > .i { width: 24px; height: 24px; }
  .pt-ph figcaption { max-width: none; font-size: 13.5px; }
  .pt-ph figcaption b { font-size: 11px; margin-bottom: 4px; }

  /* hero: text first, then the photo */
  .pt-hero { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .pt-hero .cos-h1 { font-size: 38px; line-height: 43px; }
  .pt-hero .cos-cta .btn { flex: 1 1 200px; }
  .pt-ph--hero { aspect-ratio: 4 / 3; }

  /* opportunities: stacked */
  .pt-ops { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
  .pt-op { padding: 20px 18px 22px; border-radius: 16px; }
  .pt-op h3 { margin-top: 16px; font-size: 19px; line-height: 25px; }
  .pt-op p { font-size: 15px; line-height: 23px; }

  /* benefits: one column */
  .pt-bens { grid-template-columns: minmax(0, 1fr); margin-top: 32px; border-radius: 16px; }
  .pt-ben { grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .pt-ben:nth-child(even) { border-left: 0; }
  .pt-ben:nth-child(n+2) { border-top: 1px solid var(--rule); }
  .pt-ben h3 { font-size: 17px; line-height: 23px; }
  .pt-ben p { font-size: 14.5px; line-height: 22px; }

  /* developers: copy, then the illustration */
  .pt-dev { grid-template-columns: minmax(0, 1fr); row-gap: 32px; margin-top: 32px; }
  .pt-dev__l { gap: 16px; }
  .pt-dev__l li { grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; }
  .pt-dev__l h3 { font-size: 17px; line-height: 23px; }
  .pt-dev__l p { font-size: 15px; line-height: 22px; }
  .pt-dev__line { margin-top: 24px; padding-top: 20px; font-size: 16px; line-height: 25px; }
  .pt-dev__cta { margin-top: 20px; }
  figure.pt-dev__vis { --k: .86px; padding: 14px; gap: 12px; border-radius: 16px; }
  .pt-flow { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pt-flow li + li::before { right: auto; left: 24px; top: -12px; width: 2px; height: 10px; }

  /* steps: stacked */
  .pt-steps { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .pt-steps li, .pt-steps li + li { padding: 22px 0; border-left: 0; }
  .pt-steps__n { font-size: 44px; }
  .pt-steps h3 { margin-top: 14px; font-size: 19px; line-height: 25px; }
  .pt-steps p { max-width: none; font-size: 15px; line-height: 23px; }

  /* FAQ */
  .os-faq { display: block; }
  .os-faq__intro { position: static; margin-bottom: 24px; }
  .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; }

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