:root {
  --kb-green: #40b563;
  --kb-green-dark: #2f9a4f;
  --kb-green-deep: #1f7a3a;
  --kb-mint: #e8f7ee;
  --kb-mint-2: #f3fbf6;
  --kb-bg: #f7f8fa;
  --kb-surface: #ffffff;
  --kb-text: #1c2430;
  --kb-muted: #6b7583;
  --kb-border: #e6ebf0;
  --kb-blue: #3d7cff;
  --kb-sand: #f3eadc;
  --kb-radius: 16px;
  --kb-radius-sm: 12px;
  --kb-shadow: 0 10px 30px rgba(28, 36, 48, 0.06);
  --kb-shadow-hover: 0 14px 36px rgba(28, 36, 48, 0.1);
  --kb-max: 1180px;
  --kb-font: "Manrope", system-ui, -apple-system, sans-serif;
  --kb-script: "Caveat", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--kb-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--kb-text);
  background: var(--kb-bg);
}

a {
  color: var(--kb-green-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Header ——— */
.kb-header {
  background: #145c2f;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 50;
}

.kb-header__inner {
  max-width: var(--kb-max);
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.kb-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.kb-brand__logo,
.kb-brand .custom-logo {
  height: 32px !important;
  width: auto !important;
  border-radius: 0;
  display: block;
}

.kb-brand__divider {
  display: none;
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.kb-brand__tag {
  display: none;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  line-height: 1.3;
  max-width: 11.5rem;
}

.kb-burger {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.kb-burger__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.kb-burger__lines span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.kb-header.is-menu-open .kb-burger__lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.kb-header.is-menu-open .kb-burger__lines span:nth-child(2) {
  opacity: 0;
}

.kb-header.is-menu-open .kb-burger__lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.kb-header__menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 0 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 0.35rem;
}

.kb-header.is-menu-open .kb-header__menu {
  display: flex;
}

.kb-nav {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
}

.kb-nav a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.65rem 0.15rem;
}

.kb-nav a:hover {
  color: #fff;
}

.kb-header__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
}

.kb-header__actions .kb-btn {
  width: 100%;
}

.kb-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.kb-icon-btn:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.kb-icon-btn svg {
  width: 18px;
  height: 18px;
}

.kb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 10px;
  padding: 0.55rem 0.95rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  white-space: nowrap;
  appearance: none;
  background: transparent;
  color: inherit;
}

.kb-btn:hover {
  transform: translateY(-1px);
}

.kb-btn--ghost {
  background: #fff;
  border-color: #fff;
  color: #145c2f;
}

.kb-btn--ghost:hover {
  color: #145c2f;
  background: #f3fbf6;
}

.kb-btn--primary {
  background: var(--kb-green);
  color: #fff;
  box-shadow: none;
}

.kb-btn--primary:hover {
  background: #36a456;
  color: #fff;
}

.kb-btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  border-radius: 10px;
}

.kb-btn--solid-light {
  background: #fff;
  color: #145c2f;
  border-radius: 10px;
}

@media (min-width: 960px) {
  .kb-burger {
    display: none;
  }

  .kb-header__inner {
    flex-wrap: nowrap;
  }

  .kb-header__menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.1rem;
    width: auto;
    flex: 1;
    margin: 0;
    padding: 0;
    border-top: 0;
  }

  .kb-nav {
    flex-direction: row;
    margin: 0 auto;
    gap: 1.35rem;
  }

  .kb-nav a {
    padding: 0;
    font-size: 0.9rem;
  }

  .kb-header__actions {
    margin-left: 0;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
  }

  .kb-header__actions .kb-btn {
    width: auto;
  }

  .kb-brand__divider {
    display: block;
  }

  .kb-brand__tag {
    display: block;
  }
}

@media (max-width: 959px) {
  .kb-header__inner {
    flex-wrap: wrap;
  }
}

/* ——— Hero ——— */
.kb-hero {
  position: relative;
  background: transparent;
  padding: 1.25rem 1.25rem 0.5rem;
}

.kb-hero__bg {
  display: none;
}

.kb-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--kb-max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: #d9f0dd;
  border-radius: 36px;
  padding: 2.4rem 2rem 2rem;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(47, 154, 79, 0.1);
}

.kb-hero__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /* Soft highlight only on the copy side — never under the illustration */
  background: radial-gradient(ellipse 38% 52% at 12% 28%, rgba(255, 255, 255, 0.18), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.kb-hero__inner::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: 18%;
  bottom: -50px;
  border-radius: 50%;
  border: 1px dashed rgba(64, 181, 99, 0.16);
  pointer-events: none;
}

@media (min-width: 900px) {
  .kb-hero__inner {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 1.5rem 2rem;
    align-items: stretch;
    padding: 2.4rem 2.4rem;
    min-height: 420px;
  }

  .kb-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
  }

  .kb-hero__visual {
    align-self: center;
  }
}

.kb-hero__copy {
  position: relative;
  z-index: 1;
}

.kb-hero__title {
  margin: 0 0 0.55rem;
  font-size: clamp(2.1rem, 4.6vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #15202b;
}

.kb-hero__lead {
  margin: 0 0 1.35rem;
  color: var(--kb-muted);
  font-size: 1.08rem;
  max-width: 34rem;
  line-height: 1.5;
}

.kb-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 238, 0.9);
  border-radius: 18px;
  padding: 0.4rem 0.4rem 0.4rem 1rem;
  box-shadow: 0 14px 34px rgba(28, 36, 48, 0.08);
  max-width: 560px;
}

.kb-search__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9aa3af;
  flex-shrink: 0;
  width: 20px;
}

.kb-search__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.kb-search input[type="search"] {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  min-width: 0;
  background: transparent;
  color: var(--kb-text);
}

.kb-search input[type="search"]::placeholder {
  color: #9aa3af;
}

.kb-search__submit {
  border: 0;
  border-radius: 14px;
  background: var(--kb-green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.78rem 1.35rem;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(64, 181, 99, 0.28);
}

.kb-search__submit:hover {
  background: var(--kb-green-dark);
}

.kb-search__hints {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: #8a94a1;
}

.kb-search__hints a {
  color: #6f7a88;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.kb-search__hints a:hover {
  color: var(--kb-green-dark);
}

.kb-hero__perks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
  margin: 1.65rem 0 0;
  list-style: none;
  padding: 0;
}

@media (min-width: 640px) {
  .kb-hero__perks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.kb-hero__perk {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.kb-hero__perk-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(64, 181, 99, 0.16);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--kb-green-dark);
  flex-shrink: 0;
}

.kb-hero__perk-icon svg {
  width: 18px;
  height: 18px;
}

.kb-hero__perk-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.kb-hero__perk-text strong {
  font-size: 0.9rem;
  font-weight: 750;
  color: var(--kb-text);
  line-height: 1.25;
}

.kb-hero__perk-text span {
  font-size: 0.78rem;
  color: var(--kb-muted);
  line-height: 1.35;
  font-weight: 500;
}

.kb-hero__visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 540px);
  padding: 0;
  margin: 0 -0.75rem -1.15rem 0;
}

.kb-hero__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  border-radius: 0;
  background: #d9f0dd;
  /* Feather plate edges into the banner so residual seams disappear */
  -webkit-mask-image: radial-gradient(ellipse 92% 88% at 55% 52%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 92% 88% at 55% 52%, #000 62%, transparent 100%);
}

.kb-hero__note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--kb-green-deep);
  font-family: var(--kb-script);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.05;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.kb-hero__note span {
  transform: rotate(-6deg);
}

.kb-hero__note-arrow {
  width: 52px;
  height: 32px;
  flex-shrink: 0;
  opacity: 0.9;
}

.kb-hero__note-arrow--flip {
  order: 2;
}

.kb-hero__note--top {
  top: 0.1rem;
  right: 0.2rem;
  flex-direction: row-reverse;
}

.kb-hero__note--top span {
  text-align: right;
  transform: rotate(5deg);
}

.kb-hero__note--bottom {
  left: 0;
  bottom: 0.15rem;
}

.kb-hero__note--bottom span {
  transform: rotate(-7deg);
}

@media (max-width: 899px) {
  .kb-hero {
    padding: 0.85rem 0.85rem 0.35rem;
  }

  .kb-hero__inner {
    border-radius: 22px;
    padding: 1.25rem 1.1rem 0.85rem;
    gap: 0.85rem;
    box-shadow: 0 10px 28px rgba(47, 154, 79, 0.08);
  }

  .kb-hero__title {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
    margin-bottom: 0.35rem;
  }

  .kb-hero__lead {
    font-size: 0.92rem;
    line-height: 1.4;
    margin-bottom: 0.9rem;
  }

  .kb-search {
    border-radius: 14px;
    padding: 0.28rem 0.28rem 0.28rem 0.75rem;
    gap: 0.35rem;
    box-shadow: 0 8px 20px rgba(28, 36, 48, 0.06);
    max-width: none;
  }

  .kb-search input[type="search"] {
    font-size: 0.92rem;
  }

  .kb-search__submit {
    border-radius: 11px;
    padding: 0.62rem 0.95rem;
    font-size: 0.88rem;
    box-shadow: none;
  }

  .kb-search__hints {
    margin-top: 0.55rem;
    font-size: 0.75rem;
    line-height: 1.45;
  }

  .kb-hero__perks {
    margin-top: 1rem;
    gap: 0.55rem;
  }

  .kb-hero__perk {
    gap: 0.55rem;
    align-items: center;
  }

  .kb-hero__perk-icon {
    width: 34px;
    height: 34px;
  }

  .kb-hero__perk-icon svg {
    width: 15px;
    height: 15px;
  }

  .kb-hero__perk-text strong {
    font-size: 0.82rem;
  }

  .kb-hero__perk-text span {
    font-size: 0.72rem;
  }

  .kb-hero__visual {
    justify-self: center;
    width: min(88%, 280px);
    margin: 0.15rem auto -0.35rem;
  }

  .kb-hero__visual img {
    -webkit-mask-image: radial-gradient(ellipse 95% 90% at 50% 48%, #000 68%, transparent 100%);
    mask-image: radial-gradient(ellipse 95% 90% at 50% 48%, #000 68%, transparent 100%);
  }

  .kb-hero__note {
    display: none;
  }
}

@media (max-width: 480px) {
  .kb-hero__perk-text span {
    display: none;
  }

  .kb-hero__perks {
    gap: 0.4rem;
  }
}

/* ——— Home layout ——— */
.kb-home {
  max-width: var(--kb-max);
  margin: 0 auto;
  padding: 0.5rem 1.25rem 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 980px) {
  .kb-home {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}

.kb-section {
  margin-bottom: 1.1rem;
}

.kb-home__main > .kb-section:last-child {
  margin-bottom: 0;
}

.kb-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.kb-section__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kb-section__link {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--kb-green-dark);
  white-space: nowrap;
}

.kb-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .kb-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .kb-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .kb-cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.kb-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 132px;
  padding: 1.05rem 1rem 1rem;
  background: var(--kb-surface);
  border: 1px solid var(--kb-border);
  border-radius: var(--kb-radius-sm);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(28, 36, 48, 0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.kb-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--kb-shadow-hover);
  border-color: rgba(64, 181, 99, 0.35);
  color: inherit;
}

.kb-cat-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(64, 181, 99, 0.14);
  color: var(--kb-green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.kb-cat-card__icon svg {
  width: 20px;
  height: 20px;
}

.kb-cat-card__title {
  font-weight: 750;
  font-size: 0.98rem;
  line-height: 1.3;
}

.kb-cat-card__meta {
  color: var(--kb-muted);
  font-size: 0.82rem;
  margin-top: auto;
  padding-right: 1.5rem;
}

.kb-cat-card__arrow {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: 22px;
  height: 22px;
  color: #b0b8c2;
}

.kb-cat-card__arrow svg {
  width: 18px;
  height: 18px;
}

.kb-cat-card:hover .kb-cat-card__arrow {
  color: var(--kb-green);
}

/* Starter promo cards */
.kb-start-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 720px) {
  .kb-start-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.kb-start-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 1.2rem 6.75rem 1.15rem 1.15rem;
  text-decoration: none;
  color: var(--kb-text);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: 0 8px 24px rgba(28, 36, 48, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid transparent;
}

.kb-start-card:hover {
  transform: translateY(-3px);
  color: var(--kb-text);
  box-shadow: 0 14px 32px rgba(28, 36, 48, 0.1);
}

.kb-start-card--green {
  background: linear-gradient(160deg, #f2fbf5 0%, #e4f6ea 100%);
  border-color: rgba(64, 181, 99, 0.12);
}

.kb-start-card--blue {
  background: linear-gradient(160deg, #f3f7ff 0%, #e4edff 100%);
  border-color: rgba(61, 124, 255, 0.12);
}

.kb-start-card--sand {
  background: linear-gradient(160deg, #fbf7ef 0%, #f3ead8 100%);
  border-color: rgba(184, 149, 95, 0.16);
}

.kb-start-card__eyebrow,
.kb-start-card__title,
.kb-start-card__desc {
  position: relative;
  z-index: 1;
}

.kb-start-card__eyebrow {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  line-height: 1;
}

.kb-start-card--green .kb-start-card__eyebrow {
  background: rgba(64, 181, 99, 0.16);
  color: #1f7a3a;
}

.kb-start-card--blue .kb-start-card__eyebrow {
  background: rgba(61, 124, 255, 0.14);
  color: #2f5fd0;
}

.kb-start-card--sand .kb-start-card__eyebrow {
  background: rgba(184, 149, 95, 0.2);
  color: #8a652e;
}

.kb-start-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: none;
  padding-right: 0;
}

.kb-start-card__desc {
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--kb-muted);
  font-weight: 500;
  max-width: none;
  margin-bottom: 0.25rem;
}

.kb-start-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  z-index: 1;
  max-width: 2rem;
}

.kb-start-card--green .kb-start-card__cta {
  color: #40b563;
}

.kb-start-card--blue .kb-start-card__cta {
  color: #3d7cff;
}

.kb-start-card--sand .kb-start-card__cta {
  color: #d4a017;
}

.kb-start-card__art {
  position: absolute;
  right: -0.15rem;
  bottom: -0.2rem;
  width: 100px;
  height: 86px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.kb-start-card__art svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Side widgets */
.kb-widget {
  background: #f3f5f7;
  border: none;
  border-radius: 18px;
  padding: 1.15rem 1.15rem 1rem;
  box-shadow: none;
  margin-bottom: 1rem;
}

.kb-widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.kb-widget__title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.kb-widget__fire {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9),
    0 6px 16px rgba(255, 120, 40, 0.22),
    0 2px 8px rgba(28, 36, 48, 0.06);
  flex-shrink: 0;
}

.kb-widget__fire-glow {
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 160, 60, 0.35) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.kb-widget__fire-emoji {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 1;
  filter: saturate(1.15);
}

.kb-widget__emoji {
  font-size: 1rem;
  line-height: 1;
}

.kb-widget__icon {
  display: inline-flex;
  color: var(--kb-green);
}

.kb-widget__icon svg {
  width: 18px;
  height: 18px;
}

.kb-widget__icon--blue {
  color: #3d7cff;
}

.kb-widget__link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--kb-green);
  text-decoration: none;
  white-space: nowrap;
}

.kb-widget__link:hover {
  color: var(--kb-green-dark);
}

.kb-popular {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.kb-popular li {
  margin: 0;
  border: 0;
}

.kb-popular li + li {
  border-top: none;
}

.kb-popular a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 0.85rem;
  text-decoration: none;
  color: var(--kb-text);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(28, 36, 48, 0.03);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.kb-popular a:hover {
  color: var(--kb-green-dark);
  box-shadow: 0 6px 16px rgba(28, 36, 48, 0.08);
  transform: translateY(-1px);
}

.kb-popular__n {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #57c978 0%, #2f9a4f 55%, #1f7a3a 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(47, 154, 79, 0.28);
}

.kb-popular__title {
  flex: 1;
  min-width: 0;
}

.kb-popular__arrow {
  margin-left: auto;
  color: #c5ccd5;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
}

.kb-popular a:hover .kb-popular__arrow {
  color: var(--kb-green);
}

.kb-news {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0.85rem;
  background: #fff;
  border-radius: 14px;
}

.kb-news li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.7rem 0;
}

.kb-news li + li {
  border-top: 1px solid #eef1f4;
  margin-top: 0;
}

.kb-news__date {
  display: block;
  font-size: 0.78rem;
  color: #8b95a3;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.kb-news__text {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--kb-text);
  text-decoration: none;
}

a.kb-news__text:hover {
  color: var(--kb-green-dark);
}

/* CTA + site footer (dark green shell) */
.kb-site-footer {
  background: #145c2f;
  color: #fff;
  margin-top: 1.5rem;
}

.kb-cta {
  background: transparent;
  color: #fff;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.kb-cta__inner {
  max-width: var(--kb-max);
  margin: 0 auto;
  padding: 1.6rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.5rem;
}

.kb-cta__copy {
  flex: 1 1 220px;
  min-width: 0;
}

.kb-cta__title {
  margin: 0 0 0.2rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.kb-cta__subtitle {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.92;
  line-height: 1.4;
}

.kb-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.kb-cta .kb-btn--outline-light,
.kb-cta .kb-btn--solid-light {
  border-radius: 10px;
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
}

.kb-cta .kb-btn--outline-light {
  border-width: 1.5px;
  border-color: rgba(255, 255, 255, 0.85);
}

.kb-cta .kb-btn--solid-light {
  color: #145c2f;
  font-weight: 800;
}

.kb-cta__slogan {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  transform: rotate(-8deg);
  user-select: none;
}

.kb-cta__slogan-brand {
  font-family: var(--kb-script);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.kb-cta__slogan-line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--kb-script);
  font-size: 1.45rem;
  line-height: 1;
  white-space: nowrap;
}

.kb-cta__heart {
  width: 16px;
  height: 16px;
  color: #fff;
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .kb-cta__slogan {
    margin-left: 0;
    transform: rotate(-4deg);
  }
}

@media (max-width: 560px) {
  .kb-cta__actions {
    width: 100%;
  }

  .kb-cta__actions .kb-btn {
    flex: 1 1 auto;
  }
}

.kb-footer {
  background: transparent;
  border-top: none;
  padding: 1.6rem 1.25rem 1.5rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.45;
}

.kb-footer__inner {
  max-width: var(--kb-max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem 1.5rem;
  grid-template-columns: 1.2fr 0.9fr minmax(310px, 1.35fr) 0.9fr;
  align-items: start;
}

@media (max-width: 1100px) {
  .kb-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.kb-footer__logo {
  display: inline-flex;
  margin-bottom: 0.55rem;
}

.kb-footer__logo img {
  height: 32px;
  width: auto;
  display: block;
}

.kb-footer__tagline {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  max-width: 16rem;
  line-height: 1.35;
}

.kb-footer__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.kb-footer__heading {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 750;
}

.kb-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.kb-footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

.kb-footer__social a:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.kb-footer__social a:has(img) {
  border-color: rgba(255, 255, 255, 0.2);
  padding: 0;
}

.kb-footer__social svg {
  width: 22px;
  height: 22px;
  display: block;
}

.kb-footer__social img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  filter: none;
}

.kb-footer__apps {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  width: auto;
  max-width: 100%;
}

.kb-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 138px;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  border: none;
  color: #fff;
  text-decoration: none;
  background: #111;
}

.kb-store-btn:hover {
  background: #000;
  color: #fff;
}

.kb-store-btn svg,
.kb-store-btn img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.kb-store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 700;
  font-size: 0.88rem;
}

.kb-store-btn small {
  font-size: 0.62rem;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.01em;
}

.kb-store-badge {
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 148px !important;
  height: 44px !important;
  padding: 0;
  line-height: 0;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.kb-store-badge:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.kb-store-badge img,
.kb-store-badge .kb-link-icon {
  display: block !important;
  width: 148px !important;
  height: 44px !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

.kb-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.kb-footer__links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
}

.kb-footer__links a:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .kb-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .kb-footer__inner {
    grid-template-columns: 1fr;
  }

  .kb-footer__brand {
    order: 10;
    margin-top: 0.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

/* Support modal */
html.kb-modal-open {
  overflow: hidden;
}

.kb-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.kb-modal[hidden] {
  display: none !important;
}

.kb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 28, 36, 0.52);
  border: 0;
  cursor: pointer;
}

.kb-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 480px);
  max-height: min(88vh, 640px);
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  padding: 1.35rem 1.35rem 1.2rem;
  box-shadow: 0 24px 60px rgba(18, 28, 36, 0.28);
}

.kb-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f1f3f5;
  color: #334155;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.kb-modal__close:hover {
  background: #e6e9ed;
}

.kb-modal__title {
  flex: 0 0 auto;
  margin: 0 2.4rem 0.9rem 0;
  padding-top: 0.15rem;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #15202b;
}

.kb-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 0.15rem;
  -webkit-overflow-scrolling: touch;
}

.kb-modal__body .wpcf7 {
  margin: 0;
}

.kb-modal__body .wpcf7-form > p {
  margin: 0 0 0.7rem;
}

.kb-modal__body .wpcf7-form > p:last-child {
  margin-bottom: 0;
}

.kb-modal__body label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.kb-modal__body input[type="text"],
.kb-modal__body input[type="email"],
.kb-modal__body input[type="tel"],
.kb-modal__body input[type="url"],
.kb-modal__body textarea,
.kb-modal__body select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8dee6;
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  font-size: 0.95rem;
  color: #15202b;
  background: #fff;
}

.kb-modal__body textarea {
  min-height: 88px;
  max-height: 160px;
  resize: vertical;
}

.kb-modal__body .wpcf7-acceptance,
.kb-modal__body .wpcf7-form-control-wrap.acceptance-152 {
  display: block;
  margin: 0.25rem 0 0.85rem;
}

.kb-modal__body .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
  display: block;
}

.kb-modal__body .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
}

.kb-modal__body .wpcf7-list-item-label,
.kb-modal__body .wpcf7-acceptance .wpcf7-list-item-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  color: #475569;
  padding-top: 0.05rem;
}

.kb-modal__body .wpcf7-acceptance input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.1rem 0 0;
  flex-shrink: 0;
  accent-color: var(--kb-green);
  cursor: pointer;
}

.kb-modal__body .wpcf7-acceptance a {
  color: var(--kb-green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.kb-modal__body input[type="submit"],
.kb-modal__body .wpcf7-submit {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.3rem;
  background: var(--kb-green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.kb-modal__body input[type="submit"]:hover,
.kb-modal__body .wpcf7-submit:hover {
  background: var(--kb-green-dark);
}

.kb-modal__body .wpcf7-not-valid-tip,
.kb-modal__body .wpcf7-response-output {
  font-size: 0.84rem;
  margin: 0.35rem 0 0;
}

@media (max-width: 560px) {
  .kb-modal {
    padding: 0.75rem;
    align-items: flex-end;
  }

  .kb-modal__dialog {
    width: 100%;
    max-height: min(92vh, 680px);
    border-radius: 18px 18px 14px 14px;
    padding: 1.15rem 1.1rem 1rem;
  }

  .kb-modal__title {
    font-size: 1.15rem;
  }
}

/* Inner pages */
.kb-main {
  max-width: var(--kb-max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

.kb-breadcrumbs {
  font-size: 0.85rem;
  color: var(--kb-muted);
  margin-bottom: 1rem;
}

.kb-breadcrumbs a {
  text-decoration: none;
  color: var(--kb-muted);
}

.kb-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .kb-layout--with-sidebar {
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
  }
}

.kb-article {
  background: var(--kb-surface);
  border: 1px solid var(--kb-border);
  border-radius: var(--kb-radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--kb-shadow);
}

.kb-article__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.2;
}

.kb-article__lead {
  margin: 0 0 1.25rem;
  color: var(--kb-muted);
}

.kb-article .entry-content > *:first-child {
  margin-top: 0;
}

.kb-article h2,
.kb-article h3 {
  line-height: 1.25;
  margin-top: 1.6rem;
}

.kb-article img {
  border-radius: 12px;
  border: 1px solid var(--kb-border);
}

.kb-aside-nav {
  background: var(--kb-surface);
  border: 1px solid var(--kb-border);
  border-radius: var(--kb-radius);
  padding: 1rem 1.05rem;
  position: sticky;
  top: 5rem;
}

.kb-aside-nav__title {
  margin: 0 0 0.65rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.kb-aside-nav__title a {
  text-decoration: none;
  color: var(--kb-text);
}

.kb-aside-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kb-aside-nav__link {
  display: block;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--kb-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.kb-aside-nav__link:hover,
.kb-aside-nav__link.is-active {
  background: var(--kb-mint);
  color: var(--kb-green-deep);
}

/* Legacy class bridges used by older templates */
.savda-main { max-width: var(--kb-max); margin: 0 auto; padding: 1.75rem 1.25rem 3rem; }
.savda-article { background: var(--kb-surface); border: 1px solid var(--kb-border); border-radius: var(--kb-radius); padding: 1.5rem; box-shadow: var(--kb-shadow); }
.savda-hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.55rem, 3vw, 2rem); font-weight: 800; }
.savda-hero p { color: var(--kb-muted); }
.savda-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .savda-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
