:root {
  --fm-text: #101828;
  --fm-text-soft: #27364a;
  --fm-muted: #667085;
  --fm-blue: #4169e1;
  --fm-blue-dark: #1f3fae;
  --fm-navy: #102a68;
  --fm-bg: #ffffff;
  --fm-bg-soft: #f7f9fc;
  --fm-border: #d9e2f7;
  --fm-teal: #14b8a6;
  --fm-max: 1180px;
  --fm-readable: 760px;
  --fm-radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fm-text);
  background: var(--fm-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--fm-blue-dark);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 247, 0.9);
  backdrop-filter: blur(14px);
}

.site-header__inner,
.site-footer__inner,
.fm-post-hero__inner,
.fm-post-layout,
.fm-related-posts__inner,
.fm-final-cta__inner,
.fm-index-hero__inner,
.fm-post-grid-section__inner,
.fm-page-hero__inner,
.fm-page-content {
  width: min(var(--fm-max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-brand {
  flex: 0 0 auto;
  min-width: 176px;
  display: inline-flex;
}

.site-brand__text {
  display: inline-flex;
  align-items: center;
}

.site-brand__logo {
  width: 176px;
  height: auto;
  object-fit: contain;
}

.site-brand__name {
  color: var(--fm-text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
  margin-left: 0;
}

.site-nav__list,
.site-footer__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--fm-text-soft);
  font-size: 14.5px;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: #fff;
  color: var(--fm-text);
  cursor: pointer;
}

.site-nav-toggle__bars,
.site-nav-toggle__bars::before,
.site-nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav-toggle__bars {
  position: relative;
}

.site-nav-toggle__bars::before,
.site-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-nav-toggle__bars::before {
  top: -7px;
}

.site-nav-toggle__bars::after {
  top: 7px;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bars {
  transform: rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bars::before {
  opacity: 0;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle__bars::after {
  top: 0;
  transform: rotate(-90deg);
}

.site-header__cta,
.fm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--fm-blue-dark);
  border-radius: var(--fm-radius);
  background: var(--fm-blue-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.site-header__cta {
  flex: 0 0 auto;
  min-width: max-content;
}

.site-header__cta:hover,
.fm-button:hover {
  background: var(--fm-blue);
  border-color: var(--fm-blue);
  color: #fff;
}

.fm-button--light {
  border-color: #fff;
  background: #fff;
  color: var(--fm-blue-dark);
}

.fm-button--light:hover {
  border-color: #eaf0ff;
  background: #eaf0ff;
  color: var(--fm-blue-dark);
}

.fm-button--small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.fm-post-hero {
  background: #fff;
  border-bottom: 1px solid rgba(217, 226, 247, 0.8);
}

.fm-post-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(280px, 42fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0 56px;
}

.fm-post-hero__copy {
  min-width: 0;
}

.fm-eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--fm-blue-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fm-post-title {
  max-width: 820px;
  margin: 0;
  color: var(--fm-text);
  font-size: clamp(2.125rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.fm-post-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--fm-muted);
  font-size: 20px;
  line-height: 1.6;
}

.fm-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--fm-border);
  color: var(--fm-muted);
  font-size: 14px;
  font-weight: 650;
}

.fm-post-hero__image {
  margin: 0;
}

.fm-post-hero__image img,
.fm-post-card__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #eef4ff;
}

.fm-post-hero__image img {
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  box-shadow: 0 20px 54px rgba(16, 40, 104, 0.12);
}

.fm-single-hero {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 64%, #f7f9fc 64%, #eef4ff 100%);
  border-bottom: 1px solid var(--fm-border);
}

.fm-single-hero__inner {
  width: min(var(--fm-max), calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 56px;
  margin: 0 auto;
  padding: 72px 0 56px;
}

.fm-single-hero__copy {
  min-width: 0;
}

.fm-single-hero__image {
  margin: 0;
}

.fm-single-hero__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: #eef4ff;
  box-shadow: 0 20px 54px rgba(16, 40, 104, 0.12);
}

.fm-single-article .fm-post-layout {
  grid-template-columns: minmax(0, 800px) 300px;
  gap: 58px;
}

.fm-single-article .fm-article-content {
  padding: 8px 0 0;
}

.fm-single-article .fm-article-content > p:first-child {
  color: var(--fm-text);
  font-size: 20px;
  line-height: 1.68;
}

.fm-page-links {
  margin-top: 30px;
  color: var(--fm-muted);
  font-weight: 700;
}

.fm-post-main {
  background: #fff;
}

.fm-post-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--fm-readable)) 280px;
  align-items: start;
  gap: 64px;
  padding: 56px 0 76px;
}

.fm-article-wrap {
  min-width: 0;
}

.fm-article-content {
  max-width: var(--fm-readable);
}

.fm-article-content p {
  margin: 0 0 22px;
  color: var(--fm-text-soft);
  font-size: 18px;
  line-height: 1.72;
}

.fm-article-content h2 {
  margin: 48px 0 16px;
  color: var(--fm-text);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.16;
}

.fm-article-content h3 {
  margin: 34px 0 12px;
  color: var(--fm-text);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
}

.fm-article-content ul,
.fm-article-content ol {
  margin: 0 0 24px;
  padding-left: 22px;
}

.fm-article-content li {
  margin-bottom: 8px;
  color: var(--fm-text-soft);
  font-size: 18px;
  line-height: 1.65;
}

.fm-article-content blockquote {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 5px solid var(--fm-blue);
  background: var(--fm-bg-soft);
  color: var(--fm-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.fm-article-content .fm-wp-callout {
  margin: 30px 0;
  padding: 24px 26px;
  border: 1px solid var(--fm-border);
  border-left: 5px solid var(--fm-blue);
  border-radius: var(--fm-radius);
  background: var(--fm-bg-soft);
}

.fm-article-content .fm-wp-callout h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.fm-article-content .fm-wp-callout p {
  margin-bottom: 0;
}

.fm-article-content a {
  color: var(--fm-blue-dark);
  font-weight: 800;
  border-bottom: 1px solid rgba(31, 63, 174, 0.24);
}

.fm-article-content a:hover {
  border-bottom-color: var(--fm-blue-dark);
}

.fm-post-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.fm-sidebar-box {
  padding: 22px;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: var(--fm-bg-soft);
}

.fm-sidebar-box h2 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.25;
}

.fm-sidebar-box p {
  margin: 0;
  color: var(--fm-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.fm-sidebar-box--cta p {
  margin-bottom: 16px;
}

.fm-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fm-tag-list a {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid var(--fm-border);
  border-radius: 999px;
  background: #fff;
  color: var(--fm-blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.fm-author-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin-top: 54px;
  padding: 32px;
  border-radius: var(--fm-radius);
  background: var(--fm-navy);
  color: #fff;
}

.fm-author-box__label {
  margin: 0 0 8px;
  color: #cbd7ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fm-author-box h2 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.2;
}

.fm-author-box p:not(.fm-author-box__label) {
  margin: 0;
  color: #eef3ff;
  font-size: 16px;
  line-height: 1.6;
}

.fm-related-posts {
  background: var(--fm-bg-soft);
  border-top: 1px solid var(--fm-border);
  border-bottom: 1px solid var(--fm-border);
}

.fm-related-posts__inner {
  padding: 64px 0;
}

.fm-related-posts h2,
.fm-post-grid-section h1 {
  margin: 0 0 28px;
  font-size: 34px;
  line-height: 1.15;
}

.fm-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.fm-post-card {
  overflow: hidden;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.fm-post-card:hover {
  border-color: #8aa6b8;
  transform: translateY(-2px);
}

.fm-post-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf0ff;
}

.fm-post-card__body {
  padding: 22px;
}

.fm-post-card__category {
  display: inline-flex;
  margin-bottom: 10px;
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
}

.fm-post-card__title {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.28;
}

.fm-post-card__title a {
  color: var(--fm-text);
}

.fm-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--fm-muted);
  font-size: 13.5px;
  font-weight: 650;
}

.fm-post-card__meta {
  margin: -4px 0 12px;
}

.fm-post-card__excerpt {
  margin: 0 0 16px;
  color: var(--fm-muted);
  font-size: 15px;
  line-height: 1.6;
}

.fm-text-link {
  color: var(--fm-blue-dark);
  font-size: 15px;
  font-weight: 800;
}

.fm-final-cta {
  background: var(--fm-blue-dark);
  color: #fff;
}

.fm-final-cta__inner {
  max-width: 900px;
  padding: 72px 0;
  text-align: center;
}

.fm-final-cta h2 {
  margin: 0 auto 16px;
  max-width: 780px;
  font-size: 36px;
  line-height: 1.14;
}

.fm-final-cta p {
  margin: 0 auto 28px;
  max-width: 720px;
  color: #eaf0ff;
  font-size: 18px;
  line-height: 1.65;
}

.fm-index-hero,
.fm-page-hero {
  background: var(--fm-bg-soft);
  border-bottom: 1px solid var(--fm-border);
}

.fm-index-hero__inner,
.fm-page-hero__inner {
  max-width: 980px;
  padding: 78px 0 56px;
}

.fm-index-hero h1,
.fm-page-hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.fm-index-hero p,
.fm-page-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--fm-muted);
  font-size: 20px;
  line-height: 1.6;
}

.fm-post-grid-section__inner {
  padding: 64px 0;
}

.fm-page-content {
  max-width: var(--fm-readable);
  padding: 56px 0 76px;
}

.fm-knowledge-hero {
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 58%, #f7f9fc 58%, #eef4ff 100%);
  border-bottom: 1px solid var(--fm-border);
}

.fm-knowledge-hero__inner,
.fm-knowledge-topics__inner,
.fm-knowledge-featured__inner,
.fm-knowledge-library__inner {
  width: min(var(--fm-max), calc(100% - 40px));
  margin: 0 auto;
}

.fm-knowledge-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 72px;
  padding: 76px 0 64px;
}

.fm-knowledge-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--fm-text);
  font-size: clamp(2.1rem, 4.1vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

.fm-knowledge-hero p {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--fm-muted);
  font-size: 19px;
  line-height: 1.62;
}

.fm-knowledge-briefing {
  padding: 24px;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: #fff;
  box-shadow: 0 22px 60px rgba(16, 40, 104, 0.12);
}

.fm-knowledge-briefing span,
.fm-knowledge-topics__inner > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--fm-teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fm-knowledge-briefing p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
}

.fm-knowledge-topics {
  border-bottom: 1px solid var(--fm-border);
  background: #fff;
}

.fm-knowledge-topics__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
}

.fm-knowledge-topics__inner > span {
  margin-bottom: 0;
  color: var(--fm-blue-dark);
}

.fm-topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fm-topic-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--fm-border);
  border-radius: 999px;
  background: var(--fm-bg-soft);
  color: var(--fm-text-soft);
  font-size: 14px;
  font-weight: 700;
}

.fm-topic-pills a:hover {
  border-color: var(--fm-blue);
  background: #fff;
  color: var(--fm-blue-dark);
}

.fm-knowledge-featured {
  background: #fff;
}

.fm-knowledge-featured__inner {
  padding: 72px 0 34px;
}

.fm-featured-article {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.74fr);
  overflow: hidden;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: #fff;
  box-shadow: 0 22px 60px rgba(16, 40, 104, 0.12);
}

.fm-featured-article__image {
  min-height: 100%;
  background: #eaf0ff;
}

.fm-featured-article__image img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: contain;
  background: #eef4ff;
}

.fm-featured-article__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px;
}

.fm-featured-article h3 {
  margin: 0 0 14px;
  color: var(--fm-text);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.08;
}

.fm-featured-article h3 a {
  color: inherit;
}

.fm-featured-article p {
  margin: 0 0 18px;
  color: var(--fm-muted);
  font-size: 17px;
  line-height: 1.65;
}

.fm-featured-article .fm-button {
  margin-top: 24px;
}

.fm-knowledge-library {
  background: var(--fm-bg-soft);
}

.fm-knowledge-library__inner {
  padding: 64px 0 76px;
}

.fm-archive-description p {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--fm-muted);
  font-size: 19px;
  line-height: 1.62;
}

.fm-post-grid--knowledge {
  align-items: stretch;
}

.fm-post-grid--knowledge .fm-post-card {
  display: flex;
  flex-direction: column;
}

.fm-post-grid--knowledge .fm-post-card__image img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.fm-post-grid--knowledge .fm-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.fm-post-grid--knowledge .fm-post-card__excerpt {
  flex: 1;
}

.fm-empty-state {
  max-width: 680px;
  padding: 32px;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: #fff;
}

.fm-empty-state h2 {
  margin: 0 0 12px;
  color: var(--fm-text);
  font-size: 28px;
  line-height: 1.18;
}

.fm-empty-state p {
  margin: 0 0 22px;
  color: var(--fm-muted);
  font-size: 17px;
  line-height: 1.6;
}

.fm-legal-hero {
  background: #fff;
}

.fm-legal-layout {
  width: min(var(--fm-max), calc(100% - 40px));
  display: grid;
  grid-template-columns: 260px minmax(0, var(--fm-readable));
  align-items: start;
  gap: 64px;
  margin: 0 auto;
  padding: 56px 0 82px;
}

.fm-legal-note {
  position: sticky;
  top: 108px;
  padding: 20px;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: var(--fm-bg-soft);
}

.fm-legal-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--fm-text);
  font-size: 15px;
}

.fm-legal-note p {
  margin: 0;
  color: var(--fm-muted);
  font-size: 14px;
  line-height: 1.55;
}

.fm-legal-content {
  max-width: var(--fm-readable);
}

.fm-legal-content section {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--fm-border);
}

.fm-legal-content section:last-of-type {
  border-bottom: 0;
}

.fm-legal-content h2 {
  margin-top: 0;
  font-size: 25px;
}

.fm-legal-updated {
  margin-top: 34px;
  color: var(--fm-muted);
  font-size: 15px;
}

.fm-contact-hero {
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 58%, #f7f9fc 58%, #eef4ff 100%);
  border-bottom: 1px solid var(--fm-border);
}

.fm-contact-hero__inner {
  width: min(var(--fm-max), calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.55fr);
  align-items: center;
  gap: 72px;
  margin: 0 auto;
  padding: 76px 0 68px;
}

.fm-contact-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--fm-text);
  font-size: clamp(2.1rem, 4.1vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

.fm-contact-hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--fm-muted);
  font-size: 19px;
  line-height: 1.62;
}

.fm-contact-card {
  padding: 28px;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: #fff;
  box-shadow: 0 22px 60px rgba(16, 40, 104, 0.12);
}

.fm-contact-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--fm-teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fm-contact-card h2 {
  margin: 0;
  color: var(--fm-text);
  font-size: 25px;
  line-height: 1.2;
}

.fm-contact-card p {
  margin: 14px 0 22px;
  font-size: 16px;
  line-height: 1.6;
}

.fm-contact-layout {
  width: min(var(--fm-max), calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 54px;
  margin: 0 auto;
}

.fm-contact-form-placeholder {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: #fff;
}

.fm-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fm-contact-form-placeholder label {
  display: grid;
  gap: 8px;
}

.fm-contact-form-placeholder label span {
  color: var(--fm-text);
  font-size: 14px;
  font-weight: 700;
}

.fm-contact-form-placeholder input,
.fm-contact-form-placeholder select,
.fm-contact-form-placeholder textarea {
  width: 100%;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: var(--fm-bg-soft);
  color: var(--fm-text-soft);
  font: inherit;
}

.fm-contact-form-placeholder input,
.fm-contact-form-placeholder select {
  min-height: 46px;
  padding: 0 14px;
}

.fm-contact-form-placeholder textarea {
  resize: vertical;
  padding: 14px;
}

.fm-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
}

.fm-form-footer p {
  margin: 0;
  color: var(--fm-muted);
  font-size: 14px;
}

.fm-contact-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
}

.fm-contact-info-box {
  padding: 22px;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: var(--fm-bg-soft);
}

.fm-contact-info-box h2 {
  margin: 0 0 12px;
  color: var(--fm-text);
  font-size: 18px;
  line-height: 1.25;
}

.fm-contact-info-box p {
  margin: 0 0 12px;
  color: var(--fm-muted);
  font-size: 15px;
  line-height: 1.6;
}

.fm-contact-info-box p:last-child {
  margin-bottom: 0;
}

.fm-contact-info-box ul {
  margin: 0;
  padding-left: 18px;
}

.fm-contact-info-box li {
  margin-bottom: 8px;
  color: var(--fm-text-soft);
  line-height: 1.55;
}

.fm-home-hero {
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 56%, #f7f9fc 56%, #eef4ff 100%);
  border-bottom: 1px solid var(--fm-border);
}

.fm-home-hero__inner,
.fm-section__inner {
  width: min(var(--fm-max), calc(100% - 40px));
  margin: 0 auto;
}

.fm-home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 0.9fr);
  align-items: center;
  gap: 58px;
  padding: 64px 0 56px;
}

.fm-home-hero h1 {
  max-width: 690px;
  margin: 0;
  color: var(--fm-text);
  font-size: clamp(2.1rem, 4.1vw, 3.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.fm-home-hero__lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--fm-muted);
  font-size: 19px;
  line-height: 1.62;
}

.fm-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.fm-button--secondary {
  border-color: var(--fm-border);
  background: #fff;
  color: var(--fm-blue-dark);
}

.fm-button--secondary:hover {
  border-color: var(--fm-blue);
  background: var(--fm-bg-soft);
  color: var(--fm-blue-dark);
}

.fm-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.fm-trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--fm-text-soft);
  font-size: 14px;
  font-weight: 800;
}

.fm-home-hero__visual {
  margin: 0;
}

.fm-home-hero__visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  box-shadow: 0 22px 60px rgba(16, 40, 104, 0.16);
}

.fm-section {
  background: #fff;
}

.fm-section--soft {
  background: var(--fm-bg-soft);
}

.fm-section__inner {
  padding: 80px 0;
}

.fm-section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.fm-section-heading h2,
.fm-section--dark h2 {
  margin: 0;
  color: var(--fm-text);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.06;
}

.fm-section-heading p {
  margin: 18px 0 0;
  color: var(--fm-muted);
  font-size: 18px;
  line-height: 1.65;
}

.fm-card-grid,
.fm-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.fm-feature-card,
.fm-model-grid article {
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: #fff;
  padding: 24px;
}

.fm-feature-card h3,
.fm-model-grid h3 {
  margin: 0 0 12px;
  color: var(--fm-text);
  font-size: 22px;
  line-height: 1.22;
}

.fm-feature-card p,
.fm-model-grid p {
  margin: 0;
  color: var(--fm-muted);
  font-size: 16px;
  line-height: 1.65;
}

.fm-feature-card ul {
  margin: 0;
  padding-left: 20px;
}

.fm-feature-card li {
  margin-bottom: 8px;
  color: var(--fm-text-soft);
  line-height: 1.55;
}

.fm-model-grid article {
  background: #fff;
}

.fm-model-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--fm-teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.fm-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: fm-step;
}

.fm-steps li {
  counter-increment: fm-step;
  display: grid;
  grid-template-columns: 64px minmax(0, 0.35fr) minmax(0, 0.65fr);
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: #fff;
}

.fm-steps li::before {
  content: counter(fm-step, decimal-leading-zero);
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--fm-radius);
  background: var(--fm-blue-dark);
  color: #fff;
  font-weight: 900;
}

.fm-steps strong {
  color: var(--fm-text);
  font-size: 18px;
}

.fm-steps span {
  color: var(--fm-muted);
  line-height: 1.6;
}

.fm-section--dark {
  background: var(--fm-navy);
  color: #fff;
}

.fm-section--dark .fm-eyebrow {
  color: #bfcaff;
}

.fm-section--dark h2 {
  color: #fff;
}

.fm-section--dark p {
  margin: 0;
  color: #eaf0ff;
  font-size: 18px;
  line-height: 1.65;
}

.fm-section--dark blockquote {
  margin: 28px 0 0;
  padding: 20px 24px;
  border-left: 5px solid var(--fm-teal);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}

.fm-split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: start;
}

.fm-post-grid--featured {
  grid-template-columns: minmax(0, 1fr);
  max-width: 520px;
}

.fm-pagination {
  margin-top: 42px;
}

.fm-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fm-pagination a,
.fm-pagination span {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: #fff;
  color: var(--fm-blue-dark);
  font-weight: 800;
}

.site-footer {
  background: #0f1f48;
  color: #fff;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(420px, 0.9fr);
  gap: 72px;
  padding: 56px 0 42px;
}

.site-footer__brand {
  max-width: 520px;
}

.site-footer__logo-link {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 10px 14px;
  border-radius: var(--fm-radius);
  background: #fff;
}

.site-footer__logo {
  width: 180px;
  height: auto;
}

.site-footer__brand p {
  margin: 0;
  color: #cbd7ff;
  font-size: 17px;
  line-height: 1.65;
}

.site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 24px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--fm-radius);
  background: #fff;
  color: var(--fm-blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.site-footer__cta:hover {
  border-color: #fff;
  background: #eaf0ff;
  color: var(--fm-blue-dark);
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}

.site-footer__nav h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__list {
  display: grid;
  gap: 10px;
}

.site-footer__list a {
  color: #eef3ff;
  font-size: 15px;
  font-weight: 700;
}

.site-footer__list a:hover,
.site-footer__bottom a:hover {
  color: #fff;
}

.site-footer__bottom {
  width: min(var(--fm-max), calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(203, 215, 255, 0.2);
  color: #aebff3;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 14px;
}

.site-footer__bottom nav {
  display: flex;
  gap: 18px;
}

.site-footer__bottom a {
  color: #cbd7ff;
  font-size: 14px;
  font-weight: 700;
}

/* Typography refinement: keep headings confident, but less heavy than the first upload. */
.site-nav a,
.site-header__cta,
.fm-button,
.fm-eyebrow,
.fm-trust-row span,
.fm-model-grid span,
.fm-steps li::before,
.fm-pagination a,
.fm-pagination span,
.fm-post-meta,
.fm-tag-list a,
.fm-text-link {
  font-weight: 700;
}

.fm-home-hero h1,
.fm-post-title,
.fm-index-hero h1,
.fm-page-hero h1,
.fm-section-heading h2,
.fm-section--dark h2,
.fm-article-content h2,
.fm-article-content h3,
.fm-related-posts h2,
.fm-post-grid-section h1,
.fm-final-cta h2,
.fm-author-box h2,
.fm-sidebar-box h2,
.fm-post-card__title,
.fm-feature-card h3,
.fm-model-grid h3 {
  font-weight: 700;
}

.fm-home-hero h1 {
  letter-spacing: 0;
  line-height: 1.05;
}

.fm-section-heading h2,
.fm-section--dark h2 {
  line-height: 1.08;
}

@media (max-width: 980px) {
  .site-header__inner {
    min-height: 70px;
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 0;
  }

  .site-brand {
    min-width: 0;
    margin-right: auto;
  }

  .site-brand__logo {
    width: 158px;
  }

  .site-nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .site-nav {
    order: 3;
    width: 100%;
    display: none;
    margin-left: 0;
    padding: 14px;
    border: 1px solid var(--fm-border);
    border-radius: var(--fm-radius);
    background: #fff;
    box-shadow: 0 18px 42px rgba(16, 40, 104, 0.12);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    display: grid;
    gap: 4px;
  }

  .site-nav__list a {
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 0 10px;
    border-radius: var(--fm-radius);
    font-size: 15px;
  }

  .site-nav__list a:hover {
    background: var(--fm-bg-soft);
  }

  .site-header__cta {
    order: 1;
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .fm-post-hero__inner,
  .fm-single-hero__inner,
  .fm-post-layout,
  .fm-home-hero__inner,
  .fm-knowledge-hero__inner,
  .fm-featured-article,
  .fm-contact-hero__inner,
  .fm-contact-layout,
  .fm-split,
  .fm-legal-layout {
    grid-template-columns: 1fr;
  }

  .fm-legal-layout {
    gap: 28px;
  }

  .fm-legal-note {
    position: static;
  }

  .fm-post-hero__inner {
    gap: 30px;
    padding-top: 56px;
    padding-bottom: 44px;
  }

  .fm-single-hero__inner {
    gap: 30px;
    padding-top: 56px;
    padding-bottom: 44px;
  }

  .fm-post-layout {
    gap: 36px;
  }

  .fm-knowledge-hero__inner {
    align-items: start;
    gap: 30px;
  }

  .fm-post-sidebar {
    position: static;
  }

  .fm-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fm-card-grid,
  .fm-model-grid {
    grid-template-columns: 1fr;
  }

  .fm-steps li {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .fm-steps span {
    grid-column: 2;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 768px) {
  .site-header__inner,
  .site-footer__inner,
  .site-footer__bottom,
  .fm-post-hero__inner,
  .fm-single-hero__inner,
  .fm-post-layout,
  .fm-related-posts__inner,
  .fm-final-cta__inner,
  .fm-index-hero__inner,
  .fm-post-grid-section__inner,
  .fm-knowledge-hero__inner,
  .fm-knowledge-topics__inner,
  .fm-knowledge-featured__inner,
  .fm-knowledge-library__inner,
  .fm-page-hero__inner,
  .fm-page-content,
  .fm-contact-hero__inner,
  .fm-contact-layout,
  .fm-legal-layout {
    width: min(100% - 32px, var(--fm-max));
  }

  .site-header__cta {
    width: auto;
  }

  .fm-post-hero__inner {
    padding-top: 36px;
    padding-bottom: 34px;
  }

  .fm-single-hero {
    background: #fff;
  }

  .fm-single-hero__inner {
    gap: 22px;
    padding-top: 36px;
    padding-bottom: 34px;
  }

  .fm-post-title,
  .fm-single-hero h1,
  .fm-knowledge-hero h1,
  .fm-index-hero h1,
  .fm-page-hero h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.08;
  }

  .fm-eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.35;
  }

  .fm-single-hero__image img,
  .fm-post-hero__image img {
    box-shadow: 0 14px 34px rgba(16, 40, 104, 0.12);
  }

  .fm-home-hero {
    background: #fff;
  }

  .fm-knowledge-hero {
    background: #fff;
  }

  .fm-home-hero__inner,
  .fm-section__inner {
    width: min(100% - 32px, var(--fm-max));
  }

  .fm-home-hero__inner {
    gap: 28px;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .fm-contact-hero {
    background: #fff;
  }

  .fm-contact-hero__inner {
    gap: 28px;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .fm-contact-hero p {
    font-size: 17px;
  }

  .fm-knowledge-hero p {
    font-size: 17px;
  }

  .fm-knowledge-topics__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .fm-knowledge-featured__inner {
    padding-top: 48px;
  }

  .fm-featured-article__image img {
    min-height: 220px;
  }

  .fm-featured-article__body {
    padding: 24px;
  }

  .fm-home-hero__lead {
    font-size: 17px;
  }

  .fm-button-row .fm-button {
    width: 100%;
  }

  .fm-form-row,
  .fm-form-footer {
    grid-template-columns: 1fr;
  }

  .fm-form-footer {
    display: grid;
  }

  .fm-form-footer .fm-button {
    width: 100%;
  }

  .fm-trust-row span {
    width: 100%;
  }

  .fm-section__inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .fm-section-heading {
    margin-bottom: 26px;
  }

  .fm-section-heading p {
    font-size: 16.5px;
  }

  .fm-feature-card,
  .fm-model-grid article {
    padding: 22px;
  }

  .fm-steps li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fm-steps li::before {
    width: 44px;
    height: 44px;
  }

  .fm-steps span {
    grid-column: auto;
  }

  .fm-post-lead,
  .fm-index-hero p,
  .fm-page-hero p {
    font-size: 17px;
  }

  .fm-post-lead {
    margin-top: 16px;
    line-height: 1.55;
  }

  .fm-post-meta {
    gap: 6px 10px;
    margin-top: 18px;
    padding-top: 14px;
    font-size: 13px;
  }

  .fm-post-layout {
    gap: 30px;
    padding-top: 30px;
    padding-bottom: 54px;
  }

  .fm-single-article .fm-post-layout {
    grid-template-columns: 1fr;
  }

  .fm-single-article .fm-article-content {
    padding-top: 0;
  }

  .fm-single-article .fm-article-content > p:first-child {
    font-size: 17.5px;
    line-height: 1.68;
  }

  .fm-article-content p,
  .fm-article-content li {
    font-size: 16px;
    line-height: 1.72;
  }

  .fm-article-content h2 {
    margin-top: 38px;
    font-size: 24px;
    line-height: 1.18;
  }

  .fm-article-content h3 {
    font-size: 20px;
    line-height: 1.25;
  }

  .fm-legal-layout {
    padding-top: 36px;
    padding-bottom: 56px;
  }

  .fm-legal-content h2 {
    font-size: 23px;
  }

  .fm-article-content blockquote {
    padding: 18px 20px;
    font-size: 18px;
  }

  .fm-article-content .fm-wp-callout {
    padding: 20px;
  }

  .fm-author-box {
    grid-template-columns: 1fr;
    padding: 24px;
    margin-top: 38px;
  }

  .fm-author-box .fm-button {
    width: 100%;
  }

  .fm-post-grid {
    grid-template-columns: 1fr;
  }

  .fm-post-card__body {
    padding: 18px;
  }

  .fm-post-card__title {
    font-size: 19px;
  }

  .fm-post-card__excerpt {
    font-size: 14.5px;
  }

  .fm-post-sidebar {
    gap: 12px;
  }

  .fm-sidebar-box {
    padding: 18px;
  }

  .fm-sidebar-box--cta .fm-button {
    width: 100%;
  }

  .fm-final-cta h2,
  .fm-related-posts h2 {
    font-size: 28px;
  }

  .fm-final-cta__inner {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .site-footer__inner {
    padding-top: 44px;
  }

  .site-footer__columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer__bottom {
    flex-direction: column;
    padding-bottom: 26px;
  }
}

@media (max-width: 420px) {
  .site-header__inner,
  .site-footer__inner,
  .site-footer__bottom,
  .fm-post-hero__inner,
  .fm-single-hero__inner,
  .fm-post-layout,
  .fm-related-posts__inner,
  .fm-final-cta__inner,
  .fm-index-hero__inner,
  .fm-post-grid-section__inner,
  .fm-knowledge-hero__inner,
  .fm-knowledge-topics__inner,
  .fm-knowledge-featured__inner,
  .fm-knowledge-library__inner,
  .fm-page-hero__inner,
  .fm-page-content,
  .fm-contact-hero__inner,
  .fm-contact-layout,
  .fm-legal-layout {
    width: min(100% - 24px, var(--fm-max));
  }

  .fm-post-title,
  .fm-single-hero h1,
  .fm-knowledge-hero h1,
  .fm-index-hero h1,
  .fm-page-hero h1 {
    font-size: clamp(1.8rem, 10vw, 2.25rem);
  }

  .fm-single-hero__inner,
  .fm-knowledge-hero__inner {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .fm-article-content p,
  .fm-article-content li {
    font-size: 15.5px;
  }

  .fm-article-content h2 {
    font-size: 22px;
  }

  .fm-button,
  .site-header__cta {
    width: 100%;
    min-height: 46px;
    padding-right: 14px;
    padding-left: 14px;
    text-align: center;
  }

  .site-header__cta {
    order: 3;
  }

  .site-nav {
    order: 4;
  }

  .fm-featured-article__body,
  .fm-contact-card,
  .fm-contact-form-placeholder,
  .fm-empty-state {
    padding: 20px;
  }
}
