/* Jomber landing — styles
   1. Fonts  2. Tokens  3. Base  4. Layout  5. Components  6. Blocks  7. Motion  */

/* ---------- 1. Fonts (local files, SIL OFL) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/bricolage-grotesque-700.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/figtree-variable.woff2") format("woff2");
}

/* ---------- 2. Tokens ---------- */
:root {
  /* brand */
  --cobalt: #1f4fd8;
  --tang: #ff6a1a;
  --paper: #fafaf7;
  --ink: #16191d;
  /* derived */
  --cobalt-deep: #173ead;   /* hover on cobalt, text on cobalt-soft */
  --cobalt-soft: #e7edfc;
  --cobalt-tint: #f1f4fd;
  --tang-deep: #f25a08;     /* hover on tangerine */
  --tang-soft: #ffe6d6;
  --tang-tint: #fff2e8;     /* warm section background */
  --sand: #f2f0e9;          /* light warm grey section background */
  --line: #e3e2da;
  --white: #fff;
  --ink-2: #4a5058;         /* secondary text, 7.9:1 on paper */
  --ink-3: #676d76;         /* placeholder and captions, 5.0:1 on white */
  --danger: #b42318;        /* error text, 6.6:1 on paper */

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --wrap: 1200px;
  --section: clamp(64px, 9vw, 120px);
  --r-card: 28px;
  --r-big: 40px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --shadow-float: 0 30px 60px -28px rgba(22, 25, 29, .38);
  --header-h: 60px;
}
@media (min-width: 720px) {
  :root { --gutter: 40px; --header-h: 68px; }
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.04;
  text-wrap: balance;
}
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-cobalt :focus-visible, .on-ink :focus-visible { outline-color: var(--white); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* ---------- 4. Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section--sand { background: var(--sand); }
.section--warm { background: var(--tang-tint); }
.section--cobalt { background: var(--cobalt); color: var(--white); }

.h2 { font-size: clamp(2rem, 1.35rem + 3.1vw, 3.5rem); }
.lede {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  color: var(--ink-2);
  max-width: 34em;
}
.section--cobalt .lede { color: #dfe7fb; }
.section__head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- 5. Components ---------- */

/* Button */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0; border-radius: 999px;
  background: var(--tang); color: var(--ink);
  font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, transform .15s var(--ease);
}
.btn:hover { background: var(--tang-deep); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { cursor: default; }
.btn--done {
  background: var(--cobalt-soft); color: var(--cobalt-deep);
  cursor: default;
}
.btn--done:hover { background: var(--cobalt-soft); }
.btn--done::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--tang);
}

/* Chip: an example job, drawn as a sent message (not interactive) */
.chip {
  display: inline-flex; align-items: center;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: 20px 20px 6px 20px;
  font-size: .9375rem; font-weight: 500; line-height: 1.2; white-space: nowrap;
}
.chip--t { background: var(--cobalt); border-color: var(--cobalt); color: var(--white); }
@media (min-width: 720px) { .chip { font-size: 1rem; padding: 11px 18px; } }

/* Signup: email field and button in one capsule, shared by both forms */
.signup { max-width: 500px; }
.signup__capsule {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 5px 5px 20px;
  background: var(--white);
  border: 1.5px solid var(--ink); border-radius: 999px;
  transition: box-shadow .15s ease;
}
.signup__capsule:focus-within { box-shadow: 0 0 0 3px var(--cobalt); border-color: var(--cobalt); }
.signup__input {
  flex: 1 1 auto; min-width: 0; width: 100%;
  height: 48px; padding: 0;
  border: 0; background: transparent; outline: 0;
  font-size: 1rem; color: var(--ink);
}
.signup__input::placeholder { color: var(--ink-3); opacity: 1; }
.signup__input[readonly] { color: var(--ink-2); }
.signup__capsule .btn { flex: none; }
.signup__capsule .btn:focus-visible { outline-offset: 2px; }
.signup.is-invalid .signup__capsule {
  border-color: var(--danger);
  box-shadow: 0 0 0 1.5px var(--danger);
}
.signup.is-sending .btn { background: var(--tang-soft); cursor: progress; }
/* phones: the field keeps the whole line, the button sits under it */
@media (max-width: 479px) {
  .signup__capsule { display: block; padding: 0; border: 0; background: transparent; border-radius: 0; box-shadow: none !important; }
  .signup__input {
    height: 54px; padding: 0 20px;
    background: var(--white);
    border: 1.5px solid var(--ink); border-radius: 999px;
  }
  .signup__input:focus { border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt); }
  .signup.is-invalid .signup__input { border-color: var(--danger); box-shadow: 0 0 0 1.5px var(--danger); }
  .signup__capsule .btn { width: 100%; min-height: 54px; margin-top: 8px; }
}
.signup__msg {
  display: flex; gap: 8px; align-items: flex-start;
  margin-top: 10px;
  color: var(--danger); font-size: .9375rem; font-weight: 600; line-height: 1.35;
}
.signup__msg:empty { display: none; }
.signup__msg::before {
  content: "!"; flex: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--danger); color: var(--white);
  font-size: .8125rem; font-weight: 700; line-height: 20px; text-align: center;
}
/* Without JavaScript the waitlist cannot be reached (Lepsto answers JSON, not a page): a plain line instead of the form. */
.signup__nojs { display: none; }
html:not(.js) .signup__nojs {
  display: block; margin: 0; padding: 14px 18px; border-radius: 16px;
  background: var(--cobalt-tint); color: var(--ink); font-size: 1rem; line-height: 1.45; font-weight: 600;
}
html:not(.js) .signup__form { display: none; }
.signup__note { margin-top: 12px; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.signup__note a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.signup__note a:hover { color: var(--cobalt); }

/* Signup: confirmation that replaces the capsule */
.signup__done {
  padding: 20px 22px;
  background: var(--white);
  border: 1.5px solid var(--ink); border-radius: var(--r-card);
}
.signup__done:focus-visible { outline-offset: 4px; border-radius: var(--r-card); }
.signup__done-title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.1;
}
.signup__done-title::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--tang) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7.5 13.5l3.6 3.6 7.4-8' fill='none' stroke='%2316191D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.signup__done-text { margin-top: 6px; color: var(--ink-2); font-size: 1rem; }
.signup__ask { margin-top: 18px; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.signup__ask legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; font-weight: 600; font-size: 1rem; }
.signup__ask legend span { font-weight: 400; color: var(--ink-2); }
.signup__options { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.option {
  min-height: 44px; padding: 0 16px;
  background: var(--white); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 999px;
  font-size: .9375rem; font-weight: 600;
  transition: background-color .15s ease, color .15s ease;
}
.option:hover { background: var(--cobalt); border-color: var(--cobalt); color: var(--white); }
.option--skip { border-color: transparent; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; padding: 0 10px; }
.option--skip:hover { background: transparent; border-color: transparent; color: var(--ink); }
.signup__thanks { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; }

/* Phone with a chat */
.phone {
  width: 300px;
  padding: 9px;
  background: var(--ink);
  border-radius: 44px;
  box-shadow: var(--shadow-float);
  font-size: 13.5px;
}
.phone__screen {
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: 36px;
  overflow: hidden;
}
.phone__top {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 16px 12px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.avatar {
  flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cobalt);
}
.avatar svg { width: 20px; height: 20px; }
.phone__name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.1; letter-spacing: -.01em; }
.phone__role { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-2); }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 10px; }
.msg {
  position: relative;
  max-width: 84%;
  padding: 9px 13px;
  border-radius: 19px;
  font-size: 1em; line-height: 1.35;
}
.msg--me { align-self: flex-end; background: var(--cobalt); color: var(--white); border-bottom-right-radius: 6px; }
.msg--it { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg--card { width: 92%; max-width: 92%; padding: 6px; }
.phone__input {
  display: flex; align-items: center; justify-content: space-between;
  margin: 4px 12px 14px;
  padding: 9px 9px 9px 16px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--ink-3);
}
.phone__send {
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--cobalt);
}
.phone__send::after {
  content: ""; margin-left: 2px;
  border: 6px solid transparent; border-left: 9px solid var(--white); border-right: 0;
}

/* Typing dots: sit where the next reply appears, so nothing shifts */
.typing {
  position: absolute; left: -1px; top: -1px;
  display: flex; gap: 4px; align-items: center;
  height: 34px; padding: 0 13px;
  background: var(--white);
  border: 1px solid var(--line); border-radius: 19px; border-bottom-left-radius: 6px;
  opacity: 0; visibility: hidden;
}
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }

/* Mini website preview used inside chats and cards */
.site { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 13px; }
.site__bar { display: flex; align-items: center; gap: 4px; height: 16px; padding: 0 8px; background: #f0efe9; }
.site__bar i { width: 5px; height: 5px; border-radius: 50%; background: #c9c8c0; }
.site__top { position: relative; overflow: hidden; padding: 13px 13px 15px; background: var(--cobalt); color: var(--white); }
.site__top::after {
  content: ""; position: absolute; right: -22px; top: -22px;
  width: 78px; height: 78px; border-radius: 50%; background: var(--tang);
}
.site__name { position: relative; z-index: 1; display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.05; letter-spacing: -.01em; }
.site__tag { position: relative; z-index: 1; display: block; margin-top: 3px; font-size: 10.5px; }
.site__cta {
  position: relative; z-index: 1; display: inline-block; margin-top: 8px;
  padding: 4px 9px; border-radius: 99px;
  background: var(--tang); color: var(--ink);
  font-size: 10px; font-weight: 600;
}
.site__row { display: flex; gap: 6px; padding: 8px; }
.site__row i { flex: 1; height: 30px; border-radius: 6px; background: var(--cobalt-soft); }
.site__row i:nth-child(2) { background: var(--tang-soft); }
.result { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 6px 3px; }
.result__text { font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.result__text small { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.result__btn {
  flex: none; padding: 8px 12px; border-radius: 99px;
  background: var(--tang); color: var(--ink);
  font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap;
}

/* ---------- 6. Blocks ---------- */

/* 0 · Header */
.header { background: var(--paper); z-index: 50; }
.header__in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.header__logo { display: block; padding: 6px 0; border-radius: 8px; }
.header__logo img { height: 26px; width: auto; }
@media (min-width: 720px) {
  .header { position: sticky; top: 0; }
  .header::after {
    content: ""; position: absolute; inset: auto 0 0; height: 1px;
    background: var(--line); opacity: 0; transition: opacity .2s ease;
  }
  .header.is-stuck::after { opacity: 1; }
  .header__logo img { height: 30px; }
}

/* 1 · Hero */
.hero { padding-top: 10px; padding-bottom: 44px; overflow: hidden; }
.hero__title { margin: 12px 0 14px; font-size: clamp(2.25rem, 11.8vw, 4.75rem); line-height: 1.02; }
.hero__title span { display: block; white-space: nowrap; }
.hero__sub { margin-bottom: 22px; font-size: 1.0625rem; color: var(--ink-2); max-width: 31em; }
.hero__text .signup { max-width: 500px; }

.stage { position: relative; margin-top: 34px; }
.stage__dot {
  position: absolute; z-index: 0;
  left: 6px; top: -8px;
  width: 74px; height: 74px; border-radius: 50%; background: var(--tang);
}
.stage__photo {
  position: absolute; z-index: 1;
  left: calc(-1 * var(--gutter)); top: 30px;
  width: 68%; aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0 36px 36px 0;
  background: var(--cobalt-soft);
}
.shot { position: absolute; inset: 0; display: none; }
.shot.is-active { display: block; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-m, 50%) 50%; }

/* Scenes: without the script only the first one exists on the page.
   With it (.is-live) all three share one cell, so the phone keeps the height of the tallest. */
.scenes { display: grid; }
.scene { grid-area: 1 / 1; min-width: 0; }
.scene:not(.is-active) { display: none; }
.is-live .scene, .is-live .shot { display: block; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }
.is-live .scene.is-active, .is-live .shot.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.msg--photo { padding: 4px; }
.msg--photo svg { width: 100%; height: 78px; border-radius: 15px 15px 4px 4px; }
.msg--photo > span:last-child { display: block; padding: 6px 9px 5px; }
.post--mini { border-radius: 13px; }
.post--mini .post__img { height: 84px; }
.post--mini .post__text { padding: 8px 10px 9px; font-size: 12px; line-height: 1.35; }
.scene .site__top:only-child { padding-right: 60px; }

.stage__nav { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.stage__tabs { display: flex; gap: 2px; margin-left: -10px; }
.stage__tab, .stage__pause {
  min-height: 44px; padding: 0 10px; border: 0; background: transparent; border-radius: 8px;
  font-size: .9375rem; font-weight: 600; color: var(--ink-2);
}
.stage__tab { text-underline-offset: 6px; }
.stage__tab:hover, .stage__pause:hover { color: var(--ink); }
.stage__tab[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--tang); text-decoration-thickness: 3px; }
.stage__pause { margin-right: -10px; }

.stage .phone {
  position: relative; z-index: 2;
  width: 252px; margin-left: auto;
  padding: 7px; border-radius: 36px;
  font-size: 13px;
}
.stage .phone__screen { border-radius: 30px; }
.stage .phone__top { padding: 12px 12px 10px; }
.stage .avatar { width: 30px; height: 30px; }
.stage .avatar svg { width: 17px; height: 17px; }
.stage .phone__name { font-size: 15px; }
.stage .phone__role { font-size: 11.5px; }
.stage .chat { padding: 12px 9px 8px; }
.stage .phone__input { margin: 4px 9px 11px; font-size: 13px; }
/* phone and weak devices: the task and the result only */
@media (max-width: 719px) {
  .stage .msg--extra { display: none; }
}

@media (min-width: 720px) {
  .hero { padding-top: 28px; padding-bottom: 64px; }
  .hero__title { margin: 28px 0 20px; }
  .hero__sub { font-size: 1.1875rem; margin-bottom: 28px; }
  .stage { width: 540px; max-width: 100%; margin: 48px auto 0; }
  .stage__dot { left: -34px; top: 8px; width: 112px; height: 112px; }
  .stage__photo { left: 0; top: 44px; width: 400px; height: 500px; aspect-ratio: auto; border-radius: 44px; }
  .shot img { object-position: var(--pos, 50%) 50%; }
  .stage .phone { width: 300px; padding: 9px; border-radius: 44px; font-size: 13.5px; }
  .stage .phone__screen { border-radius: 36px; }
  .stage .phone__top { padding: 16px 16px 12px; }
  .stage .avatar { width: 36px; height: 36px; }
  .stage .avatar svg { width: 20px; height: 20px; }
  .stage .phone__name { font-size: 16px; }
  .stage .phone__role { font-size: 12px; }
  .stage .chat { padding: 14px 12px 10px; }
  .stage .phone__input { margin: 4px 12px 14px; font-size: 14px; }
}
@media (min-width: 1024px) {
  .hero { padding-top: 20px; padding-bottom: 56px; }
  .hero__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 56px); align-items: start; }
  .hero__text { padding-top: clamp(24px, 4vw, 56px); }
  .hero__title { font-size: clamp(3.4rem, 5.5vw, 4.75rem); }
  .stage { width: clamp(440px, 41vw, 540px); margin: 0; z-index: 2; }
  .stage__photo { width: 74%; height: auto; aspect-ratio: 4 / 5; }
  /* the ticker heading tucks under the text column, beside the phone */
  .hero { padding-bottom: 20px; overflow: visible; }
  .jobs__title { margin-top: -46px; margin-bottom: 26px; max-width: 46%; }
}

/* 2 · Ticker of jobs */
.jobs { padding-bottom: clamp(56px, 8vw, 96px); }
.jobs__title { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.75rem); margin-bottom: 20px; }
.ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker__row { display: flex; width: max-content; padding-block: 5px; animation: ticker-left 46s linear infinite; }
.ticker__row--back { animation-name: ticker-right; animation-duration: 40s; }
.ticker__set { display: flex; gap: 10px; padding-right: 10px; }
.ticker:hover .ticker__row,
.ticker.is-held .ticker__row,
.js .ticker:not(.is-inview) .ticker__row { animation-play-state: paused; }
@keyframes ticker-left { to { transform: translateX(-50%); } }
@keyframes ticker-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* 3 · Before and after */
.section__head--center { justify-items: center; text-align: center; }
.section__head--center .h2 { max-width: 16em; }
.ba__switch {
  display: flex; width: max-content; margin: 0 auto 24px; padding: 4px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
}
.ba__switch label {
  min-height: 44px; padding: 0 20px; display: flex; align-items: center;
  border-radius: 999px; font-weight: 600; font-size: .9375rem; cursor: pointer;
}
#ba-today:checked ~ .ba__switch label[for="ba-today"],
#ba-jomber:checked ~ .ba__switch label[for="ba-jomber"] { background: var(--ink); color: var(--white); }
#ba-today:focus-visible ~ .ba__switch label[for="ba-today"],
#ba-jomber:focus-visible ~ .ba__switch label[for="ba-jomber"] { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.ba__side { display: grid; justify-items: center; text-align: center; }
.ba__label { display: none; font-size: 1.5rem; }
.ba__cap { max-width: 19em; margin-bottom: 22px; color: var(--ink-2); font-weight: 500; }
.ba__arrow { display: none; }
@media (max-width: 859px) {
  #ba-today:checked ~ .ba__grid .ba__side--jomber,
  #ba-jomber:checked ~ .ba__grid .ba__side--today { display: none; }
}
@media (min-width: 860px) {
  .ba__switch { display: none; }
  .ba__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; max-width: 880px; margin-inline: auto; }
  .ba__label { display: block; margin-bottom: 8px; }
  .ba__arrow {
    display: grid; place-items: center; width: 56px; height: 56px; align-self: center; margin-top: 90px;
    border-radius: 50%; background: var(--tang); color: var(--ink);
  }
  .ba__arrow svg { width: 26px; height: 26px; }
}

.lock { width: 300px; max-width: 100%; text-align: left; }
.lock .phone__screen { min-height: 572px; padding: 26px 12px 18px; }
.lock--today .phone__screen { background: #2b3038; }
.lock--jomber .phone__screen { position: relative; background: var(--cobalt); }
.lock--jomber .phone__screen::after {
  content: ""; position: absolute; left: 50%; bottom: -150px; width: 280px; height: 280px;
  margin-left: -140px; border-radius: 50%; background: var(--tang);
}
.lock__time {
  margin-bottom: 20px; text-align: center; color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 58px; line-height: 1; letter-spacing: -.03em;
}
.lock__day { display: block; margin-bottom: 4px; font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0; opacity: .85; }
.lock__list { display: grid; gap: 7px; }
.note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; border-radius: 18px;
  background: #f4f3ee; color: var(--ink);
  font-size: 13px; line-height: 1.35;
}
.note b { display: block; font-size: 12.5px; }
.note__icon {
  flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700;
}
.note--big { position: relative; z-index: 1; padding: 14px; background: var(--white); border-radius: 22px; font-size: 13.5px; }
.note--big .avatar { width: 32px; height: 32px; }
.note--big .avatar svg { width: 18px; height: 18px; }
.ticks { margin: 8px 0; display: grid; gap: 5px; }
.ticks li { position: relative; padding-left: 22px; font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--cobalt-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M4.2 7.8l2.2 2.2 4.4-4.8' fill='none' stroke='%231F4FD8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.note__ask { padding: 9px 11px; border-radius: 12px; background: var(--tang-soft); font-weight: 600; }

/* 4 · How it works
   Default: four cards, each with its own small screen (phones, no JavaScript, reduced motion).
   .steps--live (desktop with motion): steps on the left, one phone on the right that follows the active step. */
.steps { display: grid; gap: 16px; }
.step {
  position: relative; display: grid; gap: 18px; align-content: space-between;
  padding: 22px; border-radius: var(--r-card);
  background: var(--white); border: 1px solid var(--line);
}
.step__text { position: relative; padding-left: 52px; }
.step__num {
  position: absolute; left: 0; top: -2px; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--cobalt-soft); color: var(--cobalt-deep);
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
}
.step__title { font-size: 1.375rem; margin-bottom: 6px; }
.step__text p { color: var(--ink-2); }
.step__bar { display: none; }
.step__screen { border-radius: 20px; background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; overflow: hidden; }
.step__screen .phone__top, .step__screen .phone__input, .msg--ghost { display: none; }
.step__screen .chat { padding: 12px; }
.step__pick { position: absolute; inset: -22px -24px; z-index: 2; width: 100%; border: 0; background: transparent; border-radius: var(--r-card); }
.stages__title { padding: 6px 8px 8px; font-weight: 700; font-size: 13px; }
.stages { display: grid; gap: 4px; }
.stages li {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 9px 10px; border-radius: 10px; background: var(--paper);
  font-size: 12.5px; font-weight: 600;
}
.stages li span { padding: 3px 8px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.stages li.is-done span { background: var(--cobalt-soft); border-color: var(--cobalt-soft); color: var(--cobalt-deep); }
.stages li.is-now span { background: var(--tang); border-color: var(--tang); color: var(--ink); }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps:not(.steps--live) { grid-template-columns: repeat(4, 1fr); } .steps:not(.steps--live) .step__text { padding-left: 0; padding-top: 52px; } }

.steps--live { position: relative; display: block; min-height: 560px; padding-right: 420px; }
.steps--live .step { position: static; display: block; padding: 22px 24px; margin-bottom: 10px; background: transparent; border-color: transparent; transition: background-color .25s ease; }
.steps--live .step:hover { background: var(--white); }
.steps--live .step.is-active { background: var(--white); border-color: var(--line); }
.steps--live .step:not(.is-active) .step__num { background: var(--sand); color: var(--ink-2); }
.steps--live .step.is-active .step__num { background: var(--tang); color: var(--ink); }
.steps--live .step__title { font-size: 1.5rem; }
.steps--live .step__bar { display: block; height: 3px; margin-top: 14px; border-radius: 3px; background: var(--line); overflow: hidden; opacity: 0; }
.steps--live .step.is-active .step__bar { opacity: 1; }
.steps--live .step__bar::after { content: ""; display: block; height: 100%; background: var(--tang); transform: translateX(-100%); }
.steps--live .step.is-active .step__bar::after { animation: fill 5s linear forwards; }
.steps--live.is-paused .step__bar::after { animation-play-state: paused; }
@keyframes fill { to { transform: none; } }
.steps--live .step__screen {
  position: absolute; right: 30px; top: 0; width: 320px; min-height: 540px;
  display: flex; flex-direction: column;
  border: 9px solid var(--ink); border-radius: 44px;
  box-shadow: var(--shadow-float);
  font-size: 14px;
  z-index: 1; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.steps--live .step.is-active .step__screen { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.steps--live .step__screen .phone__top { display: flex; }
.steps--live .step__screen .phone__input { display: flex; margin-top: auto; }
.steps--live .step__screen .chat { padding: 16px 12px; }
.steps--live .msg--ghost { display: block; opacity: .45; }
.steps--live::before {
  content: ""; position: absolute; right: 0; top: 56px; width: 380px; height: 430px;
  border-radius: var(--r-big); background: var(--cobalt-soft);
}
.steps--live::after {
  content: ""; position: absolute; right: 318px; top: 28px; width: 96px; height: 96px; border-radius: 50%; background: var(--tang);
}

/* 5 · Three first jobs */
.cards3 { display: grid; gap: 16px; }
@media (min-width: 900px) { .cards3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.job {
  display: flex; flex-direction: column; gap: 16px;
  padding: 22px; border-radius: var(--r-card);
  background: var(--white); color: var(--ink);
}
.job--c { background: var(--cobalt); color: var(--white); }
.job--t { background: var(--tang); }
.job--l { border: 1px solid var(--line); }
.job__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.job__kind { font-size: 1.5rem; flex-basis: 100%; }
.job__for { font-size: .9375rem; }
.job__for b { font-weight: 700; }
.job__ask { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.15; letter-spacing: -.02em; }
.job__result { flex: 1; display: grid; align-content: center; }
.job__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.job__done { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.job__done::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--tang) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7.5 13.5l3.6 3.6 7.4-8' fill='none' stroke='%2316191D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.job--t .job__done::before { background-color: var(--white); }
.job--c .site, .job--t .post { border-color: transparent; }
.job .site__top { padding: 20px 18px 22px; }
.job .site__name { font-size: 24px; }
.job .site__tag { font-size: 13px; margin-top: 5px; }
.job .site__cta { font-size: 12px; padding: 6px 12px; margin-top: 12px; }
.job .site__row i { height: 44px; }
.site--salon .site__top { background: var(--tang-soft); color: var(--ink); }
.site--salon .site__top::after { background: var(--cobalt); width: 110px; height: 110px; right: -34px; top: -34px; }
.site--salon .site__cta { background: var(--ink); color: var(--white); }
.post { overflow: hidden; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.post__who { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 13px; font-weight: 700; }
.post__ava { width: 24px; height: 24px; border-radius: 50%; background: var(--tang); border: 2px solid var(--white); box-shadow: 0 0 0 1.5px var(--tang); }
.post__img { width: 100%; height: auto; }
.post__text { padding: 10px 12px 12px; font-size: 13px; line-height: 1.4; }
.thread { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; }
.thread__meta { align-self: center; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }

/* 6 · Who it is for */
.owners__scroll { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.owners__scroll::-webkit-scrollbar { display: none; }
.owners__scroll:focus-visible { outline-offset: -3px; }
.owners__list { display: flex; gap: 14px; width: max-content; padding-inline: var(--gutter); }
.owner { width: 70vw; max-width: 300px; scroll-snap-align: center; }
.owner__photo { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-card); background: var(--cobalt-soft); }
.owner--t .owner__photo { background: var(--tang-soft); }
.owner__photo picture, .owner__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.owner figcaption { margin-top: 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
@media (min-width: 900px) {
  .owners__scroll { overflow: visible; }
  .owners__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; width: auto; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; }
  .owner { width: auto; max-width: none; }
  .owner figcaption { font-size: 1.5rem; }
}

/* 7 · The team: one contact in front, the specialists on a line behind it */
.team { position: relative; overflow: hidden; }
.org { position: relative; --mark: 56px; --rule: rgba(255, 255, 255, .45); }
.org__lead { display: flex; gap: 16px; align-items: flex-start; }
.org__mark { flex: none; display: grid; place-items: center; width: var(--mark); height: var(--mark); border-radius: 50%; background: var(--white); }
.org__mark svg { width: 32px; height: 32px; }
.org__name { font-size: 1.5rem; }
.org__name span { font-family: var(--font-body); font-size: .9375rem; font-weight: 500; letter-spacing: 0; color: #dfe7fb; white-space: nowrap; margin-left: 4px; }
.org__lead .org__name { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); margin-top: 6px; }
.org p { margin-top: 6px; max-width: 30em; color: #e6ecfc; }
.org__list { margin-left: calc(var(--mark) / 2 - 1px); }
.org__role { position: relative; padding: 26px 0 0 calc(var(--mark) / 2 + 17px); }
.org__role::before { /* the line down from the lead assistant */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--rule);
}
.org__role:last-child::before { bottom: auto; height: 42px; }
.org__role::after { /* the branch to this specialist */
  content: ""; position: absolute; left: 0; top: 40px; width: calc(var(--mark) / 2); height: 2px; background: var(--rule);
}
@media (min-width: 1024px) {
  .team__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .team .section__head { margin-bottom: 0; }
  .team::after { content: ""; position: absolute; left: -90px; bottom: -150px; width: 360px; height: 360px; border-radius: 50%; background: var(--tang); }
  .team__in { position: relative; z-index: 1; }
  .org { --mark: 64px; }
  .org__mark svg { width: 36px; height: 36px; }
}

/* 8 · Honest comparison: cards on phones, a table-like grid on wide screens */
.cmp__head { display: none; }
.cmp__row { padding: 20px; margin-bottom: 14px; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); }
.cmp__q { font-size: 1.375rem; margin-bottom: 14px; }
.cmp__cells { display: grid; gap: 12px; margin: 0; }
.cmp__cell dt { font-size: .8125rem; font-weight: 600; color: var(--ink-2); margin-bottom: 2px; }
.cmp__cell dd { margin: 0; }
.cmp__cell--us { padding: 14px 16px; border-radius: 16px; background: var(--cobalt-soft); }
.cmp__cell--us dt { color: var(--cobalt-deep); }
.cmp__cell--us dt span { font-weight: 500; }
.cmp__cell--us dd { font-weight: 600; }
@media (min-width: 860px) {
  .cmp { --cols: minmax(0, .8fr) repeat(3, minmax(0, 1fr)); position: relative; }
  .cmp::before { /* the highlighted Jomber column */
    content: ""; position: absolute; top: 0; bottom: 0; right: 0;
    width: calc((100% - 3 * 24px) / 3.8 + 24px + 20px);
    border-radius: var(--r-card); background: var(--cobalt-soft);
  }
  .cmp__head, .cmp__row, .cmp__cells { position: relative; display: grid; column-gap: 24px; }
  .cmp__head, .cmp__row { grid-template-columns: var(--cols); }
  .cmp__head { padding: 24px 24px 20px 0; align-items: end; font-weight: 600; color: var(--ink-2); }
  .cmp__us { display: grid; gap: 6px; color: var(--cobalt-deep); }
  .cmp__us small { font-size: .8125rem; font-weight: 500; }
  .cmp__row { margin: 0; padding: 22px 24px 22px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
  .cmp__row:last-child { padding-bottom: 30px; }
  .cmp__q { margin: 0; font-size: 1.375rem; }
  .cmp__cells { grid-column: 2 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; }
  .cmp__cell dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cmp__cell dd { color: var(--ink-2); }
  .cmp__cell--us { padding: 0; background: transparent; }
  .cmp__cell--us dd { color: var(--ink); }
}

@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .js-motion [data-zoom].is-in .owner__photo img { animation: slow-zoom 12s ease-out .4s both; }
}

/* 10 · Questions */
.faq__in { display: grid; gap: 28px; }
.faq__list { margin: 0; border-top: 1.5px solid var(--ink); }
.faq__item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq__item dt { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 8px; }
.faq__item dd { margin: 0; color: var(--ink-2); max-width: 38em; }
@media (min-width: 900px) {
  .faq__in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: start; }
  .faq__in .h2 { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* 11 · Get started: the group photo carries the block, the form sits under it on paper */
.final { padding-block: 0 56px; }
.final__photo {
  margin-inline: calc(-1 * var(--gutter)); margin-bottom: 32px;
  aspect-ratio: 3 / 2; overflow: hidden; background: var(--cobalt);
}
.final__photo picture, .final__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.final__box .h2 { margin-bottom: 24px; }
.final__box .signup { max-width: 540px; }
@media (min-width: 720px) {
  .final { padding-block: clamp(48px, 6vw, 72px) var(--section); }
  .final__photo { margin-inline: 0; margin-bottom: 48px; aspect-ratio: 2 / 1; border-radius: var(--r-big); }
}
@media (min-width: 1024px) {
  .final__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 48px; align-items: start; }
  .final__box .h2 { margin: 0; max-width: 12em; }
  .final__box .signup { padding-top: 6px; }
}
/* forms on a cobalt ground (none on the page at the moment; kept for the component) */
.on-cobalt .signup__capsule { border-color: var(--white); }
.on-cobalt .signup__capsule:focus-within { border-color: var(--white); box-shadow: 0 0 0 3px var(--ink); }
.on-cobalt .signup__note { color: #e6ecfc; }
.on-cobalt .signup__note a, .on-cobalt .signup__note a:hover { color: var(--white); }
.on-cobalt .signup__msg { padding: 9px 12px; border-radius: 14px; background: var(--white); }
.on-cobalt .signup__done { border-color: var(--white); color: var(--ink); }
@media (max-width: 479px) {
  .on-cobalt .signup__input { border-color: var(--white); }
  .on-cobalt .signup__input:focus { border-color: var(--white); box-shadow: 0 0 0 3px var(--ink); }
}

/* 12 · Footer */
.footer { background: var(--ink); color: var(--white); padding: 48px 0 calc(96px + env(safe-area-inset-bottom)); }
.footer__in { display: grid; gap: 28px; }
.footer__brand p { margin-top: 12px; color: #c9cdd3; }
.footer__links { display: flex; gap: 8px 28px; flex-wrap: wrap; }
.footer__links a { display: inline-block; padding: 10px 0; font-weight: 600; text-underline-offset: 4px; }
.footer__links a:hover { color: var(--tang); }
.footer__link-btn {
  display: inline-block; padding: 10px 0; border: 0; background: none; color: inherit;
  font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.footer__link-btn:hover { color: var(--tang); }
.footer__legal { font-size: .875rem; line-height: 1.7; color: #c9cdd3; }
@media (min-width: 720px) {
  .footer { padding: 56px 0; }
  .footer__in { grid-template-columns: 1fr auto; align-items: end; }
  .footer__legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #343a42; }
}

/* staggered entrance for children that carry --i */
@media (prefers-reduced-motion: no-preference) {
  .js-motion .reveal [style*="--i"] { opacity: 0; transform: translateY(12px); }
  .js-motion .reveal.is-in [style*="--i"] { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: calc(var(--i) * 140ms); }
  .js-motion .reveal:has([style*="--i"]) { opacity: 1; transform: none; }
}

/* Docked button, phones only: shown after the first screen */
.dock {
  position: fixed; z-index: 60; inset: auto 0 0 0;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
  transform: translateY(110%); opacity: 0; visibility: hidden;
  transition: transform .25s var(--ease), opacity .25s ease, visibility 0s .25s;
}
.dock.is-on { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
/* While the cookie banner waits for an answer it holds the bottom of the screen. */
.is-consent-open .dock { display: none; }
@media (min-width: 720px) { .dock { display: none; } }

/* ---------- 7. Motion ---------- */
/* Hidden start states apply only when the script is running and motion is welcome.
   Without JavaScript, or with reduced motion, everything is simply there. */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dots { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }

@media (prefers-reduced-motion: no-preference) {
  .js-motion .chat[data-play] .msg { opacity: 0; transform: translateY(10px); }
  .js-motion .chat[data-play] .msg.is-in { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .js-motion .chat[data-play] .msg.is-typing { opacity: 1; transform: none; }
  .js-motion .chat[data-play] .msg.is-typing > :not(.typing) { visibility: hidden; }
  .js-motion .chat[data-play] .msg.is-typing { background: transparent; border-color: transparent; color: transparent; }
  .js-motion .chat[data-play] .msg.is-typing .typing { opacity: 1; visibility: visible; }
  .typing i { animation: dots 1.1s ease-in-out infinite; }
  .typing i:nth-child(2) { animation-delay: .15s; }
  .typing i:nth-child(3) { animation-delay: .3s; }

  .js-motion .reveal { opacity: 0; transform: translateY(12px); }
  .js-motion .reveal.is-in { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .signup__done, .signup__thanks { animation: rise .2s ease both; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker { -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; }
  .ticker__row { width: auto; padding-block: 0; }
  .ticker__row + .ticker__row { margin-top: 10px; }
  .ticker__set { flex-wrap: wrap; padding-right: 0; }
  .ticker__set[aria-hidden="true"] { display: none; }
}

/* Honeypot field in the signup forms: a person never sees or reaches it. */
.signup__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pc-err { display: block; padding: 4px 0; color: #ffb4a8; font-size: .875rem; }
