/* ==========================================================================
   FranFast theme — main stylesheet
   Values from "Home — EN (desktop)" (Claude Design) + FranFast brand manual V.1
   Sections: 1 Fonts · 2 Tokens · 3 Base · 4 Layout · 5 Components · 6 Header · 7 Footer · 8 Pages
   ========================================================================== */

/* 1. Fonts (self-hosted, Ubuntu Font Licence — see assets/fonts/UFL-LICENSE.txt) */
@font-face { font-family: "Ubuntu Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ubuntu-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Ubuntu Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ubuntu-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Ubuntu Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/ubuntu-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Ubuntu Sans Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/ubuntu-sans-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Ubuntu Sans Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/ubuntu-sans-mono-latin-500-normal.woff2) format("woff2"); }

/* 2. Tokens */
:root {
  /* Brand */
  --ff-brand: #0055B8;          /* logo blue (brand manual) */
  --ff-blue: #0957C3;           /* primary UI blue (design) */
  --ff-blue-hover: #0747A0;
  --ff-blue-900: #002E87;
  --ff-blue-300: #ADC8F0;
  --ff-blue-200: #D6E4F8;
  --ff-blue-50: #EEF4FC;
  --ff-cyan: #1FC3E6;
  --ff-cyan-300: #83E2F7;
  --ff-cyan-200: #B3EDFB;
  --ff-cyan-50: #E0F8FE;
  --ff-teal: #006671;
  --ff-teal-900: #004F57;
  --ff-green: #1E7F4F;
  --ff-navy: #0A1A3A;
  --ff-navy-800: #12264D;
  --ff-navy-600: #1E3A6E;

  /* Neutrals */
  --ff-ink: #292929;
  --ff-ink-2: #4B4B4B;
  --ff-ink-3: #6A6A6A;
  --ff-gray-300: #C7C7C7;
  --ff-line: #E9E9E9;
  --ff-gray-50: #F7F7F7;
  --ff-white: #FFFFFF;

  /* Type */
  --ff-font: "Ubuntu Sans", "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: "Ubuntu Sans Mono", "Ubuntu Mono", ui-monospace, monospace;

  /* Shape & space */
  --ff-radius-sm: 8px;
  --ff-radius: 10px;
  --ff-radius-md: 14px;
  --ff-radius-lg: 20px;
  --ff-container: 1200px;
  --ff-gutter: 32px;
  --ff-section: 96px;
  --ff-header-h: 77px;
  --ff-focus: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--ff-blue);
}
@media (max-width: 767px) {
  :root { --ff-gutter: 16px; --ff-section: 64px; --ff-header-h: 69px; }
}

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--ff-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--ff-white); color: var(--ff-ink); font-family: var(--ff-font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--ff-blue); text-underline-offset: 2px; }
a:hover { color: var(--ff-blue-hover); }
:focus-visible { outline: none; box-shadow: var(--ff-focus); border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; color: var(--ff-ink); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
main:focus { outline: none; }

.h1 { font-size: clamp(36px, 5.2vw, 56px); line-height: 1.08; }
.h2 { font-size: clamp(28px, 3.4vw, 40px); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--ff-ink-2); }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ff-blue); }
.muted { color: var(--ff-ink-3); }
.mono { font-family: var(--ff-mono); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--ff-ink); color: #fff; padding: 12px 16px; border-radius: var(--ff-radius); text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

/* 4. Layout */
.container { width: 100%; max-width: var(--ff-container); margin-inline: auto; padding-inline: var(--ff-gutter); }
.container--narrow { max-width: calc(880px + var(--ff-gutter) * 2); }
.section { padding-block: var(--ff-section); }
.section--gray { background: var(--ff-gray-50); border-block: 1px solid var(--ff-line); }
.section--center { text-align: center; }
.stack > * + * { margin-top: 24px; }

/* 5. Components */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 20px; border-radius: var(--ff-radius); border: 1px solid transparent; font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; white-space: nowrap; }
.btn--lg { padding: 14px 24px; font-size: 16px; }
.btn--primary { background: var(--ff-blue); color: #fff; }
.btn--primary:hover { background: var(--ff-blue-hover); color: #fff; }
.btn--secondary { background: #fff; color: var(--ff-blue); border-color: var(--ff-blue-300); }
.btn--secondary:hover { border-color: var(--ff-blue); color: var(--ff-blue-hover); }
.btn--inverse { background: #fff; color: var(--ff-blue); }
.btn--inverse:hover { background: var(--ff-blue-50); color: var(--ff-blue-hover); }

.search-form { display: flex; gap: 8px; max-width: 520px; margin-inline: auto; }
.search-form__input { flex: 1; min-width: 0; min-height: 48px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ff-ink); background: #fff; border: 1px solid var(--ff-gray-300); border-radius: var(--ff-radius); }
.search-form__input:focus-visible { border-color: var(--ff-blue); }
.search-form__btn { min-width: 48px; min-height: 48px; padding: 12px; }

/* 6. Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--ff-line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(8px); } }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--ff-header-h); padding-block: 16px; }
.site-header__brand { display: flex; align-items: center; flex: none; }
.site-header__brand img, .site-header__logo { display: block; height: 44px; width: auto; }
.site-header__panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex: 1; }
.site-nav { margin-inline: auto; }
.site-nav__list { list-style: none; display: flex; flex-wrap: wrap; gap: 28px; }
.site-nav__list a { color: var(--ff-ink); text-decoration: none; font-size: 15px; font-weight: 500; padding-block: 8px; border-bottom: 2px solid transparent; }
.site-nav__list a:hover { color: var(--ff-blue); }
.site-nav__list a[aria-current="page"] { color: var(--ff-blue); border-bottom-color: var(--ff-blue); }
.site-header__actions { display: flex; align-items: center; gap: 16px; }
.site-header__toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid var(--ff-line); border-radius: var(--ff-radius-sm); color: var(--ff-ink); cursor: pointer; }
.site-header__toggle .icon-close { display: none; }
.site-header__cta, .site-header__call { display: none; } /* Mobile/tablet: "Book a demo" always visible next to the menu button. */

.lang-switch__list { list-style: none; display: flex; align-items: center; min-height: 44px; padding: 0 6px; border: 1px solid var(--ff-line); border-radius: var(--ff-radius-sm); }
.lang-switch__list li + li::before { content: "·"; color: var(--ff-gray-300); padding-inline: 2px; }
.lang-switch__list li { display: flex; align-items: center; }
.lang-switch__item { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 36px; padding: 0 4px; font-size: 14px; color: var(--ff-ink-2); text-decoration: none; border-radius: 6px; }
a.lang-switch__item:hover { color: var(--ff-blue); }
.lang-switch__item.is-current { color: var(--ff-ink); font-weight: 500; }

@media (max-width: 1199px) {
  .site-header__toggle { display: inline-flex; }
  .site-header__panel { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--ff-gutter) 24px; background: #fff; border-bottom: 1px solid var(--ff-line); box-shadow: 0 16px 32px rgba(10, 26, 58, .08); max-height: calc(100vh - var(--ff-header-h)); max-height: calc(100dvh - var(--ff-header-h)); overflow-y: auto; }
  .site-header.is-open .site-header__panel { display: flex; }
  .site-header.is-open .icon-open { display: none; }
  .site-header.is-open .icon-close { display: inline-flex; }
  .site-nav { margin: 0; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list li { border-bottom: 1px solid var(--ff-line); }
  .site-nav__list a { display: block; padding: 14px 0; font-size: 17px; border: 0; }
  .site-nav__list a[aria-current="page"] { border: 0; }
  .site-header__actions { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 20px; }
  .lang-switch__list { justify-content: center; }
  .site-header__actions .btn { display: none; } /* Already visible in the bar (.site-header__cta). */
  .site-header__call { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--ff-line); border-radius: var(--ff-radius-sm); color: var(--ff-blue); }
  .site-header__call:hover { border-color: var(--ff-blue-300); }
  .site-header__cta { display: inline-flex; min-height: 44px; padding: 10px 16px; font-size: 14px; }
  .site-header__brand { margin-right: auto; }
}
@media (max-width: 767px) {
  .site-header__inner { gap: 8px; }
  .site-header__brand img, .site-header__logo { height: 36px; }
}
@media (max-width: 399px) {
  .site-header__cta { padding: 10px 12px; font-size: 13px; min-height: 40px; }
  .site-header__call, .site-header__toggle { width: 40px; height: 40px; }
  .site-header__brand img, .site-header__logo { height: 32px; }
}

/* 7. Footer */
.site-footer { border-top: 1px solid var(--ff-line); background: #fff; color: var(--ff-ink-2); font-size: 14px; }
.site-footer a { color: var(--ff-ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ff-blue); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(120px, .75fr)) minmax(180px, 1.1fr) minmax(230px, 1.25fr); gap: 40px 32px; padding-block: 64px 48px; }
.site-footer__logo img { height: 30px; width: auto; }
.site-footer__tagline { margin-top: 16px; max-width: 320px; line-height: 1.55; }
.site-footer__address { display: grid; gap: 10px; margin-top: 20px; }
.site-footer__line { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__line svg { flex: none; margin-top: 3px; color: var(--ff-ink-3); }
.site-footer__social { list-style: none; display: flex; gap: 8px; margin-top: 20px; }
.site-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--ff-line); border-radius: var(--ff-radius-sm); color: var(--ff-ink-2); }
.site-footer__social a:hover { color: var(--ff-blue); border-color: var(--ff-blue-300); text-decoration: none; }
.site-footer__heading { font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ff-ink); margin-bottom: 16px; }
.site-footer__col ul { list-style: none; display: grid; gap: 4px; }
.site-footer__col li a { display: inline-block; padding-block: 4px; line-height: 1.4; }
.site-footer__phones { margin: 0; display: grid; gap: 10px; }
.site-footer__phones > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--ff-line); padding-bottom: 8px; }
.site-footer__phones dt { color: var(--ff-ink-3); }
.site-footer__phones dd { margin: 0; font-family: var(--ff-mono); font-size: 13.5px; white-space: nowrap; }
.site-footer__phones dd a { color: var(--ff-ink); }

.site-footer__trust { background: var(--ff-gray-50); border-block: 1px solid var(--ff-line); }
.site-footer__trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-block: 28px; }
.trust-note { display: flex; align-items: flex-start; gap: 16px; flex: 1 1 420px; min-width: 0; }
.trust-note__icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border: 2px solid var(--ff-blue); border-radius: 12px; color: var(--ff-blue); }
.trust-note__title { font-size: 16px; font-weight: 500; color: var(--ff-ink); }
.trust-note__text { margin-top: 2px; }
.site-footer .trust-note__text a { display: inline-flex; align-items: center; gap: 4px; color: var(--ff-blue); font-weight: 500; white-space: nowrap; }
.badges { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.badges__item img { height: 56px; width: auto; max-width: 140px; object-fit: contain; }
.badges__item a { display: block; border-radius: var(--ff-radius-sm); }
.badges__item a:hover { text-decoration: none; }
.badge-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 8px 16px; background: #fff; border: 1px solid var(--ff-line); border-radius: var(--ff-radius); font-size: 13px; font-weight: 500; color: var(--ff-ink); }
.badge-chip svg { color: var(--ff-blue); }

.site-footer__bottom { display: grid; gap: 6px; padding-block: 24px 32px; font-size: 13px; color: var(--ff-ink-3); }
.site-footer__notice { font-size: 12px; }

@media (max-width: 1100px) {
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-block: 48px 32px; }
  .site-footer__col--phones, .site-footer__col--legal { grid-column: 1 / -1; }
  .trust-note { flex-basis: 100%; }
  .badges__item img, .badge-chip { height: 48px; min-height: 48px; }
}

/* 7b. Newsletter (card, above footer) */
.newsletter { background: #fff; padding-block: 72px; border-top: 1px solid var(--ff-line); }
.cta-band + .newsletter, .section--navy + .newsletter { border-top: 0; }
.newsletter__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 56px; align-items: center; background: var(--ff-gray-50); border: 1px solid var(--ff-line); border-radius: var(--ff-radius-lg); padding: 40px; }
.newsletter__icon { position: relative; width: 56px; height: 56px; border-radius: 12px; background: var(--ff-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.newsletter__icon .module__dot { border-color: var(--ff-gray-50); }
.newsletter__title { margin-top: 8px; font-size: clamp(24px, 2.6vw, 30px); }
.newsletter__text { margin-top: 10px; color: var(--ff-ink-2); max-width: 460px; }
.newsletter__form { background: #fff; border: 1px solid var(--ff-line); border-radius: var(--ff-radius-md); padding: 24px; }
.newsletter__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.newsletter__fields .field:nth-child(3) { grid-column: 1 / -1; } /* Email full width under first + last name. */
.newsletter__submit { grid-column: 1 / -1; justify-self: start; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; color: var(--ff-ink); }
.field input { width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ff-ink); background: #fff; border: 1px solid var(--ff-gray-300); border-radius: var(--ff-radius); }
.field input:focus-visible { border-color: var(--ff-blue); }
.field input[aria-invalid="true"] { border-color: #B42318; }
.newsletter__submit { grid-column: 1 / -1; min-height: 48px; width: 100%; }
.newsletter__submit[disabled] { opacity: .6; cursor: progress; }
.newsletter__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.newsletter__consent { margin-top: 12px; font-size: 13px; color: var(--ff-ink-3); }
.newsletter__status { margin-top: 8px; font-size: 14px; font-weight: 500; min-height: 1.5em; }
.newsletter__status:empty { display: none; }
.newsletter__status[data-state="ok"] { color: var(--ff-green); }
.newsletter__status[data-state="error"] { color: #B42318; }
@media (max-width: 1023px) { .newsletter__inner { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .newsletter { padding-block: 48px; } .newsletter__inner { padding: 24px 20px; } .newsletter__form { padding: 20px 16px; } .newsletter__fields { grid-template-columns: 1fr; } }

/* 8. Pages */
.page-head { margin-bottom: 40px; }
.page-head__title { font-size: clamp(32px, 4vw, 44px); }
.page-head__meta { margin-top: 8px; font-size: 14px; }
.prose { font-size: 17px; line-height: 1.7; color: var(--ff-ink-2); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 28px; margin-top: 2em; color: var(--ff-ink); }
.prose h3 { font-size: 22px; margin-top: 1.6em; color: var(--ff-ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--ff-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 3px solid var(--ff-blue-300); }
.prose img { border-radius: var(--ff-radius-md); }

.not-found { display: grid; gap: 20px; justify-items: center; }
.placeholder .container { display: grid; gap: 16px; }
.post-list { list-style: none; display: grid; gap: 12px; }

/* 9. Shared building blocks */
@keyframes ffpulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@media (prefers-reduced-motion: no-preference) { .ff-pulse { animation: ffpulse 1.6s ease-out infinite; } }
.section--top-only { padding-bottom: 0; }
.section--gray-flat { background: var(--ff-gray-50); }
.section--navy { background: var(--ff-navy); color: var(--ff-blue-200); }
.section--navy .h2 { color: #fff; }
.section-head { display: grid; gap: 12px; max-width: 720px; }
.section-head--wide { max-width: 760px; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.h2--sm { font-size: clamp(26px, 3vw, 36px); }
.lead--sm { font-size: 17px; }
.eyebrow--cyan { color: var(--ff-cyan); }
.section--navy .lead { color: var(--ff-blue-200); }
.stack-xs > * + * { margin-top: 12px; }
.stack-sm > * + * { margin-top: 16px; }
.stack-md > * + * { margin-top: 32px; }
.stack-lg > * + * { margin-top: 40px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split--center { align-items: center; gap: 56px; }
.split__main { flex: 1 1 400px; min-width: 0; }
.split__side { flex: 1 1 440px; min-width: 0; }
.split__main .btn { width: fit-content; }
.grid { list-style: none; display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; } /* Incomplete last row is centered. */
.grid--4 > * { flex: 0 0 calc((100% - 48px) / 4); min-width: 0; }
@media (max-width: 1023px) { .grid--4 > * { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 767px) { .grid--4 > * { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 479px) { .grid--4 > * { flex-basis: 100%; } }
.card { background: #fff; border: 1px solid var(--ff-line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card--sm { padding: 24px; gap: 10px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.mono { font-family: var(--ff-mono); }
.footnote { font-size: 13px; color: var(--ff-ink-3); }
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ff-cyan); flex: none; }

/* 10. Home */
.hero__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 88px 72px; }
.hero__copy { flex: 1 1 480px; min-width: 0; display: grid; gap: 24px; justify-items: start; }
.hero__lead { max-width: 540px; }
.hero__proof { font-size: 14px; color: var(--ff-ink-3); }
@media (max-width: 767px) { .hero__inner { padding-block: 48px 56px; gap: 40px; } }

.agent-card { flex: 1 1 440px; min-width: 0; background: var(--ff-gray-50); border: 1px solid var(--ff-line); border-radius: var(--ff-radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.agent-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.agent-card__name { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.agent-card__mark { width: 32px; height: 32px; border-radius: 7px; background: var(--ff-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ff-teal); background: var(--ff-cyan-50); border-radius: 999px; padding: 6px 12px; }
.agent-card__persona { font-size: 13px; color: var(--ff-ink-3); }
.agent-card__prompt { align-self: flex-end; max-width: 88%; min-height: 48px; background: var(--ff-blue); color: #fff; border-radius: 14px 14px 4px 14px; padding: 12px 16px; font-size: 15px; line-height: 1.5; }
.agent-card__log { background: #fff; border: 1px solid var(--ff-line); border-radius: 14px; padding: 16px; min-height: 116px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; overflow: hidden; }
.agent-line { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.35; }
.agent-line svg { flex: none; color: var(--ff-green); }
.agent-line.is-faded { opacity: .5; }
.agent-line.is-working { color: var(--ff-teal); font-weight: 500; }
.agent-line.is-working .pulse-dot { width: 10px; height: 10px; margin: 0 4px; }
.agent-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--ff-line); padding-top: 14px; }
.agent-card__dots { display: flex; gap: 0; margin-left: -5px; flex: none; }
/* 16 × 24 px tap target around a 6px dot (same footprint as the original 6px dots + 6px gap). */
.agent-card__dot { position: relative; width: 16px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.agent-card__dot::before { content: ""; position: absolute; top: 9px; left: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--ff-gray-300); transition: background-color .2s ease, transform .2s ease; }
.agent-card__dot:hover::before { background: var(--ff-blue-300); transform: scale(1.35); }
.agent-card__dot.is-active::before { background: var(--ff-blue); }
.agent-card__dot:focus-visible { box-shadow: none; }
.agent-card__dot:focus-visible::before { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ff-blue); }
@media (max-width: 767px) {
  /* Mobile: dots and hours stacked and centered; dots a bit wider apart for touch. */
  .agent-card__foot { flex-direction: column; justify-content: center; gap: 10px; }
  .agent-card__dots { margin-left: 0; justify-content: center; }
  .agent-card__dot { width: 20px; height: 28px; }
  .agent-card__dot::before { top: 11px; left: 7px; }
  .agent-card__metric { justify-content: center; }
}
.agent-card__metric { display: flex; align-items: baseline; gap: 10px; font-size: 13px; color: var(--ff-ink-2); }
.agent-card__metric strong { font-size: 24px; font-weight: 500; color: var(--ff-teal); }

.logo-strip { background: var(--ff-gray-50); border-block: 1px solid var(--ff-line); }
.logo-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 32px; }
.logo-strip__label { font-size: 14px; font-weight: 500; color: var(--ff-ink-2); }
.logo-strip__list { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 36px; }
.logo-strip__list img { width: auto; max-width: 140px; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) opacity(.7); transition: filter .2s ease; }
.logo-strip__list img:hover { filter: none; }
@media (max-width: 767px) { .logo-strip__list { gap: 20px 28px; justify-content: center; } .logo-strip__label { width: 100%; text-align: center; } }

.pain-list { list-style: none; display: grid; gap: 12px; }
.pain { background: var(--ff-gray-50); border-radius: var(--ff-radius-md); padding: 20px 22px; display: grid; gap: 4px; }
.pain strong { font-size: 18px; font-weight: 500; }
.pain span { color: var(--ff-ink-2); }

.module__icon { position: relative; width: 56px; height: 56px; border-radius: 12px; background: var(--ff-blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.module__dot { position: absolute; top: -4px; right: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--ff-cyan); border: 2px solid #fff; }
.module__title { font-size: 22px; }
.module__text { color: var(--ff-ink-2); }
.module__note { font-size: 14px; color: var(--ff-ink-3); }
.module--ai { background: var(--ff-cyan-50); border-color: var(--ff-cyan-200); }
.module--ai .module__dot { border-color: var(--ff-cyan-50); }
.module--ai .module__title, .module--ai .module__text { color: var(--ff-teal-900); }

.note-card { background: #fff; border: 1px solid var(--ff-line); border-radius: var(--ff-radius-md); padding: 18px 20px; display: grid; gap: 6px; }
.note-card span { font-size: 15px; line-height: 1.55; color: var(--ff-ink-2); }
.note-card span strong { font-weight: 500; color: var(--ff-ink); }
.note-card__head { display: flex; align-items: center; gap: 12px; }
.note-card__head img { height: 22px; width: auto; }
.note-card__head strong { padding-left: 12px; border-left: 1px solid var(--ff-line); }
.layers { list-style: none; display: grid; gap: 10px; }
.layer { border: 1px solid var(--ff-line); background: #fff; border-radius: var(--ff-radius-md); padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.layer__label { width: 140px; display: grid; gap: 2px; }
.layer__label span { font-size: 13px; color: var(--ff-ink-3); }
.layer__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.layer__chips li { font-size: 14px; border: 1px solid var(--ff-line); border-radius: var(--ff-radius-sm); padding: 8px 14px; background: #fff; }
.layer--agency { background: var(--ff-cyan-50); border-color: var(--ff-cyan-300); }
.layer--agency strong { color: var(--ff-teal-900); }
.layer--agency .layer__label span { color: var(--ff-teal); }
.layer--agency .layer__chips li { color: var(--ff-teal-900); border-color: var(--ff-cyan-300); }
.layer--work { background: var(--ff-blue-50); border-color: var(--ff-blue-300); }
.layer--work strong { color: var(--ff-blue-900); }
.layer--work .layer__label span { color: var(--ff-blue); }
.layer--work .layer__chips li { color: var(--ff-blue-900); border-color: var(--ff-blue-300); }

.ai-card__label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ff-teal); }
.ai-card__label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ff-cyan); }
.ai-card p { font-size: 17px; line-height: 1.55; }
.video-card { position: relative; background: var(--ff-navy); border-radius: var(--ff-radius-lg); min-height: 320px; padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; overflow: hidden; }
.video-card__play { width: 64px; height: 64px; border-radius: 50%; border: 0; background: #fff; color: var(--ff-blue); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.video-card__title { font-size: 22px; font-weight: 500; color: #fff; }
.video-card__text { color: var(--ff-blue-200); max-width: 640px; }
.video-card iframe, .video-card video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 15px; color: var(--ff-ink-2); }
.rating strong { font-weight: 500; color: var(--ff-ink); }
.story__brand { font-size: 14px; font-weight: 500; color: var(--ff-blue); }
.story__stat { font-size: 36px; font-weight: 500; line-height: 1.1; color: var(--ff-blue-900); }
.story__stat-label { font-size: 15px; color: var(--ff-ink-2); }
.story__badge { font-size: 13px; color: var(--ff-ink-3); }
.story__quote { margin: 0; font-size: 17px; line-height: 1.55; }
.story__author { font-size: 14px; color: var(--ff-ink-3); margin-top: auto; }

.segment { gap: 12px; }
.segment__title { font-size: 22px; }
.segment p { color: var(--ff-ink-2); }
.segment .link-arrow { margin-top: auto; }
.segment--featured { border: 2px solid var(--ff-blue); padding: 27px; }

.addon { border: 2px solid var(--ff-blue-300); border-radius: var(--ff-radius-md); padding: 18px; display: grid; gap: 6px; align-content: start; }
.addon strong { font-weight: 500; color: var(--ff-blue-900); }
.addon span { font-size: 14px; color: var(--ff-ink-2); }

.stat-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--ff-navy-800); border: 1px solid var(--ff-navy-600); border-radius: var(--ff-radius-md); padding: 18px; display: grid; gap: 6px; }
.stat__label { font-size: 13px; color: var(--ff-cyan-200); display: flex; align-items: center; gap: 8px; }
.stat__value { font-size: 28px; color: #fff; }
.stat--live { border-color: var(--ff-cyan); }
.stat--live .stat__label, .stat--live .stat__value { color: var(--ff-cyan); }

.steps { counter-reset: none; gap: 16px; }
.step { background: #fff; border-radius: var(--ff-radius-md); padding: 22px; display: grid; gap: 8px; align-content: start; }
.step__num { font-size: 15px; color: var(--ff-blue); }
.step__num--teal { color: var(--ff-teal); }
.step strong { font-size: 19px; font-weight: 500; }
.step > span:last-child { font-size: 15px; color: var(--ff-ink-2); }

.trust-band { background: var(--ff-blue-900); background-image: radial-gradient(120% 140% at 100% 0%, rgba(31,195,230,.22) 0%, rgba(31,195,230,0) 55%); color: var(--ff-blue-200); }
.trust-band__inner { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; padding-block: 72px; }
.trust-band__copy { display: flex; align-items: center; gap: 20px; flex: 1 1 460px; min-width: 0; }
.trust-band__icon { width: 64px; height: 64px; border-radius: 14px; border: 2px solid var(--ff-cyan); background: rgba(255,255,255,.06); color: var(--ff-cyan); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.trust-band__title { font-size: clamp(22px, 2.4vw, 26px); color: #fff; }
.trust-band__copy p { font-size: 16px; color: var(--ff-blue-200); margin-top: 6px; }
.trust-band .btn { background: #fff; color: var(--ff-blue-900); border-color: #fff; }
.trust-band .btn:hover { background: var(--ff-cyan-50); color: var(--ff-blue-900); }

.faq-section { padding-block: 88px; }
.faq__title { margin-bottom: 24px; font-size: clamp(28px, 3vw, 36px); }
.faq__item { border-bottom: 1px solid var(--ff-line); padding-block: 16px; }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; min-height: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { flex: none; color: var(--ff-ink-3); transition: transform .2s ease; }
.faq__item[open] summary svg { transform: rotate(180deg); }
.faq__item p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--ff-ink-2); }
.faq__item strong { font-weight: 500; color: var(--ff-ink); }

.cta-band { background: var(--ff-blue); }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-block: 88px; }
.cta-band__inner > div { flex: 1 1 520px; min-width: 0; }
.cta-band__title { font-size: clamp(30px, 3.4vw, 40px); color: #fff; }
.cta-band__text { font-size: 18px; color: var(--ff-blue-200); }
@media (max-width: 767px) { .cta-band__inner, .trust-band__inner { padding-block: 56px; } .cta-band .btn, .trust-band .btn { width: 100%; } }

/* 11. Blog listings (blog, news, category, tag, search) */
.listing-head { background: var(--ff-gray-50); border-bottom: 1px solid var(--ff-line); }
.listing-head__inner { display: grid; gap: 16px; justify-items: start; padding-block: 72px 56px; }
.listing-head__title { font-size: clamp(34px, 4.4vw, 48px); }
.listing-head .lead { max-width: 640px; }
.listing-head .search-form { margin: 8px 0 0; width: 100%; }
.listing { padding-top: 48px; }
.chips ul, ul.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--ff-line); border-radius: 999px; font-size: 14px; color: var(--ff-ink-2); text-decoration: none; background: #fff; }
.chip:hover { border-color: var(--ff-blue-300); color: var(--ff-blue); }
.chip.is-active { background: var(--ff-blue); border-color: var(--ff-blue); color: #fff; }
.chips--sm .chip { min-height: 32px; padding: 4px 12px; font-size: 13px; }
.post-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ff-line); border-radius: 16px; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.post-card:hover { border-color: var(--ff-blue-300); box-shadow: 0 12px 28px rgba(10, 26, 58, .07); }
.post-card__media { display: block; aspect-ratio: 16 / 9; background: var(--ff-blue-50); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--ff-blue-300); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.post-card__meta { font-size: 13px; color: var(--ff-ink-3); }
.post-card__cat { color: var(--ff-blue); font-weight: 500; }
.post-card__title { font-size: 20px; line-height: 1.3; }
.post-card__title a { color: var(--ff-ink); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; } /* Whole card clickable. */
.post-card__title a:focus-visible { box-shadow: none; }
.post-card:focus-within { box-shadow: var(--ff-focus); }
.post-card__excerpt { font-size: 15px; color: var(--ff-ink-2); }
.post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--ff-blue); }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--ff-line); border-radius: var(--ff-radius); color: var(--ff-ink-2); text-decoration: none; font-size: 15px; }
.pagination a.page-numbers:hover { border-color: var(--ff-blue-300); color: var(--ff-blue); }
.pagination .current { background: var(--ff-blue); border-color: var(--ff-blue); color: #fff; }
.pagination .prev svg { transform: rotate(180deg); }
.pagination .dots { border: 0; }
.empty-state { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 56px 24px; background: var(--ff-gray-50); border-radius: var(--ff-radius-lg); }
.empty-state__icon { width: 56px; height: 56px; border-radius: 12px; background: var(--ff-blue-50); color: var(--ff-blue); display: inline-flex; align-items: center; justify-content: center; }
.empty-state p { color: var(--ff-ink-2); max-width: 480px; }

/* 12. Single post */
.post-head { background: var(--ff-gray-50); border-bottom: 1px solid var(--ff-line); }
.post-head__inner { display: grid; gap: 16px; padding-block: 48px 40px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--ff-ink-3); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--ff-gray-300); }
.breadcrumb a { color: var(--ff-ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--ff-blue); text-decoration: underline; }
.post-head__title { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.post-head__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ff-ink-3); }
.post-head__langs { font-size: 14px; color: var(--ff-ink-2); }
.post-head__langs a { margin-left: 6px; font-weight: 500; }
.post-cover { margin: 40px auto 0; max-width: calc(1040px + var(--ff-gutter) * 2); }
.post-cover img { width: 100%; height: auto; border-radius: var(--ff-radius-lg); }
.post-content { padding-block: 48px 24px; }
.prose a { overflow-wrap: anywhere; }
.prose figure { margin: 2em 0; }
.prose figcaption, .prose .wp-element-caption { margin-top: 8px; font-size: 14px; color: var(--ff-ink-3); text-align: center; }
.prose .wp-block-image img, .prose img { height: auto; }
.prose .wp-block-embed iframe, .prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--ff-radius-md); }
.prose pre, .prose code { font-family: var(--ff-mono); font-size: 14px; background: var(--ff-gray-50); border-radius: 6px; }
.prose code { padding: 2px 6px; }
.prose pre { padding: 16px; overflow-x: auto; }
.prose .wp-block-button__link { display: inline-flex; padding: 12px 20px; border-radius: var(--ff-radius); background: var(--ff-blue); color: #fff; text-decoration: none; }
.post-foot { display: grid; gap: 24px; padding-block: 8px 72px; border-top: 1px solid var(--ff-line); padding-top: 24px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share__label { font-size: 14px; font-weight: 500; margin-right: 4px; }
.share__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--ff-line); border-radius: var(--ff-radius-sm); background: #fff; color: var(--ff-ink-2); cursor: pointer; }
.share__btn:hover { color: var(--ff-blue); border-color: var(--ff-blue-300); }
.share__status { font-size: 13px; color: var(--ff-green); }

/* 13. Thank-you page */
.ty-hero { position: relative; isolation: isolate; color: #fff; background: var(--ff-blue-900) var(--ty-bg, none) center / cover no-repeat; }
.ty-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(0, 46, 135, .9) 0%, rgba(9, 87, 195, .72) 55%, rgba(10, 26, 58, .62) 100%); }
.ty-hero__inner { display: grid; justify-items: center; text-align: center; gap: 20px; min-height: min(78vh, 760px); align-content: center; padding-block: 96px; }
.ty-hero__check { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--ff-cyan); background: rgba(255,255,255,.08); color: var(--ff-cyan); display: inline-flex; align-items: center; justify-content: center; }
.ty-hero__title { color: #fff; max-width: 900px; }
.ty-hero__text { color: var(--ff-blue-200); max-width: 760px; }
.ty-hero .btn { margin-top: 12px; }
.built-on { border-bottom: 1px solid var(--ff-line); }
.built-on__inner { display: grid; justify-items: center; gap: 24px; padding-block: 56px; }
.built-on__title { font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ff-ink-3); }
.built-on__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 56px; }
.built-on__list img { width: auto; max-width: 220px; object-fit: contain; }
.built-on + .newsletter { border-top: 0; }
@media (max-width: 767px) { .ty-hero__inner { padding-block: 64px; min-height: 0; } .built-on__list { gap: 24px 32px; } }

/* 14. Navy title bars (blog listings + posts), same look as "For enterprise networks" */
.listing-head, .post-head { background: var(--ff-navy); border-bottom: 0; color: var(--ff-blue-200); }
.listing-head .eyebrow, .post-head .eyebrow { color: var(--ff-cyan); }
.listing-head__title, .post-head__title { color: #fff; }
.listing-head .lead { color: var(--ff-blue-200); }
.listing-head .search-form__input { border-color: var(--ff-navy-600); }
.listing-head .search-form__btn { background: #fff; color: var(--ff-navy); }
.listing-head .search-form__btn:hover { background: var(--ff-cyan-50); color: var(--ff-navy); }
.post-head .breadcrumb ol { color: var(--ff-blue-300); }
.post-head .breadcrumb li + li::before { color: var(--ff-navy-600); }
.post-head .breadcrumb a { color: var(--ff-blue-200); }
.post-head .breadcrumb a:hover { color: #fff; }
.post-head__meta { color: var(--ff-blue-300); }
.post-head__langs { color: var(--ff-blue-200); }
.post-head__langs a { color: var(--ff-cyan); }
.listing-head :focus-visible, .post-head :focus-visible { box-shadow: 0 0 0 3px var(--ff-navy), 0 0 0 5px var(--ff-cyan); }

/* 15. Footer: compact SOC 2 band (inner pages) + badges row */
.trust-band--compact .trust-band__inner { padding-block: 32px; gap: 20px 32px; }
.trust-band--compact .trust-band__icon { width: 52px; height: 52px; border-radius: 12px; }
.trust-band--compact .trust-band__title { font-size: 19px; color: #fff; font-weight: 500; }
.trust-band--compact .trust-band__copy p:not(.trust-band__title) { font-size: 15px; margin-top: 4px; }
.site-footer .trust-band .btn { text-decoration: none; }
.site-footer__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 24px; border-top: 1px solid var(--ff-line); }
.badges__label { font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ff-ink-3); }
.site-footer__bottom { border-top: 1px solid var(--ff-line); }

/* 16. Single post v2: compact navy title bar, cover overlapping it, readable body, prev/next */
.post-head__inner { padding-block: 56px 48px; gap: 18px; }
.post-head--with-cover .post-head__inner { padding-bottom: 150px; }
.post-head__title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; max-width: 820px; }
.post-cover { position: relative; z-index: 1; max-width: 1040px; margin: -118px auto 0; padding-inline: var(--ff-gutter); box-sizing: content-box; }
.post-cover img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: var(--ff-radius-lg); box-shadow: 0 24px 48px rgba(10, 26, 58, .18); background: var(--ff-blue-50); }
.post-content { max-width: 720px; margin-inline: auto; padding-block: 56px 32px; font-size: 18px; line-height: 1.75; color: var(--ff-ink-2); }
.post-content > * + * { margin-top: 1.1em; }
.post-content h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; margin-top: 2.2em; color: var(--ff-ink); }
.post-content h3 { font-size: 21px; line-height: 1.3; margin-top: 1.8em; color: var(--ff-ink); }
.post-content h2 + *, .post-content h3 + * { margin-top: .6em; }
.post-content strong, .post-content b { font-weight: 500; color: var(--ff-ink); }
.post-content a { color: var(--ff-blue); text-decoration: underline; text-decoration-color: var(--ff-blue-300); text-underline-offset: 3px; }
.post-content a:hover { text-decoration-color: var(--ff-blue); }
.post-content ul, .post-content ol { padding-left: 0; list-style: none; }
.post-content ul > li { position: relative; padding-left: 28px; }
.post-content ul > li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--ff-cyan); }
.post-content ol { counter-reset: ff; }
.post-content ol > li { position: relative; padding-left: 36px; counter-increment: ff; }
.post-content ol > li::before { content: counter(ff); position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%; background: var(--ff-blue-50); color: var(--ff-blue); font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.post-content li + li { margin-top: .5em; }
.post-content blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 4px solid var(--ff-cyan); background: var(--ff-gray-50); border-radius: 0 var(--ff-radius-md) var(--ff-radius-md) 0; font-size: 19px; color: var(--ff-ink); }
.post-content img { border-radius: var(--ff-radius-md); }
.post-foot { max-width: 720px; margin-inline: auto; padding-bottom: 48px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 80px; max-width: calc(720px + var(--ff-gutter) * 2); }
.post-nav__link { display: grid; gap: 6px; padding: 20px 22px; border: 1px solid var(--ff-line); border-radius: var(--ff-radius-md); text-decoration: none; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.post-nav__link:hover { border-color: var(--ff-blue-300); box-shadow: 0 10px 24px rgba(10, 26, 58, .06); }
.post-nav__link--next { text-align: right; justify-items: end; }
.post-nav__label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ff-blue); }
.post-nav__link--prev .post-nav__label svg { transform: rotate(180deg); }
.post-nav__title { font-size: 16px; line-height: 1.4; color: var(--ff-ink); font-weight: 500; }
@media (max-width: 767px) {
  .post-head--with-cover .post-head__inner { padding-bottom: 96px; }
  .post-cover { margin-top: -72px; }
  .post-content { font-size: 17px; padding-top: 40px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__link--next { text-align: left; justify-items: start; }
}

/* 17. Single post v3: paper sheet, home-palette formatting, centered tags/share */
.breadcrumb li + li::before { content: "›"; }
.post-cover img { box-shadow: 0 8px 20px rgba(10, 26, 58, .10); }
.post-paper-wrap { background: var(--ff-gray-50); padding: 56px 0 72px; margin-top: -1px; }
.post-head--with-cover + .post-cover { margin-bottom: 0; }
.post-head--with-cover ~ .post-paper-wrap { margin-top: -60px; padding-top: 104px; }
.post-paper { position: relative; max-width: 820px; }
.post-paper::before, .post-paper::after { content: ""; position: absolute; inset: 10px calc(var(--ff-gutter) + 10px) -10px; background: #fff; border: 1px solid var(--ff-line); border-radius: 6px; z-index: 0; }
.post-paper::before { transform: rotate(-1deg); }
.post-paper::after { transform: rotate(.6deg); inset: 6px calc(var(--ff-gutter) + 4px) -6px; }
.post-paper > .post-content, .post-paper > .post-foot { position: relative; z-index: 1; background: #fff; border-inline: 1px solid var(--ff-line); max-width: none; padding-inline: clamp(24px, 6vw, 72px); }
.post-paper > .post-content { border-top: 1px solid var(--ff-line); border-radius: 6px 6px 0 0; padding-top: clamp(32px, 5vw, 64px); box-shadow: 0 1px 2px rgba(10,26,58,.04); }
.post-paper > .post-foot { border-bottom: 1px solid var(--ff-line); border-radius: 0 0 6px 6px; border-top: 0; padding-bottom: 40px; }
.post-foot::before { content: ""; display: block; height: 1px; background: var(--ff-line); margin-bottom: 24px; }
.post-foot { justify-items: center; text-align: center; }
.post-foot .chips { justify-content: center; }
.post-foot .share { justify-content: center; }
.chips--sm .chip { background: var(--ff-blue-50); border-color: var(--ff-blue-200); color: var(--ff-blue); font-weight: 500; }
.chips--sm .chip:hover { background: var(--ff-blue); border-color: var(--ff-blue); color: #fff; }
/* Formatting in home colors: blue diamond bullets (brand mark), mono numbers, blue accents */
.post-content li + li { margin-top: .2em; }
.post-content li { line-height: 1.6; }
.post-content ul > li { padding-left: 24px; }
.post-content ul > li::before { left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 1.5px; background: var(--ff-blue); transform: rotate(45deg); }
.post-content ol > li { padding-left: 34px; }
.post-content ol > li::before { content: counter(ff, decimal-leading-zero); width: auto; height: auto; top: .15em; background: none; border-radius: 0; font-family: var(--ff-mono); font-size: 14px; color: var(--ff-blue); }
.post-content blockquote { border-left-color: var(--ff-blue); background: var(--ff-blue-50); }
.post-content h2 { color: var(--ff-ink); }
.post-content hr { border: 0; height: 1px; background: var(--ff-line); margin: 2.4em 0; }
.post-paper-wrap { padding-bottom: 40px; }
.post-nav-wrap { background: var(--ff-gray-50); padding: 8px 0 80px; }
.post-nav { padding-bottom: 0; margin-top: 0; }
@media (max-width: 767px) {
  .post-paper::before, .post-paper::after { display: none; }
  .post-head--with-cover ~ .post-paper-wrap { margin-top: -40px; padding-top: 72px; }
}
/* 17b. Paper sits on a continuous gray background below the navy bar */
article.post { background: var(--ff-gray-50); }
.post-paper-wrap, .post-head--with-cover ~ .post-paper-wrap { margin-top: 0; padding-top: 48px; background: transparent; }
.post-paper { max-width: 860px; }
.post-paper > .post-content { padding-bottom: 8px; }
.post-paper > .post-foot { padding-top: 24px; }
@media (max-width: 767px) { .post-paper-wrap, .post-head--with-cover ~ .post-paper-wrap { padding-top: 32px; } }
.post-content > :last-child { margin-bottom: 0; }
.post-paper > .post-content { padding-bottom: 32px; }
.post-paper > .post-foot { padding-top: 0; }
/* 17c. Tighter reading rhythm */
.post-content { font-size: 17px; line-height: 1.6; }
.post-content > * + * { margin-top: .8em; }
.post-content h2 { margin-top: 1.6em; }
.post-content h3 { margin-top: 1.3em; }
.post-content h2 + *, .post-content h3 + * { margin-top: .4em; }
.post-content ul, .post-content ol { margin-top: .5em; }
.post-content li { line-height: 1.45; }
.post-content li + li { margin-top: .15em; }
.post-content ul > li::before { top: .55em; }
.post-content p + ul, .post-content p + ol { margin-top: .4em; }
@media (max-width: 767px) { .post-content { font-size: 16px; } }
/* 17d. More visible headings in posts (home palette) */
.post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 { font-weight: 700; color: var(--ff-ink); letter-spacing: -.005em; }
.post-content h2 { position: relative; font-size: clamp(25px, 2.6vw, 30px); line-height: 1.22; margin-top: 1.7em; padding-top: 14px; }
.post-content h2::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 4px; border-radius: 2px; background: var(--ff-blue); }
.post-content h3 { font-size: 21px; line-height: 1.3; color: var(--ff-blue-900); }
.post-content h4 { font-size: 18px; line-height: 1.35; color: var(--ff-blue); }
.post-content h5, .post-content h6 { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ff-blue); }
.post-content > h2:first-child { margin-top: 0; }

/* Add-ons page (page-add-ons.php) */
.addon-grid { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.addon-card { background: #fff; border: 1px solid var(--ff-line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.addon-card[hidden] { display: none; }
.addon-card__logo { height: 56px; display: flex; align-items: center; }
.addon-card__logo img { max-height: 56px; max-width: 200px; width: auto; height: auto; object-fit: contain; object-position: left center; }
.addon-card__name { font-size: 20px; font-weight: 500; color: var(--ff-blue-900); }
.addon-card__text { font-size: 15px; line-height: 1.55; color: var(--ff-ink-2); }
.addon-card__cat { margin-top: auto; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--ff-blue-50); color: var(--ff-blue); font-size: 13px; font-weight: 500; }

/* Contact page (page-contact-us.php) */
.contact__form { flex-basis: 560px; }
.contact__iframe { display: block; width: 100%; border: 0; background: #fff; }
.contact__info { flex: 0 1 380px; }
.contact-card { background: var(--ff-gray-50); border: 1px solid var(--ff-line); border-radius: 16px; padding: 28px; display: grid; gap: 28px; }
.contact-card__block { display: grid; gap: 12px; }
.contact-card__block + .contact-card__block { padding-top: 24px; border-top: 1px solid var(--ff-line); }
.contact-card__title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500; color: var(--ff-blue-900); }
.contact-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ff-blue-50); color: var(--ff-blue); flex: none; }
.contact-card__email { font-size: 17px; font-weight: 500; text-decoration: none; }
.contact__phones { display: grid; gap: 8px; margin: 0; }
.contact__phones div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.contact__phones dt { color: var(--ff-ink-2); }
.contact__phones dd { margin: 0; }
.contact__phones a { text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.contact__social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.contact__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: #fff; border: 1px solid var(--ff-line); border-radius: var(--ff-radius-sm); text-decoration: none; }
.contact__social a:hover { color: var(--ff-blue); border-color: var(--ff-blue-300); }
.contact__social svg { color: var(--ff-blue); }

/* Reviews page (page-reviews.php) */
.rating--inverse { color: var(--ff-blue-200); }
.rating--inverse strong { color: #fff; }
.rating--inverse a { color: var(--ff-cyan); display: inline-flex; align-items: center; gap: 6px; }
.review-wall { list-style: none; columns: 3 320px; column-gap: 20px; }
.review { break-inside: avoid; margin-bottom: 20px; }
.review__inner { margin: 0; background: #fff; border: 1px solid var(--ff-line); border-radius: 16px; padding: 28px; display: grid; gap: 18px; }
.review__logo { height: 48px; display: flex; align-items: center; }
.review__logo img { max-height: 48px; max-width: 160px; width: auto; object-fit: contain; object-position: left center; }
.review__quote { margin: 0; display: grid; gap: 8px; font-size: 16px; line-height: 1.6; color: var(--ff-ink); }
.review__title { font-weight: 500; color: var(--ff-blue-900); }
.review__author { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.4; color: var(--ff-ink-3); padding-top: 16px; border-top: 1px solid var(--ff-line); }
.review__author strong { font-weight: 500; color: var(--ff-ink); }
.review__avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ff-blue-50); color: var(--ff-blue); font-size: 14px; font-weight: 500; flex: none; }

/* About page (page-about-us.php) */
.about-mission { border-left: 3px solid var(--ff-cyan); padding-left: 20px; display: grid; gap: 6px; }
.about-mission__label { font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ff-ink-3); }
.about-mission__title { font-size: 22px; font-weight: 500; color: var(--ff-blue-900); }
.about-video { min-height: 360px; background: linear-gradient(160deg, var(--ff-navy-600), var(--ff-navy)); }
.about-points { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; font-weight: 500; color: var(--ff-blue-900); }
.about-points svg { flex: none; color: var(--ff-cyan); margin-top: 3px; }
.about-pledge__img { width: 100%; max-width: 440px; margin-inline: auto; }
.about-pillar { background: var(--ff-navy-800); border: 1px solid var(--ff-navy-600); border-top: 3px solid var(--ff-cyan); border-radius: 16px; padding: 28px; display: grid; gap: 12px; align-content: start; }
.about-pillar__title { font-size: 22px; font-weight: 500; color: #fff; }
.about-pillar p { color: var(--ff-blue-200); line-height: 1.6; }

/* Home client logos: swipeable loop on mobile (main.js clones the logos and drifts them). */
.logo-strip__list li.is-clone { display: none; }
@media (max-width: 767px) {
  .logo-strip__inner { display: block; }
  .logo-strip__label { margin-bottom: 16px; }
  .logo-strip__list { flex-wrap: nowrap; justify-content: flex-start; gap: 0; margin-inline: calc(var(--ff-gutter) * -1); padding-block: 4px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
  .logo-strip__list::-webkit-scrollbar { display: none; }
  .logo-strip__list li { flex: none; padding-inline: 18px; }
  .logo-strip__list li.is-clone { display: block; }
}

/* Footer: mobile layout (centered, compact) */
@media (max-width: 767px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; padding-block: 48px 32px; text-align: center; }
  .site-footer__brand { display: grid; justify-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--ff-line); }
  .site-footer__tagline { margin-inline: auto; }
  .site-footer__address { justify-items: center; }
  .site-footer__line { justify-content: center; text-align: left; }
  .site-footer__social { justify-content: center; }
  .site-footer__col ul { justify-items: center; }
  .site-footer__heading { margin-bottom: 10px; }
  .site-footer__col--legal ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
  .site-footer__col--legal li a { line-height: 1.35; }
  .site-footer__phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .site-footer__phones > div { flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; border: 1px solid var(--ff-line); border-radius: var(--ff-radius-sm); }
  .site-footer__col--phones, .site-footer__col--legal { padding-top: 28px; border-top: 1px solid var(--ff-line); }
  .trust-band--compact .trust-band__inner { text-align: left; }
  .trust-band--compact .btn { width: 100%; }
  .site-footer__badges { justify-content: center; text-align: center; }
  .badges { justify-content: center; }
  .site-footer__bottom { text-align: center; }
}

/* Contact: mobile, gray box centered */
@media (max-width: 767px) {
  .contact__info { flex: 1 1 100%; display: flex; justify-content: center; }
  .contact-card { width: 100%; max-width: 420px; margin-inline: auto; text-align: center; }
  .contact-card__title { justify-content: center; }
  .contact__social { justify-content: center; }
}

/* Home: headless section full width (long "Franchisee Portal & CRM" chips fit on one line) */
.headless { display: grid; gap: 40px; }
.headless__intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; }
.headless__intro .note-card { padding: 24px; gap: 14px; }
@media (max-width: 1023px) { .headless__intro { grid-template-columns: 1fr; align-items: start; } .headless__copy { max-width: 760px; } }
.link-ext { display: inline-flex; align-items: center; gap: 4px; }
.link-ext svg { flex: none; }
.headless__layers .layer { flex-wrap: nowrap; }
.headless__layers .layer__label { flex: none; width: 180px; }
@media (max-width: 767px) { .headless__layers .layer { flex-wrap: wrap; } .headless__layers .layer__label { width: 100%; } }

/* Home client strip: brand name while its logo is pending */
.logo-strip__name { display: inline-flex; align-items: center; height: 40px; font-size: 18px; font-weight: 500; letter-spacing: .02em; color: var(--ff-ink-3); white-space: nowrap; }

/* Footer: last two rows (badges + legal line) centered on every screen size */
.site-footer__badges { justify-content: center; text-align: center; }
.site-footer__badges .badges { justify-content: center; }
.site-footer__bottom { text-align: center; justify-items: center; }

/* In-page anchors (menu: Platform, FranFast AI, Expand, Customers): land with the section title just below the sticky header.
   html scroll-padding already clears the header; the negative scroll-margin skips the section's top padding. */
.section[id], .cta-band[id] { scroll-margin-top: calc(12px - var(--ff-section)); }
.section--top-only[id] { scroll-margin-top: calc(12px - var(--ff-section)); }
.logo-strip[id] { scroll-margin-top: 0; }
/* Logged-in admin bar sits above the sticky header. */
html:has(body.admin-bar) { scroll-padding-top: calc(var(--ff-header-h) + 16px + 32px); }
@media (max-width: 782px) { html:has(body.admin-bar) { scroll-padding-top: calc(var(--ff-header-h) + 16px + 46px); } }
@media (max-width: 600px) { html:has(body.admin-bar) { scroll-padding-top: calc(var(--ff-header-h) + 16px); } }

/* Footer badges: label on its own centered line; larger badges, tighter spacing. Circular badges (SOC 2, IFA) get extra height to stay legible. */
.site-footer__badges { flex-direction: column; gap: 12px; padding-block: 24px 20px; }
.site-footer__badges .badges { gap: 12px 28px; }
.badges__item img { height: 72px; max-width: 230px; }
.badges__item--soc2 img { height: 84px; }
.badges__item--ifa img { height: 96px; }
.site-footer__bottom { gap: 4px; padding-block: 16px 24px; }
@media (max-width: 767px) {
  .site-footer__badges .badges { gap: 12px 20px; }
  .badges__item img { height: 56px; max-width: 170px; }
  .badges__item--soc2 img { height: 64px; }
  .badges__item--ifa img { height: 74px; }
}
/* Tablet & mobile: all four badges on one row. Each badge's share of the width follows its shape
   (wide badges ≈ 3.2–3.4 : 1, circular ones 1 : 1 plus a little extra), so they read at a similar height. */
@media (max-width: 1023px) {
  .site-footer__badges .badges { flex-wrap: nowrap; width: 100%; max-width: 720px; gap: 10px; }
  .badges__item { flex: 3.4 1 0; min-width: 0; }
  .badges__item--claude { flex-grow: 3.15; }
  .badges__item--soc2, .badges__item--ifa { flex-grow: 1.3; }
  .badges__item img, .badges__item--soc2 img, .badges__item--ifa img { width: 100%; height: auto; max-width: none; }
}

/* Footer, mobile: tighter spacing */
@media (max-width: 767px) {
  .site-footer__grid { gap: 20px 12px; padding-block: 32px 20px; }
  .site-footer__brand { padding-bottom: 20px; }
  .site-footer__tagline { margin-top: 10px; }
  .site-footer__address { gap: 4px; margin-top: 12px; }
  .site-footer__social { margin-top: 12px; }
  .site-footer__social a { width: 36px; height: 36px; }
  .site-footer__heading { margin-bottom: 6px; }
  .site-footer__col ul { gap: 0; }
  .site-footer__col li a { padding-block: 3px; }
  .site-footer__col--phones, .site-footer__col--legal { padding-top: 20px; }
  .site-footer__phones { gap: 8px; }
  .site-footer__phones > div { padding: 6px 8px; gap: 0; }
  .trust-band--compact .trust-band__inner { padding-block: 24px; gap: 16px; }
}

/* Reading progress bar: very top of the page, fills as you scroll (config.json → motion.progress_bar). */
.ff-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; pointer-events: none; }
.ff-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--ff-blue), var(--ff-cyan)); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }
.admin-bar .ff-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .ff-progress { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ff-progress { top: 0; } }

/* Home client logos, desktop/tablet: equal-width cells so the gaps look even whatever each logo's width. */
@media (min-width: 768px) {
  .logo-strip__inner { display: grid; gap: 20px; }
  .logo-strip__list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; align-items: center; justify-items: center; }
  .logo-strip__list li { display: flex; align-items: center; justify-content: center; width: 100%; }
  .logo-strip__list img { max-width: 100%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .logo-strip__list { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
}

/* External links: every link that opens in a new tab gets the external-link icon automatically.
   Skipped for links that already show an image or icon (logos, badges, social and share buttons, links that print the icon themselves). */
a[target="_blank"]:not(:has(img, svg))::after {
  content: ""; display: inline-block; width: .8em; height: .8em; margin-left: .3em; vertical-align: -.05em; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 5h5v5M19 5l-8 8M18 14v4a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 5h5v5M19 5l-8 8M18 14v4a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn[target="_blank"]:not(:has(img, svg))::after { margin-left: 0; } /* .btn already has a gap. */

/* Small note under a page lead (e.g. add-ons licensing) */
.listing-head__note { margin-top: -6px; font-size: 13px; color: var(--ff-blue-300); }
