/* =====================================================================
   Home page (botconfirm.com). Its own sheet so the other site pages
   (site.css) are untouched. Brand: forest + sprout, the i's green dot,
   and a faint zellige star in the dark bands.
   ===================================================================== */

:root {
  --forest: #0a1a0d;
  --forest-2: #0f2413;
  --moss: #1d3a20;
  --sprout: #68ef3f;
  --sprout-2: #57d932;
  --leaf: #26a200;
  --leaf-soft: #e7f9dd;
  --bone: #f2f5eb;
  --paper: #fbfcf8;
  --ink: #15170f;
  --text: #3a3d33;
  --muted: #6b705f;
  --line: #e3e7da;
  --line-dark: rgba(232, 255, 220, 0.1);
  --on-dark: #e9f3e3;
  --on-dark-2: #a9b8a3;
  --red: #e34948;
  --amber: #e89a00;
  --blue: #2a78d6;
  --violet: #6a4fd8;
  --f-display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --f-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --radius: 18px;
  --wrap: 1180px;
  --zellige: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%2368ef3f' stroke-width='1'%3E%3Cpath d='M44 14l8.5 21.5L74 44l-21.5 8.5L44 74l-8.5-21.5L14 44l21.5-8.5z'/%3E%3Cpath d='M23 23h42v42H23z' transform='rotate(45 44 44)'/%3E%3Cpath d='M23 23h42v42H23z'/%3E%3C/g%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  margin: 0;
}

.ic {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.wrap {
  width: min(var(--wrap), 100% - 40px);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------ wordmark ------------------------------ */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 32px;
  height: 32px;
}

.wordmark {
  font-family: 'Inter', var(--f-body);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.wordmark .wm-i {
  position: relative;
}

.wordmark .wm-i::after {
  content: '';
  position: absolute;
  left: 0.1375em;
  top: 0.1625em;
  width: 0.23em;
  height: 0.23em;
  border-radius: 50%;
  background: var(--sprout);
  transform: translateX(-50%);
}

.is-dark .wordmark,
.footer .wordmark {
  color: #fff;
}

/* ------------------------------- buttons ------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: 600 15px/1 var(--f-body);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn .ic {
  width: 18px;
  height: 18px;
}

.btn-sprout {
  background: var(--sprout);
  color: var(--forest);
  box-shadow: 0 8px 24px -10px rgba(104, 239, 63, 0.7);
}

.btn-sprout:hover {
  background: #7df55a;
  box-shadow: 0 12px 30px -10px rgba(104, 239, 63, 0.85);
}

.btn-ghost {
  border-color: rgba(233, 243, 227, 0.22);
  color: var(--on-dark);
}

.btn-ghost:hover {
  border-color: rgba(233, 243, 227, 0.5);
  background: rgba(233, 243, 227, 0.05);
}

.btn-line {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.btn-line:hover {
  border-color: #c9cebf;
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover {
  background: #2a2d24;
}

.btn-lg {
  height: 54px;
  padding: 0 26px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

/* ------------------------------ navigation ------------------------------ */
/* The floating pill header from the first site. */

.nav-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 10px 10px 10px 20px;
  border-radius: 28px;
  background: rgba(48, 50, 42, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.nav .brand {
  gap: 9px;
}

.nav .brand img {
  width: 30px;
  height: 30px;
}

.nav .wordmark {
  font-size: 20px;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-right: auto;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  color: #b7bda5;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-cta .btn {
  height: auto;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: none;
}

.nav-cta .btn:hover {
  transform: none;
}

.nav-signin {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.nav-signin:hover {
  border-color: #fff;
}

.nav-menu {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: none;
  color: #fff;
  place-items: center;
  cursor: pointer;
}

.nav-menu .ic {
  width: 20px;
  height: 20px;
}

/* The Features and Integrations menus: a white panel under the bar that opens on
   hover, keyboard focus or a click; inside the phone menu they fold open in place. */

.nav {
  position: relative;
}

.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px 8px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #b7bda5;
  font: 500 14px var(--f-body);
  white-space: nowrap;
  cursor: pointer;
}

.nav-drop-btn:hover,
.nav-drop.is-open .nav-drop-btn {
  color: #fff;
}

.nav-drop-btn .ic {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}

.nav-drop.is-open .nav-drop-btn .ic {
  transform: rotate(180deg);
}

.nav-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(640px, calc(100vw - 32px));
  padding-top: 10px;
  transform: translateX(-50%);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s, visibility 0s 0.15s;
}

.nav-panel.is-ints {
  width: min(880px, calc(100vw - 32px));
}

.nav-drop.is-open .nav-panel,
.nav-drop:has(:focus-visible) .nav-panel {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.15s;
}

@media (hover: hover) and (min-width: 1101px) {
  .nav-drop:hover .nav-panel {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.15s;
  }

  .nav-drop:hover .nav-drop-btn {
    color: #fff;
  }
}

.nav-panel-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.45);
}

.nav-feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.nav-links .nav-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  color: var(--text);
  /* .nav-links a keeps bar links on one line; the descriptions here must wrap. */
  white-space: normal;
}

.nav-links .nav-feat:hover,
.nav-links .nav-int:hover {
  background: var(--bone);
  color: var(--ink);
}

.nav-feat-ic {
  display: grid;
  flex: none;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--leaf-soft);
  color: var(--leaf);
}

.nav-feat-ic .ic {
  width: 18px;
  height: 18px;
}

.nav-feat b {
  display: block;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}

.nav-feat small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.nav-ints {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.nav-int-group h4 {
  margin: 4px 8px 8px;
  color: var(--muted);
  font: 500 11px var(--f-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links .nav-int {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
}

[dir='rtl'] .nav-int-group h4 {
  letter-spacing: 0;
  font: 600 12px var(--f-body);
}

.nav-int img {
  flex: none;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.nav-int .int-soon {
  margin-inline-start: auto;
  font-size: 10px;
}

.nav-links .nav-panel-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 12px 10px 2px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  width: 100%;
  color: var(--leaf);
  font-weight: 600;
}

.nav-panel-all .ic {
  width: 15px;
  height: 15px;
}

@media (max-width: 1080px) {
  .nav-ints {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Too narrow for every link but too wide for the phone menu: "How it works" and
   "FAQ" step aside (both are sections of the home page). */
@media (min-width: 1101px) and (max-width: 1200px) {
  .nav-links .nav-extra {
    display: none;
  }
}

/* Below 1100px the links no longer fit in the bar: they move into the menu button. */
@media (max-width: 1100px) {
  .nav {
    gap: 12px;
    padding-left: 16px;
  }

  .nav-links {
    position: fixed;
    top: 84px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    margin: 0;
    padding: 10px;
    border-radius: 20px;
    background: #2c2e27;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  }

  .nav-links a {
    padding: 12px 14px;
    font-size: 16px;
  }

  .nav-cta {
    margin-left: auto;
  }

  .nav-int span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-menu {
    display: grid;
  }

  .nav-signin {
    display: none;
  }

  .menu-open .nav-links {
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
  }

  .nav-drop-btn {
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
  }

  .nav-panel,
  .nav-panel.is-ints {
    position: static;
    display: none;
    width: auto;
    padding: 0;
    transform: none;
    visibility: visible;
    opacity: 1;
  }

  .nav-drop.is-open .nav-panel {
    display: block;
  }

  .nav-panel-box {
    padding: 0 4px 10px;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .nav-feats {
    grid-template-columns: 1fr;
  }

  .nav-links .nav-feat,
  .nav-links .nav-int {
    padding: 8px 10px;
    color: #e9f3e3;
    font-size: 14.5px;
  }

  .nav-links .nav-feat:hover,
  .nav-links .nav-int:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }

  .nav-feat-ic {
    width: 32px;
    height: 32px;
    background: rgba(104, 239, 63, 0.12);
    color: var(--sprout);
  }

  .nav-feat b {
    color: #fff;
  }

  .nav-feat small {
    display: none;
  }

  .nav-int-group h4 {
    color: #a9b8a3;
  }

  .nav-ints {
    gap: 8px 12px;
  }

  .nav-int img {
    padding: 2px;
    border-radius: 5px;
    background: #fff;
  }

  .nav-links .nav-panel-all {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: var(--sprout);
    font-size: 14.5px;
  }
}

/* ------------------------------- the video ------------------------------- */
/* Sits right under the hero, on the same dark band. */

.watch {
  padding: 0 0 96px;
}

.watch-frame {
  position: relative;
  margin: 0;
  border: 1px solid rgba(232, 255, 220, 0.14);
  border-radius: 22px;
  background: var(--forest);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.watch-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.watch-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: none;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--sprout);
  color: var(--forest);
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 40px -8px rgba(104, 239, 63, 0.7);
  cursor: pointer;
}

.watch-play .ic {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}

.watch.is-paused .watch-play {
  display: grid;
}

.watch-sound {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(232, 255, 220, 0.22);
  border-radius: 999px;
  background: rgba(10, 26, 13, 0.7);
  backdrop-filter: blur(8px);
  color: var(--on-dark);
  font: 600 13px var(--f-body);
  cursor: pointer;
}

.watch-sound .ic {
  width: 16px;
  height: 16px;
}

.watch-sound[aria-pressed='true'] {
  border-color: var(--sprout);
  color: var(--sprout);
}

@media (max-width: 600px) {
  .watch {
    padding-bottom: 64px;
  }

  .watch-frame {
    border-radius: 14px;
  }

  .watch-play {
    width: 58px;
    height: 58px;
  }

  .watch-play .ic {
    width: 22px;
    height: 22px;
  }

  .watch-sound {
    right: 8px;
    bottom: 8px;
    height: 30px;
    padding: 0 10px;
    font-size: 11.5px;
  }

  .watch-sound .ic {
    width: 13px;
    height: 13px;
  }
}

/* ---------------------------- the platform map ---------------------------- */
/* Sources on the left, the four jobs in the middle, destinations on the right.
   home.js draws the SVG (a tall version on phones) and sends badges along it. */

.platform {
  background: var(--bone);
}

.flow {
  margin: 0;
}

.flow svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.flow text {
  font-family: var(--f-mono);
  letter-spacing: 0.06em;
  fill: var(--ink);
}

.flow .ln {
  fill: none;
  stroke: #d6dbcc;
  stroke-width: 1.5;
}

.flow .streak {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.flow .node-bg {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.2;
  transition: fill 0.35s, stroke 0.35s;
}

.flow .dst .node-bg {
  fill: #edf5e6;
  stroke: var(--moss);
}

.flow .node.hit .node-bg {
  fill: var(--leaf-soft);
  stroke: var(--leaf);
}

.flow .node-ic {
  color: var(--moss);
}

.flow .soon rect {
  fill: #fff4dc;
  stroke: var(--amber);
}

.flow .soon text {
  fill: #9a6700;
  font-weight: 600;
}

.flow .petal {
  fill: rgba(104, 239, 63, 0.16);
  stroke: rgba(38, 162, 0, 0.24);
  stroke-width: 1.2;
  transition: fill 0.45s;
}

.flow .petal.on {
  fill: rgba(104, 239, 63, 0.46);
}

.flow .petal-t {
  font-weight: 600;
  fill: var(--moss);
}

.flow .core {
  fill: var(--paper);
  stroke: rgba(38, 162, 0, 0.35);
  stroke-width: 1.2;
}

.flow .ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: flow-spin 9s linear infinite;
}

.flow .ring circle {
  fill: var(--ink);
}

.flow .seed {
  fill: var(--sprout);
}

.flow .exit circle {
  fill: var(--leaf);
  transition: fill 0.3s;
}

.flow .exit.on circle {
  fill: var(--sprout);
}

.flow .exit .ic,
.flow .exit svg {
  color: #fff;
}

.flow .badge text {
  font-weight: 600;
}

@keyframes flow-spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------- bands --------------------------------- */

.is-dark {
  position: relative;
  background: var(--forest);
  color: var(--on-dark-2);
  isolation: isolate;
}

.is-dark h1,
.is-dark h2,
.is-dark h3 {
  color: #fff;
}

.zellige::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--zellige);
  background-size: 88px;
  opacity: 0.07;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 75%);
}

.section {
  padding: 112px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font: 500 12.5px/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
}

.kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sprout);
  box-shadow: 0 0 0 4px rgba(104, 239, 63, 0.18);
}

.is-dark .kicker {
  color: var(--sprout);
}

.h2 {
  font-size: clamp(34px, 4.6vw, 54px);
}

.lede {
  margin-top: 18px;
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--muted);
}

.is-dark .lede {
  color: var(--on-dark-2);
}

.hl {
  color: var(--leaf);
}

.is-dark .hl {
  color: var(--sprout);
}

/* the brand's dot as an underline: a sprout dot at the end of a word */
.dot-end {
  position: relative;
  white-space: nowrap;
}

.dot-end::after {
  content: '';
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.06em;
  border-radius: 50%;
  background: var(--sprout);
  vertical-align: baseline;
}

/* ---------------------------------- hero ---------------------------------- */

.hero {
  padding: 156px 0 0;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -260px;
  width: 1100px;
  height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(104, 239, 63, 0.22), rgba(38, 162, 0, 0.08) 55%, transparent 80%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}

.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(104, 239, 63, 0.06);
  font-size: 14px;
  color: var(--on-dark);
}

.announce b {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sprout);
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
}

.announce .ic {
  width: 16px;
  height: 16px;
  color: var(--sprout);
}

.hero h1 {
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero h1 .stack {
  display: block;
}

.hero h1 .hl {
  font-style: italic;
  font-weight: 700;
}

.hero .lede {
  max-width: 540px;
  margin-top: 24px;
  font-size: 19px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  font-size: 14px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof .ic {
  width: 16px;
  height: 16px;
  color: var(--sprout);
}

/* hero scene: the live order board, a phone and floating chips */
.scene {
  position: relative;
  min-height: 560px;
  padding-top: 28px;
}

.board {
  position: relative;
  margin-left: 64px;
  border: 1px solid rgba(232, 255, 220, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, #13281a 0%, #0f2015 100%);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.board-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-dark);
}

.board-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.board-bar span {
  margin-left: 10px;
  font: 12px var(--f-mono);
  color: var(--on-dark-2);
}

.board-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font: 600 11px var(--f-mono);
  letter-spacing: 0.08em;
  color: var(--sprout);
}

.board-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sprout);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(104, 239, 63, 0);
    opacity: 0.55;
  }
  0% {
    box-shadow: 0 0 0 0 rgba(104, 239, 63, 0.5);
  }
}

.board-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
}

.board-kpi {
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.board-kpi span {
  display: block;
  font-size: 12px;
  color: var(--on-dark-2);
}

.board-kpi b {
  display: block;
  margin-top: 2px;
  font: 700 24px/1.2 var(--f-display);
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.board-kpi em {
  font-style: normal;
  font-size: 12px;
  color: var(--sprout);
}

.feed {
  display: grid;
  gap: 8px;
  height: 312px;
  padding: 0 16px 16px;
  overflow: hidden;
  mask-image: linear-gradient(#000 70%, transparent);
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
}

.feed-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  animation: feed-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes feed-in {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.98);
  }
}

.feed-av {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(104, 239, 63, 0.1);
  font: 700 12px var(--f-body);
  color: var(--sprout);
}

.feed-who b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-who small {
  display: block;
  font-size: 12px;
  color: var(--on-dark-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-sum {
  font: 600 13px var(--f-mono);
  color: var(--on-dark);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.4s ease, color 0.4s ease;
}

.pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pill.s-new {
  background: rgba(255, 255, 255, 0.08);
  color: #dfe7da;
}

.pill.s-sent {
  background: rgba(42, 120, 214, 0.18);
  color: #8fc0ff;
}

.pill.s-ok {
  background: rgba(104, 239, 63, 0.16);
  color: var(--sprout);
}

.pill.s-ship {
  background: rgba(232, 154, 0, 0.16);
  color: #ffc34d;
}

.pill.s-call {
  background: rgba(106, 79, 216, 0.2);
  color: #c4b5ff;
}

/* the phone that overlaps the board */
.phone {
  position: absolute;
  left: -24px;
  bottom: -56px;
  z-index: 3;
  width: 212px;
  padding: 10px;
  border-radius: 34px;
  background: #050c06;
  box-shadow: 0 40px 70px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-4deg);
}

.phone-screen {
  overflow: hidden;
  border-radius: 26px;
  background: #ece5dd;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 12px 10px;
  background: #075e54;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.phone-top img {
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 50%;
  background: var(--forest);
}

.phone-top small {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  opacity: 0.8;
}

.chat {
  display: grid;
  gap: 6px;
  padding: 10px 9px 12px;
  background-color: #ece5dd;
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 12px 12px;
}

.bubble {
  max-width: 92%;
  padding: 7px 9px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.42;
  color: #111b21;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.bubble.in {
  justify-self: start;
  border-top-left-radius: 3px;
  background: #fff;
}

.bubble.out {
  justify-self: end;
  border-top-right-radius: 3px;
  background: #d9fdd3;
}

.bubble small {
  display: block;
  margin-top: 2px;
  text-align: right;
  font-size: 9.5px;
  color: #667781;
}

.bubble small .ic {
  display: inline;
  width: 13px;
  height: 13px;
  vertical-align: -3px;
  color: #53bdeb;
}

.wa-btns {
  display: grid;
  gap: 4px;
  max-width: 92%;
}

.wa-btns span {
  padding: 7px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #00a884;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.float-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.55);
  color: var(--ink);
  font-size: 13px;
  animation: bob 6s ease-in-out infinite;
}

.float-chip b {
  display: block;
  font-size: 13px;
}

.float-chip small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}

.float-chip .chip-ic {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--leaf-soft);
  color: var(--leaf);
}

.float-chip .chip-ic img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.float-chip.c1 {
  top: -26px;
  right: 28px;
}

.float-chip.c2 {
  right: 26px;
  bottom: 28px;
  animation-delay: -3s;
}

@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}

/* works with */
.works {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 86px;
  padding: 26px 0 30px;
  border-top: 1px solid var(--line-dark);
}

.works-label {
  font: 500 12.5px var(--f-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}

.works ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 10px 20px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
}

.tile:hover {
  transform: translateY(-3px) rotate(-3deg);
}

.tile img,
.tile svg {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.tile.t-solid svg {
  width: 24px;
  height: 24px;
}

.tile[data-name]::after {
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  padding: 4px 8px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}

.tile:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------- the spreadsheet pain --------------------------- */

.pain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}

.sheet {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 60px -36px rgba(21, 23, 15, 0.35);
  overflow: hidden;
  transform: rotate(-1.2deg);
}

.sheet-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: #f6f8f3;
  font: 12px var(--f-mono);
  color: var(--muted);
}

.sheet-bar img {
  width: 16px;
  height: 16px;
}

.sheet table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sheet th,
.sheet td {
  padding: 9px 12px;
  border-bottom: 1px solid #eef1e8;
  border-right: 1px solid #eef1e8;
  text-align: left;
  white-space: nowrap;
}

.sheet th {
  background: #fafbf7;
  font: 500 11.5px var(--f-mono);
  color: var(--muted);
}

.sheet td.bad {
  background: #fff1f0;
  color: #b3261e;
}

.sheet td.meh {
  background: #fff7e6;
  color: #8a5a00;
}

.sheet tr.dup td {
  text-decoration: line-through;
  text-decoration-color: rgba(227, 73, 72, 0.7);
  color: #9aa08f;
}

.scribble {
  position: absolute;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff3c4;
  box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.3);
  font: 600 13px/1.3 'Caveat', 'Bricolage Grotesque', cursive;
  font-size: 17px;
  color: #6b4b00;
}

.scribble.s1 {
  right: 14px;
  top: 64px;
  transform: rotate(4deg);
}

.scribble.s2 {
  left: 28%;
  bottom: 14px;
  transform: rotate(-3deg);
}

.pains {
  display: grid;
  gap: 18px;
}

.pain {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}

.pain-ic {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #fff1f0;
  color: var(--red);
}

.pain-ic .ic {
  width: 20px;
  height: 20px;
}

.pain h3 {
  font-size: 18px;
}

.pain p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}

.pain b {
  color: var(--ink);
}

/* --------------------------------- journey --------------------------------- */

.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  counter-reset: stop;
}

.track {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 27px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(104, 239, 63, 0.4) 0 8px, transparent 8px 16px);
}

.track::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sprout);
  box-shadow: 0 0 0 6px rgba(104, 239, 63, 0.18), 0 0 24px rgba(104, 239, 63, 0.8);
  transform: translate(-50%, -50%);
  animation: travel 9s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes travel {
  0%,
  6% {
    left: 0;
  }
  22%,
  28% {
    left: 25%;
  }
  44%,
  50% {
    left: 50%;
  }
  66%,
  72% {
    left: 75%;
  }
  88%,
  100% {
    left: 100%;
  }
}

.stop {
  position: relative;
  counter-increment: stop;
}

.stop-ic {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(104, 239, 63, 0.3);
  border-radius: 16px;
  background: var(--forest-2);
  color: var(--sprout);
}

.stop-ic .ic {
  width: 24px;
  height: 24px;
}

.stop::before {
  content: '0' counter(stop);
  position: absolute;
  top: 0;
  right: 0;
  font: 500 12px var(--f-mono);
  color: rgba(169, 184, 163, 0.6);
}

.stop h3 {
  font-size: 19px;
}

.stop p {
  margin-top: 8px;
  font-size: 14.5px;
}

.stop-logos {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.stop-logos span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
}

.stop-logos img,
.stop-logos svg {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

/* --------------------------------- features --------------------------------- */

.features {
  display: grid;
  gap: 120px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: center;
}

.feature.flip {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.feature.flip .feature-copy {
  order: 2;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--leaf-soft);
  color: #1c5c0b;
  font-size: 13.5px;
  font-weight: 600;
}

.feature-tag .ic {
  width: 17px;
  height: 17px;
}

.feature-tag.is-new::after {
  content: attr(data-new);
  margin-left: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--sprout);
  font-size: 11px;
}

.feature h3 {
  font-size: clamp(30px, 3.4vw, 42px);
}

.feature-copy > p {
  margin-top: 16px;
  font-size: 17.5px;
  color: var(--muted);
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  gap: 12px;
  font-size: 15.5px;
  color: var(--text);
}

.ticks .ic {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  stroke-width: 3;
}

.feature-art {
  position: relative;
}

.feature-art::before {
  content: '';
  position: absolute;
  inset: 8% -4% -6% 8%;
  z-index: -1;
  border-radius: 32px;
  background: var(--bone);
}

.feature.flip .feature-art::before {
  inset: 8% 8% -6% -4%;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 60px -36px rgba(21, 23, 15, 0.3);
}

/* confirm: template + phone */
.art-confirm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 18px;
  align-items: center;
}

.tpl {
  padding: 20px;
}

.tpl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--muted);
}

.tpl-head b {
  color: var(--ink);
  font-size: 15px;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 9px;
  background: var(--bone);
}

.lang span {
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
}

.lang span.on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.tpl-body {
  padding: 14px;
  border-radius: 12px;
  background: #f7f8f4;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.var {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--leaf-soft);
  color: #1c5c0b;
  font: 500 12.5px var(--f-mono);
}

.tpl-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tpl-foot span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.tpl-foot .ic {
  width: 15px;
  height: 15px;
  color: var(--leaf);
}

.phone.static {
  position: relative;
  left: auto;
  bottom: auto;
  width: 230px;
  transform: rotate(3deg);
}

/* call center */
.cc {
  overflow: hidden;
}

.cc-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.cc-top b {
  color: var(--ink);
}

.cc-queue {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1edff;
  color: var(--violet);
  font-size: 12.5px;
  font-weight: 700;
}

.cc-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}

.cc-cust h4 {
  font-size: 20px;
}

.cc-cust p {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--muted);
}

.call-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 600 15px var(--f-mono);
  color: var(--ink);
  white-space: nowrap;
}

.call-pill i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
}

.call-pill i .ic {
  width: 16px;
  height: 16px;
}

.call-pill .tm {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--leaf);
}

.cc-facts {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
}

.cc-facts div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.cc-facts dt {
  color: var(--muted);
}

.cc-facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.cc-out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-content: start;
}

.cc-out span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.cc-out span i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.cc-out span.main {
  grid-column: 1 / -1;
  justify-content: center;
  border-color: var(--leaf);
  background: var(--leaf);
  color: #fff;
}

.cc-out span.main .ic {
  width: 17px;
  height: 17px;
}

.cc-out small {
  grid-column: 1 / -1;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

/* shipping */
.ship {
  padding: 8px;
}

.ship-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.ship-head b {
  color: var(--ink);
  font-size: 15px;
}

.ship-head .btn {
  height: 34px;
  margin-left: auto;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 9px;
}

.parcel {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-top: 1px solid #f0f2eb;
}

.parcel-logo {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.parcel-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.parcel b {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.parcel small {
  display: block;
  font: 12px var(--f-mono);
  color: var(--muted);
}

.st {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.st.ok {
  background: var(--leaf-soft);
  color: #1c5c0b;
}

.st.go {
  background: #e7f0fc;
  color: #1b5aa6;
}

.st.wait {
  background: #fff4dc;
  color: #8a5a00;
}

.st.back {
  background: #fdecec;
  color: #b3261e;
}

.st.pu {
  background: #f1edff;
  color: #4b35b0;
}

.ship-steps {
  display: flex;
  gap: 4px;
  margin: 6px 12px 12px;
}

.ship-steps i {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: var(--line);
}

.ship-steps i.on {
  background: var(--leaf);
}

/* chat inbox */
.inbox {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  overflow: hidden;
}

.inbox-list {
  border-right: 1px solid var(--line);
  background: #fafbf7;
}

.inbox-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 12px;
  border-bottom: 1px solid #eef1e8;
}

.inbox-item.on {
  background: #fff;
  box-shadow: inset 3px 0 0 var(--leaf);
}

.av {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--leaf-soft);
  color: #1c5c0b;
  font-size: 11.5px;
  font-weight: 700;
}

.inbox-item b {
  display: block;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-item small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-item em {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
}

.thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: #f4f1ea;
}

.thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: -14px -14px 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 13.5px;
}

.thread-head b {
  color: var(--ink);
}

.thread .bubble {
  font-size: 12.5px;
}

.bot-note {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 11.5px;
}

.bot-note .ic {
  width: 13px;
  height: 13px;
  color: var(--leaf);
}

.order-card {
  align-self: flex-end;
  width: 86%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 12.5px;
}

.order-card b {
  display: flex;
  justify-content: space-between;
  color: var(--ink);
}

.order-card small {
  color: var(--muted);
}

/* stock */
.stock {
  padding: 18px;
}

.prod {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.prod-img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, #f3d9b1 0 18%, transparent 19%),
    linear-gradient(135deg, #c58b4f, #8a5a2b);
}

.prod b {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

.prod small {
  font: 12px var(--f-mono);
  color: var(--muted);
}

.prod .price {
  font: 700 18px var(--f-display);
  color: var(--ink);
}

.variants {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

.variants span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.variants span.low {
  border-color: #f2c9c8;
  background: #fff5f5;
  color: #b3261e;
}

.wh {
  display: grid;
  gap: 12px;
}

.wh-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.wh-row span {
  color: var(--muted);
}

.wh-row b {
  text-align: right;
  font: 600 13px var(--f-mono);
  color: var(--ink);
}

.bar {
  height: 8px;
  border-radius: 4px;
  background: var(--bone);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--leaf);
}

.bundle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: #f7f8f4;
  font-size: 13px;
}

.bundle .ic {
  width: 18px;
  height: 18px;
  color: var(--leaf);
}

.bundle b {
  color: var(--ink);
}

.bundle em {
  margin-left: auto;
  font-style: normal;
  font-weight: 700;
  color: var(--leaf);
}

/* ad report */
.ads {
  padding: 18px;
  overflow: hidden;
}

.ads-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.ads-kpis div {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f8f4;
}

.ads-kpis span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

.ads-kpis b {
  font: 700 18px var(--f-display);
  color: var(--ink);
}

.plat {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.plat span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.plat svg {
  width: 14px;
  height: 14px;
}

.ads table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.ads th {
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font: 500 11px var(--f-mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ads td {
  padding: 10px 6px;
  border-bottom: 1px solid #f0f2eb;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.ads th:first-child,
.ads td:first-child {
  text-align: left;
}

.ads td.good {
  color: var(--leaf);
  font-weight: 700;
}

.ads td.bad {
  color: var(--red);
  font-weight: 700;
}

/* dashboard */
.dash {
  padding: 18px;
}

.dash-range {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: max-content;
  font-size: 12.5px;
}

.dash-range span {
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--muted);
}

.dash-range span.on {
  background: var(--leaf-soft);
  color: #1c5c0b;
  font-weight: 700;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dash-kpi {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.dash-kpi::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, var(--tone) 0%, transparent 55%);
  opacity: 0.18;
}

.dash-kpi span {
  position: relative;
  font-size: 12.5px;
  color: var(--muted);
}

.dash-kpi b {
  position: relative;
  display: block;
  font: 700 26px/1.2 var(--f-display);
  color: var(--ink);
}

.rings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.ring {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.ring svg {
  width: 52px;
  height: 52px;
  transform: rotate(-90deg);
}

.ring b {
  display: block;
  font: 700 18px var(--f-display);
  color: var(--ink);
}

.ring small {
  font-size: 12px;
  color: var(--muted);
}

/* small features */
.minis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 120px;
}

.mini {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.mini:hover {
  border-color: #c9cebf;
  transform: translateY(-3px);
}

.mini .ic {
  width: 24px;
  height: 24px;
  color: var(--leaf);
}

.mini h4 {
  margin-top: 16px;
  font-size: 17px;
}

.mini p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

/* -------------------------------- calculator -------------------------------- */

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.calc-in {
  display: grid;
  gap: 28px;
  padding: 40px;
}

.slider label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--on-dark);
}

.slider output {
  font: 600 15px var(--f-mono);
  color: var(--sprout);
}

.slider input {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--sprout) var(--p, 50%), rgba(255, 255, 255, 0.1) var(--p, 50%));
  outline: none;
  cursor: pointer;
}

.slider input::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 4px solid var(--forest);
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--sprout);
  box-shadow: 0 0 0 1px var(--sprout);
}

.slider input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 4px solid var(--forest);
  border-radius: 50%;
  background: var(--sprout);
}

.slider input:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 1px var(--sprout), 0 0 0 6px rgba(104, 239, 63, 0.3);
}

.calc-out {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 40px;
  background: var(--sprout);
  color: var(--forest);
}

.calc-out span {
  display: block;
  font: 500 12.5px var(--f-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calc-out b {
  display: block;
  font: 800 clamp(44px, 5vw, 64px) / 1 var(--f-display);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.calc-out p {
  font-size: 14px;
  opacity: 0.8;
}

.calc-out .btn {
  align-self: flex-start;
}

/* ------------------------------- why us ------------------------------- */

.whys {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.why {
  position: relative;
  padding: 30px;
  border-radius: 24px;
  background: var(--bone);
  overflow: hidden;
}

.why big {
  display: block;
  font: 800 54px/1 var(--f-display);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.why big small {
  font-size: 0.45em;
  letter-spacing: 0;
  color: var(--leaf);
}

.why h3 {
  margin-top: 18px;
  font-size: 20px;
}

.why p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

.why.darija big {
  font-family: 'Noto Kufi Arabic', var(--f-display);
  font-size: 44px;
  line-height: 1.25;
}

/* ------------------------------ integrations ------------------------------ */

.int-groups {
  display: grid;
  gap: 18px;
}

.int-group {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.int-group h3 {
  font-size: 19px;
}

.int-group > div > p {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--muted);
}

.int-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.int {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.int .logo {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: #f7f8f4;
}

.int .logo img,
.int .logo svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.int em {
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff4dc;
  color: #8a5a00;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.int.is-soon {
  color: var(--muted);
}

.int.is-soon .logo {
  filter: grayscale(0.6);
  opacity: 0.75;
}

/* --------------------------------- pricing --------------------------------- */

.billing {
  display: inline-flex;
  gap: 4px;
  margin: 0 auto 40px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.billing-wrap {
  text-align: center;
}

.billing button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: none;
  font: 600 14px var(--f-body);
  color: var(--muted);
  cursor: pointer;
}

.billing button.is-on {
  background: var(--ink);
  color: #fff;
}

.billing em {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--sprout);
  color: var(--forest);
  font-size: 11.5px;
  font-style: normal;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.plan.is-best {
  border-color: transparent;
  background: var(--forest);
  color: var(--on-dark-2);
  box-shadow: 0 40px 80px -40px rgba(10, 26, 13, 0.7);
}

.plan.is-best h3,
.plan.is-best .price b {
  color: #fff;
}

.plan-flag {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--sprout);
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
}

.plan h3 {
  font-size: 22px;
}

.plan-for {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--muted);
}

.plan.is-best .plan-for {
  color: var(--on-dark-2);
}

.plan-trial {
  align-self: flex-start;
  margin-top: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--leaf-soft);
  color: #1c5c0b;
  font-size: 12.5px;
  font-weight: 700;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
}

.price b {
  font: 800 52px/1 var(--f-display);
  letter-spacing: -0.04em;
  color: var(--ink);
}

.price s {
  font-size: 20px;
  color: var(--muted);
}

.price span {
  font-size: 15px;
  color: var(--muted);
}

.plan .billed {
  margin: 6px 0 22px;
  min-height: 21px;
  font-size: 13.5px;
  color: var(--muted);
}

.plan .ticks {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.plan.is-best .ticks {
  border-color: var(--line-dark);
}

.plan.is-best .ticks li {
  color: var(--on-dark);
}

.plan.is-best .ticks .ic {
  background: var(--sprout);
  color: var(--forest);
}

.price-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
}

.price-note .ic {
  width: 16px;
  height: 16px;
}

/* ----------------------------------- FAQ ----------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 60px;
  align-items: start;
}

.faq-grid .section-head {
  position: sticky;
  top: 110px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font: 600 18px var(--f-display);
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .ic {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--bone);
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq details[open] summary .ic {
  transform: rotate(45deg);
  background: var(--sprout);
}

.faq details p {
  padding: 0 40px 22px 0;
  font-size: 16px;
  color: var(--muted);
}

/* -------------------------------- final CTA -------------------------------- */

.final {
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.final h2 {
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.final .lede {
  max-width: 560px;
  margin-inline: auto;
}

.final .hero-cta {
  justify-content: center;
}

.big-dot {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -420px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 239, 63, 0.3), rgba(104, 239, 63, 0) 65%);
  transform: translateX(-50%);
}

/* --------------------------------- footer --------------------------------- */

.footer {
  padding: 70px 0 34px;
  border-top: 1px solid var(--line-dark);
  background: var(--forest);
  color: var(--on-dark-2);
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.9fr 1.55fr 0.7fr 0.8fr;
  gap: 40px;
}

/* Every integration, in two columns. */
.footer-ints > div {
  columns: 2;
  column-gap: 24px;
}

.footer-ints a {
  break-inside: avoid;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 16px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer .footer-grid .footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.18s, box-shadow 0.18s;
}

/* Each network in its own colors. */
.footer-social .net-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.footer-social .net-facebook {
  background: #1877f2;
}

.footer-social .net-youtube {
  background: #ff0000;
}

.footer-social .net-tiktok {
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.footer .footer-grid .footer-social a:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

/* The product list is long: two columns keep the footer short and wide. */
.footer-product > div {
  columns: 2;
  column-gap: 28px;
}

.footer-product a {
  break-inside: avoid;
}

.footer h4 {
  margin-bottom: 14px;
  font: 500 12px var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.footer-grid a:not(.brand) {
  display: block;
  margin-bottom: 9px;
}

.footer-grid a:not(.brand):hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
}

/* ------------------------------ scroll reveal ------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero .rise {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero .rise:nth-child(2) {
  animation-delay: 0.08s;
}

.hero .rise:nth-child(3) {
  animation-delay: 0.16s;
}

.hero .rise:nth-child(4) {
  animation-delay: 0.24s;
}

.hero .rise:nth-child(5) {
  animation-delay: 0.32s;
}

.scene.rise {
  animation-delay: 0.2s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------- responsive -------------------------------- */

@media (max-width: 1080px) {
  .hero-grid,
  .pain-grid,
  .feature,
  .feature.flip,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature.flip .feature-copy {
    order: 0;
  }

  .scene {
    max-width: 640px;
    width: 100%;
    margin-inline: auto;
  }

  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .track {
    display: none;
  }

  .minis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid .section-head {
    position: static;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 80px 0;
  }

  .calc,
  .whys,
  .plans {
    grid-template-columns: 1fr;
  }

  .int-group {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-ints {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .hero {
    padding-top: 116px;
  }

  .hero .lede {
    font-size: 17px;
  }

  .hero-cta .btn {
    flex: 1;
  }

  .scene {
    min-height: 0;
    padding-bottom: 300px;
  }

  .board {
    margin-left: 0;
  }

  .board-kpis {
    gap: 6px;
    padding: 12px;
  }

  .board-kpi {
    padding: 9px;
  }

  .board-kpi b {
    font-size: 18px;
  }

  .feed {
    height: 250px;
    padding: 0 12px 12px;
  }

  .feed-row {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .feed-sum {
    display: none;
  }

  .phone {
    left: 50%;
    bottom: 0;
    width: 220px;
    transform: translateX(-50%) rotate(-3deg);
  }

  .float-chip.c1 {
    top: auto;
    right: 6px;
    bottom: 236px;
  }

  .float-chip.c2 {
    display: none;
  }

  .works {
    margin-top: 56px;
  }

  .journey,
  .minis {
    grid-template-columns: 1fr;
  }

  .features {
    gap: 90px;
  }

  .feature {
    gap: 40px;
  }

  .art-confirm {
    grid-template-columns: 1fr;
  }

  .phone.static {
    margin-inline: auto;
  }

  .cc-body {
    grid-template-columns: 1fr;
  }

  .inbox {
    grid-template-columns: 1fr;
  }

  .inbox-list {
    display: none;
  }

  .ads-kpis,
  .dash-kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .rings {
    grid-template-columns: 1fr;
  }

  .ads table th:nth-child(4),
  .ads table td:nth-child(4) {
    display: none;
  }

  .calc-in,
  .calc-out {
    padding: 26px;
  }

  .sheet {
    overflow-x: auto;
  }

  .scribble.s1 {
    display: none;
  }

  .faq details p {
    padding-right: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------- feature landing pages -------------------------
   Pages like /auto-confirmation reuse the home sections; these add the photos,
   a three-stop journey and a smaller hero title for a full sentence. */

.lp-hero {
  padding-bottom: 0;
}

.lp-hero h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.05;
}

.announce b:first-child {
  font-size: 13px;
}

.lp-scene {
  min-height: 0;
  padding: 28px 0 64px;
}

.lp-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 30px 60px -30px rgba(21, 23, 15, 0.35);
}

.lp-scene .lp-photo {
  width: calc(100% - 64px);
  margin-left: 64px;
  border-color: rgba(232, 255, 220, 0.14);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8);
}

.pain-grid.is-flip > :first-child {
  order: 2;
}

.pains.is-good .pain-ic {
  background: var(--leaf-soft);
  color: var(--leaf);
}

.journey.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-center {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.minis.is-top {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .pain-grid.is-flip > :first-child {
    order: 0;
  }
}

@media (max-width: 860px) {
  .journey.is-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .lp-scene {
    padding-bottom: 300px;
  }

  .lp-scene .lp-photo {
    width: 100%;
    margin-left: 0;
  }
}

[dir='rtl'] .lp-scene .lp-photo {
  margin-left: 0;
  margin-right: 64px;
}

@media (max-width: 620px) {
  [dir='rtl'] .lp-scene .lp-photo {
    margin-right: 0;
  }
}

/* ------------------------------ pricing page ------------------------------
   /pricing: a short hero, the plan cards from the home page, then a table that
   compares the plans line by line. */

.price-hero,
.page-hero {
  padding-bottom: 96px;
}

.price-hero .section-head,
.page-hero .section-head {
  margin-bottom: 0;
}

.price-hero .lede,
.page-hero .lede {
  max-width: 700px;
  margin-inline: auto;
}

.price-hero .hero-proof,
.page-hero .hero-proof,
.page-hero .hero-cta {
  justify-content: center;
}

.price-plans {
  padding-top: 80px;
}

.price-more {
  margin-top: 14px;
  text-align: center;
  font-size: 15px;
}

.price-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--leaf);
  font-weight: 600;
}

.price-more .ic {
  width: 16px;
  height: 16px;
}

.cmp-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.cmp {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}

.cmp th,
.cmp td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.cmp th[scope='row'] {
  width: 40%;
  text-align: start;
  font-weight: 500;
  color: var(--text);
}

.cmp thead th {
  padding-top: 24px;
  padding-bottom: 20px;
  font: 700 19px/1.2 var(--f-display);
  color: var(--ink);
}

.cmp thead small {
  display: block;
  margin-top: 4px;
  font: 500 13.5px var(--f-body);
  color: var(--muted);
}

.cmp thead .is-best {
  color: var(--leaf);
}

.cmp .cmp-group th {
  padding-top: 26px;
  padding-bottom: 10px;
  background: var(--paper);
  text-align: start;
  font: 500 12.5px/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
}

.cmp td {
  font-weight: 600;
  color: var(--ink);
}

.cmp-yes.ic {
  width: 22px;
  height: 22px;
  margin-inline: auto;
  padding: 4px;
  border-radius: 50%;
  background: var(--leaf-soft);
  color: var(--leaf);
  stroke-width: 3;
}

.cmp-no {
  color: #b9bdae;
}

.cmp tfoot td {
  padding: 22px 12px;
  border-bottom: 0;
}

.cmp tfoot .btn {
  width: 100%;
  max-width: 200px;
}

@media (max-width: 620px) {
  .price-hero,
  .page-hero {
    padding-bottom: 72px;
  }

  .cmp th,
  .cmp td {
    padding: 12px 10px;
  }

  .cmp {
    min-width: 560px;
    font-size: 14px;
  }

  /* The feature names stay in view while the plans scroll sideways. */
  .cmp th[scope='row'],
  .cmp thead th:first-child {
    position: sticky;
    inset-inline-start: 0;
    z-index: 1;
    width: 170px;
    padding-inline-start: 16px;
    background: #fff;
    box-shadow: inset -1px 0 0 var(--line);
  }

  [dir='rtl'] .cmp th[scope='row'],
  [dir='rtl'] .cmp thead th:first-child {
    box-shadow: inset 1px 0 0 var(--line);
  }
}

[dir='rtl'] .cmp td {
  unicode-bidi: plaintext;
}

/* /compare pages: sentences in the cells, the old way muted and BotConfirm ticked. */
.cmp.is-vs th[scope='row'] {
  width: 26%;
  font-weight: 600;
  color: var(--ink);
}

.cmp.is-vs td {
  width: 37%;
  text-align: start;
  line-height: 1.5;
}

.cmp.is-vs td:nth-child(2) {
  font-weight: 400;
  color: var(--muted);
}

.cmp.is-vs td:nth-child(3) {
  background: #f7fdf3;
}

.cmp.is-vs td .cmp-yes.ic {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 8px 0 0;
  vertical-align: -4px;
}

[dir='rtl'] .cmp.is-vs td .cmp-yes.ic {
  margin: 0 0 0 8px;
}

.cmp.is-vs thead th {
  text-align: start;
}

@media (max-width: 620px) {
  .cmp.is-vs {
    min-width: 600px;
  }

  .cmp.is-vs th[scope='row'] {
    width: 130px;
  }
}

[dir='rtl'] .cmp .cmp-group th {
  font: 600 14px/1 var(--f-body);
}

/* ------------------------------ feature pages ------------------------------
   /call-center and the other feature pages: the home page mockup sits in the
   hero, then the problem, three steps and the details as cards. */

.feat-hero {
  padding-bottom: 96px;
}

.feat-hero .feature-art::before {
  opacity: 0.35;
}

.feat-hero .announce b {
  display: grid;
  place-items: center;
  padding: 4px 9px;
}

.feat-hero .announce b .ic {
  width: 15px;
  height: 15px;
  color: var(--forest);
}

.minis.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini.is-pain .ic {
  color: var(--red);
}

@media (max-width: 1080px) {
  .feat-hero .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .minis.is-3 {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------ integrations ------------------------------
   /integrations lists every one as a card; /integrations/<slug> shows the two
   logos wired together in the hero, then the steps and the details. */

.int-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--on-dark-2);
  font-size: 14px;
  font-weight: 600;
}

.int-back:hover {
  color: var(--sprout);
}

.int-back .ic {
  width: 15px;
  height: 15px;
}

.int-hero .announce b {
  display: grid;
  place-items: center;
  padding: 5px;
  background: #fff;
}

.int-hero .announce b img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.int-soon {
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff4dc;
  color: #8a5a00;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.int-hero .int-soon {
  margin-inline-start: 2px;
}

.int-art {
  padding: 36px;
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  background: rgba(104, 239, 63, 0.04);
}

.int-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  direction: ltr;
}

.int-tile {
  display: grid;
  flex: none;
  width: 104px;
  height: 104px;
  place-items: center;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.int-tile img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.int-tile.is-us {
  background: var(--forest-2);
  border: 1px solid rgba(104, 239, 63, 0.35);
}

.int-wire {
  display: flex;
  flex: 1;
  max-width: 150px;
  justify-content: space-between;
  border-top: 2px dashed rgba(104, 239, 63, 0.35);
}

.int-wire i {
  width: 10px;
  height: 10px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--sprout);
  animation: int-pulse 1.8s ease-in-out infinite;
}

.int-wire i:nth-child(2) {
  animation-delay: 0.3s;
}

.int-wire i:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes int-pulse {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}

.int-flow {
  display: grid;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.int-flow li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--on-dark);
  font-size: 15px;
}

.int-flow .ic {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--sprout);
}

.int-hub-hero {
  padding-bottom: 96px;
}

.int-hub-hero .announce b {
  display: grid;
  place-items: center;
  padding: 4px 9px;
}

.int-hub-hero .announce b .ic {
  width: 15px;
  height: 15px;
  color: var(--forest);
}

.int-hub-hero .section-head {
  margin-bottom: 0;
}

.int-hub-hero .hero-proof {
  justify-content: center;
}

.int-sections {
  display: grid;
  gap: 56px;
}

.int-section-head {
  margin-bottom: 20px;
}

.int-section-head h2 {
  font-size: 26px;
}

.int-section-head p {
  margin-top: 4px;
  color: var(--muted);
}

.int-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.int-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.int-card:hover {
  border-color: var(--leaf);
  box-shadow: 0 24px 50px -30px rgba(21, 23, 15, 0.35);
  transform: translateY(-3px);
}

.int-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.int-card-top b {
  color: var(--ink);
  font-size: 17px;
}

.int-card-top .int-soon {
  margin-inline-start: auto;
}

.int-card .logo {
  display: grid;
  flex: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: #f7f8f4;
}

.int-card .logo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.int-card p {
  font-size: 14.5px;
  color: var(--muted);
}

.int-card.is-soon .logo img {
  filter: grayscale(0.6);
  opacity: 0.75;
}

a.int:hover {
  border-color: var(--leaf);
}

@media (max-width: 1080px) {
  .int-hero .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .int-cards {
    grid-template-columns: 1fr;
  }

  .int-art {
    padding: 24px;
  }

  .int-tile {
    width: 80px;
    height: 80px;
  }

  .int-tile img {
    width: 46px;
    height: 46px;
  }
}

/* --------------------------- policy and contact ---------------------------
   /refund-policy, /about, /privacy and /terms are plain reading text
   (pages/doc.html); /contact is three cards. */

.doc {
  max-width: 760px;
}

.doc-meta {
  margin-bottom: 8px;
  font: 500 13px var(--f-mono);
  color: var(--muted);
}

.doc h2 {
  margin-top: 44px;
  font-size: 26px;
}

.doc p {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.7;
}

.doc a,
.contact-card p a,
.price-more a {
  color: var(--leaf);
  font-weight: 600;
}

.doc b {
  color: var(--ink);
}

.doc .doc-lead {
  font-size: 19px;
  color: var(--ink);
}

.doc ul {
  margin: 14px 0 0;
  padding-inline-start: 22px;
}

.doc li {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.65;
}

.doc li::marker {
  color: var(--leaf);
}

.doc-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.doc-step {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.doc-step p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .doc-steps {
    grid-template-columns: 1fr;
  }
}

.doc-company {
  margin-top: 56px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.doc-company p {
  margin-top: 4px;
  font-size: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

a.contact-card:hover {
  border-color: var(--leaf);
  box-shadow: 0 24px 50px -30px rgba(21, 23, 15, 0.35);
}

.contact-ic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: var(--leaf-soft);
  color: var(--leaf);
}

.contact-ic .ic,
.contact-ic svg {
  width: 24px;
  height: 24px;
}

.contact-card h2 {
  font-size: 22px;
}

.contact-card p {
  font-size: 15.5px;
}

.contact-card b {
  margin-top: auto;
  padding-top: 10px;
  font-size: 17px;
  color: var(--ink);
}

.contact-grid + .price-more {
  margin-top: 36px;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------- languages ------------------------------- */

.nav-langs {
  display: flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.nav-langs a {
  padding: 5px 9px;
  border-radius: 999px;
  color: #b7bda5;
  font: 600 12px var(--f-mono);
}

.nav-langs a:hover {
  color: #fff;
}

.nav-langs a[aria-current] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* A copy inside the phone menu: the one in the bar would push the menu button
   off a narrow screen. */
.nav-langs.is-menu {
  display: none;
}

@media (max-width: 520px) {
  .nav-cta .nav-langs {
    display: none;
  }

  .nav-langs.is-menu {
    display: flex;
    align-self: flex-start;
    margin: 6px 14px 4px;
  }

  .nav-links .nav-langs a {
    padding: 6px 12px;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .nav-ints {
    grid-template-columns: 1fr;
  }
}

/* A phone: the logo, the start button and the menu button share 340px. */
@media (max-width: 420px) {
  .nav {
    gap: 8px;
  }

  .nav .brand img {
    width: 26px;
    height: 26px;
  }

  .nav .wordmark {
    font-size: 17px;
  }

  .nav-cta .btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .nav .wordmark {
    font-size: 16px;
  }

  .nav-cta .btn {
    padding: 8px 9px;
  }
}

/* ---------------------------- right to left (ar) ----------------------------
   The page is written for left to right. Flex and grid flip by themselves; these
   rules flip what uses physical sides. Latin bits (the wordmark, phone numbers,
   the Darija samples) stay left to right. */

[dir='rtl'] {
  --f-display: 'Bricolage Grotesque', 'Noto Kufi Arabic', system-ui, sans-serif;
  --f-body: 'Instrument Sans', 'IBM Plex Sans Arabic', system-ui, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', 'IBM Plex Sans Arabic', ui-monospace, monospace;
}

/* Letter spacing breaks the joins between Arabic letters. */
[dir='rtl'] *,
[dir='rtl'] *::before,
[dir='rtl'] *::after {
  letter-spacing: 0 !important;
}

[dir='rtl'] h1,
[dir='rtl'] h2 {
  line-height: 1.3;
}

[dir='rtl'] .wordmark,
[dir='rtl'] .call-pill,
[dir='rtl'] .board-bar span,
[dir='rtl'] .tpl-body,
[dir='rtl'] .art-confirm .bubble,
[dir='rtl'] .thread .bubble,
[dir='rtl'] .inbox-item small {
  direction: ltr;
}

[dir='rtl'] .tpl-body,
[dir='rtl'] .art-confirm .bubble,
[dir='rtl'] .thread .bubble {
  text-align: left;
}

[dir='rtl'] .ic-flip {
  transform: scaleX(-1);
}

/* The platform map is drawn with x positions, so it stays left to right. */
[dir='rtl'] .flow svg {
  direction: ltr;
}

[dir='rtl'] .nav {
  padding: 10px 20px 10px 10px;
}

[dir='rtl'] .nav-links {
  margin-right: 0;
  margin-left: auto;
}

[dir='rtl'] .watch-play .ic {
  margin-left: 0;
  margin-right: 4px;
}

[dir='rtl'] .watch-sound {
  right: auto;
  left: 16px;
}

[dir='rtl'] .board {
  margin-left: 0;
  margin-right: 64px;
}

[dir='rtl'] .board-bar span {
  margin-left: 0;
  margin-right: 10px;
}

[dir='rtl'] .board-live,
[dir='rtl'] .cc-queue,
[dir='rtl'] .call-pill .tm,
[dir='rtl'] .ship-head .btn,
[dir='rtl'] .bundle em {
  margin-left: 0;
  margin-right: auto;
}

[dir='rtl'] .phone {
  left: auto;
  right: -24px;
}

[dir='rtl'] .phone.static {
  right: auto;
}

[dir='rtl'] .bubble small {
  text-align: left;
}

[dir='rtl'] .float-chip.c1,
[dir='rtl'] .float-chip.c2 {
  right: auto;
}

[dir='rtl'] .float-chip.c1 {
  left: 28px;
}

[dir='rtl'] .float-chip.c2 {
  left: 26px;
}

[dir='rtl'] .sheet td {
  unicode-bidi: plaintext;
  border-right: 0;
  border-left: 1px solid #eef1e8;
}

[dir='rtl'] .scribble.s1 {
  right: auto;
  left: 14px;
}

/* The dot runs along the track the way the stops are read. */
[dir='rtl'] .track {
  transform: scaleX(-1);
}

[dir='rtl'] .stop::before {
  right: auto;
  left: 0;
}

[dir='rtl'] .feature-tag.is-new::after {
  margin-left: 0;
  margin-right: 4px;
}

[dir='rtl'] .feature-art::before {
  inset: 8% 8% -6% -4%;
}

[dir='rtl'] .feature.flip .feature-art::before {
  inset: 8% -4% -6% 8%;
}

[dir='rtl'] .inbox-list {
  border-right: 0;
  border-left: 1px solid var(--line);
}

[dir='rtl'] .wh-row b,
[dir='rtl'] .ads th,
[dir='rtl'] .ads td {
  text-align: left;
}

[dir='rtl'] .ads td:first-child,
[dir='rtl'] .ads th:first-child {
  text-align: right;
}

[dir='rtl'] .plan-flag {
  right: auto;
  left: 22px;
}

[dir='rtl'] .faq details p {
  padding: 0 0 22px 40px;
}

@media (max-width: 620px) {
  [dir='rtl'] .board {
    margin-right: 0;
  }
}

@media (max-width: 1100px) {
  [dir='rtl'] .nav {
    padding-left: 10px;
    padding-right: 16px;
  }

  [dir='rtl'] .nav-cta {
    margin-left: 0;
    margin-right: auto;
  }
}

@media (max-width: 860px) {
  [dir='rtl'] .watch-sound {
    left: 8px;
  }
}

@media (max-width: 620px) {
  [dir='rtl'] .float-chip.c1 {
    left: 6px;
  }

  [dir='rtl'] .faq details p {
    padding-left: 0;
  }
}

/* -------------------------- automation flow art -------------------------- */

.auto-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 22px 24px;
  background-color: #fff;
  background-image: radial-gradient(#dfe4d6 1px, transparent 1px);
  background-size: 16px 16px;
}

.aa-node {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 300px);
  padding: 12px 14px;
  border: 1.5px solid #a8e38b;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(104, 239, 63, 0.1), 0 6px 18px rgba(18, 35, 20, 0.06);
}

.aa-node b {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.aa-node small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

.aa-node .aa-mono {
  font: 12px var(--f-mono);
}

.aa-tile {
  display: grid;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--tile-bg);
  color: var(--tile);
}

.aa-tile .ic {
  width: 18px;
  height: 18px;
}

.aa-line {
  display: block;
  width: 2px;
  height: 22px;
  background: #c4c9bd;
}

.aa-line.is-yes {
  background: var(--leaf);
}

/* two branches under the message, joined by one bracket */
.aa-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 360px);
  padding-top: 34px;
}

.aa-split::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 16px;
  margin-left: -1px;
  background: #c4c9bd;
}

.aa-split::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 25%;
  right: 25%;
  height: 18px;
  border: 2px solid #c4c9bd;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.aa-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aa-label {
  padding: 4px 12px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.aa-label.is-yes {
  border-color: #b9e8a6;
  background: var(--leaf-soft);
  color: #1c5c0b;
}

/* ---------------------------- campaign art ---------------------------- */

.camp-art {
  padding: 18px;
}

.ca-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ca-head > div {
  flex: 1;
  min-width: 0;
}

.ca-head b {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.ca-head small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

.ca-ic {
  display: grid;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: var(--leaf-soft);
  color: var(--leaf);
}

.ca-ic .ic {
  width: 18px;
  height: 18px;
}

.ca-bar {
  height: 8px;
  margin-top: 16px;
  border-radius: 99px;
  background: var(--bone);
  overflow: hidden;
}

.ca-bar i {
  display: block;
  width: 67%;
  height: 100%;
  border-radius: inherit;
  background: var(--leaf);
}

.ca-progress {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.ca-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.ca-stats div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.ca-stats b {
  display: block;
  font: 700 22px/1.2 var(--f-display);
  color: var(--ink);
}

.ca-stats span {
  font-size: 12.5px;
  color: var(--muted);
}

.ca-chat {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background-color: #ece5dd;
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 12px 12px;
}

.ca-chat .wa-btns {
  justify-self: start;
  min-width: 180px;
}

[dir='rtl'] .ca-chat {
  direction: ltr;
  text-align: left;
}

@media (max-width: 560px) {
  .ca-stats b {
    font-size: 18px;
  }

  .aa-label {
    font-size: 11px;
    padding: 4px 9px;
  }
}

.ca-chat .ca-foot {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  color: #667781;
}
