/* The FixtureLabs intro: the mark, the whole bench, then one product takes the stage (fl-intro.js).
   Shared by keyboard.html and plugin.html. Self-contained: it doesn't rely on either page's stylesheet. */
.flx {
  position: fixed; inset: 0; z-index: 200; overflow: hidden;
  background: #fff; color: #1d1d1f; font-family: "Inter", system-ui, sans-serif;
  transition: transform 1s cubic-bezier(.7, 0, .2, 1);
}
.flx::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 55%, #000 25%, transparent 75%); mask-image: radial-gradient(60% 55% at 50% 55%, #000 25%, transparent 75%);
}
.flx.out { transform: translateY(-100%); }
.flx-brand {
  position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 14px; white-space: nowrap;
  font: 700 clamp(32px, 4vw, 56px)/1 "Inter Tight", "Inter", system-ui, sans-serif; letter-spacing: -0.03em;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .8s cubic-bezier(.2, .7, .1, 1), transform .8s cubic-bezier(.2, .7, .1, 1), opacity .5s ease;
}
.flx-brand img { height: 1.05em; width: auto; }
.flx.s1 .flx-brand { clip-path: inset(0 -2% 0 0); }
.flx-row {
  position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%); width: min(1100px, 92vw);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 2vw, 32px); align-items: end;
}
.flx-item {
  height: clamp(96px, 14vw, 200px); display: grid; place-items: end center; opacity: 0; transform: translateY(26px);
  transition: opacity .6s ease calc(var(--i) * 110ms), transform .8s cubic-bezier(.2, .7, .1, 1) calc(var(--i) * 110ms);
}
.flx-item svg { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.flx.s2 .flx-item { opacity: 1; transform: none; }
/* one product takes the stage, the rest step back (fl-intro.js measures --dx / --dy to bring it to the centre) */
.flx.s3 .flx-brand { transform: translate(-50%, -140%); opacity: 0; }
.flx.s3 .flx-item:not(.hero) { opacity: 0; transform: scale(.86); transition-delay: 0s; }
.flx.s3 .flx-item.hero { transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(1.9); transition: transform 1s cubic-bezier(.2, .7, .1, 1), opacity .6s ease; }
.flx-type { position: absolute; left: 0; right: 0; top: 76%; text-align: center; padding: 0 16px; }
.flx-type .l2 { font: 600 16px/1 "Inter", system-ui, sans-serif; letter-spacing: .02em; color: #008575; opacity: 0; transition: opacity .6s ease .15s; }
.flx-type .l1 {
  margin-top: 12px; font: 600 clamp(28px, 4.2vw, 56px)/1.05 "Inter Tight", "Inter", system-ui, sans-serif; letter-spacing: -0.035em;
  clip-path: inset(0 0 100% 0); transform: translateY(16px);
  transition: clip-path .9s cubic-bezier(.2, .7, .1, 1) .1s, transform .9s cubic-bezier(.2, .7, .1, 1) .1s;
}
.flx.s3 .flx-type .l2 { opacity: 1; }
.flx.s3 .flx-type .l1 { clip-path: inset(0 0 -12% 0); transform: none; }
.flx-skip {
  position: absolute; right: 24px; bottom: 24px; cursor: pointer;
  border: 1px solid #d2d2d7; background: #fff; color: #6e6e73; border-radius: 99px; padding: 8px 16px;
  font: 500 12px/1 "Inter", system-ui, sans-serif; letter-spacing: .04em;
}
.flx-skip:hover { color: #1d1d1f; border-color: #aeaeb2; }
.flx.still, .flx.still * { transition: none !important; }
@media (max-width: 700px) {
  .flx-row { top: 56%; }
}
@media (prefers-reduced-motion: reduce) { .flx, .flx * { transition: none !important; } }
/* debug views (?snap=, ?at=) show one section alone */
.solo .flx, .solo-bring .flx { display: none !important; }
