/* ==========================================================================
   Fin landing — styles.css
   Stack: static vanilla HTML/CSS. No preprocessor, no build.
   Design tokens + fonts + layout, in evapps.ru style.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */

@font-face {
  font-family: "Oswald";
  src: url(../fonts/Oswald-Light.woff2) format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url(../fonts/Oswald-Regular.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url(../fonts/Oswald-Medium.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Robotolight.woff2) format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Robotomedium.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Robotobold.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens --------------------------------------------------------------- */

:root {
  --bg: #000;
  --bg-2: #0d0d0d;
  --card: #141414;
  --line: rgba(255, 255, 255, 0.1);
  --text: #fff;
  --muted: #b7b7b7;
  --accent: #80d207;
  --accent-2: rgb(99, 192, 0);
  --danger: #ff6060;
  --radius: 16px;

  --container: 1280px;
  --pad-x: 16px;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Roboto", Arial, sans-serif;
}

@media (min-width: 901px) {
  :root {
    --pad-x: 40px;
  }
}

/* --- Reset / base --------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- Layout helpers ------------------------------------------------------- */

.fl-header__inner,
.fl-hero__inner,
.fl-pains__inner,
.fl-features__inner,
.fl-tech__inner,
.fl-screens__inner,
.fl-advantages__inner,
.fl-audience__inner,
.fl-steps__inner,
.fl-stack__inner,
.fl-roadmap__inner,
.fl-faq__inner,
.fl-request__inner,
.fl-footer__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.fl-pains,
.fl-features,
.fl-tech,
.fl-screens,
.fl-advantages,
.fl-audience,
.fl-steps,
.fl-stack,
.fl-roadmap,
.fl-faq {
  padding-block: clamp(48px, 7vw, 88px);
}

.fl-hero {
  padding-block: clamp(48px, 7vw, 88px);
}

.fl-request {
  padding-block: clamp(48px, 7vw, 88px);
}

.fl-section__title {
  font-size: clamp(30px, 4.4vw, 56px);
  margin-bottom: 0.35em;
}

.fl-section__lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 40px;
}

/* --- Buttons -------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border: 1px solid var(--accent);
  border-radius: 50px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
}

.button:active {
  transform: translateY(1px);
}

.button:disabled {
  opacity: 0.6;
  cursor: default;
}

/* --- Header --------------------------------------------------------------- */

.fl-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.fl-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.fl-header__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.fl-header__logo-brand {
  color: var(--text);
}

.fl-header__logo-dot {
  color: var(--accent);
}

.fl-header__logo-product {
  color: var(--accent);
}

.fl-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.fl-header__link {
  color: var(--muted);
  font-size: 16px;
  transition: color 0.2s ease;
}

.fl-header__link:hover {
  color: var(--text);
}

.fl-header__cta {
  padding: 12px 24px;
}

.fl-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.fl-header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.fl-header.is-open .fl-header__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.fl-header.is-open .fl-header__burger span:nth-child(2) {
  opacity: 0;
}

.fl-header.is-open .fl-header__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .fl-header__inner {
    min-height: 64px;
  }

  .fl-header__cta {
    display: none;
  }

  .fl-header__burger {
    display: flex;
  }

  .fl-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad-x) 20px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: none;
  }

  .fl-header.is-open .fl-header__nav {
    display: flex;
  }

  .fl-header__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }
}

/* --- Hero ----------------------------------------------------------------- */

.fl-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 78% 8%, rgba(128, 210, 7, 0.22), transparent 70%),
    radial-gradient(50% 50% at 8% 90%, rgba(99, 192, 0, 0.12), transparent 70%),
    var(--bg);
}

.fl-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.fl-hero__title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  margin-bottom: 0.3em;
}

.fl-hero__subtitle {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
}

.fl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.fl-hero__cta--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.fl-hero__cta--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--text);
  color: var(--text);
}

.fl-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fl-hero__stat {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 50px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.2;
}

@media (min-width: 901px) {
  .fl-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }
}

/* --- Browser frame -------------------------------------------------------- */

/* Plain frame — the screenshots already include their own window chrome, so no
   fake titlebar/border here, only rounded corners and a soft brand glow. */
.fl-browser {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(128, 210, 7, 0.18);
}

.fl-browser__body {
  background: #000;
}

.fl-browser__img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Cards (shared surface) ----------------------------------------------- */

.fl-pains__card,
.fl-features__card,
.fl-audience__card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.fl-pains__card:hover,
.fl-features__card:hover,
.fl-audience__card:hover {
  border-color: var(--accent);
}

.fl-pains__card-title,
.fl-features__card-title,
.fl-audience__card-title {
  font-size: 22px;
  margin-bottom: 0.5em;
}

.fl-pains__card-text,
.fl-features__card-text,
.fl-audience__card-text {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* --- Pains ---------------------------------------------------------------- */

.fl-pains__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* --- Features ------------------------------------------------------------- */

.fl-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.fl-features__card {
  display: flex;
  flex-direction: column;
}

.fl-features__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(128, 210, 7, 0.1);
  color: var(--accent);
}

.fl-features__icon svg {
  display: block;
}

/* --- Tech ----------------------------------------------------------------- */

.fl-tech__flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  margin-bottom: 48px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}

.fl-tech__col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.fl-tech__col-label {
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fl-tech__node {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
}

.fl-tech__node-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
}

.fl-tech__node-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.fl-tech__node--out {
  border-color: rgba(128, 210, 7, 0.35);
}

.fl-tech__node--out .fl-tech__node-title {
  color: var(--accent);
}

.fl-tech__core {
  padding: 20px;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: rgba(128, 210, 7, 0.08);
  box-shadow: 0 0 40px rgba(128, 210, 7, 0.14);
}

.fl-tech__core-title {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fl-tech__core-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fl-tech__core-item {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  font-size: 15px;
  line-height: 1.3;
}

/* Arrows between columns (mobile: stacked, pointing down) */
.fl-tech__col--sources::after,
.fl-tech__col--core::after {
  content: "\2193";
  position: absolute;
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%);
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

.fl-tech__flow-pill {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 9px 18px;
  border: 1px solid rgba(128, 210, 7, 0.35);
  border-radius: 50px;
  background: rgba(128, 210, 7, 0.1);
  color: var(--accent);
  font-size: 14px;
  line-height: 1.2;
}

.fl-tech__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fl-tech__card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.fl-tech__card:hover {
  border-color: var(--accent);
}

.fl-tech__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(128, 210, 7, 0.12);
  color: var(--accent);
}

.fl-tech__card-icon svg {
  display: block;
}

.fl-tech__card-title {
  font-size: 19px;
  margin-bottom: 0.45em;
}

.fl-tech__card-text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .fl-tech__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .fl-tech__cards {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) {
  .fl-tech__flow {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 48px;
    padding: 36px;
  }

  .fl-tech__col--sources::after,
  .fl-tech__col--core::after {
    content: "\2192";
    left: auto;
    right: -34px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
  }
}

/* --- Screens / tabs ------------------------------------------------------- */

.fl-screens__tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.fl-screens__tab {
  flex: 0 0 auto;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fl-screens__tab:hover {
  color: var(--text);
  border-color: var(--text);
}

.fl-screens__tab[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.fl-screens__panel[hidden] {
  display: none;
}

.fl-screens__caption {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  text-align: center;
}

/* --- Bento (Особенности) -------------------------------------------------- */

.fl-bento {
  margin-bottom: 56px;
}

.fl-bento__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(3, auto);
  gap: 20px;
  margin-top: 28px;
}

.fl-bento__card {
  position: relative;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #161616, #0b0b0b);
  transition: border-color 0.2s ease;
}

.fl-bento__card:hover {
  border-color: var(--accent);
}

.fl-bento__card--big {
  grid-row: 1 / span 3;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 18% 0%, rgba(128, 210, 7, 0.16), transparent 65%),
    linear-gradient(160deg, #161616, #0b0b0b);
}

.fl-bento__card-title {
  font-size: 20px;
  margin-bottom: 0.5em;
}

.fl-bento__card--big .fl-bento__card-title {
  font-size: clamp(24px, 3vw, 34px);
}

.fl-bento__card-text {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.fl-bento__card:not(.fl-bento__card--big) {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.fl-bento__num {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 500;
  line-height: 0.9;
  color: var(--accent);
  opacity: 0.9;
}

.fl-bento__card-body {
  min-width: 0;
}

.fl-bento__card-body .fl-bento__card-title {
  margin-bottom: 0.35em;
}

/* Fake audit-log UI */

.fl-bento__audit {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
}

.fl-bento__audit-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.fl-bento__audit-row + .fl-bento__audit-row {
  border-top: 1px solid var(--line);
}

.fl-bento__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(128, 210, 7, 0.14);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.fl-bento__audit-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fl-bento__audit-name {
  font-size: 15px;
}

.fl-bento__audit-action {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.fl-bento__audit-time {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.fl-bento__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.fl-bento__chip-old {
  color: var(--muted);
  text-decoration: line-through;
}

.fl-bento__chip-arrow {
  color: var(--muted);
}

.fl-bento__chip-new {
  color: var(--accent);
  font-weight: 500;
}

@media (max-width: 900px) {
  .fl-bento__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .fl-bento__card--big {
    grid-row: auto;
  }
}

/* --- Slider (roles) ------------------------------------------------------- */

.fl-slider {
  margin-bottom: 56px;
}

.fl-slider:last-child {
  margin-bottom: 0;
}

.fl-slider__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.fl-slider__head .fl-section__title {
  margin-bottom: 0;
}

.fl-slider__nav {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.fl-slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease,
    opacity 0.2s ease;
}

.fl-slider__btn:hover {
  border-color: var(--accent-2);
  background: var(--accent-2);
  color: #000;
}

.fl-slider__btn[disabled] {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
  opacity: 0.5;
  cursor: default;
}

.fl-slider__btn[disabled]:hover {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.fl-slider__viewport {
  position: relative;
}

.fl-slider__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.fl-slider.is-end .fl-slider__viewport::after {
  opacity: 0;
}

.fl-slider__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

/* No text selection inside the slider — dragging shouldn't highlight/copy text. */
.fl-slider__track,
.fl-slider__slide {
  -webkit-user-select: none;
  user-select: none;
}

.fl-slider__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  /* direct 1:1 follow — no smooth animation that makes the drag feel jerky */
  scroll-behavior: auto;
}

.fl-slider__track::-webkit-scrollbar {
  display: none;
}

.fl-slider__slide {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 40px) / 2.3);
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  scroll-snap-align: none;
  transition: border-color 0.2s ease;
}

.fl-slider__slide:hover {
  border-color: var(--accent);
}

/* Progress row */

.fl-slider__progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.fl-slider__bar-wrap {
  position: relative;
  flex: 1 1 auto;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}

.fl-slider__bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  border-radius: 2px;
  background: var(--accent);
  transition: width 0.15s ease, transform 0.15s ease;
}

.fl-slider__count {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.fl-slider__hint {
  display: none;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Role slide */

.fl-role {
  gap: 16px;
}

.fl-role__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.fl-role__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.fl-role__code {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", "Consolas", monospace;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.fl-role__desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.fl-role__access {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.fl-role__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.fl-role__icon {
  flex: 0 0 auto;
}

.fl-role__icon--yes {
  color: var(--accent);
}

.fl-role__icon--no {
  color: var(--muted);
}

.fl-role__row.is-off .fl-role__label {
  color: var(--muted);
  text-decoration: line-through;
}

.fl-role__suffix {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1024px) {
  .fl-slider__slide {
    flex-basis: calc((100% - 20px) / 1.6);
  }
}

@media (max-width: 640px) {
  .fl-slider__slide {
    flex-basis: calc((100% - 20px) / 1.15);
  }

  .fl-slider__hint {
    display: block;
  }
}

/* --- Audience ------------------------------------------------------------- */

.fl-audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fl-audience__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(128, 210, 7, 0.12);
  color: var(--accent);
}

.fl-audience__icon svg {
  display: block;
}

@media (max-width: 640px) {
  .fl-audience__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Steps ---------------------------------------------------------------- */

.fl-steps__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.fl-steps__item {
  position: relative;
}

.fl-steps__num {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding-right: 18px;
  margin-bottom: 12px;
  background: var(--bg);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
}

.fl-steps__item-title {
  font-size: 21px;
  margin-bottom: 0.4em;
}

.fl-steps__item-text {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

@media (min-width: 901px) {
  .fl-steps__list::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 34px;
    height: 2px;
    background: var(--line);
  }
}

/* --- Stack chips ---------------------------------------------------------- */

.fl-stack__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.fl-stack__chip {
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: var(--card);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.fl-stack__chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Roadmap -------------------------------------------------------------- */

.fl-roadmap__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fl-roadmap__item {
  display: flex;
  gap: 20px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.2s ease;
}

.fl-roadmap__item:hover {
  border-color: var(--accent);
}

.fl-roadmap__marker {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.fl-roadmap__body {
  min-width: 0;
}

.fl-roadmap__phase {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fl-roadmap__title {
  font-size: 21px;
  margin-bottom: 0.45em;
}

.fl-roadmap__desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.fl-roadmap__novelty {
  margin: 14px 0 0;
  padding-left: 14px;
  border-left: 2px solid rgba(128, 210, 7, 0.4);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.fl-roadmap__disclaimer {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (min-width: 901px) {
  .fl-roadmap__list {
    gap: 24px;
  }

  .fl-roadmap__list::before {
    content: "";
    position: absolute;
    top: 44px;
    bottom: 44px;
    left: 43px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), rgba(128, 210, 7, 0.15));
  }
}
/* --- FAQ ------------------------------------------------------------------ */
.fl-faq__item {
  border-bottom: 1px solid var(--line);
}

.fl-faq__summary {
  position: relative;
  display: block;
  padding: 22px 48px 22px 0;
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.fl-faq__summary::-webkit-details-marker {
  display: none;
}

.fl-faq__summary:hover {
  color: var(--accent);
}

.fl-faq__summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.fl-faq__item[open] .fl-faq__summary::after {
  content: "\2212";
}

.fl-faq__answer {
  padding: 0 48px 24px 0;
  color: var(--muted);
  font-size: 16px;
}

/* --- Request form --------------------------------------------------------- */

.fl-request__lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 36px;
}

.fl-request__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.fl-request__el {
  min-width: 0;
}

.fl-request__el--checkbox,
.fl-request__el--button {
  grid-column: 1 / -1;
}

@media (min-width: 901px) {
  .fl-request__form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px 24px;
  }
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s ease;
}

.form-input::placeholder {
  color: var(--muted);
}

.form-input:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-input.is-error {
  border-color: var(--danger);
  color: var(--danger);
}

.form-input.is-error::placeholder {
  color: var(--danger);
}

.form-error {
  margin-top: 6px;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.35;
}

/* Custom checkbox */

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form-checkbox__box {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-2);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.form-checkbox__box:checked {
  background: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

.form-checkbox__box.is-error {
  border-color: var(--danger);
}

.form-checkbox__text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.fl-request__link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fl-request__link:hover {
  color: var(--accent);
}

.fl-request__thanks {
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(128, 210, 7, 0.12);
  color: var(--accent);
  font-size: 17px;
}

/* --- Footer --------------------------------------------------------------- */

.fl-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 40px;
}

.fl-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fl-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fl-footer__logo {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fl-footer__copy {
  color: var(--muted);
  font-size: 14px;
}

.fl-footer__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.fl-footer__link {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.fl-footer__link:hover {
  color: var(--text);
}

.fl-footer__requisites {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 24px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
}

.fl-footer__req-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  min-width: 0;
  overflow-wrap: break-word;
}

/* --- Reveal animation ----------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
