/* flp.css — Fillip S.A. de C.V. — full-site stylesheet */
/* Class prefix: flp — covers all 18 pages */

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Palette */
  --flp-black:       #141417;
  --flp-surface:     #2C2C33;
  --flp-crimson:     #D41B2A;
  --flp-teal:        #14B8A6;
  --flp-warm-white:  #FAFAF8;
  --flp-off-white:   #F0EDE8;
  --flp-text-dark:   #F0EDE8;
  --flp-muted-dark:  #9EA0A8;
  --flp-text-light:  #1A1A1F;
  --flp-muted-light: #5A5B63;

  /* Typography */
  --flp-font-head:   'Outfit', system-ui, -apple-system, sans-serif;
  --flp-font-body:   'Manrope', system-ui, -apple-system, sans-serif;

  /* Nav */
  --flp-nav-h:       68px;

  /* Spacing */
  --flp-max-w:       1180px;
  --flp-gutter:      2rem;
  --flp-section-v:   5rem;
  --flp-section-v-m: 3.5rem;

  /* Motion */
  --flp-ease:        ease-out;
  --flp-dur:         240ms;

  /* Z-layers */
  --flp-z-nav:       900;
  --flp-z-modal:     1000;
  --flp-z-banner:    1100;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--flp-font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--flp-text-light);
  background: var(--flp-warm-white);
  -webkit-font-smoothing: antialiased;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--flp-font-head);
  font-weight: 800;
  line-height: 1.15;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.flp-container {
  width: 100%;
  max-width: var(--flp-max-w);
  margin: 0 auto;
  padding: 0 var(--flp-gutter);
}

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.flp-bg--dark {
  background: var(--flp-black);
  color: var(--flp-text-dark);
}

.flp-bg--dark-alt {
  background: var(--flp-surface);
  color: var(--flp-text-dark);
}

.flp-bg--light {
  background: var(--flp-warm-white);
  color: var(--flp-text-light);
}

.flp-bg--light-alt {
  background: var(--flp-off-white);
  color: var(--flp-text-light);
}

.flp-bg--white {
  background: #ffffff;
  color: var(--flp-text-light);
}

/* ============================================================
   NAV
   ============================================================ */
.flp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--flp-nav-h);
  z-index: var(--flp-z-nav);
  background: var(--flp-black);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
}

.flp-nav__inner {
  width: 100%;
  max-width: var(--flp-max-w);
  margin: 0 auto;
  padding: 0 var(--flp-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.flp-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.flp-nav__logo img,
.flp-nav__logo svg {
  height: 32px;
  width: auto;
}

.flp-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.flp-nav__links a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-family: var(--flp-font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--flp-muted-dark);
  text-decoration: none;
  border-radius: 6px;
  transition: color var(--flp-dur) var(--flp-ease),
              background var(--flp-dur) var(--flp-ease);
}

.flp-nav__links a:hover {
  color: var(--flp-text-dark);
  background: rgba(255,255,255,0.06);
}

.flp-nav__links a.flp-nav__link--active {
  color: var(--flp-text-dark);
}

.flp-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.flp-nav__signin {
  font-family: var(--flp-font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--flp-muted-dark);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: color var(--flp-dur) var(--flp-ease);
}

.flp-nav__signin:hover {
  color: var(--flp-text-dark);
}

.flp-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.flp-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--flp-text-dark);
  border-radius: 2px;
  transition: transform var(--flp-dur) var(--flp-ease),
              opacity var(--flp-dur) var(--flp-ease);
}

.flp-nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.flp-nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.flp-nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.flp-nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--flp-nav-h);
  left: 0;
  right: 0;
  background: var(--flp-black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: calc(var(--flp-z-nav) - 1);
  padding: 1rem var(--flp-gutter) 1.5rem;
}

.flp-nav__mobile-menu.flp-nav__mobile-menu--open {
  display: block;
}

.flp-nav__mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.flp-nav__mobile-menu ul li a {
  display: block;
  padding: 0.75rem 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--flp-muted-dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--flp-dur) var(--flp-ease);
}

.flp-nav__mobile-menu ul li a:hover {
  color: var(--flp-text-dark);
}

.flp-nav__mobile-menu .flp-btn--primary {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.flp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--flp-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--flp-dur) var(--flp-ease),
              color var(--flp-dur) var(--flp-ease),
              border-color var(--flp-dur) var(--flp-ease),
              transform var(--flp-dur) var(--flp-ease);
  white-space: nowrap;
}

.flp-btn:hover {
  transform: translateY(-1px);
}

.flp-btn--primary {
  background: var(--flp-crimson);
  color: #ffffff;
  border-color: var(--flp-crimson);
}

.flp-btn--primary:hover {
  background: #bf1826;
  border-color: #bf1826;
  color: #ffffff;
}

.flp-btn--outline-dark {
  background: transparent;
  color: var(--flp-text-light);
  border-color: var(--flp-text-light);
}

.flp-btn--outline-dark:hover {
  background: var(--flp-text-light);
  color: var(--flp-warm-white);
}

.flp-btn--ghost-on-dark {
  background: transparent;
  color: var(--flp-text-dark);
  border-color: rgba(240,237,232,0.4);
}

.flp-btn--ghost-on-dark:hover {
  background: rgba(240,237,232,0.08);
  border-color: var(--flp-text-dark);
}

.flp-btn--ghost-on-light {
  background: transparent;
  color: var(--flp-text-light);
  border-color: rgba(26,26,31,0.3);
}

.flp-btn--ghost-on-light:hover {
  background: rgba(26,26,31,0.05);
  border-color: var(--flp-text-light);
}

.flp-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.flp-btn--lg {
  padding: 0.9375rem 2rem;
  font-size: 1rem;
}

/* ============================================================
   EYEBROW / LABELS
   ============================================================ */
.flp-eyebrow {
  display: inline-block;
  font-family: var(--flp-font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.flp-bg--dark .flp-eyebrow,
.flp-bg--dark-alt .flp-eyebrow {
  color: var(--flp-teal);
}

.flp-bg--light .flp-eyebrow,
.flp-bg--light-alt .flp-eyebrow,
.flp-bg--white .flp-eyebrow {
  color: var(--flp-crimson);
}

.flp-section-label {
  font-family: var(--flp-font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   SECTION WRAPPERS
   ============================================================ */
.flp-section {
  padding: var(--flp-section-v) 0;
}

.flp-section--sm {
  padding: 3rem 0;
}

.flp-section--lg {
  padding: 6rem 0;
}

/* First visible section below nav */
.flp-section--first {
  padding-top: calc(var(--flp-nav-h) + var(--flp-section-v));
}

/* ============================================================
   HERO — CENTERED DARK
   ============================================================ */
.flp-hero {
  position: relative;
  overflow: hidden;
  background-image: url("../images/hero-broadcast.webp");
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.flp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(20,20,23,0.55) 0%, rgba(20,20,23,0.78) 100%);
}

.flp-hero--dark {
  background-color: var(--flp-black);
  color: var(--flp-text-dark);
}

.flp-hero--light {
  background: var(--flp-warm-white);
  color: var(--flp-text-light);
}

.flp-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--flp-max-w);
  margin: 0 auto;
  padding: calc(var(--flp-nav-h) + 5rem) var(--flp-gutter) 5rem;
  text-align: center;
}

.flp-hero__eyebrow {
  display: inline-block;
  font-family: var(--flp-font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.flp-hero--dark .flp-hero__eyebrow {
  color: var(--flp-teal);
}

.flp-hero--light .flp-hero__eyebrow {
  color: var(--flp-crimson);
}

.flp-hero__h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto 1.5rem;
}

.flp-hero--dark .flp-hero__h1 {
  color: var(--flp-text-dark);
}

.flp-hero--light .flp-hero__h1 {
  color: var(--flp-text-light);
}

.flp-hero__sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.flp-hero--dark .flp-hero__sub {
  color: var(--flp-muted-dark);
}

.flp-hero--light .flp-hero__sub {
  color: var(--flp-muted-light);
}

.flp-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Sub-page hero (light bg) */
.flp-subhero {
  padding: calc(var(--flp-nav-h) + 4rem) 0 3.5rem;
}

.flp-subhero__inner {
  max-width: var(--flp-max-w);
  margin: 0 auto;
  padding: 0 var(--flp-gutter);
}

.flp-subhero--centered {
  text-align: center;
}

.flp-subhero__h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.flp-bg--light .flp-subhero__h1,
.flp-bg--light-alt .flp-subhero__h1,
.flp-bg--white .flp-subhero__h1 {
  color: var(--flp-text-light);
}

.flp-bg--dark .flp-subhero__h1 {
  color: var(--flp-text-dark);
}

.flp-subhero__sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 600px;
}

.flp-subhero--centered .flp-subhero__sub {
  margin: 0 auto 1.5rem;
}

.flp-bg--light .flp-subhero__sub,
.flp-bg--light-alt .flp-subhero__sub,
.flp-bg--white .flp-subhero__sub {
  color: var(--flp-muted-light);
}

.flp-bg--dark .flp-subhero__sub {
  color: var(--flp-muted-dark);
}

/* Stat anchor (sub-page hero visual weight) */
.flp-subhero__stat-band {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.flp-subhero--centered .flp-subhero__stat-band {
  justify-content: center;
}

.flp-subhero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.flp-subhero__stat-value {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: var(--flp-crimson);
}

.flp-subhero__stat-label {
  font-size: 0.875rem;
  color: var(--flp-muted-light);
}

/* ============================================================
   PROBLEM STRIP
   ============================================================ */
.flp-problem-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--flp-gutter);
  align-items: start;
}

.flp-problem-strip__item {
  padding: 2rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.flp-problem-strip__num {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--flp-teal);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.flp-problem-strip__text {
  font-size: 0.9375rem;
  color: var(--flp-muted-dark);
  line-height: 1.6;
}

/* ============================================================
   TWO-COLUMN LAYOUT
   ============================================================ */
.flp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--flp-gutter) * 2);
  align-items: center;
}

.flp-two-col--flip {
  direction: rtl;
}

.flp-two-col--flip > * {
  direction: ltr;
}

.flp-two-col__text {}

.flp-two-col__visual {
  border-radius: 12px;
  overflow: hidden;
}

.flp-two-col__visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ============================================================
   SOLUTION / SECTION PROSE
   ============================================================ */
.flp-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.flp-section-head__h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.flp-bg--dark .flp-section-head__h2,
.flp-bg--dark-alt .flp-section-head__h2 {
  color: var(--flp-text-dark);
}

.flp-bg--light .flp-section-head__h2,
.flp-bg--light-alt .flp-section-head__h2,
.flp-bg--white .flp-section-head__h2 {
  color: var(--flp-text-light);
}

.flp-section-head__sub {
  font-size: 1rem;
  line-height: 1.65;
}

.flp-bg--dark .flp-section-head__sub,
.flp-bg--dark-alt .flp-section-head__sub {
  color: var(--flp-muted-dark);
}

.flp-bg--light .flp-section-head__sub,
.flp-bg--light-alt .flp-section-head__sub,
.flp-bg--white .flp-section-head__sub {
  color: var(--flp-muted-light);
}

.flp-prose-block {
  max-width: 720px;
  margin: 0 auto;
}

.flp-prose-block h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.flp-bg--dark .flp-prose-block h2,
.flp-bg--dark-alt .flp-prose-block h2 {
  color: var(--flp-text-dark);
}

.flp-bg--light .flp-prose-block h2,
.flp-bg--light-alt .flp-prose-block h2,
.flp-bg--white .flp-prose-block h2 {
  color: var(--flp-text-light);
}

.flp-prose-block p {
  line-height: 1.75;
  margin-bottom: 1rem;
}

.flp-bg--dark .flp-prose-block p,
.flp-bg--dark-alt .flp-prose-block p {
  color: var(--flp-muted-dark);
}

.flp-bg--light .flp-prose-block p,
.flp-bg--light-alt .flp-prose-block p,
.flp-bg--white .flp-prose-block p {
  color: var(--flp-muted-light);
}

/* ============================================================
   CONTENT FLOW MOCK (index.html platform-overview)
   ============================================================ */
.flp-flow-mock {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  flex-wrap: nowrap;
  padding: 2rem 0 1rem;
}

.flp-flow-mock__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  background: var(--flp-warm-white);
  border: 1px solid rgba(26,26,31,0.1);
}

.flp-flow-mock__step--center {
  background: var(--flp-black);
  border-color: var(--flp-crimson);
  border-width: 2px;
  transform: scale(1.04);
  z-index: 2;
  position: relative;
}

.flp-flow-mock__step-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.375rem;
}

.flp-flow-mock__step--center .flp-flow-mock__step-icon {
  background: var(--flp-crimson);
  color: #fff;
}

.flp-flow-mock__step:not(.flp-flow-mock__step--center) .flp-flow-mock__step-icon {
  background: var(--flp-off-white);
  color: var(--flp-text-light);
}

.flp-flow-mock__step-num {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.flp-flow-mock__step--center .flp-flow-mock__step-num {
  color: var(--flp-teal);
}

.flp-flow-mock__step:not(.flp-flow-mock__step--center) .flp-flow-mock__step-num {
  color: var(--flp-muted-light);
}

.flp-flow-mock__step-title {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.flp-flow-mock__step--center .flp-flow-mock__step-title {
  color: var(--flp-text-dark);
}

.flp-flow-mock__step:not(.flp-flow-mock__step--center) .flp-flow-mock__step-title {
  color: var(--flp-text-light);
}

.flp-flow-mock__step-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
}

.flp-flow-mock__step--center .flp-flow-mock__step-desc {
  color: var(--flp-muted-dark);
}

.flp-flow-mock__step:not(.flp-flow-mock__step--center) .flp-flow-mock__step-desc {
  color: var(--flp-muted-light);
}

.flp-flow-mock__arrow {
  font-size: 1.25rem;
  color: var(--flp-crimson);
  flex-shrink: 0;
  padding: 0 0.5rem;
}

/* ============================================================
   DASHBOARD MOCK (platform.html capability-generate)
   ============================================================ */
.flp-dashboard-mock {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.flp-post-card {
  width: 360px;
  background: var(--flp-surface);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.flp-post-card__thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--flp-crimson) 0%, #8B0D14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flp-post-card__body {
  padding: 1.25rem;
}

.flp-post-card__tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.flp-post-card__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(20,184,166,0.15);
  color: var(--flp-teal);
  border: 1px solid rgba(20,184,166,0.25);
}

.flp-post-card__title {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--flp-text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.flp-post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--flp-muted-dark);
}

.flp-post-card__ai-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--flp-teal);
  font-weight: 600;
}

/* ============================================================
   PROOF / TESTIMONIAL
   ============================================================ */
.flp-testimonial {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.flp-testimonial__quote {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-family: var(--flp-font-head);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.flp-bg--dark .flp-testimonial__quote {
  color: var(--flp-text-dark);
}

.flp-bg--light .flp-testimonial__quote,
.flp-bg--light-alt .flp-testimonial__quote,
.flp-bg--white .flp-testimonial__quote {
  color: var(--flp-text-light);
}

.flp-testimonial__cite {
  font-size: 0.875rem;
  font-style: normal;
}

.flp-bg--dark .flp-testimonial__cite {
  color: var(--flp-muted-dark);
}

.flp-bg--light .flp-testimonial__cite,
.flp-bg--light-alt .flp-testimonial__cite,
.flp-bg--white .flp-testimonial__cite {
  color: var(--flp-muted-light);
}

.flp-testimonial__metric {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 2rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background: rgba(212,27,42,0.12);
  border: 1px solid rgba(212,27,42,0.25);
}

.flp-testimonial__metric-val {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--flp-crimson);
  line-height: 1;
}

.flp-testimonial__metric-label {
  font-size: 0.875rem;
  color: var(--flp-muted-dark);
}

/* ============================================================
   FEATURE CARDS / USE CASE CARDS
   ============================================================ */
.flp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--flp-gutter);
}

.flp-card-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.flp-card-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

.flp-card {
  border-radius: 12px;
  padding: 2rem;
  transition: transform var(--flp-dur) var(--flp-ease);
}

.flp-card:hover {
  transform: translateY(-3px);
}

.flp-bg--dark .flp-card,
.flp-bg--dark-alt .flp-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.flp-bg--light .flp-card,
.flp-bg--white .flp-card {
  background: #ffffff;
  border: 1px solid rgba(26,26,31,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.flp-bg--light-alt .flp-card {
  background: var(--flp-warm-white);
  border: 1px solid rgba(26,26,31,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.flp-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.flp-bg--dark .flp-card__icon,
.flp-bg--dark-alt .flp-card__icon {
  background: rgba(212,27,42,0.15);
  color: var(--flp-crimson);
}

.flp-bg--light .flp-card__icon,
.flp-bg--light-alt .flp-card__icon,
.flp-bg--white .flp-card__icon {
  background: rgba(212,27,42,0.08);
  color: var(--flp-crimson);
}

.flp-card__title {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.0625rem;
  margin-bottom: 0.625rem;
}

.flp-bg--dark .flp-card__title,
.flp-bg--dark-alt .flp-card__title {
  color: var(--flp-text-dark);
}

.flp-bg--light .flp-card__title,
.flp-bg--light-alt .flp-card__title,
.flp-bg--white .flp-card__title {
  color: var(--flp-text-light);
}

.flp-card__body {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.flp-bg--dark .flp-card__body,
.flp-bg--dark-alt .flp-card__body {
  color: var(--flp-muted-dark);
}

.flp-bg--light .flp-card__body,
.flp-bg--light-alt .flp-card__body,
.flp-bg--white .flp-card__body {
  color: var(--flp-muted-light);
}

.flp-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--flp-crimson);
  transition: gap var(--flp-dur) var(--flp-ease);
}

.flp-card__link:hover {
  gap: 0.7rem;
}

/* ============================================================
   PRICING TIER CARDS
   ============================================================ */
.flp-pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.flp-pricing-toggle__label {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--flp-muted-light);
}

.flp-pricing-toggle__label--active {
  color: var(--flp-text-light);
  font-weight: 600;
}

.flp-pricing-toggle__switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: rgba(26,26,31,0.2);
  border-radius: 13px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--flp-dur) var(--flp-ease);
}

.flp-pricing-toggle__switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--flp-text-light);
  border-radius: 50%;
  transition: transform var(--flp-dur) var(--flp-ease);
}

.flp-pricing-toggle__switch[aria-checked="true"] {
  background: var(--flp-crimson);
}

.flp-pricing-toggle__switch[aria-checked="true"]::after {
  transform: translateX(22px);
}

.flp-pricing-toggle__badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: #115e59;
  color: #ffffff;
  border: 1px solid #115e59;
}

.flp-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--flp-gutter);
  align-items: start;
}

.flp-tier {
  background: #ffffff;
  border: 2px solid rgba(26,26,31,0.08);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  transition: box-shadow var(--flp-dur) var(--flp-ease),
              transform var(--flp-dur) var(--flp-ease);
}

.flp-tier:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.flp-tier--highlight {
  border-color: var(--flp-crimson);
  background: var(--flp-black);
  color: var(--flp-text-dark);
  position: relative;
  box-shadow: 0 12px 40px rgba(212,27,42,0.2);
}

.flp-tier--highlight .flp-tier__name {
  color: var(--flp-text-dark);
}

.flp-tier--highlight .flp-tier__desc {
  color: var(--flp-muted-dark);
}

.flp-tier--highlight .flp-tier__price-main {
  color: var(--flp-text-dark);
}

.flp-tier--highlight .flp-tier__price-period {
  color: var(--flp-muted-dark);
}

.flp-tier--highlight .flp-tier__feature {
  color: var(--flp-muted-dark);
}

.flp-tier--highlight .flp-tier__feature i {
  color: var(--flp-teal);
}

.flp-tier__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--flp-crimson);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  white-space: nowrap;
}

.flp-tier__name {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--flp-text-light);
  margin-bottom: 0.5rem;
}

.flp-tier__desc {
  font-size: 0.875rem;
  color: var(--flp-muted-light);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.flp-tier__price {
  margin-bottom: 1.75rem;
}

.flp-tier__price-main {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--flp-text-light);
  line-height: 1;
}

.flp-tier__price-main .flp-tier__price-currency {
  font-size: 1.25rem;
  vertical-align: top;
  margin-top: 0.3rem;
  display: inline-block;
}

.flp-tier__price-period {
  font-size: 0.875rem;
  color: var(--flp-muted-light);
  margin-top: 0.4rem;
}

.flp-tier__price-annual-note {
  font-size: 0.8rem;
  color: var(--flp-teal);
  font-weight: 600;
  margin-top: 0.25rem;
}

[data-billing="monthly"] .flp-price--annual,
[data-billing="annual"] .flp-price--monthly {
  display: none;
}

[data-billing="monthly"] .flp-price--monthly,
[data-billing="annual"] .flp-price--annual {
  display: block;
}

.flp-tier__caps {
  font-size: 0.8125rem;
  color: var(--flp-muted-light);
  margin-bottom: 1.25rem;
  padding: 0.6rem 0.75rem;
  background: rgba(26,26,31,0.04);
  border-radius: 6px;
}

.flp-tier--highlight .flp-tier__caps {
  background: rgba(255,255,255,0.06);
  color: var(--flp-muted-dark);
}

.flp-tier__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.flp-tier__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--flp-text-light);
  line-height: 1.45;
}

.flp-tier__feature i {
  color: var(--flp-crimson);
  font-size: 0.8rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Pricing preview strip (index.html) */
.flp-tier-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.flp-tier-strip__item {
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.flp-tier-strip__item--highlight {
  border-color: var(--flp-crimson);
  background: rgba(212,27,42,0.08);
}

.flp-tier-strip__name {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--flp-text-dark);
  margin-bottom: 0.25rem;
}

.flp-tier-strip__price {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--flp-text-dark);
  margin-bottom: 0.5rem;
}

.flp-tier-strip__price span {
  font-size: 0.875rem;
  color: var(--flp-muted-dark);
  font-weight: 400;
}

.flp-tier-strip__diff {
  font-size: 0.8375rem;
  color: var(--flp-muted-dark);
}

/* ============================================================
   FEATURE COMPARISON TABLE
   ============================================================ */
.flp-compare-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(26,26,31,0.08);
}

.flp-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 0.9rem;
}

.flp-compare-table thead th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--flp-text-light);
  background: rgba(26,26,31,0.03);
  border-bottom: 2px solid rgba(26,26,31,0.08);
  white-space: nowrap;
}

.flp-compare-table thead th:first-child {
  width: 35%;
}

.flp-compare-table thead th:not(:first-child) {
  text-align: center;
}

.flp-compare-table tbody tr {
  border-bottom: 1px solid rgba(26,26,31,0.06);
  transition: background var(--flp-dur) var(--flp-ease);
}

.flp-compare-table tbody tr:last-child {
  border-bottom: none;
}

.flp-compare-table tbody tr:hover {
  background: rgba(26,26,31,0.02);
}

.flp-compare-table td {
  padding: 1rem 1.5rem;
  color: var(--flp-muted-light);
  vertical-align: middle;
}

.flp-compare-table td:not(:first-child) {
  text-align: center;
  color: var(--flp-text-light);
  font-weight: 600;
}

.flp-compare-table td .flp-check {
  color: var(--flp-crimson);
  font-size: 1rem;
}

.flp-compare-table td .flp-dash {
  color: rgba(26,26,31,0.25);
}

.flp-compare-table .flp-col--highlight {
  background: rgba(212,27,42,0.04);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.flp-faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flp-faq__item {
  border-bottom: 1px solid rgba(26,26,31,0.1);
}

.flp-bg--dark .flp-faq__item,
.flp-bg--dark-alt .flp-faq__item {
  border-bottom-color: rgba(255,255,255,0.08);
}

.flp-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--flp-font-body);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--flp-dur) var(--flp-ease);
}

.flp-bg--dark .flp-faq__question,
.flp-bg--dark-alt .flp-faq__question {
  color: var(--flp-text-dark);
}

.flp-bg--light .flp-faq__question,
.flp-bg--light-alt .flp-faq__question,
.flp-bg--white .flp-faq__question {
  color: var(--flp-text-light);
}

.flp-faq__question:hover {
  color: var(--flp-crimson);
}

.flp-faq__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  transition: transform var(--flp-dur) var(--flp-ease),
              background var(--flp-dur) var(--flp-ease),
              color var(--flp-dur) var(--flp-ease);
}

.flp-faq__item--open .flp-faq__icon {
  transform: rotate(45deg);
  background: var(--flp-crimson);
  border-color: var(--flp-crimson);
  color: #fff;
}

.flp-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms var(--flp-ease);
}

.flp-faq__item--open .flp-faq__answer {
  max-height: 400px;
}

.flp-faq__answer-inner {
  padding: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.flp-bg--dark .flp-faq__answer-inner,
.flp-bg--dark-alt .flp-faq__answer-inner {
  color: var(--flp-muted-dark);
}

.flp-bg--light .flp-faq__answer-inner,
.flp-bg--light-alt .flp-faq__answer-inner,
.flp-bg--white .flp-faq__answer-inner {
  color: var(--flp-muted-light);
}

/* ============================================================
   TEAM CARDS
   ============================================================ */
.flp-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--flp-gutter);
}

.flp-team-card {
  background: var(--flp-warm-white);
  border: 1px solid rgba(26,26,31,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow var(--flp-dur) var(--flp-ease),
              transform var(--flp-dur) var(--flp-ease);
}

.flp-team-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.flp-team-card__avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--flp-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flp-team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flp-team-card__initials {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--flp-muted-light);
  display: none;
}

.flp-team-card__body {
  padding: 1.5rem;
}

.flp-team-card__name {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--flp-text-light);
  margin-bottom: 0.25rem;
}

.flp-team-card__role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--flp-crimson);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.875rem;
}

.flp-team-card__bio {
  font-size: 0.9rem;
  color: var(--flp-muted-light);
  line-height: 1.6;
}

/* ============================================================
   VALUES GRID
   ============================================================ */
.flp-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--flp-gutter);
}

.flp-value {
  padding: 2rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(26,26,31,0.08);
  background: var(--flp-warm-white);
}

.flp-value__num {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(212,27,42,0.15);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.flp-value__title {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--flp-text-light);
  margin-bottom: 0.5rem;
}

.flp-value__desc {
  font-size: 0.9rem;
  color: var(--flp-muted-light);
  line-height: 1.6;
}

/* ============================================================
   STORIES (BLOG) — LISTING PAGE
   ============================================================ */
.flp-featured-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--flp-gutter) * 2);
  align-items: center;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(26,26,31,0.08);
  background: #fff;
  transition: box-shadow var(--flp-dur) var(--flp-ease),
              transform var(--flp-dur) var(--flp-ease);
}

.flp-featured-story:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.flp-featured-story__cover {
  overflow: hidden;
  align-self: stretch;
}

.flp-featured-story__cover img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.flp-featured-story__body {
  padding: 2.5rem 2rem 2.5rem 0;
}

.flp-featured-story__cat {
  display: inline-block;
  font-size: 0.7375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--flp-crimson);
  margin-bottom: 0.75rem;
}

.flp-featured-story__title {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--flp-text-light);
  line-height: 1.25;
  margin-bottom: 0.875rem;
}

.flp-featured-story__excerpt {
  font-size: 0.9375rem;
  color: var(--flp-muted-light);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.flp-featured-story__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8375rem;
  color: var(--flp-muted-light);
}

.flp-featured-story__body .flp-btn {
  margin-top: 1.375rem;
}

.flp-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--flp-gutter);
}

.flp-story-card {
  background: #ffffff;
  border: 1px solid rgba(26,26,31,0.08);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow var(--flp-dur) var(--flp-ease),
              transform var(--flp-dur) var(--flp-ease);
}

.flp-story-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.flp-story-card__cover {
  overflow: hidden;
}

.flp-story-card__cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 360ms var(--flp-ease);
}

.flp-story-card:hover .flp-story-card__cover img {
  transform: scale(1.03);
}

.flp-story-card__body {
  padding: 1.25rem;
}

.flp-story-card__cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--flp-crimson);
  margin-bottom: 0.5rem;
}

.flp-story-card__title {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--flp-text-light);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.flp-story-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--flp-muted-light);
}

/* Article page */
.flp-article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--flp-teal);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: gap var(--flp-dur) var(--flp-ease);
}

.flp-article-back:hover {
  gap: 0.7rem;
}

.flp-article-hero {
  background: var(--flp-black);
  padding: 1rem 0 3rem;
}

.flp-article-hero__inner {
  max-width: var(--flp-max-w);
  margin: 0 auto;
  padding: 0 var(--flp-gutter);
}

.flp-article-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--flp-teal);
  text-decoration: none;
  padding: calc(var(--flp-nav-h) + 1rem) 0 2rem;
  transition: gap var(--flp-dur) var(--flp-ease);
}

.flp-article-hero__back:hover {
  gap: 0.7rem;
}

.flp-article-hero__cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--flp-teal);
  margin-bottom: 1rem;
}

.flp-article-hero__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--flp-text-dark);
  line-height: 1.15;
  max-width: 800px;
  margin-bottom: 1.25rem;
}

.flp-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--flp-muted-dark);
  flex-wrap: wrap;
}

.flp-article-cover {
  width: 100%;
  max-width: var(--flp-max-w);
  margin: 0 auto;
  padding: 2rem var(--flp-gutter) 0;
}

.flp-article-cover img {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.flp-article-body {
  background: #ffffff;
  padding: 3rem 0 5rem;
}

.flp-article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--flp-gutter);
}

.flp-article-content h2 {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--flp-text-light);
  margin: 2rem 0 0.875rem;
  line-height: 1.25;
}

.flp-article-content h3 {
  font-family: var(--flp-font-head);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--flp-text-light);
  margin: 1.5rem 0 0.625rem;
}

.flp-article-content p {
  font-size: 1rem;
  color: var(--flp-muted-light);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.flp-article-content a {
  color: var(--flp-crimson);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.flp-article-content ul,
.flp-article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.flp-article-content ul {
  list-style: disc;
}

.flp-article-content ol {
  list-style: decimal;
}

.flp-article-content li {
  font-size: 1rem;
  color: var(--flp-muted-light);
  line-height: 1.75;
  margin-bottom: 0.4rem;
}

.flp-article-cta {
  background: var(--flp-black);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.flp-article-cta h3 {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--flp-text-dark);
  margin-bottom: 0.5rem;
}

.flp-article-cta p {
  color: var(--flp-muted-dark);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.flp-article-related {
  max-width: 720px;
  margin: 3rem auto 0;
  padding: 0 var(--flp-gutter);
}

.flp-article-related__title {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--flp-text-light);
  margin-bottom: 1.25rem;
}

/* Article page — BEM variant (flp-article__*) used by story article pages */
.flp-article-back-row {
  max-width: var(--flp-max-w);
  margin: 0 auto;
  padding: calc(var(--flp-nav-h) + 1.5rem) var(--flp-gutter) 0;
}

.flp-article__header {
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 0 var(--flp-gutter);
}

.flp-story-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--flp-teal);
  margin-bottom: 1rem;
}

.flp-article__h1 {
  font-family: var(--flp-font-head);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--flp-text-light);
  line-height: 1.15;
  max-width: 800px;
  margin-bottom: 1.25rem;
}

.flp-article__meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--flp-muted-light);
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.flp-article__author {
  font-weight: 600;
  color: var(--flp-text-light);
}

.flp-article__date,
.flp-article__read {
  color: var(--flp-muted-light);
}

.flp-article__cover {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--flp-gutter) 2rem;
}

.flp-article__cover-img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.flp-article__content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--flp-gutter);
}

.flp-article__content h2 {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--flp-text-light);
  margin: 2rem 0 0.875rem;
  line-height: 1.25;
}

.flp-article__content h3 {
  font-family: var(--flp-font-head);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--flp-text-light);
  margin: 1.5rem 0 0.625rem;
}

.flp-article__content p {
  font-size: 1rem;
  color: var(--flp-muted-light);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.flp-article__content a {
  color: var(--flp-crimson);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.flp-article__content ul,
.flp-article__content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.flp-article__content ul {
  list-style: disc;
}

.flp-article__content ol {
  list-style: decimal;
}

.flp-article__content li {
  font-size: 1rem;
  color: var(--flp-muted-light);
  line-height: 1.75;
  margin-bottom: 0.4rem;
}

@media (max-width: 640px) {
  .flp-article__header,
  .flp-article__cover,
  .flp-article__content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Newsletter signup */
.flp-newsletter {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.flp-newsletter__form {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.flp-newsletter__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: var(--flp-text-dark);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--flp-dur) var(--flp-ease);
}

.flp-newsletter__input::placeholder {
  color: var(--flp-muted-dark);
}

.flp-newsletter__input:focus {
  border-color: var(--flp-teal);
}

/* ============================================================
   DOCS LAYOUT
   ============================================================ */
.flp-docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: calc(var(--flp-gutter) * 2);
  align-items: start;
  padding: calc(var(--flp-nav-h) + 3rem) var(--flp-gutter) 5rem;
  max-width: var(--flp-max-w);
  margin: 0 auto;
}

.flp-docs-sidebar {
  position: sticky;
  top: calc(var(--flp-nav-h) + 1.5rem);
  background: #ffffff;
  border: 1px solid rgba(26,26,31,0.08);
  border-radius: 12px;
  padding: 1.5rem;
}

.flp-docs-sidebar__section {
  margin-bottom: 1.5rem;
}

.flp-docs-sidebar__section:last-child {
  margin-bottom: 0;
}

.flp-docs-sidebar__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--flp-muted-light);
  margin-bottom: 0.5rem;
}

.flp-docs-sidebar__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.flp-docs-sidebar__links a {
  display: block;
  padding: 0.4rem 0.6rem;
  font-size: 0.875rem;
  color: var(--flp-muted-light);
  border-radius: 6px;
  text-decoration: none;
  transition: color var(--flp-dur) var(--flp-ease),
              background var(--flp-dur) var(--flp-ease);
}

.flp-docs-sidebar__links a:hover,
.flp-docs-sidebar__links a.flp-docs-sidebar__link--active {
  color: var(--flp-crimson);
  background: rgba(212,27,42,0.06);
}

.flp-docs-content {
  background: #ffffff;
  border: 1px solid rgba(26,26,31,0.08);
  border-radius: 12px;
  padding: 2.5rem;
  min-height: 400px;
}

.flp-docs-content h1 {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--flp-text-light);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.flp-docs-content h2 {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--flp-text-light);
  margin: 2rem 0 0.875rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(26,26,31,0.06);
}

.flp-docs-content h2:first-of-type {
  margin-top: 1.5rem;
  border-top: none;
  padding-top: 0;
}

.flp-docs-content h3 {
  font-family: var(--flp-font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--flp-text-light);
  margin: 1.5rem 0 0.625rem;
}

.flp-docs-content p {
  font-size: 0.9375rem;
  color: var(--flp-muted-light);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.flp-docs-content ul,
.flp-docs-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.flp-docs-content ul {
  list-style: disc;
}

.flp-docs-content ol {
  list-style: decimal;
}

.flp-docs-content li {
  font-size: 0.9375rem;
  color: var(--flp-muted-light);
  line-height: 1.7;
  margin-bottom: 0.35rem;
}

.flp-docs-content a {
  color: var(--flp-crimson);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Code blocks */
.flp-code-block {
  background: var(--flp-black);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  margin: 1.25rem 0;
  overflow-x: auto;
  max-width: 100%;
}

.flp-code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
  color: var(--flp-muted-dark);
  font-weight: 600;
}

.flp-code-block pre {
  padding: 1.25rem;
  overflow-x: auto;
  margin: 0;
}

.flp-code-block code {
  font-family: 'JetBrains Mono', 'Cascadia Code', 'Fira Code', monospace;
  font-size: 0.8125rem;
  color: var(--flp-off-white);
  line-height: 1.7;
  white-space: pre;
}

.flp-code-block .tok-keyword { color: #ff7b72; }
.flp-code-block .tok-string  { color: #a5d6ff; }
.flp-code-block .tok-comment { color: var(--flp-muted-dark); }
.flp-code-block .tok-number  { color: #79c0ff; }
.flp-code-block .tok-method  { color: var(--flp-teal); }
.flp-code-block .tok-key     { color: #d2a8ff; }
.flp-code-block .tok-url     { color: var(--flp-teal); }

/* API Quickstart steps */
.flp-api-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.flp-api-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.flp-api-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--flp-crimson);
  color: #fff;
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flp-api-step__body {
  min-width: 0;
  overflow: hidden;
}

.flp-api-step__title {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--flp-text-light);
  margin-bottom: 0.5rem;
}

.flp-api-step__desc {
  font-size: 0.9rem;
  color: var(--flp-muted-light);
  margin-bottom: 0.875rem;
  line-height: 1.6;
}

/* API Endpoint blocks */
.flp-endpoint {
  border: 1px solid rgba(26,26,31,0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.flp-endpoint__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(26,26,31,0.02);
  border-bottom: 1px solid rgba(26,26,31,0.08);
}

.flp-endpoint__method {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.flp-endpoint__method--post {
  background: #b91c1c;
  color: #ffffff;
}

.flp-endpoint__method--get {
  background: #115e59;
  color: #ffffff;
}

.flp-endpoint__path {
  font-family: 'JetBrains Mono', 'Cascadia Code', monospace;
  font-size: 0.9375rem;
  color: var(--flp-text-light);
  font-weight: 600;
}

.flp-endpoint__body {
  padding: 1.5rem;
}

.flp-endpoint__desc {
  font-size: 0.9rem;
  color: var(--flp-muted-light);
  margin-bottom: 1.25rem;
}

.flp-params-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  display: table;
}

.flp-params-table th {
  padding: 0.6rem 0.875rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--flp-muted-light);
  border-bottom: 2px solid rgba(26,26,31,0.08);
}

.flp-params-table td {
  padding: 0.7rem 0.875rem;
  border-bottom: 1px solid rgba(26,26,31,0.05);
  color: var(--flp-muted-light);
  vertical-align: top;
}

.flp-params-table td:first-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: var(--flp-teal);
  white-space: nowrap;
}

.flp-params-table td:nth-child(2) {
  font-size: 0.8rem;
  color: var(--flp-crimson);
  white-space: nowrap;
}

/* ============================================================
   INTEGRATIONS GRID
   ============================================================ */
.flp-integrations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.flp-integration-group {
  background: #ffffff;
  border: 1px solid rgba(26,26,31,0.08);
  border-radius: 12px;
  padding: 1.5rem;
}

.flp-integration-group__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--flp-muted-light);
  margin-bottom: 1rem;
}

.flp-integration-group__items {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.flp-integration-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem;
  border-radius: 6px;
  background: rgba(26,26,31,0.02);
}

.flp-integration-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--flp-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--flp-muted-light);
  flex-shrink: 0;
}

.flp-integration-item__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--flp-text-light);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.flp-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.flp-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.flp-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.flp-form__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--flp-text-light);
}

.flp-bg--dark .flp-form__label {
  color: var(--flp-muted-dark);
}

.flp-form__input,
.flp-form__select,
.flp-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  transition: border-color var(--flp-dur) var(--flp-ease),
              box-shadow var(--flp-dur) var(--flp-ease);
  outline: none;
  font-family: var(--flp-font-body);
}

.flp-bg--light .flp-form__input,
.flp-bg--light-alt .flp-form__input,
.flp-bg--white .flp-form__input,
.flp-bg--light .flp-form__select,
.flp-bg--light-alt .flp-form__select,
.flp-bg--white .flp-form__select,
.flp-bg--light .flp-form__textarea,
.flp-bg--light-alt .flp-form__textarea,
.flp-bg--white .flp-form__textarea {
  border: 1px solid rgba(26,26,31,0.2);
  background: #ffffff;
  color: var(--flp-text-light);
}

.flp-bg--dark .flp-form__input,
.flp-bg--dark-alt .flp-form__input,
.flp-bg--dark .flp-form__select,
.flp-bg--dark-alt .flp-form__select,
.flp-bg--dark .flp-form__textarea,
.flp-bg--dark-alt .flp-form__textarea {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--flp-text-dark);
}

.flp-form__input:focus,
.flp-form__select:focus,
.flp-form__textarea:focus {
  border-color: var(--flp-crimson);
  box-shadow: 0 0 0 3px rgba(212,27,42,0.1);
}

.flp-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.flp-form__error {
  display: none;
  font-size: 0.8rem;
  color: var(--flp-crimson);
  margin-top: 0.25rem;
}

.flp-form__success {
  padding: 1.25rem;
  border-radius: 8px;
  background: rgba(20,184,166,0.1);
  border: 1px solid rgba(20,184,166,0.25);
  color: var(--flp-teal);
  font-weight: 600;
  font-size: 0.9375rem;
  display: none;
}

.flp-form__success--visible {
  display: block;
}

/* ============================================================
   AUTH PAGES (chromeless — no nav/footer)
   ============================================================ */
.flp-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--flp-warm-white);
  padding: 2rem var(--flp-gutter);
}

.flp-auth-card {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid rgba(26,26,31,0.1);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.flp-auth-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.flp-auth-card__logo img {
  height: 32px;
  width: auto;
}

.flp-auth-card__title {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--flp-text-light);
  text-align: center;
  margin-bottom: 0.5rem;
}

.flp-auth-card__sub {
  font-size: 0.9rem;
  color: var(--flp-muted-light);
  text-align: center;
  margin-bottom: 2rem;
}

.flp-auth-card__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flp-auth-card__links {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--flp-muted-light);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flp-auth-card__links a {
  color: var(--flp-crimson);
  text-decoration: none;
  font-weight: 600;
}

.flp-auth-card__links a:hover {
  text-decoration: underline;
}

.flp-auth-card__legal {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--flp-muted-light);
  text-align: center;
  line-height: 1.5;
}

.flp-auth-card__legal a {
  color: var(--flp-muted-light);
  text-decoration: underline;
}

.flp-auth-card__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  color: var(--flp-muted-light);
  font-size: 0.8rem;
}

.flp-auth-card__divider::before,
.flp-auth-card__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(26,26,31,0.1);
}

.flp-auth-message {
  padding: 0.875rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  display: none;
}

.flp-auth-message--error {
  background: rgba(212,27,42,0.08);
  border: 1px solid rgba(212,27,42,0.2);
  color: var(--flp-crimson);
}

.flp-auth-message--success {
  background: rgba(20,184,166,0.1);
  border: 1px solid rgba(20,184,166,0.2);
  color: #0d9488;
}

.flp-auth-message--visible {
  display: block;
}

.flp-auth-view {
  display: block;
}

.flp-auth-view--hidden {
  display: none;
}

/* ============================================================
   PARTNERS PAGE
   ============================================================ */
.flp-partner-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--flp-gutter);
}

.flp-partner-type {
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(26,26,31,0.08);
  background: #ffffff;
}

.flp-partner-type__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--flp-crimson);
}

.flp-partner-type__title {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--flp-text-light);
  margin-bottom: 0.5rem;
}

.flp-partner-type__desc {
  font-size: 0.9rem;
  color: var(--flp-muted-light);
  line-height: 1.6;
}

.flp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--flp-gutter);
}

.flp-benefit {
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(26,26,31,0.08);
}

.flp-benefit__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--flp-crimson);
  margin-bottom: 0.75rem;
}

.flp-benefit__title {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--flp-text-light);
  margin-bottom: 0.5rem;
}

.flp-benefit__desc {
  font-size: 0.875rem;
  color: var(--flp-muted-light);
  line-height: 1.6;
}

/* ============================================================
   NEWSROOM
   ============================================================ */
.flp-press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--flp-gutter);
}

.flp-press-card {
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(26,26,31,0.08);
  background: #ffffff;
}

.flp-press-card__outlet {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flp-muted-light);
  margin-bottom: 0.75rem;
}

.flp-press-card__headline {
  font-family: var(--flp-font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--flp-text-light);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.flp-press-card__date {
  font-size: 0.8rem;
  color: var(--flp-muted-light);
}

.flp-media-kit {
  padding: 2.5rem;
  border-radius: 14px;
  background: var(--flp-off-white);
  border: 1px solid rgba(26,26,31,0.06);
}

.flp-media-kit__title {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--flp-text-light);
  margin-bottom: 1rem;
}

.flp-media-kit__desc {
  font-size: 0.9375rem;
  color: var(--flp-muted-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 640px;
}

.flp-media-kit__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.flp-media-kit__fact {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.875rem;
  border-radius: 20px;
  background: rgba(26,26,31,0.05);
  color: var(--flp-text-light);
  border: 1px solid rgba(26,26,31,0.08);
}

/* ============================================================
   CHANGELOG
   ============================================================ */
.flp-changelog {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.flp-release {
  border-left: 3px solid var(--flp-crimson);
  padding-left: 1.75rem;
  position: relative;
}

.flp-release::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--flp-crimson);
  border: 2px solid #ffffff;
}

.flp-release__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.flp-release__version {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 5px;
  background: rgba(212,27,42,0.08);
  color: var(--flp-crimson);
  border: 1px solid rgba(212,27,42,0.2);
}

.flp-release__date {
  font-size: 0.875rem;
  color: var(--flp-muted-light);
}

.flp-release__title {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--flp-text-light);
  margin-bottom: 0.875rem;
}

.flp-release__changes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flp-release__change {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--flp-muted-light);
  line-height: 1.55;
}

.flp-release__change::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flp-teal);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* ============================================================
   CONTACT OFFICE
   ============================================================ */
.flp-offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--flp-gutter) * 2);
  align-items: start;
}

.flp-office {
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(26,26,31,0.08);
  background: var(--flp-off-white);
}

.flp-office__name {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--flp-text-light);
  margin-bottom: 1rem;
}

.flp-office__detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--flp-muted-light);
  line-height: 1.55;
}

.flp-office__detail i {
  color: var(--flp-crimson);
  font-size: 0.875rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.flp-office__detail a {
  color: var(--flp-crimson);
  text-decoration: none;
}

/* ============================================================
   LEGAL CONTENT (for abw-legal pages)
   ============================================================ */
.flp-legal-page {
  padding: calc(var(--flp-nav-h) + 4rem) 0 5rem;
  background: #ffffff;
  min-height: 100vh;
}

.flp-legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--flp-gutter);
}

.flp-legal-content h1 {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--flp-text-light);
  margin-bottom: 0.5rem;
}

.flp-legal-content .flp-legal-date {
  font-size: 0.875rem;
  color: var(--flp-muted-light);
  margin-bottom: 3rem;
  display: block;
}

.flp-legal-content h2 {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--flp-text-light);
  margin: 2.5rem 0 0.875rem;
}

.flp-legal-content h3 {
  font-family: var(--flp-font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--flp-text-light);
  margin: 1.75rem 0 0.625rem;
}

.flp-legal-content p {
  font-size: 0.9375rem;
  color: var(--flp-muted-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.flp-legal-content ul,
.flp-legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.flp-legal-content ul {
  list-style: disc;
}

.flp-legal-content ol {
  list-style: decimal;
}

.flp-legal-content li {
  font-size: 0.9375rem;
  color: var(--flp-muted-light);
  line-height: 1.75;
  margin-bottom: 0.4rem;
}

.flp-legal-content a {
  color: var(--flp-crimson);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.flp-section-cta {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.flp-section-cta h2 {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.flp-bg--dark .flp-section-cta h2,
.flp-bg--dark-alt .flp-section-cta h2 {
  color: var(--flp-text-dark);
}

.flp-bg--light .flp-section-cta h2,
.flp-bg--light-alt .flp-section-cta h2,
.flp-bg--white .flp-section-cta h2 {
  color: var(--flp-text-light);
}

.flp-section-cta p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.flp-bg--dark .flp-section-cta p,
.flp-bg--dark-alt .flp-section-cta p {
  color: var(--flp-muted-dark);
}

.flp-bg--light .flp-section-cta p,
.flp-bg--light-alt .flp-section-cta p,
.flp-bg--white .flp-section-cta p {
  color: var(--flp-muted-light);
}

.flp-section-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.flp-cta-trust {
  margin-top: 1rem;
  font-size: 0.8375rem;
}

.flp-bg--dark .flp-cta-trust {
  color: var(--flp-muted-dark);
}

.flp-bg--light .flp-cta-trust {
  color: var(--flp-muted-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.flp-footer {
  background: var(--flp-black);
  color: var(--flp-text-dark);
  padding: 4rem 0 0;
}

.flp-footer__top {
  max-width: var(--flp-max-w);
  margin: 0 auto;
  padding: 0 var(--flp-gutter);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: calc(var(--flp-gutter) * 2);
  padding-bottom: 3rem;
}

.flp-footer__brand {}

.flp-footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.flp-footer__logo img {
  height: 28px;
  width: auto;
}

.flp-footer__tagline {
  font-size: 0.875rem;
  color: var(--flp-muted-dark);
  line-height: 1.6;
  max-width: 260px;
}

.flp-footer__col-title {
  font-family: var(--flp-font-head);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flp-muted-dark);
  margin-bottom: 1rem;
}

.flp-footer__col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flp-footer__col-links a {
  font-size: 0.9rem;
  color: var(--flp-muted-dark);
  text-decoration: none;
  transition: color var(--flp-dur) var(--flp-ease);
}

.flp-footer__col-links a:hover {
  color: var(--flp-text-dark);
}

.flp-footer__bottom {
  max-width: var(--flp-max-w);
  margin: 0 auto;
  padding: 1.5rem var(--flp-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.flp-footer__copy {
  font-size: 0.8125rem;
  color: var(--flp-muted-dark);
}

.flp-footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.flp-footer__bottom-links a {
  font-size: 0.8125rem;
  color: var(--flp-muted-dark);
  text-decoration: none;
  transition: color var(--flp-dur) var(--flp-ease);
}

.flp-footer__bottom-links a:hover {
  color: var(--flp-text-dark);
}

/* ============================================================
   COOKIE BANNER (abw-legal wires the JS body)
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--flp-z-banner);
  background: var(--flp-black);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
}

.cookie-banner__inner {
  max-width: var(--flp-max-w);
  margin: 0 auto;
  padding: 0 var(--flp-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--flp-muted-dark);
  line-height: 1.55;
  flex: 1;
  min-width: 200px;
}

.cookie-banner__text a {
  color: var(--flp-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  padding: 0.625rem 1.25rem;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--flp-dur) var(--flp-ease),
              color var(--flp-dur) var(--flp-ease);
  border: 2px solid transparent;
  font-family: var(--flp-font-body);
}

.cookie-banner__btn--primary {
  background: var(--flp-crimson);
  color: #ffffff;
  border-color: var(--flp-crimson);
}

.cookie-banner__btn--primary:hover {
  background: #bf1826;
  border-color: #bf1826;
}

.cookie-banner__btn--secondary {
  background: transparent;
  color: var(--flp-muted-dark);
  border-color: rgba(255,255,255,0.2);
}

.cookie-banner__btn--secondary:hover {
  color: var(--flp-text-dark);
  border-color: rgba(255,255,255,0.4);
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.flp-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 480ms var(--flp-ease),
              transform 480ms var(--flp-ease);
}

.flp-fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .flp-fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   RESPONSIVE — TABLET (768px)
   ============================================================ */
@media (max-width: 1024px) {
  .flp-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--flp-gutter);
  }

  .flp-tier-grid,
  .flp-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flp-team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flp-docs-layout {
    grid-template-columns: 200px 1fr;
    gap: var(--flp-gutter);
  }
}

@media (max-width: 768px) {
  :root {
    --flp-section-v: var(--flp-section-v-m);
  }

  /* Nav mobile */
  .flp-nav__links,
  .flp-nav__actions .flp-nav__signin,
  .flp-nav__actions .flp-btn--primary {
    display: none;
  }

  .flp-nav__hamburger {
    display: flex;
  }

  /* Hero */
  .flp-hero__inner {
    padding: calc(var(--flp-nav-h) + 3.5rem) var(--flp-gutter) 3.5rem;
  }

  .flp-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* Two col */
  .flp-two-col {
    grid-template-columns: 1fr;
    gap: var(--flp-gutter);
  }

  .flp-two-col--flip {
    direction: ltr;
  }

  .flp-two-col__visual img {
    height: 260px;
  }

  /* Cards */
  .flp-card-grid {
    grid-template-columns: 1fr;
  }

  .flp-card-grid--2col {
    grid-template-columns: 1fr;
  }

  .flp-card-grid--4col {
    grid-template-columns: 1fr 1fr;
  }

  /* Pricing */
  .flp-tier-grid {
    grid-template-columns: 1fr;
  }

  .flp-tier-strip {
    grid-template-columns: 1fr;
  }

  .flp-pricing-toggle {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Team */
  .flp-team-grid {
    grid-template-columns: 1fr;
  }

  /* Values */
  .flp-values-grid {
    grid-template-columns: 1fr;
  }

  /* Stories */
  .flp-featured-story {
    grid-template-columns: 1fr;
  }

  .flp-featured-story__cover img {
    min-height: 220px;
  }

  .flp-featured-story__body {
    padding: 1.5rem;
  }

  .flp-stories-grid {
    grid-template-columns: 1fr;
  }

  /* Problem strip */
  .flp-problem-strip {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .flp-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .flp-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Docs */
  .flp-docs-layout {
    grid-template-columns: 1fr;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .flp-docs-layout > * {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .flp-docs-sidebar {
    position: static;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .flp-docs-sidebar__label {
    white-space: normal;
  }

  .flp-docs-sidebar__links a {
    white-space: normal;
    word-break: break-word;
  }

  .flp-docs-content {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1.5rem;
  }

  .flp-code-block {
    max-width: 100%;
  }

  .flp-code-block pre {
    max-width: 100%;
    overflow-x: auto;
  }

  /* Partners */
  .flp-partner-types,
  .flp-benefits-grid {
    grid-template-columns: 1fr;
  }

  /* Newsroom */
  .flp-press-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .flp-offices {
    grid-template-columns: 1fr;
  }

  .flp-form__row {
    grid-template-columns: 1fr;
  }

  /* Integrations */
  .flp-integrations {
    grid-template-columns: 1fr;
  }

  /* Cookie banner */
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  /* Newsletter */
  .flp-newsletter__form {
    flex-direction: column;
  }

  /* Offices */
  .flp-offices {
    grid-template-columns: 1fr;
  }

  /* Flow mock */
  .flp-flow-mock {
    flex-direction: column;
    align-items: center;
  }

  .flp-flow-mock__arrow {
    transform: rotate(90deg);
  }

  .flp-flow-mock__step {
    max-width: 100%;
    width: 100%;
  }

  /* API steps */
  .flp-api-step {
    grid-template-columns: 36px 1fr;
    gap: 1rem;
  }

  .flp-api-step__num {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  /* Subhero stat band */
  .flp-subhero__stat-band {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .flp-footer__top {
    grid-template-columns: 1fr;
  }

  .flp-card-grid--4col {
    grid-template-columns: 1fr;
  }

  .flp-auth-card {
    padding: 2rem 1.5rem;
  }
}

/* ============================================================
   UTILITY
   ============================================================ */
.flp-text-center { text-align: center; }
.flp-text-left   { text-align: left; }
.flp-mt-auto     { margin-top: auto; }
.flp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.flp-visible { display: block !important; }
.flp-hidden  { display: none !important; }

/* nav link modifier: inherits styles from .flp-nav__links a */
.flp-nav__link { text-decoration: none; }

/* page theme classifiers: JS state hooks, no direct styling */
.flp-page--dark-top,
.flp-page--light-top { display: block; }

/* ============================================================
   BLOCK-02 FIX: stat label contrast on dark backgrounds
   ============================================================ */
.flp-bg--dark .flp-subhero__stat-label {
  color: var(--flp-muted-dark);
}

/* ============================================================
   BLOCK-06 FIX: changelog inline code overflow at 375px
   ============================================================ */
.flp-release__change code {
  word-break: break-all;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  font-size: 0.82em;
}

/* ============================================================
   BLOCK-07 FIX: section header variant (partners / newsroom)
   ============================================================ */
.flp-section-header {
  max-width: 680px;
  margin: 0 auto 3rem;
}

.flp-section-header__sub {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--flp-muted-light);
  margin-top: 0.75rem;
}

.flp-bg--dark .flp-section-header__sub {
  color: var(--flp-muted-dark);
}

.flp-link {
  color: #b91c1c;
  text-decoration: none;
  font-weight: 500;
}

.flp-link:hover {
  text-decoration: underline;
}

/* ============================================================
   BLOCK-08 FIX: auth page missing classes
   ============================================================ */

.flp-auth-page__main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
}

.flp-auth-card__h1 {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.625rem;
  color: var(--flp-text-light);
  margin-bottom: 0.5rem;
}

.flp-auth-card--wide {
  max-width: 640px;
}

.flp-auth-card__switch {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--flp-muted-light);
  text-align: center;
}

.flp-auth-card__link {
  color: var(--flp-crimson);
  text-decoration: none;
  font-weight: 500;
}

.flp-auth-card__link:hover {
  text-decoration: underline;
}

.flp-btn--full {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.flp-auth-confirm {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.5rem 0;
}

.flp-auth-confirm__icon {
  font-size: 3rem;
  color: var(--flp-teal);
}

/* ============================================================
   USE-CASES PAGE FIX: chips / usecase-rows / feature-list /
   testimonial-grid+card
   ============================================================ */

/* Subhero chip row */
.flp-subhero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

/* Individual chip pill */
.flp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-family: var(--flp-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.flp-bg--light .flp-chip,
.flp-bg--light-alt .flp-chip,
.flp-bg--white .flp-chip {
  background: rgba(212,27,42,0.07);
  color: var(--flp-text-light);
  border: 1px solid rgba(212,27,42,0.18);
}

.flp-bg--light .flp-chip i,
.flp-bg--light-alt .flp-chip i,
.flp-bg--white .flp-chip i {
  color: var(--flp-crimson);
  font-size: 0.8125rem;
}

.flp-bg--dark .flp-chip,
.flp-bg--dark-alt .flp-chip {
  background: rgba(255,255,255,0.08);
  color: var(--flp-text-dark);
  border: 1px solid rgba(255,255,255,0.14);
}

.flp-bg--dark .flp-chip i,
.flp-bg--dark-alt .flp-chip i {
  color: var(--flp-teal);
  font-size: 0.8125rem;
}

/* Use-case alternating two-column rows */
.flp-usecase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--flp-gutter) * 2.5);
  align-items: center;
}

/* __img and __text both need min-width:0 to prevent grid blowout */
.flp-usecase-row__text,
.flp-usecase-row__img {
  min-width: 0;
}

/* Section heading inside text column */
.flp-usecase-row__h2 {
  font-family: var(--flp-font-head);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.flp-bg--white .flp-usecase-row__h2,
.flp-bg--light .flp-usecase-row__h2,
.flp-bg--light-alt .flp-usecase-row__h2 {
  color: var(--flp-text-light);
}

.flp-bg--dark .flp-usecase-row__h2,
.flp-bg--dark-alt .flp-usecase-row__h2 {
  color: var(--flp-text-dark);
}

/* Lead paragraph */
.flp-usecase-row__body {
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 1.5rem;
}

.flp-bg--white .flp-usecase-row__body,
.flp-bg--light .flp-usecase-row__body,
.flp-bg--light-alt .flp-usecase-row__body {
  color: var(--flp-muted-light);
}

.flp-bg--dark .flp-usecase-row__body,
.flp-bg--dark-alt .flp-usecase-row__body {
  color: var(--flp-muted-dark);
}

/* Image wrapper */
.flp-usecase-row__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 860 / 580;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Feature bullet list */
.flp-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding: 0;
}

.flp-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.flp-bg--white .flp-feature-list li,
.flp-bg--light .flp-feature-list li,
.flp-bg--light-alt .flp-feature-list li {
  color: var(--flp-text-light);
}

.flp-bg--dark .flp-feature-list li,
.flp-bg--dark-alt .flp-feature-list li {
  color: var(--flp-muted-dark);
}

.flp-feature-list li i {
  color: var(--flp-crimson);
  font-size: 0.875rem;
  margin-top: 0.175rem;
  flex-shrink: 0;
}

/* Testimonial card grid (multi-card, not single centered) */
.flp-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--flp-gutter);
}

/* Individual testimonial card */
.flp-testimonial-card {
  border-radius: 12px;
  padding: 2rem;
  margin: 0;
}

.flp-bg--dark .flp-testimonial-card,
.flp-bg--dark-alt .flp-testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.flp-bg--light .flp-testimonial-card,
.flp-bg--light-alt .flp-testimonial-card,
.flp-bg--white .flp-testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(26,26,31,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.flp-testimonial-card__quote {
  font-family: var(--flp-font-head);
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.flp-bg--dark .flp-testimonial-card__quote,
.flp-bg--dark-alt .flp-testimonial-card__quote {
  color: var(--flp-text-dark);
}

.flp-bg--light .flp-testimonial-card__quote,
.flp-bg--light-alt .flp-testimonial-card__quote,
.flp-bg--white .flp-testimonial-card__quote {
  color: var(--flp-text-light);
}

.flp-testimonial-card__cite {
  font-size: 0.8125rem;
  font-style: normal;
  line-height: 1.5;
}

.flp-bg--dark .flp-testimonial-card__cite,
.flp-bg--dark-alt .flp-testimonial-card__cite {
  color: var(--flp-muted-dark);
}

.flp-bg--light .flp-testimonial-card__cite,
.flp-bg--light-alt .flp-testimonial-card__cite,
.flp-bg--white .flp-testimonial-card__cite {
  color: var(--flp-muted-light);
}

/* Responsive: collapse at 768px */
@media (max-width: 768px) {
  .flp-usecase-row {
    grid-template-columns: 1fr;
    gap: var(--flp-gutter);
  }

  /* On mobile, always show text above image regardless of DOM order */
  .flp-usecase-row--flip .flp-usecase-row__text {
    order: -1;
  }

  .flp-testimonial-grid {
    grid-template-columns: 1fr;
  }
}

.flp-auth-confirm__h2 {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--flp-text-light);
}

.flp-auth-confirm__body {
  font-size: 0.9rem;
  color: var(--flp-muted-light);
  line-height: 1.6;
  max-width: 380px;
}

.flp-form__row-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.flp-form__row--forgot {
  display: flex;
  justify-content: flex-end;
}

/* JS state hook view modifiers — controlled by flp.js auth handlers */
.flp-auth-view--login-form,
.flp-auth-view--register-form,
.flp-auth-view--register-confirm,
.flp-auth-view--forgot-form,
.flp-auth-view--forgot-confirm { /* JS state hook, no additional styling */ }

/* ============================================================
   PRICING: toggle wrapper alias + price display blocks
   ============================================================ */
.flp-pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.flp-tier__pricing {
  margin-bottom: 1.5rem;
}

.flp-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.flp-price__amount {
  font-family: var(--flp-font-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--flp-text-light);
  line-height: 1;
}

.flp-tier--highlight .flp-price__amount {
  color: var(--flp-text-dark);
}

.flp-price__period {
  font-size: 0.875rem;
  color: var(--flp-muted-light);
}

.flp-tier--highlight .flp-price__period {
  color: var(--flp-muted-dark);
}

@media (max-width: 768px) {
  .flp-form__row-group {
    grid-template-columns: 1fr;
  }

  .flp-post-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* ============================================================
   TABLE SCROLL WRAPPER — prevents horizontal overflow on narrow viewports
   ============================================================ */
.flp-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

/* ============================================================
   AUTH CARD FORM FIXES — scoped to .flp-auth-card only
   Bug A: .flp-form__row global 1fr 1fr grid stacks label beside input on auth
   pages. Auth forms are single-field-per-row; override to single column here.
   Register wide card uses .flp-form__row-group for its 2-col name/email pairs,
   so those remain unaffected by this override.
   Bug B: .flp-form__input border/bg are only declared under .flp-bg--* ancestors;
   auth pages have no such ancestor, so inputs fall back to UA default inset border.
   Apply the same light-surface treatment as .flp-bg--white.
   ============================================================ */
.flp-auth-card .flp-form__row {
  grid-template-columns: 1fr;
}

.flp-auth-card .flp-form__input,
.flp-auth-card .flp-form__select,
.flp-auth-card .flp-form__textarea {
  border: 1px solid rgba(26,26,31,0.2);
  background: #ffffff;
  color: var(--flp-text-light);
}

/* ============================================================
   SELECT APPEARANCE NORMALIZATION
   Kills the native OS chevron, injects a custom SVG caret,
   adds right-side padding clearance so option text never crowds the arrow.
   #5A5B63 = --flp-muted-light (hardcoded since SVG data-URIs can't read CSS vars)
   #9EA0A8 = --flp-muted-dark
   ============================================================ */
.flp-form__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  cursor: pointer;
}

.flp-bg--light .flp-form__select,
.flp-bg--light-alt .flp-form__select,
.flp-bg--white .flp-form__select,
.flp-auth-card .flp-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A5B63' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.flp-bg--dark .flp-form__select,
.flp-bg--dark-alt .flp-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239EA0A8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ============================================================
   PLATFORM PAGE: MISSING COMPONENT CSS (Class B fixes)
   ============================================================ */

/* Module 2 — Ingest mock: sources-to-hub diagram */
.flp-ingest-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(26,26,31,0.08);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  min-width: 0;
}

.flp-ingest-mock__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: var(--flp-off-white);
  border: 1px solid rgba(26,26,31,0.08);
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--flp-text-light);
  min-width: 72px;
  text-align: center;
}

.flp-ingest-mock__node i {
  font-size: 1.25rem;
  color: var(--flp-crimson);
}

.flp-ingest-mock__arrow {
  font-size: 1.125rem;
  color: var(--flp-crimson);
  flex-shrink: 0;
  padding: 0 0.25rem;
}

.flp-ingest-mock__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--flp-black);
  border: 2px solid var(--flp-crimson);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--flp-text-dark);
  min-width: 90px;
  text-align: center;
}

.flp-ingest-mock__center i {
  font-size: 1.375rem;
  color: var(--flp-teal);
}

/* Module 3 — Generate-types chip grid (inside flp-dashboard-mock) */
.flp-generate-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  width: 180px;
  flex-shrink: 0;
  align-self: center;
}

.flp-generate-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--flp-muted-dark);
  text-align: center;
  cursor: default;
}

.flp-generate-type i {
  font-size: 1.125rem;
  color: var(--flp-teal);
}

/* Module 4 — Channels mock: hub + distribution grid */
.flp-channels-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(26,26,31,0.08);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.flp-channels-mock__hub {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--flp-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(212,27,42,0.35);
}

.flp-channels-mock__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  width: 100%;
  min-width: 0;
}

.flp-channels-mock__ch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  background: var(--flp-off-white);
  border: 1px solid rgba(26,26,31,0.06);
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--flp-text-light);
  text-align: center;
  min-width: 0;
}

.flp-channels-mock__ch i {
  font-size: 1.1rem;
  color: var(--flp-muted-light);
}

/* Module 5 — Analytics mock: labeled rows with progress bars */
.flp-analytics-mock {
  padding: 1.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.flp-analytics-mock__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.flp-analytics-mock__label {
  font-size: 0.875rem;
  color: var(--flp-muted-dark);
  flex: 1;
  min-width: 0;
}

.flp-analytics-mock__val {
  font-family: var(--flp-font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--flp-text-dark);
  flex-shrink: 0;
}

.flp-analytics-mock__val--teal {
  color: var(--flp-teal);
}

.flp-analytics-mock__bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.flp-analytics-mock__bar {
  height: 100%;
  background: var(--flp-crimson);
  border-radius: 4px;
  display: block;
}

/* teal accent on second bar (engagement highlight) */
.flp-analytics-mock__bar-wrap:first-of-type .flp-analytics-mock__bar {
  background: var(--flp-teal);
}

/* Module 6 — Integration-cat cards (children of .flp-integrations grid) */
.flp-integration-cat {
  background: #ffffff;
  border: 1px solid rgba(26,26,31,0.08);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.flp-integration-cat__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(212,27,42,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--flp-crimson);
  margin-bottom: 0.25rem;
  flex-shrink: 0;
}

.flp-integration-cat__name {
  font-family: var(--flp-font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--flp-text-light);
}

.flp-integration-cat__desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--flp-muted-light);
}

/* Mobile: stack ingest-mock nodes vertically, collapse generate-types to 2col,
   channels grid to 2col — all already use flex-wrap/grid so mainly
   enforce no overflow and reasonable min-widths */
@media (max-width: 640px) {
  .flp-ingest-mock {
    flex-direction: column;
    align-items: stretch;
  }

  .flp-ingest-mock__arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .flp-ingest-mock__node,
  .flp-ingest-mock__center {
    width: 100%;
  }

  .flp-generate-types {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .flp-channels-mock__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flp-analytics-mock {
    padding: 1.25rem;
  }
}
