/* Homepage: a focused path from a product need to a relevant solution. */
.home-page {
  --home-ink: #202922;
  --home-muted: #606a61;
  --home-line: #dfe5da;
  --home-surface: #f5f7f2;
  --home-surface-strong: #e9eee4;
  --home-accent: #ffbd31;
  --home-accent-dark: #d98d00;
  background: #fff;
  color: var(--home-ink);
  overflow: clip;
}

.home-page :is(h1, h2, h3, p) { margin-top: 0; }

.home-page :is(h1, h2, h3) {
  color: var(--home-ink);
  font-family: Poppins, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.home-page p { color: var(--home-muted); }

.home-eyebrow {
  align-items: center;
  color: #8a5900 !important;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0.12em;
  line-height: 1.35;
  margin-bottom: 16px !important;
  text-transform: uppercase;
}

.home-eyebrow::before {
  background: currentColor;
  border-radius: 99px;
  content: "";
  height: 7px;
  width: 7px;
}

.home-hero {
  background:
    radial-gradient(circle at 83% 15%, rgba(255, 189, 49, 0.23), transparent 25%),
    radial-gradient(circle at 12% 88%, rgba(121, 171, 143, 0.2), transparent 28%),
    #202922;
  color: #fff;
  isolation: isolate;
  position: relative;
}

.home-hero::after {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(100deg, #000 0%, transparent 68%);
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.home-hero__layout {
  align-items: center;
  display: grid;
  gap: clamp(42px, 7vw, 110px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  min-height: 598px;
  padding-bottom: 70px;
  padding-top: 76px;
}

.home-hero .home-eyebrow { color: #ffd169 !important; }

.home-hero h1 {
  color: #fff;
  font-size: clamp(38px, 4.1vw, 62px);
  line-height: 1.08;
  margin-bottom: 22px;
  max-width: 770px;
}

.home-hero__subtitle {
  color: #f5f7f2 !important;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 14px;
  max-width: 700px;
}

.home-hero__lead {
  color: #d6ded3 !important;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 690px;
}

.home-hero__actions,
.home-path__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.home-button,
.home-text-link {
  align-items: center;
  font-family: inherit;
  font-weight: 700;
  gap: 10px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.home-button {
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-size: 14px;
  justify-content: center;
  line-height: 1.3;
  min-height: 50px;
  padding: 13px 18px;
}

.home-button i { font-size: 12px; }

.home-button--primary {
  background: var(--home-accent);
  color: var(--home-ink);
}

.home-button--primary:hover,
.home-button--primary:focus-visible {
  background: #ffd169;
  color: var(--home-ink);
  transform: translateY(-2px);
}

.home-button--secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.home-button--secondary:hover,
.home-button--secondary:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--home-ink);
}

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

.home-button--dark:hover,
.home-button--dark:focus-visible {
  background: #38463c;
  color: #fff;
  transform: translateY(-2px);
}

.home-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 29px 0 0;
  padding: 0;
}

.home-hero__proof li {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #e8eee6;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  gap: 7px;
  line-height: 1.25;
  padding: 8px 10px;
}

.home-hero__proof i { color: #ffd169; font-size: 10px; }

.home-hero__preview {
  background: linear-gradient(155deg, #fbfcf8 0%, #e9efe5 100%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 16px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.28);
  color: var(--home-ink);
  padding: 16px;
  position: relative;
  transform: rotate(2.4deg);
}

.home-hero__preview::before {
  background: var(--home-accent);
  border-radius: 999px;
  content: "";
  height: 14px;
  position: absolute;
  right: -7px;
  top: 84px;
  width: 14px;
}

.home-hero__preview-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.home-hero__preview-brand {
  font-family: Poppins, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.home-hero__preview-status {
  align-items: center;
  background: #e4eddc;
  border-radius: 999px;
  color: #456143;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  gap: 5px;
  line-height: 1;
  padding: 8px 9px;
  text-transform: uppercase;
}

.home-hero__preview-window {
  align-items: center;
  background: #27332b;
  border-radius: 10px 10px 0 0;
  display: flex;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
}

.home-hero__preview-window span { background: rgba(255, 255, 255, 0.66); border-radius: 999px; height: 5px; width: 5px; }
.home-hero__preview-window span:nth-child(2) { opacity: 0.7; }
.home-hero__preview-window span:nth-child(3) { opacity: 0.45; }

.home-hero__preview-main {
  background: #fff;
  display: grid;
  gap: 11px;
  grid-template-columns: 1.35fr 0.65fr;
  min-height: 178px;
  padding: 18px;
}

.home-hero__preview-chart {
  align-items: end;
  background: linear-gradient(180deg, #f6f8f3, #fff);
  border: 1px solid #ecf0e9;
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 20px 13px 14px;
}

.home-hero__preview-chart span { background: linear-gradient(180deg, #ffcf65, #f5a60c); border-radius: 4px 4px 1px 1px; display: block; width: 14%; }
.home-hero__preview-chart span:nth-child(1) { height: 31%; }
.home-hero__preview-chart span:nth-child(2) { height: 48%; }
.home-hero__preview-chart span:nth-child(3) { height: 38%; }
.home-hero__preview-chart span:nth-child(4) { height: 72%; }
.home-hero__preview-chart span:nth-child(5) { height: 88%; }

.home-hero__preview-panel { background: #edf2e9; border-radius: 8px; display: grid; gap: 9px; padding: 18px 13px; }
.home-hero__preview-panel span { background: #d1ddcb; border-radius: 99px; display: block; height: 9px; }
.home-hero__preview-panel span:nth-child(2) { width: 77%; }
.home-hero__preview-panel span:nth-child(3) { width: 53%; }

.home-hero__preview-list { background: #fff; border-radius: 0 0 10px 10px; display: grid; gap: 0; overflow: hidden; }
.home-hero__preview-list div { align-items: center; border-top: 1px solid #edf0eb; display: grid; gap: 9px; grid-template-columns: 22px minmax(0, 1fr) 14px; min-height: 44px; padding: 8px 12px; }
.home-hero__preview-list span { color: #9c6a05; font-size: 9px; font-weight: 800; }
.home-hero__preview-list strong { font-size: 11px; line-height: 1.2; }
.home-hero__preview-list i { color: #708071; font-size: 10px; }

.home-section { padding: clamp(68px, 8vw, 110px) 0; }

.home-section-heading { max-width: 705px; }
.home-section-heading--center { margin-inline: auto; text-align: center; }
.home-section-heading h2,
.home-contact h2 { font-size: clamp(30px, 3.2vw, 47px); line-height: 1.15; margin-bottom: 17px; }
.home-section-heading > p:not(.home-eyebrow), .home-contact > p { font-size: 17px; line-height: 1.75; margin-bottom: 0; }

.home-solution-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
}

.home-solution-card {
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 13px;
  color: var(--home-ink);
  display: flex;
  flex-direction: column;
  min-height: 282px;
  overflow: hidden;
  padding: 27px;
  position: relative;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-solution-card:hover,
.home-solution-card:focus-visible {
  border-color: #bdc9b9;
  box-shadow: 0 16px 35px rgba(32, 41, 34, 0.1);
  color: var(--home-ink);
  transform: translateY(-5px);
}

.home-solution-card__number { color: #9ba69b; font-family: Poppins, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.home-solution-card__icon { align-items: center; background: #f2f5ed; border-radius: 10px; color: #825500; display: inline-flex; font-size: 20px; height: 47px; justify-content: center; margin: 20px 0; width: 47px; }
.home-solution-card h3 { font-size: 21px; line-height: 1.25; margin-bottom: 12px; }
.home-solution-card p { font-size: 14px; line-height: 1.68; margin-bottom: 0; }
.home-solution-card__arrow { align-items: center; background: var(--home-ink); border-radius: 99px; color: #fff; display: inline-flex; font-size: 12px; height: 35px; justify-content: center; margin-top: auto; width: 35px; }

.home-products { background: var(--home-surface); }
.home-products__top,
.home-guides__top { align-items: end; display: flex; gap: 32px; justify-content: space-between; }
.home-products__top .home-section-heading { max-width: 720px; }

.home-text-link { color: #785000; display: inline-flex; font-size: 14px; line-height: 1.4; min-height: 40px; }
.home-text-link:hover,
.home-text-link:focus-visible { color: var(--home-ink); transform: translateX(2px); }
.home-text-link i { font-size: 12px; }
.home-products__all, .home-guides__all { flex: 0 0 auto; margin-bottom: 7px; }

.home-product-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 43px; }
.home-product-card { min-width: 0; }
.home-product-card__link { background: #fff; border: 1px solid #e2e7df; border-radius: 13px; color: var(--home-ink); display: block; height: 100%; overflow: hidden; text-decoration: none; transition: box-shadow 180ms ease, transform 180ms ease; }
.home-product-card__link:hover,
.home-product-card__link:focus-visible { box-shadow: 0 16px 32px rgba(33, 45, 35, 0.12); color: var(--home-ink); transform: translateY(-4px); }
.home-product-card__image { align-items: center; background: linear-gradient(145deg, #edf2e8, #fff); display: flex; height: 215px; justify-content: center; margin: 0; overflow: hidden; padding: 12px; }
.home-product-card__image img { display: block; height: 100%; max-width: 100%; object-fit: contain; width: 100%; }
.home-product-card__content { display: flex; flex-direction: column; min-height: 174px; padding: 21px; }
.home-product-card__content > p { color: #8a5900; font-size: 10px; font-weight: 800; letter-spacing: 0.11em; line-height: 1.35; margin-bottom: 10px; text-transform: uppercase; }
.home-product-card h3 { display: -webkit-box; font-size: 17px; line-height: 1.38; margin-bottom: 17px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-product-card__footer { align-items: center; display: flex; gap: 15px; justify-content: space-between; margin-top: auto; }
.home-product-card__footer strong { font-size: 16px; line-height: 1.3; }
.home-product-card__footer > span { align-items: center; background: #eff3eb; border-radius: 99px; color: #617262; display: inline-flex; height: 31px; justify-content: center; width: 31px; }
.home-product-card__footer i { font-size: 10px; }

.home-benefits { background: #fff; }
.home-benefits__layout { align-items: start; display: grid; gap: clamp(40px, 7vw, 96px); grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.home-benefit-grid { display: grid; gap: 14px; }
.home-benefit-card { background: #f8faf6; border-left: 3px solid var(--home-accent); border-radius: 0 10px 10px 0; display: grid; gap: 0 18px; grid-template-columns: 44px 1fr; padding: 22px; }
.home-benefit-card > span { align-items: center; background: #e5ecdf; border-radius: 9px; color: #785000; display: inline-flex; font-size: 18px; grid-row: span 2; height: 44px; justify-content: center; width: 44px; }
.home-benefit-card h3 { font-size: 18px; line-height: 1.35; margin: 1px 0 6px; }
.home-benefit-card p { font-size: 14px; line-height: 1.6; margin: 0; }

.home-path { background: #edf2e8; border-bottom: 1px solid #dfe5da; border-top: 1px solid #dfe5da; }
.home-path__layout { align-items: center; display: grid; gap: clamp(32px, 7vw, 95px); grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.05fr); }
.home-path h2 { font-size: clamp(29px, 3vw, 43px); line-height: 1.16; margin: 0; }
.home-path__content > p { color: #3f4a41; font-size: 17px; line-height: 1.7; margin: 0; }

.home-guides { background: #fff; }
.home-guides__top { margin-bottom: 35px; }
.home-guide-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-guide-card a { background: #fbfcf9; border: 1px solid var(--home-line); border-radius: 11px; color: var(--home-ink); display: flex; flex-direction: column; min-height: 188px; padding: 22px; text-decoration: none; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.home-guide-card a:hover,
.home-guide-card a:focus-visible { border-color: #c7d0c2; box-shadow: 0 13px 28px rgba(33, 45, 35, 0.08); color: var(--home-ink); transform: translateY(-3px); }
.home-guide-card span { color: #8a5900; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; line-height: 1.35; text-transform: uppercase; }
.home-guide-card h3 { font-size: 19px; line-height: 1.34; margin: 18px 0; }
.home-guide-card i { color: #768276; font-size: 13px; margin-top: auto; }

.home-contact { background: var(--home-ink); padding: clamp(58px, 7vw, 91px) 0; }
.home-contact__layout { align-items: center; display: flex; gap: 32px; justify-content: space-between; }
.home-contact .home-eyebrow { color: #ffd169 !important; }
.home-contact h2 { color: #fff; max-width: 680px; }
.home-contact p:not(.home-eyebrow) { color: #d6ded3; font-size: 17px; line-height: 1.7; margin: 0; max-width: 710px; }
.home-contact .home-button { flex: 0 0 auto; }

.home-extra { padding-bottom: 76px; padding-top: 76px; }
.home-extra h2 { font-size: clamp(25px, 2.6vw, 36px); line-height: 1.2; margin-bottom: 17px; }
.home-extra p { max-width: 850px; }

.home-page :is(a, button):focus-visible { outline: 3px solid rgba(177, 111, 0, 0.58); outline-offset: 3px; }

@media (max-width: 991.98px) {
  .home-hero__layout { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-bottom: 64px; padding-top: 64px; }
  .home-hero__copy { max-width: 760px; }
  .home-hero__preview { margin: 0 auto; max-width: 515px; transform: rotate(1.2deg); width: min(100%, 515px); }
  .home-solution-grid,
  .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-benefits__layout,
  .home-path__layout { grid-template-columns: minmax(0, 1fr); }
  .home-benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-benefit-card { display: block; padding: 20px; }
  .home-benefit-card > span { margin-bottom: 16px; }
  .home-benefit-card h3 { margin-top: 0; }
}

@media (max-width: 767.98px) {
  .home-section { padding: 64px 0; }
  .home-hero__layout { padding-bottom: 54px; padding-top: 53px; }
  .home-hero h1 { font-size: clamp(35px, 10.4vw, 46px); }
  .home-hero__subtitle { font-size: 19px; }
  .home-hero__lead { font-size: 15px; }
  .home-hero__actions { align-items: stretch; flex-direction: column; }
  .home-hero__actions .home-button { width: 100%; }
  .home-hero__proof { gap: 6px; }
  .home-hero__proof li { font-size: 11px; }
  .home-products__top,
  .home-guides__top { align-items: start; flex-direction: column; gap: 13px; }
  .home-products__all,
  .home-guides__all { margin: 0; }
  .home-solution-grid,
  .home-product-grid,
  .home-guide-grid,
  .home-benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .home-solution-grid { margin-top: 34px; }
  .home-solution-card { min-height: 245px; }
  .home-product-grid { gap: 14px; margin-top: 31px; }
  .home-product-card__image { height: 227px; }
  .home-product-card__content { min-height: 150px; }
  .home-benefit-card { display: grid; }
  .home-contact__layout { align-items: start; flex-direction: column; }
  .home-contact .home-button { width: 100%; }
  .home-path__actions { align-items: stretch; flex-direction: column; }
  .home-path__actions .home-button { width: 100%; }
}

@media (max-width: 420px) {
  .home-hero__preview { padding: 11px; transform: none; }
  .home-hero__preview-top { margin-bottom: 11px; }
  .home-hero__preview-main { min-height: 143px; padding: 12px; }
  .home-hero__preview-chart { gap: 5px; padding: 15px 8px 10px; }
  .home-hero__preview-panel { padding: 14px 8px; }
  .home-hero__preview-list strong { font-size: 10px; }
  .home-hero__proof li { padding: 7px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
