/* =====================================================================
   CRM — marketing site
   Google-product-page feel: big confident type, soft surfaces, device
   mock-ups, animated product cards and motion that follows the scroll.
   ===================================================================== */

:root {
  --primary: #0b57d0;
  --primary-strong: #0842a0;
  --on-primary: #ffffff;
  --tint: #d3e3fd;
  --tint-2: #ecf2fe;
  --bg: #ffffff;
  --surface: #f6f8fc;
  --surface-2: #eef1f6;
  --card: #ffffff;
  --ink: #1f1f1f;
  --ink-2: #444746;
  --muted: #5f6368;
  --line: #dadce0;
  --green: #188038;
  --orange: #e37400;
  --red: #d93025;
  --purple: #9334e6;
  --teal: #12b5cb;
  --radius: 28px;
  --shadow-1: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
  --shadow-2: 0 2px 6px 2px rgba(60, 64, 67, 0.15), 0 1px 2px rgba(60, 64, 67, 0.3);
  --shadow-3: 0 24px 60px -12px rgba(11, 40, 90, 0.28);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: 'Google Sans Flex', 'Google Sans', 'Outfit', 'Roboto', system-ui, sans-serif;
  --text: 'Roboto', system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --primary: #a8c7fa;
    --primary-strong: #d3e3fd;
    --on-primary: #062e6f;
    --tint: rgba(168, 199, 250, 0.16);
    --tint-2: rgba(168, 199, 250, 0.08);
    --bg: #0f1012;
    --surface: #17181b;
    --surface-2: #202125;
    --card: #232428;
    --ink: #e8eaed;
    --ink-2: #c4c7c5;
    --muted: #9aa0a6;
    --line: #2f3135;
    --shadow-3: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --primary: #a8c7fa;
  --primary-strong: #d3e3fd;
  --on-primary: #062e6f;
  --tint: rgba(168, 199, 250, 0.16);
  --tint-2: rgba(168, 199, 250, 0.08);
  --bg: #0f1012;
  --surface: #17181b;
  --surface-2: #202125;
  --card: #232428;
  --ink: #e8eaed;
  --ink-2: #c4c7c5;
  --muted: #9aa0a6;
  --line: #2f3135;
  --shadow-3: 0 24px 60px -12px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}

.ms {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  user-select: none;
}

.wrap {
  width: min(1240px, 100% - 48px);
  margin: 0 auto;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--bg);
  padding: 8px 12px;
  border-radius: 8px;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: none;
  font: 500 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms;
  white-space: nowrap;
}
.btn .ms {
  font-size: 20px;
  transition: transform 200ms var(--ease);
}
.btn:hover .ms:last-child:not(:first-child) {
  transform: translateX(3px);
}
.btn.primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn.primary:hover {
  box-shadow: 0 8px 20px -6px rgba(11, 87, 208, 0.55);
  transform: translateY(-1px);
}
.btn.tonal {
  background: var(--tint);
  color: var(--primary-strong);
}
.btn.tonal:hover {
  box-shadow: var(--shadow-1);
}
.btn.ghost {
  background: transparent;
  color: var(--primary);
  padding: 0 14px;
}
.btn.ghost:hover {
  background: var(--tint-2);
}
.btn.light {
  background: #fff;
  color: #0842a0;
}
.btn.outline-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}
.btn.outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn.sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

/* ---------------------------------------------------------------- top bar */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 64px;
  display: flex;
  align-items: center;
  transition: transform 350ms var(--ease);
}
/* The row from logo to "Get started" turns into a floating pill once the page scrolls. */
.topbar .wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 8px 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 300ms, box-shadow 300ms, border-color 300ms;
}
.topbar.scrolled,
.drawer-open .topbar {
  transform: translateY(10px);
}
.topbar.scrolled .wrap,
.drawer-open .topbar .wrap {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-color: color-mix(in srgb, var(--line) 70%, transparent);
  box-shadow: 0 8px 28px -10px rgba(11, 40, 90, 0.22), 0 1px 3px rgba(60, 64, 67, 0.12);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 500 22px/1 var(--font);
  letter-spacing: -0.3px;
  margin-right: 20px;
}
.mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #fff url('/assets/brand/finixyz-tile.png') center / cover no-repeat;
  border: 1px solid rgba(31, 31, 31, 0.1);
  box-shadow: 0 2px 8px rgba(31, 31, 31, 0.08);
  flex: none;
}
.nav {
  display: flex;
  gap: 2px;
}
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  text-decoration: none;
  font: 500 14.5px/1 var(--font);
  color: var(--ink-2);
  transition: background 150ms, color 150ms;
}
.nav a:hover,
.nav a.active {
  background: var(--surface-2);
  color: var(--ink);
}
.spacer {
  flex: 1;
}
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 150ms;
  flex: none;
}
.icon-btn:hover,
.icon-btn[aria-expanded='true'] {
  background: var(--surface-2);
}
.menu-btn {
  display: none;
}
.signin {
  margin-right: 4px;
}

.drawer {
  position: fixed;
  inset: 84px 16px auto;
  z-index: 49;
  padding: 12px 20px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(calc(-100% - 100px));
  visibility: hidden;
  transition: transform 300ms var(--ease), visibility 0s 300ms;
}
.drawer.open {
  transform: none;
  visibility: visible;
  transition: transform 300ms var(--ease);
}
.drawer a {
  padding: 14px 12px;
  border-radius: 14px;
  text-decoration: none;
  font: 500 18px/1 var(--font);
}
.drawer a:hover {
  background: var(--surface);
}
.drawer .btn {
  margin-top: 8px;
}

/* ---------------------------------------------------------------- type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--primary-strong);
  font: 500 13.5px/1.2 var(--font);
  text-decoration: none;
}
.eyebrow .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--on-primary);
  flex: none;
}
.eyebrow .dot .ms {
  font-size: 14px;
}
h1,
h2,
h3 {
  font-family: var(--font);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
  font-weight: 500;
}
.display {
  font-size: clamp(44px, 7.4vw, 100px);
}
.h1 {
  font-size: clamp(40px, 6vw, 80px);
}
.h2 {
  font-size: clamp(34px, 5.2vw, 68px);
}
.h3 {
  font-size: clamp(24px, 2.8vw, 36px);
  letter-spacing: -0.02em;
}
.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-2);
  max-width: 660px;
  line-height: 1.5;
  margin: 0;
}
.grad {
  background: linear-gradient(100deg, #0b57d0 0%, #4285f4 22%, #a142f4 42%, #12b5cb 62%, #4285f4 80%, #0b57d0 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s linear infinite;
}
:root[data-theme='dark'] .grad {
  background-image: linear-gradient(100deg, #a8c7fa 0%, #7cacf8 22%, #d7aefb 42%, #78d9ec 62%, #7cacf8 80%, #a8c7fa 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .grad {
    background-image: linear-gradient(100deg, #a8c7fa 0%, #7cacf8 22%, #d7aefb 42%, #78d9ec 62%, #7cacf8 80%, #a8c7fa 100%);
  }
}
@keyframes sheen {
  to {
    background-position: -250% 0;
  }
}
.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------------------------------------------- reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 550ms var(--ease), transform 650ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.scale {
  transform: scale(0.94) translateY(30px);
}
.reveal.scale.in {
  transform: none;
}
.words .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(6px);
  animation: word 900ms var(--ease) forwards;
  animation-delay: calc(var(--i) * 70ms + 150ms);
}
@keyframes word {
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: 150px 0 60px;
  overflow: hidden;
}
.page-hero {
  position: relative;
  padding: 150px 0 40px;
  overflow: hidden;
}
.blobs {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.55;
  z-index: -1;
}
.blob {
  position: absolute;
  border-radius: 50%;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob.a {
  width: 520px;
  height: 520px;
  left: 6%;
  top: 60px;
  background: radial-gradient(circle, rgba(66, 133, 244, 0.6), transparent 65%);
}
.blob.b {
  width: 460px;
  height: 460px;
  right: 6%;
  top: 0;
  background: radial-gradient(circle, rgba(161, 66, 244, 0.38), transparent 65%);
  animation-duration: 22s;
}
.blob.c {
  width: 600px;
  height: 600px;
  left: 35%;
  top: 280px;
  background: radial-gradient(circle, rgba(18, 181, 203, 0.3), transparent 65%);
  animation-duration: 26s;
}
@keyframes drift {
  to {
    transform: translate(60px, 40px) scale(1.08);
  }
}
.hero-copy {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.ctas.left {
  justify-content: flex-start;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 14px;
}
.trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust .ms {
  font-size: 18px;
  color: var(--green);
}
.stage {
  position: relative;
  margin: 70px auto 0;
  width: min(1100px, 100%);
  transform-origin: center top;
}

/* Laptop & phone frames */
.laptop {
  position: relative;
  width: 100%;
}
.laptop .lid {
  border-radius: 22px 22px 8px 8px;
  padding: 1.6% 1.6% 2.4%;
  background: #1f1f1f;
  box-shadow: var(--shadow-3), inset 0 0 0 2px #3c3c3c;
}
.laptop .lid img,
.laptop .screens {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  background: var(--surface);
}
.laptop .base {
  position: relative;
  height: 18px;
  margin: 0 -6%;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, #d9dce1, #9aa0a6);
}
.laptop .base::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 14%;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: #80868b;
}
.phone {
  position: relative;
  width: 270px;
  aspect-ratio: 390 / 844;
  padding: 9px;
  border-radius: 44px;
  background: #1f1f1f;
  box-shadow: var(--shadow-3), inset 0 0 0 2px #3c3c3c;
}
.phone img {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  object-fit: cover;
  object-position: top;
  background: var(--surface);
}
.phone::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #0b0b0b;
  z-index: 1;
}
.stage .phone {
  position: absolute;
  right: -3%;
  bottom: -8%;
  width: 24%;
  min-width: 150px;
}

/* The deal-won animation from the features page, floating off the laptop's bottom-left corner */
.stage .hero-art {
  position: absolute;
  left: -5%;
  bottom: -12%;
  width: min(330px, 34%);
  border-radius: 28px;
  box-shadow: var(--shadow-3);
  animation: heroArtFloat 7s ease-in-out infinite alternate;
  z-index: 2;
}
.stage .hero-art .art-stage {
  height: 260px;
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
@keyframes heroArtFloat {
  to {
    transform: translateY(-12px);
  }
}

/* Floating status chips */
.chip-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-2);
  font: 500 14px/1.2 var(--font);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 500ms var(--ease), transform 600ms var(--ease);
}
.chip-float.show {
  opacity: 1;
  transform: none;
}
.chip-float .ico {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.chip-float .ico .ms {
  font-size: 18px;
}
.chip-float small {
  display: block;
  font: 400 12px/1.2 var(--text);
  color: var(--muted);
}
.cf-1 {
  left: -4%;
  top: 18%;
}
.cf-2 {
  left: 32%;
  bottom: 4%;
}
.cf-3 {
  right: 16%;
  top: -4%;
}

/* ---------------------------------------------------------------- marquee */
.marquee {
  margin-top: 90px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee .track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee .track > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 20px/1 var(--font);
  color: var(--ink-2);
  white-space: nowrap;
}
.marquee .ms {
  color: var(--primary);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------------------------------------------------------------- sections */
section {
  position: relative;
}
.section {
  padding: 130px 0;
}
.section.tight {
  padding: 70px 0;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 60px;
}
.section-head.center {
  align-items: center;
  text-align: center;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 16px/1 var(--font);
  color: var(--ink-2);
}
.tile {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(150deg, var(--c1, #4c8df6), var(--c2, #0b57d0));
  box-shadow: 0 3px 10px color-mix(in srgb, var(--c2, #0b57d0) 35%, transparent);
  flex: none;
}
.tile .ms {
  font-size: 20px;
}

/* Product section: copy + device */
.product {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}
.product.flip {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.product.flip .copy {
  order: 2;
}
.copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.feats {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 18px;
}
.feats li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feats .fi {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--primary);
}
.feats .fi .ms {
  font-size: 22px;
}
.feats strong {
  display: block;
  font: 500 17px/1.3 var(--font);
  margin-bottom: 2px;
}
.feats span {
  color: var(--ink-2);
  font-size: 15px;
}
.visual {
  position: relative;
}
.visual .phone.float {
  position: absolute;
  width: 32%;
  min-width: 140px;
  left: -8%;
  bottom: -12%;
}
.visual.right-phone .phone.float {
  left: auto;
  right: -6%;
}

/* ---------------------------------------------------------------- feature bento of animated cards */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.bento > * {
  grid-column: span 2;
}
.bento > .wide {
  grid-column: span 3;
}
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  text-decoration: none;
  transition: opacity 550ms var(--ease), transform 450ms var(--ease), box-shadow 400ms var(--ease);
}
/* stacked on narrow screens, so no stagger: each card shows as soon as it scrolls in */
@media (max-width: 960px) {
  .bento > .reveal {
    transition-delay: 0ms;
  }
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
}
.feature-card .fc-copy {
  padding: 22px 26px 26px;
}
.feature-card h3 {
  font-size: 23px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.feature-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
}
.feature-card .go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  color: var(--primary);
  font: 500 15px/1 var(--font);
}
.feature-card .go .ms {
  font-size: 18px;
  transition: transform 250ms var(--ease);
}
.feature-card:hover .go .ms {
  transform: translateX(4px);
}

/* Small feature tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ftile {
  padding: 24px;
  border-radius: 24px;
  background: var(--surface);
  transition: background 300ms, transform 300ms var(--ease);
}
.ftile:hover {
  background: var(--tint-2);
  transform: translateY(-3px);
}
.ftile .tile {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 16px;
}
.ftile .tile .ms {
  font-size: 24px;
}
.ftile h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.ftile p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
}

/* ---------------------------------------------------------------- sticky story */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 60px;
}
.story-visual {
  position: sticky;
  top: 110px;
  align-self: start;
}
.story-visual .screens {
  position: relative;
  overflow: hidden;
}
.story-visual .screens img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 600ms var(--ease), transform 900ms var(--ease);
}
.story-visual .screens img.on {
  opacity: 1;
  transform: none;
}
.story-steps {
  position: relative;
  padding-left: 34px;
}
.progress-rail {
  position: absolute;
  left: 13px;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--surface-2);
}
.progress-rail span {
  display: block;
  width: 100%;
  height: 0;
  border-radius: 3px;
  background: linear-gradient(var(--primary), #a142f4);
}
.step {
  position: relative;
  min-height: 46vh;
  padding: 10px 0 40px;
  opacity: 0.35;
  transition: opacity 400ms var(--ease);
}
.step.on {
  opacity: 1;
}
.step .num {
  position: absolute;
  left: -34px;
  top: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--ink-2);
  font: 600 14px/1 var(--font);
  transition: background 300ms, color 300ms, transform 300ms var(--spring);
}
.step.on .num {
  background: var(--primary);
  color: var(--on-primary);
  transform: scale(1.12);
}
.step h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16.5px;
}
.step .mini {
  display: none;
}

/* ---------------------------------------------------------------- photo band */
.photo-band {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  border-radius: 40px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.photo-band .bg {
  position: absolute;
  inset: -8% 0;
  background-size: cover;
  background-position: center 35%;
  z-index: -2;
  will-change: transform;
}
.photo-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 18, 40, 0.05) 0%, rgba(4, 18, 40, 0.35) 45%, rgba(4, 18, 40, 0.92) 100%),
    linear-gradient(90deg, rgba(11, 87, 208, 0.5), rgba(11, 87, 208, 0) 65%);
}
.photo-band .inner {
  padding: 60px;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.photo-band .lede {
  color: rgba(255, 255, 255, 0.9);
}
.photo-band .eyebrow {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding-left: 14px;
  align-self: flex-start;
}

/* ---------------------------------------------------------------- phones row */
.phones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: end;
}
.phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.phone-col .phone {
  width: 100%;
  max-width: 260px;
  transition: transform 500ms var(--ease);
}
.phone-col:nth-child(even) .phone {
  margin-bottom: 40px;
}
.phone-col:hover .phone {
  transform: translateY(-10px) rotate(-1deg);
}
.phone-caption {
  font: 500 16px/1.3 var(--font);
  text-align: center;
}
.phone-caption small {
  display: block;
  color: var(--muted);
  font: 400 14px/1.4 var(--text);
  margin-top: 4px;
}
.mobile-band {
  border-radius: 40px;
  padding: 80px 40px 70px;
  background: radial-gradient(80% 60% at 50% 0%, var(--tint), transparent 70%), var(--surface);
  overflow: hidden;
}

/* ---------------------------------------------------------------- countries */
.countries {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
.country {
  padding: 18px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid transparent;
  transition: border-color 250ms, transform 300ms var(--ease), background 250ms;
}
.country:hover {
  border-color: var(--primary);
  background: var(--bg);
  transform: translateY(-4px);
}
.country .flag {
  font-size: 30px;
  line-height: 1;
}
.country b {
  display: block;
  margin: 10px 0 6px;
  font: 500 16px/1.2 var(--font);
}
.country span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------------------------------------------------------------- numbers */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.num-card {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--surface);
}
.num-card .big {
  font: 500 clamp(44px, 5vw, 64px)/1 var(--font);
  letter-spacing: -0.03em;
  color: var(--primary);
}
.num-card p {
  margin: 12px 0 0;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- pricing */
.seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-2);
}
.seg button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font: 500 14.5px/1 var(--font);
  color: var(--ink-2);
  cursor: pointer;
  transition: background 200ms, color 200ms, box-shadow 200ms;
}
.seg button.on {
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.seg .save {
  padding: 2px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 16%, transparent);
  color: var(--green);
  font-size: 12px;
}
.pricing-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
}
.plan.pop {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, var(--tint-2), var(--bg) 40%);
}
.plan .badge {
  position: absolute;
  top: -14px;
  left: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font: 500 12.5px/1 var(--font);
}
.plan h3 {
  font-size: 26px;
}
.plan .desc {
  color: var(--ink-2);
  margin: 8px 0 22px;
  font-size: 15px;
  min-height: 46px;
}
.plan .price {
  font: 500 42px/1 var(--font);
  letter-spacing: -0.03em;
}
.plan .price small {
  font: 400 15px/1 var(--text);
  color: var(--muted);
  letter-spacing: 0;
}
.plan .bill {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 24px;
  min-height: 20px;
}
.plan ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.plan li {
  display: flex;
  gap: 10px;
  font-size: 15px;
}
.plan li .ms {
  font-size: 20px;
  color: var(--primary);
}
.plan .btn {
  margin-top: auto;
}

/* Compare table */
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.compare th,
.compare td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  font: 500 16px/1.2 var(--font);
  background: var(--surface);
  position: sticky;
  top: 0;
}
.compare td:not(:first-child),
.compare th:not(:first-child) {
  text-align: center;
  width: 18%;
}
.compare tr.group td {
  background: var(--surface);
  font: 500 14px/1 var(--font);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare .ms {
  font-size: 20px;
  color: var(--primary);
}
.compare .no {
  color: var(--line);
}
.compare tbody tr:last-child td {
  border-bottom: none;
}

/* ---------------------------------------------------------------- CTA band */
.cta-band {
  position: relative;
  padding: 90px 40px;
  border-radius: 40px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #0842a0, #0b57d0 45%, #6b3fd4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.cta-band::before,
.cta-band::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(40px);
  animation: drift 14s ease-in-out infinite alternate;
}
.cta-band::before {
  left: -120px;
  top: -200px;
  background: radial-gradient(circle, rgba(18, 181, 203, 0.55), transparent 65%);
}
.cta-band::after {
  right: -140px;
  bottom: -240px;
  background: radial-gradient(circle, rgba(215, 174, 251, 0.5), transparent 65%);
  animation-duration: 18s;
}
.cta-band .lede {
  color: rgba(255, 255, 255, 0.88);
}
.cta-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 14px;
  font: 500 15px/1 var(--font);
  color: rgba(255, 255, 255, 0.9);
}
.cta-steps span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta-steps b {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

/* ---------------------------------------------------------------- FAQ */
.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: 22px;
  background: var(--surface);
  transition: background 200ms;
}
.faq details[open] {
  background: var(--tint-2);
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font: 500 18px/1.3 var(--font);
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .ms {
  transition: transform 300ms var(--ease);
  color: var(--primary);
}
.faq details[open] summary .ms {
  transform: rotate(45deg);
}
.faq .ans {
  padding: 0 26px 24px;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- footer */
footer {
  margin-top: 40px;
  padding: 70px 0 40px;
  background: var(--surface);
}
.foot {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 30px;
}
.foot p {
  color: var(--ink-2);
  max-width: 300px;
}
.foot h4 {
  margin: 6px 0 14px;
  font: 500 15px/1 var(--font);
}
.foot div > a:not(.brand) {
  display: block;
  padding: 6px 0;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14.5px;
}
.foot div > a:not(.brand):hover {
  color: var(--primary);
}
.legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .countries {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .section {
    padding: 90px 0;
  }
  .product,
  .product.flip {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .product.flip .copy {
    order: 0;
  }
  .visual {
    margin: 0 4% 40px;
  }
  .bento > *,
  .bento > .wide {
    grid-column: span 3;
  }
  .story {
    grid-template-columns: 1fr;
  }
  .story-visual {
    display: none;
  }
  .step {
    min-height: 0;
    opacity: 1;
  }
  .step .mini {
    display: block;
    margin-top: 18px;
    border-radius: 14px;
    box-shadow: var(--shadow-2);
  }
  .phones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 20px;
  }
  .phone-col:nth-child(even) .phone {
    margin-bottom: 0;
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot > div:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .hero {
    padding: 112px 0 40px;
  }
  .page-hero {
    padding: 112px 0 20px;
  }
  .get,
  .signin {
    display: none;
  }
  .bento > *,
  .bento > .wide {
    grid-column: 1 / -1;
  }
  .tiles {
    grid-template-columns: 1fr 1fr;
  }
  .countries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chip-float {
    font-size: 12px;
    padding: 7px 12px 7px 7px;
  }
  .chip-float small {
    display: none;
  }
  .chip-float .ico {
    width: 26px;
    height: 26px;
  }
  .cf-1 {
    left: -2%;
    top: 6%;
  }
  .cf-2 {
    left: 36%;
    bottom: -6%;
  }
  /* Keep the full three-column scene and shrink it, rather than squeezing the columns */
  .stage .hero-art {
    left: -2%;
    bottom: -8%;
    width: 330px;
    scale: 0.42;
    transform-origin: left bottom;
  }
  .cf-3 {
    display: none;
  }
  .stage {
    margin-top: 50px;
  }
  .stage .phone {
    min-width: 0;
    width: 30%;
    padding: 5px;
    border-radius: 22px;
    right: -2%;
  }
  .stage .phone img {
    border-radius: 18px;
  }
  .stage .phone::before {
    display: none;
  }
  .visual .phone.float {
    min-width: 0;
    width: 34%;
    padding: 5px;
    border-radius: 22px;
  }
  .visual .phone.float img {
    border-radius: 18px;
  }
  .visual .phone.float::before {
    display: none;
  }
  .marquee {
    margin-top: 60px;
  }
  .marquee .track > span {
    font-size: 17px;
  }
  .photo-band {
    min-height: 520px;
    border-radius: 28px;
  }
  .photo-band .inner {
    padding: 28px;
  }
  .cta-band,
  .mobile-band {
    padding: 60px 22px;
    border-radius: 28px;
  }
  .phones {
    gap: 28px 14px;
  }
  .phone-col .phone {
    padding: 6px;
    border-radius: 28px;
  }
  .phone-col .phone img {
    border-radius: 22px;
  }
  .phone-col .phone::before {
    display: none;
  }
  .phone-caption {
    font-size: 14px;
  }
  .phone-caption small {
    font-size: 12.5px;
  }
  .num-card {
    padding: 22px;
  }
  .faq summary {
    padding: 18px 20px;
    font-size: 16.5px;
  }
  .faq .ans {
    padding: 0 20px 20px;
  }
  .foot {
    grid-template-columns: 1fr 1fr;
  }
  .legal {
    flex-direction: column;
  }
  .seg {
    max-width: 100%;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .words .w {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---------------------------------------------------------------- year roadmap (home) */
.rm-frame {
  margin-top: 56px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.rm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.rm-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 16px/1 var(--font);
}
.rm-title .ms {
  font-size: 20px;
  color: var(--teal);
}
.rm-views {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: var(--surface-2);
  font: 500 13px/1 var(--font);
  color: var(--muted);
}
.rm-views span {
  padding: 7px 12px;
  border-radius: 8px;
}
.rm-views .on {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.rm-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
}
.rm {
  --lab: 172px;
  position: relative;
  display: grid;
  grid-template-columns: var(--lab) repeat(12, minmax(58px, 1fr));
  min-width: 920px;
  padding: 0 12px 14px 0;
}
.rm-l {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 20px;
  border-top: 1px dashed var(--line);
  color: var(--ink-2);
  font: 500 13px/1.2 var(--font);
}
.rm-l .ms {
  font-size: 19px;
}
.rm-l.head,
.rm-m {
  border-top: none;
  height: 44px;
}
.rm-m {
  display: grid;
  place-items: center;
  color: var(--muted);
  font: 500 12.5px/1 var(--font);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.rm-m.cur {
  color: var(--primary);
}
.rm-c {
  height: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-top: 1px dashed var(--line);
  font-variant-numeric: tabular-nums;
}
.rm-c.cur {
  background: var(--tint-2);
}
.rm-c small {
  color: var(--muted);
  font: 500 11.5px/1 var(--font);
}
.rm-c small.hit {
  color: var(--green);
}
/* target bars */
.rm-t {
  position: relative;
  width: 14px;
  height: 34px;
  border-radius: 4px;
  background: var(--surface-2);
  overflow: hidden;
}
.rm-t.future {
  background: repeating-linear-gradient(-45deg, var(--surface-2) 0 3px, transparent 3px 6px);
  outline: 1px dashed var(--line);
}
.rm-t i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--h);
  border-radius: 4px;
  background: var(--primary);
  transform-origin: bottom;
}
.rm-t i.hit {
  background: var(--green);
}
.rm-t i.low {
  background: var(--orange);
}
/* deal bubbles */
.rm-b {
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--green) 16%, transparent);
  border: 1.5px dashed var(--green);
  color: var(--green);
  font: 600 12px/1 var(--font);
}
.rm-b.won {
  background: var(--green);
  border-style: solid;
  color: #fff;
}
/* lead bars */
.rm-lb {
  position: relative;
  width: 26px;
  height: 24px;
  display: flex;
  align-items: flex-end;
}
.rm-lb i {
  width: 100%;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: var(--orange);
  opacity: 0.85;
  transform-origin: bottom;
}
/* meetings heat */
.rm-h {
  width: 36px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, #1a73e8 calc(var(--o) * 100%), transparent);
  color: #fff;
  font: 600 12px/1 var(--font);
}
.rm-c.future .rm-h {
  background: transparent;
  border: 1.5px dashed color-mix(in srgb, #1a73e8 60%, transparent);
  color: #1a73e8;
}
/* pips */
.rm-p {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font: 600 11.5px/1 var(--font);
}
.rm-p .ms {
  font-size: 14px;
}
.rm-p.q {
  background: color-mix(in srgb, var(--purple) 15%, transparent);
  color: var(--purple);
}
.rm-p.v {
  background: color-mix(in srgb, #12839e 15%, transparent);
  color: #12839e;
}
.rm-p.r {
  background: color-mix(in srgb, #b06000 15%, transparent);
  color: #b06000;
}
/* today line */
.rm-now {
  position: absolute;
  top: 38px;
  bottom: 10px;
  left: calc(var(--lab) + (100% - var(--lab) - 12px) * var(--now));
  width: 2px;
  background: var(--red);
  transform-origin: top;
  pointer-events: none;
}
.rm-now::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}
.rm-now b {
  position: absolute;
  top: -2px;
  left: 10px;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font: 500 10.5px/1 var(--font);
  white-space: nowrap;
}
/* month pop-out: the sales behind the numbers */
.rm-pop {
  position: absolute;
  top: 86px;
  left: calc(var(--lab) + (100% - var(--lab) - 12px) * (var(--col) + 1) / 12 + 10px);
  width: 310px;
  padding: 14px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  z-index: 2;
}
.rm-pop.left {
  left: calc(var(--lab) + (100% - var(--lab) - 12px) * var(--col) / 12 - 10px);
  transform: translateX(-100%);
  transform-origin: right top;
}
.rm-pop {
  opacity: 0;
  scale: 0.94;
  translate: 0 10px;
  transform-origin: left top;
  pointer-events: none;
  transition: opacity 180ms, scale 180ms, translate 180ms;
}
.rm-pop.show {
  opacity: 1;
  scale: 1;
  translate: 0 0;
  pointer-events: auto;
  transition: opacity 300ms var(--ease), scale 450ms var(--spring), translate 450ms var(--ease);
}
.rm-pop.show > * {
  animation: rm-in 420ms var(--ease) both;
}
.rm-pop.show > :nth-child(2) { animation-delay: 60ms; }
.rm-pop.show > :nth-child(3) { animation-delay: 120ms; }
.rm-pop.show > :nth-child(4) { animation-delay: 200ms; }
.rm-pop.show > :nth-child(5) { animation-delay: 260ms; }
.rm-pop.show > :nth-child(6) { animation-delay: 320ms; }
@keyframes rm-in {
  from {
    opacity: 0;
    translate: 0 6px;
  }
}
.rm-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 4px 10px;
}
.rm-kpis div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rm-kpis small {
  color: var(--muted);
  font: 500 11px/1 var(--font);
}
.rm-kpis b {
  font: 500 15px/1.2 var(--font);
  font-variant-numeric: tabular-nums;
}
.rm-kpis b.lead {
  color: var(--orange);
}
.rm-prog {
  --c: var(--primary);
  position: relative;
  margin: 0 4px 6px;
  padding-bottom: 18px;
}
.rm-prog.hit {
  --c: var(--green);
}
.rm-prog.low {
  --c: var(--red);
}
.rm-prog::before,
.rm-prog i {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  border-radius: 3px;
}
.rm-prog::before {
  right: 0;
  background: var(--surface-2);
}
.rm-prog i {
  width: 0;
  background: var(--c);
}
.rm-prog span {
  position: absolute;
  top: 11px;
  left: 0;
  color: var(--c);
  font: 500 11.5px/1 var(--font);
}
/* selected month column + the click on its leads count */
.rm-c {
  cursor: pointer;
  transition: background 250ms;
}
.rm-c.sel {
  background: color-mix(in srgb, var(--orange) 9%, transparent);
}
.rm-m.sel {
  color: var(--orange);
  font-weight: 700;
}
.rm-c.ping,
.rm-c.picked {
  position: relative;
  isolation: isolate;
}
/* the clicked cell: a card that presses in, then stays outlined while its details are open */
.rm-c.picked::before {
  content: '';
  position: absolute;
  inset: 6px 8px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--orange) 14%, var(--surface, #fff));
  border: 1.5px solid var(--orange);
  box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--orange) 70%, transparent);
  z-index: -1;
  transition: scale 120ms var(--ease);
  animation: rm-pick 220ms var(--ease) both;
}
.rm-c.press::before {
  scale: 0.9;
}
@keyframes rm-pick {
  from {
    opacity: 0;
    scale: 0.8;
  }
}
.rm-c.ping::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  animation: rm-ping 450ms var(--ease) both;
  pointer-events: none;
}
@keyframes rm-ping {
  from {
    opacity: 1;
    scale: 0.3;
  }
  to {
    opacity: 0;
    scale: 1.4;
  }
}
.rm-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 26px;
  height: 26px;
  translate: 60% 260px;
  opacity: 0;
  pointer-events: none;
  transition: translate 580ms cubic-bezier(0.6, 0, 0.2, 1), opacity 300ms, scale 90ms;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
}
.rm-cursor svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #1f1f1f;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.rm-cursor.on {
  opacity: 1;
}
.rm-cursor.click {
  scale: 0.82;
}
.rm-pop-h {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 4px 10px;
  border-bottom: 1px solid var(--line);
}
.rm-pop-h b {
  font: 500 15px/1.3 var(--font);
}
.rm-pop-h span {
  color: var(--muted);
  font-size: 12.5px;
}
.rm-sale {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.rm-sale:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}
.rm-sale .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  flex: none;
}
.rm-sale .grow {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.rm-sale b {
  font: 500 13.5px/1.3 var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rm-sale small {
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rm-sale .st {
  padding: 3px 7px;
  border-radius: 6px;
  font: 600 10.5px/1 var(--font);
}
.st.won {
  background: color-mix(in srgb, var(--green) 15%, transparent);
  color: var(--green);
}
.st.paid {
  background: color-mix(in srgb, #12839e 15%, transparent);
  color: #12839e;
}
.st.quote {
  background: color-mix(in srgb, var(--purple) 15%, transparent);
  color: var(--purple);
}
.st.open {
  background: color-mix(in srgb, var(--orange) 15%, transparent);
  color: var(--orange);
}
.rm-sale .amt {
  min-width: 64px;
  text-align: right;
  font: 500 12.5px/1 var(--font);
  font-variant-numeric: tabular-nums;
}

/* motion: the board fills in when it scrolls into view */
.rm-frame .rm-t i,
.rm-frame .rm-lb i {
  transform: scaleY(0);
}
.rm-frame .rm-b,
.rm-frame .rm-h,
.rm-frame .rm-p {
  opacity: 0;
  transform: scale(0.5);
}
.rm-frame .rm-now {
  transform: scaleY(0);
}
.rm-frame.in .rm-t i,
.rm-frame.in .rm-lb i {
  transform: scaleY(1);
  transition: transform 700ms var(--ease) calc(300ms + var(--i, 0) * 45ms);
}
.rm-frame.in .rm-c .rm-t i,
.rm-frame.in .rm-c .rm-lb i,
.rm-frame.in .rm-c .rm-b,
.rm-frame.in .rm-c .rm-h,
.rm-frame.in .rm-c .rm-p {
  transition-delay: calc(300ms + var(--i) * 45ms);
}
.rm-frame.in .rm-b,
.rm-frame.in .rm-h,
.rm-frame.in .rm-p {
  opacity: 1;
  transform: scale(1);
  transition: opacity 300ms, transform 500ms var(--spring);
}
.rm-frame.in .rm-now {
  transform: scaleY(1);
  transition: transform 900ms var(--ease) 1100ms;
}

.rm-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
}
.rm-points > div {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}
.rm-points .ms {
  font-size: 24px;
  color: var(--primary);
}
.rm-points h3 {
  margin: 12px 0 6px;
  font: 500 20px/1.25 var(--font);
}
.rm-points p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 960px) {
  .rm-points {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
@media (max-width: 700px) {
  .rm {
    --lab: 128px;
  }
  .rm-l {
    position: sticky;
    left: 0;
    z-index: 3;
    padding: 0 8px 0 14px;
    background: var(--card);
    font-size: 12px;
    box-shadow: 1px 0 0 var(--line);
  }
  .rm-cursor {
    display: none;
  }
  /* Phones: the month details sit under the board instead of floating beside a column. */
  .rm-frame > .rm-pop {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    margin: 4px 12px 12px;
    transform: none;
    transform-origin: center top;
    box-shadow: none;
    background: var(--surface);
  }
  .rm-frame > .rm-pop:not(.show) {
    display: none;
  }
  .rm-frame {
    margin-top: 36px;
    border-radius: 20px;
  }
  .rm-views {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rm-frame .rm-t i,
  .rm-frame .rm-lb i,
  .rm-frame .rm-now {
    transform: none !important;
  }
  .rm-frame .rm-b,
  .rm-frame .rm-h,
  .rm-frame .rm-p {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
  }
  .rm-pop,
  .rm-pop > * {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Phone frame: S25 Ultra style — near-square corners, thin bezels, titanium edge ---------- */
.phone,
.stage .phone,
.visual .phone.float,
.phone-col .phone {
  padding: 6px;
  border-radius: 16px;
  background: linear-gradient(145deg, #4a4a4c 0%, #1c1c1e 18%, #111 50%, #1c1c1e 82%, #4a4a4c 100%);
  box-shadow: var(--shadow-3), inset 0 0 0 1.5px #6e6e70, inset 0 0 0 3px #111;
}
.phone img,
.stage .phone img,
.visual .phone.float img,
.phone-col .phone img {
  border-radius: 11px;
}
/* centred punch-hole camera */
.phone::before,
.stage .phone::before,
.visual .phone.float::before,
.phone-col .phone::before {
  top: 13px;
  width: 9px;
  height: 9px;
  background: radial-gradient(circle at 35% 35%, #2a2f3a 0 30%, #050505 60%);
  box-shadow: 0 0 0 1.5px #0a0a0a;
}
/* side buttons */
.phone::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 22%;
  width: 2px;
  height: 14%;
  border-radius: 0 2px 2px 0;
  background: #3a3a3c;
  box-shadow: 0 calc(100% + 12px) 0 #3a3a3c;
}
@media (max-width: 900px) {
  .phone,
  .stage .phone,
  .visual .phone.float,
  .phone-col .phone {
    padding: 4px;
    border-radius: 12px;
  }
  .phone img,
  .stage .phone img,
  .visual .phone.float img,
  .phone-col .phone img {
    border-radius: 8px;
  }
  .phone::before,
  .stage .phone::before,
  .visual .phone.float::before,
  .phone-col .phone::before {
    top: 9px;
    width: 6px;
    height: 6px;
  }
}

/* Finixyz AI in the menu: the Finixyz AI mark, a white bird on a blue circle */
.nav a.ai-link,
.drawer a .ai-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ai-dot {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(150deg, #4c8df6, #0b57d0);
  box-shadow: 0 2px 6px -2px rgba(11, 87, 208, 0.6);
  vertical-align: -5px;
  margin-right: 6px;
}
.nav a.ai-link .ai-dot {
  margin-right: 0;
}
.ai-dot::before {
  content: '';
  width: 15px;
  height: 15px;
  background: #fff;
  -webkit-mask: url('/assets/brand/finixyz-mark.png') center / contain no-repeat;
  mask: url('/assets/brand/finixyz-mark.png') center / contain no-repeat;
}
.nav a {
  display: inline-flex;
  align-items: center;
}

/* ======================================================================
   Home hero: full-screen photo carousel with the headline over it
   ====================================================================== */
.k-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0b1a33;
  color: #fff;
}
.k-photos {
  position: absolute;
  inset: 0;
}
.k-photo {
  position: absolute;
  inset: -3%;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1400ms var(--ease), transform 8000ms linear;
}
.k-photo.on {
  opacity: 1;
  transform: scale(1);
}
/* Shade only where the words sit, so the photos keep their colour */
.k-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 12, 30, 0.55) 0%, transparent 24%),
    linear-gradient(90deg, rgba(4, 12, 30, 0.78) 0%, rgba(4, 12, 30, 0.35) 55%, rgba(4, 12, 30, 0.1) 80%),
    linear-gradient(0deg, rgba(4, 12, 30, 0.7) 0%, transparent 50%);
}
.k-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: 48px;
  padding: 150px 0 80px;
}
.k-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 760px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.3);
}
.k-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font: 500 14px var(--font);
  text-shadow: none;
}
.k-kicker .ai-dot {
  margin: 0;
}
.k-kicker #kKicker {
  display: inline-block;
}
.k-kicker #kKicker.swap {
  animation: k-swap 600ms var(--ease) both;
}
@keyframes k-swap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.k-title {
  font-size: clamp(44px, 6.6vw, 92px);
  color: #fff;
}
.grad-light {
  background: linear-gradient(110deg, #a8c7fa, #c2d7ff 45%, #e2c7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.k-copy .lede {
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
}
.k-hero .trust {
  justify-content: flex-start;
  color: rgba(255, 255, 255, 0.85);
}
.k-hero .trust .ms {
  color: #81c995;
}
.k-captions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.k-cap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
  cursor: pointer;
  transition: color 300ms;
}
.k-cap b {
  font: 500 16px/1.3 var(--font);
}
.k-cap small {
  font-size: 13px;
  line-height: 1.45;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 500ms var(--ease), opacity 400ms;
}
.k-cap.on {
  color: #fff;
}
.k-cap.on small {
  max-height: 60px;
  opacity: 0.85;
}
.k-cap .bar {
  display: block;
  height: 3px;
  margin-bottom: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.k-cap .bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
}
.k-cap.on .bar span {
  width: 100%;
}
.k-cap.run .bar span {
  animation: k-fill 6500ms linear forwards;
}
@keyframes k-fill {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.k-scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  animation: k-bob 2.4s ease-in-out infinite;
}
@keyframes k-bob {
  50% {
    transform: translate(-50%, 5px);
  }
}
/* The product sits just under the photos */
.k-product {
  position: relative;
  padding: 70px 0 30px;
  overflow: hidden;
}
.k-product .stage {
  margin-top: 0;
}

/* The bar sits on the photo until the page scrolls: keep its words readable */
.photo-hero .topbar:not(.scrolled) .nav a,
.photo-hero .topbar:not(.scrolled) .icon-btn,
.photo-hero .topbar:not(.scrolled) .brand,
.photo-hero .topbar:not(.scrolled) .signin {
  color: rgba(255, 255, 255, 0.92);
}
.photo-hero .topbar:not(.scrolled) .nav a:hover,
.photo-hero .topbar:not(.scrolled) .nav a.active,
.photo-hero .topbar:not(.scrolled) .icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

@media (max-width: 900px) {
  .k-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 120px 0 64px;
    gap: 28px;
  }
  .k-captions {
    flex-direction: row;
    gap: 10px;
  }
  .k-cap {
    flex: 1;
  }
  .k-cap b {
    font-size: 13px;
  }
  .k-cap small {
    display: none;
  }
}
@media (max-width: 560px) {
  .k-cap:not(.on) b {
    font-size: 0;
  }
  .k-product {
    padding-top: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .k-photo,
  .k-scroll,
  .k-kicker #kKicker.swap {
    transition: none;
    animation: none;
  }
}
.k-title .grad.grad-light {
  background-image: linear-gradient(110deg, #a8c7fa, #c2d7ff 45%, #e2c7ff);
}
.k-scroll {
  text-decoration: none;
}
@media (max-width: 900px) {
  .k-scroll {
    display: none;
  }
}

/* Photos are portrait: show each one whole on the right, over a soft blurred copy that fills the screen */
.k-photo {
  inset: 0;
  background: none;
  transform: none;
  transition: opacity 1400ms var(--ease);
}
.k-photo::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: var(--img) center / cover no-repeat;
  filter: blur(36px) saturate(1.15) brightness(0.55);
  transform: scale(1.1);
}
.k-photo::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(62%, calc(100vh * 0.72));
  width: min(62%, calc(100svh * 0.72));
  background: var(--img) center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  transform: scale(1.04);
  transition: transform 7000ms linear;
}
.k-photo.on::after {
  transform: scale(1);
}
@media (max-width: 900px) {
  .k-photo::after {
    width: 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }
}

/* ---------- Home hero on phones: photo on top, words underneath ---------- */
@media (max-width: 700px) {
  .k-hero {
    align-items: stretch;
    background: #0a1730;
  }
  .k-photo::before {
    display: none;
  }
  .k-photo::after {
    left: 0;
    right: 0;
    width: 100%;
    height: 54svh;
    bottom: auto;
    background-position: center 22%;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }
  .k-scrim {
    background:
      linear-gradient(180deg, rgba(4, 12, 30, 0.55) 0%, transparent 18%),
      linear-gradient(0deg, #0a1730 0%, #0a1730 46%, rgba(10, 23, 48, 0.4) 62%, transparent 75%);
  }
  .k-inner {
    width: min(1240px, 100% - 40px);
    padding: 34svh 0 18px;
    gap: 16px;
    align-self: flex-end;
  }
  .k-captions.reveal {
    opacity: 1;
    transform: none;
  }
  .k-copy {
    gap: 14px;
  }
  .k-kicker {
    font-size: 12.5px;
    padding: 4px 12px 4px 4px;
  }
  .k-kicker .ai-dot {
    width: 20px;
    height: 20px;
  }
  .k-title {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.05;
  }
  .k-copy .lede {
    font-size: 14.5px;
    line-height: 1.5;
  }
  /* two buttons side by side, full width */
  .k-hero .ctas {
    width: 100%;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .k-hero .ctas .btn {
    flex: 1;
    justify-content: center;
    padding: 0 12px;
    font-size: 14px;
    white-space: nowrap;
  }
  .k-hero .ctas .btn .ms {
    font-size: 18px;
  }
  .k-hero .trust {
    gap: 6px 14px;
    font-size: 12.5px;
  }
  /* captions: three thin bars, the current label underneath */
  .k-captions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    position: relative;
    padding-bottom: 22px;
  }
  .k-cap {
    padding: 4px 0;
  }
  .k-cap b {
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: 13px !important;
    opacity: 0;
    transition: opacity 300ms;
    white-space: nowrap;
  }
  .k-cap.on b {
    opacity: 1;
  }
  .k-cap .bar {
    margin-bottom: 0;
  }
}
@media (max-width: 380px) {
  .k-hero .ctas .btn {
    font-size: 13px;
    padding: 0 8px;
    min-width: 0;
  }
  .k-hero .ctas .btn.outline-light .ms {
    display: none;
  }
}
@media (max-width: 700px) {
  .k-hero .ctas .btn {
    min-width: 0;
  }
}
@media (max-width: 380px) {
  .k-hero .ctas .btn.light .ms {
    display: none;
  }
}

/* ================================================================ F1: quick, precise, innovative */
/* A tall track with a pinned stage: scrolling through it moves the camera around the car (js/f1-car.js). */
.f1-sec { --f1-accent: var(--primary); position: relative; }
.f1-track { height: 420vh; }
.f1-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.f1-title {
  position: absolute; z-index: 2; left: 16px; right: 16px; top: 15vh; margin: 0; text-align: center;
  transition: opacity 700ms var(--ease), transform 900ms var(--ease), filter 700ms var(--ease);
}
.f1-sec:not([data-step='0']) .f1-title { opacity: 0; transform: translateY(-40px) scale(0.96); filter: blur(10px); }
.f1-car { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; }
.f1-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; animation: f1-in 1200ms var(--ease); }
.f1-car.has-3d .f1-canvas { display: block; }
@keyframes f1-in { from { opacity: 0; } }
.f1-car svg { display: none; width: min(980px, 88%); height: auto; overflow: visible; margin-top: 18vh; }
.f1-car.no-3d svg { display: block; }
.f1-car path, .f1-car circle { vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.f1-lines > * { stroke: var(--ink); stroke-width: 1.4; opacity: 0.85; stroke-dasharray: 1; stroke-dashoffset: 1; }
.f1-car.in .f1-lines > * { transition: stroke-dashoffset 2200ms var(--ease) 200ms; stroke-dashoffset: 0; }
.f1-rims circle { stroke: var(--line); stroke-width: 1; stroke-dasharray: 6 10; transform-box: fill-box; transform-origin: center; }
.f1-accent { stroke: var(--f1-accent); stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; }
.f1-car.in .f1-accent { transition: stroke-dashoffset 900ms var(--ease) 2000ms; stroke-dashoffset: 0; }
.f1-ground { stroke: var(--line); stroke-width: 1; }
.f1-streaks path { stroke: var(--muted); stroke-width: 1; opacity: 0; }
.f1-car.in .f1-rims circle { animation: f1-spin 1.6s linear infinite; }
.f1-car.in .f1-streaks path { animation: f1-streak 1.8s var(--ease) infinite; }
.f1-car.in .f1-streaks path:nth-child(2) { animation-delay: 0.6s; }
.f1-car.in .f1-streaks path:nth-child(3) { animation-delay: 1.2s; }
@keyframes f1-spin { to { transform: rotate(360deg); } }
@keyframes f1-streak { 0% { opacity: 0; transform: translateX(60px); } 30% { opacity: 0.6; } 100% { opacity: 0; transform: translateX(-80px); } }

/* The three words: one at a time, letters rising in. */
.f1-steps { list-style: none; margin: 0; padding: 0; }
.f1-steps li { position: absolute; z-index: 2; left: max(24px, 7vw); bottom: 15vh; max-width: 440px; pointer-events: none; }
.f1-steps li[data-step='2'] { left: auto; right: max(24px, 7vw); text-align: right; }
.f1-steps .f1-num { display: block; font-family: var(--font); font-size: 14px; letter-spacing: 0.12em; color: var(--f1-accent); opacity: 0; transition: opacity 500ms var(--ease); }
.f1-steps h3 { margin: 4px 0 10px; font-family: var(--font); font-weight: 500; font-size: clamp(52px, 8vw, 116px); line-height: 0.95; letter-spacing: -0.045em; color: var(--ink); white-space: nowrap; }
.f1-steps h3 .ch { display: inline-block; opacity: 0; transform: translateY(0.5em) rotate(6deg); filter: blur(6px); transition: opacity 500ms var(--ease), transform 700ms var(--spring), filter 500ms var(--ease); transition-delay: calc(var(--i) * 28ms); }
.f1-steps p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease) 250ms, transform 700ms var(--ease) 250ms; }
.f1-steps li.on .f1-num, .f1-steps li.on p { opacity: 1; transform: none; }
.f1-steps li.on h3 .ch { opacity: 1; transform: none; filter: none; }
.f1-steps li:not(.on) h3 .ch, .f1-steps li:not(.on) p, .f1-steps li:not(.on) .f1-num { transition-delay: 0ms; transition-duration: 300ms; }

.foot-credit { margin: 14px 0 0; font-size: 12px; color: var(--muted); opacity: 0.8; }
.foot-credit a { color: inherit; }

@media (max-width: 640px) {
  .f1-title { top: 13vh; }
  .f1-steps li, .f1-steps li[data-step='2'] { left: 20px; right: 20px; bottom: 12vh; text-align: left; }
  .f1-steps p { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .f1-lines > *, .f1-accent { stroke-dashoffset: 0; }
  .f1-car.in .f1-rims circle, .f1-car.in .f1-streaks path { animation: none; }
  .f1-steps h3 .ch { transform: none; filter: none; }
}
.legal-links a {
  color: inherit;
  text-decoration: none;
}
.legal-links a:hover {
  color: var(--primary);
}

/* ------------------------------------------------------------------ films
   A poster card that opens the film in a lightbox (js/site.js, [data-film]); and a silent looping clip. */
.film-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #0b1220;
  box-shadow: var(--shadow-3);
  isolation: isolate;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.film-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.film-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 10, 25, 0.62));
}
.film-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 80px -18px rgba(11, 40, 90, 0.38);
}
.film-card:hover img {
  transform: scale(1.03);
}
.film-card:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}
.film-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5);
  transition: transform 300ms var(--spring), background 200ms;
}
.film-play .ms {
  font-size: 48px;
  margin-left: 4px;
}
.film-card:hover .film-play {
  transform: scale(1.08);
  background: rgba(11, 87, 208, 0.75);
}
.film-meta {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
  text-align: left;
}
.film-meta b {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.film-meta small {
  font: 400 14px var(--text);
  opacity: 0.85;
}
.film-wrap {
  max-width: 1040px;
  margin: 0 auto;
}
.film-loop {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: #050608;
  box-shadow: var(--shadow-3);
}
.film-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  font: 500 15px var(--font);
  color: var(--primary);
  cursor: pointer;
}
.film-link .ms {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  color: var(--on-primary);
  background: var(--primary);
}

.film-modal {
  width: min(1200px, 94vw);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.film-modal::backdrop {
  background: rgba(5, 8, 18, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.film-modal[open] {
  animation: filmIn 380ms var(--ease);
}
@keyframes filmIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
}
.film-modal video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.film-modal .film-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .film-modal[open] {
    animation: none;
  }
}

/* ---------------------------------------------------------------- people film
   A full-screen window onto a fixed stage: the page scrolls past it (clip-path keeps the fixed stage
   inside the section). Inside, a short film plays on a loop: the sky opener, one face full screen,
   then a second and third photo push in beside it. Each photo is a full-screen picture clipped to its
   column (--pf-l to --pf-r, in %) and slid so its subject stays in the middle of that column. */
@property --pf-l {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}
@property --pf-r {
  syntax: '<number>';
  inherits: false;
  initial-value: 100;
}
.people-film {
  position: relative;
  height: 100vh;
  height: 100svh;
  clip-path: inset(0);
  background: #6fa3e0;
  color: #fff;
}
.pf-stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
  transform: translate3d(0, var(--pf-y, 0px), 0) scale(var(--pf-s, 1));
}
.pf-p {
  --pf-c: calc((var(--pf-l) + var(--pf-r)) / 2);
  position: absolute;
  inset: 0;
  margin: 0;
  clip-path: inset(0 calc((100 - var(--pf-r)) * 1%) 0 calc(var(--pf-l) * 1%));
  transition: --pf-l 0.55s cubic-bezier(0.2, 0.85, 0.15, 1), --pf-r 0.55s cubic-bezier(0.2, 0.85, 0.15, 1);
}
.pf-p > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--fy, 50%);
  transform: translateX(calc((var(--pf-c) - 50) * 1%));
  scale: 1.04;
  transition: scale 5s cubic-bezier(0.2, 0.6, 0.3, 1);
}
.pf-p.on > img {
  scale: 1.13;
}
.pf-p::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 40% at 50% 50%, rgba(0, 20, 50, 0.16), transparent 70%);
  pointer-events: none;
}
.pf-p figcaption {
  position: absolute;
  z-index: 1;
  left: calc(var(--pf-c) * 1%);
  top: 34%;
  translate: -50% -50%;
  white-space: nowrap;
  font: 500 clamp(44px, 6.6vw, 116px) / 1 var(--font);
  letter-spacing: -0.045em;
  text-shadow: 0 4px 30px rgba(0, 25, 60, 0.28);
  opacity: 0;
  filter: blur(10px);
  scale: 0.97;
  transition: opacity 0.3s ease, filter 0.35s ease, scale 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pf-p.on figcaption {
  opacity: 1;
  filter: none;
  scale: 1;
}
/* the opener: two words either side of the mark, high over the horizon. It cuts away, and fades
   back in over the three photos when the film loops. */
.pf-open {
  opacity: 0;
}
.pf-open.on {
  opacity: 1;
  transition: opacity 0.5s ease;
}
/* while a panel whips across, everything smears along the move (filters in the section's svg) */
.whip-v .pf-p.on > img,
.whip-v .pf-p.on figcaption {
  filter: url(#pf-vblur);
}
.whip-h .pf-p > img {
  filter: url(#pf-hblur);
}
.pf-fx {
  position: absolute;
}
.pf-open figcaption {
  top: 27%;
  display: flex;
  align-items: center;
  gap: clamp(28px, 6vw, 110px);
}
.pf-mark {
  position: relative;
  z-index: 1;
  width: clamp(44px, 5.4vw, 92px);
  filter: drop-shadow(0 6px 24px rgba(0, 25, 60, 0.3));
}
/* columns per beat */
.pf-p[data-p='c'],
.pf-p[data-p='d'] {
  --pf-l: 100;
  --pf-r: 100;
}
.pf-p[data-p='d'] {
  --pf-l: 0;
  --pf-r: 0;
}
[data-beat='2'] .pf-p[data-p='b'] {
  --pf-r: 62;
}
[data-beat='2'] .pf-p[data-p='c'] {
  --pf-l: 62;
}
[data-beat='3'] .pf-p[data-p='b'] {
  --pf-l: 28;
  --pf-r: 72;
}
[data-beat='3'] .pf-p[data-p='c'] {
  --pf-l: 72;
}
[data-beat='3'] .pf-p[data-p='d'] {
  --pf-r: 28;
}
.people-film.snap .pf-p,
.people-film.snap .pf-p > img,
.people-film.snap .pf-p figcaption {
  transition: none;
}
@media (max-width: 760px) {
  .pf-p figcaption {
    font-size: clamp(34px, 10vw, 54px);
  }
  .pf-open figcaption {
    gap: 18px;
  }
  [data-beat='3'] .pf-p figcaption {
    font-size: 7.4vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pf-p,
  .pf-p > img,
  .pf-p figcaption {
    transition: none;
  }
}

/* ---------------------------------------------------------------- partners */
.partners { padding-top: 10px; }
.partner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 36px; border-radius: 32px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.35); }
.pt-logo { display: inline-flex; padding: 14px 20px; border-radius: 18px; background: #fff; border: 1px solid #e6e8ec; }
.pt-logo img { height: 56px; width: auto; display: block; }
.pt-tag { display: flex; align-items: center; gap: 6px; margin: 20px 0 4px; font-size: 13px; font-weight: 500; color: var(--muted); }
.pt-tag .ms { font-size: 18px; color: var(--primary, #0b57d0); }
.partner h3 { margin: 0 0 10px; font-size: 30px; font-weight: 600; letter-spacing: -0.6px; color: var(--ink); }
.partner p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.pt-points { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pt-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.pt-points .ms { font-size: 20px; color: var(--primary, #0b57d0); }
.pt-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pt-film { width: 100%; }
@media (max-width: 900px) {
  .partner { grid-template-columns: 1fr; padding: 22px; gap: 24px; }
  .pt-film { order: -1; }
  .partner h3 { font-size: 24px; }
}

.more-features {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
