.bespoke-hcd {
  /* Палитра снята с dent.hc26.ru: тёплый зелёный, графит и оливковые подложки.
     Шрифт — Geologica: он уже self-hosted на сайте, в отличие от Onest у клиента. */
  /* У клиента зелёный #5e8c2e, но белый текст на нём даёт 3.99:1.
     Затемнили на несколько процентов: оттенок тот же, контраст — 4.9:1. */
  --hcd-green: #537d28;
  --hcd-green-deep: #45691f;
  --hcd-ink: #2e2e28;
  --hcd-deep: #14140f;
  --hcd-body: #55554d;
  --hcd-muted: #6f6f66;
  --hcd-paper: #f7f8f3;
  --hcd-mint: #f2f6ea;
  --hcd-line: rgba(46, 46, 40, .16);
  --hcd-accent: #d92d16;
  overflow: clip;
  background: #fff;
  color: var(--hcd-ink);
  font-family: "Geologica", system-ui, sans-serif;
}

.bespoke-hcd *,
.bespoke-hcd *::before,
.bespoke-hcd *::after { box-sizing: border-box; }

.bespoke-hcd h1,
.bespoke-hcd h2,
.bespoke-hcd h3,
.bespoke-hcd p,
.bespoke-hcd ul,
.bespoke-hcd ol,
.bespoke-hcd dl,
.bespoke-hcd dd { margin: 0; }
.bespoke-hcd ul { padding: 0; list-style: none; }

.hcd-shell { width: min(100% - 64px, 1280px); margin-inline: auto; }

.hcd-progress { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; height: 4px; pointer-events: none; }
.hcd-progress span { display: block; width: 100%; height: 100%; background: var(--hcd-green); transform: scaleX(0); transform-origin: left; }

.hcd-index { color: var(--hcd-green-deep); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.hcd-pill { display: inline-block; padding: 9px 17px; border-radius: 999px; background: var(--hcd-green); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.hcd-btn { display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px; border-radius: 999px; font-size: 14px; font-weight: 800; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.hcd-btn-solid { background: var(--hcd-green); color: #fff; }
.hcd-btn-solid:hover { background: var(--hcd-green-deep); transform: translateY(-2px); }
.hcd-btn-ghost { border: 1px solid var(--hcd-line); color: var(--hcd-ink); }
.hcd-btn-ghost:hover { border-color: var(--hcd-ink); background: var(--hcd-ink); color: #fff; }
.hcd-btn:focus-visible { outline: 2px solid var(--hcd-green-deep); outline-offset: 3px; }

.hcd-logo { display: inline-flex; align-items: center; gap: 11px; }
.hcd-logo > i { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--hcd-line); border-radius: 50%; font-size: 12px; font-style: normal; font-weight: 700; }
.hcd-logo > i sup { margin-left: 1px; color: var(--hcd-green); font-size: 9px; }
.hcd-logo > b { font-size: 11px; font-weight: 800; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }

.hcd-hero { padding: 40px 0 clamp(70px, 8vw, 118px); background: linear-gradient(180deg, var(--hcd-mint) 0%, #fff 100%); }
.hcd-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: clamp(56px, 8vw, 108px); }
.hcd-hero-top > p { color: var(--hcd-muted); font-size: 12px; font-weight: 700; }
.hcd-hero-body { max-width: 940px; }
.hcd-hero h1 { margin-top: 26px !important; font-size: clamp(45px, 6.6vw, 96px); font-weight: 600; line-height: .98; letter-spacing: -.055em; }
.hcd-hero h1 em { color: var(--hcd-green); font-style: normal; }
.hcd-hero-lead { max-width: 620px; margin-top: clamp(28px, 3.5vw, 44px) !important; color: var(--hcd-body); font-size: clamp(16px, 1.35vw, 20px); line-height: 1.6; }
.hcd-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hcd-hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: clamp(60px, 8vw, 105px); }
.hcd-hero-facts > div { padding: 26px 24px; border: 1px solid var(--hcd-line); border-radius: 24px; background: #fff; }
.hcd-hero-facts dt { color: var(--hcd-green); font-size: clamp(30px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.05em; }
.hcd-hero-facts dd { margin-top: 10px; color: var(--hcd-muted); font-size: 13px; font-weight: 700; line-height: 1.4; }

.hcd-problem { padding: clamp(88px, 10vw, 150px) 0; }
.hcd-problem-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 8vw, 130px); align-items: end; margin-top: 30px; }
.hcd-problem h2,
.hcd-head h2,
.hcd-result h2 { font-size: clamp(40px, 5.2vw, 82px); font-weight: 600; line-height: .96; letter-spacing: -.055em; }
.hcd-problem h2 em,
.hcd-head h2 em,
.hcd-result h2 em { color: var(--hcd-green); font-style: normal; }
.hcd-problem-copy p { color: var(--hcd-body); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.65; }
.hcd-objections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(52px, 6vw, 84px); }
.hcd-objections li { padding: 30px 28px; border-radius: 24px; background: var(--hcd-mint); }
.hcd-objections b { display: block; font-size: clamp(18px, 1.5vw, 23px); font-weight: 600; letter-spacing: -.03em; }
.hcd-objections span { display: block; margin-top: 14px; color: var(--hcd-body); font-size: 14px; line-height: 1.55; }

.hcd-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); align-items: end; }
.hcd-head > p { max-width: 520px; color: var(--hcd-body); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.65; }
.hcd-head h2 { margin-top: 22px !important; }

.hcd-proof { padding: clamp(88px, 10vw, 150px) 0; background: var(--hcd-paper); }
.hcd-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(52px, 6vw, 88px); }
.hcd-proof-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--hcd-line); border-radius: 24px; background: #fff; }
.hcd-proof-card h3 { margin-top: 26px; font-size: clamp(19px, 1.6vw, 25px); font-weight: 600; letter-spacing: -.035em; }
.hcd-proof-card p { margin-top: 13px !important; color: var(--hcd-body); font-size: 14px; line-height: 1.6; }
.hcd-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; height: 128px; }
.hcd-ba span { display: grid; place-items: center; border-radius: 16px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hcd-ba-before { background: #ece9e2; color: var(--hcd-muted); }
.hcd-ba-after { background: var(--hcd-green); color: #fff; }
.hcd-docs { display: grid; gap: 6px; }
.hcd-docs li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: 999px; background: var(--hcd-mint); }
.hcd-docs b { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.hcd-docs span { color: var(--hcd-muted); font-size: 11px; font-weight: 700; }
.hcd-docs-row { display: flex; align-items: center; gap: -4px; height: 128px; }
.hcd-docs-row i { display: grid; width: 52px; height: 52px; place-items: center; margin-right: -10px; border: 2px solid #fff; border-radius: 50%; background: var(--hcd-mint); color: var(--hcd-green-deep); font-size: 12px; font-style: normal; font-weight: 800; }
.hcd-docs-row i:last-child { background: var(--hcd-ink); color: #fff; }

.hcd-browser { margin: 0; border: 1px solid var(--hcd-line); border-radius: 20px; background: #fff; overflow: hidden; box-shadow: 0 24px 50px rgba(46,46,40,.09); }
.hcd-browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--hcd-ink); color: rgba(255,255,255,.7); font-size: 9px; letter-spacing: .05em; }
.hcd-browser-bar > span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.32); }
.hcd-browser-bar > b { margin-left: 10px; font-weight: 600; }
.hcd-browser img { display: block; width: 100%; }
.hcd-browser-wide { margin-top: clamp(46px, 5vw, 74px); }
.hcd-browser-pair { display: grid; gap: 14px; }

.hcd-graph { padding: clamp(88px, 10vw, 150px) 0; background: var(--hcd-paper); }
.hcd-graph-item { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(38px, 6vw, 88px); align-items: center; margin-top: clamp(52px, 6vw, 92px); }
.hcd-graph-item-reverse { grid-template-columns: 1.18fr .82fr; }
.hcd-graph-item-reverse .hcd-graph-copy { order: 2; }
.hcd-graph-copy h3 { margin-top: 20px; font-size: clamp(24px, 2.3vw, 36px); font-weight: 600; line-height: 1.08; letter-spacing: -.04em; }
.hcd-graph-copy > p { margin-top: 16px !important; color: var(--hcd-body); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.65; }
.hcd-pill-ghost { border: 1px solid var(--hcd-green); background: transparent; color: var(--hcd-green-deep); }
.hcd-ticks { display: grid; gap: 9px; margin-top: 24px; }
.hcd-ticks li { position: relative; padding-left: 26px; font-size: 14px; font-weight: 600; line-height: 1.45; }
.hcd-ticks li::before { position: absolute; top: 1px; left: 0; display: grid; width: 17px; height: 17px; place-items: center; border-radius: 50%; background: var(--hcd-green); color: #fff; content: "✓"; font-size: 9px; }

.hcd-price { padding: clamp(88px, 10vw, 150px) 0; }
.hcd-price-card { margin-top: clamp(48px, 6vw, 80px); padding: clamp(22px, 3vw, 38px); border: 1px solid var(--hcd-line); border-radius: 28px; background: var(--hcd-paper); }
.hcd-price-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.hcd-price-tabs button { padding: 12px 20px; border: 1px solid var(--hcd-line); border-radius: 999px; background: #fff; color: var(--hcd-ink); cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.hcd-price-tabs button[aria-selected="true"] { border-color: var(--hcd-green); background: var(--hcd-green); color: #fff; }
.hcd-price-tabs button:hover:not([aria-selected="true"]) { border-color: var(--hcd-ink); }
.hcd-price-tabs button:focus-visible,
.hcd-price-panel:focus-visible { outline: 2px solid var(--hcd-green-deep); outline-offset: 3px; }
.hcd-price-panel { margin-top: 22px; border-radius: 20px; background: #fff; overflow: hidden; }
.hcd-price-head { display: grid; grid-template-columns: 1fr 130px 150px; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--hcd-line); color: var(--hcd-muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hcd-price-head span:nth-child(2) { text-align: right; }
.hcd-price-rows li { display: grid; grid-template-columns: 1fr 130px 150px; gap: 16px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--hcd-line); }
.hcd-price-rows li:last-child { border-bottom: 0; }
.hcd-price-rows .hcd-price-name { font-size: 14px; font-weight: 600; line-height: 1.4; }
.hcd-price-rows .hcd-price-value { color: var(--hcd-ink); font-size: 15px; font-weight: 700; text-align: right; white-space: nowrap; }
.hcd-price-rows .hcd-price-book { justify-self: end; padding: 10px 18px; border-radius: 999px; background: var(--hcd-green); color: #fff; font-size: 12px; font-weight: 800; }
.hcd-price-rows .hcd-price-rest { background: var(--hcd-mint); }
.hcd-price-rows .hcd-price-rest .hcd-price-name { color: var(--hcd-muted); font-weight: 700; }
.hcd-price-note { margin-top: 20px !important; color: var(--hcd-muted); font-size: 13px; line-height: 1.55; }

.hcd-booking { padding: clamp(88px, 10vw, 150px) 0; background: var(--hcd-deep); color: #fff; }
.hcd-head-light .hcd-index { color: #a8cf7d; }
.hcd-head-light > p { color: rgba(255,255,255,.76); }
.hcd-booking h2 em { color: #a8cf7d; }
.hcd-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; margin-top: clamp(52px, 6vw, 88px); }
.hcd-flow > i { align-self: center; color: #a8cf7d; font-size: 24px; font-style: normal; }
.hcd-flow-step { padding: 26px 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(255,255,255,.05); }
.hcd-flow-step b { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); color: #a8cf7d; font-size: 11px; font-weight: 800; }
.hcd-flow-step strong { display: block; margin-top: 20px; font-size: clamp(17px, 1.4vw, 21px); font-weight: 600; letter-spacing: -.03em; }
.hcd-flow-step code { display: inline-block; margin-top: 12px; padding: 7px 13px; border-radius: 999px; background: rgba(168,207,125,.16); color: #c6e3a5; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; }
.hcd-flow-step span { display: block; margin-top: 12px; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.55; }
.hcd-flow-step-final { border-color: rgba(168,207,125,.5); background: rgba(168,207,125,.1); }

.hcd-result { padding: clamp(88px, 10vw, 150px) 0; }
.hcd-result-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); align-items: end; margin-top: 30px; }
.hcd-result-grid p { color: var(--hcd-body); font-size: clamp(16px, 1.3vw, 20px); line-height: 1.6; }
.hcd-result-grid .hcd-btn { margin-top: 32px; }
.hcd-sisters { margin-top: clamp(66px, 8vw, 110px); padding: clamp(26px, 3.4vw, 44px); border-radius: 28px; background: var(--hcd-mint); }
.hcd-sisters-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.hcd-sisters-grid article { padding: 26px 24px; border: 1px solid transparent; border-radius: 24px; background: #fff; }
.hcd-sisters-grid article.is-current { border-color: var(--hcd-green); }
.hcd-sisters-grid b { display: block; font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.035em; }
.hcd-sisters-grid span { display: block; margin-top: 12px; color: var(--hcd-body); font-size: 14px; line-height: 1.55; }
.hcd-sisters-note { margin-top: 22px !important; color: var(--hcd-muted); font-size: 13px; line-height: 1.6; }

.hcd-motion-ready [data-hcd-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.hcd-motion-ready [data-hcd-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .hcd-shell { width: min(100% - 44px, 1280px); }
  .hcd-problem-grid,
  .hcd-head,
  .hcd-result-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .hcd-hero-facts { grid-template-columns: repeat(2, 1fr); }
  .hcd-objections,
  .hcd-proof-grid { grid-template-columns: 1fr; }
  .hcd-graph-item,
  .hcd-graph-item-reverse { grid-template-columns: 1fr; gap: 28px; }
  .hcd-graph-item-reverse .hcd-graph-copy { order: 0; }
  .hcd-flow { grid-template-columns: 1fr; }
  .hcd-flow > i { justify-self: center; transform: rotate(90deg); }
  .hcd-sisters-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hcd-shell { width: min(100% - 32px, 1280px); }
  .hcd-hero-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hcd-hero-facts { grid-template-columns: 1fr; }
  .hcd-price-head { display: none; }
  .hcd-price-rows li { grid-template-columns: 1fr auto; gap: 8px 14px; }
  .hcd-price-rows .hcd-price-value { grid-column: 2; text-align: right; }
  .hcd-price-rows .hcd-price-book { grid-column: 1 / -1; justify-self: start; }
  .hcd-btn { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .hcd-motion-ready [data-hcd-reveal] { opacity: 1; transform: none; transition: none; }
  .hcd-btn:hover { transform: none; }
}
