/* ============================================================
   FocusMe product page — app-listing layout.
   Sits inside vinxsolutions.com. Reuses /css/main.css for the
   global .header and .footer; this file styles the body content
   with a light, card-based layout.
   ============================================================ */

:root {
  --fp-bg: #f4f6fb;
  --fp-card: #ffffff;
  --fp-ink: #0b1220;
  --fp-ink-soft: #1d1d1f;
  --fp-muted: #6b7280;
  --fp-line: rgba(11, 18, 32, 0.08);
  --fp-line-strong: rgba(11, 18, 32, 0.14);
  --fp-blue: #1a73e8;
  --fp-blue-dark: #155fc4;
  --fp-blue-soft: rgba(26, 115, 232, 0.08);
  --fp-indigo: #5b6cff;
  --fp-rose: #e11d48;
  --fp-rose-soft: rgba(225, 29, 72, 0.08);
  --fp-amber: #b45309;
  --fp-amber-soft: rgba(180, 83, 9, 0.08);
  --fp-emerald: #047857;
  --fp-emerald-soft: rgba(4, 120, 87, 0.08);
  --fp-radius: 22px;
  --fp-radius-sm: 14px;
  --fp-shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04);
  --fp-shadow: 0 12px 32px -10px rgba(11, 18, 32, 0.12), 0 2px 6px rgba(11, 18, 32, 0.04);
  --fp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.focusme-page {
  margin: 0;
  background: var(--fp-bg);
  color: var(--fp-ink);
  font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
body.focusme-page * { box-sizing: border-box; }
body.focusme-page a { text-decoration: none; color: inherit; }
body.focusme-page img { display: block; max-width: 100%; }

html { scroll-behavior: smooth; }

.fp-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Product header (FocusMe-only branding) ---------- */
.fp-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 64px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--fp-line);
}
.fp-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}
.fp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.fp-brand__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(11, 18, 32, 0.18);
}
.fp-brand__name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--fp-ink);
  line-height: 1;
}
.fp-header__nav { display: flex; }
.fp-header__nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fp-header__nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fp-muted);
  transition: color .15s var(--fp-ease);
}
.fp-header__nav a:hover,
.fp-header__nav a.is-active { color: var(--fp-ink); }
.fp-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--fp-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 8px 22px rgba(26, 115, 232, 0.28);
  transition: background .15s var(--fp-ease), transform .15s var(--fp-ease);
  flex-shrink: 0;
}
.fp-header__cta:hover {
  background: var(--fp-blue-dark);
  transform: translateY(-1px);
}
.fp-header__burger {
  display: none;
  background: none;
  border: 0;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--fp-ink);
  font-size: 1.2rem;
}
@media (max-width: 760px) {
  .fp-header__nav { display: none; }
  .fp-header__burger { display: inline-flex; }
  .fp-header__cta span.fp-header__cta-text { display: none; }
}

/* Push content below the fixed header */
body.focusme-page { padding-top: 64px; }

/* Footer "Made by" line */
.fp-madeby {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--fp-muted);
}
.fp-madeby a { color: var(--fp-blue); text-decoration: none; }
.fp-madeby a:hover { text-decoration: underline; }

/* ---------- Background glow ---------- */
.fp-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.fp-bg::before,
.fp-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.fp-bg::before {
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(91, 108, 255, 0.18), transparent 60%);
}
.fp-bg::after {
  bottom: 10%;
  left: 5%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(26, 115, 232, 0.12), transparent 60%);
}

main.fp-main { position: relative; z-index: 1; }

/* ---------- Hero (centered, product-first) ---------- */
.fp-hero--center {
  position: relative;
  text-align: center;
  padding: 80px 0 56px;
  isolation: isolate;
}
.fp-hero--center::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 360px at 50% 0%, rgba(26, 115, 232, 0.16), transparent 60%),
    radial-gradient(circle 320px at 20% 30%, rgba(91, 108, 255, 0.10), transparent 60%),
    radial-gradient(circle 280px at 80% 25%, rgba(91, 108, 255, 0.08), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.fp-hero__icon-lg {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 26px;
  margin: 0 auto 28px;
  box-shadow:
    0 24px 60px -16px rgba(11, 18, 32, 0.35),
    0 4px 14px rgba(11, 18, 32, 0.12);
  transform: translateZ(0);
}
.fp-hero--center .fp-eyebrow { margin-bottom: 14px; }
.fp-hero__title--lg {
  font-size: clamp(2.4rem, 5.4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.05;
  max-width: 880px;
  margin: 0 auto 22px;
}
.fp-grad {
  background: linear-gradient(90deg, var(--fp-blue) 0%, var(--fp-indigo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.fp-hero__sub--lg {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: var(--fp-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.65;
}
.fp-hero__cta-row {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.fp-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  color: var(--fp-muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.fp-trust b { color: var(--fp-ink); font-weight: 700; }
.fp-trust .fa-star { color: #f5b50b; }
.fp-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fp-trust .fp-divider {
  width: 4px;
  height: 4px;
  background: var(--fp-line-strong);
  border-radius: 50%;
  display: inline-block;
}

/* ---------- Feature trio (after hero) ---------- */
.fp-trio {
  padding: 24px 0 32px;
}
.fp-trio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 760px) {
  .fp-trio__grid { grid-template-columns: 1fr; }
}
.fp-trio__card {
  background: var(--fp-card);
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--fp-shadow-sm);
  transition: transform .2s var(--fp-ease), border-color .2s var(--fp-ease), box-shadow .2s var(--fp-ease);
}
.fp-trio__card:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 115, 232, 0.35);
  box-shadow: 0 16px 38px -14px rgba(26, 115, 232, 0.25);
}
.fp-trio__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.fp-trio__icon--blue { background: var(--fp-blue-soft); color: var(--fp-blue); }
.fp-trio__icon--indigo { background: rgba(91, 108, 255, 0.08); color: var(--fp-indigo); }
.fp-trio__icon--emerald { background: var(--fp-emerald-soft); color: var(--fp-emerald); }
.fp-trio__h {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--fp-ink);
}
.fp-trio__p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--fp-muted);
}

/* ---------- Hero (app card — legacy, kept for sub-pages) ---------- */
.fp-hero {
  padding: 64px 0 24px;
}
.fp-hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}
.fp-hero__icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 16px 36px -10px rgba(11, 18, 32, 0.25);
  flex-shrink: 0;
}
.fp-hero__meta {
  flex: 1 1 320px;
  min-width: 0;
}
.fp-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fp-indigo);
  margin-bottom: 12px;
}
.fp-hero__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 10px;
  color: var(--fp-ink);
}
.fp-hero__sub {
  color: var(--fp-muted);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 18px;
}
.fp-hero__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--fp-card);
  border: 1px solid var(--fp-line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--fp-ink);
  box-shadow: var(--fp-shadow-sm);
}
.fp-pill .fa-star { color: #f5b50b; }

/* ---------- Section card ---------- */
.fp-section {
  padding: 24px 0;
}
.fp-card {
  background: var(--fp-card);
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: var(--fp-shadow);
}
.fp-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fp-muted);
  margin: 0 0 20px;
}
.fp-card__eyebrow .fa-sparkles,
.fp-card__eyebrow i { color: var(--fp-indigo); }

/* ---------- Intel grid (Competitors / Use Cases / Audience) ---------- */
.fp-intel {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 36px;
}
@media (max-width: 920px) {
  .fp-intel { grid-template-columns: 1fr; gap: 28px; }
}
.fp-intel__col {
  display: flex;
  flex-direction: column;
}
.fp-intel__col + .fp-intel__col {
  border-left: 1px solid var(--fp-line);
  padding-left: 36px;
}
@media (max-width: 920px) {
  .fp-intel__col + .fp-intel__col {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--fp-line);
    padding-top: 28px;
  }
}
.fp-intel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.fp-intel__title--rose { color: var(--fp-rose); }
.fp-intel__title--amber { color: var(--fp-amber); }
.fp-intel__title--indigo { color: var(--fp-indigo); }

/* Competitors */
.fp-comp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 520px) {
  .fp-comp-grid { grid-template-columns: 1fr; }
}
.fp-comp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid var(--fp-line);
  border-radius: 14px;
  padding: 10px 14px;
}
.fp-comp__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fp-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fp-tier {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid currentColor;
  flex-shrink: 0;
}
.fp-tier--major { color: var(--fp-rose);    background: var(--fp-rose-soft); }
.fp-tier--mid   { color: var(--fp-amber);   background: var(--fp-amber-soft); }
.fp-tier--niche { color: var(--fp-emerald); background: var(--fp-emerald-soft); }

/* Use Case / Audience chips */
.fp-sub-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 700px) {
  .fp-sub-cols { grid-template-columns: 1fr; gap: 24px; }
}
.fp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fp-chip {
  display: inline-block;
  padding: 7px 13px;
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fp-ink);
}
.fp-chip--amber { border-color: rgba(180, 83, 9, 0.4); color: var(--fp-amber); background: var(--fp-amber-soft); }
.fp-chip--indigo { border-color: rgba(91, 108, 255, 0.4); color: var(--fp-indigo); background: rgba(91, 108, 255, 0.06); }

/* ---------- Two-column: overview + side ---------- */
.fp-two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  margin-top: 24px;
}
@media (max-width: 920px) {
  .fp-two-col { grid-template-columns: 1fr; }
}
.fp-card h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--fp-ink);
}
.fp-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--fp-ink);
}
.fp-prose {
  color: var(--fp-ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: pre-line;
}
.fp-prose strong { color: var(--fp-ink); }

/* Side card (links) */
.fp-side h3 {
  margin-top: 0;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--fp-muted);
}
.fp-side ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.fp-side li + li { margin-top: 10px; }
.fp-side a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--fp-line);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fp-ink);
  transition: border-color .15s var(--fp-ease), transform .15s var(--fp-ease), background .15s var(--fp-ease);
}
.fp-side a:hover {
  border-color: var(--fp-blue);
  background: #fff;
  transform: translateY(-1px);
}
.fp-side a i { color: var(--fp-blue); }

/* ---------- Comparison table ---------- */
.fp-compare-wrap { overflow-x: auto; border-radius: var(--fp-radius-sm); }
.fp-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--fp-card);
}
.fp-compare th,
.fp-compare td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--fp-line);
  white-space: nowrap;
}
.fp-compare thead th {
  background: #f8fafc;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fp-ink);
}
.fp-compare thead th.fp-us { color: var(--fp-blue); }
.fp-compare tbody td:first-child {
  font-weight: 600;
  color: var(--fp-ink);
}
.fp-compare tr:last-child td { border-bottom: 0; }
.fp-yes { color: var(--fp-emerald); font-weight: 800; }
.fp-no { color: var(--fp-rose); }
.fp-mid { color: var(--fp-amber); }

/* ---------- FAQ ---------- */
.fp-faq { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.fp-faq__item {
  background: var(--fp-card);
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius-sm);
  padding: 20px 22px;
}
.fp-faq__q {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--fp-ink);
}
.fp-faq__a {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--fp-ink-soft);
}

/* ---------- App Store CTA ---------- */
.fp-cta {
  margin-top: 32px;
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.10), rgba(91, 108, 255, 0.06));
  border: 1px solid rgba(26, 115, 232, 0.25);
  border-radius: var(--fp-radius);
  padding: 40px 24px;
}
.fp-cta h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin: 0 0 8px; letter-spacing: -0.02em; }
.fp-cta p { color: var(--fp-muted); margin: 0 0 22px; }
.fp-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 14px;
  background: var(--fp-ink);
  color: #fff !important;
  font-weight: 600;
  transition: transform .2s var(--fp-ease), box-shadow .2s var(--fp-ease);
  box-shadow: 0 10px 26px rgba(11, 18, 32, 0.22);
}
.fp-appstore:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(11, 18, 32, 0.3); }
.fp-appstore i { font-size: 1.8rem; line-height: 1; }
.fp-appstore__txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.fp-appstore__small { font-size: 0.65rem; opacity: 0.85; }
.fp-appstore__big { font-size: 1.1rem; font-weight: 700; }

/* ---------- Breadcrumbs ---------- */
.fp-crumbs {
  padding-top: 16px;
  font-size: 0.86rem;
  color: var(--fp-muted);
}
.fp-crumbs a { color: var(--fp-muted); }
.fp-crumbs a:hover { color: var(--fp-blue); }
.fp-crumbs span { margin: 0 8px; opacity: 0.5; }

/* ---------- Article (sub-pages) ---------- */
.fp-article { max-width: 820px; margin: 0 auto; }
.fp-article h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.fp-article > p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fp-ink-soft);
  margin: 0 0 18px;
}
.fp-article h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 48px 0 14px;
}
.fp-article h3 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 8px; }
.fp-article a { color: var(--fp-blue); text-decoration: underline; text-underline-offset: 3px; }
.fp-article a:hover { color: var(--fp-blue-dark); }
.fp-article strong { color: var(--fp-ink); }

/* ---------- Ranked list (alternatives) ---------- */
.fp-ranked { list-style: none; counter-reset: ranked; padding: 0; margin: 24px 0 0; }
.fp-ranked li {
  position: relative;
  padding: 24px 26px 24px 80px;
  background: var(--fp-card);
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow-sm);
  margin-bottom: 14px;
  counter-increment: ranked;
}
.fp-ranked li::before {
  content: counter(ranked);
  position: absolute;
  left: 22px;
  top: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f8fafc;
  color: var(--fp-blue);
  display: grid;
  place-items: center;
  font-weight: 900;
  border: 1px solid var(--fp-line);
}
.fp-ranked .fp-featured { border-color: var(--fp-blue); box-shadow: 0 14px 32px -10px rgba(26, 115, 232, 0.28); }
.fp-ranked .fp-featured::before { background: var(--fp-blue); color: #fff; border-color: var(--fp-blue); }
.fp-ranked h3 { margin: 0 0 4px; font-size: 1.15rem; font-weight: 700; }
.fp-ranked .fp-meta { color: var(--fp-muted); font-size: 0.82rem; margin-bottom: 12px; }
.fp-ranked p { color: var(--fp-ink-soft); font-size: 0.94rem; line-height: 1.6; margin: 0 0 12px; }
.fp-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}
@media (max-width: 600px) {
  .fp-ranked li { padding: 22px 18px 22px 68px; }
  .fp-ranked li::before { left: 14px; top: 22px; }
  .fp-pros-cons { grid-template-columns: 1fr; }
}
.fp-pros, .fp-cons {
  background: #f8fafc;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.fp-pros strong { color: var(--fp-emerald); }
.fp-cons strong { color: var(--fp-amber); }

/* ---------- TL;DR / verdict box ---------- */
.fp-verdict {
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.08), rgba(91, 108, 255, 0.05));
  border: 1px solid rgba(26, 115, 232, 0.22);
  border-radius: var(--fp-radius);
  padding: 22px 26px;
  margin: 28px 0;
}
.fp-verdict__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fp-blue);
  margin-bottom: 8px;
}
.fp-verdict p { margin: 0; color: var(--fp-ink); font-size: 1rem; line-height: 1.6; }

/* ---------- Pain-points list (Why people leave) ---------- */
.fp-pains {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}
.fp-pains li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius-sm);
  padding: 16px 18px;
}
.fp-pains__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--fp-rose-soft);
  color: var(--fp-rose);
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}
.fp-pains__t { font-weight: 700; color: var(--fp-ink); display: block; margin-bottom: 4px; }
.fp-pains__d { color: var(--fp-muted); font-size: 0.93rem; line-height: 1.55; }

/* ---------- Use-case grid ---------- */
.fp-usecase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}
@media (max-width: 760px) {
  .fp-usecase { grid-template-columns: 1fr; }
}
.fp-usecase__card {
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius-sm);
  padding: 18px 20px;
}
.fp-usecase__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  min-height: 40px;
}
.fp-usecase__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--fp-blue-soft);
  color: var(--fp-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
}
.fp-usecase__head .fp-usecase__h,
h3.fp-usecase__h {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--fp-ink);
  margin: 0;
  padding: 0;
  line-height: 1.3;
  flex: 1;
}
.fp-usecase__pick {
  display: block;
  font-size: 0.78rem;
  color: var(--fp-muted);
  margin-bottom: 6px;
}
.fp-usecase__pick b { color: var(--fp-blue); font-weight: 700; }
.fp-usecase__p { margin: 0; color: var(--fp-muted); font-size: 0.88rem; line-height: 1.5; }

/* ---------- HowTo / migration steps ---------- */
.fp-howto {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  counter-reset: howto;
  display: grid;
  gap: 12px;
}
.fp-howto li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius-sm);
  padding: 18px 20px;
  counter-increment: howto;
}
.fp-howto li::before {
  content: counter(howto);
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fp-blue-soft);
  color: var(--fp-blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  border: 1px solid rgba(26, 115, 232, 0.2);
}
.fp-howto__t { font-weight: 700; color: var(--fp-ink); display: block; margin-bottom: 4px; }
.fp-howto__d { color: var(--fp-muted); font-size: 0.92rem; line-height: 1.55; }

/* ---------- Related comparisons grid ---------- */
.fp-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 760px) {
  .fp-related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .fp-related { grid-template-columns: 1fr; }
}
.fp-related a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--fp-line);
  border-radius: var(--fp-radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fp-ink);
  transition: border-color .15s var(--fp-ease), transform .15s var(--fp-ease);
}
.fp-related a:hover {
  border-color: var(--fp-blue);
  transform: translateY(-2px);
  color: var(--fp-blue);
}
.fp-related a i { color: var(--fp-blue); }

/* ---------- Small utility ---------- */
.fp-mt { margin-top: 24px; }
.fp-center { text-align: center; }

/* ---------- Anchor offset for fixed header ---------- */
[id] { scroll-margin-top: 120px; }
