/*-----------------------------------------------------------------
  Faizi Demo — landing page styles
  Colors, fonts & motion follow the Faizi theme (assets/scss/utils)
-----------------------------------------------------------------*/

/*=========== fonts ============*/
@font-face {
  font-family: "Sequel Sans";
  src: url("../fonts/Sequel Sans Book Body.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Sequel Sans";
  src: url("../fonts/Sequel Sans Bold Body.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/NeueMontreal-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/NeueMontreal-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/NeueMontreal-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Nohemi";
  src: url("../fonts/Nohemi-Regular-BF6438cc4d0e493.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nohemi";
  src: url("../fonts/Nohemi-Bold-BF6438cc587b5b5.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/*=========== root ============*/
:root {
  --fz-lime: #ccff33;
  --fz-accent: #9cfe9e;
  --fz-periwinkle: #8181ff;
  --fz-periwinkle-2: #4734F7;
  --fz-black: #000000;
  --fz-dark: #0b0b0c;
  --fz-heading: #1c1d1f;
  --fz-body: #101214;
  --fz-white: #ffffff;
  --fz-gray: #F6F6F6;
  --fz-gray-2: #686868;
  --fz-gray-3: #d9d9d9;

  --fz-font-body: "Poppins", sans-serif;
  --fz-font-heading: "Sequel Sans", "Poppins", sans-serif;
  --fz-font-accent: "Neue Montreal", "Poppins", sans-serif;
  --fz-font-display: "Nohemi", "Poppins", sans-serif;

  --fz-grad-light: linear-gradient(90deg, var(--fz-periwinkle-2) 0%, var(--fz-periwinkle) 100%);
  --fz-grad-dark: linear-gradient(90deg, var(--fz-lime) 0%, var(--fz-accent) 100%);
  --fz-ease: cubic-bezier(.19, 1, .22, 1);
  --fz-space: clamp(60px, 7vw, 110px);
}

/*=========== reset ============*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  background: var(--fz-white);
}

body {
  font-family: var(--fz-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fz-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--fz-font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fz-heading);
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

::selection {
  color: var(--fz-white);
  background: var(--fz-periwinkle);
}

.fz-container {
  width: min(1320px, 100% - 32px);
  margin-inline: auto;
}

.fz-text-lime {
  color: var(--fz-lime);
}

.fz-rotate {
  animation: fz-rotate 12s linear infinite;
}

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

/* gradient highlight word (applied to split words too) */
.fz-grad,
.fz-grad .fz-word-inner {
  background: var(--fz-grad-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fz-dark-section .fz-grad,
.fz-dark-section .fz-grad .fz-word-inner {
  background-image: var(--fz-grad-dark);
}

/*=========== split words (gsap) ============*/
.fz-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .1em;
  margin-bottom: -.1em;
}

.fz-word-inner {
  display: inline-block;
}

/*=========== button (magnetic flair — same as theme) ============*/
.fz-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 30px;
  border-radius: 50px;
  border: 1px solid var(--fz-lime);
  background: var(--fz-lime);
  color: var(--fz-black);
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}

.fz-btn-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  transition: color .15s linear;
}

.fz-btn-flair {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: scale(0);
  transform-origin: 0 0;
  will-change: transform;
}

.fz-btn-flair::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 170%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--fz-black);
  transform: translate(-50%, -50%);
}

.fz-btn:hover .fz-btn-label {
  color: var(--fz-white);
}

.fz-btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: var(--fz-white);
}

.fz-btn--outline .fz-btn-flair::before {
  background: var(--fz-lime);
}

.fz-btn--outline:hover .fz-btn-label {
  color: var(--fz-black);
}

.fz-btn--sm {
  height: 48px;
  padding: 0 24px;
}

.fz-btn svg {
  width: 12px;
  height: 12px;
}

/*=========== badge & titles ============*/
.fz-badge {
  position: relative;
  display: inline-block;
  padding-left: 12px;
  font-weight: 500;
  font-size: 16px;
  color: var(--fz-body);
}

.fz-badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

.fz-badge--light {
  color: var(--fz-white);
}

.fz-title {
  font-size: clamp(26px, 4.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--fz-black);
}

/* one spacing value for every section */
.fz-section {
  position: relative;
  padding-block: var(--fz-space);
}

/* white sections that sit back to back share one gap instead of two */
.fz-video,
.fz-responsive {
  padding-top: 0;
}

.fz-section-text {
  max-width: 560px;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fz-gray-2);
}

.fz-section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  margin-bottom: clamp(50px, 6vw, 80px);
}

.fz-section-head .fz-badge {
  margin-top: 10px;
}

/* centered head with big faded number (agntix style) */
.fz-head-center {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto clamp(50px, 6vw, 80px);
  text-align: center;
}

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

.fz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 50px;
  background: rgba(71, 52, 247, .08);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fz-periwinkle-2);
}

.fz-dark-section .fz-eyebrow {
  background: rgba(204, 255, 51, .1);
  color: var(--fz-lime);
}

.fz-bg-num {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  font-family: var(--fz-font-display);
  font-weight: 700;
  font-size: clamp(160px, 26vw, 380px);
  line-height: .8;
  letter-spacing: -0.05em;
  color: #f1f1f3;
  white-space: nowrap;
  transform: translate(-50%, -55%);
  pointer-events: none;
  user-select: none;
}

.fz-dark-section .fz-bg-num {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .09);
}

.fz-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.fz-pills li {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  font-weight: 600;
  font-size: 14px;
  color: var(--fz-white);
}

/*=========== header ============*/
.fz-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 22px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .15);
  transition: background-color .35s ease, padding .35s ease, box-shadow .35s ease;
}

.fz-header.is-sticky,
.fz-header.menu-open {
  padding: 14px 0;
  background-color: rgba(0, 0, 0, .88);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.fz-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fz-logo img {
  width: 110px;
}

.fz-nav ul {
  display: flex;
  align-items: center;
  gap: 48px;
}

.fz-nav a {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--fz-white);
  transition: color .25s linear;
}

.fz-nav a:hover {
  color: var(--fz-lime);
}

.fz-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fz-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.fz-menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--fz-white);
  transition: transform .3s ease;
}

.fz-menu-toggle.is-active span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.fz-menu-toggle.is-active span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/*=========== hero ============*/
.fz-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(140px, 14vw, 200px);
  background: #01020a;
  color: var(--fz-white);
}

.fz-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/hero/hero-bg.jpg") 68% center / cover no-repeat;
  transform: scale(1.1);
}

/* dark overlay so the white text stays readable on the photo */
.fz-hero-bg::after,
.fz-footer-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 14, .5) 0%, rgba(6, 8, 14, .66) 55%, rgba(6, 8, 14, .88) 100%);
}

.fz-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  font-weight: 500;
  font-size: 15px;
}

.fz-hero-badge img {
  width: 12px;
}

.fz-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* RTL call-out beside the template badge, links to the RTL demo */
.fz-hero-badge--rtl {
  gap: 9px;
  padding: 6px 18px 6px 6px;
  border-color: rgba(204, 255, 51, .45);
  background: rgba(204, 255, 51, .08);
  color: var(--fz-white);
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.fz-hero-badge--rtl strong {
  font-weight: 600;
  color: var(--fz-lime);
  transition: color .3s ease;
}

.fz-hero-badge-note {
  padding-left: 9px;
  border-left: 1px solid rgba(255, 255, 255, .2);
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  transition: color .3s ease, border-color .3s ease;
}

.fz-rtl-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--fz-lime);
  color: var(--fz-black);
}

.fz-rtl-icon svg,
.fz-hero-homes-rtl svg {
  width: 14px;
  height: 14px;
  animation: fz-rtl-swap 3.2s var(--fz-ease) infinite;
}

/* the arrows mirror now and then: left to right, right to left */
@keyframes fz-rtl-swap {
  0%, 40% {
    transform: scaleX(1);
  }

  50%, 90% {
    transform: scaleX(-1);
  }

  100% {
    transform: scaleX(1);
  }
}

.fz-hero-badge--rtl:hover {
  border-color: var(--fz-lime);
  background: var(--fz-lime);
  color: var(--fz-black);
}

.fz-hero-badge--rtl:hover strong,
.fz-hero-badge--rtl:hover .fz-hero-badge-note {
  border-color: rgba(0, 0, 0, .2);
  color: var(--fz-black);
}

.fz-hero-badge--rtl:hover .fz-rtl-icon {
  background: var(--fz-black);
  color: var(--fz-lime);
}

.fz-hero-title {
  margin-top: 36px;
  font-size: clamp(34px, 8vw, 124px);
  line-height: .98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--fz-white);
}

.fz-line {
  display: block;
  overflow: hidden;
  padding-bottom: .06em;
}

.fz-line-inner {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 .22em;
}

.fz-line--indent {
  padding-left: 1.4em;
}

.fz-hero-asterisk {
  width: .78em;
  height: .78em;
}

.fz-hero-title sup {
  font-size: .32em;
  vertical-align: top;
  margin-left: -.1em;
}

/* bento tiles — flat glass, no shadow */
/* row of links to the six home pages */
.fz-hero-homes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}

.fz-hero-homes a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50px;
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-weight: 500;
  font-size: 14px;
  color: var(--fz-white);
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}

.fz-hero-homes b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  font-size: 11px;
  font-weight: 600;
  transition: background .3s ease, color .3s ease;
}

.fz-hero-homes a:hover {
  border-color: var(--fz-lime);
  background: var(--fz-lime);
  color: var(--fz-black);
}

.fz-hero-homes a:hover b {
  background: var(--fz-black);
  color: var(--fz-lime);
}

/* last pill: the RTL version, set apart in the accent colour */
.fz-hero-homes .fz-hero-homes-rtl {
  border-color: rgba(204, 255, 51, .45);
  background: rgba(204, 255, 51, .08);
  color: var(--fz-lime);
}

.fz-hero-homes .fz-hero-homes-rtl b {
  background: var(--fz-lime);
  color: var(--fz-black);
}

.fz-hero-homes .fz-hero-homes-rtl:hover {
  color: var(--fz-black);
}

.fz-hero-homes .fz-hero-homes-rtl:hover b {
  color: var(--fz-lime);
}

.fz-hero-meta {
  display: grid;
  grid-template-columns: 1.15fr 1fr .8fr;
  gap: 14px;
  margin-top: 56px;
}

.fz-hero-homes + .fz-hero-meta {
  margin-top: 24px;
}

.fz-hero-tile {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.fz-hero-stats-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fz-hero-tile-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.fz-hero-tile-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fz-lime);
}

.fz-hero-avatars {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.fz-hero-avatars-imgs {
  display: flex;
}

.fz-hero-avatars-imgs img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: 50% 4%;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, .85);
}

.fz-hero-avatars-imgs img + img {
  margin-left: -12px;
}

.fz-hero-avatars p {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .6);
}

.fz-hero-avatars strong {
  font-weight: 600;
  font-size: 15px;
  color: var(--fz-white);
}

.fz-hero-text {
  max-width: 430px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .72);
}

.fz-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fz-hero-stats li + li {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.fz-hero-stats strong {
  display: block;
  font-family: var(--fz-font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  white-space: nowrap;
}

.fz-hero-stats em {
  font-style: normal;
  color: var(--fz-lime);
}

.fz-hero-stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .6);
}

.fz-hero-btns {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.fz-hero-btns .fz-btn {
  width: 100%;
}

.fz-hero-btns .fz-btn-label {
  flex: 1;
  justify-content: space-between;
}

/* buttons with a round icon */
.fz-btn--icon {
  padding: 0 8px 0 26px;
}

.fz-btn--icon .fz-btn-label {
  gap: 14px;
}

.fz-btn-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--fz-black);
  color: var(--fz-lime);
  transition: background-color .3s ease, color .3s ease, transform .5s var(--fz-ease);
}

.fz-btn .fz-btn-icon svg {
  width: 14px;
  height: 14px;
}

.fz-btn:hover .fz-btn-icon {
  background: var(--fz-lime);
  color: var(--fz-black);
  transform: rotate(-45deg);
}

.fz-btn--glass {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
  color: var(--fz-white);
}

.fz-btn--glass .fz-btn-flair::before {
  background: var(--fz-lime);
}

.fz-btn--glass:hover .fz-btn-label {
  color: var(--fz-black);
}

.fz-btn--glass .fz-btn-icon {
  background: rgba(255, 255, 255, .14);
  color: var(--fz-white);
}

.fz-btn--glass:hover .fz-btn-icon {
  background: var(--fz-black);
  color: var(--fz-lime);
  transform: rotate(45deg);
}

/*=========== hero showcase ============*/
/* five screens on a 3d arc: the centre one faces the viewer and switches
   between the LTR and RTL version of the same demo */
.fz-hero-showcase {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(1720px, 100%);
  margin: 80px auto 0;
  padding: 40px 16px 96px;
  overflow: hidden;
}

/* lime and periwinkle glow behind the centre screen */
.fz-hero-showcase::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: -1;
  width: 62%;
  height: 72%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 35% 50%, rgba(204, 255, 51, .42), transparent),
    radial-gradient(closest-side at 68% 50%, rgba(127, 123, 255, .5), transparent);
  filter: blur(70px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* faint horizon the screens stand on */
.fz-hero-showcase::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 84px;
  z-index: -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
  pointer-events: none;
}

.fz-show-item {
  position: relative;
  display: block;
  flex: 0 0 auto;
  perspective: 1500px;
}

.fz-show-item--center {
  z-index: 3;
  width: 44%;
}

.fz-show-item--inner {
  z-index: 2;
  width: 25%;
  margin-inline: -3.5%;
}

.fz-show-item--outer {
  z-index: 1;
  width: 17%;
  margin-inline: -3%;
}

.fz-show-card {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #111;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .85);
  -webkit-box-reflect: below 12px linear-gradient(transparent 74%, rgba(255, 255, 255, .16));
  transition: transform .9s var(--fz-ease), filter .6s ease, border-color .4s ease;
}

/* a touch shorter than the 16:10 captures, which trims the strip of the next
   section off their bottom edge (it showed up as a bar in the reflection) */
.fz-show-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9.4;
  object-fit: cover;
  object-position: top;
}

/* side screens curve in toward the viewer like a wraparound display, the
   outer pair set further back */
.fz-show-item--left .fz-show-card {
  transform-origin: right center;
}

.fz-show-item--right .fz-show-card {
  transform-origin: left center;
}

.fz-show-item--inner.fz-show-item--left .fz-show-card {
  transform: rotateY(26deg);
}

.fz-show-item--inner.fz-show-item--right .fz-show-card {
  transform: rotateY(-26deg);
}

.fz-show-item--outer .fz-show-card {
  filter: brightness(.5) saturate(.8);
}

.fz-show-item--outer.fz-show-item--left .fz-show-card {
  transform: rotateY(38deg) translateZ(-140px);
}

.fz-show-item--outer.fz-show-item--right .fz-show-card {
  transform: rotateY(-38deg) translateZ(-140px);
}

/* a side screen turns toward the viewer when pointed at */
.fz-show-item--inner .fz-show-card {
  filter: brightness(.85);
}

.fz-show-item--left:hover .fz-show-card,
.fz-show-item--right:hover .fz-show-card,
.fz-show-item--left:focus-visible .fz-show-card,
.fz-show-item--right:focus-visible .fz-show-card {
  border-color: rgba(204, 255, 51, .6);
  filter: none;
}

.fz-show-item--left:hover .fz-show-card,
.fz-show-item--left:focus-visible .fz-show-card {
  transform: rotateY(10deg);
}

.fz-show-item--right:hover .fz-show-card,
.fz-show-item--right:focus-visible .fz-show-card {
  transform: rotateY(-10deg);
}

.fz-show-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  background: #151515;
}

.fz-show-bar i {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fz-lime);
}

.fz-show-bar i:nth-child(2) {
  background: var(--fz-periwinkle);
}

.fz-show-bar i:nth-child(3) {
  background: var(--fz-white);
}

.fz-show-url {
  position: relative;
  margin: 0 auto;
  padding: 2px 34px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
  font-size: 11px;
  line-height: 1.6;
  white-space: nowrap;
  color: rgba(255, 255, 255, .6);
}

.fz-show-url-rtl {
  display: none;
}

.fz-show-card.is-rtl .fz-show-url-ltr {
  display: none;
}

.fz-show-card.is-rtl .fz-show-url-rtl {
  display: inline;
  color: var(--fz-lime);
}

/* the RTL capture wipes in over the LTR one, a lime line riding its edge */
.fz-show-screen {
  position: relative;
  display: block;
  overflow: hidden;
}

.fz-show-rtl {
  position: absolute;
  inset: 0;
  height: 100%;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.1s var(--fz-ease);
}

.fz-show-card.is-rtl .fz-show-rtl {
  clip-path: inset(0 0 0 0);
}

.fz-show-screen::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 2px;
  margin-left: -1px;
  background: var(--fz-lime);
  box-shadow: 0 0 18px 2px rgba(204, 255, 51, .8);
  opacity: 0;
  transition: left 1.1s var(--fz-ease);
}

.fz-show-card.is-rtl .fz-show-screen::after {
  left: 0;
}

.fz-show-card.is-switching .fz-show-screen::after {
  animation: fz-wipe-line 1.1s ease forwards;
}

@keyframes fz-wipe-line {
  0%, 80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* LTR / RTL switch under the centre screen */
.fz-dir-switch {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  margin: -28px auto 0;
  padding: 5px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(17, 17, 17, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6);
}

.fz-dir-switch .fz-rtl-icon {
  margin-right: 4px;
}

.fz-dir-switch button {
  padding: 9px 20px;
  border: 0;
  border-radius: 40px;
  background: none;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
  transition: background-color .35s ease, color .35s ease;
}

.fz-dir-switch button:hover {
  color: var(--fz-white);
}

.fz-dir-switch button.is-active {
  background: var(--fz-lime);
  color: var(--fz-black);
}

.fz-dir-open {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--fz-white);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .5s var(--fz-ease);
}

.fz-dir-open svg {
  width: 12px;
  height: 12px;
}

.fz-dir-open:hover {
  border-color: var(--fz-white);
  background: var(--fz-white);
  color: var(--fz-black);
  transform: rotate(45deg);
}

@media (max-width: 1199px) {
  .fz-show-item--outer {
    display: none;
  }

  .fz-show-item--center {
    width: 54%;
  }

  .fz-show-item--inner {
    width: 31%;
    margin-inline: -5%;
  }
}

@media (max-width: 767px) {
  .fz-hero-showcase {
    margin-top: 56px;
    padding: 20px 16px 56px;
  }

  .fz-hero-showcase::after {
    bottom: 48px;
  }

  .fz-show-item--inner {
    display: none;
  }

  .fz-show-item--center {
    width: 100%;
  }

  .fz-show-bar {
    height: 22px;
    gap: 5px;
    padding: 0 9px;
  }

  .fz-show-bar i {
    width: 6px;
    height: 6px;
  }

  .fz-show-url {
    padding: 1px 16px;
    font-size: 9px;
  }

  .fz-dir-switch {
    margin-top: -22px;
    padding: 4px;
  }

  .fz-dir-switch button {
    padding: 7px 15px;
    font-size: 13px;
  }

  .fz-dir-open {
    width: 32px;
    height: 32px;
  }
}

/*=========== marquee ============*/
.fz-marquee {
  overflow: hidden;
  padding: 22px 0;
  background: var(--fz-lime);
}

.fz-marquee-track {
  display: flex;
  width: max-content;
  animation: fz-marquee 40s linear infinite;
}

.fz-marquee-track--reverse {
  animation-direction: reverse;
}

.fz-marquee-group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
}

.fz-marquee-group span {
  font-family: var(--fz-font-heading);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--fz-black);
  white-space: nowrap;
}

.fz-marquee-group img {
  width: clamp(26px, 2.6vw, 38px);
  animation: fz-rotate 8s linear infinite;
}

@keyframes fz-marquee {
  to {
    transform: translateX(-50%);
  }
}

/* striped band between sections (cunnet style) */
.fz-strip-lines {
  height: 22px;
  background: repeating-linear-gradient(to bottom, var(--fz-black) 0 3px, transparent 3px 8px);
}

.fz-strip .fz-marquee {
  padding: 16px 0;
}

/*=========== showcase cards (home demos + inner pages share one style) ============*/
.fz-demos,
.fz-inner {
  background: var(--fz-white);
}

.fz-inner {
  overflow: hidden;
}

.fz-inner {
  background: #f8f8fa;
}

.fz-demos::before,
.fz-demos::after,
.fz-inner::before,
.fz-inner::after {
  content: "";
  position: absolute;
  width: 620px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.fz-demos::before,
.fz-inner::after {
  top: -160px;
  right: -220px;
  background: var(--fz-lime);
  opacity: .35;
}

.fz-demos::after,
.fz-inner::before {
  bottom: -220px;
  left: -220px;
  background: var(--fz-periwinkle);
  opacity: .2;
}

.fz-demos .fz-container,
.fz-inner .fz-container {
  position: relative;
  z-index: 1;
}

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

.fz-inner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fz-card {
  position: relative;
  display: block;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, .07);
  background: var(--fz-white);
  box-shadow: 0 24px 50px -34px rgba(16, 18, 20, .35);
  transition: transform .6s var(--fz-ease), box-shadow .6s var(--fz-ease);
}

.fz-card[hidden] {
  display: none;
}

/* gradient border on hover */
.fz-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 3;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--fz-lime), var(--fz-periwinkle-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.fz-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 60px -30px rgba(71, 52, 247, .35);
}

.fz-card:hover::before {
  opacity: 1;
}

.fz-card-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 4px 10px;
}

.fz-card-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fz-periwinkle-2);
}

.fz-card-bar i:nth-child(2) {
  background: var(--fz-periwinkle);
}

.fz-card-bar i:nth-child(3) {
  background: var(--fz-lime);
}

.fz-card-url {
  flex: 1;
  margin-left: 6px;
  padding: 3px 10px;
  overflow: hidden;
  border-radius: 20px;
  background: #f2f2f5;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #8a8a92;
}

.fz-card-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3.5;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .05);
  background: var(--fz-gray);
}

.fz-demo-card .fz-card-thumb {
  aspect-ratio: 4 / 3.2;
}

.fz-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: object-position 3.5s cubic-bezier(.45, 0, .25, 1);
}

.fz-card:hover .fz-card-thumb img {
  object-position: bottom;
}

.fz-card-thumb .fz-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
}

.fz-card-view {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 12, .25);
  opacity: 0;
  transition: opacity .5s ease;
}

.fz-card-view span {
  padding: 13px 26px;
  border-radius: 50px;
  background: var(--fz-lime);
  font-weight: 600;
  font-size: 15px;
  color: var(--fz-black);
  transform: translateY(20px);
  transition: transform .6s var(--fz-ease);
}

.fz-card:hover .fz-card-view {
  opacity: 1;
}

.fz-card:hover .fz-card-view span {
  transform: translateY(0);
}

/* demo and inner page cards: mockup thumbs zoom in, and the hover shows two
   launch buttons (the LTR demo and the RTL demo) instead of making the whole
   card a link */
.fz-demo-card:not(.fz-demo-card--soon) .fz-card-thumb img,
.fz-demo-card:not(.fz-demo-card--soon):hover .fz-card-thumb img,
.fz-inner-card .fz-card-thumb img,
.fz-inner-card:hover .fz-card-thumb img {
  object-position: center;
  transition: transform 1.4s var(--fz-ease);
}

.fz-demo-card:not(.fz-demo-card--soon):hover .fz-card-thumb img,
.fz-inner-card:hover .fz-card-thumb img {
  transform: scale(1.06);
}

.fz-demo-view {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  background: rgba(10, 10, 12, .38);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s ease;
}

.fz-card:hover .fz-demo-view,
.fz-card:focus-within .fz-demo-view {
  opacity: 1;
  visibility: visible;
}

.fz-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 50px;
  background: var(--fz-lime);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  color: var(--fz-black);
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45);
  transform: translateY(20px);
  transition: transform .6s var(--fz-ease), background-color .3s ease, color .3s ease;
}

.fz-demo-btn--rtl {
  background: var(--fz-white);
}

.fz-card:hover .fz-demo-btn,
.fz-card:focus-within .fz-demo-btn {
  transform: translateY(0);
}

.fz-card:hover .fz-demo-btn--rtl {
  transition-delay: .06s, 0s, 0s;
}

.fz-demo-btn:hover,
.fz-demo-btn:focus-visible {
  background: var(--fz-black);
  color: var(--fz-white);
}

.fz-demo-btn svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
}

.fz-demo-btn--rtl svg {
  width: 15px;
  height: 15px;
}

/* inner page cards sit four to a row, so their buttons are a size down */
.fz-inner-card .fz-demo-view {
  gap: 8px;
  padding: 14px;
}

.fz-inner-card .fz-demo-btn {
  gap: 7px;
  padding: 11px 18px;
  font-size: 14px;
}

/* label rolls up to a copy of itself on hover */
.fz-roll {
  display: block;
  height: 1.2em;
  overflow: hidden;
}

.fz-roll span {
  display: block;
  transition: transform .45s var(--fz-ease);
}

.fz-demo-btn:hover .fz-roll span {
  transform: translateY(-100%);
}

.fz-card-name a {
  color: inherit;
  transition: color .3s ease;
}

.fz-card-name a:hover {
  color: var(--fz-periwinkle-2);
}

.fz-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 8px 6px;
}

.fz-card-name {
  display: block;
  font-family: var(--fz-font-heading);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--fz-black);
}

.fz-demo-card .fz-card-name {
  font-size: 21px;
}

.fz-card-cat {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--fz-gray-2);
}

.fz-card-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .12);
  color: var(--fz-black);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .5s var(--fz-ease);
}

.fz-card-arrow svg {
  width: 12px;
  height: 12px;
}

.fz-card:hover .fz-card-arrow {
  background: var(--fz-black);
  border-color: var(--fz-black);
  color: var(--fz-lime);
  transform: rotate(45deg);
}

.fz-tag {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.4;
}

.fz-tag--hot {
  background: var(--fz-black);
  color: var(--fz-lime);
}

.fz-tag--new {
  background: var(--fz-periwinkle-2);
  color: var(--fz-white);
}

.fz-tag--popular {
  background: var(--fz-lime);
  color: var(--fz-black);
}

.fz-tag--trending {
  background: var(--fz-periwinkle);
  color: var(--fz-white);
}

/* "Free Figma File" label on demo thumbs (not a link) */
.fz-figma-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 16px 5px 5px;
  overflow: hidden;
  border-radius: 40px;
  background: rgba(12, 12, 14, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px -6px rgba(0, 0, 0, .45);
  white-space: nowrap;
  transition: transform .5s var(--fz-ease);
}

/* figma-colored gradient border */
.fz-figma-tag::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(90deg, #F24E1E, #A259FF, #1ABCFE, #0ACF83);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* light sweep on card hover */
.fz-figma-tag::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.fz-card:hover .fz-figma-tag {
  transform: translateY(-3px);
}

.fz-card:hover .fz-figma-tag::after {
  left: 130%;
  transition: left .9s ease;
}

.fz-figma-tag-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fz-white);
}

.fz-figma-tag-icon svg {
  width: 10px;
  height: auto;
}

.fz-figma-tag-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--fz-white);
}

.fz-figma-tag-text em {
  padding: 4px 7px;
  border-radius: 20px;
  background: var(--fz-lime);
  font-style: normal;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fz-black);
}

/*=========== coming soon demos ============*/
.fz-demo-card--soon {
  cursor: default;
}

.fz-demo-card--soon:hover {
  transform: none;
  box-shadow: 0 24px 50px -34px rgba(16, 18, 20, .35);
}

.fz-demo-card--soon:hover::before {
  opacity: 0;
}

.fz-demo-card--soon .fz-card-thumb {
  background: var(--fz-dark);
}

.fz-demo-card--soon .fz-card-thumb img {
  filter: blur(14px) saturate(1.3) brightness(.55);
  transform: scale(1.2);
}

/* dark tint + fine grid */
.fz-demo-card--soon .fz-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, rgba(10, 10, 12, .25), rgba(10, 10, 12, .7));
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 30%, rgba(0, 0, 0, .55) 75%);
  mask: radial-gradient(circle at 50% 50%, #000 30%, rgba(0, 0, 0, .55) 75%);
}

/* soft moving light sweep */
.fz-demo-card--soon .fz-card-thumb::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -50%;
  z-index: 1;
  width: 35%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .1), transparent);
  transform: skewX(-18deg);
  animation: fz-soon-sweep 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes fz-soon-sweep {
  0%, 30% {
    left: -50%;
  }

  100% {
    left: 130%;
  }
}

/* colored glow behind the badge */
.fz-soon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 52, 247, .55), rgba(204, 255, 51, .12) 45%, transparent 70%);
  filter: blur(20px);
  transform: translate(-50%, -50%);
  animation: fz-soon-breathe 4s ease-in-out infinite;
}

.fz-demo-card--soon:nth-child(8) .fz-soon-glow {
  animation-delay: -1.3s;
}

.fz-demo-card--soon:nth-child(9) .fz-soon-glow {
  animation-delay: -2.6s;
}

@keyframes fz-soon-breathe {
  50% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: .7;
  }
}

.fz-demo-card--soon .fz-card-name,
.fz-demo-card--soon .fz-card-cat {
  color: var(--fz-gray-2);
}

.fz-soon-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  color: var(--fz-white);
  text-align: center;
  transform: translate(-50%, -50%);
}

/* sparkle icon with a spinning dashed ring */
.fz-soon-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--fz-lime);
  color: var(--fz-black);
  box-shadow: 0 0 0 6px rgba(204, 255, 51, .15), 0 12px 30px rgba(204, 255, 51, .3);
}

.fz-soon-icon::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .4);
  animation: fz-soon-spin 12s linear infinite;
}

.fz-soon-icon svg {
  width: 20px;
  height: 20px;
  animation: fz-soon-spin 6s linear infinite;
}

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

.fz-soon-badge strong {
  font-family: var(--fz-font-heading);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.fz-soon-badge small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 13px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}

.fz-soon-badge i,
.fz-demo-more-pill i {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fz-lime);
}

.fz-soon-badge i::after,
.fz-demo-more-pill i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: fz-soon-pulse 1.8s ease-out infinite;
}

@keyframes fz-soon-pulse {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

.fz-card-arrow--lock {
  border-style: dashed;
  color: var(--fz-gray-2);
}

.fz-demo-card--soon:hover .fz-card-arrow {
  background: transparent;
  border-color: rgba(0, 0, 0, .12);
  color: var(--fz-gray-2);
  transform: none;
}

/* compact "more demos" banner under the demo grid */
.fz-demo-more {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 26px 30px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--fz-black);
}

.fz-demo-more::before {
  content: "";
  position: absolute;
  top: -120px;
  right: 18%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--fz-periwinkle-2);
  opacity: .35;
  filter: blur(80px);
  pointer-events: none;
}

.fz-demo-more-info {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.fz-demo-more-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .18);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}

.fz-demo-more-title {
  font-family: var(--fz-font-heading);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--fz-white);
}

.fz-demo-more-title span {
  background: var(--fz-grad-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fz-demo-more-text {
  flex-basis: 100%;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .55);
}

/*=========== free figma file button ============*/
.fz-figma-btn {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px 0 20px;
  border-radius: 50px;
  background: var(--fz-white);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  color: var(--fz-black);
  transition: transform .4s var(--fz-ease), box-shadow .4s var(--fz-ease);
}

.fz-figma-btn svg {
  width: 13px;
  height: auto;
  flex-shrink: 0;
}

.fz-figma-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 255, 255, .18);
}

/*=========== inner page filter ============*/
/* segmented control with a sliding indicator */
.fz-filter {
  display: flex;
  justify-content: center;
  margin: calc(clamp(50px, 6vw, 80px) * -0.4) 0 clamp(40px, 5vw, 60px);
}

.fz-filter-track {
  position: relative;
  display: inline-flex;
  gap: 4px;
  max-width: 100%;
  padding: 6px;
  overflow-x: auto;
  border-radius: 60px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: var(--fz-white);
  box-shadow: 0 20px 40px -28px rgba(16, 18, 20, .35);
  scrollbar-width: none;
}

.fz-filter-track::-webkit-scrollbar {
  display: none;
}

.fz-filter-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 0;
  height: 0;
  border-radius: 50px;
  background: var(--fz-black);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .45);
}

.fz-filter-track.is-ready .fz-filter-indicator {
  transition: transform .55s var(--fz-ease), width .55s var(--fz-ease);
}

.fz-filter-track button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 14px 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  color: var(--fz-gray-2);
  transition: color .3s ease;
}

.fz-filter-track button:hover {
  color: var(--fz-black);
}

.fz-filter-track button.is-active {
  color: var(--fz-white);
}

/* fallback before JS measures the indicator */
.fz-filter-track:not(.is-ready) button.is-active {
  background: var(--fz-black);
}

.fz-filter-count {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 7px;
  border-radius: 50px;
  background: #f2f2f5;
  font-weight: 700;
  font-size: 11px;
  color: var(--fz-gray-2);
  transition: background-color .3s ease, color .3s ease;
}

.fz-filter-track button.is-active .fz-filter-count {
  background: var(--fz-lime);
  color: var(--fz-black);
}

/*=========== features (dark, agntix / cunnet style) ============*/
.fz-features {
  background: var(--fz-dark);
  color: var(--fz-white);
}

.fz-features .fz-title {
  color: var(--fz-white);
}

.fz-features .fz-section-text {
  color: rgba(255, 255, 255, .6);
}

.fz-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1120px;
  margin-inline: auto;
}

.fz-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 200px;
  padding: 30px 18px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .02);
  text-align: center;
  transition: border-color .4s ease, transform .5s var(--fz-ease), background-color .4s ease;
}

.fz-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(204, 255, 51, .18), transparent 65%);
  opacity: 0;
  transition: opacity .4s ease;
}

.fz-feature:hover {
  border-color: rgba(204, 255, 51, .6);
  transform: translateY(-6px);
}

.fz-feature:hover::before {
  opacity: 1;
}

.fz-feature-icon {
  position: relative;
  color: rgba(255, 255, 255, .85);
  transition: color .4s ease, transform .5s var(--fz-ease);
}

.fz-feature-icon svg {
  width: 40px;
  height: 40px;
}

.fz-feature:hover .fz-feature-icon {
  color: var(--fz-lime);
  transform: scale(1.08);
}

.fz-feature h3 {
  position: relative;
  font-family: var(--fz-font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--fz-white);
}

/*=========== responsive devices ============*/
.fz-screens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 70px;
}

.fz-screens li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, .12);
  font-size: 15px;
}

.fz-screens strong {
  font-family: var(--fz-font-display);
  font-weight: 700;
  font-size: 17px;
}

.fz-screens span {
  color: var(--fz-gray-2);
}

.fz-devices {
  position: relative;
  display: flex;
  justify-content: center;
  max-width: 1100px;
  margin-inline: auto;
  padding-bottom: 40px;
}

.fz-laptop {
  position: relative;
  z-index: 1;
  width: 74%;
}

.fz-laptop-screen {
  padding: 14px 14px 18px;
  border-radius: 22px 22px 0 0;
  border: 1px solid #2a2a2a;
  background: #0b0b0b;
}

.fz-laptop-screen img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
}

.fz-laptop-base {
  position: relative;
  width: 112%;
  height: 18px;
  margin-left: -6%;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(#e4e4e4, #a8a8a8);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .4);
}

.fz-laptop-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 16%;
  height: 7px;
  border-radius: 0 0 10px 10px;
  background: #8d8d8d;
  transform: translateX(-50%);
}

.fz-device-tablet,
.fz-device-phone {
  position: absolute;
  z-index: 2;
  background: #0b0b0b;
  box-shadow: 0 40px 60px -25px rgba(0, 0, 0, .5);
}

.fz-device-tablet {
  left: 0;
  bottom: 0;
  width: 25%;
  padding: 10px;
  border-radius: 24px;
}

.fz-device-tablet img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: 15px;
}

.fz-device-phone {
  right: 3%;
  bottom: -10px;
  width: 16%;
  padding: 8px;
  border-radius: 30px;
  z-index: 3;
}

.fz-device-phone img {
  aspect-ratio: 9 / 19;
  object-fit: cover;
  object-position: top;
  border-radius: 23px;
}

/*=========== statement ============*/
.fz-statement {
  background: var(--fz-gray);
}

.fz-statement-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}

.fz-reveal {
  font-family: var(--fz-font-heading);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--fz-black);
}

.fz-reveal-word {
  display: inline-block;
}

/*=========== footer / cta ============*/
.fz-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(100px, 12vw, 180px);
  background: #01020a;
  color: var(--fz-white);
}

.fz-footer-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: url("../img/hero/hero-bg.jpg") center / cover no-repeat;
  transform: scaleX(-1);
}

/*=========== core features ============*/
.fz-core {
  background: var(--fz-white);
}

/* coloured panel that holds the whole section */
.fz-core-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(50px, 6vw, 90px) clamp(16px, 3vw, 50px) clamp(30px, 3.5vw, 50px);
  border-radius: 40px;
  background: linear-gradient(140deg, #f1efff 0%, #f8f7fb 45%, #f3fbe3 100%);
}

/* soft dots that fade towards the edges */
.fz-core-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(71, 52, 247, .12) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 10%, transparent 65%);
  mask-image: radial-gradient(ellipse at 50% 20%, #000 10%, transparent 65%);
}

/* big showcase on the left, four cards in a 2 x 2 grid on the right */
.fz-core-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.fz-core-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 300px;
  padding: 26px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 28px;
  background: var(--fz-white);
  box-shadow: 0 10px 30px -18px rgba(16, 18, 20, .18);
  color: var(--fz-heading);
  transition: transform .6s var(--fz-ease), box-shadow .6s var(--fz-ease);
}

.fz-core-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.fz-core-title {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: inherit;
}

/*----- showcase -----*/
.fz-core-main {
  grid-row: span 2;
  padding: 36px 36px 0;
  background: var(--fz-white);
  color: var(--fz-heading);
}

/* soft glow behind the browser */
.fz-core-main::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  z-index: -1;
  width: 460px;
  height: 400px;
  border-radius: 50%;
  background: var(--fz-grad-light);
  filter: blur(110px);
  opacity: .18;
}

.fz-core-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fz-heading);
}

.fz-core-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fz-periwinkle-2);
  box-shadow: 0 0 10px var(--fz-periwinkle);
}

.fz-core-main-title {
  max-width: 460px;
  margin-top: 18px;
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--fz-heading);
}

.fz-core-main-title span {
  background: var(--fz-grad-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* home switcher chips */
.fz-core-homes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.fz-core-homes button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 50px;
  background: #f5f5f8;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--fz-heading);
  cursor: pointer;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .4s var(--fz-ease);
}

.fz-core-homes b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--fz-white);
  font-size: 11px;
  font-weight: 700;
  color: var(--fz-periwinkle-2);
  transition: background .3s ease, color .3s ease;
}

.fz-core-homes button.is-active {
  border-color: transparent;
  background: var(--fz-lime);
  color: var(--fz-black);
}

.fz-core-homes button.is-active b {
  background: var(--fz-black);
  color: var(--fz-lime);
}

/* timer bar that fills before the next home shows */
.fz-core-homes button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: rgba(0, 0, 0, .4);
  transform-origin: left;
  animation: fz-core-timer 2s linear forwards;
}

@keyframes fz-core-timer {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* browser on the left, phone overlapping its right edge */
.fz-core-stage {
  position: relative;
  margin-top: auto;
  padding-top: 34px;
  padding-right: 14%;
}

.fz-core-browser {
  border: 1px solid rgba(0, 0, 0, .08);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: var(--fz-white);
  box-shadow: 0 -10px 40px -20px rgba(71, 52, 247, .35);
  overflow: hidden;
}

.fz-core-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.fz-core-browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
}

.fz-core-browser-bar i:nth-child(2) { background: #febc2e; }
.fz-core-browser-bar i:nth-child(3) { background: #28c840; }

.fz-core-browser-bar span {
  margin-left: 12px;
  font-size: 11px;
  color: var(--fz-gray-2);
}

/* all six homes sit on top of each other, the active one fades in
   and scrolls through its page while the card is hovered */
.fz-core-browser-view,
.fz-core-mobile-view {
  position: relative;
  overflow: hidden;
}

.fz-core-browser-view {
  height: 300px;
}

.fz-core-browser-view img,
.fz-core-mobile-view img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity .35s ease, transform 4s ease-in-out;
}

.fz-core-browser-view img.is-active,
.fz-core-mobile-view img.is-active {
  opacity: 1;
}

.fz-core-mobile {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28%;
  padding: 5px 5px 0;
  border: 1px solid rgba(0, 0, 0, .08);
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  background: var(--fz-white);
  box-shadow: -14px 0 40px -18px rgba(16, 18, 20, .45);
}

.fz-core-mobile-view {
  height: 250px;
  border-radius: 17px 17px 0 0;
}

/*----- updates (lime card with a stack of update notes) -----*/
.fz-core-updates {
  justify-content: space-between;
  gap: 26px;
  min-height: 260px;
  padding: 22px;
  border-color: transparent;
  background: linear-gradient(150deg, #e2ff7a 0%, var(--fz-lime) 45%, #b8f23a 100%);
  color: var(--fz-black);
}

/* faint rings in the corner */
.fz-core-updates::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  z-index: -1;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 14px, rgba(0, 0, 0, .06) 14px 15px);
}

/* notes stacked like phone notifications, they fan out on hover */
.fz-core-notes {
  position: relative;
  height: 96px;
}

.fz-core-note {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--fz-white);
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .45);
  transform-origin: top center;
  transition: transform .7s var(--fz-ease), opacity .5s ease;
}

.fz-core-note:nth-child(1) {
  z-index: 3;
}

.fz-core-note:nth-child(2) {
  z-index: 2;
  opacity: .75;
  transform: translateY(14px) scale(.92);
}

.fz-core-note:nth-child(3) {
  z-index: 1;
  opacity: .5;
  transform: translateY(26px) scale(.84);
}

.fz-core-note-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--fz-black);
  color: var(--fz-lime);
}

.fz-core-note-icon svg {
  width: 16px;
  height: 16px;
  animation: fz-core-spin 4s linear infinite;
}

.fz-core-note-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--fz-gray-2);
}

.fz-core-note-text b {
  font-size: 13px;
  font-weight: 600;
  color: var(--fz-heading);
}

.fz-core-note em {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 50px;
  background: var(--fz-periwinkle-2);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fz-white);
}

.fz-core-updates-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 6px 4px;
  transition: opacity .4s ease;
}

/* the fanned notes cover the title, so let it step back */

.fz-core-free {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--fz-black);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
  color: var(--fz-lime);
  transform: rotate(-12deg);
}

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

/*----- gsap: logo, a code line and the tween it describes -----*/
.fz-core-gsap {
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(160deg, #e6fff0, #f7fffa);
}

.fz-core-gsap-logo {
  width: 104px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #0e100f;
  box-sizing: content-box;
}

/* greensock mascot standing in the empty middle of the card */
.fz-core-gsap-hero {
  position: absolute;
  top: 26px;
  right: 18px;
  z-index: -1;
  width: 40%;
  max-width: 150px;
  filter: drop-shadow(0 10px 18px rgba(10, 228, 72, .35));
  transform: rotate(-6deg);
  transition: transform .8s var(--fz-ease);
}

.fz-core-gsap .fz-core-card-head {
  max-width: 62%;
}

.fz-core-tween code {
  display: block;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--fz-white);
  font: 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--fz-gray-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fz-core-tween code span { color: #0b9e35; font-weight: 700; }
.fz-core-tween code em { font-style: normal; color: var(--fz-periwinkle-2); }
.fz-core-tween code b { color: #d9480f; font-weight: 600; }

.fz-core-tween-track {
  position: relative;
  height: 52px;
  border: 1px dashed rgba(11, 158, 53, .35);
  border-radius: 14px;
}

.fz-core-tween-box {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #0ae448;
  box-shadow: 0 8px 18px -6px rgba(10, 228, 72, .8);
  animation: fz-core-tween 2.4s cubic-bezier(.65, 0, .35, 1) infinite alternate;
}

@keyframes fz-core-tween {
  from { left: 7px; transform: rotate(0deg); }
  to { left: calc(100% - 43px); transform: rotate(180deg); }
}

/*----- responsive: tablet with a phone in front -----*/
.fz-core-devices {
  padding-bottom: 0;
  background: linear-gradient(160deg, #eeebff, #f8f7ff);
}

.fz-core-pair {
  position: relative;
  height: 190px;
  margin-top: auto;
}

.fz-core-tablet,
.fz-core-phone {
  position: absolute;
  bottom: -30px;
  padding: 5px;
  background: #0e100f;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5);
  transition: transform .8s var(--fz-ease);
}

.fz-core-tablet {
  left: 0;
  width: 72%;
  border-radius: 16px;
}

.fz-core-phone {
  right: 4%;
  width: 34%;
  border-radius: 18px;
}

.fz-core-tablet img,
.fz-core-phone img {
  object-fit: cover;
  object-position: top;
}

.fz-core-tablet img {
  aspect-ratio: 4 / 3;
  border-radius: 11px;
}

.fz-core-phone img {
  aspect-ratio: 9 / 16;
  border-radius: 13px;
}

/*----- customize: colour dots and font picks -----*/
.fz-core-custom {
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(160deg, #fff4ea, #fffaf5);
}

/* the live brand values, swapped by faizi-demo.js */
.fz-core-brand {
  --brand: var(--fz-lime);
  --brand-text: #6d8f00;
  --brand-ink: #000;
  --brand-font: "Poppins", sans-serif;
  position: relative;
}

/* mini website that restyles itself with the picked color and font */
.fz-core-preview {
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--fz-white);
  box-shadow: 0 14px 30px -20px rgba(16, 18, 20, .35);
}

.fz-core-preview-bar {
  display: flex;
  gap: 4px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.fz-core-preview-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e2e2e8;
}

.fz-core-preview-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 3px solid var(--brand);
  transition: border-color .6s var(--fz-ease);
}

.fz-core-preview-title {
  font-family: var(--brand-font);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--brand-text);
  transition: color .6s var(--fz-ease);
}

.fz-core-preview-line {
  width: 80%;
  height: 6px;
  border-radius: 4px;
  background: #ececf1;
}

.fz-core-preview-btn {
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--brand);
  font-family: var(--brand-font);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-ink);
  transition: background .6s var(--fz-ease), color .6s var(--fz-ease);
}

/* quick pop whenever the font or color changes */
.fz-core-brand.is-swap .fz-core-preview-title,
.fz-core-brand.is-swap .fz-core-font-sample {
  animation: fz-core-swap .6s var(--fz-ease);
}

@keyframes fz-core-swap {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fz-core-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fz-core-dots i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
  transition: box-shadow .4s var(--fz-ease), transform .4s var(--fz-ease);
}

.fz-core-dots i.is-active {
  box-shadow: 0 0 0 3px var(--fz-white), 0 0 0 5px var(--fz-heading);
  transform: scale(.9);
}

/* cursor that "clicks" each swatch, moved by faizi-demo.js */
.fz-core-pointer {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 18px;
  height: 18px;
  fill: var(--fz-heading);
  stroke: var(--fz-white);
  stroke-width: 1.5;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25));
  transition: transform .8s var(--fz-ease);
  pointer-events: none;
}

.fz-core-fonts {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--fz-white);
}

.fz-core-font-sample {
  font-family: var(--brand-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-text);
  transition: color .6s var(--fz-ease);
}

.fz-core-font-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fz-core-font-list span {
  padding: 4px 10px;
  border-radius: 50px;
  background: #f4f2ee;
  font-size: 12px;
  color: var(--fz-gray-2);
}

.fz-core-font-list span {
  transition: background .4s var(--fz-ease), color .4s var(--fz-ease);
}

.fz-core-font-list span.is-active {
  background: var(--fz-heading);
  color: var(--fz-white);
}

/*----- rtl banner -----*/
/* dark, full width card under the grid: copy on one side, a mini site on the
   other that keeps flipping between its LTR face and its mirrored RTL face */
.fz-core-rtl {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 40px;
  min-height: 0;
  padding: 44px 48px;
  border-color: rgba(204, 255, 51, .25);
  background: #0e0f12;
  color: var(--fz-white);
}

/* lime and periwinkle light pooling behind the flipping site */
.fz-core-rtl::before,
.fz-core-rtl::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.fz-core-rtl::before {
  right: 12%;
  top: -30%;
  width: 420px;
  height: 320px;
  background: rgba(204, 255, 51, .28);
}

.fz-core-rtl::after {
  right: -6%;
  bottom: -40%;
  width: 380px;
  height: 320px;
  background: rgba(127, 123, 255, .35);
}

.fz-core-rtl-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 16px 5px 5px;
  border: 1px solid rgba(204, 255, 51, .4);
  border-radius: 50px;
  background: rgba(204, 255, 51, .08);
  font-weight: 600;
  font-size: 13px;
  color: var(--fz-lime);
}

.fz-core-rtl-pill .fz-rtl-icon {
  width: 26px;
  height: 26px;
}

.fz-core-rtl-pill .fz-rtl-icon svg {
  width: 12px;
  height: 12px;
}

.fz-core-rtl-title {
  margin-top: 22px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--fz-white);
}

.fz-core-rtl-title span {
  color: var(--fz-lime);
}

.fz-core-rtl-text {
  max-width: 440px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .68);
}

.fz-core-rtl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.fz-core-rtl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 50px;
  background: var(--fz-lime);
  font-weight: 600;
  font-size: 15px;
  color: var(--fz-black);
  transition: background-color .3s ease, color .3s ease;
}

.fz-core-rtl-btn svg {
  width: 12px;
  height: 12px;
  transition: transform .5s var(--fz-ease);
}

.fz-core-rtl-btn:hover {
  background: var(--fz-white);
}

.fz-core-rtl-btn:hover svg {
  transform: rotate(45deg);
}

.fz-core-rtl-count {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}

.fz-core-rtl-count b {
  font-family: var(--fz-font-heading);
  font-size: 26px;
  color: var(--fz-white);
}

/* the flipping mini site */
.fz-core-rtl-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  perspective: 1400px;
}

.fz-core-rtl-flip {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 16 / 10.5;
  transform-style: preserve-3d;
  animation: fz-rtl-flip 7s cubic-bezier(.7, 0, .2, 1) infinite;
}

/* hold the LTR face, turn over, hold the RTL face, turn over again */
@keyframes fz-rtl-flip {
  0%, 38% {
    transform: rotateY(0);
  }

  50%, 88% {
    transform: rotateY(180deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

.fz-core-rtl-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: #18191d;
  box-shadow: 0 40px 70px -25px rgba(0, 0, 0, .8);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.fz-core-rtl-face--back {
  border-color: rgba(204, 255, 51, .5);
  transform: rotateY(180deg);
}

.fz-mini-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 12px;
  background: #111214;
}

.fz-mini-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fz-lime);
}

.fz-mini-bar i:nth-child(2) {
  background: var(--fz-periwinkle);
}

.fz-mini-bar i:nth-child(3) {
  background: var(--fz-white);
}

/* margin-inline-start: auto lands on the far side in either direction */
.fz-mini-bar em {
  margin-inline-start: auto;
  padding: 2px 9px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  font-style: normal;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--fz-white);
}

.fz-core-rtl-face--back .fz-mini-bar em {
  background: var(--fz-lime);
  color: var(--fz-black);
}

.fz-mini-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 0;
}

.fz-mini-nav b {
  width: 46px;
  height: 12px;
  margin-inline-end: auto;
  border-radius: 6px;
  background: var(--fz-white);
}

.fz-mini-nav span {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .25);
}

.fz-mini-hero {
  display: flex;
  flex: 1;
  gap: 16px;
  padding: 18px;
}

.fz-mini-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.fz-mini-copy strong {
  font-family: var(--fz-font-heading);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  color: var(--fz-white);
}

.fz-core-rtl-face--back .fz-mini-copy strong {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--fz-lime);
}

.fz-mini-copy i {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .18);
}

.fz-mini-copy i + i {
  width: 70%;
}

.fz-mini-copy em {
  margin-top: auto;
  padding: 7px 14px;
  border-radius: 30px;
  background: var(--fz-lime);
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  color: var(--fz-black);
}

.fz-mini-img {
  flex: 0 0 38%;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--fz-periwinkle-2), #2a1fd0 60%, var(--fz-lime));
}

/* RTL scripts drifting around the card */
.fz-core-rtl-lang {
  position: absolute;
  z-index: 2;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 40px;
  background: rgba(24, 25, 29, .8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--fz-white);
  animation: fz-rtl-bob 5s ease-in-out infinite;
}

.fz-core-rtl-lang--1 {
  left: 0;
  top: 8%;
  color: var(--fz-lime);
}

.fz-core-rtl-lang--2 {
  right: 0;
  top: 18%;
  animation-delay: -1.2s;
}

.fz-core-rtl-lang--3 {
  left: 0;
  bottom: 14%;
  animation-delay: -2.5s;
}

.fz-core-rtl-lang--4 {
  right: 0;
  bottom: 4%;
  color: var(--fz-lime);
  animation-delay: -3.6s;
}

@keyframes fz-rtl-bob {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 991px) {
  .fz-core-rtl {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 36px 32px;
  }
}

@media (max-width: 575px) {
  .fz-core-rtl {
    padding: 30px 20px 26px;
  }

  .fz-core-rtl-stage {
    min-height: 300px;
  }

  /* a little taller and tighter inside, so the whole mini page fits */
  .fz-core-rtl-flip {
    width: 88%;
    aspect-ratio: 16 / 11.5;
  }

  .fz-mini-nav {
    padding: 10px 12px 0;
  }

  .fz-mini-hero {
    gap: 10px;
    padding: 12px;
  }

  .fz-mini-copy {
    gap: 7px;
  }

  .fz-mini-copy strong {
    font-size: 17px;
  }

  .fz-mini-copy em {
    padding: 5px 10px;
    font-size: 10px;
  }

  /* the chips move to the corners of the stage, above and below the card */
  .fz-core-rtl-lang {
    padding: 5px 11px;
    font-size: 12px;
  }

  .fz-core-rtl-lang--1,
  .fz-core-rtl-lang--2 {
    top: 0;
  }

  .fz-core-rtl-lang--3,
  .fz-core-rtl-lang--4 {
    bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .fz-core-rtl-flip,
  .fz-core-rtl-lang {
    animation: none;
  }
}

@media (max-width: 1199px) {
  .fz-core-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fz-core-main {
    grid-column: span 2;
    grid-row: auto;
    min-height: 600px;
  }
}

@media (max-width: 767px) {
  .fz-core-panel {
    border-radius: 28px;
  }

  .fz-core-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .fz-core-main {
    grid-column: auto;
    min-height: 0;
    padding: 28px 20px 0;
  }

  .fz-core-browser-view {
    height: 220px;
  }

  .fz-core-mobile-view {
    height: 180px;
  }

  .fz-core-homes button {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fz-core-note-icon svg,
  .fz-core-tween-box {
    animation: none;
  }
}

/* support links */
.fz-help {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.fz-help-card {
  --fz-help-color: var(--fz-lime);
  --x: 50%;
  --y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 30px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 28px;
  color: var(--fz-heading);
  transition: transform .6s var(--fz-ease), border-color .4s ease;
}

.fz-help-card--violet {
  --fz-help-color: var(--fz-periwinkle);
}

.fz-help-card--mint {
  --fz-help-color: var(--fz-accent);
}

/* glow that follows the cursor */
.fz-help-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--x) var(--y), color-mix(in srgb, var(--fz-help-color) 22%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
}

/* soft colour blob in the corner */
.fz-help-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  z-index: -2;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--fz-help-color);
  filter: blur(80px);
  opacity: .18;
  transition: opacity .4s ease, transform .6s var(--fz-ease);
}

.fz-help-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--fz-help-color) 55%, transparent);
}

.fz-help-card:hover::before {
  opacity: 1;
}

.fz-help-card:hover::after {
  opacity: .35;
  transform: scale(1.3);
}

.fz-help-num {
  position: absolute;
  top: 26px;
  right: 30px;
  font-family: var(--fz-font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, .12);
  transition: -webkit-text-stroke-color .4s ease;
}

.fz-help-card:hover .fz-help-num {
  -webkit-text-stroke-color: var(--fz-help-color);
}

.fz-help-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 44px;
  border-radius: 20px;
  background: var(--fz-help-color);
  color: var(--fz-black);
  box-shadow: 0 12px 34px -10px var(--fz-help-color);
  transition: transform .6s var(--fz-ease);
}

.fz-help-icon svg {
  width: 28px;
  height: 28px;
}

.fz-help-card:hover .fz-help-icon {
  transform: rotate(-8deg) scale(1.06);
}

.fz-help-title {
  margin-bottom: 12px;
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fz-heading);
}

.fz-help-text {
  margin-bottom: 34px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fz-gray-2);
}

.fz-help-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px dashed rgba(0, 0, 0, .15);
  font-size: 15px;
  font-weight: 500;
  color: var(--fz-heading);
}

.fz-help-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 50%;
  transition: background .4s ease, border-color .4s ease, color .4s ease, transform .6s var(--fz-ease);
}

.fz-help-arrow svg {
  width: 18px;
  height: 18px;
}

.fz-help-card:hover .fz-help-arrow {
  border-color: var(--fz-help-color);
  background: var(--fz-help-color);
  color: var(--fz-black);
  transform: rotate(45deg);
}

@media (max-width: 1199px) {
  .fz-help-card {
    padding: 30px 24px 24px;
  }

  .fz-help-num {
    font-size: 52px;
  }
}

@media (max-width: 991px) {
  .fz-help {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .fz-help-icon {
    margin-bottom: 32px;
  }
}

/* faq */
.fz-ask {
  background: #f4f3ff;
}

.fz-ask-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.fz-ask-intro .fz-section-text {
  margin-bottom: 40px;
}

.fz-ask-contact {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px 12px 12px;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 100px;
  background: var(--fz-white);
  transition: border-color .4s ease, transform .6s var(--fz-ease);
}

.fz-ask-contact:hover {
  border-color: var(--fz-periwinkle-2);
  transform: translateY(-4px);
}

.fz-ask-contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--fz-grad-light);
  color: var(--fz-white);
}

.fz-ask-contact-icon svg {
  width: 22px;
  height: 22px;
}

.fz-ask-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fz-ask-contact-text small {
  font-size: 13px;
  color: var(--fz-gray-2);
}

.fz-ask-contact-text strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--fz-heading);
  overflow-wrap: anywhere;
}

.fz-ask-list {
  border-top: 1px solid rgba(0, 0, 0, .12);
}

.fz-ask-item {
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}

/* line that grows under the open question */
.fz-ask-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--fz-grad-light);
  transition: width .8s var(--fz-ease);
}

.fz-ask-item.is-open::after {
  width: 100%;
}

.fz-ask-toggle {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 30px 0;
  border: 0;
  background: none;
  text-align: left;
  color: var(--fz-heading);
  cursor: pointer;
}

.fz-ask-index {
  flex-shrink: 0;
  font-family: var(--fz-font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fz-gray-2);
  transition: color .4s ease;
}

.fz-ask-question {
  flex: 1;
  font-family: var(--fz-font-heading);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color .4s ease;
}

.fz-ask-toggle:hover .fz-ask-question,
.fz-ask-item.is-open .fz-ask-question,
.fz-ask-item.is-open .fz-ask-index {
  color: var(--fz-periwinkle-2);
}

/* plus that turns into a cross */
.fz-ask-sign {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 50%;
  transition: background .4s ease, border-color .4s ease, transform .6s var(--fz-ease);
}

.fz-ask-sign::before,
.fz-ask-sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--fz-heading);
  transform: translate(-50%, -50%);
  transition: background .4s ease;
}

.fz-ask-sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.fz-ask-item.is-open .fz-ask-sign {
  border-color: transparent;
  background: var(--fz-periwinkle-2);
  transform: rotate(135deg);
}

.fz-ask-item.is-open .fz-ask-sign::before,
.fz-ask-item.is-open .fz-ask-sign::after {
  background: var(--fz-white);
}

/* height animates through the grid row */
.fz-ask-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .6s var(--fz-ease);
}

.fz-ask-item.is-open .fz-ask-panel {
  grid-template-rows: 1fr;
}

.fz-ask-answer {
  overflow: hidden;
}

.fz-ask-answer p {
  max-width: 600px;
  padding: 0 70px 30px 42px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fz-gray-2);
}

@media (max-width: 991px) {
  .fz-ask-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .fz-ask-toggle {
    gap: 14px;
    padding: 24px 0;
  }

  .fz-ask-sign {
    width: 38px;
    height: 38px;
  }

  .fz-ask-answer p {
    padding: 0 0 24px;
  }
}

.fz-cta {
  text-align: center;
}

.fz-cta-asterisk {
  width: clamp(60px, 7vw, 100px);
  margin: 0 auto 40px;
}

.fz-cta-title {
  margin: 20px auto 44px;
  max-width: 1100px;
  font-size: clamp(36px, 6.4vw, 100px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--fz-white);
}

.fz-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.fz-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(90px, 10vw, 150px);
  padding-block: 30px;
  border-top: 1px dashed rgba(255, 255, 255, .18);
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
}

.fz-footer-bottom img {
  width: 100px;
}

.fz-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.fz-footer-links a:hover {
  color: var(--fz-lime);
}

/*=========== back to top ============*/
.fz-back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 98;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--fz-lime);
  color: var(--fz-black);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: .3s linear;
}

.fz-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/*=========== responsive ============*/
@media (max-width: 1399px) {
  .fz-nav ul {
    gap: 30px;
  }
}

@media (max-width: 1199px) {
  .fz-nav ul {
    gap: 20px;
  }

  .fz-nav a {
    font-size: 15px;
  }

  .fz-hero-meta {
    grid-template-columns: 1fr 1fr;
  }

  .fz-hero-intro {
    grid-column: 1 / -1;
  }

  .fz-hero-text {
    max-width: 640px;
  }

  .fz-inner-grid,
  .fz-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .fz-menu-toggle {
    display: flex;
  }

  .fz-nav {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    padding: 24px;
    border-radius: 16px;
    background: #0c0c0c;
    border: 1px solid rgba(255, 255, 255, .1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .3s ease;
  }

  .fz-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .fz-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .fz-section-head,
  .fz-statement-inner {
    grid-template-columns: 1fr;
  }

  .fz-demo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 46px 24px;
  }
}

@media (max-width: 767px) {
  .fz-hero-homes {
    gap: 8px;
    margin-top: 32px;
  }

  .fz-hero-homes a {
    padding: 5px 12px 5px 5px;
    font-size: 13px;
  }

  .fz-hero-homes b {
    width: 24px;
    height: 24px;
  }

  .fz-hero-homes-rtl svg {
    width: 12px;
    height: 12px;
  }

  .fz-hero-badge-note {
    display: none;
  }

  .fz-hero-meta {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 40px;
  }

  .fz-hero-tile {
    padding: 20px;
    border-radius: 18px;
  }

  .fz-line--indent {
    padding-left: 0;
  }

  .fz-inner-grid,
  .fz-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 14px;
  }

  .fz-feature-grid {
    gap: 12px;
  }

  .fz-feature {
    min-height: 170px;
  }

  .fz-feature:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .fz-inner-grid {
    gap: 14px;
  }

  .fz-inner-card {
    padding: 7px;
    border-radius: 16px;
  }

  .fz-inner-card .fz-card-url {
    display: none;
  }

  .fz-inner-card .fz-card-meta {
    padding: 12px 4px 4px;
  }

  .fz-inner-card .fz-card-name {
    font-size: 14px;
  }

  .fz-inner-card .fz-card-cat {
    font-size: 12px;
  }

  .fz-inner-card .fz-card-arrow {
    width: 30px;
    height: 30px;
  }

  .fz-device-tablet {
    width: 28%;
    padding: 6px;
    border-radius: 14px;
  }

  .fz-device-tablet img {
    border-radius: 9px;
  }

  .fz-device-phone {
    width: 19%;
    padding: 4px;
    border-radius: 16px;
  }

  .fz-device-phone img {
    border-radius: 12px;
  }

  .fz-laptop-screen {
    padding: 7px 7px 10px;
    border-radius: 12px 12px 0 0;
  }

  .fz-laptop-base {
    height: 10px;
  }

  .fz-footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .fz-demo-more {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px;
  }
}

@media (max-width: 575px) {
  .fz-header-actions .fz-btn {
    display: none;
  }

  .fz-demo-grid {
    grid-template-columns: 1fr;
  }

  .fz-hero-stats strong {
    font-size: 32px;
  }

  .fz-hero-stats li + li {
    padding-left: 14px;
  }

  .fz-hero-stat-label {
    font-size: 12px;
  }
}

@media (hover: none) {
  .fz-card-view {
    display: none;
  }

  /* no hover on touch screens: keep both demo buttons in the thumb's free
     top-left corner, clear of the tag (top right) and figma label (bottom left) */
  .fz-demo-view {
    inset: 12px auto auto 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
  }

  .fz-demo-btn {
    gap: 7px;
    padding: 8px 14px;
    font-size: 12px;
    transform: none;
  }

  .fz-demo-btn svg {
    width: 11px;
    height: 11px;
  }

  /* inner thumbs carry no figma label, so the buttons go to the bottom and
     leave the page title at the top in view */
  .fz-inner-card .fz-demo-view {
    inset: auto auto 8px 8px;
    gap: 5px;
    padding: 0;
  }

  .fz-inner-card .fz-demo-btn {
    gap: 5px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .fz-inner-card .fz-demo-btn svg {
    width: 9px;
    height: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .fz-rotate,
  .fz-marquee-track,
  .fz-marquee-group img,
  .fz-rtl-icon svg,
  .fz-hero-homes-rtl svg {
    animation: none;
  }

  .fz-show-card,
  .fz-show-rtl,
  .fz-show-screen::after {
    transition: none;
  }

  .fz-card-thumb img,
  .fz-demo-card:not(.fz-demo-card--soon) .fz-card-thumb img,
  .fz-inner-card .fz-card-thumb img,
  .fz-demo-btn,
  .fz-roll span {
    transition: none;
  }

  .fz-demo-card--soon .fz-card-thumb::before,
  .fz-soon-glow,
  .fz-soon-icon::after,
  .fz-soon-icon svg {
    animation: none;
  }
}

/*-----------------------------------------------------------------
  preloader (same as the main template)
-----------------------------------------------------------------*/
/* map the main template's colour and font tokens onto this page's */
.pt-preloader {
  --pt-body-color: var(--fz-body);
  --pt-lime-color: var(--fz-lime);
  --pt-white-color: var(--fz-white);
  --pt-font-heading: "Inter", sans-serif;
}

/*=========== site preloader ============*/
.pt-preloader {
  --pt-progress: 0%;
  --pt-progress-n: 0;
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pt-preloader__panels {
  position: absolute;
  inset: 0;
  display: flex;
}
.pt-preloader__panels span {
  flex: 1 1 0;
  height: 100%;
  background: var(--pt-body-color);
  margin-right: -1px;
}
.pt-preloader__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pt-preloader__content::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  width: 420px;
  height: 220px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--pt-lime-color);
  opacity: 0.08;
  filter: blur(80px);
  pointer-events: none;
}
@media (max-width: 767px) {
  .pt-preloader__content::before {
    width: 240px;
    height: 140px;
  }
}
.pt-preloader__brand {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0 0.04em;
  font-family: var(--pt-font-heading);
  font-size: 170px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.05em;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .pt-preloader__brand {
    font-size: 130px;
  }
}
@media (max-width: 767px) {
  .pt-preloader__brand {
    font-size: 80px;
  }
}
.pt-preloader__word {
  position: relative;
  display: block;
  animation: pt-preloader-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.pt-preloader__outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
}
.pt-preloader__fill {
  position: absolute;
  inset: 0;
  color: var(--pt-white-color);
  clip-path: inset(calc(100% - var(--pt-progress)) 0 0 0);
  transition: clip-path 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.pt-preloader__dot {
  --pt-dot-size: 22px;
  --pt-dot-start: 48px;
  position: absolute;
  z-index: 3;
  top: var(--pt-dot-top, 50%);
  left: calc(var(--pt-dot-start) + (var(--pt-dot-end, 50%) - var(--pt-dot-start)) * var(--pt-progress-n));
  width: var(--pt-dot-size);
  height: var(--pt-dot-size);
  transition: left 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  animation: pt-preloader-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .pt-preloader__dot {
    --pt-dot-size: 17px;
    --pt-dot-start: 32px;
  }
}
@media (max-width: 767px) {
  .pt-preloader__dot {
    --pt-dot-size: 12px;
    --pt-dot-start: 20px;
  }
}
.pt-preloader__dot::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: calc(var(--pt-dot-size) * 4);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(204, 255, 51, 0) 0%, rgba(204, 255, 51, 0.35) 55%, var(--pt-lime-color) 100%);
  transform-origin: right center;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.5s ease, box-shadow 0.5s ease;
}
.pt-preloader__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--pt-lime-color);
  opacity: 0;
  pointer-events: none;
}
.pt-preloader__dot.is-arrived::before {
  width: 100%;
  background: var(--pt-lime-color);
  box-shadow: 0 0 22px rgba(204, 255, 51, 0.55);
  transform-origin: center;
  animation: pt-preloader-land 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s both;
}
.pt-preloader__dot.is-arrived::after {
  animation: pt-preloader-ripple 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}
.pt-preloader__line {
  position: relative;
  width: 280px;
  height: 2px;
  margin-top: 36px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}
@media (max-width: 767px) {
  .pt-preloader__line {
    width: 210px;
    margin-top: 28px;
  }
}
.pt-preloader__progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--pt-progress);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(204, 255, 51, 0), var(--pt-lime-color));
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.pt-preloader__progress::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--pt-lime-color);
  box-shadow: 0 0 14px 2px rgba(204, 255, 51, 0.7);
}
.pt-preloader__meta {
  width: 280px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--pt-font-heading);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
@media (max-width: 767px) {
  .pt-preloader__meta {
    width: 210px;
    font-size: 11px;
  }
}
.pt-preloader__count {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--pt-white-color);
}
.pt-preloader__count sup {
  margin-left: 2px;
  font-size: 0.75em;
  color: var(--pt-lime-color);
}

@keyframes pt-preloader-rise {
  from {
    transform: translateY(110%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes pt-preloader-pulse {
  0%, 100% {
    box-shadow: 0 0 24px rgba(204, 255, 51, 0.6);
  }
  50% {
    box-shadow: 0 0 8px rgba(204, 255, 51, 0.2);
  }
}
@keyframes pt-preloader-land {
  0% {
    transform: scale(1.35, 0.7);
  }
  40% {
    transform: scale(0.88, 1.12);
  }
  70% {
    transform: scale(1.04, 0.97);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes pt-preloader-ripple {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

/*-----------------------------------------------------------------
  intro video
-----------------------------------------------------------------*/
.fz-video {
}

.fz-video-frame {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 28px;
  background: var(--fz-white);
  box-shadow: 0 40px 80px -50px rgba(16, 18, 20, .45);
}

/* the poster is styled like a frame of the film itself: tilted wall of
   pages, film HUD in the corners, wordmark with the lime dot. Sizes use
   container units so everything scales with the frame */
.fz-video-poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  color: var(--fz-white);
  background: #09090a;
  isolation: isolate;
  container-type: inline-size;
}

/* tilted wall of screenshots */
.fz-vp-wall {
  position: absolute;
  inset: 0;
  z-index: -3;
  perspective: 300cqw;
}

.fz-vp-wall-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  gap: 2cqw;
  width: 160cqw;
  height: 140cqw;
  margin: -70cqw 0 0 -80cqw;
  transform: rotateX(48deg) rotateZ(-28deg);
  transition: transform 1.2s var(--fz-ease);
}

.fz-video-poster:hover .fz-vp-wall-inner {
  transform: rotateX(48deg) rotateZ(-28deg) scale(1.05);
}

.fz-vp-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2cqw;
  animation: fz-video-drift 30s linear infinite alternate;
}

.fz-vp-col:nth-child(even) {
  animation-direction: alternate-reverse;
}

.fz-vp-col img {
  width: 100%;
  border-radius: .9cqw;
  opacity: .6;
  box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, .5);
}

/* darken the centre, glow in the corners, fine grid on top */
.fz-vp-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 52% 58% at 50% 50%, rgba(9, 9, 10, .97) 0%, rgba(9, 9, 10, .88) 50%, rgba(9, 9, 10, .55) 100%),
    radial-gradient(40cqw 30cqw at 88% 0%, rgba(204, 255, 51, .14), transparent 70%),
    radial-gradient(40cqw 30cqw at 6% 100%, rgba(129, 129, 255, .16), transparent 70%);
}

.fz-vp-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 12.5cqw 16.6667%;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* film HUD: glass pills on top, a player bar along the bottom */
.fz-vp-hud {
  position: absolute;
  inset: 0;
  font-size: max(10px, 1cqw);
  color: rgba(255, 255, 255, .8);
}

.fz-vp-glass,
.fz-vp-chip {
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.fz-vp-tl {
  position: absolute;
  left: 3cqw;
  top: 3cqw;
  display: flex;
  align-items: center;
  gap: 1cqw;
  padding: .8cqw 1.4cqw .8cqw 1cqw;
  border-radius: 99px;
}

.fz-vp-brand {
  display: flex;
  align-items: center;
  gap: .6cqw;
  font-family: var(--fz-font-display);
  font-size: max(12px, 1.35cqw);
  font-weight: 700;
  color: var(--fz-white);
}

.fz-vp-brand img {
  width: max(12px, 1.3cqw);
  animation: fz-video-spin 12s linear infinite;
}

.fz-vp-sep {
  width: 1px;
  height: 1.4cqw;
  background: rgba(255, 255, 255, .2);
}

.fz-vp-kind {
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

.fz-vp-tr {
  position: absolute;
  right: 3cqw;
  top: 3cqw;
  display: flex;
  gap: .7cqw;
}

.fz-vp-chip {
  display: flex;
  align-items: center;
  gap: .6cqw;
  padding: .8cqw 1.3cqw;
  border-radius: 99px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fz-vp-chip svg {
  width: max(11px, 1.2cqw);
  height: auto;
  color: var(--fz-lime);
}

.fz-vp-chip b {
  padding: .25cqw .55cqw;
  border-radius: 6px;
  font-size: .85em;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--fz-black);
  background: var(--fz-lime);
}

/* credit pill, bottom right */
.fz-vp-br {
  position: absolute;
  right: 3cqw;
  bottom: 3cqw;
  display: flex;
  align-items: center;
  gap: .6cqw;
  padding: .8cqw 1.4cqw;
  border-radius: 99px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.fz-vp-br img {
  width: max(14px, 1.6cqw);
}

.fz-vp-br b {
  font-family: var(--fz-font-display);
  font-weight: 700;
  font-size: 1.15em;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fz-white);
}

/* centre: wordmark with the lime dot, tagline, play */
.fz-vp-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fz-vp-word {
  display: flex;
  align-items: flex-end;
  font-family: var(--fz-font-display);
  font-size: 13cqw;
  font-weight: 700;
  line-height: .9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.fz-vp-word i {
  width: 2.1cqw;
  height: 2.1cqw;
  margin: 0 0 1.6cqw 1cqw;
  border-radius: 50%;
  background: var(--fz-lime);
  box-shadow: 0 0 3cqw rgba(204, 255, 51, .6);
}

.fz-vp-tag {
  margin-top: 1.6cqw;
  font-size: max(12px, 1.7cqw);
  color: rgba(255, 255, 255, .8);
}

/* play button inside a slowly turning ring of text */
.fz-vp-cta {
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: grid;
  place-items: center;
  width: 13cqw;
  height: 13cqw;
  min-width: 96px;
  min-height: 96px;
  margin-top: 2.6cqw;
}

.fz-vp-ring {
  position: absolute;
  inset: 0;
  animation: fz-video-spin 14s linear infinite;
}

.fz-vp-ring svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.fz-vp-ring text {
  font-family: var(--fz-font-body);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  fill: rgba(255, 255, 255, .75);
}

.fz-vp-ring circle {
  fill: none;
  stroke: rgba(255, 255, 255, .1);
}

.fz-vp-cta:focus-visible {
  outline: 2px solid var(--fz-lime);
  outline-offset: 6px;
}

.fz-vp-cta:hover .fz-vp-ring,
.fz-vp-cta:focus-visible .fz-vp-ring {
  animation-duration: 6s;
}

.fz-video-play {
  position: relative;
  display: grid;
  place-items: center;
  width: 46%;
  height: 46%;
  padding-left: 4%;
  border-radius: 50%;
  color: var(--fz-black);
  background: var(--fz-lime);
  box-shadow: 0 0 3cqw rgba(204, 255, 51, .5);
  transition: transform .5s var(--fz-ease);
}

.fz-video-play svg {
  width: 30%;
  height: auto;
}

/* rings rippling out of the button */
.fz-video-play::before,
.fz-video-play::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--fz-lime);
  animation: fz-video-ring 2.4s cubic-bezier(0, 0, .2, 1) infinite;
}

.fz-video-play::after {
  animation-delay: 1.2s;
}

.fz-vp-cta:hover .fz-video-play,
.fz-vp-cta:focus-visible .fz-video-play {
  transform: scale(1.12);
}

.fz-video-note {
  margin-top: 26px;
  text-align: center;
  font-size: 16px;
  color: var(--fz-gray-2);
}

/* popup player */
.fz-video-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 18, 20, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
}

.fz-video-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease, visibility 0s;
}

.fz-video-modal-box {
  position: relative;
  width: min(1100px, 100%);
  transform: scale(.92) translateY(20px);
  transition: transform .5s var(--fz-ease);
}

.fz-video-modal.is-open .fz-video-modal-box {
  transform: none;
}

.fz-video-modal-frame {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .55);
}

.fz-video-modal video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

/* sits on the top-right corner of the video */
.fz-video-close {
  position: absolute;
  top: -22px;
  right: -22px;
  z-index: 1;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--fz-black);
  background: var(--fz-lime);
  transition: transform .4s var(--fz-ease);
}

.fz-video-close:hover {
  transform: rotate(90deg);
}

@keyframes fz-video-drift {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-25%);
  }
}

@keyframes fz-video-ring {
  0% {
    transform: scale(1);
    opacity: .8;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

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

@media (max-width: 767px) {
  .fz-video-frame {
    padding: 6px;
    border-radius: 18px;
  }

  .fz-video-poster {
    border-radius: 14px;
  }

  /* a phone has room for the brand pill, the word and the button only */
  .fz-vp-tr,
  .fz-vp-sep,
  .fz-vp-kind {
    display: none !important;
  }

  .fz-vp-center {
    inset: 0;
  }

  .fz-video-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .fz-vp-col,
  .fz-vp-ring,
  .fz-vp-brand img,
  .fz-video-play::before,
  .fz-video-play::after {
    animation: none;
  }
}

/*=========== toolkit (bento) ============*/
.fz-kit {
  background: var(--fz-white);
}

.fz-kit-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.fz-kit-head .fz-section-text {
  max-width: 420px;
  margin-top: 0;
}

/* six equal cards, three per row */
.fz-kit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fz-kit-card {
  --kit-tint: rgba(71, 52, 247, .10);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 360px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 28px;
  background: var(--fz-gray);
  color: var(--fz-heading);
}

/* soft colored wash in the corner of each card */
.fz-kit-card::before {
  content: "";
  position: absolute;
  right: -30%;
  top: -40%;
  z-index: -1;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--kit-tint);
  filter: blur(60px);
}

.fz-kit-card--depth {
  --kit-tint: rgba(255, 140, 60, .2);
}

.fz-kit-card--rtl,
.fz-kit-card--help {
  --kit-tint: rgba(204, 255, 51, .35);
}

.fz-kit-card--popup {
  --kit-tint: rgba(255, 114, 98, .18);
}

.fz-kit-visual {
  position: relative;
  flex: 1;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 20px;
  background: var(--fz-white);
}

.fz-kit-info {
  padding: 22px 12px 10px;
}

.fz-kit-tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fz-periwinkle-2);
}

.fz-kit-title {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: inherit;
}

.fz-kit-info p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fz-gray-2);
}

/*----- figma -----*/
.fz-kit-figma {
  display: flex;
  background: #f3f3f6;
}

.fz-kit-fig-side {
  flex: 0 0 150px;
  padding: 18px 14px;
  border-right: 1px solid rgba(0, 0, 0, .06);
  background: var(--fz-white);
}

.fz-kit-fig-logo {
  width: 20px;
  height: auto;
  margin-bottom: 18px;
}

.fz-kit-fig-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fz-gray-2);
}

.fz-kit-fig-side li {
  position: relative;
  padding: 6px 8px 6px 24px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--fz-heading);
}

/* the little frame icon */
.fz-kit-fig-side li::before {
  content: "#";
  position: absolute;
  left: 8px;
  color: var(--fz-gray-2);
}

.fz-kit-fig-side li.is-active {
  background: rgba(71, 52, 247, .1);
  color: var(--fz-periwinkle-2);
}

.fz-kit-fig-canvas {
  position: relative;
  flex: 1;
  overflow: hidden;
  background-image: radial-gradient(rgba(0, 0, 0, .12) 1px, transparent 1px);
  background-size: 16px 16px;
}

.fz-kit-frame {
  position: absolute;
  width: 62%;
  aspect-ratio: 16 / 11;
  border-radius: 8px;
  background: var(--fz-white);
  box-shadow: 0 18px 40px -20px rgba(16, 18, 20, .35);
}

.fz-kit-frame img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: top;
}

.fz-kit-frame--1 {
  left: 6%;
  top: 10%;
}

.fz-kit-frame--2 {
  left: 22%;
  top: 36%;
  z-index: 2;
  outline: 2px solid var(--fz-periwinkle-2);
  outline-offset: 3px;
}

.fz-kit-frame--2 span {
  position: absolute;
  left: 50%;
  bottom: -32px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--fz-periwinkle-2);
  font-size: 11px;
  font-weight: 500;
  color: var(--fz-white);
  white-space: nowrap;
  transform: translateX(-50%);
}

.fz-kit-frame--3 {
  right: -40%;
  top: 6%;
}

.fz-kit-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  animation: fz-kit-cursor 7s var(--fz-ease) infinite;
}

.fz-kit-cursor svg {
  width: 18px;
  height: 18px;
  fill: #ff7262;
  stroke: var(--fz-white);
  stroke-width: 1.5;
}

.fz-kit-cursor span {
  margin: 14px 0 0 -2px;
  padding: 3px 8px;
  border-radius: 4px 10px 10px 10px;
  background: #ff7262;
  font-size: 11px;
  font-weight: 500;
  color: var(--fz-white);
}

@keyframes fz-kit-cursor {
  0%, 100% {
    transform: translate(40px, 150px);
  }

  33% {
    transform: translate(230px, 60px);
  }

  66% {
    transform: translate(150px, 190px);
  }
}

/*----- parallax -----*/
.fz-kit-depth {
  --kit-progress: 0;
  border: 0;
}

/* 130% tall like the theme, scrubbed upward by faizi-demo.js as the card scrolls */
.fz-kit-depth img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}

.fz-kit-depth::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 18, 20, .35) 100%);
  pointer-events: none;
}

.fz-kit-depth-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
  color: var(--fz-heading);
}

.fz-kit-depth-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fz-periwinkle-2);
  animation: fz-kit-blink 1.6s ease-in-out infinite;
}

@keyframes fz-kit-blink {
  50% {
    opacity: .3;
  }
}

/* thin bar on the right that fills as the parallax runs */
.fz-kit-depth-bar {
  position: absolute;
  right: 14px;
  top: 14px;
  bottom: 14px;
  z-index: 1;
  width: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .35);
  overflow: hidden;
}

.fz-kit-depth-bar i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--fz-white);
  transform: scaleY(var(--kit-progress));
  transform-origin: top;
}

/*----- rtl -----*/
.fz-kit-rtl {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 18px 0;
}

.fz-kit-rtl-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-self: center;
  width: 140px;
  padding: 4px;
  border-radius: 50px;
  background: var(--fz-gray);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.fz-kit-rtl-switch span {
  position: relative;
  z-index: 1;
  padding: 6px 0;
}

.fz-kit-rtl-switch i {
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  border-radius: 50px;
  background: var(--fz-white);
  box-shadow: 0 4px 12px -4px rgba(16, 18, 20, .25);
  animation: fz-kit-switch 5s var(--fz-ease) infinite;
}

/* both lines share one grid cell and take turns */
.fz-kit-rtl-text {
  display: grid;
}

.fz-kit-rtl-text p {
  grid-area: 1 / 1;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fz-gray-2);
}

.fz-kit-rtl-text b {
  display: block;
  margin-bottom: 2px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fz-heading);
}

.fz-kit-rtl-en {
  text-align: left;
  animation: fz-kit-en 5s var(--fz-ease) infinite;
}

.fz-kit-rtl-ar {
  text-align: right;
  font-family: Tahoma, "Segoe UI", sans-serif;
  opacity: 0;
  animation: fz-kit-ar 5s var(--fz-ease) infinite;
}

.fz-kit-rtl-ar b {
  font-family: inherit;
  letter-spacing: 0;
  color: var(--fz-periwinkle-2);
}

@keyframes fz-kit-switch {
  0%, 40%, 100% {
    transform: translateX(0);
  }

  50%, 90% {
    transform: translateX(100%);
  }
}

@keyframes fz-kit-en {
  0%, 40%, 100% {
    opacity: 1;
    transform: translateX(0);
  }

  50%, 90% {
    opacity: 0;
    transform: translateX(-20px);
  }
}

@keyframes fz-kit-ar {
  0%, 40%, 100% {
    opacity: 0;
    transform: translateX(20px);
  }

  50%, 90% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* dotted world map with language pins */
.fz-kit-map {
  position: relative;
  width: 100%;
  aspect-ratio: 360 / 138;
}

.fz-kit-map img {
  display: block;
  width: 100%;
  height: 100%;
}

/* dashed routes that flow from pin to pin */
.fz-kit-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--fz-periwinkle-2);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 4 4;
  opacity: .55;
}

.fz-kit-routes path {
  vector-effect: non-scaling-stroke;
  animation: fz-kit-route 1.6s linear infinite;
}

@keyframes fz-kit-route {
  to {
    stroke-dashoffset: -16;
  }
}

.fz-kit-pin {
  position: absolute;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 2px solid var(--fz-white);
  border-radius: 50%;
  background: var(--fz-periwinkle-2);
  box-shadow: 0 2px 6px rgba(71, 52, 247, .4);
  transform: translate(-50%, -50%);
}

/* language code tag above each pin */
.fz-kit-pin::before {
  content: attr(data-lang);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--fz-heading);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .04em;
  color: var(--fz-white);
  transform: translateX(-50%);
}

.fz-kit-pin--rtl::before {
  background: var(--fz-lime);
  color: var(--fz-heading);
}

.fz-kit-pin::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--fz-periwinkle-2);
  animation: fz-kit-ping 2s ease-out infinite;
}

.fz-kit-pin:nth-of-type(2)::after {
  animation-delay: .5s;
}

.fz-kit-pin:nth-of-type(3)::after {
  animation-delay: 1s;
}

.fz-kit-pin:nth-of-type(4)::after {
  animation-delay: 1.5s;
}

.fz-kit-pin:nth-of-type(5)::after {
  animation-delay: .75s;
}

.fz-kit-pin--rtl,
.fz-kit-pin--rtl::after {
  background: #84cc16;
}

@keyframes fz-kit-ping {
  0% {
    opacity: .6;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(3.2);
  }
}

/* language tray: chips with a code badge, faded at both ends */
.fz-kit-langs {
  position: relative;
  margin: auto -6px 12px;
  padding: 8px 0;
  border-radius: 50px;
  background: var(--fz-gray);
  box-shadow: inset 0 1px 3px rgba(16, 18, 20, .06);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.fz-kit-langs-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: fz-kit-marquee 18s linear infinite;
}

.fz-kit-langs-track span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 4px;
  border-radius: 50px;
  background: var(--fz-white);
  box-shadow: 0 4px 10px -6px rgba(16, 18, 20, .3);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--fz-heading);
}

.fz-kit-langs-track em {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(71, 52, 247, .1);
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--fz-periwinkle-2);
}

.fz-kit-langs-track .is-rtl em {
  background: var(--fz-lime);
  color: var(--fz-heading);
}

@keyframes fz-kit-marquee {
  to {
    transform: translateX(calc(-50% - 4px));
  }
}

/*----- text motion -----*/
.fz-kit-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: linear-gradient(180deg, #f2f0ff 0%, var(--fz-white) 100%);
}

/* chrome 3d shapes from the theme, floating around the word */
.fz-kit-shape {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 14px 18px rgba(71, 52, 247, .25));
  animation: fz-kit-float 6s ease-in-out infinite;
  pointer-events: none;
}

.fz-kit-shape--1 {
  left: 5%;
  top: 7%;
  width: 56px;
  --r: -18deg;
}

.fz-kit-shape--2 {
  right: 3%;
  bottom: 3%;
  width: 70px;
  --r: 24deg;
  animation-duration: 7s;
  animation-delay: -2s;
}

.fz-kit-shape--3 {
  right: 16%;
  top: 10%;
  width: 34px;
  --r: 40deg;
  opacity: .85;
  filter: blur(1px) drop-shadow(0 8px 10px rgba(71, 52, 247, .2));
  animation-duration: 5s;
  animation-delay: -1s;
}

@keyframes fz-kit-float {
  0%, 100% {
    transform: translateY(0) rotate(var(--r));
  }

  50% {
    transform: translateY(-14px) rotate(calc(var(--r) + 25deg));
  }
}

.fz-kit-word {
  position: relative;
  display: flex;
  font-family: var(--fz-font-heading);
  font-weight: 700;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.fz-kit-word span {
  display: inline-block;
  background: var(--fz-grad-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fz-kit-wave 2.4s var(--fz-ease) infinite;
  animation-delay: calc(var(--i) * .08s);
}

@keyframes fz-kit-wave {
  0%, 60%, 100% {
    transform: translateY(0) rotate(0);
  }

  25% {
    transform: translateY(-16px) rotate(-6deg);
  }
}

.fz-kit-chips {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 6px;
}

.fz-kit-chips span {
  padding: 5px 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 50px;
  background: var(--fz-white);
  font-size: 12px;
  color: var(--fz-gray-2);
}

.fz-kit-chips .is-active {
  border-color: var(--fz-periwinkle-2);
  background: var(--fz-periwinkle-2);
  color: var(--fz-white);
}

/*----- popup -----*/
.fz-kit-popup {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
  background: #fbf9ff;
}

/* mini browser bar */
.fz-kit-popup-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  background: var(--fz-white);
}

.fz-kit-popup-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f57;
}

.fz-kit-popup-bar i:nth-child(2) {
  background: #febc2e;
}

.fz-kit-popup-bar i:nth-child(3) {
  background: #28c840;
}

.fz-kit-popup-bar span {
  margin-left: auto;
  margin-right: auto;
  padding: 3px 14px;
  border-radius: 50px;
  background: var(--fz-gray);
  font-size: 10px;
  color: var(--fz-gray-2);
}

/* page behind the popup, frosted by the overlay */
.fz-kit-popup-page {
  position: absolute;
  inset: 46px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fz-kit-popup-page i {
  height: 12px;
  border-radius: 6px;
  background: #e7e3fb;
}

.fz-kit-popup-page i:nth-child(1) {
  width: 40%;
}

.fz-kit-popup-page i:nth-child(2) {
  height: 70px;
}

.fz-kit-popup-page i:nth-child(3) {
  width: 80%;
}

.fz-kit-popup-page i:nth-child(4) {
  width: 55%;
}

.fz-kit-popup::after {
  content: "";
  position: absolute;
  inset: 30px 0 0;
  background: rgba(251, 249, 255, .45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.fz-kit-modal {
  position: relative;
  z-index: 1;
  width: min(220px, 80%);
  overflow: hidden;
  border-radius: 18px;
  background: var(--fz-white);
  box-shadow: 0 30px 50px -24px rgba(71, 52, 247, .45);
  animation: fz-kit-pop 6s var(--fz-ease) infinite;
}

.fz-kit-news {
  position: relative;
  padding: 14px 16px 16px;
  background:
    radial-gradient(circle at 90% 0, rgba(204, 255, 51, .55), transparent 45%),
    var(--fz-grad-light);
  color: var(--fz-white);
}

.fz-kit-news-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.fz-kit-news-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .85;
}

/* little stack of subscriber avatars */
.fz-kit-news-count {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
}

.fz-kit-news-count i {
  width: 14px;
  height: 14px;
  margin-right: -4px;
  border: 1.5px solid var(--fz-periwinkle-2);
  border-radius: 50%;
  background: #ffd4b8;
}

.fz-kit-news-count i:nth-child(2) {
  background: var(--fz-lime);
}

.fz-kit-news-count i:nth-child(3) {
  margin-right: 4px;
  background: #ff9e8f;
}

.fz-kit-news b {
  display: block;
  font-family: var(--fz-font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.fz-kit-news-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fz-lime);
  color: var(--fz-heading);
}

.fz-kit-news-icon svg {
  width: 12px;
  height: 12px;
}

.fz-kit-modal-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
}

/* email field: both states share one grid cell, the confirmation shows after the click */
.fz-kit-email {
  display: grid;
  padding: 8px 10px;
  border: 1.5px solid rgba(71, 52, 247, .25);
  border-radius: 10px;
  background: rgba(71, 52, 247, .04);
  animation: fz-kit-email 6s var(--fz-ease) infinite;
}

.fz-kit-email > span {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}

.fz-kit-email svg {
  flex: none;
  width: 14px;
  height: 14px;
}

.fz-kit-email-text {
  color: var(--fz-heading);
  animation: fz-kit-email-text 6s var(--fz-ease) infinite;
}

.fz-kit-email-text svg {
  color: var(--fz-periwinkle-2);
}

/* the address types itself in, with a caret */
.fz-kit-email-text em {
  padding-right: 2px;
  border-right: 1.5px solid var(--fz-periwinkle-2);
  font-style: normal;
  white-space: nowrap;
  animation: fz-kit-type 6s steps(15) infinite;
}

.fz-kit-email-done {
  justify-content: center;
  font-weight: 600;
  color: #16a34a;
  opacity: 0;
  animation: fz-kit-email-done 6s var(--fz-ease) infinite;
}

@keyframes fz-kit-type {
  0%, 5% {
    clip-path: inset(0 100% 0 0);
  }

  25%, 100% {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes fz-kit-email {
  0%, 34%, 70%, 100% {
    border-color: rgba(71, 52, 247, .25);
    background: rgba(71, 52, 247, .04);
  }

  40%, 64% {
    border-color: rgba(34, 197, 94, .5);
    background: rgba(34, 197, 94, .08);
  }
}

@keyframes fz-kit-email-text {
  0%, 34%, 70%, 100% {
    opacity: 1;
    transform: translateY(0);
  }

  40%, 64% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes fz-kit-email-done {
  0%, 34%, 70%, 100% {
    opacity: 0;
    transform: translateY(8px);
  }

  40%, 64% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fz-kit-modal-btn {
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--fz-heading);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--fz-white);
  animation: fz-kit-press 6s var(--fz-ease) infinite;
}

.fz-kit-click {
  position: absolute;
  left: 58%;
  top: 78%;
  z-index: 3;
  width: 20px;
  height: 20px;
  fill: var(--fz-heading);
  stroke: var(--fz-white);
  stroke-width: 1.5;
  animation: fz-kit-click 6s var(--fz-ease) infinite;
}

/* one 6s story: cursor arrives, clicks, toast shows, popup closes and returns */
@keyframes fz-kit-click {
  0%, 8% {
    opacity: 0;
    transform: translate(70px, 60px);
  }

  15% {
    opacity: 1;
  }

  30% {
    transform: translate(0, 0) scale(1);
  }

  34% {
    transform: translate(0, 0) scale(.8);
  }

  38%, 62% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }

  70%, 100% {
    opacity: 0;
    transform: translate(0, 0);
  }
}

@keyframes fz-kit-press {
  0%, 31%, 38%, 100% {
    transform: scale(1);
  }

  34% {
    transform: scale(.94);
  }
}

@keyframes fz-kit-pop {
  0%, 76%, 100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  82% {
    opacity: 0;
    transform: translateY(-10px) scale(.96);
  }

  83%, 88% {
    opacity: 0;
    transform: translateY(20px) scale(.9);
  }
}

/*----- support -----*/
.fz-kit-chat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  background: linear-gradient(180deg, #f8fde6 0%, var(--fz-white) 100%);
}

.fz-kit-msg {
  align-self: flex-end;
  max-width: 85%;
  padding: 9px 13px;
  border-radius: 14px 14px 4px 14px;
  background: var(--fz-periwinkle-2);
  font-size: 13px;
  line-height: 1.4;
  color: var(--fz-white);
}

.fz-kit-msg--team {
  position: relative;
  align-self: flex-start;
  margin-left: 32px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 14px 14px 14px 4px;
  background: var(--fz-white);
  color: var(--fz-heading);
}

.fz-kit-avatar {
  position: absolute;
  left: -32px;
  bottom: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.fz-kit-agent-def {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* agent header at the top of the chat */
.fz-kit-agent {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: auto;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.fz-kit-agent-pic {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
}

.fz-kit-agent-pic svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 8px 18px -8px rgba(71, 52, 247, .5);
}

/* online dot */
.fz-kit-agent-pic i {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--fz-white);
  border-radius: 50%;
  background: #22c55e;
}

.fz-kit-agent-name {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.4;
  color: var(--fz-gray-2);
}

.fz-kit-agent-name b {
  font-size: 14px;
  font-weight: 600;
  color: var(--fz-heading);
}

.fz-kit-typing {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
}

.fz-kit-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fz-gray-2);
  animation: fz-kit-dot 1.2s ease-in-out infinite;
}

.fz-kit-typing i:nth-of-type(2) {
  animation-delay: .15s;
}

.fz-kit-typing i:nth-of-type(3) {
  animation-delay: .3s;
}

@keyframes fz-kit-dot {
  0%, 60%, 100% {
    opacity: .3;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@media (max-width: 1199px) {
  .fz-kit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .fz-kit-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .fz-kit-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fz-kit-card {
    min-height: 0;
  }

  .fz-kit-depth {
    min-height: 260px;
  }

  .fz-kit-fig-side {
    flex-basis: 104px;
    padding-inline: 10px;
  }

  .fz-kit-fig-side li {
    padding-left: 20px;
    font-size: 12px;
    white-space: nowrap;
  }

  .fz-kit-fig-side li::before {
    left: 6px;
  }

  .fz-kit-cursor {
    animation-name: fz-kit-cursor-sm;
  }
}

@keyframes fz-kit-cursor-sm {
  0%, 100% {
    transform: translate(20px, 150px);
  }

  50% {
    transform: translate(110px, 60px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .fz-kit-cursor,
  .fz-kit-depth-chip i,
  .fz-kit-rtl-switch i,
  .fz-kit-rtl-en,
  .fz-kit-rtl-ar,
  .fz-kit-pin::after,
  .fz-kit-routes path,
  .fz-kit-langs-track,
  .fz-kit-word span,
  .fz-kit-shape,
  .fz-kit-modal,
  .fz-kit-modal-btn,
  .fz-kit-click,
  .fz-kit-email,
  .fz-kit-email-text,
  .fz-kit-email-text em,
  .fz-kit-email-done,
  .fz-kit-typing i {
    animation: none;
  }
}

/*=========== preloader ============*/
.no-scroll-y {
  overflow-y: hidden;
}

.ctn-preloader {
  align-items: center;
  cursor: none;
  display: flex;
  height: 100%;
  justify-content: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 9999;
}

.ctn-preloader .animation-preloader {
  position: absolute;
  z-index: 100;
  transition: opacity 0.3s ease-out;
}

.ctn-preloader .animation-preloader .spinner {
  animation: spinner 1s infinite linear;
  border-radius: 50%;
  border: 3px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000000;
  height: 9em;
  width: 9em;
}

.ctn-preloader .animation-preloader .spinner-wrap {
  margin: 0 auto 3.5em auto;
  position: relative;
  width: max-content;
}

.ctn-preloader .animation-preloader .txt-loading {
  font: bold 5em 'Montserrat', sans-serif;
  text-align: center;
  user-select: none;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading {
  color: rgba(0, 0, 0, 0.2);
  position: relative;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:before {
  animation: letters-loading 4s infinite;
  color: #000000;
  content: attr(data-text-preloader);
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transform: rotateY(-90deg);
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(2):before { animation-delay: 0.2s; }
.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(3):before { animation-delay: 0.4s; }
.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(4):before { animation-delay: 0.6s; }
.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(5):before { animation-delay: 0.8s; }

.ctn-preloader .animation-preloader .txt-percent {
  color: #000000;
  align-items: center;
  display: flex;
  font: bold 1.5em 'Montserrat', sans-serif;
  inset: 0;
  justify-content: center;
  position: absolute;
  user-select: none;
}

.ctn-preloader .loader-section {
  background-color: #ffffff;
  height: 100%;
  position: fixed;
  top: 0;
  width: calc(50% + 1px);
}

.ctn-preloader .loader-section.section-left { left: 0; }
.ctn-preloader .loader-section.section-right { right: 0; }

.ctn-preloader.loaded .animation-preloader {
  opacity: 0;
}

.ctn-preloader.loaded .loader-section.section-left {
  transform: translateX(-101%);
  transition: 0.7s 0.3s all cubic-bezier(0.1, 0.1, 0.1, 1);
}

.ctn-preloader.loaded .loader-section.section-right {
  transform: translateX(101%);
  transition: 0.7s 0.3s all cubic-bezier(0.1, 0.1, 0.1, 1);
}

@keyframes spinner {
  to { transform: rotateZ(360deg); }
}

@keyframes letters-loading {
  0%, 75%, 100% {
    opacity: 0;
    transform: rotateY(-90deg);
  }
  25%, 50% {
    opacity: 1;
    transform: rotateY(0deg);
  }
}

@media screen and (max-width: 767px) {
  .ctn-preloader .animation-preloader .spinner { height: 8em; width: 8em; }
  .ctn-preloader .animation-preloader .txt-loading { font-size: 3.5em; }
}

@media screen and (max-width: 500px) {
  .ctn-preloader .animation-preloader .spinner { height: 7em; width: 7em; }
  .ctn-preloader .animation-preloader .txt-loading { font-size: 2em; }
}

/* utility: hide an element */
.d-none {
  display: none !important;
}

/* while the Figma card is hidden, the last toolkit card fills the empty grid slot */
@media (min-width: 768px) {
  .fz-kit-grid:has(> .fz-kit-card--figma.d-none) > .fz-kit-card:last-child {
    grid-column: span 2;
  }
}
