/* Freedom Fulfilment — shared site stylesheet (polished v2, 2026-04-24) */

/* ---------- Design tokens ---------- */
:root {
  --ff-blue: #3A92FF;
  --ff-blue-600: #2178e8;
  --ff-blue-050: #e9f2ff;
  --ff-blue-100: #d3e5ff;
  --ff-ink: #0E1A2B;
  --ff-ink-700: #1F2C40;
  --ff-text: #334155;
  --ff-muted: #64748b;
  --ff-line: #e6ebf2;
  --ff-line-soft: #f1f4f8;
  --ff-bg: #ffffff;
  --ff-bg-alt: #f8faff;
  --ff-bg-tint: #f4f7fc;
  --ff-radius: 14px;
  --ff-radius-lg: 20px;
  --ff-shadow-sm: 0 1px 2px rgba(14,26,43,0.04), 0 1px 1px rgba(14,26,43,0.03);
  --ff-shadow: 0 12px 32px -12px rgba(14,26,43,0.12), 0 4px 10px -4px rgba(14,26,43,0.06);
  --ff-shadow-lg: 0 32px 64px -24px rgba(14,26,43,0.18), 0 10px 24px -8px rgba(14,26,43,0.10);
  --ff-gradient: linear-gradient(135deg, #3A92FF 0%, #1F6BD8 100%);
  --ff-gradient-soft: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  --ff-maxw: 1180px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--ff-text);
  background: var(--ff-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  color: var(--ff-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 16px; color: var(--ff-text); }
a { color: var(--ff-blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--ff-blue-600); }
.ff-container { max-width: var(--ff-maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Top nav (glass) ---------- */
.ff-nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ff-line);
}
.ff-nav-inner {
  max-width: var(--ff-maxw); margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; gap: 24px;
}
.ff-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--ff-ink); font-size: 16px; letter-spacing: -0.01em;
}
.ff-logo img { height: 30px; width: auto; display: block; }
.ff-nav-links { display: flex; gap: 6px; margin-left: 24px; }
.ff-nav-links a {
  color: var(--ff-ink-700); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.ff-nav-links a:hover { background: var(--ff-bg-tint); color: var(--ff-blue-600); }
.ff-nav-links a.active { color: var(--ff-blue-600); background: var(--ff-blue-050); }
.ff-nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---------- Buttons ---------- */
.ff-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600; font-size: 14px; font-family: inherit;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none; white-space: nowrap;
}
.ff-btn-primary {
  background: var(--ff-ink); color: #fff;
  box-shadow: 0 4px 14px -4px rgba(14,26,43,0.35);
}
.ff-btn-primary:hover { transform: translateY(-1px); background: #000; color: #fff; box-shadow: 0 10px 22px -6px rgba(14,26,43,0.45); }
.ff-btn-ghost { background: transparent; color: var(--ff-ink-700); }
.ff-btn-ghost:hover { background: var(--ff-bg-tint); color: var(--ff-ink); }
.ff-btn-outline { background: #fff; color: var(--ff-ink-700); border-color: var(--ff-line); }
.ff-btn-outline:hover { border-color: var(--ff-ink); color: var(--ff-ink); transform: translateY(-1px); }
.ff-btn-blue { background: var(--ff-gradient); color: #fff; box-shadow: 0 8px 22px -8px rgba(58,146,255,0.55); }
.ff-btn-blue:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(58,146,255,0.65); color: #fff; }
.ff-btn .arr { transition: transform .2s ease; }
.ff-btn:hover .arr { transform: translateX(3px); }

/* Mobile nav */
.ff-nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; color: var(--ff-ink); }
@media (max-width: 900px) {
  .ff-nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff; border-top: 1px solid var(--ff-line);
    padding: 8px 16px 16px;
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    margin-left: 0;
  }
  .ff-nav-links.open { max-height: 520px; padding: 12px 16px 18px; }
  .ff-nav-links a { padding: 12px 14px; border-radius: 8px; }
  .ff-nav-toggle { display: inline-flex; margin-left: auto; }
  .ff-nav-cta .ff-btn-ghost { display: none; }
  .ff-nav-cta { margin-left: 0; }
}

/* ---------- Shared building blocks ---------- */
.ff-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--ff-blue-050);
  color: var(--ff-blue-600);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--ff-blue-100);
}
.ff-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ff-blue); box-shadow: 0 0 0 4px rgba(58,146,255,0.18);
}
.ff-section { padding: 96px 0; position: relative; }
.ff-section-sm { padding: 64px 0; }
.ff-section-tint { background: var(--ff-bg-alt); }
.ff-section-tint2 { background: var(--ff-bg-tint); }
.ff-section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.ff-section-head p { font-size: 18px; color: var(--ff-muted); margin-top: 12px; }
.ff-section-head.ff-left { text-align: left; margin: 0 0 48px; }

/* Cards */
.ff-card {
  background: #fff;
  border: 1px solid var(--ff-line);
  border-radius: var(--ff-radius);
  padding: 28px;
  box-shadow: var(--ff-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.ff-card:hover { transform: translateY(-3px); box-shadow: var(--ff-shadow); border-color: #d9e2ee; }
.ff-card h3 { font-size: 1.1rem; }
.ff-card p { color: var(--ff-muted); font-size: 15px; margin-bottom: 0; }
.ff-card-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ff-blue-050);
  color: var(--ff-blue-600);
  border-radius: 12px; margin-bottom: 18px;
  border: 1px solid var(--ff-blue-100);
}

/* Grids */
.ff-grid { display: grid; gap: 24px; }
.ff-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ff-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ff-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .ff-grid-3, .ff-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ff-grid-2, .ff-grid-3, .ff-grid-4 { grid-template-columns: 1fr; }
}

/* Reveal animations */
.ff-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.ff-reveal.is-visible { opacity: 1; transform: translateY(0); }
.ff-reveal-delay-1 { transition-delay: 0.08s; }
.ff-reveal-delay-2 { transition-delay: 0.16s; }
.ff-reveal-delay-3 { transition-delay: 0.24s; }
.ff-reveal-delay-4 { transition-delay: 0.32s; }

/* CTA band */
.ff-cta-band {
  background: var(--ff-gradient);
  border-radius: var(--ff-radius-lg);
  color: #fff;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 32px; align-items: center;
  position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(58,146,255,0.45);
}
.ff-cta-band::before {
  content: ""; position: absolute; top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
}
.ff-cta-band h2 { color: #fff; margin: 0 0 10px; }
.ff-cta-band p { color: rgba(255,255,255,0.92); margin: 0; font-size: 17px; max-width: 560px; }
.ff-cta-band .ff-btn { padding: 14px 28px; }
.ff-cta-band .ff-btn-primary { background: #fff; color: var(--ff-ink); }
.ff-cta-band .ff-btn-primary:hover { background: var(--ff-ink); color: #fff; }
@media (max-width: 900px) {
  .ff-cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* Footer */
.ff-footer {
  background: var(--ff-bg-alt);
  border-top: 1px solid var(--ff-line);
  padding: 64px 0 28px;
  color: var(--ff-muted);
  font-size: 14px;
}
.ff-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.ff-footer h4 {
  color: var(--ff-ink); font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.06em; margin: 0 0 14px; font-weight: 600;
}
.ff-footer ul { list-style: none; padding: 0; margin: 0; }
.ff-footer li { margin-bottom: 10px; }
.ff-footer a { color: var(--ff-text); font-size: 14px; }
.ff-footer a:hover { color: var(--ff-blue-600); }
.ff-footer-bottom {
  border-top: 1px solid var(--ff-line);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--ff-muted);
}
@media (max-width: 900px) {
  .ff-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .ff-footer-grid { grid-template-columns: 1fr; }
}

/* Typographic helpers */
.ff-ink { color: var(--ff-ink); }
.ff-blue { color: var(--ff-blue-600); }
.ff-muted { color: var(--ff-muted); }
.ff-lead { font-size: 20px; line-height: 1.55; color: var(--ff-ink-700); }
.ff-small { font-size: 13px; color: var(--ff-muted); }
.ff-strike { color: var(--ff-muted); text-decoration: line-through; }

/* Page hero (internal pages) */
.ff-page-hero {
  padding: 88px 0 64px;
  background: var(--ff-gradient-soft);
  border-bottom: 1px solid var(--ff-line);
  text-align: center;
}
.ff-page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.ff-page-hero p { font-size: 18px; color: var(--ff-muted); max-width: 640px; margin: 16px auto 0; }

/* ---------- Polish additions (v2) ---------- */

/* Hero (landing) */
.hero { padding: 72px 0 56px; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 25% 20%, rgba(58,146,255,0.08), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px; align-items: center; position: relative;
}
.hero h1 .hl {
  background: linear-gradient(100deg, var(--ff-blue) 0%, var(--ff-blue-600) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 19px; line-height: 1.6; color: var(--ff-ink-700); max-width: 560px; margin: 22px 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13.5px; color: var(--ff-muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { color: var(--ff-blue); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 40px; }
}

/* Hero illustration (image-based, replaces old text-mockup) */
.hero-art {
  position: relative;
  border-radius: var(--ff-radius-lg);
  overflow: hidden;
  box-shadow: var(--ff-shadow-lg);
  background: linear-gradient(180deg, #f8faff 0%, #eaf2ff 100%);
  border: 1px solid var(--ff-line);
  aspect-ratio: 16 / 10;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
  pointer-events: none;
}

/* Logos strip */
.logos { padding: 32px 0; border-top: 1px solid var(--ff-line); border-bottom: 1px solid var(--ff-line); background: var(--ff-bg-alt); }
.logos-inner { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; }
.logos-label { font-size: 12px; font-weight: 600; color: var(--ff-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.logos-marks { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.logo-mark {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-weight: 700; font-size: 16px; color: var(--ff-ink); letter-spacing: -0.01em;
}
.logo-mark span { font-size: 11px; font-weight: 500; color: var(--ff-muted); text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 760px) {
  .logos-inner { grid-template-columns: 1fr; gap: 14px; }
}

/* Stats */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ff-line);
  border-radius: var(--ff-radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--ff-shadow-sm);
}
.stat-card {
  padding: 36px 28px;
  border-right: 1px solid var(--ff-line);
  text-align: left;
}
.stat-card:last-child { border-right: 0; }
.stat-card .n {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--ff-ink);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(100deg, var(--ff-ink) 0%, var(--ff-blue-600) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-card .lbl { font-size: 15px; color: var(--ff-text); font-weight: 500; }
.stat-card .sub { font-size: 13px; color: var(--ff-muted); margin-top: 6px; }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { border-right: 0; border-bottom: 1px solid var(--ff-line); padding: 28px 24px; }
  .stat-card:nth-child(odd) { border-right: 1px solid var(--ff-line); }
  .stat-card:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: 0 !important; }
  .stat-card:last-child { border-bottom: 0; }
}

/* Feature rows (alternating) */
.feat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--ff-line-soft);
}
.feat-row:first-of-type { border-top: 0; padding-top: 0; }
.feat-row.flip .feat-copy { order: 2; }
.feat-row.flip .feat-visual { order: 1; }
.feat-copy .ff-eyebrow { margin-bottom: 18px; }
.feat-copy h2 { font-size: 2.2rem; }
.feat-copy p { font-size: 17px; color: var(--ff-text); line-height: 1.65; }
.feat-copy ul { padding-left: 0; list-style: none; margin-top: 22px; }
.feat-copy li { display: flex; gap: 12px; padding: 8px 0; font-size: 15px; color: var(--ff-ink-700); }
.feat-copy li svg { flex-shrink: 0; color: var(--ff-blue); margin-top: 3px; }
.feat-visual {
  background: var(--ff-bg-alt);
  border: 1px solid var(--ff-line);
  border-radius: var(--ff-radius);
  padding: 40px;
  min-height: 320px;
  position: relative; overflow: hidden;
}
@media (max-width: 900px) {
  .feat-row { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .feat-row.flip .feat-copy { order: 1; }
  .feat-row.flip .feat-visual { order: 2; }
}

/* Feature card (6-up grid) */
.feat-card {
  background: #fff;
  border: 1px solid var(--ff-line);
  border-radius: var(--ff-radius);
  padding: 32px;
  box-shadow: var(--ff-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
  display: flex; flex-direction: column; gap: 14px;
}
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--ff-shadow); border-color: #d9e2ee; }
.feat-card .feat-ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--ff-blue-050); color: var(--ff-blue-600);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ff-blue-100);
}
.feat-card h3 { font-size: 1.05rem; margin: 0; }
.feat-card p { font-size: 14.5px; color: var(--ff-muted); margin: 0; line-height: 1.55; }

/* Flow (how-it-works) */
.flow-wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative; margin-top: 40px;
}
.flow-node {
  padding: 32px 22px;
  background: #fff;
  border: 1px solid var(--ff-line);
  text-align: center;
  position: relative;
}
.flow-node:first-child { border-radius: var(--ff-radius) 0 0 var(--ff-radius); }
.flow-node:last-child { border-radius: 0 var(--ff-radius) var(--ff-radius) 0; }
.flow-node:not(:last-child) { border-right: 0; }
.flow-node .flow-icon {
  width: 56px; height: 56px;
  background: var(--ff-blue-050);
  color: var(--ff-blue-600);
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--ff-blue-100);
}
.flow-node h4 { font-size: 15px; margin-bottom: 6px; }
.flow-node p { font-size: 13px; color: var(--ff-muted); margin: 0; line-height: 1.55; }
.flow-node::after {
  content: ""; position: absolute; top: 50%; right: -1px; transform: translate(50%, -50%);
  width: 28px; height: 28px; background: #fff;
  border: 1px solid var(--ff-line); border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233A92FF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>");
  background-repeat: no-repeat; background-position: center;
  z-index: 2;
}
.flow-node:last-child::after { display: none; }
@media (max-width: 900px) {
  .flow-wrap { grid-template-columns: 1fr; }
  .flow-node { border-right: 1px solid var(--ff-line) !important; border-radius: 0 !important; border-bottom: 0; }
  .flow-node:first-child { border-radius: var(--ff-radius) var(--ff-radius) 0 0 !important; }
  .flow-node:last-child { border-radius: 0 0 var(--ff-radius) var(--ff-radius) !important; border-bottom: 1px solid var(--ff-line); }
  .flow-node::after {
    top: auto; bottom: -14px; right: 50%; transform: translate(50%, 0);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233A92FF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  }
}

/* Testimonial */
.quote {
  max-width: 860px; margin: 0 auto;
  padding: 56px 48px;
  background: var(--ff-bg-alt);
  border: 1px solid var(--ff-line);
  border-radius: var(--ff-radius-lg);
  position: relative; text-align: center;
}
.quote::before {
  content: "“"; position: absolute; top: 10px; left: 32px;
  font-family: 'Georgia', serif; font-size: 120px; color: var(--ff-blue); opacity: 0.28; line-height: 1;
}
.quote p {
  font-size: 22px; line-height: 1.55; color: var(--ff-ink);
  font-weight: 500; letter-spacing: -0.01em; margin: 0 0 24px;
}
.quote .who { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; color: var(--ff-muted); }
.quote .who strong { color: var(--ff-ink); font-weight: 600; }
.quote .who .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ff-muted); }
@media (max-width: 600px) {
  .quote { padding: 40px 24px; }
  .quote p { font-size: 18px; }
}

/* Quote grid (multiple testimonials) */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-card {
  background: #fff; border: 1px solid var(--ff-line);
  border-radius: var(--ff-radius); padding: 28px;
  box-shadow: var(--ff-shadow-sm);
  display: flex; flex-direction: column; gap: 18px;
}
.quote-card p { font-size: 15.5px; line-height: 1.6; color: var(--ff-ink-700); margin: 0; }
.quote-card .q-who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--ff-line-soft); }
.quote-card .q-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ff-gradient);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.quote-card .q-meta { display: flex; flex-direction: column; gap: 2px; }
.quote-card .q-meta strong { color: var(--ff-ink); font-size: 14px; font-weight: 600; }
.quote-card .q-meta span { color: var(--ff-muted); font-size: 12.5px; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

/* Integration badges strip */
.intgr {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 28px;
  margin-top: 40px;
}
.intgr-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--ff-line);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ff-ink-700);
  box-shadow: var(--ff-shadow-sm);
}
.intgr-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ff-blue); }

/* FAQ accordion */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--ff-line); border-radius: 12px;
  background: #fff; margin-bottom: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: var(--ff-blue-100); box-shadow: var(--ff-shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 56px 22px 28px;
  position: relative;
  font-weight: 600; color: var(--ff-ink);
  font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 12px; height: 12px; border-right: 2px solid var(--ff-ink-700); border-bottom: 2px solid var(--ff-ink-700);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item .faq-body {
  padding: 0 28px 24px;
  color: var(--ff-text); font-size: 15px; line-height: 1.65;
}
.faq-item .faq-body p { margin: 0 0 10px; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: #fff; border: 1px solid var(--ff-line);
  border-radius: var(--ff-radius-lg); padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--ff-shadow-sm);
  position: relative;
}
.price-card.featured { border: 2px solid var(--ff-blue); box-shadow: 0 16px 40px -12px rgba(58,146,255,0.25); }
.price-card .p-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ff-blue-600); }
.price-card h3 { font-size: 1.2rem; margin: 0; }
.price-card .p-amt { font-size: 2.4rem; font-weight: 800; color: var(--ff-ink); letter-spacing: -0.035em; line-height: 1; }
.price-card .p-amt small { font-size: 15px; font-weight: 500; color: var(--ff-muted); letter-spacing: 0; margin-left: 4px; }
.price-card p { color: var(--ff-muted); font-size: 14.5px; margin: 0; }
.price-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.price-card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ff-ink-700); }
.price-card li svg { flex-shrink: 0; color: var(--ff-blue); }
.price-card .ff-btn { margin-top: auto; width: 100%; justify-content: center; }
.price-card.featured .p-ribbon {
  position: absolute; top: -12px; right: 20px;
  background: var(--ff-blue); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px; letter-spacing: 0.04em; text-transform: uppercase;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

/* Apply / contact form */
.apply-wrap {
  max-width: 720px; margin: 0 auto;
  background: #fff; border: 1px solid var(--ff-line);
  border-radius: var(--ff-radius-lg);
  padding: 48px;
  box-shadow: var(--ff-shadow);
}
.apply-wrap h2 { text-align: center; }
.apply-wrap .sub { text-align: center; color: var(--ff-muted); margin-bottom: 32px; }
.apply-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.apply-row.full { grid-template-columns: 1fr; }
.apply-wrap label { display: block; font-size: 13px; font-weight: 600; color: var(--ff-ink-700); margin-bottom: 6px; }
.apply-wrap input, .apply-wrap select, .apply-wrap textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--ff-line); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--ff-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.apply-wrap input:focus, .apply-wrap select:focus, .apply-wrap textarea:focus {
  outline: 0; border-color: var(--ff-blue); box-shadow: 0 0 0 3px rgba(58,146,255,0.15);
}
.apply-wrap textarea { resize: vertical; min-height: 100px; }
.apply-wrap button { width: 100%; justify-content: center; padding: 14px; font-size: 15px; margin-top: 8px; }
#applyStatus { text-align: center; margin-top: 14px; font-size: 14px; color: var(--ff-blue-600); font-weight: 600; }
@media (max-width: 600px) {
  .apply-row { grid-template-columns: 1fr; }
  .apply-wrap { padding: 32px 24px; }
}

/* Narrative / about text blocks */
.prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: var(--ff-text); }
.prose h2 { margin-top: 48px; }
.prose h3 { margin-top: 32px; color: var(--ff-ink); }
.prose p { margin: 0 0 18px; }
.prose ul { padding-left: 22px; }
.prose ul li { margin-bottom: 8px; color: var(--ff-ink-700); }

/* Utility */
.ff-center { text-align: center; }
.ff-mt-32 { margin-top: 32px; }
.ff-mt-48 { margin-top: 48px; }

/* ---------- v2 polish fixes (2026-04-24) ---------- */
.ff-nav-links a { white-space: nowrap; }
.ff-logo span { white-space: nowrap; }
/* Hide logo text on smaller nav widths to save space */
@media (max-width: 1080px) and (min-width: 901px) {
  .ff-logo span { display: none; }
}
/* Tighten nav container */
.ff-nav-inner { gap: 16px; }
.ff-nav-links { gap: 2px; margin-left: 16px; }
.ff-nav-links a { padding: 8px 12px; }

/* Reveal fallback: if JS fails or content is above-the-fold, show after 400ms */
.ff-reveal { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .ff-reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- v3 nav polish (2026-04-24) ---------- */
/* Nav logo: image-only, larger */
.ff-nav .ff-logo img { height: 36px; }
/* Drop 'Why Freedom' reserved text (change label to 'Why us') — handled in HTML */
/* Safety: ensure no sibling text beside logo */
.ff-nav .ff-logo span { display: none; }
/* Make sure container isn't overflowing on narrow desktops */
@media (max-width: 1100px) and (min-width: 901px) {
  .ff-nav-links { margin-left: 8px; }
  .ff-nav-links a { padding: 8px 10px; font-size: 13.5px; }
  .ff-nav-cta .ff-btn-ghost { display: none; }
}
/* Mobile: proper stacked nav */
@media (max-width: 900px) {
  .ff-nav-inner { padding: 12px 20px; }
  .ff-nav-cta .ff-btn-primary { padding: 9px 14px; font-size: 13px; }
  .ff-nav-cta .ff-btn-primary .arr { display: none; }
}

/* ---------- v4 mobile fix + reveal safety (2026-04-24) ---------- */
/* Mobile: tighten nav even more + reduce button size to prevent overflow */
@media (max-width: 560px) {
  .ff-nav-inner { padding: 10px 14px; gap: 10px; }
  .ff-nav .ff-logo img { height: 28px; }
  .ff-nav-cta .ff-btn-primary { padding: 8px 12px; font-size: 12.5px; }
  .ff-nav-cta .ff-btn-primary .arr { display: none; }
  .ff-nav-toggle { padding: 4px; }
  .ff-nav-toggle svg { width: 20px; height: 20px; }
}
/* Safety: the nav toggle must be visible and operable */
@media (max-width: 900px) {
  .ff-nav-cta { margin-left: 0; gap: 6px; }
}

/* Reveal safety: after 600ms, force visible on everything (catches edge cases where IO doesn't fire before screenshot / crawler / etc) */
.ff-reveal-forced { opacity: 1 !important; transform: none !important; }

/* ---------- v5 mobile final fix (2026-04-24) ---------- */
@media (max-width: 560px) {
  /* Hide Apply CTA in nav on very small screens; keep hamburger only */
  .ff-nav-cta .ff-btn-primary { display: none; }
  /* Tighten nav row */
  .ff-nav-inner { padding: 10px 16px; gap: 8px; }
}
/* Fix the closed-state nav dropdown leak: use visibility + opacity instead of max-height padding leak */
@media (max-width: 900px) {
  .ff-nav-links {
    padding: 0 16px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .3s ease, padding .3s ease, opacity .2s ease, visibility .2s ease;
  }
  .ff-nav-links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    padding: 12px 16px 18px;
  }
}
/* Trust badge pill too wide on mobile: wrap */
.ff-eyebrow { max-width: 100%; white-space: normal; text-align: center; }
@media (max-width: 480px) {
  .ff-eyebrow { font-size: 11px; padding: 5px 10px; }
  .hero-meta { gap: 10px 14px; font-size: 12.5px; }
}

/* ---------- v6 a11y fixes (2026-04-24) ---------- */
/* Better contrast on muted text */
.ff-footer a { color: #475569; }  /* was var(--ff-text) — bumped darker for footer on alt bg */
.logo-mark span { color: #475569; }  /* was muted — higher contrast */
.hero-meta { color: #475569; }
/* Stat card subtitle contrast */
.stat-card .sub { color: #64748b; }
