/* site.css - company-formation-luxembourg.com
   Components written from DESIGN.md section 4 (component catalogue). Reads tokens.css layer 2 and the
   layer 3 tokens below; never a primitive. Prefix ff-; gate classes kept: infographic, table-scroll,
   sr-only, interlinks, page-hero, card. */

:root {
  /* Layer 3: component tokens */
  --header-h: 84px;
  --btn-h: 56px;
  --pill-h: 28px;
  --hero-grad: linear-gradient(277deg, var(--accent) 26.64%, var(--inverse-deep) 97.98%);
  --t-fast: .2s ease;
  --measure: 720px;
}
@media (max-width: 600px) {
  :root { --header-h: 80px; --btn-h: 48px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 28px;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  overflow-wrap: break-word;
}
body.ff-nav-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 300; color: inherit; letter-spacing: -0.01em; }
h3 { font-weight: 400; }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ff-skip {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--c-white); color: var(--accent); border: 2px solid var(--accent); padding: 12px 20px; border-radius: var(--r-control);
  font-weight: 500; text-decoration: none;
}
.ff-skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- type roles ---------- */
.ff-h2 { font-size: 48px; line-height: 56px; color: var(--inverse); margin-bottom: var(--s-5); }
.ff-nowrap { white-space: nowrap; }
.ff-display { font-size: 64px; line-height: 72px; color: var(--accent); }
.ff-lead { font-size: 20px; line-height: 30px; font-weight: 300; }
.ff-small { font-size: 14px; line-height: 22px; }
.ff-kicker {
  display: inline-block; margin: 0 0 var(--s-4);
  font-size: 14px; line-height: 22px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent);
}
.ff-muted { color: var(--text-muted); }

/* ---------- buttons ---------- */
.ff-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--btn-h); padding: 8px 28px; text-wrap: balance;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font: 500 16px/1.2 var(--f-body); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.ff-btn:hover { text-decoration: none; }
/* the lead button fill is sky (registry row #27); electric stays on the header contact control */
.ff-btn--electric { background: var(--accent-2); color: var(--inverse); }
.ff-btn--electric:hover { background: var(--inverse); color: var(--text-inverse); }
.ff-btn--white { background: var(--c-white); color: var(--inverse); }
.ff-btn--white:hover { background: var(--accent-2); }
.ff-btn--navy { background: var(--inverse); color: var(--text-inverse); }
.ff-btn--navy:hover { background: var(--accent); }
.ff-btn--outline { background: transparent; color: var(--inverse); border-color: var(--inverse); }
.ff-btn--outline:hover { background: var(--inverse); color: var(--text-inverse); }
.ff-btn--outline-light { background: transparent; color: var(--text-inverse); border-color: var(--text-inverse); }
.ff-btn--outline-light:hover { background: var(--c-white); color: var(--inverse); }
.ff-btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.ff-btn__arrow { width: 18px; height: 18px; flex: none; }

.ff-arrow-link {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  font-weight: 500; text-decoration: none; color: var(--accent);
}
.ff-arrow-link::after {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001a5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform var(--t-fast);
}
.ff-arrow-link:hover::after { transform: translateX(4px); }
.ff-arrow-link--light { color: var(--accent-2); }

.ff-pill {
  display: inline-flex; align-items: center; min-height: var(--pill-h); padding: 2px 14px;
  border-radius: var(--r-pill); border: 1px solid currentColor;
  font-size: 14px; line-height: 22px; font-weight: 500; text-wrap: balance; justify-content: center; text-align: center;
}
.ff-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); margin-top: var(--s-6); }

/* ---------- header ---------- */
.ff-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.ff-header__bar { display: flex; align-items: center; gap: var(--s-6); height: var(--header-h); }
.ff-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--inverse); text-decoration: none; flex: none; min-height: 44px; }
.ff-logo svg { width: 30px; height: 30px; }
.ff-logo__name { font: 400 22px/1 var(--f-display); letter-spacing: -0.02em; }
.ff-logo__name b { font-weight: 600; color: var(--accent); }

.ff-nav { flex: 1; display: flex; align-items: center; gap: var(--s-5); }
.ff-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.ff-nav__item { position: static; display: flex; align-items: center; }
.ff-nav__top {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px 0 12px;
  color: var(--inverse); font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.ff-nav__top:hover { color: var(--accent); }
.ff-nav__toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 44px;
  border: 0; background: none; color: var(--inverse); cursor: pointer; padding: 0;
}
.ff-nav__toggle svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.ff-nav__item.is-open .ff-nav__toggle svg { transform: rotate(180deg); }
.ff-nav__aside { margin-left: auto; display: flex; align-items: center; gap: var(--s-5); }
.ff-nav__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--inverse); font-weight: 500; text-decoration: none; }
.ff-nav__link:hover { color: var(--accent); }
.ff-btn--contact { min-height: 40px; padding: 0 20px; border-radius: var(--r-control); background: var(--accent); color: var(--text-inverse); font-size: 15px; }
.ff-btn--contact:hover { background: var(--inverse-deep); }

.ff-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-top: 1px solid var(--border);
  box-shadow: 0 24px 40px rgb(0 26 91 / .10);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility 0s linear .2s;
}
.ff-mega__inner { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: var(--s-6); padding-block: var(--s-7); }
.ff-mega__intro .ff-mega__title { font: 400 28px/34px var(--f-display); line-height: 34px; color: var(--inverse); margin-bottom: var(--s-3); }
.ff-mega__intro p { color: var(--text-muted); }
.ff-mega__col p { margin: 0 0 var(--s-3); font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.ff-mega__col ul { list-style: none; display: grid; gap: 2px; }
.ff-mega__col a { display: flex; align-items: center; min-height: 40px; color: var(--inverse); text-decoration: none; }
.ff-mega__col a:hover { color: var(--accent); text-decoration: underline; }
@media (min-width: 1181px) and (hover: hover) {
  .ff-nav__item:hover > .ff-mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
}
@media (min-width: 1181px) {
  .ff-nav__item:focus-within > .ff-mega,
  .ff-nav__item.is-open > .ff-mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
}

.ff-circle-call, .ff-burger { display: none; }
.ff-circle-call {
  width: 44px; height: 44px; border-radius: 50%; background: var(--inverse); color: var(--text-inverse);
  align-items: center; justify-content: center; flex: none;
}
.ff-circle-call svg { width: 18px; height: 18px; }
.ff-burger {
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--surface); color: var(--inverse);
  align-items: center; justify-content: center; cursor: pointer; flex: none; padding: 0;
}
.ff-burger svg { width: 20px; height: 20px; }
.ff-burger[aria-expanded="true"] .ff-burger__open, .ff-burger__close { display: none; }
.ff-burger[aria-expanded="true"] .ff-burger__close { display: block; }

@media (max-width: 1180px) {
  .ff-header__bar { gap: var(--s-3); }
  .ff-circle-call { display: inline-flex; margin-left: auto; }
  .ff-burger { display: inline-flex; }
  .ff-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 99;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); overflow-y: auto; padding: var(--s-4) var(--gutter) var(--s-8);
    border-top: 1px solid var(--border);
  }
  .ff-nav.is-open { display: flex; }
  .ff-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .ff-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--border); }
  .ff-nav__top { flex: 1; min-height: 56px; padding: 0; font-size: 18px; }
  .ff-nav__toggle { width: 48px; height: 56px; }
  .ff-mega {
    position: static; flex-basis: 100%; display: none; visibility: visible; opacity: 1; transform: none;
    box-shadow: none; border-top: 0; transition: none;
  }
  .ff-nav__item.is-open > .ff-mega { display: block; }
  .ff-mega .wrap { padding-inline: 0; }
  .ff-mega__inner { grid-template-columns: 1fr; gap: var(--s-4); padding-block: 0 var(--s-5); }
  .ff-mega__intro { display: none; }
  .ff-mega__col a { min-height: 44px; }
  .ff-nav__aside { margin: var(--s-5) 0 0; flex-direction: column; align-items: stretch; gap: var(--s-3); }
  .ff-nav__link { min-height: 48px; font-size: 18px; }
  .ff-btn--contact { min-height: 48px; }
}

/* ---------- sections ---------- */
.ff-section { padding-block: var(--section-y); }
.ff-section--white { background: var(--bg); }
.ff-section--light { background: var(--bg-alt); }
.ff-section--panel { padding: var(--s-4) var(--inset); background: var(--bg); }
.ff-section--panel + .ff-section--panel { padding-top: var(--s-4); }
.ff-panel {
  max-width: none; border-radius: var(--r-panel);
  padding-block: var(--section-y);
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
}
.ff-panel--navy { background: var(--inverse); color: var(--text-inverse); }
.ff-panel:has(> .ff-cta) { padding-block: 0; overflow: hidden; }
.ff-panel:has(> .ff-stories) { padding-bottom: var(--s-8); }
.ff-panel--electric { background: var(--accent); color: var(--text-inverse); }
.ff-panel--grad { background: var(--hero-grad); color: var(--text-inverse); }
.ff-panel--light { background: var(--bg-alt); }
.ff-section--white + .ff-section--white { padding-top: 0; }

.ff-head { max-width: 860px; margin-bottom: var(--s-7); }
.ff-head h2 { font-size: 48px; line-height: 56px; color: var(--inverse); }
.ff-head--display h2 { font-size: 64px; line-height: 72px; color: var(--accent); }
.ff-head .ff-lead { margin-top: var(--s-5); color: var(--text); }
.ff-head--center { margin-inline: auto; text-align: center; }
.ff-panel--navy .ff-head h2, .ff-panel--electric .ff-head h2, .ff-panel--grad .ff-head h2 { color: var(--text-inverse); }
.ff-panel--navy .ff-head .ff-lead, .ff-panel--electric .ff-head .ff-lead { color: var(--text-inverse); }
.ff-panel--navy .ff-kicker, .ff-panel--grad .ff-kicker { color: var(--accent-2); }

.ff-body > * + * { margin-top: var(--s-6); }
.ff-body > h3 { margin-top: var(--s-8); font-size: 28px; line-height: 34px; color: var(--inverse); }
.ff-body > h3 + * { margin-top: var(--s-4); }
.ff-text { max-width: var(--measure); }
@media (min-width: 1024px) {
  .ff-text:has(> .ff-prose) { max-width: none; }
  .ff-text > .ff-prose { max-width: none; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s-8); align-items: start; }
  .ff-text > .ff-prose > * { grid-column: 2; }
  .ff-text > .ff-prose > h2 { grid-column: 1; grid-row: 1 / span 40; margin-bottom: 0; }
  .ff-text > .ff-prose > :nth-child(2) { margin-top: 0; }
}
.ff-text ul, .ff-text ol { padding-left: 1.3em; }
.ff-text li + li { margin-top: var(--s-2); }

/* split: text column beside a media column */
.ff-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.ff-split--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ff-split > * { min-width: 0; }

/* ---------- home hero ---------- */
.ff-hero { padding: var(--s-2) var(--inset) 0; background: var(--bg); }
.ff-hero__panel {
  max-width: none; border-radius: var(--r-panel); background: var(--hero-grad); color: var(--text-inverse);
  padding: var(--s-9) max(var(--gutter), calc((100% - var(--container)) / 2)) var(--s-8);
}
.ff-hero__grid { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 320px); justify-content: space-between; gap: var(--s-7); align-items: end; }
.ff-hero__kicker { color: var(--accent-2); font-size: 18px; line-height: 26px; font-weight: 400; margin-bottom: var(--s-5); }
.ff-hero h1 { font-size: 72px; line-height: 84px; font-weight: 300; }
.ff-hero__side .ff-lead { color: var(--text-inverse); }
.ff-hero__side .ff-actions { flex-direction: column; align-items: flex-start; gap: var(--s-3); margin-top: var(--s-5); }

.ff-proof { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); margin-top: var(--s-8); }
.ff-proof__box { border-radius: var(--r-card); padding: var(--s-6) var(--s-5) var(--s-5); min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-5); }
.ff-proof__box--navy { background: var(--inverse); color: var(--text-inverse); }
.ff-proof__box--orange { background: var(--signal); color: var(--inverse); }
.ff-proof__box--sky { background: var(--accent-2); color: var(--inverse); }
.ff-proof__num { font: 500 56px/60px var(--f-display); letter-spacing: -0.02em; }
.ff-proof__label { font-size: 18px; line-height: 26px; }

/* ---------- page hero (service, guide, utility) ---------- */
.ff-phero { padding: var(--s-2) var(--inset) 0; background: var(--bg); }
.ff-phero__panel {
  max-width: none; border-radius: var(--r-panel); background: var(--hero-grad); color: var(--text-inverse);
  padding: var(--s-8) max(var(--gutter), calc((100% - var(--container)) / 2));
}
.ff-phero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: center; }
.ff-phero__grid--solo { grid-template-columns: minmax(0, 860px); }
.ff-phero h1 { font-size: 56px; line-height: 64px; }
.ff-phero .ff-lead { margin-top: var(--s-5); color: var(--text-inverse); }
.ff-phero .ff-lead a { color: var(--accent-2); }
.ff-phero__media img { border-radius: var(--r-card); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ff-crumbs { margin-bottom: var(--s-5); }
.ff-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; line-height: 22px; }
.ff-crumbs li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-inverse); }
.ff-crumbs li + li::before {
  content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--accent-2); border-top: 1.5px solid var(--accent-2);
  transform: rotate(45deg); margin-right: 2px;
}
.ff-crumbs a { color: var(--accent-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 28px; }
.ff-crumbs a:hover { text-decoration: underline; }
.ff-chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.ff-chips li { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 14px; border: 1px solid color-mix(in srgb, var(--accent-2) 60%, transparent); border-radius: var(--r-pill); font-size: 14px; line-height: 22px; color: var(--accent-2); }
.ff-byline { margin-top: var(--s-5); font-size: 14px; line-height: 22px; color: var(--text-inverse); text-wrap: pretty; }
.ff-byline a { color: var(--accent-2); }

/* ---------- media ---------- */
.ff-figure { margin: 0; }
.ff-figure img { width: 100%; height: auto; border-radius: var(--r-card); aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface); }
.ff-figure--band { margin-top: var(--s-7); }
.ff-figure--band img { aspect-ratio: 21 / 8; }
@media (max-width: 767px) { .ff-figure--band img { aspect-ratio: 3 / 2; } }
.ff-footer__bottom .ff-small { margin: 0; }
.ff-figure figcaption { margin-top: var(--s-3); font-size: 14px; line-height: 22px; color: var(--text-muted); }
.ff-panel--navy .ff-figure figcaption, .ff-panel--electric .ff-figure figcaption { color: var(--text-inverse); }

/* ---------- data table ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--r-card); background: var(--bg-alt); }
.table-scroll:focus-visible { outline-offset: 2px; }
.ff-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
.ff-table caption { caption-side: top; text-wrap: pretty; text-align: left; padding: var(--s-5) var(--s-5) var(--s-3); font-size: 14px; line-height: 22px; color: var(--text-muted); }
.ff-table th, .ff-table td { text-align: left; vertical-align: top; padding: var(--s-4) var(--s-5); border-top: 1px solid var(--border); }
.ff-table thead th { border-top: 0; background: var(--inverse); color: var(--text-inverse); font-weight: 500; font-size: 15px; }
.ff-table tbody th { font-weight: 500; color: var(--inverse); }
.ff-table td a, .ff-table th a { font-weight: 500; }
.ff-table-wrap + .ff-table-wrap { margin-top: var(--s-6); }

/* ---------- step mosaic ---------- */
.ff-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.ff-step { border-radius: var(--r-card); padding: var(--s-5); min-height: 160px; display: flex; flex-direction: column; gap: var(--s-4); background: var(--surface); }
.ff-step:nth-child(3n+2) { background: var(--accent-2); }
.ff-step:nth-child(3n) { background: var(--bg); box-shadow: inset 0 0 0 1px var(--border); }
.ff-section--light .ff-step:nth-child(3n) { box-shadow: none; }
.ff-step--wide { grid-column: span 2; }
.ff-step__num {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--inverse); color: var(--text-inverse); font: 500 18px/1 var(--f-display);
}
.ff-step__title { font: 500 20px/28px var(--f-body); color: var(--inverse); margin: 0; }
.ff-step p { margin: 0; font-size: 16px; line-height: 26px; }

/* ---------- service tabs ---------- */
.ff-tabs__bar { display: none; }
.ff-tabs.is-tabbed .ff-tabs__bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%;
  margin: 0 auto var(--s-7); padding: 6px; border-radius: var(--r-pill); background: var(--accent-2);
}
.ff-tab {
  min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--r-pill); background: transparent;
  color: var(--inverse); font: 500 16px/1.2 var(--f-body); cursor: pointer;
}
.ff-tab[aria-selected="true"] { background: var(--inverse); color: var(--text-inverse); }
.ff-tabs__panel + .ff-tabs__panel { margin-top: var(--s-8); }
.ff-tabs.is-tabbed .ff-tabs__panel + .ff-tabs__panel { margin-top: 0; }
.ff-tabs.is-tabbed .ff-tabs__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ff-tabs__title { font-size: 28px; line-height: 34px; color: var(--inverse); margin-bottom: var(--s-5); }
.ff-tabs__panel > .ff-small { margin-top: var(--s-5); }
.ff-svc { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.ff-svc__item { border-radius: var(--r-card); padding: var(--s-5); background: var(--surface); display: flex; flex-direction: column; gap: var(--s-3); min-height: 220px; }
.ff-svc__item h4 { font: 500 20px/28px var(--f-body); color: var(--inverse); }
.ff-svc__item p { font-size: 16px; line-height: 26px; margin: 0; }
.ff-svc__item .ff-pill { margin-top: auto; align-self: stretch; justify-content: flex-start; text-align: left; text-wrap: pretty; background: var(--accent-2); border-color: var(--accent-2); color: var(--inverse); text-decoration: none; min-height: 52px; height: 52px; line-height: 20px; padding: 2px 16px; }
.ff-svc__item .ff-pill:hover { background: var(--inverse); border-color: var(--inverse); color: var(--text-inverse); }
.ff-svc__item--wide { grid-column: span 2; background: var(--hero-grad); color: var(--text-inverse); }
.ff-svc__item--wide h4 { font: 300 28px/34px var(--f-display); color: var(--text-inverse); }
.ff-svc__item--wide .ff-pill { background: var(--c-white); border-color: var(--c-white); color: var(--inverse); }

/* ---------- statement ---------- */
.ff-statement { max-width: 1000px; margin-inline: auto; text-align: center; }
.ff-statement h2 { font-size: 56px; line-height: 66px; color: var(--inverse); }
.ff-statement h2 em { font-style: normal; color: var(--accent); }
.ff-statement__text { max-width: var(--measure); margin: var(--s-6) auto 0; }
.ff-statement__text p { font-size: 18px; line-height: 28px; }
.ff-statement .ff-actions { justify-content: center; }

/* ---------- marquee ---------- */
.ff-marquee { overflow: hidden; margin-top: var(--s-8); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ff-marquee__label { text-align: center; font-size: 14px; line-height: 22px; color: var(--text-muted); margin-bottom: var(--s-4); }
.ff-marquee__track { display: flex; gap: var(--s-4); width: max-content; }
.ff-marquee ul { list-style: none; display: flex; gap: var(--s-4); flex: none; flex-wrap: nowrap; }
.ff-marquee:not(.is-running) .ff-marquee__track { width: auto; }
.ff-marquee:not(.is-running) ul { flex-wrap: wrap; justify-content: center; }
.ff-marquee li {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; white-space: nowrap;
  border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--bg); color: var(--inverse); font-weight: 500; font-size: 15px;
}
.ff-marquee.is-running .ff-marquee__track { animation: ff-marquee 48s linear infinite; }
.ff-marquee.is-running:hover .ff-marquee__track, .ff-marquee.is-running:focus-within .ff-marquee__track { animation-play-state: paused; }
@keyframes ff-marquee { to { transform: translateX(calc(-50% - var(--s-4) / 2)); } }

/* ---------- stories panel (guides) ---------- */
.ff-stories__top { margin-bottom: var(--s-7); }
.ff-stories__track {
  display: flex; gap: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  list-style: none; padding-bottom: 4px;
}
.ff-stories__track::-webkit-scrollbar { display: none; }
.ff-story {
  position: relative; flex: 0 0 min(600px, 86%); aspect-ratio: 3 / 2; scroll-snap-align: start;
  border-radius: var(--r-card); overflow: hidden; background: var(--inverse-deep);
}
.ff-story picture, .ff-story > img { position: absolute; inset: 0; }
.ff-story img { width: 100%; height: 100%; object-fit: cover; }
.ff-story__card {
  position: absolute; left: var(--s-5); bottom: var(--s-5); width: min(300px, calc(100% - 2 * var(--s-5)));
  background: var(--bg); color: var(--text); border-radius: var(--r-card); padding: var(--s-5);
}
.ff-story__card h3 { font: 500 20px/28px var(--f-body); color: var(--inverse); margin-bottom: var(--s-2); }
.ff-story__card p { font-size: 15px; line-height: 24px; margin-bottom: var(--s-4); }
.ff-story__card .ff-pill { background: var(--accent-2); border-color: var(--accent-2); color: var(--inverse); text-decoration: none; min-height: 44px; }
.ff-story__card .ff-pill::after { content: ""; position: absolute; inset: 0; }
.ff-stories__nav { display: flex; gap: var(--s-3); margin-top: var(--s-6); }
.ff-circle {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; background: transparent;
  color: var(--text-inverse); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.ff-circle svg { width: 20px; height: 20px; }
.ff-circle:disabled { opacity: .35; cursor: default; }
.ff-circle:not(:disabled):hover { background: var(--c-white); color: var(--inverse); }
.ff-stories__nav { display: none; }
.js .ff-stories__nav { display: flex; }
.ff-circle { border-color: var(--accent-2); }
/* one or two live guides: no carousel, the cards and the blog tile share the row */
.ff-stories--few .ff-stories__track { overflow: visible; scroll-snap-type: none; }
.ff-stories--few .ff-story { flex: 2 1 0; min-width: 0; }
.ff-stories--few .ff-story--more { flex: 1 1 0; background: var(--accent-2); display: flex; align-items: flex-end; }
.ff-story--more .ff-story__card { position: static; width: auto; margin: var(--s-5); }

/* ---------- cards ---------- */
.ff-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.ff-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border-radius: var(--r-card); background: var(--surface); padding: var(--s-6) var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.ff-section--light .card { background: var(--bg); }
.card h3 { font: 400 28px/34px var(--f-display); color: var(--inverse); }
.card p { margin: 0; font-size: 16px; line-height: 26px; }

/* ---------- checklist ---------- */
.ff-checklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-8); counter-reset: ff-check; }
.ff-checklist li {
  position: relative; min-height: 32px; padding: 4px 0 0 52px; counter-increment: ff-check;
}
.ff-checklist li::before {
  content: counter(ff-check); position: absolute; left: 0; top: 0; width: 32px; height: 32px; flex: none; border-radius: 50%;
  background: var(--accent); color: var(--text-inverse); font: 500 14px/32px var(--f-display); text-align: center;
}
.ff-checklist--ticks li::before {
  content: ""; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- prose ---------- */
.ff-prose { max-width: var(--measure); }
.ff-prose h2 { font-size: 48px; line-height: 56px; color: var(--inverse); margin-bottom: var(--s-6); }
.ff-prose h3 { font-size: 28px; line-height: 34px; color: var(--inverse); margin: var(--s-7) 0 var(--s-4); }

/* ---------- CTA bands ---------- */
.ff-cta { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; overflow: hidden; padding: 0; }
.ff-cta__media { position: relative; background: var(--surface); clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); min-height: 420px; }
.ff-cta__media picture, .ff-cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ff-cta__media figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ff-cta__body { padding: var(--s-9) max(var(--gutter), calc((100vw - 2 * var(--inset) - var(--container)) / 2)) var(--s-9) var(--s-8); display: flex; flex-direction: column; justify-content: center; }
.ff-cta__body h2 { font-size: 56px; line-height: 66px; color: var(--text-inverse); }
.ff-cta__body p { margin-top: var(--s-5); font-size: 18px; line-height: 28px; }
.ff-cta__body .ff-btn--white { min-height: 56px; }
.ff-cta--solo { grid-template-columns: 1fr; }
.ff-cta--solo .ff-cta__media { display: none; }
.ff-cta--solo .ff-cta__body { padding-left: max(var(--gutter), calc((100vw - 2 * var(--inset) - var(--container)) / 2)); }
/* quiet closing panel and compact hero on form and utility pages (short pages: keeps saturated fills under the limit) */
.ff-cta--quiet .ff-cta__body { padding-block: var(--s-7); }
.ff-cta--quiet .ff-cta__body h2 { font-size: 36px; line-height: 44px; color: var(--inverse); }
.ff-cta--quiet .ff-cta__body p { color: var(--text); }
.ff-cta--quiet .ff-cta__body p a { color: var(--accent); }
.ff-cta__links { list-style: none; margin-top: var(--s-5); display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-2) var(--s-6); }
.ff-cta__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--accent); }
.ff-panel--electric .ff-cta__links a { color: var(--text-inverse); }
.ff-phero--compact .ff-phero__panel { padding-block: var(--s-6); }
.ff-phero--compact h1 { font-size: 44px; line-height: 52px; }
/* a hero-only system page (404, payment cancelled): a gradient panel would be most of the page, so it sits on the light ground */
.ff-phero--plain .ff-phero__panel { background: var(--bg-alt); color: var(--text); }
.ff-phero--plain .ff-lead, .ff-phero--plain .ff-crumbs li { color: var(--text); }
.ff-phero--plain h1 { color: var(--inverse); }
.ff-phero--plain .ff-crumbs a, .ff-phero--plain .ff-prose a, .ff-phero--plain .ff-lead a { color: var(--accent); }
.ff-head-split { margin-bottom: var(--s-7); }
.ff-head-split .ff-head--flush { margin-bottom: 0; }
.ff-story::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 55%; background: linear-gradient(180deg, rgba(4,4,81,.72) 0%, rgba(4,4,81,0) 100%); z-index: 1; pointer-events: none; }
.ff-story__num { position: absolute; top: var(--s-5); left: var(--s-5); font: 300 96px/1 var(--f-display); color: var(--c-white); text-shadow: 0 2px 16px rgba(4,4,81,.5); z-index: 2; }
.ff-story__card { z-index: 2; }
.ff-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-6) var(--s-8); align-items: center; }
.ff-band h2 { font-size: 40px; line-height: 48px; color: var(--inverse); }
.ff-band p { margin-top: var(--s-3); }
.ff-band .ff-actions { margin-top: 0; justify-content: flex-end; }

/* ---------- FAQ ---------- */
.ff-faq { max-width: 960px; }
.ff-faq details { border-bottom: 1px solid var(--border); }
.ff-faq details:first-of-type { border-top: 1px solid var(--border); }
.ff-faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  min-height: 72px; padding: var(--s-4) 0; cursor: pointer;
}
.ff-faq summary::-webkit-details-marker { display: none; }
.ff-faq summary h3 { font: 400 22px/30px var(--f-display); color: var(--inverse); }
.ff-faq summary::after {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001a5b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.ff-faq details[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001a5b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.ff-faq__a { padding: 0 64px var(--s-5) 0; max-width: 820px; }

/* ---------- enquiry form ---------- */
.ff-formpanel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
.ff-formpanel__aside .ff-figure { margin-top: var(--s-6); }
.ff-form { background: var(--bg); border-radius: var(--r-card); padding: var(--s-7); display: grid; gap: var(--s-5); }
.ff-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); align-items: start; }
@media (min-width: 1200px) { .ff-footer__brand a[href^="mailto:"] { white-space: nowrap; } }
.ff-field { display: grid; gap: var(--s-2); align-content: start; }
.ff-field label { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--inverse); }
.ff-field .ff-opt { font-weight: 400; color: var(--text-muted); }
.ff-field input, .ff-field select, .ff-field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--r-control);
  background: var(--bg); color: var(--text); font: 400 16px/24px var(--f-body);
}
.ff-field textarea { min-height: 128px; resize: vertical; }
.ff-field select { appearance: none; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001a5b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; padding-right: 40px; }
.ff-field input:focus, .ff-field select:focus, .ff-field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.ff-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ff-form__consent { font-size: 14px; line-height: 22px; color: var(--text-muted); }
.ff-formpanel--single { display: block; max-width: 860px; margin-inline: auto; }
.ff-formpanel--single > .ff-figure { margin-bottom: var(--s-6); }
.ff-form__part { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s-5); }
.ff-form__part + .ff-form__part { border-top: 1px solid var(--border); padding-top: var(--s-6); }
.ff-form__part > .ff-h2 { margin: 0; }
.ff-help { font-size: 14px; line-height: 20px; color: var(--text-muted); }
.ff-choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.ff-choice legend { padding: 0; margin-bottom: var(--s-2); font-size: 15px; line-height: 22px; font-weight: 500; color: var(--inverse); }
.ff-choice__opts { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); }
.ff-choice--grid .ff-choice__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ff-tick { display: flex; gap: var(--s-3); align-items: flex-start; font-size: 15px; line-height: 22px; color: var(--text); cursor: pointer; }
.ff-field .ff-tick input, .ff-tick input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: var(--c-electric); }
.ff-field--tick .ff-tick { font-weight: 400; color: var(--text); }
.ff-form [hidden] { display: none !important; }
@media (max-width: 640px) { .ff-choice--grid .ff-choice__opts { grid-template-columns: 1fr; } }
.ff-form__status { font-size: 15px; line-height: 22px; min-height: 22px; }
.ff-form__status.is-ok { color: #0a6b2e; }
.ff-form__status.is-error { color: #a3240b; }
.ff-form .ff-btn { justify-self: start; }

/* ---------- trust / why us ---------- */
.ff-trust { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: center; }

/* ---------- infographics (blocks family: filled tiles, no connectors) ---------- */
.infographic { margin: 0; }
* + .infographic { margin-top: var(--s-7); }
.infographic + .ff-tabs { margin-top: var(--s-8); }
.ig-frame { border-radius: var(--r-card); background: var(--bg-alt); padding: var(--s-6); }
.ff-section--light .ig-frame { background: var(--bg); }
.ig-svg { width: 100%; height: auto; overflow: visible; }
.ig-svg text { font-family: var(--f-body); }
.ig-svg .ig-h { font: 400 18px var(--f-display); fill: var(--c-navy); }
.ig-svg .ig-c { font-size: 13px; font-weight: 500; fill: var(--c-navy); letter-spacing: .02em; }
.ig-svg .ig-l { font-size: 14px; font-weight: 500; fill: var(--c-navy); }
.ig-svg .ig-ground { fill: var(--c-tile); }
.ig-svg .ig-ground--alt { fill: var(--c-light); }
.ff-section--light .ig-svg .ig-ground { fill: var(--c-light); }
.ff-section--light .ig-svg .ig-ground--alt { fill: var(--c-tile); }
.ig-svg .ig-tile--navy { fill: var(--c-navy); }
.ig-svg .ig-tile--electric { fill: var(--c-electric); }
.ig-svg .ig-tile--deep { fill: var(--c-deep); }
.ig-svg .ig-tile--grey { fill: var(--c-rule); }
.ig-svg .ig-tile--hot { fill: var(--c-orange); }
.ig-svg .ig-n { font: 500 22px var(--f-display); fill: var(--c-white); }
.ig-svg .ig-t { font-size: 15px; font-weight: 500; fill: var(--c-white); }
.ig-svg .ig-s { font-size: 13px; fill: var(--c-light); }
.ig-svg .ig-w { font-size: 13px; font-weight: 500; fill: var(--c-sky); }
.ig-svg .ig-f { font: 400 32px var(--f-display); letter-spacing: -.01em; fill: var(--c-white); }
.ig-svg .ig-v { font-size: 17px; font-weight: 500; fill: var(--c-white); }
.ig-svg .ig-n--grey, .ig-svg .ig-t--grey, .ig-svg .ig-w--grey,
.ig-svg .ig-n--hot, .ig-svg .ig-t--hot, .ig-svg .ig-w--hot, .ig-svg .ig-s--hot { fill: var(--c-deep); }
.ig-svg .ig-s--grey { fill: var(--c-ink); }
.ig-stack { display: none; list-style: none; }
.ig-stack ol { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: 8px; }
.ig-b { border-radius: var(--r-card); padding: var(--s-4); background: var(--c-navy); color: var(--c-light); }
.ig-b--electric { background: var(--c-electric); }
.ig-b--deep { background: var(--c-deep); }
.ig-b--grey { background: var(--c-rule); color: var(--c-ink); }
.ig-b--hot { background: var(--c-orange); color: var(--c-deep); }
.ig-b strong { display: block; font-weight: 500; color: var(--c-white); }
.ig-b--grey strong, .ig-b--hot strong { color: var(--c-deep); }
.ig-b span { display: block; font-size: 15px; line-height: 24px; }
.ig-stack__group { font-weight: 500; color: var(--inverse); margin: 0 0 var(--s-3); }
.infographic figcaption { margin-top: var(--s-3); font-size: 14px; line-height: 22px; color: var(--text-muted); }

/* ---------- related links (interlinks block) ---------- */
.interlinks { padding-block: var(--s-8); background: var(--bg); border-top: 1px solid var(--border); }
.interlinks h2 { font-size: 32px; line-height: 40px; color: var(--inverse); margin-bottom: var(--s-5); }
.interlinks ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-8); }
.interlinks li { border-bottom: 1px solid var(--border); }
.interlinks a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px;
  color: var(--inverse); text-decoration: none; font-weight: 500;
}
.interlinks a::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001a5b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.interlinks a:hover { color: var(--accent); }

/* linkcards (related guides lists inside a section) */
.ff-links { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.ff-links li { border-radius: var(--r-card); background: var(--surface); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.ff-links a { font-weight: 500; font-size: 18px; line-height: 26px; color: var(--inverse); display: inline-flex; align-items: center; min-height: 44px; }
.ff-links p { margin: 0; font-size: 16px; line-height: 26px; }

[data-queued] { color: inherit; }

/* ---------- footer ---------- */
.ff-footer { border-top: 1px solid var(--border); background: var(--bg); margin-top: 0; }
.ff-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: var(--s-6); padding-block: var(--s-8) var(--s-7); }
.ff-footer__brand p { font-size: 15px; line-height: 24px; margin: 0 0 var(--s-2); }
.ff-footer__brand .ff-footer__q { font: 300 22px/30px var(--f-display); color: var(--inverse); margin: var(--s-4) 0 var(--s-4); }
.ff-footer__brand a { color: var(--inverse); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.ff-footer__brand a:hover { text-decoration: underline; }
.ff-footer__col > p { margin: 0 0 var(--s-3); font-size: 14px; line-height: 22px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.ff-footer__col ul { list-style: none; display: grid; gap: 2px; }
.ff-footer__col a { color: var(--inverse); text-decoration: none; font-size: 15px; line-height: 22px; display: inline-flex; align-items: center; min-height: 32px; }
.ff-footer__col a:hover { color: var(--accent); text-decoration: underline; }
.ff-footer__bottom { background: var(--bg-alt); }
.ff-footer__bottom .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-5); min-height: 57px; padding-block: var(--s-2); font-size: 14px; line-height: 22px; }
.ff-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.ff-footer__legal a, .ff-footer__legal button {
  color: var(--text); text-decoration: none; font: inherit; background: none; border: 0; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; min-height: 32px;
}
.ff-footer__legal a:hover, .ff-footer__legal button:hover { color: var(--accent); text-decoration: underline; }

/* ---------- consent banner ---------- */
.ff-consent {
  position: fixed; left: 24px; bottom: 24px; z-index: 150; width: min(420px, calc(100vw - 48px));
  background: var(--bg); border-radius: var(--r-card); box-shadow: var(--shadow-1), 0 12px 40px rgb(0 26 91 / .14);
  padding: var(--s-5);
}
.ff-consent__title { font: 400 20px/28px var(--f-display); color: var(--inverse); margin: 0 0 var(--s-2); }
.ff-consent p { font-size: 15px; line-height: 24px; }
.ff-consent__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }

/* ---------- reveals ---------- */
.ff-reveal { transition: opacity .6s ease, filter .6s ease, transform .6s ease; }
.ff-reveal.is-hidden { opacity: 0; filter: blur(6px); transform: translateY(12px); }
.ff-reveal.is-hidden.is-in { opacity: 1; filter: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ff-reveal.is-hidden { opacity: 1; filter: none; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .ff-hero h1 { font-size: 64px; line-height: 74px; }
  .ff-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
  .ff-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .ff-footer__brand a, .ff-footer__col a, .ff-footer__legal a, .ff-footer__legal button, .ff-crumbs a, .ff-mega__col a, .ff-footer .ff-logo { min-height: 44px; }
  .ff-hero h1 { font-size: 56px; line-height: 64px; }
  .ff-hero__grid { grid-template-columns: 1fr; align-items: start; gap: var(--s-6); }
  .ff-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ff-phero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .ff-phero__media { max-width: 640px; }
  .ff-display, .ff-head--display h2 { font-size: 52px; line-height: 60px; }
  .ff-head h2, .ff-prose h2 { font-size: 40px; line-height: 48px; }
  .ff-statement h2, .ff-cta__body h2 { font-size: 44px; line-height: 54px; }
  .ff-split, .ff-split--wide, .ff-trust, .ff-formpanel { grid-template-columns: 1fr; gap: var(--s-6); }
  .ff-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ff-cards, .ff-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ff-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ff-footer__brand { grid-column: 1 / -1; }
  .ff-cta { grid-template-columns: 1fr; }
  .ff-cta__media { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); min-height: 280px; }
  .ff-cta__body { padding: var(--s-7) var(--gutter) var(--s-8); }
  .ff-band { grid-template-columns: 1fr; }
  .ff-band .ff-actions { justify-content: flex-start; }
}
@media (max-width: 767px) {
  body { font-size: 16px; line-height: 26px; }
  .ff-hero h1 { font-size: 44px; line-height: 52px; }
  .ff-phero h1 { font-size: 38px; line-height: 46px; }
  .ff-display, .ff-head--display h2 { font-size: 36px; line-height: 44px; }
  .ff-head h2, .ff-prose h2, .ff-h2 { font-size: 32px; line-height: 40px; }
  .ff-statement h2, .ff-cta__body h2 { font-size: 32px; line-height: 40px; }
  .ff-band h2 { font-size: 30px; line-height: 38px; }
  .card h3, .ff-tabs__title, .ff-body > h3, .ff-prose h3 { font-size: 22px; line-height: 28px; }
  .ff-lead { font-size: 18px; line-height: 28px; }
  .ff-proof__num { font-size: 40px; line-height: 44px; }
  .ff-proof__label { font-size: 16px; line-height: 24px; }
  .ff-proof__box { min-height: 160px; padding: var(--s-5) var(--s-4) var(--s-4); }
  .ff-hero__panel { padding: var(--s-8) var(--gutter) var(--s-6); }
  .ff-phero__panel { padding: var(--s-7) var(--gutter); }
  .ff-head { margin-bottom: var(--s-6); }
  .ff-steps, .ff-cards, .ff-links, .ff-svc, .ff-form__row, .interlinks ul { grid-template-columns: 1fr; }
  .ff-step--wide, .ff-svc__item--wide { grid-column: auto; }
  .ff-checklist { grid-template-columns: 1fr; }
  .ig-svg { display: none; }
  .ig-stack { display: block; }
  .ig-frame { padding: var(--s-5) var(--s-4); }
  .ff-form { padding: var(--s-5) var(--s-4); }
  .ff-faq summary h3 { font-size: 19px; line-height: 27px; }
  .ff-faq__a { padding-right: 0; }
  .ff-story { flex-basis: 88%; aspect-ratio: auto; min-height: 420px; }
  .ff-stories--few .ff-stories__track { flex-direction: column; }
  .ff-stories--few .ff-story, .ff-stories--few .ff-story--more { flex: none; width: 100%; }
  .ff-stories--few .ff-story--more { min-height: 0; }
  .ff-story__card { left: var(--s-3); right: var(--s-3); bottom: var(--s-3); width: auto; }
  .ff-tabs.is-tabbed .ff-tabs__bar { border-radius: var(--r-card); width: 100%; }
  .ff-tab { flex: 1 1 auto; }
  .ff-footer__grid { grid-template-columns: 1fr; gap: var(--s-5); }
}
@media (max-width: 600px) {
  .ff-marquee { mask-image: none; }
  .ff-marquee .ff-marquee__track { width: auto; animation: none; }
  .ff-marquee ul { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }
  .ff-marquee .ff-marquee__copy { display: none; }
  .ff-consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
@media (max-width: 400px) {
  .ff-hero h1 { font-size: 38px; line-height: 46px; }
  .ff-phero h1 { font-size: 34px; line-height: 42px; }
  .ff-proof { grid-template-columns: 1fr; }
  .ff-logo__name { font-size: 19px; }
  .ff-btn { padding: 0 20px; }
}

/* sitemap page: plain link lists, two columns from the middle breakpoint */
.ff-sitemap { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: var(--s-2) var(--s-6); }
.ff-sitemap a { color: var(--c-electric); text-decoration: underline; text-underline-offset: 3px; }
.ff-sitemap__h { margin-top: var(--s-6); }
@media (min-width: 768px) { .ff-sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* fragment targets sit below the sticky header when a link lands on them */
section[id] { scroll-margin-top: 88px; }

/* cards for wide tables and 44px link targets up to and including the 768 tablet width */
@media (max-width: 768px) {
  .ff-table-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ff-table-cards, .ff-table-cards tbody, .ff-table-cards tr, .ff-table-cards th, .ff-table-cards td { display: block; width: 100%; }
  .ff-table-cards caption { display: block; width: 100%; padding: var(--s-4) var(--s-4) var(--s-3); }
  .ff-table-cards tr { padding: var(--s-4) var(--s-4); border-top: 1px solid var(--border); }
  .ff-table-cards tbody tr:first-child { border-top: 0; }
  .ff-table-cards th, .ff-table-cards td { border: 0; padding: 4px 0; }
  .ff-table-cards td[data-label]::before { content: attr(data-label); display: block; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--text-muted); }
  .ff-table-cards tbody th { font-size: 17px; }
  .ff-table td a, .ff-table th a { display: inline-flex; align-items: center; min-height: 44px; }
  .ff-byline a, .ff-sitemap a, .card h3 a { display: inline-flex; align-items: center; min-height: 44px; }
}
