:root {
  --fm-bg: #f4f3ed;
  --fm-paper: #ffffff;
  --fm-paper-soft: #fbfbf8;
  --fm-ink: #171814;
  --fm-muted: #676a62;
  --fm-line: #dedfd7;
  --fm-lime: #caff32;
  --fm-lime-dark: #9fd300;
  --fm-lime-soft: #efffc0;
  --fm-radius: 22px;
  --fm-shadow: 0 20px 56px rgba(23, 24, 20, 0.09);
  --fm-container: 1180px;
  --fm-head: "Onest", "Manrope", system-ui, sans-serif;
  --fm-body: "Manrope", "Onest", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fm-ink);
  background: var(--fm-bg);
  font-family: var(--fm-body);
  line-height: 1.65;
}

body.has-preview-banner {
  padding-top: 50px;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.fm-container {
  width: min(calc(100% - 40px), var(--fm-container));
  margin-inline: auto;
}

.fm-preview-banner {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  color: #fff;
  background: var(--fm-ink);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.fm-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(23, 24, 20, 0.1);
  background: rgba(251, 251, 248, 0.94);
  backdrop-filter: blur(18px);
}

.has-preview-banner .fm-header {
  top: 50px;
}

.fm-nav {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.fm-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fm-head);
  font-size: 22px;
  font-weight: 900;
}

.fm-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.fm-nav-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  color: #3f423b;
  font-size: 14px;
  font-weight: 700;
}

.fm-nav-links a,
.fm-footer a {
  transition: color 0.18s ease;
}

.fm-nav-links a:hover,
.fm-footer a:hover {
  color: #648700;
}

.fm-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 12px 20px;
  color: var(--fm-ink);
  background: var(--fm-lime);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.fm-button:hover {
  transform: translateY(-2px);
  background: #bcf51d;
}

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

.fm-button-dark:hover {
  background: #30322b;
}

.fm-button-outline {
  border-color: #b8baaF;
  background: transparent;
}

.fm-button-outline:hover {
  border-color: var(--fm-ink);
  background: #fff;
}

.fm-blog-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 72px;
  border-bottom: 1px solid var(--fm-line);
  background: var(--fm-paper-soft);
}

.fm-blog-hero::after {
  content: "";
  position: absolute;
  right: max(5vw, 40px);
  bottom: 0;
  width: min(30vw, 420px);
  height: 11px;
  border-radius: 10px 10px 0 0;
  background: var(--fm-lime);
}

.fm-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 7px 12px;
  color: #30322b;
  background: var(--fm-lime-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.fm-blog-hero h1,
.fm-article-hero h1 {
  max-width: 940px;
  margin: 20px 0 18px;
  font-family: var(--fm-head);
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.fm-blog-hero p,
.fm-article-lead {
  max-width: 760px;
  margin: 0;
  color: var(--fm-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.fm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 18px;
}

.fm-toolbar h2 {
  margin: 0;
  font-family: var(--fm-head);
  font-size: 30px;
  line-height: 1.1;
}

.fm-count {
  color: var(--fm-muted);
  font-size: 14px;
  font-weight: 700;
}

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

.fm-post-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius);
  padding: 24px;
  background: var(--fm-paper);
  box-shadow: 0 12px 34px rgba(23, 24, 20, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fm-post-card:hover {
  transform: translateY(-4px);
  border-color: #c7c9bf;
  box-shadow: var(--fm-shadow);
}

.fm-post-cover {
  aspect-ratio: 3 / 2;
  display: block;
  margin: -24px -24px 20px;
  overflow: hidden;
  border-radius: calc(var(--fm-radius) - 1px) calc(var(--fm-radius) - 1px) 0 0;
  background: var(--fm-paper-soft);
}

.fm-post-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.fm-post-card:hover .fm-post-cover img {
  transform: scale(1.025);
}

.fm-post-meta,
.fm-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--fm-muted);
  font-size: 13px;
  font-weight: 700;
}

.fm-post-category {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--fm-ink);
  background: var(--fm-lime-soft);
  font-size: 12px;
  font-weight: 800;
}

.fm-post-card h2 {
  margin: 22px 0 12px;
  font-family: var(--fm-head);
  font-size: 25px;
  letter-spacing: 0;
  line-height: 1.13;
}

.fm-post-card p {
  margin: 0 0 24px;
  color: var(--fm-muted);
}

.fm-post-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  font-weight: 800;
}

.fm-post-link span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fm-lime);
}

.fm-empty {
  grid-column: 1 / -1;
  min-height: 230px;
  display: grid;
  place-items: center;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius);
  padding: 42px;
  background: var(--fm-paper);
  text-align: center;
}

.fm-empty h2 {
  margin: 0 0 8px;
  font-family: var(--fm-head);
  font-size: 28px;
}

.fm-empty p {
  max-width: 580px;
  margin: 0;
  color: var(--fm-muted);
}

.fm-article-hero {
  padding: 70px 0 54px;
  border-bottom: 1px solid var(--fm-line);
  background: var(--fm-paper-soft);
}

.fm-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
  color: var(--fm-muted);
  font-size: 13px;
  font-weight: 700;
}

.fm-breadcrumbs a:hover {
  color: var(--fm-ink);
}

.fm-article-hero h1 {
  max-width: 1060px;
  font-size: clamp(40px, 6.2vw, 70px);
}

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

.fm-article-cover-wrap {
  width: min(calc(100% - 40px), 920px);
  padding-top: 34px;
}

.fm-article-visual {
  margin: 30px 0 36px;
}

.fm-article-visual img {
  width: 100%;
  height: auto;
  max-height: 680px;
  display: block;
  object-fit: contain;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius);
  background: var(--fm-paper-soft);
}

.fm-article-cover {
  margin: 0;
}

.fm-article-cover img {
  aspect-ratio: 16 / 9;
  max-height: 518px;
  object-fit: cover;
  box-shadow: 0 18px 52px rgba(23, 24, 20, 0.1);
}

.fm-article-cover-wrap + .fm-article-layout {
  padding-top: 40px;
}

.fm-article-visual figcaption {
  margin-top: 10px;
  color: var(--fm-muted);
  font-size: 14px;
  line-height: 1.45;
}

.fm-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 330px);
  justify-content: space-between;
  gap: 60px;
  padding: 58px 0 72px;
}

.fm-article-body {
  min-width: 0;
  color: #2b2d28;
  font-size: 18px;
}

.fm-article-body h2 {
  margin: 48px 0 16px;
  font-family: var(--fm-head);
  font-size: clamp(28px, 4vw, 39px);
  letter-spacing: 0;
  line-height: 1.1;
}

.fm-article-body h2:first-child {
  margin-top: 0;
}

.fm-article-body p {
  margin: 0 0 18px;
}

.fm-article-body ul {
  display: grid;
  gap: 11px;
  margin: 18px 0 24px;
  padding-left: 24px;
}

.fm-article-body li::marker {
  color: #79a200;
}

.fm-toc {
  margin: 0 0 44px;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius);
  padding: 24px 26px;
  background: var(--fm-paper-soft);
}

.fm-toc strong,
.fm-related strong,
.fm-trust-note strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--fm-head);
  color: var(--fm-ink);
  font-size: 21px;
  line-height: 1.2;
}

.fm-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.fm-toc a,
.fm-related a {
  color: var(--fm-ink);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--fm-lime-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.fm-table-wrap {
  max-width: 100%;
  margin: 28px 0 34px;
  overflow-x: auto;
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.fm-article-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: var(--fm-ink);
  font-size: 15px;
  line-height: 1.45;
}

.fm-article-table caption {
  padding: 20px 22px;
  color: var(--fm-ink);
  font-family: var(--fm-head);
  font-size: 20px;
  font-weight: 800;
  text-align: left;
}

.fm-article-table th,
.fm-article-table td {
  border-top: 1px solid var(--fm-line);
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
}

.fm-article-table th {
  background: var(--fm-lime-soft);
  font-weight: 850;
}

.fm-article-table tbody tr:nth-child(even) {
  background: var(--fm-paper-soft);
}

.fm-takeaways {
  margin: 42px 0;
  border-radius: var(--fm-radius);
  padding: 26px;
  background: var(--fm-lime-soft);
}

.fm-takeaways h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.fm-source {
  margin-top: 42px;
  border-top: 1px solid var(--fm-line);
  padding-top: 22px;
  color: var(--fm-muted);
  font-size: 14px;
}

.fm-source a {
  color: var(--fm-ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--fm-lime-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.fm-trust-note,
.fm-related {
  margin-top: 24px;
  border-radius: var(--fm-radius);
  padding: 22px 24px;
  background: var(--fm-paper-soft);
}

.fm-trust-note p {
  margin: 0;
  color: var(--fm-muted);
  font-size: 15px;
}

.fm-related {
  display: grid;
  gap: 10px;
  background: var(--fm-lime-soft);
}

.fm-related strong {
  margin-bottom: 4px;
}

.fm-related-articles {
  margin-top: 42px;
  border-top: 1px solid var(--fm-line);
  padding-top: 30px;
}

.fm-related-articles h2 {
  margin: 0 0 18px;
  font-family: var(--fm-head);
  font-size: 28px;
  line-height: 1.15;
}

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

.fm-related-article {
  min-width: 0;
  border: 1px solid var(--fm-line);
  border-radius: 16px;
  padding: 17px;
  background: var(--fm-paper);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.fm-related-article:hover {
  transform: translateY(-2px);
  border-color: var(--fm-lime-dark);
}

.fm-related-article span {
  display: block;
  margin-bottom: 8px;
  color: var(--fm-muted);
  font-size: 12px;
  font-weight: 800;
}

.fm-related-article strong {
  display: block;
  font-family: var(--fm-head);
  font-size: 16px;
  line-height: 1.3;
}

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

.fm-side-cta {
  position: sticky;
  top: 106px;
  border-radius: var(--fm-radius);
  padding: 24px;
  color: #fff;
  background: var(--fm-ink);
}

.has-preview-banner .fm-side-cta {
  top: 156px;
}

.fm-side-cta strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--fm-head);
  font-size: 25px;
  line-height: 1.15;
}

.fm-side-cta p {
  margin: 0 0 20px;
  color: #d8dad2;
  font-size: 15px;
}

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

.fm-faq {
  padding: 64px 0;
  border-top: 1px solid var(--fm-line);
  background: var(--fm-paper-soft);
}

.fm-faq h2 {
  margin: 0 0 24px;
  font-family: var(--fm-head);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

.fm-faq-list {
  display: grid;
  gap: 10px;
}

.fm-faq details {
  border: 1px solid var(--fm-line);
  border-radius: 15px;
  padding: 0 20px;
  background: #fff;
}

.fm-faq summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.fm-faq summary::-webkit-details-marker {
  display: none;
}

.fm-faq summary::after {
  content: "+";
  color: #648700;
  font-size: 24px;
}

.fm-faq details[open] summary::after {
  content: "−";
}

.fm-faq details p {
  max-width: 850px;
  margin: 0;
  padding: 0 0 20px;
  color: var(--fm-muted);
}

.fm-conversion {
  padding: 70px 0;
  background: var(--fm-ink);
}

.fm-conversion-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 60px;
}

.fm-conversion h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--fm-head);
  font-size: clamp(34px, 5vw, 55px);
  line-height: 1.05;
}

.fm-conversion p {
  max-width: 550px;
  margin: 0;
  color: #cfd1c7;
  font-size: 18px;
}

.fm-lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-radius: var(--fm-radius);
  padding: 22px;
  background: #fff;
}

.fm-field {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--fm-line);
  border-radius: 12px;
  padding: 13px 15px;
  color: var(--fm-ink);
  background: #fbfbf8;
  outline: none;
}

.fm-field:focus {
  border-color: var(--fm-lime-dark);
  box-shadow: 0 0 0 4px rgba(202, 255, 50, 0.22);
}

.fm-lead-form textarea,
.fm-lead-form .fm-form-wide {
  grid-column: 1 / -1;
}

.fm-lead-form textarea {
  min-height: 98px;
  resize: vertical;
}

.fm-form-status {
  min-height: 20px;
  margin: 0;
  color: #af2a20;
  font-size: 13px;
  font-weight: 800;
}

.fm-form-status.is-success {
  color: #446000;
}

.fm-form-consent {
  margin: 0;
  color: #6d7068;
  font-size: 11px;
  line-height: 1.45;
}

.fm-form-consent a {
  text-decoration: underline;
}

.fm-footer {
  padding: 34px 0;
  border-top: 1px solid #30322d;
  color: #cfd1c7;
  background: var(--fm-ink);
}

.fm-footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fm-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 940px) {
  .fm-nav {
    grid-template-columns: auto 1fr;
  }

  .fm-nav-links {
    display: none;
  }

  .fm-nav > .fm-button {
    justify-self: end;
  }

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

  .fm-article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .fm-side-cta {
    position: static;
  }

  .fm-conversion-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

@media (max-width: 640px) {
  .fm-container {
    width: min(calc(100% - 24px), var(--fm-container));
  }

  .fm-nav {
    min-height: 64px;
    gap: 12px;
  }

  .fm-brand {
    font-size: 18px;
  }

  .fm-brand img {
    width: 30px;
    height: 30px;
  }

  .fm-nav > .fm-button {
    min-height: 44px;
    padding: 10px 13px;
    font-size: 13px;
  }

  .fm-blog-hero,
  .fm-article-hero {
    padding: 54px 0 45px;
  }

  .fm-blog-hero h1,
  .fm-article-hero h1 {
    font-size: 39px;
  }

  .fm-blog-hero p,
  .fm-article-lead {
    font-size: 17px;
  }

  .fm-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .fm-post-grid {
    grid-template-columns: 1fr;
    padding-bottom: 50px;
  }

  .fm-post-card {
    min-height: 290px;
    padding: 20px;
  }

  .fm-post-cover {
    margin: -20px -20px 18px;
  }

  .fm-article-cover-wrap {
    width: min(calc(100% - 24px), 920px);
    padding-top: 20px;
  }

  .fm-article-cover img {
    aspect-ratio: 3 / 2;
    max-height: none;
  }

  .fm-article-visual {
    margin: 24px 0 30px;
  }

  .fm-article-layout {
    padding: 42px 0 52px;
  }

  .fm-article-cover-wrap + .fm-article-layout {
    padding-top: 28px;
  }

  .fm-article-body {
    font-size: 17px;
  }

  .fm-takeaways,
  .fm-side-cta {
    padding: 20px;
  }

  .fm-conversion {
    padding: 52px 0;
  }

  .fm-lead-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .fm-lead-form textarea,
  .fm-lead-form .fm-form-wide {
    grid-column: auto;
  }

  .fm-footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .fm-footer-links {
    justify-content: flex-start;
  }
}
