/* ManLogX theme — ink navy / white / muted gold, Inter throughout
   (spec §8; linebooker.com as visual reference).
   One stylesheet across the public site, onboarding, dashboards and the staff portal.
   Class and token names are stable — templates from every stage rely on them, so
   --fx-blue is the primary blue and --fx-yellow the gold accent whatever their tone. */

:root {
  --fx-blue: #1e4e8c;
  --fx-blue-hover: #173f73;
  --fx-blue-dark: #0f2138;
  --fx-navy: #0a1629;
  --fx-navy-2: #0f2340; /* lighter end of the dark surfaces' gradient */
  --fx-blue-light: #e9eff6;
  --fx-blue-soft: #f4f7fa;
  --fx-yellow: #e5ae36;
  --fx-yellow-dark: #cf9a25;
  --fx-yellow-soft: #fbf4e1;
  --fx-yellow-line: #ecd9a4;
  --fx-white: #ffffff;
  --fx-bg: #f6f7f9;
  --fx-text: #111c2b;
  --fx-text-muted: #5a6778;
  --fx-border: #e3e7ee;
  --fx-border-strong: #cbd3de;
  --fx-danger: #b3261e;
  --fx-danger-soft: #fcebea;
  --fx-success: #18794e;
  --fx-success-soft: #e6f4ec;
  --fx-warn: #8a5a0c;
  --fx-warn-soft: #fbf0d2;
  --fx-radius: 8px;
  --fx-radius-lg: 14px;
  --fx-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 2px 8px rgba(16, 24, 40, 0.05);
  --fx-shadow-lg: 0 24px 48px -16px rgba(10, 22, 41, 0.22), 0 2px 6px rgba(10, 22, 41, 0.06);
  --fx-font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  /* Headings, figures, nav and buttons share the body face: Inter everywhere. */
  --fx-font-display: var(--fx-font);
  --fx-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--fx-font);
  color: var(--fx-text);
  background: var(--fx-bg);
  line-height: 1.6;
  font-size: 15.5px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss03"; /* Inter: single-storey a, rounded quotes */
  text-rendering: optimizeLegibility;
}
main { flex: 1; }
h1, h2, h3, h4 { font-family: var(--fx-font-display); color: var(--fx-blue-dark); line-height: 1.2; letter-spacing: -0.017em; margin: 0 0 12px; font-weight: 700; text-wrap: balance; }
h3, h4 { font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.45rem; margin-top: 34px; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 12px; }
a { color: var(--fx-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--fx-font-mono); font-size: 0.9em; background: var(--fx-blue-light); padding: 1px 6px; border-radius: 5px; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid rgba(229, 174, 54, 0.9); outline-offset: 2px; }

.fx-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.fx-muted { color: var(--fx-text-muted); }
.fx-narrow { max-width: 720px; }
.fx-eyebrow {
  display: inline-block; font-family: var(--fx-font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--fx-blue); margin-bottom: 12px;
}
.fx-hero .fx-eyebrow, .fx-auth-panel .fx-eyebrow, .fx-cta-band .fx-eyebrow { color: rgba(255, 255, 255, 0.64); }
.fx-lead { font-size: 1.1rem; color: var(--fx-text-muted); max-width: 680px; }

/* ---------- Nav ---------- */
.fx-nav { background: var(--fx-navy); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,0.08); }
.fx-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.fx-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.45rem; font-weight: 800; color: var(--fx-white); text-decoration: none; letter-spacing: -0.03em; }
.fx-brand:hover { text-decoration: none; }
.fx-brand-word b, .fx-brand span { color: var(--fx-yellow); font-weight: inherit; }
.fx-brand-mark { width: 34px; height: 34px; flex: none; }
/* Raster brand lockup (static/img) — white ink, so it sits on the navy nav/footer. */
.fx-brand-logo { height: 32px; width: auto; display: block; flex: none; }
@media (max-width: 640px) { .fx-brand-logo { height: 26px; } }
.fx-nav-links { display: flex; align-items: center; gap: 2px; }
.fx-nav-links a { font-family: var(--fx-font-display); color: rgba(255,255,255,0.76); text-decoration: none; font-weight: 500; font-size: 0.9rem; padding: 8px 12px; border-radius: 8px; white-space: nowrap; transition: color .12s ease, background .12s ease; }
.fx-nav-links a:hover { color: var(--fx-white); background: rgba(255,255,255,0.07); text-decoration: none; }
.fx-nav-links a.fx-btn { margin-left: 10px; }
.fx-nav-links .fx-nav-user { color: var(--fx-white); }
.fx-inline { display: inline; }
.fx-link-btn { background: none; border: none; color: rgba(255,255,255,0.76); font: inherit; font-family: var(--fx-font-display); font-weight: 500; font-size: 0.9rem; cursor: pointer; padding: 8px 12px; border-radius: 8px; }
.fx-link-btn:hover { color: var(--fx-white); background: rgba(255,255,255,0.07); }
.fx-nav-bell { position: relative; display: inline-flex; align-items: center; }
.fx-nav-bell svg { width: 20px; height: 20px; }
.fx-nav-badge {
  position: absolute; top: 0; right: 0; background: var(--fx-yellow); color: var(--fx-navy);
  border-radius: 12px; font-size: 0.68rem; font-weight: 700; padding: 1px 6px; line-height: 1.3; min-width: 18px; text-align: center;
}
.fx-nav-toggle { display: none; }
.fx-nav-burger { display: none; width: 42px; height: 42px; border-radius: 8px; color: var(--fx-white); align-items: center; justify-content: center; cursor: pointer; }
.fx-nav-burger svg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.fx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 20px; height: 44px; border-radius: var(--fx-radius);
  font-weight: 600; font-size: 0.94rem; font-family: var(--fx-font-display); letter-spacing: -0.005em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; line-height: 1; white-space: nowrap;
  transition: background .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
}
.fx-btn:hover { text-decoration: none; }
.fx-btn-yellow { background: var(--fx-yellow); color: var(--fx-navy) !important; box-shadow: 0 1px 2px rgba(10, 22, 41, 0.14); }
.fx-btn-yellow:hover { background: var(--fx-yellow-dark); }
.fx-btn-outline { background: transparent; color: var(--fx-white) !important; border-color: rgba(255,255,255,0.32); }
.fx-btn-outline:hover { border-color: rgba(255,255,255,0.62); background: rgba(255,255,255,0.07); }
.fx-btn-light { background: var(--fx-white); color: var(--fx-navy) !important; }
.fx-btn-light:hover { background: #e4eaf2; }
.fx-btn-blue { background: var(--fx-blue); color: var(--fx-white) !important; box-shadow: 0 1px 2px rgba(10, 22, 41, 0.14); }
.fx-btn-blue:hover { background: var(--fx-blue-hover); }
.fx-btn-outline-blue { background: var(--fx-white); color: var(--fx-blue-dark) !important; border-color: var(--fx-border-strong); }
.fx-btn-outline-blue:hover { background: var(--fx-blue-soft); border-color: #aab5c4; }
.fx-btn-sm { height: 34px; padding: 0 13px; font-size: 0.84rem; border-radius: 7px; box-shadow: none; }
.fx-btn:disabled, .fx-btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.fx-nav-links .fx-btn-yellow { height: 38px; padding: 0 16px; font-size: 0.9rem; font-weight: 600; box-shadow: none; }
.fx-nav-links .fx-btn-yellow:hover { background: var(--fx-yellow-dark); }

/* ---------- Hero (landing) + page headers ---------- */
.fx-hero {
  position: relative; overflow: hidden; color: var(--fx-white);
  background: radial-gradient(1000px 560px at 88% -14%, rgba(72, 120, 186, 0.30), transparent 62%),
              linear-gradient(180deg, var(--fx-navy) 0%, var(--fx-navy-2) 100%);
  padding: 88px 0 96px;
}
.fx-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 520px at 80% 0%, rgba(0,0,0,0.9), transparent 75%);
  -webkit-mask-image: radial-gradient(900px 520px at 80% 0%, rgba(0,0,0,0.9), transparent 75%);
}
.fx-hero > .fx-container { position: relative; z-index: 1; }
.fx-hero h1 { color: var(--fx-white); font-size: clamp(2.2rem, 4.3vw, 3.3rem); line-height: 1.08; margin: 0 0 22px; max-width: 640px; letter-spacing: -0.027em; font-weight: 700; }
.fx-hero h1 em { font-style: normal; color: var(--fx-yellow); }
.fx-hero-sub { font-size: 1.1rem; max-width: 560px; color: rgba(255,255,255,0.78); margin: 0 0 32px; line-height: 1.6; }
.fx-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.fx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 72px; align-items: center; }
/* proof points along the foot of the home hero */
.fx-hero.fx-hero-home { padding-bottom: 0; }
.fx-hero-proof { display: flex; justify-content: space-between; gap: 0 28px; margin-top: 88px; border-top: 1px solid rgba(255,255,255,0.1); }
.fx-hero-proof span { display: flex; align-items: flex-start; gap: 10px; padding: 22px 0 26px; font-size: 0.89rem; line-height: 1.45; color: rgba(255,255,255,0.78); }
.fx-hero-proof svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--fx-yellow); }
/* home-page market choice: South Africa / Africa / rest of world */
.fx-market-pick { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; max-width: 560px; }
.fx-market-label { font-size: 0.86rem; color: rgba(255,255,255,0.6); }
.fx-market-options { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); }
.fx-market-option {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  border-radius: 7px; border: 0; background: transparent;
  color: rgba(255,255,255,0.7); font: inherit; font-size: 0.85rem; font-weight: 500; cursor: pointer;
  transition: color .12s ease, background .12s ease;
}
.fx-market-option svg { width: 14px; height: 14px; opacity: 0.7; }
.fx-market-option:hover { color: var(--fx-white); background: rgba(255,255,255,0.06); }
.fx-market-option.is-active { background: rgba(255,255,255,0.14); color: var(--fx-white); }
.fx-market-option.is-active svg { opacity: 1; color: var(--fx-yellow); }
.fx-hero-sm { padding: 64px 0 68px; }
.fx-hero-sm h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); line-height: 1.15; max-width: 760px; letter-spacing: -0.022em; margin-bottom: 16px; }
.fx-hero-sm .fx-hero-sub { margin-bottom: 0; max-width: 640px; }
.fx-hero-sm .fx-hero-ctas { margin-top: 28px; }

/* product mock in the hero: a white card on a glass plate */
.fx-hero-visual { position: relative; padding: 14px; border-radius: 22px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.fx-mock {
  position: relative; background: var(--fx-white); color: var(--fx-text); border-radius: 12px;
  box-shadow: var(--fx-shadow-lg); padding: 24px 24px 12px;
}
.fx-mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.fx-mock-ref { font-family: var(--fx-font-mono); font-weight: 600; color: var(--fx-blue); font-size: 0.84rem; letter-spacing: 0.02em; }
.fx-mock-title { font-weight: 600; color: var(--fx-blue-dark); font-size: 0.95rem; }
.fx-mock-route { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; color: var(--fx-blue-dark); margin-bottom: 2px; }
.fx-mock-meta { color: var(--fx-text-muted); font-size: 0.86rem; margin-bottom: 22px; }
.fx-mock-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin: 0 0 18px; }
.fx-mock-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 8px; height: 2px; background: var(--fx-border); }
.fx-mock-steps::after { content: ""; position: absolute; left: 10%; width: 40%; top: 8px; height: 2px; background: var(--fx-success); }
.fx-mock-step { position: relative; text-align: center; font-size: 0.72rem; color: var(--fx-text-muted); font-weight: 500; }
.fx-mock-step i { display: block; width: 18px; height: 18px; border-radius: 50%; margin: 0 auto 8px; background: var(--fx-white); border: 2px solid var(--fx-border-strong); position: relative; z-index: 1; }
.fx-mock-step.done i { background: var(--fx-success); border-color: var(--fx-success); }
.fx-mock-step.now i { background: var(--fx-white); border: 5px solid var(--fx-yellow); box-shadow: 0 0 0 4px rgba(229, 174, 54, 0.22); }
.fx-mock-step.now { color: var(--fx-text); font-weight: 600; }
.fx-mock-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--fx-border); font-size: 0.88rem; }
.fx-mock-row span { color: var(--fx-text-muted); }
.fx-mock-row strong { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.fx-mock-live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; color: var(--fx-success); }
.fx-mock-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fx-success); box-shadow: 0 0 0 4px rgba(24, 121, 78, 0.18); }
.fx-mock-float {
  position: absolute; left: -28px; bottom: -44px; background: var(--fx-white); color: var(--fx-text-muted); border-radius: 12px;
  border: 1px solid var(--fx-border); box-shadow: var(--fx-shadow-lg); padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: 0.82rem;
}
.fx-mock-float svg { width: 34px; height: 34px; padding: 7px; border-radius: 9px; flex: none; background: var(--fx-success-soft); color: var(--fx-success); }
.fx-mock-float strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--fx-text); }

/* ---------- Sections, cards, grids ---------- */
.fx-section { padding: 64px 0; }
/* `fx-container fx-section` on one element: keep the container gutter the shorthand above would zero. */
.fx-container.fx-section { padding-left: 24px; padding-right: 24px; }
.fx-section-alt { background: var(--fx-white); border-top: 1px solid var(--fx-border); border-bottom: 1px solid var(--fx-border); }
.fx-section-head { max-width: 700px; margin-bottom: 40px; }
.fx-section-head h2 { font-size: clamp(1.6rem, 2.9vw, 2.15rem); line-height: 1.15; letter-spacing: -0.022em; margin: 0 0 14px; }
.fx-section-head p { color: var(--fx-text-muted); font-size: 1.05rem; line-height: 1.65; margin: 0; max-width: 640px; }
.fx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.fx-cards-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.fx-card {
  background: var(--fx-white); border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-lg); padding: 24px; box-shadow: var(--fx-shadow);
}
.fx-card h2 { margin-top: 0; font-size: 1.2rem; }
.fx-card h3 { margin-top: 0; }
.fx-card > :last-child { margin-bottom: 0; }
.fx-card + .fx-card { margin-top: 14px; }
.fx-cards > .fx-card + .fx-card { margin-top: 0; }
h2 + .fx-card, h2 + .fx-cards, h2 + form.fx-card, .fx-muted + .fx-card { margin-top: 6px; }
.fx-feature { display: flex; flex-direction: column; gap: 10px; transition: border-color .15s ease, box-shadow .15s ease; }
.fx-cards > .fx-feature { height: 100%; padding: 28px; }
.fx-cards:has(> .fx-feature) { align-items: stretch; }
.fx-feature:hover { border-color: var(--fx-border-strong); box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08); }
.fx-icon { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--fx-blue-light); color: var(--fx-blue); flex: none; }
.fx-icon svg { width: 22px; height: 22px; }
.fx-icon-yellow { background: var(--fx-yellow-soft); color: var(--fx-warn); }
.fx-feature h3 { margin: 6px 0 0; }
.fx-feature p { color: var(--fx-text-muted); margin: 0; }

.fx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.fx-fact { background: var(--fx-white); border: 1px solid var(--fx-border); border-radius: var(--fx-radius); padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.fx-fact strong { display: block; font-size: 1.05rem; color: var(--fx-blue-dark); }
.fx-fact span { color: var(--fx-text-muted); font-size: 0.88rem; }

/* Small print sitting beside a hero CTA — build version, file size, etc. */
.fx-hero-note { display: inline-block; align-self: center; color: rgba(255,255,255,0.72); font-size: 0.9rem; }
.fx-steps { max-width: 720px; padding-left: 20px; }
.fx-steps li { margin: 10px 0; }
.fx-steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: step; }
.fx-step { position: relative; padding: 26px 22px 22px; background: var(--fx-white); border: 1px solid var(--fx-border); border-radius: var(--fx-radius-lg); box-shadow: var(--fx-shadow); }
.fx-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 22px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--fx-blue-dark); color: var(--fx-white); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.fx-step h3 { margin: 6px 0 6px; }
.fx-step p { color: var(--fx-text-muted); margin: 0; }
/* ticked list: the public site's replacement for bare bullets */
.fx-checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.fx-checklist li { position: relative; padding-left: 34px; color: var(--fx-text-muted); line-height: 1.6; }
.fx-checklist li strong { color: var(--fx-text); font-weight: 600; }
.fx-checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--fx-blue-light); }
.fx-checklist li::after { content: ""; position: absolute; left: 8px; top: 7px; width: 5px; height: 9px; border: solid var(--fx-blue); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.fx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.fx-panel { background: var(--fx-white); border: 1px solid var(--fx-border); border-radius: var(--fx-radius-lg); padding: 32px; box-shadow: var(--fx-shadow); }
.fx-panel h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
.fx-panel p { color: var(--fx-text-muted); }
.fx-panel > :last-child { margin-bottom: 0; }
.fx-panel ul { list-style: none; padding: 0; margin: 14px 0 22px; }
.fx-panel li { padding: 7px 0 7px 30px; position: relative; color: var(--fx-text); }
.fx-panel li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--fx-success-soft); }
.fx-panel li::after { content: ""; position: absolute; left: 6px; top: 15px; width: 5px; height: 9px; border: solid var(--fx-success); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* copy beside a product visual; -flip puts the visual first on wide screens */
.fx-showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.fx-showcase-flip > :first-child { order: 2; }
.fx-showcase h2 { font-size: clamp(1.55rem, 2.7vw, 2rem); line-height: 1.16; letter-spacing: -0.022em; margin: 0 0 16px; }
.fx-showcase p { color: var(--fx-text-muted); font-size: 1.02rem; line-height: 1.65; margin-bottom: 0; }
.fx-showcase .fx-checklist + p { margin-top: 0; }
.fx-showcase .fx-btn { margin-top: 28px; }
/* tinted plate a product visual sits on */
.fx-stage { background: var(--fx-blue-light); border-radius: 20px; padding: 36px; }
.fx-drawdown { background: var(--fx-white); border: 1px solid var(--fx-border); border-radius: 12px; padding: 24px 24px 12px; box-shadow: var(--fx-shadow-lg); }
.fx-drawdown-meta { color: var(--fx-text-muted); font-size: 0.86rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.fx-drawdown-meta strong { color: var(--fx-text); font-weight: 600; }
.fx-progress { height: 8px; border-radius: 8px; background: var(--fx-blue-light); overflow: hidden; margin: 8px 0 16px; }
.fx-progress i { display: block; height: 100%; width: 64%; background: var(--fx-blue); border-radius: 8px; }
.fx-drawdown table { width: 100%; border-collapse: collapse; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.fx-drawdown td { padding: 11px 0; border-top: 1px solid var(--fx-border); color: var(--fx-text-muted); white-space: nowrap; }
.fx-drawdown td:first-child { color: var(--fx-text); }
.fx-drawdown td:last-child { text-align: right; font-weight: 600; color: var(--fx-text); }

.fx-cta-band { background: linear-gradient(180deg, var(--fx-navy-2), var(--fx-navy)); color: var(--fx-white); padding: 88px 0; text-align: center; }
.fx-cta-band h2 { color: var(--fx-white); font-size: clamp(1.6rem, 2.9vw, 2.15rem); letter-spacing: -0.022em; margin: 0 0 12px; }
.fx-cta-band p { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto 26px; }
.fx-cta-band .fx-hero-ctas { justify-content: center; }
/* a dark band running into the dark footer needs no gap between them */
body:has(main > .fx-cta-band:last-child) .fx-footer { margin-top: 0; }

/* ---------- Forms ---------- */
.fx-form-card {
  max-width: 480px; margin: 48px auto; background: var(--fx-white);
  border: 1px solid var(--fx-border); border-radius: var(--fx-radius-lg);
  padding: 34px; box-shadow: var(--fx-shadow-lg);
}
.fx-form-card h1 { font-size: 1.55rem; margin-top: 0; }
.fx-form-card p.fx-muted { color: var(--fx-text-muted); }
.fx-form-card form > p { margin: 0 0 16px; }

/* ---------- Form fields (rendered by templates/django/forms/p.html) ----------
   One wrapper for every field in the project, so inputs, selects and textareas
   share a width and a vertical rhythm instead of each form drifting. */
.fx-field { margin: 0 0 18px; }
.fx-field:last-of-type { margin-bottom: 0; }
.fx-field-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; color: var(--fx-blue-dark); }
.fx-field-help { display: block; color: var(--fx-text-muted); font-size: 0.82rem; margin-top: 5px; line-height: 1.45; }
.fx-field > input:not([type="checkbox"]):not([type="radio"]),
.fx-field > select, .fx-field > textarea { width: 100%; max-width: 100%; }
.fx-field > textarea { min-height: 110px; resize: vertical; }
.fx-field input[type="checkbox"], .fx-field input[type="radio"] { width: auto; }
/* Checkbox / radio groups: Django emits a bare <ul>; make it a readable column. */
.fx-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fx-fieldset ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fx-fieldset li { margin: 0; }
.fx-fieldset label { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; margin: 0; cursor: pointer; }
.fx-field ul.errorlist { list-style: none; margin: 6px 0 0; padding: 0; color: var(--fx-danger); font-size: 0.85rem; font-weight: 600; }
.fx-field-invalid > input, .fx-field-invalid > select, .fx-field-invalid > textarea { border-color: var(--fx-danger); }
form > ul.errorlist { list-style: none; margin: 0 0 14px; padding: 12px 16px; border-radius: var(--fx-radius);
  background: var(--fx-danger-soft); color: var(--fx-danger); font-weight: 600; border-left: 4px solid var(--fx-danger); }
.fx-form-card label, .fx-card form label, .fx-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; }
.fx-form-card input[type="text"], .fx-form-card input[type="email"], .fx-form-card input[type="password"],
.fx-form-card input[type="tel"], .fx-form-card input[type="number"], .fx-form-card select,
.fx-card input[type="text"], .fx-card input[type="email"], .fx-card input[type="tel"], .fx-card input[type="number"],
.fx-card input[type="date"], .fx-card input[type="datetime-local"], .fx-card input[type="time"], .fx-card input[type="password"], .fx-card select, .fx-card textarea,
.fx-form input, .fx-form select, .fx-form textarea, .fx-inline-form input, .fx-inline-form select, .fx-filter-bar select {
  width: 100%; max-width: 420px; padding: 10px 13px; border: 1px solid var(--fx-border-strong); background: var(--fx-white);
  border-radius: var(--fx-radius); font: inherit; font-size: 0.95rem; color: var(--fx-text); transition: border-color .12s, box-shadow .12s;
}
.fx-form-card input, .fx-form-card select { max-width: none; }
.fx-form input[type="checkbox"], .fx-card input[type="checkbox"], .fx-form input[type="radio"] { width: auto; }
.fx-form input[type="file"], .fx-card input[type="file"] { border: 1px dashed var(--fx-border-strong); padding: 10px; background: var(--fx-blue-soft); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--fx-blue); box-shadow: 0 0 0 3px rgba(30, 78, 140, 0.16); }
.fx-form-card .helptext, .fx-card .helptext, .fx-form .helptext { display: block; color: var(--fx-text-muted); font-size: 0.82rem; margin-top: 4px; }
ul.errorlist { color: var(--fx-danger); margin: 4px 0; padding-left: 18px; font-size: 0.88rem; }
.fx-form-card button[type="submit"] { width: 100%; margin-top: 6px; }
.fx-form-foot { text-align: center; margin-top: 18px; color: var(--fx-text-muted); font-size: 0.92rem; }

/* Headline money figure + the sections stacked under it inside one card. */
.fx-balance { font-family: var(--fx-font-display); font-variant-numeric: tabular-nums; font-size: 2.1rem; font-weight: 700; color: var(--fx-blue-dark); letter-spacing: -0.02em; margin: 2px 0 0; line-height: 1.15; }
.fx-balance-held { margin: 4px 0 0; font-size: 0.92rem; }
.fx-card-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--fx-border); }
.fx-card-section h3 { margin: 0 0 12px; font-size: 1.02rem; }
.fx-money-form input { width: 100%; margin-bottom: 12px; }
.fx-money-form .fx-btn { width: 100%; }
.fx-form-wide { max-width: 640px; }
.fx-form { max-width: 640px; }
/* Inside an already-narrowed page the card should fill it, not sit off-centre
   in a second, tighter box. */
.fx-narrow .fx-form { max-width: none; }
/* Fields fill their card. Without this the shared `max-width: 420px` above caps
   inputs and selects while textareas (which opt out) run full width — the two
   never line up. Declared after that rule so it wins on source order. */
.fx-field > input, .fx-field > select, .fx-field > textarea { width: 100%; max-width: 100%; }
.fx-form textarea { max-width: none; min-height: 110px; }
.fx-inline-form { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.fx-inline-form input, .fx-inline-form select { width: auto; padding: 8px 11px; }
.fx-inline-form label { margin: 0; }
.fx-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; align-items: center; }
.fx-upload-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 6px; }
.fx-upload-row input[type="file"] { max-width: 240px; font-size: 0.85rem; padding: 6px; }
.fx-upload-row label { font-size: 0.85rem; color: var(--fx-text-muted); margin: 0; }
.fx-filter-bar { display: flex; gap: 18px; margin: 14px 0; flex-wrap: wrap; align-items: center; }
.fx-filter-bar label { font-weight: 600; color: var(--fx-text-muted); }
.fx-filter-bar select { width: auto; margin-left: 6px; padding: 7px 10px; }
.fx-submit-bar { margin-top: 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fx-submit-bar form { display: flex; align-items: center; gap: 14px; }
/* onboarding: point at the step that's next */
.fx-card-next { border-color: var(--fx-yellow); box-shadow: 0 0 0 3px rgba(229, 174, 54, 0.28); }
.fx-card-next h3::after { content: "Next step"; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  background: var(--fx-yellow); color: var(--fx-text); font-size: 0.72rem; font-weight: 700; vertical-align: middle; }
.fx-submit-bar-ready { padding: 16px 18px; border-radius: 12px; background: rgba(229, 174, 54, 0.12);
  border: 1px solid var(--fx-yellow); }

/* auth split layout */
/* Auth pages are full-bleed. `main` becomes a column so the split panel can
   grow to fill the viewport, and the footer's normal 56px top margin is
   dropped so the blue panel meets it flush — otherwise an off-white band
   shows under the panel. Scoped with :has() so no other page is touched. */
body:has(.fx-auth) main { display: flex; flex-direction: column; }
body:has(.fx-auth) .fx-footer { margin-top: 0; }
.fx-auth { display: grid; grid-template-columns: 1fr 1fr; flex: 1; min-height: 520px; }
.fx-auth-panel { background: linear-gradient(160deg, var(--fx-navy-2) 0%, var(--fx-navy) 100%); color: var(--fx-white); padding: 56px 56px 64px; display: flex; flex-direction: column; justify-content: flex-start; }
.fx-auth-panel h2 { color: var(--fx-white); font-size: 2rem; margin-top: 0; max-width: 420px; }
.fx-auth-panel p { opacity: 0.88; max-width: 420px; }
.fx-auth-panel ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; max-width: 440px; }
.fx-auth-panel li { display: flex; gap: 12px; align-items: flex-start; }
.fx-auth-panel li svg { width: 22px; height: 22px; color: var(--fx-yellow); flex: none; margin-top: 2px; }
.fx-auth-panel li strong { display: block; }
.fx-auth-panel li span { opacity: 0.8; font-size: 0.92rem; }
.fx-auth-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.fx-auth-form .fx-form-card { margin: 0; width: 100%; box-shadow: var(--fx-shadow); }

/* ---------- Flash messages ---------- */
.fx-flashes { margin-top: 18px; }
.fx-flash { padding: 12px 16px 12px 18px; border-radius: var(--fx-radius); margin-bottom: 10px; border-left: 5px solid; font-weight: 500; }
.fx-flash-success { background: var(--fx-success-soft); color: var(--fx-success); border-color: var(--fx-success); }
.fx-flash-error { background: var(--fx-danger-soft); color: var(--fx-danger); border-color: var(--fx-danger); }
.fx-flash-warning { background: var(--fx-warn-soft); color: var(--fx-warn); border-color: var(--fx-yellow); }
.fx-flash-info { background: var(--fx-blue-light); color: var(--fx-blue); border-color: var(--fx-blue); }
.fx-flash a { color: inherit; text-decoration: underline; }

/* ---------- Detail rows, badges ---------- */
.fx-detail { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; margin: 14px 0; }
.fx-detail dt { font-weight: 500; color: var(--fx-text-muted); font-size: 0.92rem; }
.fx-detail dd { font-weight: 500; }
.fx-detail dd { margin: 0; }
.fx-table.fx-detail-table th { text-align: left; width: 200px; color: var(--fx-text-muted); font-weight: 500;
  background: transparent; text-transform: none; letter-spacing: 0; font-size: 0.88rem; }
.fx-detail-table td { font-weight: 500; }
.fx-table.fx-detail-table tbody tr:hover td { background: transparent; }
.fx-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 9px; border-radius: 999px; vertical-align: middle;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.005em; line-height: 1.5; white-space: nowrap;
}
.fx-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.85; flex: none; }
h1 .fx-badge { font-size: 0.85rem; margin-left: 6px; vertical-align: middle; }
.fx-badge-pending { background: var(--fx-warn-soft); color: var(--fx-warn); }
.fx-badge-active { background: var(--fx-success-soft); color: var(--fx-success); }
.fx-badge-rejected, .fx-badge-suspended { background: var(--fx-danger-soft); color: var(--fx-danger); }
.fx-badge-doc-missing { background: #eef1f5; color: #5a6472; }
.fx-badge-doc-pending, .fx-badge-doc-pending_review { background: var(--fx-warn-soft); color: var(--fx-warn); }
.fx-badge-doc-verified { background: var(--fx-success-soft); color: var(--fx-success); }
.fx-badge-doc-rejected, .fx-badge-doc-expired { background: var(--fx-danger-soft); color: var(--fx-danger); }
.fx-badge-doc-superseded { background: #eef1f5; color: #5a6472; }
.fx-badge-expiring { background: #ffe9cc; color: var(--fx-warn); }
.fx-badge-load-draft { background: #eef1f5; color: #5a6472; }
.fx-badge-load-posted { background: var(--fx-blue-light); color: var(--fx-blue); }
.fx-badge-load-booked, .fx-badge-load-completed { background: var(--fx-success-soft); color: var(--fx-success); }
.fx-badge-load-cancelled, .fx-badge-load-closed { background: var(--fx-danger-soft); color: var(--fx-danger); }
.fx-badge-bid-pending { background: var(--fx-warn-soft); color: var(--fx-warn); }
.fx-badge-bid-accepted { background: var(--fx-success-soft); color: var(--fx-success); }
.fx-badge-bid-rejected, .fx-badge-bid-withdrawn { background: #eef1f5; color: #5a6472; }
.fx-badge-trip-confirmed { background: var(--fx-blue-light); color: var(--fx-blue); }
.fx-badge-trip-en_route_pickup, .fx-badge-trip-loading, .fx-badge-trip-weighed_loaded,
.fx-badge-trip-in_transit, .fx-badge-trip-arrived, .fx-badge-trip-weighed_offloaded { background: var(--fx-warn-soft); color: var(--fx-warn); }
.fx-badge-trip-delivered, .fx-badge-trip-completed { background: var(--fx-success-soft); color: var(--fx-success); }
.fx-badge-trip-disputed, .fx-badge-trip-cancelled { background: var(--fx-danger-soft); color: var(--fx-danger); }
.fx-badge-priority-normal { background: #eef1f5; color: #5a6472; }
.fx-badge-priority-high { background: #ffe9cc; color: var(--fx-warn); }
.fx-badge-priority-critical { background: var(--fx-danger-soft); color: var(--fx-danger); }
.fx-reject-reason { color: var(--fx-danger); font-size: 0.85rem; margin-top: 4px; }
.fx-qr { display: block; margin: 14px auto; width: 220px; height: 220px; }
.fx-secret { font-family: var(--fx-font-mono); background: var(--fx-blue-light); padding: 6px 10px; border-radius: 6px; }

/* ---------- Tables ---------- */
.fx-table-card { padding: 0; overflow-x: auto; }
.fx-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.fx-table th, .fx-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid #edf1f6; vertical-align: middle; }
.fx-table th { background: #f8fafc; color: #64748b; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; white-space: nowrap; border-bottom-color: var(--fx-border); }
.fx-table td a:not(.fx-btn) { font-weight: 600; }
.fx-table tbody tr { transition: background .1s ease; }
.fx-table tbody tr:hover td { background: var(--fx-blue-soft); }
.fx-table tr:last-child td { border-bottom: 0; }
.fx-table td .fx-btn { vertical-align: middle; }
.fx-table td .fx-inline + .fx-inline { margin-left: 4px; }
.fx-row-unread td { background: var(--fx-yellow-soft); font-weight: 600; }
.fx-row-alert td { background: var(--fx-danger-soft); }
.fx-timeline { list-style: none; padding-left: 0; max-width: 720px; }
.fx-timeline li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--fx-border); position: relative; }
.fx-timeline li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--fx-blue); }
.fx-card ul { padding-left: 18px; }

/* ---------- Dashboards ---------- */
.fx-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 14px 0 28px; }
.fx-stat {
  display: flex; flex-direction: column; gap: 2px; background: var(--fx-white); position: relative;
  border: 1px solid var(--fx-border); border-radius: 14px; padding: 18px 20px 18px; text-decoration: none; color: var(--fx-text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
a.fx-stat:hover { transform: translateY(-2px); border-color: var(--fx-border-strong); box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08); text-decoration: none; }
/* linked tiles get a quiet arrow that wakes up on hover */
a.fx-stat::before {
  content: "→"; position: absolute; right: 18px; top: 20px; font-size: 1rem; line-height: 1;
  color: #b6c3d4; transition: transform .15s ease, color .15s ease;
}
a.fx-stat:hover::before { color: var(--fx-blue); transform: translateX(3px); }
.fx-stat-attn { border-color: var(--fx-yellow-line); background: linear-gradient(180deg, #fdf9ee 0%, var(--fx-white) 70%); }
.fx-stat-attn::after {
  content: ""; position: absolute; left: 50px; top: 16px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--fx-yellow); box-shadow: 0 0 0 3px var(--fx-white);
}
.fx-stat-n { font-family: var(--fx-font-display); font-variant-numeric: tabular-nums; font-size: 1.7rem; font-weight: 700; color: var(--fx-blue-dark); line-height: 1.15; letter-spacing: -0.025em; }
.fx-stat-l { font-size: 0.84rem; color: var(--fx-text-muted); font-weight: 500; line-height: 1.4; }
.fx-stat-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--fx-blue-light); color: var(--fx-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.fx-stat-icon svg { width: 18px; height: 18px; }
.fx-stat-attn .fx-stat-icon { background: var(--fx-yellow-soft); color: var(--fx-warn); }
.fx-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.fx-page-head h1 { margin-bottom: 4px; }

/* ---------- Comms ---------- */
.fx-chat-list { max-height: 360px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.fx-chat-msg { background: var(--fx-blue-light); border-radius: 14px 14px 14px 4px; padding: 9px 13px; max-width: 78%; align-self: flex-start; }
.fx-chat-msg p { margin: 2px 0 0; }
.fx-chat-mine { background: var(--fx-yellow-soft); align-self: flex-end; border-radius: 14px 14px 4px 14px; }
.fx-chat-meta { font-size: 0.76rem; color: var(--fx-text-muted); font-weight: 700; }
.fx-chat-form { display: flex; gap: 8px; align-items: flex-start; }
.fx-chat-form textarea { flex: 1; max-width: none; min-height: 48px; padding: 9px 12px; border: 1px solid var(--fx-border-strong); border-radius: var(--fx-radius); font: inherit; }
.fx-rating-stars { color: var(--fx-yellow-dark); letter-spacing: 1px; font-size: 1.05rem; }

/* ---------- Public site + legal ---------- */
.fx-prose { max-width: 820px; }
.fx-prose h2 { margin-top: 34px; }
.fx-prose ul, .fx-prose ol { padding-left: 22px; }
.fx-prose li { margin: 6px 0; }
.fx-faq { border: 1px solid var(--fx-border); border-radius: var(--fx-radius); padding: 14px 18px; margin: 10px 0; background: var(--fx-white); box-shadow: var(--fx-shadow); }
.fx-faq summary { cursor: pointer; font-weight: 700; color: var(--fx-blue-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after { content: "+"; font-size: 1.3rem; color: var(--fx-blue); font-weight: 400; }
.fx-faq[open] summary::after { content: "–"; }
.fx-faq p { margin: 10px 0 4px; color: var(--fx-text-muted); }
.fx-news { margin-bottom: 16px; }
.fx-news h3 { margin: 4px 0 8px; font-size: 1.25rem; }
.fx-legal { display: grid; grid-template-columns: 230px 1fr; gap: 40px; }
.fx-legal-nav { position: sticky; top: 86px; align-self: start; display: flex; flex-direction: column; gap: 4px; }
.fx-legal-nav h4 { margin: 0 0 8px; color: var(--fx-text-muted); text-transform: uppercase; font-size: 0.76rem; letter-spacing: 0.08em; }
.fx-legal-nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; color: var(--fx-text); }
.fx-legal-nav a.fx-active, .fx-legal-nav a:hover { background: var(--fx-blue-light); color: var(--fx-blue); font-weight: 700; text-decoration: none; }
.fx-legal-body { background: var(--fx-white); border: 1px solid var(--fx-border); border-radius: var(--fx-radius-lg); padding: 36px 40px; box-shadow: var(--fx-shadow); }
.fx-legal-body h1 { margin-top: 0; }
.fx-legal-body h2 { font-size: 1.15rem; margin-top: 30px; }
.fx-legal-body table { margin: 12px 0; }
.fx-legal-body table th, .fx-legal-body table td { padding: 8px 10px; }
.fx-contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; align-items: start; }

/* ---------- Footer ---------- */
.fx-footer { background: var(--fx-navy); color: rgba(255, 255, 255, 0.7); padding: 64px 0 0; margin-top: 56px; border-top: 1px solid rgba(255,255,255,0.08); }
.fx-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.fx-footer-grid h4 { margin: 0 0 14px; color: var(--fx-white); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; }
.fx-footer-grid a { display: block; color: rgba(255, 255, 255, 0.7); text-decoration: none; margin: 8px 0; font-size: 0.92rem; }
.fx-footer-grid a:hover { color: var(--fx-white); }
.fx-footer-grid p { margin: 10px 0; font-size: 0.9rem; line-height: 1.65; max-width: 360px; }
.fx-footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.45rem; font-weight: 900; color: var(--fx-white); letter-spacing: -0.03em; margin-bottom: 6px; }
.fx-footer-brand span, .fx-footer-brand b { color: var(--fx-yellow); font-weight: inherit; }
.fx-footer-logo { height: 66px; width: auto; max-width: 100%; display: block; }
.fx-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; font-size: 0.84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: rgba(255,255,255,0.5); }

/* ---------- Portals (signed-in: client, transporter, driver, staff) ----------
   body.fx-app is set in base.html for authenticated users. Work screens get a
   wider canvas, a calmer heading scale, a "you are here" nav and a slim footer
   instead of the marketing one. */
.fx-app { background: #f4f6fa; }
.fx-app .fx-container { max-width: 1280px; }
.fx-app .fx-nav { background: var(--fx-navy); }
.fx-app .fx-nav-links a, .fx-app .fx-link-btn { font-size: 0.9rem; color: rgba(255,255,255,0.78); }
.fx-app .fx-nav-links a[aria-current="page"] { color: var(--fx-white); background: rgba(255,255,255,0.1); box-shadow: inset 0 -2px 0 var(--fx-yellow); border-radius: 8px 8px 2px 2px; }
.fx-nav-links .fx-nav-user { display: inline-flex; align-items: center; gap: 8px; color: var(--fx-white); }
.fx-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: var(--fx-yellow); color: var(--fx-navy); font-family: var(--fx-font-display); font-size: 0.8rem; font-weight: 700;
}
.fx-app main > .fx-section:first-child, .fx-app main > .fx-container.fx-section { padding-top: 36px; }
.fx-app .fx-page-head { padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--fx-border); align-items: center; }
.fx-app .fx-page-head .fx-muted { margin-bottom: 0; }
.fx-app h1 { font-size: 1.85rem; letter-spacing: -0.03em; }
.fx-app h2 { font-size: 1.1rem; font-weight: 700; margin: 34px 0 12px; letter-spacing: -0.01em; }
.fx-app .fx-card h2 { margin-top: 0; }
.fx-app .fx-card { border-radius: 14px; border-color: #e3e8ef; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.03); }
.fx-app .fx-table-card { padding: 0; }
.fx-app .fx-flashes { margin-top: 20px; }
.fx-footer-app { margin-top: 48px; padding: 0; background: transparent; color: var(--fx-text-muted); border-top: 1px solid var(--fx-border); }
.fx-footer-app-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 20px 24px; font-size: 0.85rem; }
.fx-footer-app nav { display: flex; gap: 20px; flex-wrap: wrap; }
.fx-footer-app a { color: var(--fx-text-muted); }
.fx-footer-app a:hover { color: var(--fx-blue); }

/* ---------- Trip page: work column + sidebar ---------- */
.fx-trip { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.fx-trip-main > h2:first-child, .fx-trip-main > .fx-card:first-child { margin-top: 18px; }

.fx-trip-side .fx-side-h { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fx-text-muted); font-weight: 700; margin: 18px 0 10px; }
.fx-trip-side .fx-card { padding: 18px 20px; font-size: 0.92rem; }
.fx-trip-side .fx-inline-form { display: grid; gap: 8px; }
.fx-trip-side .fx-inline-form input, .fx-trip-side .fx-inline-form select { width: 100%; }
/* Rarely-needed forms (report incident, raise extra) stay folded until asked for. */
.fx-disclosure { padding: 0 !important; overflow: hidden; }
.fx-disclosure > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 15px 20px;
  font-family: var(--fx-font-display); font-weight: 700; color: var(--fx-blue-dark);
}
.fx-disclosure > summary::-webkit-details-marker { display: none; }
.fx-disclosure > summary svg { width: 18px; height: 18px; color: var(--fx-blue); flex: none; }
.fx-disclosure > summary::after { content: "+"; margin-left: auto; font-size: 1.25rem; font-weight: 400; color: var(--fx-text-muted); line-height: 1; }
.fx-disclosure[open] > summary::after { content: "–"; }
.fx-disclosure > summary:hover { background: var(--fx-blue-soft); }
.fx-disclosure[open] > summary { border-bottom: 1px solid var(--fx-border); }
.fx-disclosure > :not(summary) { margin: 16px 20px; }
.fx-disclosure > form { margin-bottom: 20px; }
.fx-disclosure .fx-field > input, .fx-disclosure .fx-field > select, .fx-disclosure .fx-field > textarea { max-width: 100%; }
.fx-disclosure-danger > summary svg { color: var(--fx-danger); }
h2 + .fx-disclosure, .fx-table-card + .fx-disclosure { margin-top: 14px; }
/* numbers + units never split across lines in data tables */
.fx-table td { overflow-wrap: normal; }
.fx-nowrap { white-space: nowrap; }
@media (max-width: 1024px) {
  .fx-trip { grid-template-columns: minmax(0, 1fr); gap: 0; }

}

/* ---------- Review screens (staff verification): record + decision sidebar ---------- */
.fx-review { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; margin-top: 22px; }
.fx-review-main > .fx-card:first-child { margin-top: 0; }
.fx-review-side .fx-card + .fx-card { margin-top: 16px; }
.fx-review-side h3 { font-size: 1rem; }
.fx-action-card form + form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--fx-border); }
.fx-action-card textarea, .fx-action-card input[type="text"] { width: 100%; max-width: none; min-height: 72px; }
.fx-action-card .fx-btn { width: 100%; }
.fx-review-side .fx-timeline { margin: 0; font-size: 0.88rem; }
.fx-review-side .fx-timeline li:last-child { border-bottom: 0; }
.fx-backlink { margin: 0 0 10px; font-size: 0.9rem; font-weight: 600; }
/* table helpers: a muted second line, and a right-aligned action cell */
.fx-cell-sub { display: block; color: var(--fx-text-muted); font-size: 0.84rem; }
.fx-table td.fx-cell-action { text-align: right; white-space: nowrap; width: 1%; }
/* filter bar as a quiet toolbar */
.fx-toolbar { margin: 18px 0 14px; gap: 14px; }
.fx-toolbar label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.fx-toolbar select { margin-left: 0; min-width: 150px; font-size: 0.92rem; text-transform: none; letter-spacing: 0; color: var(--fx-text); }
@media (max-width: 1024px) {
  .fx-review { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .fx-hero-grid, .fx-showcase, .fx-split, .fx-auth { grid-template-columns: minmax(0, 1fr); }
  .fx-hero-grid { gap: 48px; }
  .fx-showcase { gap: 36px; }
  .fx-showcase-flip > :first-child { order: 0; }
  .fx-hero-visual { max-width: 520px; }
  .fx-mock-float { position: static; margin-top: 12px; box-shadow: none; }
  .fx-hero-proof { margin-top: 56px; padding: 8px 0 12px; }
  .fx-hero-proof span { padding: 12px 0; }
  .fx-stage { padding: 24px; }
  .fx-auth-panel { padding: 40px 28px; }
  .fx-nav-links { position: absolute; left: 0; right: 0; top: 68px; background: var(--fx-navy); flex-direction: column; align-items: stretch; padding: 10px 16px 16px; gap: 2px; display: none; border-top: 1px solid rgba(255,255,255,0.08); box-shadow: 0 16px 32px rgba(10, 22, 41, 0.35); }
  .fx-nav-links a, .fx-link-btn { padding: 12px 10px; }
  .fx-nav-links form.fx-inline { display: block; }
  .fx-nav-links .fx-btn { margin: 8px 0 0; }
  .fx-nav-burger { display: inline-flex; }
  .fx-nav-toggle:checked ~ .fx-nav-links { display: flex; }
  .fx-nav-bell { padding: 12px 10px; }
  .fx-nav-badge { position: static; margin-left: 8px; }
  .fx-app .fx-nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--fx-yellow); border-radius: 2px 8px 8px 2px; }
}
@media (max-width: 760px) {
  /* Data tables can't reflow usefully on a phone — let them scroll sideways
     inside the page instead of stretching it. Key/value detail tables are
     excluded: those stack fine. */
  .fx-table:not(.fx-detail-table) { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .fx-table:not(.fx-detail-table) td, .fx-table:not(.fx-detail-table) th { padding: 11px 13px; }
  .fx-table.fx-detail-table th { width: 36%; }
  .fx-table.fx-detail-table th, .fx-table.fx-detail-table td { padding: 10px 10px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .fx-container { padding: 0 16px; }
  .fx-page-head, .fx-filter-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .fx-page-head .fx-btn, .fx-hero-ctas .fx-btn { width: 100%; }
  .fx-app .fx-page-head { align-items: stretch; }
  .fx-app h1 { font-size: 1.55rem; }
  .fx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fx-stat { padding: 14px 14px 15px; }
  .fx-stat-n { font-size: 1.35rem; }
  .fx-stat-attn::after { left: 44px; top: 12px; }
  a.fx-stat::before { right: 12px; top: 16px; }
  .fx-balance { font-size: 1.8rem; }
  .fx-split, .fx-cards { gap: 16px; }
  .fx-hero { padding: 56px 0 64px; }
  .fx-hero.fx-hero-home { padding-bottom: 0; }
  .fx-hero h1 { font-size: 2.1rem; }
  .fx-hero-sm { padding: 44px 0 48px; }
  .fx-hero-sm h1 { font-size: 1.8rem; }
  .fx-section { padding: 44px 0; }
  .fx-container.fx-section { padding-left: 16px; padding-right: 16px; }
  .fx-section-head h2, .fx-cta-band h2 { font-size: 1.6rem; }
  .fx-detail { grid-template-columns: 1fr; }
  .fx-legal { grid-template-columns: 1fr; }
  .fx-legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .fx-legal-body { padding: 24px 20px; }
  .fx-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .fx-footer-grid > :first-child { grid-column: 1 / -1; }
  .fx-contact-grid { grid-template-columns: 1fr; }
  .fx-form-card { padding: 24px; margin: 24px auto; }
  .fx-hero-ctas .fx-btn { width: 100%; }
}

/* the `hidden` attribute must win over component display rules (.fx-btn etc.) */
[hidden] { display: none !important; }
.fx-datetime { display: flex; gap: 8px; flex-wrap: wrap; max-width: 420px; }
.fx-datetime input { min-width: 0; }
.fx-datetime input[type="date"] { flex: 1 1 160px; }
.fx-datetime input[type="time"] { flex: 0 1 130px; }

/* ---------- Public story sections (landing / about / partner) ---------- */
/* The home page breathes more than the work screens: taller bands, wider gaps. */
.fx-home > .fx-section { padding: 104px 0; }
.fx-home .fx-section-head { margin-bottom: 52px; }
.fx-hero-lead { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.012em; color: var(--fx-white); margin: 0 0 10px; }
.fx-hero-lead + .fx-hero-sub { font-size: 1.02rem; color: rgba(255,255,255,0.68); line-height: 1.65; max-width: 540px; }
.fx-hero-link { display: inline-block; margin-top: 20px; color: rgba(255,255,255,0.72); font-family: var(--fx-font-display); font-weight: 500; font-size: 0.9rem; }
.fx-hero-link:hover { color: var(--fx-white); }
.fx-demo-tag {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--fx-font-display); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; background: var(--fx-yellow-soft); color: var(--fx-warn);
  border: 1px solid var(--fx-yellow-line); border-radius: 999px; padding: 3px 9px; white-space: nowrap;
}
.fx-demo-banner { background: var(--fx-yellow-soft); border-bottom: 1px solid var(--fx-yellow-line); color: var(--fx-warn); font-size: 0.86rem; padding: 8px 0; text-align: center; }
.fx-demo-banner strong { font-family: var(--fx-font-display); letter-spacing: 0.06em; }

/* POST → MATCH → … → SETTLE: one ruled strip, a column per step */
.fx-flow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; counter-reset: flow; background: var(--fx-border); border: 1px solid var(--fx-border); border-radius: var(--fx-radius-lg); overflow: hidden; box-shadow: var(--fx-shadow); }
.fx-flow-step { background: var(--fx-white); padding: 24px 20px 28px; }
.fx-flow-step::before {
  counter-increment: flow; content: counter(flow, decimal-leading-zero); display: block; margin-bottom: 20px;
  font-family: var(--fx-font-mono); font-size: 0.74rem; font-weight: 600; color: var(--fx-blue);
  /* a rule running from the number to the next column */
  background: linear-gradient(var(--fx-border), var(--fx-border)) no-repeat 28px 50% / calc(100% - 28px) 1px;
}
.fx-flow-step h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.09em; margin: 0 0 8px; color: var(--fx-blue-dark); }
.fx-flow-step p { font-size: 0.84rem; color: var(--fx-text-muted); margin: 0; line-height: 1.55; }

/* problem → solution: one ruled table */
.fx-why { background: var(--fx-white); border: 1px solid var(--fx-border); border-radius: var(--fx-radius-lg); overflow: hidden; box-shadow: var(--fx-shadow); }
.fx-why-head, .fx-why-row { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1.15fr); }
.fx-why-head { background: #f8fafc; font-family: var(--fx-font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--fx-text-muted); }
.fx-why-head span { padding: 14px 28px; }
.fx-why-head span:last-child { grid-column: 3; }
.fx-why-row { align-items: center; border-top: 1px solid var(--fx-border); }
.fx-why-problem, .fx-why-fix { position: relative; padding: 22px 28px 22px 66px; }
.fx-why-problem::before, .fx-why-fix::before { content: ""; position: absolute; left: 28px; top: 22px; width: 24px; height: 24px; border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: 12px; }
.fx-why-problem::before { background-color: var(--fx-danger-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23b3261e' stroke-width='3' stroke-linecap='round' d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.fx-why-fix::before { background-color: var(--fx-success-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2318794e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.fx-why-problem strong, .fx-why-fix strong { display: block; font-family: var(--fx-font-display); font-weight: 600; color: var(--fx-text); margin-bottom: 2px; }
.fx-why-problem span, .fx-why-fix span { display: block; font-size: 0.9rem; line-height: 1.55; color: var(--fx-text-muted); }
.fx-why-arrow { display: grid; place-items: center; color: #9aa6b5; font-size: 1rem; }

/* marketplace diagram */
.fx-network { display: grid; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1.1fr) 132px minmax(0, 1fr); align-items: center; }
.fx-node { background: var(--fx-white); border: 1px solid var(--fx-border); border-radius: var(--fx-radius-lg); padding: 28px; box-shadow: var(--fx-shadow); display: flex; flex-direction: column; justify-content: center; }
.fx-node h3 { margin: 0 0 8px; font-size: 1.1rem; }
.fx-node p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--fx-text-muted); }
.fx-node-hub { align-self: stretch; background: linear-gradient(160deg, var(--fx-navy-2), var(--fx-navy)); color: var(--fx-white); border-color: transparent; text-align: center; box-shadow: var(--fx-shadow-lg); }
.fx-node-hub img { height: 26px; width: auto; margin: 0 auto 14px; display: block; }
.fx-node-hub h3 { color: var(--fx-white); font-size: 1.3rem; }
.fx-node-hub p { color: rgba(255,255,255,0.74); }
.fx-node-sub { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--fx-border); }
.fx-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 0 10px; font-size: 0.76rem; color: var(--fx-text-muted); text-align: center; font-weight: 500; line-height: 1.35; }
.fx-link svg { width: 56px; height: 16px; color: #9aa6b5; }
.fx-rail { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; border: 1px solid var(--fx-border); background: var(--fx-blue-soft); border-radius: var(--fx-radius-lg); padding: 16px 20px; }
.fx-rail strong { font-family: var(--fx-font-display); font-weight: 600; color: var(--fx-blue-dark); margin-right: 8px; }
.fx-rail span { background: var(--fx-white); border: 1px solid var(--fx-border); border-radius: 999px; padding: 5px 14px; font-size: 0.85rem; font-weight: 500; }

/* declaration match card */
.fx-match { background: var(--fx-white); border: 1px solid var(--fx-border); border-radius: 12px; padding: 24px; box-shadow: var(--fx-shadow-lg); }
.fx-match-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.fx-match-head strong { color: var(--fx-blue-dark); font-family: var(--fx-font-display); font-weight: 600; }
.fx-match-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1.25fr) 20px; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--fx-border); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.fx-match-row.fx-match-cols { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fx-text-muted); border-top: none; padding: 0 0 10px; }
.fx-match-row svg { width: 18px; height: 18px; color: var(--fx-success); }
.fx-match-row em { font-style: normal; color: var(--fx-text-muted); font-weight: 500; }
.fx-match-verdict { margin-top: 12px; display: flex; align-items: center; gap: 10px; background: var(--fx-success-soft); color: var(--fx-success); border-radius: var(--fx-radius); padding: 12px 14px; font-weight: 600; font-size: 0.9rem; }
.fx-match-verdict svg { width: 18px; height: 18px; flex: none; }

/* settlement timeline card */
.fx-settle { background: var(--fx-white); border: 1px solid var(--fx-border); border-radius: 12px; padding: 24px; box-shadow: var(--fx-shadow-lg); }
.fx-settle ol { list-style: none; margin: 8px 0 0; padding: 0; }
.fx-settle li { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0 12px 34px; font-size: 0.9rem; color: var(--fx-text-muted); }
.fx-settle li strong { color: var(--fx-text); font-weight: 600; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fx-settle li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--fx-success); box-shadow: 0 0 0 4px var(--fx-success-soft); z-index: 1; }
.fx-settle li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 28px; bottom: -16px; width: 2px; background: var(--fx-success-soft); }
.fx-settle li:last-child { color: var(--fx-text); font-weight: 600; }
.fx-settle li:last-child strong { color: var(--fx-success); }

/* founder quote + multimodal + loops */
.fx-quote { font-family: var(--fx-font-display); font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.45; font-weight: 500; letter-spacing: -0.012em; color: var(--fx-blue-dark); border-left: 3px solid var(--fx-yellow); padding: 2px 0 2px 28px; margin: 0 0 24px; max-width: 900px; text-wrap: pretty; }
.fx-quote-by { color: var(--fx-text-muted); font-size: 0.98rem; line-height: 1.65; margin: 0 0 28px 31px; max-width: 760px; }
.fx-quote-by + .fx-btn { margin-left: 31px; }
.fx-container > .fx-eyebrow + .fx-quote { margin-top: 12px; }
.fx-container > .fx-quote:last-child { margin-bottom: 0; }
.fx-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fx-mode { background: var(--fx-white); border: 1px solid var(--fx-border); border-radius: var(--fx-radius-lg); padding: 24px; }
.fx-mode h3 { margin: 18px 0 6px; font-size: 1.15rem; }
.fx-mode p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--fx-text-muted); }
.fx-mode-live { border-color: var(--fx-blue); box-shadow: 0 0 0 1px var(--fx-blue), var(--fx-shadow); }
.fx-mode:not(.fx-mode-live) { background: var(--fx-blue-soft); }
.fx-loop { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fx-loop li { background: var(--fx-white); border: 1px solid var(--fx-border); border-radius: var(--fx-radius); padding: 12px 16px; font-weight: 600; }
.fx-loop li b { color: var(--fx-blue); }
.fx-ctas3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left; margin-top: 44px; }
.fx-cta-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--fx-radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.fx-cta-card h3 { color: var(--fx-white); margin: 0; font-size: 1.15rem; }
.fx-cta-card p { margin: 0 0 14px; color: rgba(255,255,255,0.68); font-size: 0.94rem; line-height: 1.6; max-width: none; flex: 1; }
.fx-cta-card .fx-btn { align-self: flex-start; }

@media (max-width: 1100px) {
  .fx-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fx-flow-step:last-child { grid-column: span 2; }
  .fx-hero-grid { gap: 48px; }
  .fx-hero-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-showcase { gap: 48px; }
  .fx-network { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.1fr) 96px minmax(0, 1fr); }
  .fx-node { padding: 22px; }
}
@media (max-width: 960px) {
  .fx-home > .fx-section { padding: 72px 0; }
  .fx-network { grid-template-columns: minmax(0, 1fr); }
  .fx-link { flex-direction: row; padding: 14px 0; }
  .fx-link svg { transform: rotate(90deg); width: 40px; }
  .fx-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-ctas3 { grid-template-columns: minmax(0, 1fr); }
  .fx-cta-band { padding: 72px 0; }
}
@media (max-width: 640px) {
  .fx-home > .fx-section { padding: 56px 0; }
  .fx-home .fx-section-head { margin-bottom: 32px; }
  .fx-hero-proof { grid-template-columns: minmax(0, 1fr); margin-top: 44px; padding-bottom: 20px; }
  .fx-hero-proof span { padding: 8px 0; }
  .fx-market-pick { margin-top: 28px; }
  .fx-hero-visual { padding: 8px; border-radius: 16px; }
  .fx-mock, .fx-match, .fx-settle, .fx-drawdown { padding-left: 18px; padding-right: 18px; }
  .fx-stage { padding: 14px; border-radius: 16px; }
  .fx-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-why-head { display: none; }
  .fx-why-row { grid-template-columns: minmax(0, 1fr); }
  .fx-why-head + .fx-why-row { border-top: 0; }
  .fx-why-arrow { display: none; }
  .fx-why-problem, .fx-why-fix { padding: 18px 18px 18px 54px; }
  .fx-why-problem::before, .fx-why-fix::before { left: 18px; top: 18px; }
  .fx-why-problem { background: #f8fafc; border-bottom: 1px solid var(--fx-border); }
  .fx-match-row { grid-template-columns: 64px minmax(0, 1fr) 20px; }
  .fx-match-row > :nth-child(3) { display: none; }
  .fx-drawdown td:nth-child(2) { display: none; }
  .fx-drawdown table { font-size: 0.82rem; }
  .fx-quote { padding-left: 18px; }
  .fx-quote-by { margin-left: 21px; }
  .fx-quote-by + .fx-btn { margin-left: 21px; width: calc(100% - 21px); }
  .fx-modes { grid-template-columns: minmax(0, 1fr); }
  .fx-cta-band { padding: 56px 0; }
  .fx-ctas3 { margin-top: 32px; }
  .fx-cta-card { padding: 22px; }
  .fx-cta-card .fx-btn { align-self: stretch; width: 100%; }
}
