/* CrewMesh marketing site. Plain CSS, no build step. */

:root {
  --bg: #ffffff;
  --ink: #1b1a19;
  --soft: #5f5d59;
  --line: #e6e4df;
  --paper: #fdfbf7;

  --lav: #c3b9ff;
  --mint: #9be7c8;
  --peach: #ffc49b;
  --pink: #ffb3c1;
  --sky: #a5d1ff;
  --yellow: #ffe08a;

  --accent: #5a46f0;
  --accent-deep: #4332c9;
  --accent-soft: #eceafd;
  --accent-ink: #2b2670;
  --human: #b3392d;
  --human-soft: #fbe9e6;
  --human-ink: #6d241c;
  --ok: #1f9d63;

  --font-d: "Gabarito", ui-sans-serif, system-ui, sans-serif;
  --font-t: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-m: "Geist Mono", ui-monospace, monospace;

  --max: 1296px;
  --gutter: clamp(20px, 5vw, 72px);
  --sec: clamp(76px, 9vw, 128px);
  --hair: rgb(27 26 25 / .18);
  --focus: var(--accent);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-card: 0 1px 2px rgb(27 26 25 / .08), 0 30px 56px -30px rgb(27 26 25 / .5);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--ink) #efede8; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font-t);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 2px; }
b, strong { font-weight: 600; }
::selection { background: var(--ink); color: var(--yellow); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: 24px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-s { display: inline-block; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; margin-left: 4px; color: var(--soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border: 0; border-radius: 14px;
  font: 700 17px/1 var(--font-d); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Type ---------- */
.h2 {
  font: 800 clamp(34px, 4.3vw, 58px)/1.03 var(--font-d);
  letter-spacing: -.025em; text-wrap: balance; max-width: 17em;
}
.sec-lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; max-width: 34em; text-wrap: pretty; color: var(--soft); }
.sec { padding-block: var(--sec); }
.sec-rule { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }

/* Colour fields: text on colour is always ink */
.field-yellow { background: var(--yellow); }
.field-sky { background: var(--sky); }
.field-pink { background: var(--pink); }
.field-lav { background: var(--lav); }
.field-peach { background: var(--peach); }
.field-mint { background: var(--mint); }
:is(.field-yellow, .field-sky, .field-pink, .field-lav, .field-peach, .field-mint) .sec-lede { color: var(--ink); }
.field-ink { background: var(--ink); color: var(--paper); --focus: var(--yellow); --hair: rgb(253 251 247 / .2); }
.field-ink .sec-lede { color: #d9d6cf; }
.field-ink ::selection { background: var(--yellow); color: var(--ink); }

/* ---------- Logo and header ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 23px/1 var(--font-d); letter-spacing: -.01em; text-decoration: none; color: var(--ink); min-height: 44px; }
.logo svg { width: 32px; height: 32px; }
.logo-inv { color: var(--paper); }
.logo-inv svg { border-radius: 8px; box-shadow: 0 0 0 1.5px #4a4946; }

.site-head { display: flex; align-items: center; gap: 22px; padding-block: 24px; }
.site-head .logo { margin-right: auto; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { white-space: nowrap; font-weight: 500; font-size: 15.5px; color: var(--soft); text-decoration: none; padding-block: 10px; }
.nav-links a:hover { color: var(--ink); text-decoration: underline; }
.head-cta { min-height: 46px; padding: 0 16px; font-size: 15.5px; white-space: nowrap; flex: none; }

.menu { position: relative; display: none; }
.menu summary {
  list-style: none; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px;
  border-radius: 14px; box-shadow: inset 0 0 0 2px var(--ink); font: 700 16px/1 var(--font-d); cursor: pointer; user-select: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: #fff; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 232px;
  background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 2px 6px rgb(27 26 25 / .1), 0 24px 48px -20px rgb(27 26 25 / .4);
}
.menu-panel a { display: block; padding: 13px 14px; border-radius: 10px; font-weight: 500; text-decoration: none; }
.menu-panel a:hover { background: #f4f2ee; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 56px);
  min-height: clamp(720px, 100svh, 960px);
  padding-left: max(var(--gutter), calc((100% - var(--max)) / 2));
}
.hero-text { display: flex; flex-direction: column; min-width: 0; padding-bottom: clamp(40px, 6vh, 72px); }
.hero-body { margin-block: auto; padding-top: 24px; }
h1 {
  font: 800 clamp(44px, 5.9vw, 88px)/1.1 var(--font-d);
  letter-spacing: -.028em; max-width: 9em;
}
.hl {
  background: var(--yellow); border-radius: 14px; padding: 0 .12em; margin-inline: -.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-lede { margin-top: 26px; max-width: 31em; font-size: clamp(17px, 1.35vw, 19.5px); color: var(--soft); text-wrap: pretty; }
.hero-lede strong { color: var(--ink); }
.hero-proof { margin-top: clamp(28px, 4vh, 44px); max-width: 32em; font: 600 16.5px/1.4 var(--font-d); text-wrap: balance; }
.hero-proof span { color: var(--soft); font-weight: 500; }

.wall {
  container-type: inline-size;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr));
  grid-template-areas: "out bdg sal" "sop bdg han" "col tak rec";
}
.tile { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 0; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.tile-label { transition: transform .4s var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tile:hover > img { transform: translateY(-10px) rotate(-4deg) scale(1.04); }
  .t-sal:hover > img, .t-rec:hover > img { transform: translateY(-10px) rotate(4deg) scale(1.04); }
  .tile:hover .tile-label { transform: translateY(-4px); }
}
.tile-label { position: relative; margin: 14px; background: #fff; border-radius: 10px; padding: 8px 12px; font: 700 15px/1.2 var(--font-d); }
.tile-label small { display: block; font: 500 12.5px/1.3 var(--font-t); color: var(--soft); margin-top: 2px; }
.tile-word { align-items: center; justify-content: center; text-align: center; padding: clamp(14px, 3.4cqi, 24px); }
.tile-word p { font: 800 clamp(19px, 4.3cqi, 30px)/1.08 var(--font-d); letter-spacing: -.01em; text-wrap: balance; }
.t-out { grid-area: out; background: var(--lav); }
.t-sal { grid-area: sal; background: var(--mint); }
.t-col { grid-area: col; background: var(--peach); }
.t-rec { grid-area: rec; background: var(--sky); }
.t-sop { grid-area: sop; background: var(--pink); }
.t-han { grid-area: han; background: var(--sky); }
.t-tak { grid-area: tak; background: var(--mint); }
.t-bdg { grid-area: bdg; background: var(--yellow); overflow: visible; align-items: flex-start; justify-content: center; z-index: 2; }
.t-bdg .lanyard { --bw: clamp(168px, 29cqi, 236px); --strap: clamp(52px, 11cqi, 118px); }

/* ---------- Staff ID badge (modelled on the app's hire flow) ---------- */
.lanyard { --bw: 260px; --strap: 96px; display: inline-flex; flex-direction: column; align-items: center; transform-origin: 50% 0; transform: rotate(var(--tilt, 0deg)); }
.swing-on .lanyard .badge { cursor: grab; touch-action: pan-y; }
.swing-on .lanyard.grabbing .badge { cursor: grabbing; }
.swing-on .sway { animation: none; }
.strap {
  width: calc(var(--bw) * .1); height: var(--strap); border-radius: 0 0 3px 3px;
  background: #1b1a19 repeating-linear-gradient(0deg, transparent 0 5px, rgb(255 255 255 / .09) 5px 6px);
}
.clip { width: calc(var(--bw) * .055); height: calc(var(--bw) * .11); border: 3px solid #b4b3af; border-radius: 99px; margin-top: -5px; margin-bottom: calc(var(--bw) * -.05); position: relative; z-index: 2; }
.badge {
  width: var(--bw); background: #ececea; border-radius: calc(var(--bw) * .085); padding: calc(var(--bw) * .035);
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgb(27 26 25 / .14), 0 34px 54px -30px rgb(27 26 25 / .6);
}
.badge-in { background: #121211; color: var(--paper); border-radius: calc(var(--bw) * .06); padding: calc(var(--bw) * .05) calc(var(--bw) * .06) calc(var(--bw) * .065); }
.slot { width: 17%; height: calc(var(--bw) * .03); background: #000; border-radius: 99px; margin: 0 auto calc(var(--bw) * .05); box-shadow: inset 0 -1px 1px rgb(255 255 255 / .18); }
.photo { border-radius: calc(var(--bw) * .04); overflow: hidden; aspect-ratio: 1 / .92; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.bname { font: 800 calc(var(--bw) * .09)/1 var(--font-d); text-align: center; margin-top: calc(var(--bw) * .065); letter-spacing: -.01em; }
.brole { font: 600 calc(var(--bw) * .036)/1 var(--font-m); letter-spacing: .16em; text-transform: uppercase; text-align: center; color: #c4c3be; margin-top: calc(var(--bw) * .04); }
.brows { border-top: 1px dashed #4d4c49; margin-top: calc(var(--bw) * .06); padding-top: calc(var(--bw) * .05); display: grid; gap: calc(var(--bw) * .04); }
.brow { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 500 calc(var(--bw) * .034)/1 var(--font-m); letter-spacing: .12em; text-transform: uppercase; color: #a3a29a; }
.brow b { color: var(--paper); font-weight: 600; display: inline-flex; gap: 4px; }
.brow b i { font-style: normal; border: 1px solid #62615d; border-radius: 4px; padding: 3px 5px; }
.bfoot { text-align: center; font: 500 calc(var(--bw) * .032)/1 var(--font-m); letter-spacing: .14em; text-transform: uppercase; color: #a3a29a; margin-top: calc(var(--bw) * .055); }
.badge.soon .badge-in { background: #6a6965; }
.badge.soon .brole { color: #f0efeb; }
.badge.blank .badge-in { background: #3a3936; }
.photo-empty { display: grid; place-items: end center; background: #4a4946; }
.photo-empty svg { width: 72%; height: auto; }
.ph { display: block; height: calc(var(--bw) * .05); margin: calc(var(--bw) * .06) auto 0; background: #5d5c58; border-radius: 4px; }
.ph-a { width: 58%; }
.ph-b { width: 38%; margin-top: calc(var(--bw) * .04); }

@media (prefers-reduced-motion: no-preference) {
  .sway { animation: sway .85s var(--ease) .2s both; }
}
@keyframes sway {
  0% { transform: rotate(-11deg); }
  38% { transform: rotate(2.5deg); }
  70% { transform: rotate(-4.5deg); }
  100% { transform: rotate(var(--tilt, 0deg)); }
}

/* ---------- 3. Problem chart ---------- */
.chart-fig { margin-top: clamp(48px, 5vw, 72px); }
.chart { display: grid; grid-template-columns: 168px minmax(0, 1fr); column-gap: 20px; }
.c-label { font: 800 20px/1.1 var(--font-d); align-self: center; }
.c-label small { display: block; font: 500 14px/1.3 var(--font-t); margin-top: 3px; }
.c-label-bars { align-self: end; padding-bottom: 6px; }
.bars {
  --gapx: clamp(2px, .45vw, 6px);
  display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); column-gap: var(--gapx); align-items: end;
  height: clamp(190px, 22vw, 290px); border-bottom: 2px solid var(--ink); padding-top: 30px;
}
.bar { display: block; height: calc(var(--v) * 100% / 94); background: var(--ink); border-radius: 4px 4px 0 0; position: relative; }
.bar.day { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.bar.peak b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 6px; font: 800 20px/1 var(--font-d); font-variant-numeric: tabular-nums; }
.legend { grid-row: 2; grid-column: 1; display: grid; gap: 8px; align-content: start; padding-top: 10px; font-size: 14px; font-weight: 500; }
.legend span { display: flex; align-items: center; gap: 8px; }
.sw { width: 9px; height: 18px; border-radius: 3px 3px 0 0; flex: none; }
.sw-day { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.sw-night { background: var(--ink); }
.hours { grid-row: 2; grid-column: 2; display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); column-gap: clamp(2px, .45vw, 6px); padding: 8px 0 18px; }
.hours span { text-align: center; font: 600 13px/1 var(--font-t); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours .on { font-weight: 800; }
.lane {
  display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); height: 50px; margin-top: 10px; border-radius: 10px;
  background: rgb(27 26 25 / .07);
}
.band { display: flex; align-items: center; padding: 0 16px; border-radius: 10px; font: 700 15px/1.2 var(--font-t); white-space: nowrap; overflow: hidden; }
.band-team { grid-column: 10 / 19; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.band-crew { grid-column: 1 / -1; background: var(--accent); color: #fff; }
.source { margin-top: 18px; font-size: 14px; line-height: 1.5; max-width: 60em; }

/* ---------- 4. What she does ---------- */
.steps { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { background: var(--c); padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; min-height: 460px; }
.step-n { font: 800 clamp(52px, 5vw, 76px)/.9 var(--font-d); letter-spacing: -.03em; }
.step h3 { margin-top: 20px; font: 800 clamp(25px, 2.2vw, 31px)/1.05 var(--font-d); letter-spacing: -.015em; }
.step > p { margin-top: 10px; max-width: 24em; }
.snip { margin-top: auto; padding-top: 28px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.4; }
.bub { padding: 9px 12px; border-radius: 12px; max-width: 92%; }
.bub-cust { background: #fff; justify-self: start; }
.bub-ai { background: var(--accent-soft); color: var(--accent-ink); justify-self: end; }
.record { background: #fff; border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; }
.record-h { font: 700 14px/1.2 var(--font-d); padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.record p:not(.record-h) { display: flex; justify-content: space-between; gap: 12px; }
.record span { color: var(--soft); }
.handed { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 12px 14px; }
.handed b { display: block; font-weight: 600; }
.handed span:last-child { color: var(--soft); font-size: 13.5px; }
.handed b { color: var(--human-ink); font-size: 14.5px; }
.av { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); display: grid; place-items: center; font: 700 13px/1 var(--font-t); flex: none; background: #fff; color: var(--ink); }
.av-human { box-shadow: inset 0 0 0 1.5px var(--human); color: var(--human); background: var(--human-soft); }
.eg-note { margin-top: 14px; font-size: 14px; color: var(--soft); }
.close-line { margin-top: clamp(40px, 5vw, 64px); font: 700 clamp(22px, 2.2vw, 30px)/1.25 var(--font-d); max-width: 24em; text-wrap: balance; }

/* ---------- 5. See her at work ---------- */
.work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.work-text { padding-top: clamp(0px, 7vw, 104px); }
.work-text .sec-lede { margin-top: 20px; }
.phone-wrap { display: grid; justify-items: center; gap: 14px; }
.eg-pill, .eg-tag { display: inline-flex; align-items: center; font: 600 13px/1 var(--font-t); padding: 7px 12px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.phone { width: min(372px, 100%); background: var(--ink); border-radius: 46px; padding: 12px; box-shadow: 0 44px 70px -40px rgb(27 26 25 / .75); }
.phone-screen { background: #fff; border-radius: 36px; overflow: hidden; }
.phone-top { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }
.phone-top img { width: 42px; height: 42px; border-radius: 50%; }
.phone-top p { font-size: 13.5px; color: var(--soft); line-height: 1.3; }
.phone-top b { display: block; font: 800 17px/1.2 var(--font-d); color: var(--ink); }
.chat { padding: 18px 16px 24px; display: flex; flex-direction: column; gap: 8px; min-height: 520px; font-size: 15px; line-height: 1.42; }
.m { max-width: 84%; padding: 10px 13px; border-radius: 14px; }
.m-cust { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.m-ai { align-self: flex-start; background: var(--accent-soft); color: var(--accent-ink); border-bottom-left-radius: 4px; }
.m-human { align-self: flex-start; background: var(--human-soft); color: var(--human-ink); border-bottom-left-radius: 4px; }
.m-who { display: block; font: 700 12px/1.2 var(--font-t); margin-bottom: 3px; }
.m-ai .m-who { color: var(--accent); }
.m-human .m-who { color: var(--human); }
.m-event { align-self: stretch; max-width: none; text-align: center; font-size: 13px; color: var(--soft); padding: 6px 0; display: flex; align-items: center; gap: 10px; }
.m-event::before, .m-event::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.chat.will-play .m { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.chat.will-play.play .m { opacity: 1; transform: none; transition-delay: calc(var(--i) * 850ms + 200ms); }

/* ---------- 6. Features ---------- */
.group-first { padding-top: var(--sec); }
.feat-h { margin-bottom: clamp(48px, 6vw, 88px); max-width: 14em; }
.group { padding-block: clamp(72px, 8vw, 116px); }
.group-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.group-grid.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.group-grid.flip .g-text { order: 2; }
.g-title { font: 800 clamp(30px, 3.2vw, 44px)/1.05 var(--font-d); letter-spacing: -.02em; text-wrap: balance; }
.feats { margin-top: 28px; border-top: 1px solid var(--hair); }
.feats > div { padding: 18px 0; border-bottom: 1px solid var(--hair); }
.feats dt { font: 700 20px/1.2 var(--font-d); }
.feats dd { margin-top: 6px; max-width: 34em; text-wrap: pretty; }
.group:not([class*="field-"]) .feats dd { color: var(--soft); }
.key { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; font-weight: 500; }
.key span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; }
.dot-ai { background: var(--accent); }
.dot-human { background: var(--human); }

.scene { position: relative; }
.card { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-card); }
.card-h { font: 800 16px/1.2 var(--font-d); }
.eg-tag { position: absolute; top: -14px; right: 16px; z-index: 3; }

/* Group 1 scene */
.sop { width: 84%; padding: 24px 28px 18px; }
.sop-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; color: var(--soft); }
.live { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--ink); }
.live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.sop-title { margin-top: 14px; font: 800 clamp(20px, 1.8vw, 24px)/1.15 var(--font-d); letter-spacing: -.01em; max-width: 17em; }
.sop-steps { margin-top: 14px; counter-reset: s; }
.sop-steps li { counter-increment: s; position: relative; padding: 11px 0 11px 36px; border-top: 1px solid var(--line); font-size: 15.5px; }
.sop-steps li::before { content: counter(s); position: absolute; left: 0; top: 9px; font: 800 19px/1.3 var(--font-d); }
.topics { position: relative; z-index: 2; width: 56%; margin: -40px 0 0 auto; padding: 20px 22px 18px; }
.toggles { margin-top: 10px; }
.toggles li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.toggles small { display: block; font-size: 12.5px; color: var(--human); font-weight: 500; }
.tg { width: 34px; height: 20px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--ink); position: relative; flex: none; background: #fff; }
.tg::after { content: ""; position: absolute; top: 4px; left: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.tg.on { background: var(--ink); }
.tg.on::after { left: 18px; background: #fff; }
.note { margin-top: 12px; padding: 12px; border-radius: 12px; background: #fff7dc; box-shadow: inset 0 0 0 1px #efd88f; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.note b { display: block; font-weight: 600; font-size: 14px; }
.mini-btn { font: 700 13px/1 var(--font-d); padding: 9px 12px; border-radius: 9px; background: var(--ink); color: #fff; flex: none; }

/* Group 2 scene */
.inbox { overflow: hidden; }
.ib-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ib-head b { display: block; font-weight: 600; }
.ib-head small { display: block; color: var(--soft); font-size: 13px; }
.handling { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--human); }
.take { font: 600 14px/1 var(--font-t); padding: 10px 14px; border-radius: 10px; background: var(--human-soft); color: var(--human); box-shadow: inset 0 0 0 1px rgb(179 57 45 / .4); flex: none; }
.ib-body { padding: 18px 20px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.42; }
.ib-m { max-width: 80%; padding: 10px 13px; border-radius: 12px; }
.ib-cust { background: #f3f2ef; align-self: flex-start; }
.ib-ai { background: var(--accent-soft); color: var(--accent-ink); align-self: flex-end; }
.ib-human { background: var(--human-soft); color: var(--human-ink); align-self: flex-end; }
.ib-who { align-self: flex-end; font-size: 12px; font-weight: 700; margin-top: 4px; }
.ib-who-ai { color: var(--accent); }
.ib-who-human { color: var(--human); }
.ib-event { align-self: stretch; text-align: center; font-size: 13px; color: var(--soft); display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.ib-event::before, .ib-event::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ib-foot { border-top: 1px solid var(--line); padding: 14px 20px 18px; background: #faf9f6; }
.ib-foot > p { font-size: 13px; color: var(--soft); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { font: 600 13.5px/1 var(--font-t); padding: 8px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px #d4d1ca; background: #fff; }
.chip-on { background: var(--ink); color: #fff; box-shadow: none; }

/* Group 3 scene */
.scene-see { padding-bottom: 96px; }
.desk { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); overflow: hidden; }
.rows { border-right: 1px solid var(--line); }
.row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
.row:last-child { border-bottom: 0; }
.row.sel { background: #f4f2ee; }
.row p { flex: 1; color: var(--soft); min-width: 0; }
.row p b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.row .dot { margin-top: 6px; }
.side { padding: 16px 18px; font-size: 14px; display: grid; align-content: start; gap: 12px; }
.side p:not(.card-h) { line-height: 1.35; }
.side span { display: block; font-size: 12.5px; color: var(--soft); margin-bottom: 2px; }
.report { position: absolute; left: clamp(-28px, -2vw, -12px); bottom: 0; width: 60%; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; }
.report img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.report p { font-size: 14.5px; line-height: 1.4; }
.report b { display: block; font: 800 16px/1.2 var(--font-d); margin-bottom: 3px; }

/* ---------- 7. Channels ---------- */
.chan-grid { --cg: clamp(32px, 4vw, 64px); margin-top: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--cg); align-items: center; }
.chan-group h3 { font: 800 20px/1.2 var(--font-d); margin-bottom: 16px; max-width: 18em; text-wrap: balance; }
.chan-list { display: grid; gap: 10px; }
.chan { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 20px; border-radius: 14px; background: var(--c); font: 700 18px/1.2 var(--font-d); }
.chan .ic { width: 24px; height: 24px; }
.chan-ready { background: #fff; border: 2px dashed var(--ink); }
.chan-hub { position: relative; --bw: 208px; }
.chan-hub::before, .chan-hub::after { content: ""; position: absolute; top: 50%; width: var(--cg); border-top: 2px solid var(--ink); }
.chan-hub::before { right: 100%; }
.chan-hub::after { left: 100%; border-top-style: dashed; }
.chan-hub .badge { transform: rotate(-2deg); }

/* ---------- 8. The crew ---------- */
.crew-scroll { margin-top: clamp(40px, 5vw, 64px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 0 var(--gutter) 28px; scrollbar-width: thin; }
.crew-scroll:focus-visible { outline-offset: -3px; }
.crew-rail { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: clamp(20px, 3vw, 48px); min-width: max-content; margin-inline: auto; max-width: var(--max); padding-inline: 12px; }
.crew-rail::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; border-radius: 6px; background: var(--ink); }
.crew-rail .lanyard { scroll-snap-align: center; padding-top: 6px; }
.pill { position: relative; z-index: 2; margin-top: -16px; font: 700 14px/1 var(--font-t); padding: 9px 14px; border-radius: 99px; background: #fff; color: var(--ink); box-shadow: 0 6px 14px -8px rgb(27 26 25 / .5); }
.pill-now { background: var(--yellow); }
.pill-line { margin-top: 0; background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }

/* ---------- 9. Who it's for ---------- */
.field-ink .who-text { color: #d9d6cf; }
.field-ink .who-text b { color: var(--paper); }
.who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.who-text { display: grid; gap: 22px; font-size: clamp(17px, 1.3vw, 19px); color: var(--soft); max-width: 34em; }
.who-text b { font: 800 1.08em/1 var(--font-d); color: var(--ink); }

/* ---------- 10. Results ---------- */
.results { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--hair); }
.h3-big { font: 800 clamp(28px, 3vw, 42px)/1.05 var(--font-d); letter-spacing: -.02em; text-wrap: balance; max-width: 12em; }
.results .source { margin-top: 20px; color: #cfccc4; max-width: 26em; }
.report-card { background: var(--yellow); color: var(--ink); border-radius: 22px; padding: clamp(28px, 3.4vw, 48px); }
.rc-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--hair); }
.field-ink .rc-head { border-bottom-color: rgb(27 26 25 / .2); }
.rc-head img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); }
.rc-head p { font-size: 14px; }
.rc-head b { display: block; font: 800 20px/1.2 var(--font-d); }
.rc-text { margin-top: 22px; font: 500 clamp(22px, 2.3vw, 33px)/1.32 var(--font-d); letter-spacing: -.01em; text-wrap: pretty; }
.rc-text strong { font-weight: 800; }

/* ---------- 11. Getting started ---------- */
.start { margin-top: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); }
.start-art { height: 290px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 28px; }
.start-art .badge { transform: rotate(var(--tilt)); }
.start h3 { font: 800 clamp(24px, 2.1vw, 29px)/1.1 var(--font-d); letter-spacing: -.015em; display: flex; align-items: baseline; gap: 12px; }
.start-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--mint); font-size: 19px; flex: none; transform: translateY(-3px); }
.start p { margin-top: 10px; padding-left: 50px; max-width: 24em; }

/* ---------- 12. Pricing ---------- */
.price { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.price .sec-lede { margin-top: 20px; }
.price-tile { background: var(--yellow); padding: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.price-line { font: 700 clamp(22px, 2vw, 28px)/1 var(--font-d); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price-line strong { font: 800 clamp(64px, 8vw, 116px)/.9 var(--font-d); letter-spacing: -.035em; }

/* ---------- 13. Questions ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.faq .h2 { position: sticky; top: 32px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px; padding: 18px 0; font: 700 clamp(19px, 1.6vw, 22px)/1.3 var(--font-d); cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.pm { position: relative; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 2px currentColor; flex: none; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list details p { padding: 0 56px 26px 0; color: var(--soft); max-width: 42em; text-wrap: pretty; }

/* ---------- 14. Demo ---------- */
.demo { overflow: hidden; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); }
.demo-main .sec-lede { margin-top: 20px; }
.form-card { margin-top: 36px; background: #fff; border-radius: 22px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-card); max-width: 640px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { font: 700 16px/1.2 var(--font-d); }
.field input {
  min-height: 54px; width: 100%; border: 2px solid #d6d3cc; border-radius: 12px; padding: 0 16px; background: #fff;
  font: 500 17px/1.2 var(--font-t); color: var(--ink); transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.field input:hover { border-color: #aaa69d; }
.field input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.field input:user-invalid, .tried .field input:invalid { border-color: var(--human); background: var(--human-soft); }
.err { display: none; font-size: 14px; font-weight: 500; color: var(--human); }
.field input:user-invalid + .err, .tried .field input:invalid + .err { display: block; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form-note { margin-top: 16px; font-size: 14px; color: var(--soft); }
.demo-badge { display: flex; justify-content: center; align-items: flex-start; margin-top: calc(-1 * var(--sec)); }
.demo-badge .lanyard { --bw: 244px; --strap: calc(var(--sec) + 64px); }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #d9d6cf; padding-block: 56px 48px; --focus: var(--yellow); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 64px; }
.foot-co { margin-top: 14px; font-size: 14.5px; max-width: 34em; }
.foot-links { display: grid; gap: 4px; font-size: 15px; justify-items: start; }
.foot-links a { color: var(--paper); text-decoration: none; display: inline-block; padding-block: 8px; }
.foot-links a:hover { text-decoration: underline; }
.foot ::selection { background: var(--yellow); color: var(--ink); }

/* ================= Responsive ================= */
@media (max-width: 1439px) {
  .nav { display: none; }
  .menu { display: block; }
  .site-head { gap: 10px; }
}

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { min-height: 400px; }
  .topics { width: 66%; }
}

@media (max-width: 959px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-left: 0; }
  .hero-text { padding-inline: var(--gutter); padding-bottom: 48px; }
  .hero-body { padding-top: clamp(24px, 6vw, 56px); }
  .wall { grid-template-rows: repeat(3, clamp(190px, 28cqi, 270px)); }
  .t-bdg .lanyard { --strap: clamp(40px, 7cqi, 72px); }

  .split, .work, .group-grid, .group-grid.flip, .who, .results, .price, .faq, .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .split { align-items: start; }
  .group-grid.flip .g-text { order: 0; }
  .faq .h2 { position: static; }
  .demo-badge { display: none; }
  .work-text { order: 0; }

  .chan-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .chan-hub { display: none; }

  .start { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .start li { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 24px; align-items: center; }
  .start-art { grid-row: 1 / span 2; height: auto; margin: 0; }
  .start-art .badge { --bw: 136px !important; }
  .start h3 { align-self: end; }
  .start p { align-self: start; }
}

@media (max-width: 720px) {
  .chart { grid-template-columns: minmax(0, 1fr); }
  .c-label { margin-top: 18px; margin-bottom: 2px; }
  .c-label-bars { margin-top: 0; padding-bottom: 12px; }
  .legend { grid-row: auto; grid-column: 1; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0 0 10px; order: 1; }
  .hours { grid-row: auto; grid-column: 1; }
  .hours span:not(:nth-child(3n + 1)) { visibility: hidden; }
  .bars { padding-top: 26px; }
  .bar.peak b { font-size: 16px; }
  .band { padding: 0 10px; font-size: 13.5px; }
  .lane { height: 44px; margin-top: 4px; }

  .chan-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .desk { grid-template-columns: minmax(0, 1fr); }
  .side { border-top: 1px solid var(--line); }
  .rows { border-right: 0; }
}

@media (max-width: 640px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { min-height: 0; }

  .scene-see { padding-bottom: 0; }
  .sop { width: 100%; }
  .topics { width: 92%; margin-top: -24px; }
  .report { position: relative; left: auto; width: 92%; margin: -8px 0 0 auto; }
  .desk .rows .row:nth-child(n + 4) { display: none; }
  .ib-head > p:first-child { flex: 1 1 100%; }
  .handling { margin-left: 0; }

  .start li { grid-template-columns: 112px minmax(0, 1fr); column-gap: 18px; }
  .start-art .badge { --bw: 108px !important; }
  .start p { padding-left: 0; }
  .start-n { width: 32px; height: 32px; font-size: 16px; }
  .faq-list details p { padding-right: 0; }
}

@media (max-width: 599px) {
  .wall {
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none;
    grid-template-areas: "bdg bdg" "out sop" "han sal" "col tak" "rec rec";
  }
  .tile:not(.t-bdg) { aspect-ratio: 1; }
  .t-rec { aspect-ratio: 2 / 1 !important; }
  .t-rec > img { object-fit: contain; object-position: 50% 100%; }
  .t-bdg { padding-bottom: 36px; }
  .t-bdg .lanyard { --bw: min(204px, 56cqi); --strap: 28px; }
  .tile-word p { font-size: clamp(19px, 6.4cqi, 26px); }
  .tile-label { margin: 10px; font-size: 14px; padding: 7px 10px; }

  .head-cta { padding: 0 14px; font-size: 15px; }
  .menu summary span { display: none; }
  .menu summary { padding: 0 12px; }
  .logo { font-size: 21px; }
  .logo svg { width: 28px; height: 28px; }
}

@media (max-width: 380px) {
  .logo { font-size: 19px; gap: 8px; }
  .logo svg { width: 26px; height: 26px; }
  .head-cta { padding: 0 12px; font-size: 14.5px; }
}

@media (max-width: 339px) {
  .site-head .logo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
