/* DEVLIP long luxury inner pages — dark, zigzag, motion (pairs with home header) */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

.devlip-long {
  --fl-red: #e10600;
  --fl-ink: #f4f4f2;
  --fl-muted: rgba(244, 244, 242, 0.62);
  --fl-line: rgba(255, 255, 255, 0.08);
  --fl-panel: #0c0c0c;
  --fl-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fl-display: "Space Grotesk", sans-serif;
  --fl-body: "Manrope", sans-serif;
  font-family: var(--fl-body);
  color: var(--fl-ink);
  background: #050505;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.devlip-long h1,
.devlip-long h2,
.devlip-long h3 {
  font-family: var(--fl-display);
  font-weight: 600;
  letter-spacing: -0.028em;
  color: #fff;
  line-height: 1.15;
  text-wrap: balance;
}

.devlip-long .fl-wrap {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

/* Hero */
.fl-hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 150px 24px 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 50% 40%, rgba(225, 6, 0, 0.28), transparent 65%),
    radial-gradient(ellipse 40% 30% at 85% 90%, rgba(225, 6, 0, 0.08), transparent 50%),
    #050505;
}

.fl-hero__arcs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fl-hero__arcs span {
  position: absolute;
  border: 1px solid rgba(225, 6, 0, 0.28);
  border-radius: 50%;
  animation: flDrift 16s ease-in-out infinite;
}

.fl-hero__arcs span:nth-child(1) {
  width: 110vmax;
  height: 110vmax;
  left: -42vmax;
  top: -28vmax;
}

.fl-hero__arcs span:nth-child(2) {
  width: 85vmax;
  height: 85vmax;
  right: -32vmax;
  bottom: -38vmax;
  border-color: rgba(255, 255, 255, 0.06);
  animation-delay: -5s;
}

.fl-hero__arcs span:nth-child(3) {
  width: 42vmax;
  height: 42vmax;
  left: 50%;
  top: 48%;
  margin: -21vmax 0 0 -21vmax;
  border-color: rgba(225, 6, 0, 0.15);
  animation: flSpin 28s linear infinite;
}

@keyframes flDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2%, -1.5%) scale(1.03); }
}

@keyframes flSpin {
  to { transform: rotate(360deg); }
}

.fl-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  width: 100%;
}

.fl-crumb {
  margin-bottom: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--fl-body);
  font-weight: 500;
}

.fl-crumb a { color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.fl-crumb a:hover { color: #fff; }
.fl-crumb em { font-style: normal; color: var(--fl-red); }

.fl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--fl-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fl-red);
}

.fl-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fl-red);
  box-shadow: 0 0 0 0 rgba(225, 6, 0, 0.45);
  animation: flPulse 2s ease-out infinite;
}

@keyframes flPulse {
  70% { box-shadow: 0 0 0 12px rgba(225, 6, 0, 0); }
}

.fl-hero h1 {
  margin: 0 auto 18px;
  max-width: 18ch;
  font-size: clamp(2.15rem, 4.8vw, 3.65rem);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.12;
}

.fl-hero h1 span { color: var(--fl-red); }

.fl-hero__lead {
  margin: 0 auto 32px;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fl-muted);
  font-weight: 400;
}

.fl-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.fl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--fl-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  color: #fff !important;
  background: var(--fl-red);
  box-shadow: 0 12px 36px rgba(225, 6, 0, 0.35);
  transition: transform 0.35s var(--fl-ease), background 0.25s ease;
}

.fl-btn:hover { transform: translateY(-2px); background: #ff2a22; color: #fff !important; }

.fl-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
  color: #fff !important;
}

.fl-btn--ghost:hover {
  border-color: var(--fl-red);
  color: var(--fl-red) !important;
  background: transparent;
}

/* Stats */
.fl-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--fl-line);
  border: 1px solid var(--fl-line);
  border-radius: 18px;
  overflow: hidden;
  margin: -40px auto 20px;
  position: relative;
  z-index: 3;
  width: min(1100px, calc(100% - 40px));
}

.fl-stats__item {
  padding: 36px 18px;
  background: #0a0a0a;
  text-align: center;
}

.fl-stats__val {
  display: block;
  font-family: var(--fl-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.fl-stats__val em { font-style: normal; color: var(--fl-red); }
.fl-stats__label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fl-muted);
  font-weight: 500;
}

/* Zigzag */
.fl-zig {
  position: relative;
  padding: 40px 0 20px;
}

.fl-zig__rail {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(225, 6, 0, 0.45), rgba(255, 255, 255, 0.08), rgba(225, 6, 0, 0.45), transparent);
  pointer-events: none;
}

.fl-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 9vw, 110px) 0;
  opacity: 0;
  transform: translateY(56px);
  transition: opacity 0.95s var(--fl-ease), transform 0.95s var(--fl-ease);
}

.fl-row.is-in {
  opacity: 1;
  transform: none;
}

.fl-row--flip .fl-row__media { order: 2; }
.fl-row--flip .fl-row__copy { order: 1; }

.fl-row__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: #111;
  border: 1px solid var(--fl-line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  transform: translateX(-40px) rotate(-1.1deg);
  transition: transform 1.05s var(--fl-ease);
}

.fl-row--flip .fl-row__media {
  transform: translateX(40px) rotate(1.1deg);
}

.fl-row.is-in .fl-row__media { transform: none; }

.fl-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.3s var(--fl-ease);
}

.fl-row.is-in .fl-row__media img { transform: scale(1.04); }

.fl-row__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.22), transparent 42%),
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.fl-row__frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  z-index: 2;
  pointer-events: none;
}

.fl-row__num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--fl-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fl-red);
}

.fl-row__num::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--fl-red);
}

.fl-row h2 {
  margin: 0 0 14px;
  max-width: 22ch;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.18;
}

.fl-row h2 em { font-style: normal; color: var(--fl-red); }

.fl-row p {
  margin: 0 0 22px;
  max-width: 36rem;
  color: var(--fl-muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.fl-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.fl-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.98rem;
  font-family: var(--fl-body);
}

.fl-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fl-red);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.18);
}

/* Sections */
.fl-section {
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
}

.fl-section--panel {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(225, 6, 0, 0.12), transparent 60%),
    #080808;
  border-block: 1px solid var(--fl-line);
}

.fl-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.fl-head h2 {
  margin: 0 0 14px;
  max-width: 22ch;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
}

.fl-head p {
  margin: 0;
  color: var(--fl-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.fl-card {
  padding: 32px 28px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.03), transparent 55%), #0b0b0b;
  border: 1px solid var(--fl-line);
  border-radius: 18px;
  transition: transform 0.45s var(--fl-ease), border-color 0.3s ease, box-shadow 0.45s ease;
}

.fl-card:hover {
  transform: translateY(-8px);
  border-color: rgba(225, 6, 0, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.fl-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(225, 6, 0, 0.12);
  color: var(--fl-red);
}

.fl-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  max-width: none;
}

.fl-card p {
  margin: 0;
  color: var(--fl-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.fl-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: flpath;
}

.fl-path__step {
  padding: 28px 22px;
  background: #0b0b0b;
  border: 1px solid var(--fl-line);
  border-radius: 16px;
  counter-increment: flpath;
}

.fl-path__step::before {
  content: counter(flpath, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: var(--fl-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--fl-red);
}

.fl-path__step h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

.fl-path__step p {
  margin: 0;
  color: var(--fl-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.fl-journey {
  display: flex;
  gap: 16px;
  counter-reset: fljourney;
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 4px 10px;
  margin: 0 -4px;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent 100%);
}

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

.fl-journey__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 0 0 265px;
  max-width: 265px;
  scroll-snap-align: start;
  padding: 24px 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.03), transparent 55%), #0b0b0b;
  border: 1px solid var(--fl-line);
  border-radius: 16px;
  counter-increment: fljourney;
  transition: transform 0.4s var(--fl-ease), border-color 0.3s ease, box-shadow 0.4s ease;
}

.fl-journey__step:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 6, 0, 0.35);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.fl-journey__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.fl-journey__step::before {
  content: counter(fljourney);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #0b0b0b;
  border: 1px solid rgba(225, 6, 0, 0.4);
  color: var(--fl-red);
  font-family: var(--fl-display);
  font-weight: 700;
  font-size: 0.82rem;
}

.fl-journey__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(225, 6, 0, 0.1);
  color: var(--fl-red);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.fl-journey__stage {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fl-red);
}

.fl-journey__step h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  max-width: none;
}

.fl-journey__step p {
  margin: 0 0 14px;
  color: var(--fl-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.fl-journey__field {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 10px;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #b9b9c0;
}

.fl-journey__field i {
  margin-top: 3px;
  color: var(--fl-red);
  font-size: 0.68rem;
  flex-shrink: 0;
  width: 12px;
}

.fl-journey__field strong {
  color: #d6d6da;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 2px;
}

.fl-journey__quote {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-left: 2px solid rgba(225, 6, 0, 0.4);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 8px 8px 0;
  color: #d6d6da;
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.5;
}

.fl-journey__resolve {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--fl-line);
  font-size: 0.8rem;
  line-height: 1.5;
  color: #e4e4e8;
}

.fl-journey__resolve i {
  margin-top: 2px;
  color: var(--fl-red);
  flex-shrink: 0;
}

.fl-journey__metric {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--fl-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}
.fl-journey__metric i {
  margin-top: 2px;
  color: var(--fl-red);
  font-size: 0.68rem;
  flex-shrink: 0;
}
.fl-journey__metric strong {
  display: block;
  margin-bottom: 2px;
  color: #d6d6da;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fl-journey__time {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--fl-line);
  color: #d6d6da;
  font-size: 0.75rem;
  font-weight: 600;
}

.fl-journey__time i {
  color: var(--fl-red);
  font-size: 0.68rem;
}

.fl-journey__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.1), transparent 60%), #0b0b0b;
  border: 1px solid rgba(225, 6, 0, 0.25);
}

.fl-journey__cta p {
  margin: 0;
  color: #e4e4e8;
  font-size: 0.95rem;
}

.fl-journey__cta strong {
  color: #fff;
}

.fl-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fl-tools__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #0b0b0b;
  border: 1px solid var(--fl-line);
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fl-muted);
}

.fl-tools__item i {
  color: var(--fl-red);
  font-size: 1rem;
}

.fl-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.fl-cat-card {
  padding: 28px 26px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.03), transparent 55%), #0b0b0b;
  border: 1px solid var(--fl-line);
  border-radius: 18px;
  transition: transform 0.45s var(--fl-ease), border-color 0.3s ease, box-shadow 0.45s ease;
}

.fl-cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 6, 0, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.fl-cat-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(225, 6, 0, 0.12);
  color: var(--fl-red);
  font-size: 1.15rem;
}

.fl-cat-card h3 {
  margin: 0 0 14px;
  font-size: 1.08rem;
  font-weight: 600;
  max-width: none;
}

.fl-cat-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fl-cat-card__tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--fl-line);
  color: var(--fl-muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.fl-categories--pillars {
  grid-template-columns: repeat(3, 1fr);
}

.fl-categories--router {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.fl-cat-card--router {
  padding: 22px 20px;
}

.fl-cat-card--router .fl-cat-card__positioning {
  margin: -6px 0 14px;
  color: var(--fl-red);
  font-size: 0.86rem;
  font-weight: 600;
}

.fl-cat-card--router .fl-cat-card__tags {
  margin-bottom: 4px;
}

.fl-cat-card--router .fl-cat-card__cta {
  font-size: 0.82rem;
  white-space: normal;
  line-height: 1.3;
}

.fl-cat-card__desc {
  margin: 0 0 16px;
  color: var(--fl-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.fl-cat-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--fl-red);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.fl-cat-card__cta:hover {
  text-decoration: underline;
}

.fl-repurpose {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  flex-wrap: wrap;
}

.fl-repurpose__source {
  flex: 0 0 auto;
  padding: 28px 32px;
  border-radius: 18px;
  border: 1px solid rgba(225, 6, 0, 0.35);
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.1), transparent 60%), #0b0b0b;
  text-align: center;
}

.fl-repurpose__source i {
  font-size: 1.6rem;
  color: var(--fl-red);
  margin-bottom: 10px;
  display: block;
}

.fl-repurpose__source span {
  display: block;
  font-family: var(--fl-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.fl-repurpose__arrow {
  flex: 0 0 auto;
  color: var(--fl-red);
  font-size: 1.6rem;
}

.fl-repurpose__outputs {
  flex: 1 1 320px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.fl-repurpose__output {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #0b0b0b;
  border: 1px solid var(--fl-line);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e4e4e8;
}

.fl-repurpose__output i {
  color: var(--fl-red);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.fl-rpm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px 0;
}

.fl-rpm__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #0b0b0b;
  border: 1px solid var(--fl-line);
  border-radius: 14px;
}

.fl-rpm__row--top {
  border-color: rgba(225, 6, 0, 0.35);
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.08), transparent 60%), #0b0b0b;
}

.fl-rpm__niche {
  font-weight: 600;
  color: #fff;
  font-size: 0.98rem;
}

.fl-rpm__bar-track {
  position: relative;
  height: 5px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  max-width: 320px;
}

.fl-rpm__bar-fill {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--fl-red);
}

.fl-rpm__value {
  font-family: var(--fl-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fl-red);
  white-space: nowrap;
}

.fl-rpm__value small {
  display: block;
  font-family: var(--fl-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fl-muted);
  margin-top: 2px;
}

.fl-rpm__calc {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--fl-muted);
}

.fl-rpm__calc strong {
  color: #d6d6da;
  font-weight: 600;
}

.fl-rpm__source {
  margin: 18px 0 0;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--fl-line);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--fl-muted);
  max-width: 72ch;
}

.fl-rpm__source strong {
  color: #d6d6da;
}

.fl-rpm[hidden] + p,
.fl-rpm[hidden] + p + p {
  display: none;
}
.fl-revenue-calc {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.8fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(225, 6, 0, 0.32);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.09), rgba(255, 255, 255, 0.025));
}
.fl-revenue-calc__fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.fl-revenue-calc label {
  display: grid;
  gap: 7px;
  color: #d6d6da;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fl-revenue-calc input,
.fl-revenue-calc select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.fl-revenue-calc input:focus,
.fl-revenue-calc select:focus {
  outline: 2px solid var(--fl-red);
  outline-offset: 2px;
}
.fl-revenue-calc__result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
}
.fl-revenue-calc__result span,
.fl-revenue-calc__result small {
  color: var(--fl-muted);
  font-size: 0.76rem;
  line-height: 1.45;
}
.fl-revenue-calc__result strong {
  margin: 4px 0;
  color: #fff;
  font-family: var(--fl-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}
.fl-rpm__source--plain {
  margin-top: 14px;
}
.fl-niche-checks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.fl-niche-checks > div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}
.fl-niche-checks strong,
.fl-niche-checks span {
  display: block;
}
.fl-niche-checks strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.8rem;
}
.fl-niche-checks span {
  color: var(--fl-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}
@media (max-width: 767px) {
  .fl-revenue-calc { grid-template-columns: 1fr; }
  .fl-revenue-calc__fields { grid-template-columns: 1fr; }
  .fl-niche-checks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .fl-niche-checks { grid-template-columns: 1fr 1fr; }
}

.fl-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fl-compare__col {
  padding: 30px 26px;
  border-radius: 18px;
  border: 1px solid var(--fl-line);
  background: #0b0b0b;
}

.fl-compare__col--win {
  border-color: rgba(225, 6, 0, 0.4);
  background: linear-gradient(165deg, rgba(225, 6, 0, 0.08), transparent 55%), #0b0b0b;
}

.fl-compare__label {
  display: block;
  margin-bottom: 16px;
  font-family: var(--fl-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fl-muted);
}

.fl-compare__col--win .fl-compare__label {
  color: var(--fl-red);
}

.fl-compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fl-compare__list li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--fl-muted);
}

.fl-compare__list li i {
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: #6b6b6b;
}

.fl-compare__col--win .fl-compare__list li {
  color: #e7e7e7;
}

.fl-compare__col--win .fl-compare__list li i {
  color: var(--fl-red);
}

.fl-formats {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 28px;
}

.fl-format-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.fl-format-card__frame {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--fl-line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), transparent 60%), #0b0b0b;
  display: grid;
  place-items: center;
  color: var(--fl-red);
  font-size: 1.3rem;
}

.fl-format-card__frame--9x16 { aspect-ratio: 9 / 16; max-width: 104px; }
.fl-format-card__frame--1x1 { aspect-ratio: 1 / 1; max-width: 140px; }
.fl-format-card__frame--4x5 { aspect-ratio: 4 / 5; max-width: 124px; }
.fl-format-card__frame--16x9 { aspect-ratio: 16 / 9; max-width: 190px; }

.fl-format-card__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.fl-format-card__spec {
  font-size: 0.75rem;
  color: var(--fl-muted);
}

.fl-faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.fl-faq details {
  padding: 22px 24px;
  background: #0b0b0b;
  border: 1px solid var(--fl-line);
  border-radius: 14px;
  transition: border-color 0.25s ease;
}

.fl-faq details[open] { border-color: rgba(225, 6, 0, 0.35); }

.fl-faq summary {
  cursor: pointer;
  font-family: var(--fl-display);
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  color: #fff;
  line-height: 1.35;
}

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

.fl-faq details p {
  margin: 14px 0 0;
  color: var(--fl-muted);
  line-height: 1.7;
}

.fl-cta {
  position: relative;
  padding: clamp(90px, 12vw, 140px) 20px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(225, 6, 0, 0.22), transparent 65%),
    #050505;
}

.fl-cta h2 {
  margin: 0 auto 16px;
  max-width: 22ch;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

.fl-cta p {
  margin: 0 auto 32px;
  max-width: 34rem;
  color: var(--fl-muted);
}

.fl-related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  justify-content: center;
}

.fl-related a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--fl-line);
  background: #0b0b0b;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.92rem;
  font-family: var(--fl-body);
  transition: border-color 0.25s ease, transform 0.3s var(--fl-ease);
}

.fl-related a:hover {
  border-color: rgba(225, 6, 0, 0.4);
  transform: translateY(-2px);
  color: #fff !important;
}

.fl-related a i { color: var(--fl-red); font-size: 0.8rem; }

/* Pricing tiers + contact form */
.fl-tier {
  padding: 36px 28px;
  background: #0b0b0b;
  border: 1px solid var(--fl-line);
  border-radius: 18px;
  height: 100%;
}
.fl-tier--featured {
  border-color: rgba(225, 6, 0, 0.45);
  box-shadow: 0 24px 60px rgba(225, 6, 0, 0.12);
}
.fl-tier__name {
  font-family: var(--fl-display);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 8px;
}
.fl-tier__price {
  font-family: var(--fl-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: #fff;
}
.fl-tier__price em { font-style: normal; color: var(--fl-red); }
.fl-tier__price span {
  display: block;
  font-family: var(--fl-body, inherit);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--fl-muted);
  margin-top: 4px;
}
.fl-tier__note {
  color: var(--fl-muted);
  font-size: 0.9rem;
  margin: 0 0 20px;
}
.fl-form-wrap { max-width: 820px; margin: 0 auto; }
.fl-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.fl-field { display: flex; flex-direction: column; gap: 8px; }
.fl-field--full { grid-column: 1 / -1; }
.fl-field label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.fl-field input,
.fl-field select,
.fl-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--fl-body);
  font-size: 0.975rem;
  color: #fff;
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--fl-line);
  border-radius: 10px;
  outline: none;
}
.fl-field textarea { min-height: 140px; resize: vertical; }

/* jQuery nice-select ($('select').niceSelect() runs globally in main.js) replaces the
   native <select> with its own light-themed markup, bypassing the dark styling above —
   restyle it to match the other dark form fields. */
.fl-field .nice-select {
  width: 100%;
  height: auto;
  padding: 14px 40px 14px 16px;
  line-height: 1.4;
  font-family: var(--fl-body);
  font-size: 0.975rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--fl-line);
  border-radius: 10px;
  float: none;
}
.fl-field .nice-select:hover,
.fl-field .nice-select:active,
.fl-field .nice-select.open,
.fl-field .nice-select:focus {
  border-color: var(--fl-line);
}
.fl-field .nice-select .current {
  color: #fff;
}
.fl-field .nice-select::after {
  border-bottom-color: rgba(255, 255, 255, 0.55);
  border-right-color: rgba(255, 255, 255, 0.55);
}
.fl-field .nice-select .list {
  width: 100%;
  background: var(--fl-panel);
  border: 1px solid var(--fl-line);
  box-shadow: 0 0.5rem 1.875rem rgba(0, 0, 0, 0.35);
}
.fl-field .nice-select .option {
  color: rgba(255, 255, 255, 0.82);
}
.fl-field .nice-select .option.selected {
  color: #fff;
}
.fl-field .nice-select .option:hover,
.fl-field .nice-select .option.focus,
.fl-field .nice-select .option.selected.focus {
  background-color: rgba(255, 255, 255, 0.08);
}
.fl-field .nice-select .option.disabled {
  color: rgba(255, 255, 255, 0.35);
}
.fl-form__actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 767px) {
  .fl-journey__step { flex: 0 0 82%; max-width: 320px; }

  /* Real bug fix: the fixed .devlip-sticky-cta bar (80px tall) can end up
     rendered directly over this form's fields depending on scroll
     position — verified directly (the "Select a service" dropdown's real
     rect landed at y:780-840 while the bar occupies y:764-844 on an
     844px-tall viewport), making it untappable. Extra bottom margin on
     the form gives real room for the field to land clear of the bar at
     the scroll position users naturally reach. */
  .fl-form { margin-bottom: 96px; }
}

@media (max-width: 991px) {
  .fl-zig__rail { display: none; }
  .fl-row,
  .fl-row--flip { grid-template-columns: 1fr; }
  .fl-row--flip .fl-row__media,
  .fl-row--flip .fl-row__copy { order: unset; }
  .fl-row__media,
  .fl-row--flip .fl-row__media {
    transform: none;
    aspect-ratio: 16 / 10;
  }
  .fl-row h2,
  .fl-head h2,
  .fl-hero h1,
  .fl-cta h2 { max-width: none; }
  .fl-stats { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .fl-grid {
    display: flex;
    grid-template-columns: unset;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .fl-grid::-webkit-scrollbar { display: none; }
  .fl-grid .fl-card,
  .fl-grid .fl-tier {
    flex: 0 0 85%;
    max-width: 340px;
    scroll-snap-align: start;
  }
  .fl-path { grid-template-columns: 1fr 1fr; }
  .fl-form__grid { grid-template-columns: 1fr; }
  .fl-compare { grid-template-columns: 1fr; }
  .fl-categories { grid-template-columns: 1fr; }
  .fl-categories--pillars,
  .fl-categories--router {
    display: flex;
    grid-template-columns: unset;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin: 0 -4px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent 100%);
    mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent 100%);
  }
  .fl-categories--pillars::-webkit-scrollbar,
  .fl-categories--router::-webkit-scrollbar { display: none; }
  .fl-categories--pillars .fl-cat-card,
  .fl-categories--router .fl-cat-card {
    flex: 0 0 82%;
    max-width: 340px;
    scroll-snap-align: start;
  }
  .fl-repurpose { flex-direction: column; }
  .fl-repurpose__arrow { transform: rotate(90deg); }
  .fl-repurpose__outputs { grid-template-columns: repeat(2, 1fr); }
  .fl-repurpose__outputs .fl-repurpose__output:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .fl-rpm__row { grid-template-columns: 1fr; gap: 10px; }
  .fl-rpm__bar-track { max-width: none; }
  .fl-rpm__value { text-align: left; }
}

@media (max-width: 600px) {
  .fl-stats,
  .fl-path { grid-template-columns: repeat(2, 1fr); }
  .fl-journey__step { flex: 0 0 86%; }
  .fl-journey__cta { flex-direction: column; align-items: flex-start; }
}

/* —— Mobile tighten (v3) —— */
@media (max-width: 767px) {
  .fl-hero {
    min-height: auto;
    padding: 120px 18px 56px;
  }
  .devlip-long .fl-wrap {
    width: min(1240px, calc(100% - 28px));
  }
  .fl-row {
    gap: 22px;
    padding: 36px 0;
  }
  .fl-stats {
    gap: 12px;
    padding: 28px 14px;
    margin-top: 0;
  }
  .fl-stats__item {
    padding: 18px 14px;
  }
  .fl-btns {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .fl-btns .fl-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .fl-row__media,
  .fl-row--flip .fl-row__media {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .fl-row__media img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .fl-related {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .fl-related a,
  .fl-related__item {
    width: 100%;
  }
  .fl-faq details summary {
    padding: 18px 16px;
    min-height: 48px;
    cursor: pointer;
  }
  .fl-faq details[open] summary,
  .fl-faq details .fl-faq__body,
  .fl-faq details p {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 480px) {
  .fl-hero {
    padding: 108px 14px 48px;
  }
  .fl-hero h1 {
    font-size: clamp(1.85rem, 9.5vw, 2.45rem);
  }
  .fl-hero__lead {
    font-size: 0.95rem;
    padding-inline: 2px;
  }
  .fl-row {
    padding: 28px 0;
  }
  .fl-row h2 {
    font-size: clamp(1.35rem, 6.5vw, 1.75rem);
  }
  .fl-stats {
    padding: 22px 10px;
  }
}

/* Real, reproduced bug fix: on the .fl-section pages (e.g. contact.html's
   "Strategy Intake" form), the nice-select dropdown's own option list
   (assets/css/nice-select.css, z-index: 9) sits below this page's own
   .fl-section stacking context. The list still PAINTS on top visually, but
   taps on its options land on the .fl-section behind it instead — so a
   required "Select a service" / "Select a range" dropdown can never
   actually be filled on mobile, and the form silently fails to submit.
   Verified directly: a real click at an option's coordinates was reported
   as intercepted by `<section class="fl-section">`, not the option itself. */
.nice-select {
  position: relative;
  z-index: 5;
}
.nice-select.open {
  z-index: 2147483647;
}
.nice-select .list {
  z-index: 2147483647;
}
