.kb {
  --kb-milk: #F4F3EF;
  --kb-ink: #292F2D;
  --kb-sage: #A9AEA3;
  --kb-gold: #B79B70;
  color: var(--kb-ink);
  background: var(--kb-milk);
  font-family: Inter, sans-serif;
}
.kb .container { width: min(1480px, calc(100% - 112px)); }
.kb .kb-section { padding-block: clamp(48px, 6vw, 96px); }
.kb h1, .kb h2, .kb h3 { font-family: Manrope, Inter, sans-serif; color: var(--kb-ink); margin: 0; }
.kb h1 { font-size: clamp(38px, 4vw, 68px); font-weight: 700; line-height: 1.07; letter-spacing: -.055em; }
.kb h2 { font-size: clamp(30px, 3.2vw, 48px); font-weight: 700; line-height: 1.13; letter-spacing: -.04em; }
.kb h3 { font-size: clamp(18px, 1.55vw, 24px); font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
.kb p { margin: 0; font-size: 15px; line-height: 1.65; color: #4b544e; }
.kb figure { margin: 0; }
.kb img { display: block; width: 100%; height: auto; }
.kb-intro { margin-bottom: clamp(24px, 3vw, 44px); }
.kb-intro p { margin-top: 12px; max-width: 65ch; }
.kb-process { background: #e4e7df; }
.kb-process-grid { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); align-items: start; gap: clamp(24px,4vw,64px); }
.kb-process figure img { border-radius: 14px; }
.kb-steps { list-style: none; counter-reset: kb-step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 24px; }
.kb-steps li { border-top: 1px solid var(--kb-sage); padding-top: 11px; counter-increment: kb-step; }
.kb-steps li::before { display: block; content: counter(kb-step, decimal-leading-zero); color: #6b5739; font: 700 13px/1.2 Manrope,sans-serif; margin-bottom: 6px; }
.kb-steps h3 { font-size: clamp(16px, 1.4vw, 21px); }
.kb-steps p { font-size: 14px; margin-top: 6px; }
.kb-fit { background: #efeee8; }
.kb-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.kb-options article { background: #fff; border-left: 3px solid var(--kb-gold); border-radius: 10px; padding: clamp(18px,3vw,36px); }
.kb p.kb-contract { margin-top: 17px; }
.kb-home img { aspect-ratio: 1.72; object-fit: contain; background: #eeece5; }
.kb-home h3 { padding: 15px 20px 18px; }
.kb-ready .btn { margin-top: 24px; min-height: 46px; gap: 10px; }
@media (max-width: 1000px) {
  .kb .container { width: calc(100% - 56px); }
}
@media (max-width: 740px) {
  .kb .container { width: calc(100% - 36px); }
  .kb .kb-section { padding-block: 43px; }
  .kb h1 { font-size: clamp(33px, 8.4vw, 46px); }
  .kb-ready .btn { width: 100%; }
}
@media (max-width: 370px) {
  .kb-steps { grid-template-columns: minmax(0,1fr); }
}
.kb-home a { display: block; height: 100%; }
.kb-home a:focus-visible { outline-offset: -4px; }
.kb-home a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.kb-homes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2vw,28px); }
.kb-home { overflow: hidden; background: #fff; border-radius: 14px; border: 1px solid #dfe0d8; }
@media (max-width: 740px) { .kb-homes { grid-template-columns: 1fr; } }

.ka-intro { padding-block: clamp(35px, 6vw, 92px) clamp(29px, 4vw, 55px); }
.ka-intro h1 { max-width: 19ch; }
.ka-intro p { max-width: 68ch; margin-top: 20px; font-size: clamp(15px, 1.35vw, 19px); }
.ka-anatomy { padding-bottom: clamp(45px, 6vw, 90px); }
.ka-anatomy .kb-intro { margin-bottom: 22px; }
.ka-layout { display: grid; gap: 18px; }
.ka-photo { position: relative; overflow: hidden; border-radius: 16px; }
.ka-information { display: grid; align-content: start; gap: 8px; min-width: 0; }
.ka-summary {
  background: #e4e7df;
  border-left: 3px solid var(--kb-gold);
  border-radius: 10px;
  padding: clamp(17px, 2vw, 27px);
}
.ka-summary span { display: block; font-size: 12px; font-weight: 600; }
.ka-summary strong { display: block; margin-top: 4px; font: 700 clamp(22px, 2.5vw, 34px)/1.15 Manrope, Inter, sans-serif; }
.ka-summary p { margin-top: 12px; font-size: 14px; }
.ka-panel { padding: 19px; border: 1px solid #d7dbd2; border-radius: 10px; background: #fff; }
.ka-panel p { margin-top: 8px; }
.ka-marker, .ka-choice, .ka-hint, .ka-instruction { display: none; }
.ka-enhanced .ka-instruction { display: block; }
.ka-enhanced .ka-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 8px 13px;
  border: 1px solid #d7dbd2;
  border-radius: 8px;
  color: var(--kb-ink);
  background: #fff;
  text-align: left;
  font-weight: 650;
}
.ka-choice span { color: #655438; font-variant-numeric: tabular-nums; }
.ka-choice::after { content: "+"; margin-left: auto; font-size: 20px; line-height: 1; }
.ka-choice[aria-expanded="true"]::after { content: "−"; }
.ka-choice[aria-expanded="true"] { background: #e4e7df; border-color: var(--kb-sage); }
.ka-detail > .ka-panel { margin-top: 7px; }
.ka-marker:focus-visible, .ka-choice:focus-visible { outline: 2px solid #292f2d; outline-offset: 4px; }
.kb-fit .btn { margin-top: 20px; min-height: 46px; }
.kb-process-grid { align-items: center; }
.kb-steps li { min-height: 75px; }
@media (min-width: 951px) {
  .ka-enhanced .ka-layout { grid-template-columns: minmax(0, 2.55fr) minmax(240px, 1fr); align-items: start; gap: clamp(16px, 2vw, 28px); }
  .ka-enhanced .ka-hint { display: block; }
  .ka-enhanced .ka-detail:not(:last-child) .ka-choice { display: none; }
  .ka-enhanced .ka-marker {
    display: grid;
    place-items: center;
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 42px;
    height: 42px;
    padding: 0;
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: #292f2d;
    box-shadow: 0 2px 10px #292f2d66;
    font: 700 13px/1 Manrope, Inter, sans-serif;
  }
  .ka-marker:hover, .ka-marker[aria-expanded="true"] { color: #292f2d; background: #dec49e; }
}
