/*
 * Components. Tailwind utilities from the AI Guru landing are translated to
 * plain CSS here: mobile first, md = 768px, lg = 1024px.
 */

/* ---------- Motion primitives ---------- */
/* Hidden only once JS has marked the root, so no-JS visitors see final content. */
.fl-site.fl-js .fl-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fl-site.fl-js .fl-reveal.fl-in {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--fl-delay, 0ms);
}
.fl-float {
  animation: fl-float 7s ease-in-out infinite;
}
@keyframes fl-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes fl-morph {
  0% {
    border-radius: 43% 57% 62% 38% / 44% 38% 62% 56%;
    transform: rotate(0deg);
  }
  100% {
    border-radius: 58% 42% 40% 60% / 56% 60% 40% 44%;
    transform: rotate(14deg);
  }
}
@keyframes fl-wv {
  0%,
  100% {
    transform: scaleY(0.35);
  }
  50% {
    transform: scaleY(1);
  }
}

/* ---------- Glass + blob ---------- */
.fl-glass {
  background: var(--fl-glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid var(--fl-glass-border);
  box-shadow: 0 12px 40px -12px rgba(var(--fl-glass-shadow-rgb), 0.22);
}
.fl-blob {
  position: absolute;
  inset: 0;
  border-radius: 43% 57% 62% 38% / 44% 38% 62% 56%;
  background: conic-gradient(from 210deg at 50% 50%, var(--fl-blob-1), var(--fl-blob-2), var(--fl-blob-3), var(--fl-blob-4), var(--fl-blob-5), var(--fl-blob-1));
  box-shadow:
    inset 18px 24px 40px rgba(255, 255, 255, 0.75),
    inset -30px -40px 60px rgba(var(--fl-blob-shade-rgb), 0.35),
    0 40px 80px -30px rgba(var(--fl-blob-shade-rgb), 0.45);
  animation: fl-morph 14s ease-in-out infinite alternate;
}
.fl-blob-hi {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}
.fl-field {
  background:
    radial-gradient(60% 70% at 18% 30%, var(--fl-field-1) 0%, transparent 70%),
    radial-gradient(50% 60% at 78% 20%, var(--fl-field-2) 0%, transparent 70%),
    radial-gradient(55% 65% at 70% 90%, var(--fl-field-3) 0%, transparent 70%),
    var(--fl-field-base);
}

/* ---------- Buttons ---------- */
.fl-btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--fl-radius-pill);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
}
.fl-btn[disabled] {
  opacity: 0.6;
  cursor: default;
}
.fl-btn--compact {
  padding: 0 16px;
}
.fl-btn--primary {
  background: var(--fl-primary-bg);
  color: var(--fl-primary-fg);
}
.fl-btn--primary:hover:not([disabled]) {
  background: var(--fl-primary-hover);
}
.fl-btn--secondary {
  border: 1px solid var(--fl-line-strong);
  background: var(--fl-bg);
  color: var(--fl-ink);
}
.fl-btn--secondary:hover {
  background: var(--fl-secondary-hover);
}
.fl-btn--ghost {
  padding: 0 18px;
  background: transparent;
  color: var(--fl-ink);
}
.fl-btn--ghost:hover {
  background: var(--fl-secondary-hover);
}
.fl-btn--on-dark {
  background: #ffffff;
  color: var(--fl-ink);
}
.fl-btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.88);
}
.fl-btn--outline-light {
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #ffffff;
}
.fl-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}
/* Hero CTA: label + white arrow circle */
.fl-btn--cta {
  justify-content: space-between;
  gap: 14px;
  height: 54px;
  padding: 0 6px 0 22px;
  font-size: 15px;
}
.fl-btn__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--fl-ink);
}
@media (min-width: 1024px) {
  .fl-btn--cta {
    justify-content: flex-start;
    height: 52px;
    padding-left: 24px;
  }
  .fl-btn__arrow {
    width: 40px;
    height: 40px;
  }
}

/* ---------- Wordmark ---------- */
.fl-wordmark {
  display: flex;
  gap: 6px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.fl-wordmark__a {
  font-weight: 600;
  color: var(--fl-wordmark-1);
}
.fl-wordmark__b {
  font-weight: 400;
  color: var(--fl-wordmark-2);
}
@media (min-width: 1024px) {
  .fl-wordmark {
    font-size: 22px;
  }
}

/* ---------- Nav ---------- */
.fl-nav-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 8px;
  pointer-events: none;
}
.fl-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  transition:
    background-color 200ms ease-out,
    backdrop-filter 200ms ease-out,
    box-shadow 200ms ease-out;
}
.fl-nav--scrolled {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 1px 0 rgba(15, 15, 20, 0.06);
}
.fl-nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--fl-nav-h);
}
.fl-nav__links {
  display: none;
  gap: 4px;
  padding: 5px;
  border-radius: var(--fl-radius-pill);
  background: var(--fl-surface-2);
}
.fl-nav__link {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--fl-radius-pill);
  font-size: 14px;
  color: var(--fl-ink-2);
  transition: color 150ms;
}
.fl-nav__link:hover {
  color: var(--fl-ink);
}
.fl-nav__link[aria-current="true"] {
  background: var(--fl-bg);
  color: var(--fl-ink);
}
.fl-nav__actions {
  display: none;
  align-items: center;
  gap: 8px;
}
.fl-nav__mobile {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fl-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fl-surface-2);
  color: var(--fl-ink);
}
.fl-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  margin: 8px var(--fl-gutter) 0;
  overflow: hidden;
  border: 1px solid var(--fl-line);
  border-radius: calc(var(--fl-radius-sm) + 2px);
  background: var(--fl-bg);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.fl-menu__item {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid var(--fl-line);
  font-size: 15px;
  color: var(--fl-ink-2);
  text-align: left;
}
.fl-menu__item:last-child {
  border-bottom: 0;
}
.fl-menu__item--strong {
  font-weight: 500;
  color: var(--fl-ink);
}
@media (min-width: 1024px) {
  .fl-nav__row {
    height: var(--fl-nav-h-lg);
  }
  .fl-nav__links,
  .fl-nav__actions {
    display: flex;
  }
  .fl-nav__mobile,
  .fl-menu {
    display: none;
  }
}

/* ---------- Hero ---------- */
.fl-hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 32px;
}
.fl-hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.fl-hero__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.fl-hero__intro {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fl-ink-2);
}
.fl-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fl-hero__note {
  font-size: 13px;
  line-height: 1.4;
  color: var(--fl-muted);
  text-align: center;
}
.fl-hero__stage {
  position: relative;
  height: 540px;
  margin-inline: 8px;
  overflow: hidden;
  border-radius: var(--fl-radius-lg);
}
.fl-hero__blob {
  position: absolute;
  left: 90px;
  top: 90px;
  width: 220px;
  height: 240px;
}
.fl-hero__blob .fl-blob-hi {
  display: none;
}

.fl-proof {
  position: absolute;
  left: 14px;
  top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px 0 8px;
  border-radius: var(--fl-radius-pill);
  font-size: 13px;
  color: var(--fl-ink);
}
.fl-proof__avatars {
  display: flex;
}
.fl-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
}
.fl-avatar + .fl-avatar {
  margin-left: -9px;
}
.fl-avatar--1 {
  background: var(--fl-avatar-1-bg);
  color: var(--fl-avatar-1-fg);
}
.fl-avatar--2 {
  background: var(--fl-avatar-2-bg);
  color: var(--fl-avatar-2-fg);
}
.fl-avatar--3 {
  background: var(--fl-avatar-3-bg);
  color: var(--fl-avatar-3-fg);
}

.fl-mini {
  position: absolute;
  right: 14px;
  top: 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 150px;
  padding: 14px;
  border-radius: calc(var(--fl-radius-md));
}
.fl-mini__label {
  font-size: 12px;
  color: var(--fl-muted);
}
.fl-mini__value {
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.fl-mini__value small {
  font-size: 18px;
  color: var(--fl-muted);
}
.fl-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--fl-success-ink);
}
.fl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fl-success);
}

.fl-activity {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: calc(var(--fl-radius-lg) - 6px);
}
.fl-activity__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fl-activity__label {
  font-size: 12px;
  color: var(--fl-muted);
}
.fl-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fl-accent);
}
.fl-live .fl-dot {
  background: var(--fl-accent);
}
.fl-activity__line {
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.fl-activity__foot {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fl-tag {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--fl-radius-pill);
  background: var(--fl-primary-bg);
  color: var(--fl-primary-fg);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.fl-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 22px;
}
.fl-wave span {
  display: block;
  width: 3px;
  border-radius: var(--fl-radius-pill);
  background: var(--fl-ink);
  transform-origin: center;
  animation: fl-wv 1.1s ease-out infinite;
}

.fl-preview {
  display: none;
  position: absolute;
  right: 32px;
  top: 32px;
  width: 320px;
  height: 536px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: var(--fl-radius-lg);
}
.fl-preview__title {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fl-preview__heading {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 300;
}
.fl-preview__sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fl-muted);
}
.fl-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}
.fl-bars li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fl-bars__row {
  display: flex;
  justify-content: space-between;
}
.fl-bar {
  height: 5px;
  border-radius: var(--fl-radius-pill);
  background: rgba(15, 15, 20, 0.08);
}
.fl-bar__fill {
  display: block;
  height: 5px;
  border-radius: var(--fl-radius-pill);
  background: var(--fl-success);
}
.fl-bar__fill--warn {
  background: var(--fl-warn);
}
.fl-preview__total {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fl-preview__total-label {
  font-size: 13px;
  color: var(--fl-muted);
}
.fl-preview__total-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.fl-preview__value {
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.fl-preview__value small {
  font-size: 24px;
  color: var(--fl-muted);
}
.fl-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(23, 162, 83, 0.12);
  font-size: 12px;
  font-weight: 500;
  color: var(--fl-success-ink);
}

@media (min-width: 768px) {
  .fl-hero__stage {
    height: 620px;
  }
}
@media (min-width: 1024px) {
  .fl-hero {
    gap: 56px;
    padding-top: 56px;
  }
  .fl-hero__top {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 64px;
    align-items: end;
  }
  .fl-hero__side {
    gap: 28px;
    padding-bottom: 8px;
  }
  .fl-hero__intro {
    font-size: 17px;
  }
  .fl-hero__cta {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .fl-hero__note {
    text-align: left;
  }
  .fl-hero__stage {
    height: 600px;
    margin-inline: 0;
    border-radius: var(--fl-radius-xl);
  }
  .fl-hero__blob {
    left: 470px;
    top: 70px;
    width: 440px;
    height: 470px;
  }
  .fl-hero__blob .fl-blob-hi {
    display: block;
  }
  .fl-proof {
    left: 32px;
    top: 32px;
    gap: 12px;
    height: 56px;
    padding: 0 20px 0 10px;
    font-size: 14px;
  }
  .fl-avatar {
    width: 36px;
    height: 36px;
  }
  .fl-mini {
    display: none;
  }
  .fl-activity {
    left: 32px;
    right: auto;
    bottom: 32px;
    width: 400px;
    gap: 16px;
    padding: 22px;
    border-radius: var(--fl-radius-lg);
  }
  .fl-activity__label {
    font-size: 13px;
  }
  .fl-activity__line {
    font-size: 18px;
  }
  .fl-activity__foot {
    gap: 14px;
  }
  .fl-tag {
    height: 36px;
  }
  .fl-wave {
    height: 24px;
  }
  .fl-preview {
    display: flex;
  }
}

/* ---------- Statement ---------- */
.fl-statement {
  display: flex;
  justify-content: center;
  padding-block: 64px;
}
.fl-statement__text {
  max-width: 1060px;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 300;
  text-align: center;
  text-wrap: balance;
}
.fl-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 30px;
  vertical-align: -5px;
  border-radius: var(--fl-radius-xs);
}
.fl-chip svg {
  width: 16px;
  height: 16px;
}
.fl-chip--1 {
  background: var(--fl-chip-1);
  color: var(--fl-chip-1-ink);
}
.fl-chip--2 {
  background: var(--fl-chip-2);
  color: var(--fl-chip-2-ink);
}
.fl-chip--3 {
  background: var(--fl-chip-3);
  color: var(--fl-chip-3-ink);
}
@media (min-width: 768px) {
  .fl-statement__text {
    font-size: 36px;
  }
}
@media (min-width: 1024px) {
  .fl-statement {
    padding-block: 120px 112px;
  }
  .fl-statement__text {
    font-size: clamp(34px, 3.5vw, 48px);
    line-height: 1.28;
  }
  .fl-chip {
    width: 58px;
    height: 46px;
    vertical-align: -6px;
    border-radius: var(--fl-radius-sm);
  }
  .fl-chip svg {
    width: 22px;
    height: 22px;
  }
}

/* ---------- Section scaffolding ---------- */
.fl-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 64px;
}
.fl-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.fl-section__intro {
  max-width: 360px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fl-ink-2);
}
@media (min-width: 1024px) {
  .fl-section {
    gap: 48px;
    padding-bottom: 128px;
  }
}

/* ---------- Demo video ---------- */
.fl-demo {
  gap: 24px;
}
.fl-demo__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 620px;
}
.fl-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--fl-radius-md);
  background: var(--fl-ink);
}
.fl-video__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}
.fl-video__poster,
.fl-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fl-video__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 20, 0) 45%, rgba(15, 15, 20, 0.55) 100%);
}
.fl-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.fl-video__play i {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--fl-ink);
}
@media (min-width: 1024px) {
  .fl-demo {
    gap: 32px;
  }
  .fl-demo__head {
    gap: 12px;
  }
  .fl-video {
    border-radius: var(--fl-radius-lg);
  }
  .fl-video__play {
    width: 80px;
    height: 80px;
  }
}

/* ---------- How it works ---------- */
.fl-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
.fl-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-radius: var(--fl-radius-lg);
  background: var(--fl-surface);
}
.fl-step__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fl-step__title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.fl-step__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fl-ink-2);
}
.fl-step__art {
  position: relative;
  height: 130px;
  overflow: hidden;
  border-radius: calc(var(--fl-radius-md) - 2px);
}
.fl-step__art--1 {
  background: var(--fl-step-1);
}
.fl-step__art--2 {
  background: var(--fl-step-2);
}
.fl-step__art--3 {
  background: var(--fl-step-3);
}
.fl-step__num {
  position: absolute;
  left: 16px;
  bottom: 8px;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 300;
  color: #ffffff;
}
.fl-step__deco {
  display: none;
}
.fl-deco-bars {
  right: 22px;
  top: 26px;
  align-items: center;
  gap: 5px;
  height: 60px;
}
.fl-deco-bars span {
  width: 5px;
  border-radius: var(--fl-radius-pill);
  background: rgba(255, 255, 255, 0.9);
}
.fl-deco-frame {
  right: 26px;
  top: 26px;
  width: 76px;
  height: 76px;
}
.fl-deco-frame span {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 0 solid #ffffff;
}
.fl-deco-frame .fl-tl {
  left: 0;
  top: 0;
  border-left-width: 3px;
  border-top-width: 3px;
  border-top-left-radius: 6px;
}
.fl-deco-frame .fl-tr {
  right: 0;
  top: 0;
  border-right-width: 3px;
  border-top-width: 3px;
  border-top-right-radius: 6px;
}
.fl-deco-frame .fl-bl {
  left: 0;
  bottom: 0;
  border-left-width: 3px;
  border-bottom-width: 3px;
  border-bottom-left-radius: 6px;
}
.fl-deco-frame .fl-br {
  right: 0;
  bottom: 0;
  border-right-width: 3px;
  border-bottom-width: 3px;
  border-bottom-right-radius: 6px;
}
.fl-deco-frame .fl-dot {
  left: 26px;
  top: 22px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}
.fl-deco-lines {
  right: 22px;
  top: 22px;
  flex-direction: column;
  gap: 8px;
  width: 120px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}
.fl-deco-lines span {
  height: 6px;
  border-radius: var(--fl-radius-pill);
  background: var(--fl-ink);
}
@media (min-width: 1024px) {
  .fl-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fl-step__art {
    height: 220px;
    border-radius: var(--fl-radius-md);
  }
  .fl-step__num {
    left: 22px;
    bottom: 14px;
    font-size: 96px;
  }
  .fl-step__deco {
    position: absolute;
    display: flex;
  }
  .fl-deco-frame {
    display: block;
  }
}

/* ---------- Feature cards ---------- */
.fl-features__field {
  padding: 16px;
  border-radius: var(--fl-radius-lg);
}
.fl-features {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.fl-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: calc(var(--fl-radius-lg) - 4px);
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
}
.fl-card:hover {
  transform: translateY(-6px);
}
.fl-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--fl-radius-sm);
}
.fl-card__icon svg {
  width: 22px;
  height: 22px;
}
.fl-card__title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.fl-card__body {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fl-ink-2);
}
@media (min-width: 768px) {
  .fl-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .fl-features__field {
    padding: 32px;
    border-radius: var(--fl-radius-xl);
  }
  .fl-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

/* ---------- Stats ---------- */
.fl-stats {
  display: flex;
  flex-direction: column;
  padding-bottom: 64px;
}
.fl-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 22px;
  border-top: 1px solid var(--fl-line);
}
.fl-stat:last-child {
  border-bottom: 1px solid var(--fl-line);
}
.fl-stat__swatch {
  display: none;
  width: 120px;
  height: 96px;
  border-radius: var(--fl-radius-md);
}
.fl-stat__swatch--1 {
  background: var(--fl-swatch-1);
}
.fl-stat__swatch--2 {
  background: var(--fl-swatch-2);
}
.fl-stat__swatch--3 {
  background: var(--fl-swatch-3);
}
.fl-stat__swatch--4 {
  background: var(--fl-swatch-4);
}
.fl-stat__num {
  font-size: 88px;
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.fl-stat__text {
  max-width: 420px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fl-ink-2);
  text-align: left;
}
.fl-stat__text strong {
  font-weight: 500;
  color: var(--fl-ink);
}
@media (min-width: 768px) {
  .fl-stat__num {
    font-size: 104px;
  }
}
@media (min-width: 1024px) {
  .fl-stats {
    padding-bottom: 128px;
  }
  .fl-stat {
    display: grid;
    grid-template-columns: 120px 360px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    padding-block: 32px;
  }
  .fl-stat__swatch {
    display: block;
  }
  .fl-stat__num {
    font-size: clamp(96px, 9vw, 128px);
  }
  .fl-stat__text {
    width: min(420px, 100%);
    justify-self: end;
    font-size: 16px;
    line-height: 1.55;
  }
}

/* ---------- FAQ ---------- */
.fl-faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 64px;
}
.fl-faq__item {
  padding-block: 18px;
  border-top: 1px solid var(--fl-line);
}
.fl-faq__item:last-child {
  border-bottom: 1px solid var(--fl-line);
}
.fl-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 17px;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.fl-faq__q::-webkit-details-marker {
  display: none;
}
.fl-faq__glyph {
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 300;
}
.fl-faq__item[open] .fl-faq__plus,
.fl-faq__item:not([open]) .fl-faq__minus {
  display: none;
}
.fl-faq__a {
  max-width: 620px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fl-ink-2);
}
@media (min-width: 1024px) {
  .fl-faq {
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 72px;
    padding-bottom: 136px;
  }
  .fl-faq__item {
    padding-block: 24px;
  }
  .fl-faq__q {
    font-size: 20px;
  }
  .fl-faq__a {
    margin-top: 14px;
    font-size: 16px;
  }
}

/* ---------- CTA band ---------- */
.fl-cta {
  padding: 0 8px 8px;
}
.fl-cta__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 44px 24px 24px;
  overflow: hidden;
  border-radius: var(--fl-radius-lg);
  background:
    radial-gradient(80% 50% at 20% 10%, var(--fl-cta-glow-1) 0%, transparent 70%),
    radial-gradient(70% 50% at 90% 95%, var(--fl-cta-glow-2) 0%, transparent 70%),
    var(--fl-cta-base);
  color: #ffffff;
}
.fl-cta__blob {
  position: absolute;
  right: -130px;
  bottom: -150px;
  width: 220px;
  height: 240px;
  opacity: 0.85;
  pointer-events: none;
}
.fl-cta__body {
  position: relative;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}
.fl-cta__title {
  position: relative;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 300;
}
.fl-cta__actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.fl-cta__actions .fl-btn {
  justify-content: center;
}
@media (min-width: 1024px) {
  .fl-cta {
    flex-grow: 1;
    width: calc(100% - 128px);
    max-width: 1272px;
    margin-inline: auto;
    padding: 0 0 24px;
  }
  .fl-cta__panel {
    gap: 22px;
    padding: 88px;
    border-radius: var(--fl-radius-2xl);
  }
  .fl-cta__title {
    font-size: clamp(52px, 5vw, 64px);
  }
  .fl-cta__body {
    font-size: 17px;
  }
  .fl-cta__actions {
    flex-direction: row;
  }
  .fl-cta__blob {
    right: 96px;
    bottom: -300px;
    width: 360px;
    height: 380px;
  }
}

/* ---------- Footer ---------- */
.fl-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 24px 32px;
}
.fl-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fl-footer .fl-wordmark {
  font-size: 19px;
}
.fl-footer__tagline {
  font-size: 13px;
  color: var(--fl-muted);
}
.fl-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--fl-ink-2);
}
.fl-footer__links a:hover {
  color: var(--fl-ink);
}
@media (min-width: 1024px) {
  .fl-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-block: 40px;
  }
  .fl-footer__brand {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .fl-footer .fl-wordmark {
    font-size: 20px;
  }
  .fl-footer__tagline {
    font-size: 14px;
  }
  .fl-footer__links {
    gap: 28px;
  }
}

/* ---------- Dialog ---------- */
.fl-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--fl-radius-lg);
  background: transparent;
  color: var(--fl-ink);
  font-family: var(--fl-font-sans);
}
.fl-dialog::backdrop {
  background: rgba(15, 15, 20, 0.55);
  backdrop-filter: blur(4px);
}
.fl-dialog__card {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  border-radius: var(--fl-radius-lg);
  background: var(--fl-bg);
  box-shadow: 0 24px 60px -12px rgba(15, 15, 20, 0.35);
}
/* The close button sits on the card, not the scroller, so it stays put while the form scrolls */
.fl-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fl-surface-2);
  color: var(--fl-ink-2);
  font-size: 18px;
  line-height: 1;
}
.fl-dialog__scroll {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100dvh - 48px);
  padding: 24px;
  overflow-y: auto;
}
.fl-dialog__title {
  font-size: 28px;
  letter-spacing: -0.03em;
  font-weight: 300;
}
.fl-dialog__sub {
  margin-top: 4px;
  font-size: 14px;
  color: #4b4b58;
}
.fl-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fl-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.fl-field-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fl-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fl-ink-2);
}
.fl-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--fl-line-strong);
  border-radius: calc(var(--fl-radius-sm) - 2px);
  background: var(--fl-bg);
  font-size: 15px;
  color: var(--fl-ink);
}
textarea.fl-input {
  height: auto;
  padding: 10px 14px;
  resize: vertical;
}
.fl-input[aria-invalid="true"] {
  border-color: var(--fl-danger-line);
}
.fl-form__msg {
  font-size: 14px;
  color: var(--fl-danger);
}
.fl-form__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fl-form__actions .fl-btn {
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
}
.fl-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.fl-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-block: 16px;
}
.fl-success p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fl-ink-2);
}
@media (min-width: 768px) {
  .fl-dialog {
    max-width: min(760px, calc(100vw - 48px));
  }
  .fl-dialog__scroll {
    padding: 36px;
  }
  .fl-dialog__title {
    font-size: 32px;
  }
  .fl-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
  }
  .fl-field-row--wide {
    grid-column: span 2;
  }
  .fl-form__actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .fl-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
      opacity 220ms ease-out,
      transform 220ms ease-out,
      overlay 220ms ease-out allow-discrete,
      display 220ms ease-out allow-discrete;
  }
  .fl-dialog::backdrop {
    opacity: 1;
    transition:
      opacity 220ms ease-out,
      overlay 220ms ease-out allow-discrete,
      display 220ms ease-out allow-discrete;
  }
  @starting-style {
    .fl-dialog[open] {
      opacity: 0;
      transform: translateY(12px) scale(0.98);
    }
    .fl-dialog[open]::backdrop {
      opacity: 0;
    }
  }
}

/* ---------- Legal page ---------- */
.fl-legal {
  max-width: 720px;
  margin-inline: auto;
  padding-block: 48px 96px;
}
.fl-legal__title {
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 300;
}
.fl-legal__date {
  margin-top: 12px;
  font-size: 15px;
  color: var(--fl-muted);
}
.fl-toc {
  margin: 40px 0 56px;
  padding: 20px 24px;
  border-radius: var(--fl-radius-md);
  background: var(--fl-surface);
}
.fl-toc__heading {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fl-muted);
}
.fl-toc ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}
.fl-toc a {
  font-size: 15px;
  color: var(--fl-accent); /* >=4.5:1 on the surface tint, unlike the wordmark colour */
}
.fl-toc a:hover {
  text-decoration: underline;
}
.fl-prose-section {
  margin-top: 48px;
  scroll-margin-top: 84px;
}
.fl-prose-section h2 {
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.fl-prose-section h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  font-weight: 500;
}
.fl-prose-section p,
.fl-prose-section li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fl-ink-2);
}
.fl-prose-section p {
  margin-bottom: 16px;
}
.fl-prose-section ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  padding-left: 22px;
  list-style: disc;
}
@media (min-width: 1024px) {
  .fl-legal {
    padding-block: 72px 120px;
  }
  .fl-legal__title {
    font-size: 56px;
  }
  .fl-prose-section {
    scroll-margin-top: 104px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .fl-blob,
  .fl-wave span,
  .fl-float {
    animation: none;
  }
  .fl-site.fl-js .fl-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .fl-card,
  .fl-nav {
    transition: none;
  }
  .fl-card:hover {
    transform: none;
  }
}

/* ---------- Figital Labs site additions (company + product pages) ---------- */
/* Two-up feature grid: product cards carry a list and a link, so three columns is too narrow. */
@media (min-width: 1024px) {
  .fl-features--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.fl-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--fl-ink-2);
}
.fl-card__list li {
  position: relative;
  padding-left: 18px;
}
.fl-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fl-accent);
}
.fl-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--fl-ink);
}
.fl-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}
.fl-card__link:hover svg {
  transform: translateX(4px);
}
.fl-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: auto;
}

/* Problem statement: one large light paragraph, left aligned, under a normal section head. */
.fl-problem {
  max-width: 940px;
  font-size: 26px;
  line-height: 1.32;
  letter-spacing: -0.03em;
  font-weight: 300;
  text-wrap: pretty;
}
@media (min-width: 768px) {
  .fl-problem {
    font-size: 32px;
  }
}
@media (min-width: 1024px) {
  .fl-problem {
    font-size: clamp(32px, 3.2vw, 42px);
  }
}

/* Who it is for: ruled rows, like the FAQ, so it does not repeat the card look above it. */
.fl-who {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.fl-who li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 20px;
  border-top: 1px solid var(--fl-line);
}
.fl-who li:last-child {
  border-bottom: 1px solid var(--fl-line);
}
.fl-who strong {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.fl-who span {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fl-ink-2);
}
@media (min-width: 1024px) {
  .fl-who li {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 48px;
    padding-block: 28px;
  }
  .fl-who span {
    max-width: 620px;
    font-size: 16px;
  }
}

/* Proof strip: the numbers row, compact, on a field. Numbers sit in a grid, not full-width rows. */
.fl-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
  padding: 28px 20px;
  border-radius: var(--fl-radius-lg);
}
.fl-strip li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fl-strip__num {
  font-size: 52px;
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.fl-strip__text {
  max-width: 200px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--fl-ink-2);
}
@media (min-width: 768px) {
  .fl-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 36px;
  }
}
@media (min-width: 1024px) {
  .fl-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    padding: 48px;
    border-radius: var(--fl-radius-xl);
  }
  .fl-strip__num {
    font-size: clamp(44px, 4.2vw, 60px);
  }
  .fl-strip__text {
    font-size: 15px;
  }
}

/* Contact page: details on the left, the form on a surface panel on the right. */
.fl-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding-block: 32px 64px;
}
.fl-contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.fl-contact__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 16px;
  line-height: 1.5;
}
.fl-contact__list dt {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--fl-muted);
}
.fl-contact__list dd {
  margin-top: 4px;
  color: var(--fl-ink);
}
.fl-contact__list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fl-contact__panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-radius: var(--fl-radius-lg);
  background: var(--fl-surface);
}
@media (min-width: 768px) {
  .fl-contact__panel {
    padding: 36px;
  }
}
@media (min-width: 1024px) {
  .fl-contact {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 72px;
    padding-block: 56px 128px;
  }
}
