/* Bundled fonts prevent the landing page from inheriting an unrelated theme font. */
@font-face { font-family: Karla; src: url("fonts/karla-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Karla; src: url("fonts/karla-500.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: Karla; src: url("fonts/karla-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: Karla; src: url("fonts/karla-700.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: Poppins; src: url("fonts/poppins-400.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url("fonts/poppins-500.ttf") format("truetype"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: Poppins; src: url("fonts/poppins-600.ttf") format("truetype"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url("fonts/poppins-700.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: Poppins; src: url("fonts/poppins-800.ttf") format("truetype"); font-style: normal; font-weight: 800; font-display: swap; }

.flm-landing {
  --flm-forest: #1f4d3a;
  --flm-sage: #9dcc78;
  --flm-mist: #eaf5e7;
  --flm-ivory: #fcfcf8;
  --flm-charcoal: #24322d;
  --flm-line: #d7e5d2;
  max-width: 1180px;
  margin: 44px auto;
  padding: 44px;
  color: var(--flm-charcoal);
  background: var(--flm-ivory);
  border-radius: 22px;
  box-shadow: 0 20px 58px rgba(31, 77, 58, .1);
}

/* Match the WordPress page title to the landing grid without changing other pages. */
.flm-diagnostic-page .spnc-entry-title {
  width: min(1180px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.flm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: 56px;
  align-items: center;
}

.flm-copy-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(132px, 170px);
  gap: 28px;
  align-items: start;
}

.flm-resource-cover {
  width: 100%;
  max-width: 170px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-top: 2px;
  background: #dcebd7;
  border: 1px solid rgba(31, 77, 58, .14);
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(31, 77, 58, .16);
}

.flm-resource-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flm-resource-cover-fallback {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 15px 13px;
  color: #fff;
  background: linear-gradient(155deg, #1f4d3a 0%, #2f6d50 55%, #9dcc78 170%);
}

.flm-resource-cover-fallback span {
  color: #c7eba9;
  font: 700 13px/1 Poppins, sans-serif;
  letter-spacing: -.03em;
}

.flm-resource-cover-fallback strong {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font: 700 17px/1.12 Poppins, sans-serif;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.flm-resource-cover-fallback small {
  color: #dff0d5;
  font: 700 8px/1.3 Poppins, sans-serif;
  letter-spacing: .09em;
}

.flm-eyebrow {
  margin: 0 0 14px;
  color: #237b73;
  font: 700 12px/1.2 Poppins, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.flm-landing h1,
.flm-landing h2,
.flm-landing h3,
.flm-landing button,
.flm-download {
  font-family: Poppins, sans-serif;
}

.flm-campaign-title {
  max-width: 640px;
  margin: 0;
  color: var(--flm-forest);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.flm-lead {
  max-width: 625px;
  margin: 21px 0;
  color: #52675b;
  font-size: 19px;
  line-height: 1.6;
}

.flm-benefits {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.flm-benefits li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.45;
}

.flm-benefits li::before {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-top: 1px;
  color: var(--flm-forest);
  background: var(--flm-sage);
  border-radius: 50%;
  content: "✓";
  font-weight: 800;
}

.flm-form-card {
  padding: 31px;
  background: #fff;
  border: 1px solid var(--flm-line);
  border-radius: 17px;
}

.flm-form-card h2 {
  margin: 0;
  color: var(--flm-forest);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.015em;
}

.flm-form-card > p {
  margin: 8px 0 22px;
  color: #65766b;
}

.flm-form {
  display: grid;
  gap: 8px;
}

.flm-form label {
  margin-top: 7px;
  color: var(--flm-forest);
  font: 700 14px/1.3 Karla, sans-serif;
}

.flm-form input:not([type="checkbox"]),
.flm-form select {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  color: var(--flm-charcoal);
  background: #fff;
  border: 1px solid #b9cdbd;
  border-radius: 7px;
  font: 400 16px/1.3 Karla, sans-serif;
}

.flm-form input:focus,
.flm-form select:focus {
  outline: 3px solid rgba(157, 204, 120, .35);
  border-color: #548a60;
}

.flm-form .flm-consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 14px 0 6px;
  color: #52675b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.42;
}

.flm-consent input { margin: 3px 0 0; }
.flm-consent a { color: var(--flm-forest); text-decoration-thickness: 1px; }

.flm-form button,
.flm-download {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  color: #fff;
  background: var(--flm-forest);
  border: 1px solid var(--flm-forest);
  border-radius: 7px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.flm-form button:hover,
.flm-form button:focus,
.flm-download:hover,
.flm-download:focus {
  color: #fff;
  background: #16382a;
  transform: translateY(-1px);
}

.flm-message {
  padding: 11px 13px;
  margin-bottom: 8px;
  border-radius: 7px;
  font-size: 14px;
}

.flm-message-error { color: #7a2f2b; background: #f9e4e1; }
.flm-honeypot { position: absolute; left: -9999px; overflow: hidden; width: 1px; height: 1px; }

.flm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 45px;
  padding-top: 28px;
  border-top: 1px solid var(--flm-line);
}

.flm-steps div { padding-right: 20px; }
.flm-steps span { color: #6b9570; font: 800 12px/1 Poppins, sans-serif; letter-spacing: .1em; }
.flm-steps h3 { margin: 8px 0 7px; color: var(--flm-forest); font-size: 19px; letter-spacing: -.01em; }
.flm-steps p { margin: 0; color: #607168; font-size: 15px; line-height: 1.45; }

.flm-thank-you { max-width: 760px; text-align: center; }
.flm-thank-you .flm-lead { margin-right: auto; margin-left: auto; }
.flm-small { color: #607168; font-size: 14px; }

@media (max-width: 800px) {
  .flm-landing { margin: 24px 15px; padding: 28px 22px; }
  .flm-hero { grid-template-columns: 1fr; gap: 35px; }
  .flm-steps { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 500px) {
  .flm-copy-heading { grid-template-columns: 1fr; }
  .flm-resource-cover { max-width: 142px; }
}
