/* КидиБот landing: mobile-first bright green children's design. */

.kb {
  --green: #19A35B;
  --green-dark: #0F3D27;
  --text: #142018;
  --muted: #5E6F65;
  --bg: #F0FBF4;
  --mint: #DDF7E8;
  --card: #FFFFFF;
  --violet: #8B6BE8;
  --orange: #FF9F1C;
  --blue: #35A7FF;
  --yellow: #FFD84D;
  --coral: #FF7A90;
  --line: rgba(25, 163, 91, 0.18);
  --shadow: 0 14px 36px rgba(15, 61, 39, 0.10);
  --soft-shadow: 0 7px 20px rgba(15, 61, 39, 0.08);
  --radius: 28px;
  font-family: var(--font), ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background:
    radial-gradient(circle at 10% 3%, rgba(255, 216, 77, .24), transparent 22rem),
    radial-gradient(circle at 92% 4%, rgba(25, 163, 91, .16), transparent 24rem),
    linear-gradient(180deg, #f8fff9 0%, var(--bg) 22%, #ffffff 54%, #f5fff7 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.kb * { box-sizing: border-box; }
.kb a { color: inherit; }
.kb button { font-family: inherit; }
.kb img { display: block; max-width: 100%; }

.kb-container {
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 0 18px;
}

.kb-section { padding: 64px 0; }

.kb-section-head {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.kb-align-left { text-align: left; margin-left: 0; }

.kb-kicker,
.kb-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  margin: 0 0 14px;
  padding: 6px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(25, 163, 91, .86), rgba(83, 190, 115, .82));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(25, 163, 91, .22);
}

.kb-section-head h2,
.kb-quest-copy h2,
.kb-expert h2,
.kb-final-copy h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(27px, 7vw, 40px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 850;
}

.kb-section-head p,
.kb-quest-copy p,
.kb-final-copy p {
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.kb-align-left p { margin-left: 0; }

.kb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 16px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.kb-btn:hover { transform: translateY(-2px); }
.kb-btn-main {
  background: linear-gradient(135deg, #20ad61, #11894c);
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(25, 163, 91, .24), inset 0 1px 0 rgba(255,255,255,.24);
}
.kb-btn-light {
  background: #fff;
  color: var(--green-dark);
  border-color: rgba(15, 61, 39, .12);
  box-shadow: 0 8px 18px rgba(15, 61, 39, .06);
}
.kb-btn-xl { min-height: 58px; padding: 0 26px; font-size: 17px; }

/* Header */
.kb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 14px 0;
}

.kb-header-panel {
  max-width: 1240px;
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 10px 12px;
  border-radius: 26px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15, 61, 39, .08);
  box-shadow: 0 8px 28px rgba(15, 61, 39, .09);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.kb-burger {
  grid-column: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #f5fff7;
  color: var(--green-dark);
}

.kb-brand {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.kb-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(139,107,232,.20);
  box-shadow: 0 4px 12px rgba(70,40,110,.12);
}
.kb-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.12);
}

.kb-brand-copy { display: grid; min-width: 0; }
.kb-brand-copy strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  font-weight: 650;
}
.kb-brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kb-desktop-nav,
.kb-desktop-only { display: none; }

.kb-header-actions {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.kb-mobile-menu {
  max-width: 1240px;
  margin: 8px auto 0;
  padding: 14px;
  display: grid;
  gap: 10px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.kb-mobile-menu a:not(.kb-btn) {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 14px;
  text-decoration: none;
  background: #f5fff7;
  color: var(--green-dark);
  font-weight: 700;
}

/* Hero */
.kb-hero {
  position: relative;
  padding: 28px 0 34px;
  overflow: hidden;
}
.kb-hero::before {
  content: "";
  position: absolute;
  inset: -120px -80px auto auto;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25,163,91,.18), transparent 68%);
}

.kb-hero-grid {
  display: grid;
  gap: 18px;
}

.kb-hero-copy { position: relative; z-index: 2; }
.kb-hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--green-dark);
  font-size: clamp(30px, 8.8vw, 52px);
  line-height: 1.13;
  letter-spacing: 0;
  font-weight: 850;
}
.kb-lead {
  max-width: 630px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}
.kb-hero-actions { margin-top: 26px; }

.kb-hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #dcf7e8, #f8fff9);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.kb-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.kb-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(240,251,244,0) 48%, rgba(240,251,244,.58) 100%);
  pointer-events: none;
}
.kb-float {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  color: var(--yellow);
  filter: none;
  animation: none;
}
.kb-star-a { top: 16px; left: 22px; }
.kb-star-b { top: 34px; right: 26px; animation-delay: .9s; }
.kb-gem-a { left: 22px; bottom: 26px; color: #19a35b; animation-delay: .4s; }
@keyframes kb-float { 50% { transform: translateY(-8px) rotate(7deg); } }

.kb-hero-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.kb-hero-badges span {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,61,39,.08);
  box-shadow: var(--soft-shadow);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}
.kb-hero-badges b {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0fbf4;
}

/* Problem cards */
.kb-problem-grid,
.kb-power-grid,
.kb-step-grid,
.kb-why-grid,
.kb-example-grid,
.kb-price-grid,
.kb-review-grid {
  display: grid;
  gap: 16px;
}
.kb-problem-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 16px 16px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}
.kb-problem-img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 16px;
  border-radius: 22px;
  background: #e8f8ed;
  box-shadow: inset 0 0 0 1px rgba(15,61,39,.06);
}
.kb-problem-card h3 {
  position: relative;
  z-index: 2;
  max-width: none;
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 850;
}
.kb-problem-card p {
  position: relative;
  z-index: 2;
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
/* Power cards */
.kb-power-grid { grid-template-columns: 1fr; }
.kb-power-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.kb-mini-scene {
  height: 190px;
  overflow: hidden;
  background: #e9faef;
}
.kb-mini-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kb-power-body { padding: 22px; }
.kb-power-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.kb-power-title > span {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #e9faef;
  color: var(--green);
}
.kb-theme-story .kb-power-title > span { background: #f1ecff; color: var(--violet); }
.kb-theme-quest .kb-power-title > span { background: #fff3de; color: var(--orange); }
.kb-theme-adventure .kb-power-title > span { background: #e9f5ff; color: var(--blue); }
.kb-power-title h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 25px;
  line-height: 1.05;
  font-weight: 850;
}
.kb-theme-story .kb-power-title h3 { color: #6b4fd1; }
.kb-theme-quest .kb-power-title h3 { color: #d97c00; }
.kb-theme-adventure .kb-power-title h3 { color: #1979bd; }
.kb-power-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}
.kb-power-text {
  margin: 18px 0 14px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.48;
}
.kb-power-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}
.kb-power-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.42;
}
.kb-power-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.kb-theme-story li::before { background: var(--violet); }
.kb-theme-quest li::before { background: var(--orange); }
.kb-theme-adventure li::before { background: var(--blue); }
.kb-power-example {
  margin: 16px 0 0;
  padding: 13px 14px;
  border-radius: 16px;
  background: #f0fbf4;
  color: var(--green-dark);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 750;
}

/* Steps */
.kb-step-card,
.kb-why-card,
.kb-example-card,
.kb-price-card,
.kb-review-card {
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}
.kb-step-card {
  position: relative;
  overflow: hidden;
  padding: 14px 14px 20px;
  background: #fff;
}
.kb-step-top {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
}
.kb-step-top > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #67cf70, #138f50);
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(15,61,39,.14);
}
.kb-step-image {
  width: 100%;
  height: 172px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  margin-bottom: 16px;
  background: #e6f9ee;
}
.kb-step-card h3 { margin: 0 0 8px; color: var(--green-dark); font-size: 19px; }
.kb-step-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.kb-note {
  width: fit-content;
  max-width: 100%;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #e6f9ee;
  color: var(--green-dark);
  font-weight: 900;
  text-align: left;
}

/* Why + expert */
.kb-why {
  background: linear-gradient(180deg, rgba(221,247,232,.55), rgba(255,255,255,.4));
}
.kb-why-card {
  overflow: hidden;
  padding: 14px 14px 20px;
}
.kb-why-illustration {
  width: 100%;
  height: 138px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 14px;
}
.kb-why-card h3 { margin: 0 0 8px; color: var(--green-dark); font-size: 18px; line-height: 1.2; }
.kb-why-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.kb-expert {
  margin-top: 34px;
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(135deg, #ffffff, #fbf8ff);
  border: 1px solid rgba(139,107,232,.22);
  box-shadow: 0 16px 38px rgba(95, 72, 172, .10);
}
.kb-expert-photo {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: 26px;
  box-shadow: 0 12px 28px rgba(15, 61, 39, .10);
}
.kb-expert blockquote {
  margin: 14px 0 10px;
  color: #684cd2;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 900;
}
.kb-expert-role {
  margin: 6px 0 0 !important;
  color: var(--green-dark) !important;
  font-weight: 800;
}
.kb-expert p { margin: 0; color: var(--muted); line-height: 1.5; }

/* Examples */
.kb-example-card {
  overflow: hidden;
  padding: 14px;
}
.kb-example-preview {
  min-height: 154px;
  overflow: hidden;
  border-radius: 20px;
  background: #f6f7fb;
  border: 1px solid rgba(25,163,91,.14);
}
.kb-example-preview img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  object-position: top center;
}
.kb-example-preview-story { border-color: rgba(139,107,232,.18); }
.kb-example-preview-quest { border-color: rgba(255,159,28,.20); }
.kb-example-preview-interactive { border-color: rgba(53,167,255,.20); }
.kb-example-card h3 {
  margin: 16px 4px 6px;
  color: var(--green-dark);
  font-size: 19px;
}
.kb-example-card p {
  margin: 0 4px 4px;
  color: var(--muted);
  line-height: 1.45;
}

/* Price */
.kb-price-summary,
.kb-bonus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 18px;
  padding: 14px 18px;
  border-radius: 22px;
  background: #e6f9ee;
  color: var(--green-dark);
  text-align: center;
}
.kb-price-summary { width: fit-content; max-width: 100%; }
.kb-price-card {
  position: relative;
  padding: 24px 18px;
  text-align: center;
}
.kb-price-best {
  border-color: rgba(25,163,91,.45);
  box-shadow: 0 18px 44px rgba(25,163,91,.16);
}
.kb-price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}
.kb-price-gems {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 950;
  line-height: 1.08;
}
.kb-price-rub { margin: 10px 0 0; font-size: 24px; font-weight: 950; color: var(--text); }
.kb-price-unit { margin: 6px 0 0; color: var(--muted); }
.kb-bonus {
  margin-top: 18px;
  margin-bottom: 0;
  font-weight: 900;
}

/* Reviews */
.kb-review-card { padding: 20px; }
.kb-stars { display: flex; gap: 3px; color: var(--yellow); }
.kb-review-card > p {
  margin: 14px 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}
.kb-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.kb-review-author > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6f9ee;
  color: var(--green-dark);
  font-weight: 950;
}
.kb-review-author strong,
.kb-review-author small { display: block; }
.kb-review-author small { color: var(--muted); margin-top: 2px; }

/* CTA */
.kb-final-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: 28px 20px 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 15%, rgba(255,216,77,.38), transparent 18rem),
    linear-gradient(135deg, #5bcf66 0%, #0e9450 58%, #058449 100%);
  color: #fff;
  box-shadow: 0 22px 52px rgba(25,163,91,.3);
}
.kb-final-copy h2 { color: #fff; }
.kb-final-copy p { color: rgba(255,255,255,.88); margin-left: 0; }
.kb-robot {
  width: min(260px, 78vw);
  justify-self: center;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0,0,0,.16);
}
.kb-robot img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}
.kb-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.kb-platform {
  min-height: 66px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  padding: 12px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #27b967, #11894c);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15, 61, 39, .10);
  border: 1px solid rgba(255,255,255,.72);
}
.kb-platform > span {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
  color: #fff;
}
.kb-platform b,
.kb-platform small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kb-platform b {
  color: #fff;
  font-size: 16px;
  font-weight: 850;
}
.kb-platform small { color: var(--muted); }
.kb-cta-note { margin: 0; color: rgba(255,255,255,.86); font-weight: 800; text-align: center; }

/* FAQ */
.kb-faq {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.kb-faq-item {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff, #fbfffd);
  border: 1px solid rgba(25,163,91,.16);
  box-shadow: 0 10px 26px rgba(15, 61, 39, .07);
}
.kb-faq-question {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  text-align: left;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
  cursor: pointer;
}
.kb-faq-question b {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  transition: transform .18s ease;
}
.kb-faq-item.is-open .kb-faq-question b { transform: rotate(45deg); }
.kb-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .22s ease;
}
.kb-faq-item.is-open .kb-faq-answer { max-height: 360px; }
.kb-faq-answer p {
  margin: 0;
  padding: 0 22px 24px;
  color: #405247;
  font-size: 16px;
  line-height: 1.68;
}

/* Footer */
.kb-footer {
  padding: 36px 0 24px;
  background: rgba(255,255,255,.8);
  border-top: 1px solid var(--line);
}
.kb-footer-grid {
  display: grid;
  gap: 24px;
}
.kb-footer p {
  max-width: 320px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.kb-footer nav {
  display: grid;
  gap: 10px;
}
.kb-footer a {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 800;
}
.kb-footer-support {
  padding: 18px;
  border-radius: 22px;
  background: #e6f9ee;
}
.kb-footer-support strong { display: block; color: var(--green-dark); margin-bottom: 10px; }
.kb-footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

@media (min-width: 520px) {
  .kb-container { padding: 0 24px; }
  .kb-price-grid,
  .kb-review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kb-hero-badges,
  .kb-problem-grid,
  .kb-step-grid,
  .kb-why-grid,
  .kb-example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .kb-section { padding: 72px 0; }
  .kb-header { padding: 16px 24px 0; }
  .kb-header-panel {
    grid-template-columns: 1fr auto;
    padding: 12px 14px 12px 18px;
  }
  .kb-burger { display: none; }
  .kb-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .kb-desktop-nav a {
    padding: 10px 11px;
    border-radius: 12px;
    color: #314237;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
  }
  .kb-desktop-nav a:hover { background: #eefbf3; }
  .kb-desktop-only { display: inline-flex; }
  .kb-header-panel { grid-template-columns: auto 1fr auto; }
  .kb-hero { padding-top: 56px; }
  .kb-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .78fr);
    align-items: center;
    gap: 28px;
  }
  .kb-hero-badges {
    grid-column: 1 / -1;
    max-width: 760px;
    justify-self: center;
  }
  .kb-hero-art { min-height: 0; }
  .kb-power-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb-power-card { display: flex; flex-direction: column; }
  .kb-power-body { display: flex; flex: 1; flex-direction: column; }
  .kb-step-grid,
  .kb-review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kb-why-grid,
  .kb-example-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kb-expert { grid-template-columns: .72fr 1.28fr; align-items: center; padding: 30px; }
  .kb-expert-photo { height: 280px; }
  .kb-final-cta { grid-template-columns: 260px 1fr; align-items: center; padding: 36px; }
  .kb-platform-grid { grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb-cta-note { grid-column: 1 / -1; }
  .kb-footer-grid { grid-template-columns: 1.1fr 1.3fr .8fr; align-items: start; }
  .kb-footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) and (max-width: 959px) {
  .kb-header-panel {
    grid-template-columns: minmax(0, 1fr) 48px;
    padding: 10px 10px 10px 12px;
  }
  .kb-burger { display: grid; }
  .kb-desktop-nav,
  .kb-desktop-only { display: none; }
}

@media (min-width: 960px) {
  .kb-header-panel {
    grid-template-columns: auto 1fr auto;
    padding: 12px 14px 12px 18px;
  }
  .kb-burger { display: none; }
  .kb-desktop-nav { display: flex; }
  .kb-desktop-only { display: inline-flex; }
  .kb-header-actions { display: flex; }
}

@media (min-width: 1120px) {
  .kb-container { padding: 0 32px; }
  .kb-section { padding: 86px 0; }
  .kb-hero-grid {
    grid-template-columns: minmax(0, .98fr) minmax(450px, .82fr);
    gap: 44px;
  }
  .kb-hero-badges {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    width: min(100%, 720px);
  }
  .kb-hero-art {
    grid-row: 1 / span 2;
    min-height: 0;
  }
  .kb-hero-art img { object-position: center; }
  .kb-hero h1 { font-size: clamp(42px, 4vw, 52px); }
  .kb-power-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kb-power-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .kb-power-title > span { width: 46px; height: 46px; flex-basis: 46px; }
  .kb-power-title h3 { font-size: 23px; }
  .kb-power-text,
  .kb-power-card li { font-size: 14.5px; }
  .kb-problem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kb-problem-img { height: 210px; }
  .kb-final-cta { grid-template-columns: 300px minmax(0, .85fr) minmax(420px, 1fr); }
  .kb-platform-grid { grid-column: auto; }
  .kb-cta-note { grid-column: 2 / -1; }
}

@media (max-width: 380px) {
  .kb-container { padding: 0 14px; }
  .kb-header { padding-left: 10px; padding-right: 10px; }
  .kb-header-panel { grid-template-columns: minmax(0, 1fr) 44px; border-radius: 22px; }
  .kb-brand-mark { width: 36px; height: 36px; flex-basis: 36px; }
  .kb-brand-copy strong { font-size: 19px; }
  .kb-brand-copy small { font-size: 12px; }
  .kb-hero h1 { font-size: 29px; }
  .kb-lead { font-size: 16px; }
  .kb-hero-art { min-height: 0; border-radius: 28px; }
  .kb-hero-badges { gap: 8px; }
  .kb-hero-badges span { padding: 10px; font-size: 13px; }
  .kb-platform-grid { grid-template-columns: 1fr; }
  .kb-faq-question { padding: 18px 16px; font-size: 16px; }
  .kb-faq-answer p { padding: 0 16px 20px; font-size: 15px; }
}

@media (max-width: 520px) {
  .kb-platform-grid { grid-template-columns: 1fr; }
  .kb-platform {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 60px;
    padding: 10px 12px;
    border-radius: 18px;
  }
  .kb-platform > span {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }
  .kb-platform b {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.15;
  }
}

@media (max-width: 767px) {
  .kb-mobile-title-line {
    display: block;
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  .kb-mobile-title-line { display: inline; }
}
