/* Страница-развилка демо. Своя вёрстка вместо page.css: у страницы нет ни героя
   с 3D, ни тура, ни формы — тащить ради двух карточек полтора мегабайта чужих
   правил незачем. Токены — общие (shared/css/tokens.css). */

.hb-skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 40;
  padding: 10px 18px;
  border-radius: var(--r-xs);
  background: var(--paper);
  color: var(--paper-ink);
  font-weight: 600;
}

.hb-skip:focus { left: 16px; }

.hb-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px var(--gutter);
  background: rgba(10, 11, 13, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.hb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-1);
}

.hb-brand b { font-weight: 400; color: var(--text-3); }

.hb-mark {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(140deg, var(--brass), var(--brass-deep));
}

.hb-cta { font-size: 13px; color: var(--text-2); }
.hb-cta:hover { color: var(--brass); }

.hb-main { max-width: var(--page); margin: 0 auto; padding: clamp(44px, 8vw, 92px) var(--gutter) 90px; }

.hb-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.hb-intro { max-width: 680px; }

.hb-intro h1 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text-1);
}

.hb-intro h1 em { font-style: normal; color: var(--brass); }

.hb-lead { margin-top: 20px; font-size: 16px; line-height: 1.65; color: var(--text-2); }

/* --- карточки --- */

.hb-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
  margin-top: clamp(36px, 6vw, 64px);
}

.hb-card {
  display: flex;
  flex-direction: column;
  padding: 30px 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.hb-card:hover { border-color: var(--brass-deep); transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .hb-card:hover { transform: none; }
}

.hb-card-b { background: linear-gradient(170deg, #16181c, var(--surface)); }

.hb-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.hb-card h2 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-1);
}

.hb-card p { margin-top: 12px; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }

.hb-list { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }

.hb-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-3);
}

.hb-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass-deep);
}

.hb-go {
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brass);
}

.hb-go i { font-style: normal; transition: transform var(--t-base) var(--ease); display: inline-block; }
.hb-card:hover .hb-go i { transform: translateX(4px); }

/* --- честная рамка --- */

.hb-note {
  margin-top: clamp(44px, 7vw, 80px);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.hb-note h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-1);
}

.hb-note dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
  margin-top: 22px;
}

.hb-note dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}

.hb-note dd { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--text-2); }

/* --- финал --- */

.hb-end { margin-top: clamp(44px, 7vw, 80px); text-align: center; }

.hb-end h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 600;
  color: var(--text-1);
}

.hb-end p { margin-top: 12px; font-size: 15px; color: var(--text-2); }

.hb-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  background: var(--brass);
  font-size: 14px;
  font-weight: 700;
  color: #1b1a17;
}

.hb-btn:hover { background: #e8cd9d; }

.hb-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 26px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.hb-foot a { color: var(--text-3); }
.hb-foot a:hover { color: var(--brass); }
