.tsfcp-site {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.tsfcp-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(77, 246, 255, .12), transparent 24%),
    radial-gradient(circle at 82% 20%, rgba(255, 79, 216, .11), transparent 28%),
    linear-gradient(140deg, #060912 0%, #0b1220 48%, #090b13 100%);
}

.tsfcp-bg__grid,
.tsfcp-bg__scan {
  position: absolute;
  inset: 0;
}

.tsfcp-bg__grid {
  opacity: .33;
  background-image:
    linear-gradient(rgba(77, 246, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 246, 255, .08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), rgba(0,0,0,.18));
}

.tsfcp-bg__scan {
  opacity: .18;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 6px, rgba(255,255,255,.05) 7px);
}

.tsfcp-bg__glow {
  position: absolute;
  width: 38vw;
  height: 38vw;
  border-radius: 999px;
  filter: blur(64px);
  opacity: .18;
}

.tsfcp-bg__glow--cyan {
  left: -14vw;
  bottom: 10vh;
  background: var(--tsfcp-cyan);
}

.tsfcp-bg__glow--pink {
  right: -16vw;
  top: 18vh;
  background: var(--tsfcp-pink);
}

.tsfcp-shell {
  width: min(calc(100% - 32px), var(--tsfcp-shell));
  margin-inline: auto;
}

.tsfcp-shell--narrow {
  max-width: 860px;
}

.tsfcp-main {
  min-height: 70vh;
}

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

.tsfcp-section--content {
  padding-top: 42px;
}

.tsfcp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7, 11, 18, .74);
  backdrop-filter: blur(18px);
}

.tsfcp-header.is-scrolled {
  background: rgba(7, 11, 18, .92);
  box-shadow: 0 14px 40px rgba(0,0,0,.34);
}

.tsfcp-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
}

.tsfcp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.tsfcp-brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(77,246,255,.95), rgba(255,79,216,.8)),
    #101827;
  box-shadow: 0 0 24px rgba(77,246,255,.26);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}

.tsfcp-brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(77,246,255,.26);
}

.tsfcp-brand__text {
  display: grid;
  line-height: 1.05;
}

.tsfcp-brand__text strong,
.tsfcp-brand__text em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tsfcp-brand__text strong {
  font-family: var(--tsfcp-display);
  font-size: 22px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tsfcp-brand__text em {
  margin-top: 4px;
  color: var(--tsfcp-muted);
  font-size: 12px;
  font-style: normal;
  text-transform: uppercase;
}

.tsfcp-nav {
  justify-self: center;
}

.tsfcp-nav__list,
.tsfcp-footer__menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tsfcp-nav a {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--tsfcp-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tsfcp-nav a:hover,
.tsfcp-nav a:focus-visible,
.tsfcp-nav .current-menu-item > a {
  color: var(--tsfcp-text);
  background: rgba(77,246,255,.08);
}

.tsfcp-menu-toggle {
  display: none;
}

.tsfcp-footer {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 34px 0;
  background: rgba(5, 8, 14, .72);
}

.tsfcp-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--tsfcp-muted);
}

.tsfcp-footer__links,
.tsfcp-footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tsfcp-footer a {
  color: var(--tsfcp-text);
  font-weight: 700;
}

@media (max-width: 980px) {
  .tsfcp-header__inner {
    grid-template-columns: auto auto 1fr;
  }

  .tsfcp-menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    color: var(--tsfcp-text);
    cursor: pointer;
  }

  .tsfcp-menu-toggle span:not(.screen-reader-text) {
    width: 18px;
    height: 2px;
    margin: 2px 0;
    background: currentColor;
  }

  .tsfcp-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    padding: 12px;
    border: 1px solid var(--tsfcp-line);
    border-radius: 8px;
    background: rgba(7, 11, 18, .98);
    box-shadow: 0 20px 50px rgba(0,0,0,.48);
  }

  .tsfcp-nav.is-open {
    display: block;
  }

  .tsfcp-nav__list {
    display: grid;
    gap: 4px;
  }

  .tsfcp-nav a {
    width: 100%;
  }

}

@media (max-width: 720px) {
  .tsfcp-shell {
    width: min(calc(100% - 24px), var(--tsfcp-shell));
  }

  .tsfcp-brand__text em {
    display: none;
  }

  .tsfcp-header__inner {
    gap: 10px;
  }

  .tsfcp-footer__inner {
    display: grid;
  }
}
