.fl-guide {
  --fl-accent: #ffc47b;
  --fl-panel: #121820;
  --fl-edge: #35404e;
}

.fl-skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 30;
  padding: 10px 14px;
  background: var(--surface);
  transform: translateY(calc(-100% - 10px));
}

.fl-skip:focus { transform: translateY(0); }

.fl-guide :focus-visible,
.site-nav a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-3);
}

.fl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(26px, 6vw, 68px);
  border: 1px solid var(--fl-edge);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 95% 0%, rgba(255, 168, 75, .16), transparent 60%),
    linear-gradient(135deg, #17202b, #10151d 68%);
  box-shadow: var(--shadow);
}

.fl-hero .eyebrow { color: var(--fl-accent); }
.fl-hero h1 { max-width: none; font-size: clamp(3.1rem, 7vw, 6.8rem); letter-spacing: -.045em; }
.fl-hero-single { grid-template-columns: minmax(0, 1fr); }
.fl-hero-single h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.fl-hero .lede { max-width: 53ch; }
.fl-hero .primary { color: #221506; background: var(--fl-accent); }
.fl-hero .primary:hover { background: #ffdaaa; }
.fl-hero .button small { font-size: .7em; letter-spacing: .07em; }
.fl-platform { margin: 18px 0 0; color: var(--muted); font-size: .87rem; line-height: 1.55; }

.fl-downloads {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--fl-edge);
  border-radius: var(--radius);
  background: rgba(9, 13, 18, .64);
}

.fl-downloads h2 {
  max-width: none;
  margin: 0 0 2px;
  color: var(--muted);
  font-size: .79rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fl-downloads a:not(.fl-checksums) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--fl-edge);
  border-radius: var(--radius);
  text-decoration: none;
  background: var(--fl-panel);
}

.fl-downloads a:not(.fl-checksums):hover { border-color: var(--fl-accent); }
.fl-downloads a > span:last-child { color: var(--fl-accent); font-size: 1.2rem; }
.fl-downloads small { display: block; margin-top: 4px; color: var(--muted); line-height: 1.4; }
.fl-checksums { justify-self: start; padding: 5px 0; color: var(--muted); font-size: .82rem; }

.fl-contents {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 22px;
  padding: 8px;
  border: 1px solid var(--fl-edge);
  border-radius: var(--radius);
  background: var(--fl-panel);
}

.fl-contents a {
  padding: 9px 13px;
  border-radius: 5px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}
.fl-contents a:hover { color: var(--text); background: var(--surface-3); }

.fl-section {
  margin-bottom: 16px;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--fl-edge);
  border-radius: var(--radius);
  background: var(--fl-panel);
  scroll-margin-top: 92px;
}

.fl-section h2 { max-width: none; font-size: clamp(1.85rem, 4vw, 3rem); letter-spacing: -.025em; }
.fl-section p,
.fl-section li { color: var(--muted); line-height: 1.65; }
.fl-section strong { color: var(--text); }
.fl-section li { overflow-wrap: anywhere; }
.fl-section a { color: var(--cyan); text-underline-offset: .22em; }
.fl-section a:hover { color: var(--text); }

.fl-demo-video {
  display: block;
  width: 100%;
  max-width: 960px;
  height: auto;
  border-radius: 12px;
}

.fl-note {
  padding: 11px 16px;
  border-left: 3px solid var(--fl-accent);
  background: rgba(255, 196, 123, .07);
}

.fl-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
  counter-reset: steps;
}

.fl-steps > li,
.fl-integrations article {
  min-width: 0;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--fl-edge);
  border-radius: var(--radius);
  background: #10151c;
}

.fl-steps > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  align-items: center;
  column-gap: 10px;
  counter-increment: steps;
}

.fl-steps > li::before {
  content: counter(steps, decimal-leading-zero);
  color: var(--fl-accent);
  font: 700 .8rem ui-monospace, Consolas, monospace;
}
.fl-steps > li > :not(h3) { grid-column: 1 / -1; }
.fl-steps li p { margin: 8px 0 14px; }
.fl-section h3 { color: var(--text); }

.fl-command,
.fl-path {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 8px 10px 8px 12px;
  border: 1px solid var(--fl-edge);
  border-radius: 6px;
  background: #080d12;
}

.fl-command pre { flex: 1; min-width: 0; margin: 0; }
.fl-command code,
.fl-path code {
  display: block;
  padding: 5px 0;
  border: 0;
  background: none;
  color: #b9eef3;
  font: .86rem/1.6 ui-monospace, Consolas, monospace;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.fl-command button,
.fl-picker select {
  border: 1px solid var(--fl-edge);
  border-radius: 5px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
}

.fl-command button {
  flex: none;
  min-width: 66px;
  padding: 5px 8px;
  color: var(--muted);
  font-size: .79rem;
  font-weight: 700;
  cursor: pointer;
}

.fl-command button:hover { color: var(--text); border-color: var(--cyan); }

.fl-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 10px;
}

.fl-picker label { font-weight: 750; }
.fl-picker select { min-height: 42px; max-width: 100%; padding: 8px 11px; cursor: pointer; }
.fl-table { margin-top: 20px; overflow-x: auto; }
.fl-table table { width: 100%; border-collapse: collapse; text-align: left; }
.fl-table th, .fl-table td { padding: 10px 12px; border-bottom: 1px solid var(--fl-edge); }
.fl-table thead { color: var(--muted); background: var(--surface-2); }
.fl-table tbody th { font-weight: 500; }
.fl-table tr:last-child > * { border-bottom: 0; }
.fl-table code { white-space: nowrap; }

.fl-integrations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fl-integrations a { display: block; width: fit-content; margin-top: 10px; }
.fl-platform-guide .fl-section > p, .fl-instructions { max-width: 78ch; }
.fl-instructions { padding-inline-start: 26px; }
.fl-instructions > li { padding-inline-start: 4px; }
.fl-instructions > li + li { margin-top: 12px; }
.fl-instructions > li::marker { color: var(--fl-accent); font-weight: 750; }

.fl-faq { display: grid; gap: 9px; margin-top: 20px; }
.fl-faq details { padding: 12px 16px; border: 1px solid var(--fl-edge); border-radius: 6px; }
.fl-faq summary { font-weight: 700; cursor: pointer; }
.fl-faq p { margin: 10px 0 0; }
.fl-guide-link { margin: 16px 0 0; }

.fl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .fl-hero, .fl-steps, .fl-integrations { grid-template-columns: 1fr; }
  .fl-section { scroll-margin-top: 18px; }
}

@media (max-width: 450px) {
  .fl-table th, .fl-table td { padding: 8px 7px; font-size: .82rem; }
  .fl-table code { white-space: normal; overflow-wrap: anywhere; }
}

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

.fl-warning { border-inline-start: 4px solid #ffad52; padding-inline-start: 1rem; }
