/* /kak-kupit/ — «Как купить» (01.12.2026). Только .hb-* классы этой страницы; токены — ui-kit/tokens.css. */
.hb-page{ padding:0 0 clamp(48px, 6vw, 88px); }
.hb-page p{ margin:0; }
.hb-page a{ color:var(--brand); text-decoration:underline; text-decoration-color:var(--brand-200); text-underline-offset:3px; }
.hb-page a:hover{ text-decoration-color:currentColor; }

.hb-lead{
  max-width:760px; font-family:var(--font-body); font-size:clamp(17px, 1.6vw, 19px); line-height:1.55; color:var(--ink-600);
}

.hb-facts{
  list-style:none; margin:clamp(24px, 3vw, 36px) 0 0; padding:0;
  display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:12px; overflow:hidden;
}
.hb-facts li{ background:var(--paper); padding:18px 20px; display:flex; flex-direction:column; gap:4px; min-width:0; }
.hb-facts b{ font-family:var(--font-body); font-weight:800; font-size:clamp(18px, 1.8vw, 22px); line-height:1.15; letter-spacing:-.02em; color:var(--brand); }
.hb-facts span{ font-family:var(--font-body); font-size:14px; line-height:1.4; color:var(--graphite-aa); }

.hb-section{ margin-top:clamp(40px, 5vw, 64px); }
.hb-h2{ margin:0 0 clamp(18px, 2vw, 24px); font-family:var(--font-body); font-weight:800; font-size:clamp(22px, 2.4vw, 28px); line-height:1.2; letter-spacing:-.02em; color:var(--ink); }
.hb-h3{ margin:0 0 12px; font-family:var(--font-body); font-weight:700; font-size:clamp(18px, 1.8vw, 20px); line-height:1.25; color:var(--ink); }

.hb-steps{ list-style:none; margin:0; padding:0; counter-reset:none; }
.hb-step{ position:relative; display:grid; grid-template-columns:44px 1fr; column-gap:clamp(14px, 2vw, 24px); padding-bottom:clamp(20px, 2.4vw, 28px); }
.hb-step:last-child{ padding-bottom:0; }
/* линия-связка между номерами */
.hb-step:not(:last-child)::before{ content:""; position:absolute; left:21px; top:48px; bottom:4px; width:2px; background:var(--brand-100); border-radius:1px; }
.hb-step__num{
  width:44px; height:44px; border-radius:50%; display:grid; place-items:center;
  background:var(--brand-100); color:var(--brand);
  font-family:var(--font-mono); font-weight:500; font-size:14px; letter-spacing:.04em;
}
.hb-step__body{ padding-top:9px; min-width:0; }
.hb-step__title{ margin:0 0 6px; font-family:var(--font-body); font-weight:700; font-size:clamp(17px, 1.7vw, 19px); line-height:1.3; color:var(--ink); }
.hb-step__text{ font-family:var(--font-body); font-size:16px; line-height:1.6; color:var(--ink-600); max-width:720px; text-wrap:pretty; }

.hb-grid2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.hb-card{ background:var(--bg); border:1px solid var(--line); border-radius:12px; padding:clamp(20px, 2.4vw, 28px); }
.hb-list{ margin:0; padding:0; list-style:none; display:grid; gap:10px; }
.hb-list li{ position:relative; padding-left:20px; font-family:var(--font-body); font-size:15px; line-height:1.55; color:var(--ink-600); }
.hb-list li::before{ content:""; position:absolute; left:2px; top:.62em; width:6px; height:6px; border-radius:50%; background:var(--brand); }

.hb-faq{ border-top:1px solid var(--line); }
.hb-faq__item{ border-bottom:1px solid var(--line); }
.hb-faq__item summary{
  list-style:none; cursor:pointer; position:relative; padding:18px 40px 18px 0;
  font-family:var(--font-body); font-weight:700; font-size:16px; line-height:1.4; color:var(--ink);
}
.hb-faq__item summary::-webkit-details-marker{ display:none; }
.hb-faq__item summary::after{
  content:""; position:absolute; right:8px; top:50%; width:10px; height:10px; margin-top:-7px;
  border-right:2px solid var(--brand); border-bottom:2px solid var(--brand); transform:rotate(45deg); transition:transform .2s ease;
}
.hb-faq__item[open] summary::after{ transform:rotate(225deg); margin-top:-2px; }
.hb-faq__item summary:focus-visible{ outline:2px solid var(--green); outline-offset:2px; border-radius:4px; }
.hb-faq__item p{ padding:0 0 18px; font-family:var(--font-body); font-size:15px; line-height:1.6; color:var(--ink-600); max-width:760px; }

.hb-cta{
  margin-top:clamp(40px, 5vw, 64px); display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
  background:var(--brand); color:#fff; border-radius:12px; padding:clamp(22px, 3vw, 32px);
}
.hb-cta .hb-h3{ color:#fff; margin-bottom:6px; }
.hb-cta p{ font-family:var(--font-body); font-size:15px; color:color-mix(in oklch, #fff 80%, var(--brand)); }
.hb-cta a:not(.hb-btn){ color:#fff; text-decoration-color:color-mix(in oklch, #fff 45%, var(--brand)); }
.hb-cta > div:first-child{ flex:1 1 320px; }
.hb-cta__btns{ display:flex; gap:10px; flex-wrap:wrap; flex-shrink:0; }
.hb-page .hb-btn{
  display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 22px; border-radius:10px;
  font-family:var(--font-body); font-weight:700; font-size:15px; text-decoration:none; white-space:nowrap;
  color:#fff; border:1px solid color-mix(in oklch, #fff 40%, var(--brand)); transition:background .2s ease;
}
.hb-page .hb-btn:hover{ background:color-mix(in oklch, #fff 12%, var(--brand)); }
.hb-page .hb-btn--primary{ background:#fff; border-color:#fff; color:var(--brand); }
.hb-page .hb-btn--primary:hover{ background:var(--brand-50); }

@media (max-width: 860px){
  .hb-facts{ grid-template-columns:1fr 1fr; }
  .hb-grid2{ grid-template-columns:1fr; }
}
@media (max-width: 480px){
  .hb-step{ grid-template-columns:40px 1fr; }
  .hb-step__num{ width:40px; height:40px; font-size:13px; }
  .hb-step:not(:last-child)::before{ left:19px; top:44px; }
  .hb-step__body{ padding-top:2px; }
  .hb-step__text{ font-size:15px; }
  .hb-facts li{ padding:14px; }
  .hb-cta__btns, .hb-page .hb-btn{ width:100%; }
}
