/* Carry the current KwakenCity look from the welcome hero through the footer. */
.public-home {
  background: linear-gradient(180deg, #fff8e4 0%, #fff9e9 48%, #f5f8e7 100%);
}

.public-home .world-section {
  width: min(1260px, calc(100% - 48px));
  padding: 76px 0 84px;
}

.public-home .section-heading { max-width: 790px; }

.public-home .section-heading .eyebrow {
  color: #397b49;
  letter-spacing: .12em;
}

.public-home .section-heading h2 {
  margin: 12px 0;
  color: #174e3c;
  font-size: clamp(35px, 4.2vw, 50px);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.public-home .section-heading p {
  color: #61776b;
  font-size: 15px;
  line-height: 1.7;
}

.public-home .feature-grid { gap: 20px; margin-top: 31px; }

.public-home .feature-card,
.public-home .feature-card:nth-child(2),
.public-home .feature-card:nth-child(3) {
  display: flex;
  min-height: 354px;
  flex-direction: column;
  overflow: hidden;
  padding: 9px;
  border: 1px solid #bfd59d;
  border-radius: 20px;
  background: linear-gradient(155deg, #fffef5, #f8f8e8);
  box-shadow: 0 3px 0 #e0e9ca, 0 13px 28px rgba(45, 91, 39, .09);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.public-home .feature-card:hover {
  transform: translateY(-3px);
  border-color: #8fbd69;
  box-shadow: 0 4px 0 #d9e8bd, 0 18px 34px rgba(45, 91, 39, .14);
}

.public-home .feature-image {
  width: 100%;
  height: clamp(145px, 16vw, 185px);
  flex: 0 0 auto;
  border: 1px solid #e5edcf;
  border-radius: 14px;
  object-fit: cover;
}

.public-home .feature-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 14px 12px;
}

.public-home .feature-card h3 {
  margin: 0 0 7px;
  color: #174e37;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.public-home .feature-card p {
  min-height: 0;
  margin: 0;
  color: #62776b;
  font-size: 13px;
  line-height: 1.65;
}

.public-home .feature-card a {
  min-height: 36px;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 8px 11px;
  border: 1px solid #d9e7c1;
  border-radius: 10px;
  color: #28743b;
  background: #f0f6df;
  font-size: 12px;
  transition: border-color .18s ease, background .18s ease;
}

.public-home .feature-card a:hover { border-color: #a7cb80; background: #e8f2d4; }
.public-home .feature-card a i { color: #c28c20; }

.public-home .news-section {
  position: relative;
  padding: 72px 0 78px;
  border: 0;
  background: linear-gradient(180deg, #eff5df 0%, #f4f7e7 100%);
}

.public-home .news-section::before {
  position: absolute;
  top: 0;
  right: max(24px, calc((100vw - 1260px) / 2));
  left: max(24px, calc((100vw - 1260px) / 2));
  height: 1px;
  background: #dce8c5;
  content: "";
}

.public-home .news-heading { align-items: center; }

.public-home .news-heading .button {
  min-height: 44px;
  flex: 0 0 auto;
  border-color: #c6dca5;
  border-radius: 11px;
  color: #2b713a;
  background: #fffef5;
  box-shadow: 0 3px 0 #dce8c7;
}

.public-home .news-heading .button:hover { border-color: #9fc779; background: #fff; }
.public-home .news-grid { gap: 18px; margin-top: 29px; }

.public-home .news-status {
  display: grid;
  min-height: 94px;
  place-items: center;
  margin: 0;
  padding: 24px;
  border: 1px solid #d5e3b9;
  border-radius: 17px;
  color: #5d7566;
  background: rgba(255, 254, 246, .82);
  box-shadow: 0 3px 0 rgba(211, 226, 184, .55);
  text-align: center;
  line-height: 1.6;
}

.public-home .news-card {
  min-height: 220px;
  padding: 21px;
  border: 1px solid #c6d9a6;
  border-radius: 18px;
  background: linear-gradient(155deg, #fffef6, #f8f9ea);
  box-shadow: 0 3px 0 #dfe9ca, 0 10px 24px rgba(45, 91, 39, .07);
}

.public-home .news-card time {
  color: #527b46;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.public-home .news-card h3 { color: #174e37; font-size: 19px; }
.public-home .news-card p { color: #62776b; font-size: 13px; }

.public-home .news-card button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 11px;
  border: 1px solid #d9e7c1;
  border-radius: 10px;
  color: #28743b;
  background: #f0f6df;
  font-size: 12px;
}

.public-home .news-card button:hover { border-color: #a7cb80; background: #e8f2d4; }

.public-home .closing-cta {
  padding: 38px 0 66px;
  color: #fffdf0;
  background: transparent;
  border: 0;
}

.public-home .closing-inner {
  width: min(1260px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(28px, 4.5vw, 46px);
  border: 3px solid #fffdf0;
  border-radius: 22px;
  background: radial-gradient(circle at 88% 0%, rgba(128, 203, 73, .62), transparent 32%), linear-gradient(112deg, #216b2d, #338d31 68%, #287a36);
  box-shadow: 0 0 0 2px #81b94f, 0 13px 29px rgba(45, 91, 39, .15);
}

.public-home .closing-inner .eyebrow { color: #ffdf70; letter-spacing: .12em; }

.public-home .closing-inner h2 {
  margin: 10px 0 7px;
  color: #fffdf0;
  font-size: clamp(30px, 3.8vw, 42px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.public-home .closing-inner p { color: #eaf3d9; font-size: 14px; line-height: 1.6; }

.public-home .closing-inner .button-primary {
  min-height: 46px;
  flex: 0 0 auto;
  border-color: #ffdf70;
  border-radius: 11px;
  color: #604a13;
  background: linear-gradient(#ffe579, #ffc83d);
  box-shadow: 0 4px 0 #bb811d;
}

.public-home .site-footer {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 28px;
  border-top-color: #d9e5c2;
  color: #61776a;
}

.public-home .site-footer nav { border-top-color: #e0e9ce; }
.public-home .site-footer nav a,
.public-home .footer-install-link { color: #3c7048; }
.public-home .site-footer nav a:hover,
.public-home .footer-install-link:hover { color: #267a31; }

@media (max-width: 900px) {
  .public-home .feature-card,
  .public-home .feature-card:nth-child(2),
  .public-home .feature-card:nth-child(3) {
    min-height: 330px;
    padding: 9px;
  }
}

@media (max-width: 680px) {
  .public-home .world-section { width: calc(100% - 28px); padding: 54px 0 58px; }
  .public-home .section-heading h2 { font-size: clamp(31px, 8vw, 38px); }
  .public-home .feature-grid { gap: 12px; margin-top: 24px; }

  .public-home .feature-card,
  .public-home .feature-card:nth-child(2),
  .public-home .feature-card:nth-child(3) {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
    align-items: stretch;
    gap: 4px;
    padding: 8px;
  }

  .public-home .feature-image { height: 100%; min-height: 148px; border-radius: 11px; }
  .public-home .feature-copy { align-self: center; padding: 10px 10px 10px 12px; }
  .public-home .feature-card h3 { font-size: 17px; }
  .public-home .feature-card p { font-size: 12px; }
  .public-home .feature-card a { min-height: 32px; margin-top: 12px; padding: 6px 9px; font-size: 11px; }
  .public-home .news-section { padding: 54px 0 58px; }
  .public-home .news-section::before { right: 14px; left: 14px; }
  .public-home .news-heading { align-items: flex-start; }
  .public-home .news-heading .button { min-height: 40px; }
  .public-home .news-grid { gap: 12px; margin-top: 22px; }
  .public-home .news-card { min-height: 190px; padding: 18px; }
  .public-home .closing-cta { padding: 28px 0 48px; }

  .public-home .closing-inner {
    width: calc(100% - 28px);
    align-items: flex-start;
    flex-direction: column;
    gap: 21px;
    padding: 26px 23px;
    border-radius: 19px;
  }

  .public-home .closing-inner .button-primary { width: 100%; }
  .public-home .site-footer { width: calc(100% - 28px); padding-top: 18px; }
}

@media (max-width: 390px) {
  .public-home .feature-card,
  .public-home .feature-card:nth-child(2),
  .public-home .feature-card:nth-child(3) { grid-template-columns: 96px minmax(0, 1fr); }
  .public-home .feature-copy { padding-right: 6px; padding-left: 9px; }
  .public-home .feature-card h3 { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .public-home .feature-card,
  .public-home .feature-card a,
  .public-home .news-card button { transition: none; }
}
