/* Finixyz, minimal. Quiet type, hairline borders, lots of air; the only motion is on hover.
   Used by the home page and the ERP page, on top of site.css (header, footer, tokens, buttons). */

.m-page {
  --hair: color-mix(in srgb, var(--ink) 10%, transparent);
  --hair-2: color-mix(in srgb, var(--ink) 18%, transparent);
  --glow: color-mix(in srgb, var(--primary) 22%, transparent);
  --mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--bg);
}

.m-wrap {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

/* ---------------------------------------------------------------- hero */
.m-hero {
  position: relative;
  padding: clamp(72px, 12vw, 148px) 0 clamp(48px, 7vw, 88px);
  text-align: center;
  overflow: hidden;
}
/* soft gradient circles drifting behind the words (js/hero-bg.js draws them with three.js) */
.m-hero {
  isolation: isolate;
}
.m-orbs {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  opacity: 0;
  animation: orbsIn 1.6s var(--ease) 0.2s forwards;
}
@keyframes orbsIn {
  to {
    opacity: 1;
  }
}
/* no WebGL: still circles in CSS */
.m-hero.orbs-css::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 22% 32%, color-mix(in srgb, #4373ff 22%, transparent), transparent 70%),
    radial-gradient(36% 46% at 78% 28%, color-mix(in srgb, #9466ff 18%, transparent), transparent 70%),
    radial-gradient(34% 44% at 62% 78%, color-mix(in srgb, #29c7bd 16%, transparent), transparent 70%);
  pointer-events: none;
}
.m-hero > * {
  position: relative;
}

.m-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 6px 0 14px;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-2);
  text-decoration: none;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(6px);
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.m-pill b {
  font-weight: 500;
  color: var(--ink);
}
.m-pill .go {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-2);
  transition: transform 220ms var(--ease);
}
.m-pill .go .ms {
  font-size: 16px;
}
.m-pill:hover {
  border-color: var(--primary);
  color: var(--ink);
}
.m-pill:hover .go {
  transform: translateX(3px);
}

.m-h1 {
  margin: 28px auto 0;
  max-width: 14ch;
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.m-h1 .soft {
  color: var(--muted);
}
.m-lede {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--muted);
}
.m-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.m-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font: 500 15px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease), color 200ms var(--ease);
}
.m-btn .ms {
  font-size: 18px;
  transition: transform 220ms var(--ease);
}
.m-btn:hover .ms {
  transform: translateX(3px);
}
.m-btn.solid {
  background: var(--ink);
  color: var(--bg);
}
.m-btn.solid:hover {
  transform: translateY(-1px);
}
.m-btn.line {
  border-color: var(--hair-2);
  color: var(--ink);
  background: transparent;
}
.m-btn.line:hover {
  border-color: var(--ink);
}
.m-fine {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}
.m-fine i {
  font-style: normal;
  opacity: 0.5;
  margin: 0 8px;
}

/* ---------------------------------------------------------------- the product, in a quiet frame */
.m-shot {
  position: relative;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid var(--hair);
  border-radius: 22px;
  background: var(--surface);
}
.m-shot::after {
  content: '';
  position: absolute;
  inset: auto 10% -40px;
  height: 80px;
  background: var(--glow);
  filter: blur(60px);
  z-index: -1;
}
.m-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--hair);
}

/* ---------------------------------------------------------------- sections */
.m-sec {
  padding: clamp(72px, 10vw, 128px) 0;
}
.m-sec + .m-sec {
  border-top: 1px solid var(--hair);
}
.m-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.m-h2 {
  margin: 14px 0 0;
  max-width: 24ch;
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.m-sub {
  margin: 14px 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.m-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* ---------------------------------------------------------------- the icon grid: hairline cells, a light that follows the cursor */
.m-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}
.m-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.m-cell {
  --x: 50%;
  --y: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  padding: 28px 26px 26px;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: background 300ms var(--ease);
}
.m-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px circle at var(--x) var(--y), var(--glow), transparent 70%);
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
.m-cell:hover::before {
  opacity: 1;
}
.m-ic {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--hair-2);
  color: var(--ink-2);
  background: var(--bg);
  transition: transform 380ms var(--spring), color 220ms var(--ease), border-color 220ms var(--ease), box-shadow 300ms var(--ease);
}
.m-ic .ms {
  font-size: 22px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  transition: font-variation-settings 260ms var(--ease);
}
.m-cell:hover .m-ic {
  transform: translateY(-4px) rotate(-6deg);
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 50%, transparent);
  box-shadow: 0 10px 24px -10px var(--glow);
}
.m-cell:hover .m-ic .ms {
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}
.m-cell h3 {
  margin: 14px 0 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.m-cell p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.m-cell .num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  opacity: 0.6;
}
.m-cell .more {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ink-2);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.m-cell:hover .more {
  opacity: 1;
  transform: none;
}
.m-cell ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.m-cell li {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  color: var(--muted);
  transition: border-color 220ms var(--ease), color 220ms var(--ease);
}
.m-cell:hover li {
  border-color: var(--hair-2);
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- a quiet band (ERP teaser, closing call) */
.m-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--hair);
  border-radius: 22px;
  background:
    radial-gradient(600px circle at 0% 0%, color-mix(in srgb, var(--primary) 9%, transparent), transparent 60%),
    var(--surface);
}
.m-band h2 {
  margin: 10px 0 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.m-band p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.55;
}

.m-close {
  text-align: center;
}
.m-close .m-h2 {
  margin-left: auto;
  margin-right: auto;
}
.m-close .m-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------------------------------------- a flow: how things connect (ERP) */
.m-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 12px;
  padding: 6px 2px 10px;
}
.m-flow .m-step {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--hair-2);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--bg);
  transition: border-color 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}
.m-flow .m-step .ms {
  font-size: 18px;
  color: var(--muted);
}
.m-flow .m-step:hover {
  border-color: var(--primary);
  color: var(--ink);
  transform: translateY(-2px);
}
.m-flow .m-line {
  flex: none;
  width: 34px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--hair-2) 0 4px, transparent 4px 8px);
}

.m-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--hair);
}
.m-facts div {
  padding: 26px 24px 4px 0;
}
.m-facts b {
  display: block;
  font-family: var(--font);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
}
.m-facts span {
  display: block;
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.m-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  vertical-align: middle;
}

/* ---------------------------------------------------------------- small screens */
@media (max-width: 900px) {
  .m-grid,
  .m-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .m-facts {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .m-wrap {
    width: calc(100% - 32px);
  }
  .m-grid,
  .m-grid.four {
    grid-template-columns: 1fr;
  }
  .m-cell {
    min-height: 0;
    padding: 24px 20px;
  }
  /* no hover on phones: show the extras */
  .m-cell .more {
    opacity: 1;
    transform: none;
  }
  .m-band {
    grid-template-columns: 1fr;
  }
  .m-btn {
    width: 100%;
    justify-content: center;
  }
  .m-ctas {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .m-cell:hover .m-ic,
  .m-btn:hover .ms,
  .m-flow .m-step:hover {
    transform: none;
  }
}

/* ---------------------------------------------------------------- hero with the film (home) */
.m-hero.split {
  text-align: left;
  padding-top: clamp(56px, 8vw, 104px);
}
.m-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.m-hero.split .m-h1 {
  margin-left: 0;
  font-size: clamp(42px, 6vw, 80px);
}
.m-hero.split .m-lede {
  margin-left: 0;
}
.m-hero.split .m-ctas {
  justify-content: flex-start;
}
.m-btn .ms.play {
  font-size: 20px;
}
.m-btn:hover .ms.play {
  transform: scale(1.1);
}
.m-film {
  position: relative;
  display: block;
  width: min(380px, 100%);
  aspect-ratio: 9 / 16;
  max-height: min(680px, calc(100dvh - 160px));
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--hair);
  border-radius: 32px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  box-shadow: 0 40px 80px -40px var(--glow);
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease);
}
.m-film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m-film:hover {
  transform: translateY(-4px);
  box-shadow: 0 50px 90px -40px var(--glow);
}
.m-film-play {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px 9px 12px;
  border-radius: 999px;
  white-space: nowrap;
  color: #fff;
  font: 500 13.5px/1 var(--font);
  background: rgba(15, 20, 30, 0.45);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.m-film-play .ms {
  font-size: 19px;
}
@media (max-width: 900px) {
  .m-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .m-hero.split {
    text-align: center;
  }
  .m-hero.split .m-h1,
  .m-hero.split .m-lede {
    margin-left: auto;
    margin-right: auto;
  }
  .m-hero.split .m-ctas {
    justify-content: center;
  }
  .m-film {
    width: min(340px, 86vw);
  }
}

/* ---------------------------------------------------------------- showcase: screens crossfade, a phone on each side */
.sc {
  position: relative;
  padding: 0 clamp(0px, 6vw, 90px);
}
.sc-frame {
  position: relative;
  padding: 10px;
  border: 1px solid var(--hair);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 50px 100px -50px var(--glow);
}
.sc-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--hair);
  background: var(--bg);
}
.sc-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 900ms var(--ease), transform 1400ms var(--ease);
}
.sc-slide.on {
  opacity: 1;
  transform: none;
}
.sc-phone {
  position: absolute;
  bottom: -38px;
  width: clamp(120px, 15vw, 210px);
  aspect-ratio: 9 / 19.5;
  padding: 7px;
  border-radius: 34px;
  background: #111316;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  transition: transform 600ms var(--ease);
}
.sc-phone.left {
  left: 0;
  transform: rotate(-4deg);
}
.sc-phone.right {
  right: 0;
  transform: rotate(4deg);
}
.sc:hover .sc-phone.left {
  transform: rotate(-2deg) translateY(-8px);
}
.sc:hover .sc-phone.right {
  transform: rotate(2deg) translateY(-8px);
}
.sc-phone-in {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 27px;
  overflow: hidden;
  background: #fff;
}
.sc-phone-in::before {
  /* the camera island */
  content: '';
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 50%;
  width: 34%;
  height: 16px;
  margin-left: -17%;
  border-radius: 10px;
  background: #111316;
}
.sc-phone .sc-slide {
  object-position: top center;
}
.sc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.sc-label {
  font: 500 14px/1 var(--font);
  color: var(--ink-2);
  min-width: 140px;
  text-align: right;
}
.sc-dots {
  display: flex;
  gap: 6px;
}
.sc-dot {
  width: 28px;
  height: 20px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.sc-dot i {
  position: relative;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--hair-2);
  overflow: hidden;
}
.sc-dot i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}
.sc-dot.on i::after {
  animation: scFill var(--sc-ms, 4200ms) linear forwards;
}
.sc.paused ~ .sc-nav .sc-dot.on i::after,
.sc-nav.paused .sc-dot.on i::after {
  animation-play-state: paused;
}
.sc-dot.done i::after {
  transform: scaleX(1);
}
@keyframes scFill {
  to {
    transform: scaleX(1);
  }
}

/* ---------------------------------------------------------------- Material 3 multi-browse carousel */
.mb-sec {
  padding-top: clamp(80px, 10vw, 120px);
}
.mb {
  display: flex;
  gap: 8px;
  height: clamp(260px, 34vw, 420px);
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}
.mb-item {
  position: relative;
  margin: 0;
  flex: 0 0 0;
  min-width: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface-2);
  transition: flex-grow 700ms cubic-bezier(0.2, 0, 0, 1), margin 700ms cubic-bezier(0.2, 0, 0, 1), opacity 500ms var(--ease);
  cursor: pointer;
}
.mb-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* screenshots: start from the top left so the app shows */
.mb-item img[src*='/shots/'] {
  object-position: top left;
}
.mb-item figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  font: 500 clamp(16px, 1.6vw, 22px)/1.2 var(--font);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--ease), transform 500ms var(--ease);
  white-space: nowrap;
}
.mb-item::after {
  content: '';
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.45));
  opacity: 0;
  transition: opacity 400ms var(--ease);
}
.mb-item.big figcaption {
  opacity: 1;
  transform: none;
  transition-delay: 250ms;
}
.mb-item.big::after {
  opacity: 1;
}
.mb-item.gone {
  margin-left: -8px;
}
.mb-arrows {
  display: flex;
  gap: 8px;
}
.mb-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--hair-2);
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.mb-arrow:hover {
  border-color: var(--ink);
}
.mb-arrow:active {
  transform: scale(0.94);
}

/* ---------------------------------------------------------------- the F1 car's loader (Material expressive shape-morph) */
.f1-loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font: 500 14px/1.2 var(--font);
  pointer-events: none;
}
.f1-car:not(.has-3d):not(.no-3d) .f1-loader {
  display: flex;
}
.m3-loader {
  width: 64px;
  height: 64px;
  overflow: visible;
}
.m3-loader path {
  fill: var(--primary);
}

@media (max-width: 700px) {
  .sc {
    padding: 0;
  }
  .sc-phone {
    width: 92px;
    bottom: -24px;
    padding: 5px;
    border-radius: 22px;
  }
  .sc-phone-in {
    border-radius: 17px;
  }
  .sc-phone-in::before {
    height: 9px;
    top: 5px;
  }
  .sc-phone.left {
    left: -6px;
  }
  .sc-phone.right {
    right: -6px;
  }
  .sc-nav {
    margin-top: 44px;
  }
  .sc-label {
    text-align: center;
    width: 100%;
  }
  .mb {
    height: 300px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sc-slide,
  .mb-item {
    transition: none;
  }
}

/* phones: no ERP tag above the home headline */
@media (max-width: 700px) {
  .m-hero.split .m-pill {
    display: none;
  }
  .m-hero.split .m-h1 {
    margin-top: 0;
  }
}

/* ---------------------------------------------------------------- business types strip (LiveKit-style): hairline cells,
   each one slides between a few kinds of business */
.bt-strip {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  margin: 8px 0 clamp(56px, 7vw, 88px);
}
.bt-row {
  display: grid;
  grid-template-columns: 1.1fr repeat(5, minmax(0, 1fr));
}
.bt-label {
  margin: 0;
  display: flex;
  align-items: center;
  padding: 0 20px 0 0;
  min-height: 68px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
  border-right: 1px solid var(--hair);
}
.bt-cell {
  position: relative;
  min-height: 68px;
  border-right: 1px solid var(--hair);
  overflow: hidden;
}
.bt-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 500 15px/1 var(--font);
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(70%);
  filter: blur(6px);
  transition: opacity 700ms cubic-bezier(0.2, 0, 0, 1), transform 800ms cubic-bezier(0.2, 0, 0, 1), filter 700ms cubic-bezier(0.2, 0, 0, 1);
}
.bt-item .ms {
  font-size: 20px;
  color: var(--ink-2);
}
.bt-item.on {
  opacity: 1;
  transform: none;
  filter: none;
}
.bt-item.out {
  opacity: 0;
  transform: translateY(-70%);
  filter: blur(6px);
}
@media (max-width: 900px) {
  .bt-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bt-label {
    grid-column: 1 / -1;
    justify-content: center;
    border-right: none;
    border-bottom: 1px solid var(--hair);
    min-height: 48px;
    padding: 0;
  }
  .bt-cell {
    border-bottom: 1px solid var(--hair);
  }
  .bt-cell:nth-of-type(odd) {
    border-right: 1px solid var(--hair);
  }
  .bt-cell:nth-of-type(even) {
    border-right: none;
  }
  .bt-cell:last-child {
    display: none;
  }
  .bt-cell:nth-last-child(2) {
    border-bottom: none;
  }
  .bt-cell:nth-last-child(3) {
    border-bottom: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bt-item {
    transition: none;
    filter: none;
  }
}

/* LiveKit-sized type: a calmer hero */
.m-h1,
.m-hero.split .m-h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.m-lede {
  font-size: clamp(15px, 1.3vw, 17.5px);
}
.m-h2 {
  font-size: clamp(26px, 3.2vw, 40px);
}

/* phones: room between the menu bar and the headline */
@media (max-width: 700px) {
  .m-hero,
  .m-hero.split {
    padding-top: 112px;
  }
}

/* ---------------------------------------------------------------- the Finixyz apps under the hero CTAs */
.m-apps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 600px;
  margin-top: 64px;
}
.m-apps a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px 10px 10px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: appIn 700ms var(--ease) both;
  animation-delay: calc(500ms + var(--i) * 90ms);
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.m-apps a:hover {
  border-color: var(--hair-2);
  transform: translateY(-2px);
}
.m-apps .pmark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  transition: transform 300ms var(--ease);
}
.m-apps a:hover .pmark {
  transform: rotate(-6deg) scale(1.06);
}
.m-apps b {
  display: block;
  font: 500 14px/1.2 var(--font);
}
.m-apps small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes appIn {
  from { opacity: 0; transform: translateY(8px); }
}
@media (max-width: 900px) {
  .m-apps {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}
@media (max-width: 620px) {
  .m-apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .m-apps a { animation: none; }
}

/* ---------------------------------------------------------------- the Android app on Google Play (replaces the showcase) */
.gp-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 64px) 0;
  border: 1px solid var(--hair);
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 85% 100%, rgba(52, 168, 83, 0.16), transparent 70%),
    radial-gradient(50% 80% at 10% 0%, rgba(66, 133, 244, 0.14), transparent 70%),
    var(--surface, transparent);
}
.gp-copy {
  padding-bottom: clamp(28px, 4vw, 48px);
}
.gp-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.4);
}
.gp-copy h2 {
  margin: 18px 0 0;
  font: 500 clamp(28px, 3.6vw, 44px)/1.08 var(--font);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.gp-copy p {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 16px;
}
.gp-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 22px 0 16px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 1px solid #a6a6a6;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.gp-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.6);
}
.gp-badge small {
  display: block;
  font: 500 10px/1 var(--font);
  letter-spacing: 0.06em;
}
.gp-badge b {
  display: block;
  margin-top: 3px;
  font: 500 21px/1 var(--font);
  letter-spacing: -0.01em;
}
.gp-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-bottom: clamp(28px, 4vw, 48px);
  font-size: 12.5px;
  color: var(--muted);
}
.gp-qr img {
  width: 132px;
  height: 132px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--hair);
}
.gp-phone {
  align-self: end;
  height: 340px;
  overflow: hidden;
}
.gp-phone .phone {
  width: 230px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55), inset 0 0 0 2px #3c3c3c;
}
@media (max-width: 960px) {
  .gp-band {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .gp-qr {
    display: none;
  }
}
@media (max-width: 640px) {
  .gp-band {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
  .gp-icon {
    margin: 0 auto;
  }
  .gp-phone {
    justify-self: center;
    height: 260px;
  }
  .gp-phone .phone {
    width: 210px;
  }
  .gp-copy {
    padding-bottom: 0;
  }
}

/* ---------------------------------------------------------------- pricing */
.pr-hero { padding-bottom: 0; }
.pr-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.pr-seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--hair); background: color-mix(in srgb, var(--bg) 60%, transparent); }
.pr-seg button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 500 14px/1 var(--font); cursor: pointer; transition: background 200ms var(--ease), color 200ms var(--ease); }
.pr-seg button.on { background: var(--ink); color: var(--bg); }
.pr-seg button em { font-style: normal; color: #34a853; }
.pr-seg button.on em { color: inherit; opacity: 0.7; }
.pr-seg .pmark { width: 22px; height: 22px; border-radius: 7px; }
.pr-app button { padding-left: 8px; }
.pr-for { margin-top: 16px; font-size: 14px; color: var(--muted); }
.pr-sec { padding-top: clamp(28px, 4vw, 48px); padding-bottom: 0; border: 0 !important; }
.pr-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pr-plan { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--hair); border-radius: 24px; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.pr-plan.pop { border-color: var(--hair-2); box-shadow: 0 30px 60px -40px var(--glow); }
.pr-plan header { display: flex; align-items: center; gap: 10px; font: 500 18px/1 var(--font); color: var(--ink); }
.pr-plan header em { font-style: normal; font-size: 12px; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 16%, transparent); color: var(--ink); }
.pr-price { margin: 22px 0 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pr-price span { font: 500 46px/1 var(--font); letter-spacing: -0.03em; color: var(--ink); }
.pr-price small { font-size: 13px; color: var(--muted); }
.pr-plan ul { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink); }
.pr-plan li { display: flex; gap: 10px; align-items: flex-start; }
.pr-plan li .ms { font-size: 18px; color: #34a853; }
.pr-plan li.pr-inc { align-items: center; }
.pr-plan li.pr-inc .pmark { width: 20px; height: 20px; border-radius: 6px; flex: none; }
.pr-plan li.pr-inc b { font-weight: 600; }
.pr-plan li.pr-inc + li:not(.pr-inc) { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--hair); }
.pr-plan .m-btn { margin-top: auto; justify-content: center; }
.pr-branch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--hair); border-radius: 28px; }
.pr-branch h2 { margin: 12px 0 0; font: 500 clamp(26px, 3.2vw, 38px)/1.1 var(--font); letter-spacing: -0.03em; color: var(--ink); }
.pr-branch p { margin: 10px 0 0; color: var(--muted); }
.pr-calc { display: grid; gap: 12px; }
.pr-calc label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--ink); }
.pr-step { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--hair); border-radius: 999px; padding: 3px; }
.pr-step button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--ink); font-size: 18px; cursor: pointer; }
.pr-step button:hover { background: var(--hair); }
.pr-step b { min-width: 28px; text-align: center; font-weight: 500; }
.pr-calc select { height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hair); background: transparent; color: var(--ink); font: 500 14px var(--font); }
.pr-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--hair); color: var(--muted); font-size: 14px; }
.pr-total b { font: 500 32px/1 var(--font); color: var(--ink); letter-spacing: -0.02em; }
.pr-save { margin: 0; font-size: 13px; color: #34a853; }
.pr-calc .m-btn { justify-content: center; margin-top: 6px; }
.pr-talk { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pr-tcard { display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--hair); border-radius: 22px; color: var(--ink); text-decoration: none; transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
.pr-tcard:hover { border-color: var(--hair-2); transform: translateY(-2px); }
.pr-tcard .grow { flex: 1; min-width: 0; }
.pr-tcard b { display: block; font: 500 17px/1.2 var(--font); }
.pr-tcard small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.pr-ask { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.pr-ask .ms { font-size: 18px; transition: transform 200ms var(--ease); }
.pr-tcard:hover .pr-ask .ms { transform: translateX(3px); }
.pr-note { margin: 18px 0 clamp(48px, 8vw, 96px); text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .pr-plans, .pr-talk, .pr-branch { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .pr-seg button { padding: 0 12px; font-size: 13px; }
  .pr-tcard { flex-wrap: wrap; }
}
