:root {
  --afg-orange: #1f6038;
  --afg-orange-hover: #174c2d;
  --afg-home-ink: #1b211d;
  --afg-home-muted: #5e6861;
  --afg-home-green: #1f6038;
  --afg-home-green-dark: #123c26;
  --afg-home-sage: #f3f4f2;
  --afg-home-sage-2: #f8f8f6;
  --afg-home-line: #d8e1d9;
  --afg-home-shadow: 0 12px 34px rgba(23, 65, 39, 0.08);
  --afg-home-container: 1390px;
}

body {
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

.afg-site-header {
  border-bottom-color: #dfe6e0;
  box-shadow: 0 3px 16px rgba(15, 49, 28, 0.05);
}

.afg-header-inner {
  width: min(var(--afg-home-container), calc(100% - 48px));
  height: 78px;
}

.afg-logo picture {
  display: block;
  height: 64px;
}

.afg-logo img {
  display: block;
  width: auto;
  height: 64px;
}

.afg-main-nav {
  gap: clamp(16px, 1.8vw, 30px);
  margin-left: auto;
  font-size: 12.5px;
}

.afg-main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.afg-nav-chevron {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.afg-header-trust {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 188px;
  padding-left: 22px;
  color: var(--afg-home-ink);
  text-decoration: none;
}

.afg-header-trust::before {
  content: "";
  position: absolute;
  inset: 3px auto 3px 0;
  border-left: 1px solid var(--afg-home-line);
}

.afg-header-trust__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 40px;
  fill: none;
  stroke: var(--afg-home-green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.afg-header-trust__copy {
  display: grid;
  gap: 2px;
}

.afg-header-trust strong {
  font-size: 12px;
  line-height: 1.12;
}

.afg-header-trust small {
  color: var(--afg-home-muted);
  font-size: 9.5px;
  white-space: nowrap;
}

.afg-home-v2 {
  overflow: hidden;
  background: #fbfcfa;
  color: var(--afg-home-ink);
}

.afg-home-v2-container {
  width: min(var(--afg-home-container), calc(100% - 56px));
  margin-inline: auto;
}

.afg-home-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, 45.5%) minmax(0, 54.5%);
  min-height: 560px;
  height: clamp(560px, 42vw, 680px);
  background: #fff;
  border-bottom: 1px solid var(--afg-home-line);
}

.afg-home-v2-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 60px clamp(32px, 3.25vw, 64px) 40px max(32px, calc((100vw - var(--afg-home-container)) / 2));
}

.afg-home-v2-kicker {
  margin: 0 0 8px;
  color: var(--afg-home-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.afg-home-v2-hero h1 {
  max-width: 660px;
  margin: 0;
  color: var(--afg-home-ink);
  font-size: clamp(3.4rem, 4.3vw, 4.75rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.afg-home-v2-hero h1 > span {
  display: block;
}

.afg-home-v2-lede {
  max-width: 610px;
  margin: 24px 0 0;
  color: #3e4942;
  font-size: clamp(1.03rem, 1.4vw, 1.24rem);
  line-height: 1.65;
}

.afg-home-v2-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 28px;
}

.afg-home-v2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border: 2px solid var(--afg-home-green);
  border-radius: 6px;
  background: var(--afg-home-green);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(31, 96, 56, 0.16);
}

.afg-home-v2-button:hover {
  background: var(--afg-home-green-dark);
  border-color: var(--afg-home-green-dark);
}

.afg-home-v2-button--outline {
  background: #fff;
  color: var(--afg-home-green);
  box-shadow: none;
}

.afg-home-v2-button--outline:hover {
  color: #fff;
}

.afg-home-v2-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 35px 0 0;
  padding: 0;
  color: #455048;
  font-size: 11px;
  list-style: none;
}

.afg-home-v2-trust li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 22px;
}

.afg-home-v2-trust li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 0;
  bottom: 3px;
  border-right: 1px solid var(--afg-home-line);
}

.afg-home-v2-trust span {
  display: grid;
  place-items: center;
  min-width: 28px;
  width: 28px;
  height: 30px;
  color: var(--afg-home-green);
}

.afg-home-v2-trust svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.afg-home-v2-visual-note {
  margin: 22px 0 0;
  color: #6a746e;
  font-size: 10px;
}

.afg-home-v2-hero__media {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--afg-home-sage);
}

.afg-home-v2-hero__media picture,
.afg-home-v2-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.afg-home-v2-hero__media img {
  object-fit: cover;
  object-position: center;
}

.afg-home-v2-section {
  padding: 34px 0;
  background: #fff;
}

.afg-home-v2-section--white {
  background: #fff;
}

.afg-home-v2-section--routes {
  padding-top: 28px;
  padding-bottom: 18px;
  background: #fff;
}

.afg-home-v2-routes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.afg-home-v2-routes > a {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--afg-home-line);
  border-radius: 10px;
  background: #fff;
  color: var(--afg-home-ink);
  text-align: center;
  text-decoration: none;
  box-shadow: var(--afg-home-shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.afg-home-v2-routes > a:hover {
  transform: translateY(-3px);
  border-color: #9db8a4;
}

.afg-home-v2-route-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--afg-home-sage);
  color: var(--afg-home-green);
  font-size: 23px;
  font-weight: 900;
}

.afg-home-v2-route-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.afg-home-v2-route-icon--currency {
  font-size: 25px;
  font-weight: 750;
}

.afg-home-v2-routes h3 {
  margin: 0;
  font-size: 1.05rem;
}

.afg-home-v2-routes p {
  margin: 10px auto 16px;
  color: var(--afg-home-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.afg-home-v2-routes strong {
  margin-top: auto;
  color: var(--afg-home-green);
  font-size: 0.78rem;
}

.afg-home-v2-calculator {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 1fr 0.9fr 1.15fr;
  align-items: end;
  gap: 20px;
  padding: 25px 28px;
  border: 1px solid #cddbcf;
  border-radius: 12px;
  background: linear-gradient(110deg, #f1f7f1, #fbfdfb);
  box-shadow: var(--afg-home-shadow);
}

.afg-home-v2-calculator h2 {
  margin: 0;
  font-size: 1.55rem;
}

.afg-home-v2-calculator p {
  margin: 7px 0 0;
  color: var(--afg-home-muted);
  font-size: 0.82rem;
}

.afg-home-v2-calculator label,
.afg-home-v2-calculator fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.afg-home-v2-calculator label > span,
.afg-home-v2-calculator legend {
  color: #324038;
  font-size: 0.75rem;
  font-weight: 800;
}

.afg-home-v2-calculator input[type="number"],
.afg-home-v2-calculator select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #cbd6cd;
  border-radius: 6px;
  background: #fff;
}

.afg-home-v2-calculator fieldset {
  grid-template-columns: 1fr 1fr;
}

.afg-home-v2-calculator fieldset legend {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.afg-home-v2-calculator fieldset label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #cbd6cd;
  border-radius: 6px;
  background: #fff;
  font-size: 0.76rem;
}

.afg-home-v2-calculator__result {
  display: grid;
  gap: 6px;
  min-height: 78px;
  padding: 13px 15px;
  border-radius: 8px;
  background: var(--afg-home-green);
  color: #fff;
}

.afg-home-v2-calculator__result output {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.afg-home-v2-calculator__result a {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.afg-home-v2-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.afg-home-v2-heading-row h2,
.afg-home-v2-cooking h2,
.afg-home-v2-method h2 {
  margin: 0;
  color: var(--afg-home-ink);
  font-size: clamp(1.7rem, 2.3vw, 2.25rem);
  line-height: 1.12;
}

.afg-home-v2-heading-row p:not(.afg-home-v2-kicker),
.afg-home-v2-cooking > section > p:not(.afg-home-v2-kicker) {
  margin: 8px 0 0;
  color: var(--afg-home-muted);
}

.afg-home-v2-heading-row > a,
.afg-home-v2-text-link {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  color: var(--afg-home-green);
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

.afg-home-v2-routes + .afg-home-v2-text-link {
  margin-top: 8px;
}

.afg-home-v2-products {
  width: min(var(--afg-home-container), calc(100% - 56px));
  gap: 22px;
}

.afg-home-v2-products.is-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.afg-home-v2-products .afg-product-card {
  min-width: 0;
  padding: 22px;
  border-color: var(--afg-home-line);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(22, 58, 35, 0.09);
}

.afg-home-v2-products .afg-product-card > .afg-product-visual {
  width: 100%;
  margin: 0 auto 10px;
}

.afg-home-v2-products .afg-product-visual-media {
  height: 300px;
  border-color: #e2e6e3;
  border-radius: 13px;
  background: #fff;
}

.afg-home-v2-products .afg-product-card h3 {
  margin-top: 2px;
  font-size: 1.22rem;
  line-height: 1.22;
}

.afg-home-v2-products .afg-product-card > p:not(.afg-product-model) {
  min-height: 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.afg-home-v2-products .afg-product-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.afg-home-v2-products .afg-product-facts div {
  min-height: 70px;
  padding: 11px 12px;
  background: #f7f8f7;
}

.afg-home-v2-products .afg-product-facts dd {
  font-size: 0.88rem;
}

.afg-home-v2-products .afg-product-source {
  margin-top: auto;
  font-size: 0.76rem;
}

.afg-home-v2-products .afg-card-button {
  min-height: 48px;
  margin-top: 4px;
  border-color: var(--afg-home-green);
  background: var(--afg-home-green);
  color: #fff;
  font-size: 0.82rem;
}

.afg-home-v2-products .afg-card-button:hover {
  background: var(--afg-home-green-dark);
}

.afg-home-v2-products .afg-badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.67rem;
}

.afg-home-v2-products .afg-product-visual-note {
  margin-top: 7px;
  font-size: 0.66rem;
}

.afg-home-v2-products .afg-product-highlights-wrap {
  padding: 14px;
  border: 1px solid #e0e5e2;
  border-radius: 10px;
  background: #fbfcfb;
}

.afg-home-v2-products .afg-product-highlights {
  gap: 6px;
}

.afg-home-v2-products .afg-product-highlights li {
  font-size: 0.8rem;
}

.afg-home-v2-types {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.afg-home-v2-types article {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--afg-home-line);
  border-radius: 10px;
  background: #fff;
}

.afg-home-v2-types img {
  width: 100%;
  height: 180px;
  margin-bottom: 12px;
  object-fit: contain;
  background: transparent;
}

.afg-home-v2-type-visual .afg-product-visual-media {
  height: 220px;
  border-color: #e2e6e3;
  background: #fff;
}

.afg-home-v2-types .afg-product-visual-media img {
  height: 100%;
  margin: 0;
  padding: 8px;
  background: transparent;
}

.afg-home-v2-types h3 {
  margin: 0;
  font-size: 1rem;
}

.afg-home-v2-types p {
  color: var(--afg-home-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.afg-home-v2-types ul {
  display: grid;
  gap: 7px;
  margin: 5px 0 17px;
  padding: 0;
  list-style: none;
}

.afg-home-v2-types li {
  position: relative;
  padding-left: 20px;
  font-size: 0.75rem;
}

.afg-home-v2-types li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--afg-home-green);
  font-weight: 900;
}

.afg-home-v2-types a {
  margin-top: auto;
  color: var(--afg-home-green);
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: none;
}

.afg-home-v2-cooking {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
}

.afg-home-v2-cooking > section {
  padding: 24px;
  border: 1px solid var(--afg-home-line);
  border-radius: 10px;
  background: #f8f8f6;
}

.afg-home-v2-time-list {
  display: grid;
  margin: 18px 0 12px;
  border: 1px solid var(--afg-home-line);
  border-radius: 8px;
  background: #fff;
}

.afg-home-v2-time-list a {
  display: grid;
  grid-template-columns: 1fr auto 18px;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--afg-home-line);
  color: var(--afg-home-ink);
  font-size: 0.76rem;
  text-decoration: none;
}

.afg-home-v2-time-list a:last-child {
  border-bottom: 0;
}

.afg-home-v2-time-list strong,
.afg-home-v2-time-list b {
  color: var(--afg-home-green);
}

.afg-home-v2-recipes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 12px;
}

.afg-home-v2-recipes a {
  overflow: hidden;
  border: 1px solid var(--afg-home-line);
  border-radius: 8px;
  background: #fff;
  color: var(--afg-home-ink);
  text-decoration: none;
}

.afg-home-v2-recipes img {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.afg-home-v2-recipes strong,
.afg-home-v2-recipes span {
  display: block;
  padding-inline: 10px;
}

.afg-home-v2-recipes strong {
  padding-top: 9px;
  font-size: 0.76rem;
}

.afg-home-v2-recipes span {
  padding-top: 3px;
  padding-bottom: 10px;
  color: var(--afg-home-muted);
  font-size: 0.65rem;
}

.afg-home-v2-method {
  padding: 26px;
  border: 1px solid #b8cbbb;
  border-radius: 12px;
  background: #edf5ee;
}

.afg-home-v2-method__intro {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
}

.afg-home-v2-method__intro > span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--afg-home-green);
  border-radius: 15px;
  color: var(--afg-home-green);
}

.afg-home-v2-method__intro > span svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.afg-home-v2-method__intro p:not(.afg-home-v2-kicker) {
  margin: 7px 0 0;
  color: var(--afg-home-muted);
}

.afg-home-v2-method ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0 18px;
  padding: 0;
  list-style: none;
}

.afg-home-v2-method li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
}

.afg-home-v2-method li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--afg-home-green);
}

.afg-home-v2-method li > span svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.afg-home-v2-method strong {
  color: var(--afg-home-green-dark);
}

.afg-home-v2-method li p {
  margin: 5px 0 0;
  color: var(--afg-home-muted);
  font-size: 0.73rem;
  line-height: 1.45;
}

.afg-home-v2-method__boundary {
  margin: 0;
  padding: 13px;
  border-top: 1px solid #c8d8ca;
  color: #526158;
  font-size: 0.74rem;
  text-align: center;
}

.afg-home-v2-method > a {
  display: table;
  margin: 13px auto 0;
  color: var(--afg-home-green);
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

.afg-home-v2 + .afg-footer,
.afg-home-v2 .afg-footer {
  margin-top: 0;
}

.afg-footer {
  background: #165b3a;
}

.afg-footer-logo img {
  width: 206px;
  height: auto;
}

@media (min-width: 1800px) {
  .afg-home-v2-hero {
    grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  }

  .afg-home-v2-hero__copy {
    width: min(100%, 760px);
    justify-self: center;
    padding: 60px 48px 40px;
  }
}

@media (max-width: 1240px) {
  .afg-header-trust {
    display: none;
  }

  .afg-home-v2-products.is-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .afg-home-v2-calculator {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .afg-home-v2-calculator__intro,
  .afg-home-v2-calculator__result {
    grid-column: span 2;
  }
}

@media (max-width: 1100px) {
  .afg-home-v2-hero {
    height: auto;
    min-height: 680px;
  }

  .afg-home-v2-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .afg-home-v2-button {
    width: 100%;
  }

  .afg-home-v2-cooking {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1020px) {
  .afg-home-v2-hero {
    grid-template-columns: 1fr 1fr;
  }

  .afg-home-v2-hero__copy {
    padding-inline: 32px;
  }

  .afg-home-v2-hero h1 {
    font-size: clamp(2.8rem, 5vw, 3.5rem);
  }

  .afg-home-v2-actions {
    flex-wrap: wrap;
  }

  .afg-home-v2-routes,
  .afg-home-v2-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .afg-home-v2-recipes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .afg-home-v2-method ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 841px) and (max-width: 1179px) {
  .afg-logo picture,
  .afg-logo img {
    width: auto;
    height: 56px;
  }
}

@media (max-width: 840px) {
  .afg-logo picture,
  .afg-logo img {
    width: auto;
    height: 50px;
  }

  .afg-home-v2-hero {
    grid-template-columns: 1fr;
    height: auto;
  }

  .afg-home-v2-hero__copy {
    padding: 48px 28px 34px;
  }

  .afg-home-v2-hero__media {
    min-height: 440px;
  }

  .afg-home-v2-products.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .afg-home-v2-products .afg-product-card {
    padding: 18px;
  }

  .afg-home-v2-products .afg-product-visual-media {
    height: 260px;
  }

  .afg-home-v2-cooking {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .afg-home-v2-container,
  .afg-home-v2-products {
    width: min(100% - 28px, var(--afg-home-container));
  }

  .afg-home-v2-hero h1 {
    font-size: clamp(2.45rem, 11.5vw, 3.1rem);
  }

  .afg-home-v2-hero__copy {
    padding: 40px 22px 28px;
  }

  .afg-home-v2-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    margin-top: 24px;
  }

  .afg-home-v2-button {
    width: 100%;
    font-size: 12px;
  }

  .afg-home-v2-trust {
    gap: 14px;
    margin-top: 26px;
  }

  .afg-home-v2-trust li {
    padding-right: 0;
  }

  .afg-home-v2-trust li::after {
    display: none;
  }

  .afg-home-v2-visual-note {
    margin-top: 16px;
  }

  .afg-home-v2-hero__media {
    min-height: 330px;
  }

  .afg-home-v2-routes,
  .afg-home-v2-types,
  .afg-home-v2-products.is-compact,
  .afg-home-v2-method ol {
    grid-template-columns: 1fr;
  }

  .afg-home-v2-products .afg-product-visual-media {
    height: 230px;
  }

  .afg-home-v2-calculator {
    grid-template-columns: 1fr;
  }

  .afg-home-v2-calculator__intro,
  .afg-home-v2-calculator__result {
    grid-column: auto;
  }

  .afg-home-v2-heading-row {
    display: grid;
  }

  .afg-home-v2-recipes {
    grid-template-columns: 1fr 1fr;
  }

  .afg-home-v2-method__intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .afg-logo picture,
  .afg-logo img {
    width: auto;
    height: 44px;
  }

  .afg-home-v2-recipes {
    grid-template-columns: 1fr;
  }
}
