@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --violet: #5a4de8;
  --violet-dark: #4338ca;
  --violet-soft: #ede9fe;
  --navy: #0f1538;
  --navy-mid: #1a2358;
  --ink: #111827;
  --muted: #5b6478;
  --line: rgba(17, 24, 39, 0.1);
  --bg: #fafafe;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px rgba(26, 35, 88, 0.12);
  --font: "Inter", system-ui, sans-serif;
  --max: 1180px;
  --grad-hero: radial-gradient(120% 90% at 80% 0%, #e8e4ff 0%, #fafafe 55%, #fff 100%);
  --grad-cta: linear-gradient(115deg, #5a4de8 0%, #7c6cf0 45%, #3d6bff 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}

body.nav-locked {
  overflow: hidden;
}

a {
  color: var(--violet-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

.fx-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.fx-logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(90, 77, 232, 0.28);
}

.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.fx-btn--solid {
  background: var(--violet);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(90, 77, 232, 0.35);
}

.fx-btn--solid:hover {
  background: var(--violet-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.fx-btn--ghost {
  background: var(--white);
  color: var(--violet-dark);
  border: 1px solid var(--line);
}

.fx-btn--ghost:hover {
  text-decoration: none;
  border-color: rgba(90, 77, 232, 0.35);
}

.fx-btn--white {
  background: var(--white);
  color: var(--violet-dark);
}

.fx-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet);
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.25rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.fx-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 21, 56, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
}

.fx-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.fx-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--white);
  padding: 22px 20px 28px;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  z-index: 100;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fx-drawer.is-open {
  transform: translateX(0);
}

.fx-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fx-drawer__close {
  border: none;
  background: var(--violet-soft);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.35rem;
  cursor: pointer;
  color: var(--violet-dark);
}

.fx-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fx-drawer nav a {
  color: var(--ink);
  font-weight: 500;
}

.fx-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fx-header.is-stuck {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.fx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.fx-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.fx-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.fx-nav a:hover {
  color: var(--ink);
}

.fx-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fx-menu-btn {
  display: none;
  border: none;
  background: var(--violet-soft);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

.fx-menu-btn span,
.fx-menu-btn::before,
.fx-menu-btn::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--violet-dark);
  margin: 4px auto;
}

.fx-hero {
  background: var(--grad-hero);
  padding: 48px 0 64px;
}

.fx-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.fx-hero__copy .lede {
  margin: 18px 0 28px;
}

.fx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

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

.fx-hero__stats div {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.fx-hero__stats dt {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--violet-dark);
}

.fx-hero__stats dd {
  font-size: 0.85rem;
  color: var(--muted);
}

.fx-hero__visual {
  position: relative;
  min-height: 380px;
}

.fx-hero__visual img:first-child {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 88%;
}

.fx-hero__visual img:last-child {
  position: absolute;
  right: 0;
  bottom: -12px;
  width: 42%;
  border-radius: 20px;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}

.fx-strip {
  background: var(--white);
  border-block: 1px solid var(--line);
  padding: 20px 0;
}

.fx-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fx-strip article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.fx-ico--strip {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--violet-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fx-ico--strip .bi {
  font-size: 1.15rem;
  line-height: 1;
  color: var(--violet-dark);
}

.fx-strip p {
  font-size: 0.9rem;
  color: var(--muted);
}

.fx-strip strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
}

.fx-section {
  padding: 72px 0;
}

.fx-section--tight {
  padding-top: 40px;
}

.fx-product__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.fx-product__head .lede {
  margin: 14px auto 0;
}

.fx-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.fx-tabs button {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
}

.fx-tabs button.is-active {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--white);
}

.fx-panel {
  display: none;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 12px 40px rgba(26, 35, 88, 0.06);
}

.fx-panel.is-active {
  display: grid;
}

.fx-panel img {
  border-radius: var(--radius);
}

.fx-panel ul {
  margin-top: 16px;
  padding-left: 18px;
  color: var(--muted);
}

.fx-panel li {
  margin: 8px 0;
}

.fx-dark {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
}

.fx-dark h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.fx-dark .lede {
  color: rgba(255, 255, 255, 0.78);
}

.fx-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.fx-benefits article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px 26px 30px;
  background: rgba(255, 255, 255, 0.04);
}

.fx-benefits .fx-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(122, 108, 240, 0.45);
  margin-bottom: 6px;
}

.fx-benefits .fx-icon .bi {
  font-size: 2.35rem;
  color: #f0edff;
}

.fx-benefits h3 {
  color: #c7d2ff;
  margin: 16px 0 10px;
  font-size: 1.2rem;
}

.fx-benefits p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.fx-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(122, 108, 240, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fx-icon .bi {
  font-size: 1.3rem;
  line-height: 1;
  color: #e8e4ff;
}

.fx-segments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.fx-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fx-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
}

.fx-card__body {
  padding: 20px 20px 24px;
}

.fx-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 10px;
}

.fx-stories {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.fx-stories article {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}

.fx-stories article:first-child {
  grid-row: span 2;
}

.fx-stories figure img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.fx-stories blockquote {
  padding: 18px 20px 22px;
  font-size: 0.95rem;
  color: var(--muted);
}

.fx-stories cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.88rem;
}

.fx-team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fx-team figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.fx-team img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.fx-team figcaption {
  padding: 14px 12px 18px;
}

.fx-team span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

.fx-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 28px;
}

.fx-partners img {
  border-radius: 12px;
  border: 1px solid var(--line);
  opacity: 0.92;
}

.fx-insights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.fx-insights article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.fx-insights img {
  border-radius: 12px;
  height: 100%;
  object-fit: cover;
}

.fx-faq__list {
  max-width: 760px;
  margin: 28px auto 0;
}

.fx-faq__item {
  border-bottom: 1px solid var(--line);
}

.fx-faq__item button {
  width: 100%;
  text-align: left;
  padding: 18px 4px;
  border: none;
  background: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.fx-faq__item button::after {
  content: "+";
  color: var(--violet);
  font-weight: 700;
}

.fx-faq__item.is-open button::after {
  content: "−";
}

.fx-faq__item .answer {
  display: none;
  padding: 0 4px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.fx-faq__item.is-open .answer {
  display: block;
}

.fx-cta {
  background: var(--grad-cta);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}

.fx-cta h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.fx-cta p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 54ch;
  margin: 0 auto 24px;
}

.fx-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.fx-contact dl {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.fx-contact dt {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.fx-contact dd {
  font-weight: 600;
}

#contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  box-shadow: var(--shadow);
}

#contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#contact-form .field.full {
  grid-column: 1 / -1;
}

#contact-form label {
  font-size: 0.88rem;
  font-weight: 500;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 0.95rem;
}

#contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

#contact-form button {
  grid-column: 1 / -1;
}

.form-note {
  display: none;
  grid-column: 1 / -1;
  color: var(--violet-dark);
  font-weight: 600;
  font-size: 0.92rem;
}

.fx-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 56px 0 0;
}

.fx-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.fx-footer p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 12px;
  max-width: 36ch;
}

.fx-footer h5 {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.fx-footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.fx-footer ul a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.fx-footer ul a:hover {
  color: var(--ink);
}

.fx-footer__legal {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 18px 0 24px;
  font-size: 0.85rem;
  color: var(--muted);
}

#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: none;
  padding: 14px;
}

.cookie-inner {
  width: min(var(--max), calc(100% - 24px));
  margin: 0 auto;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.cookie-inner a {
  color: #c7d2ff;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.cookie-needed {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.cookie-all {
  background: var(--white);
  color: var(--violet-dark);
}

.fx-top {
  position: fixed;
  right: 18px;
  bottom: 80px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--violet);
  color: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 70;
}

.fx-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.page-privacy .fx-privacy {
  padding: 48px 0 80px;
}

.fx-privacy h1 {
  margin-bottom: 10px;
}

.fx-privacy .meta {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 0.92rem;
}

.fx-privacy h2 {
  font-size: 1.25rem;
  margin: 28px 0 10px;
}

.fx-privacy p,
.fx-privacy li {
  color: var(--muted);
  margin: 10px 0;
}

.fx-privacy ul {
  padding-left: 20px;
}

.fx-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 1024px) {
  .fx-hero__grid,
  .fx-panel,
  .fx-contact__grid,
  .fx-about-grid {
    grid-template-columns: 1fr;
  }

  .fx-hero__visual img:last-child {
    position: relative;
    width: 56%;
    margin: -40px 0 0 auto;
  }

  .fx-benefits,
  .fx-segments__grid,
  .fx-team {
    grid-template-columns: 1fr 1fr;
  }

  .fx-stories {
    grid-template-columns: 1fr;
  }

  .fx-stories article:first-child {
    grid-row: auto;
  }

  .fx-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .fx-nav,
  .fx-header__actions .fx-btn--ghost {
    display: none;
  }

  .fx-menu-btn {
    display: block;
  }

  .fx-strip__grid,
  .fx-hero__stats,
  .fx-benefits,
  .fx-segments__grid,
  .fx-team,
  .fx-insights,
  .fx-footer__grid {
    grid-template-columns: 1fr;
  }

  .fx-insights article {
    grid-template-columns: 1fr;
  }

  #contact-form {
    grid-template-columns: 1fr;
  }
}