/* ---- pages/home-ledger.css ---- */
/* Home · «Гроссбух» (ledger only). Prefix .hl- */

/* Sections that follow an alt band keep their top padding (the core collapses .section + .section) */
.section-alt + .section:is(.hl-get, .hl-cases, .hl-about):not(.section-alt):not(.section-flush) { padding-top: clamp(64px, 9vw, 128px); }

/* Hero ---------------------------------------------------------------------- */
.hl-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 104px); }
.hl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hl-kicker { margin-bottom: 26px; color: var(--ink-2); text-wrap: balance; }
.hl-title { font-size: clamp(34px, 4.2vw, 56px); }
.hl-title em { display: block; font-style: italic; font-weight: 320; color: var(--ink-2); }
.hl-lead { margin-top: 28px; max-width: 54ch; }
.hl-cta { display: flex; align-items: center; gap: 14px 30px; flex-wrap: wrap; margin-top: 36px; }
.hl-cta-link { font-size: 16px; padding: 10px 2px; }
.hl-cta-link:hover { color: var(--accent-text); }
.hl-terms { margin-top: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-3); }

/* The ledger page artifact */
.hl-sheet-wrap { position: relative; padding: 42px 34px 0 0; }
.hl-sheet-wrap::before { /* the page underneath */
  content: ""; position: absolute; inset: 42px 34px 0 0; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -26px color-mix(in srgb, var(--ink) 30%, transparent);
  transform: rotate(2.2deg); transform-origin: 0 100%; animation: hl-sheet-in .9s var(--ease-out) both;
}
.hl-sheet {
  position: relative; z-index: 1; background: var(--raised); box-shadow: var(--shadow-pop);
  animation: hl-sheet-in .9s var(--ease-out) .1s both, hl-thud .32s var(--ease-out) 1.36s;
}
.hl-sheet::after { /* red double margin rule */
  content: ""; position: absolute; top: 0; bottom: 0; left: 76px; width: 4px; pointer-events: none;
  border-left: 1px solid color-mix(in srgb, var(--neg) 50%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--neg) 50%, transparent);
}
@keyframes hl-sheet-in { from { opacity: 0; transform: translateY(22px) rotate(.8deg); } }
@keyframes hl-thud { 0%, 100% { transform: none; } 35% { transform: translateY(2px) scale(.996); } }

.hl-sheet-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 28px 120px 18px 102px; border-bottom: 1px solid var(--line-2); }
.hl-sheet-dow { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hl-sheet-title { margin-top: 6px; font-family: var(--font-display); font-weight: 380; font-style: italic; font-size: clamp(26px, 2.3vw, 32px); line-height: 1.1; letter-spacing: -.01em; }
.hl-sheet-more { display: inline-flex; margin-top: 10px; font-size: 13.5px; }

.hl-sheet-rows > li {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: end; min-height: 50px;
  padding: 10px 26px 9px 0; border-bottom: 1px solid var(--line); position: relative;
  transition: background-color var(--t-fast);
}
.hl-sheet-rows > li:not(.is-note):hover { background: color-mix(in srgb, var(--mark) 26%, transparent); }
.hl-sheet-rows time { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); text-align: center; padding-bottom: 1px; }
.hl-sheet-what { display: flex; align-items: baseline; gap: 10px; min-width: 0; padding: 0 12px 0 26px; font-size: 15.5px; color: var(--ink); }
.hl-sheet-what > span { position: relative; min-width: 0; }
.hl-sheet-what::after { content: ""; flex: 1 1 auto; min-width: 18px; border-bottom: 1.5px dotted var(--ink-4); transform: translateY(-4px); }
.hl-sheet-when { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding-bottom: 1px; }
.hl-sheet-rows .is-done s { color: var(--ink-3); text-decoration-color: var(--ink-3); }
.hl-sheet-rows .is-done .hl-sheet-when { color: var(--pos); }
.hl-sheet-rows .is-done .i { stroke-width: 2.2; }
.hl-sheet-rows .is-near time, .hl-sheet-rows .is-near .hl-sheet-when { color: var(--neg); font-weight: 500; }
.hl-sheet-rows .is-near .hl-sheet-what { font-weight: 500; }
.hl-ink { position: absolute; left: -4px; bottom: -8px; width: calc(100% + 10px); height: 10px; overflow: visible; pointer-events: none; }
.hl-ink path { fill: none; stroke: var(--neg); stroke-width: 1.7; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .75s var(--ease-out) 1.75s forwards; }
.hl-sheet-rows .is-note { border-bottom-color: var(--line); }
.hl-sheet-rows .is-note .hl-sheet-what::after { display: none; }
.hl-sheet-rows .is-note i { font-family: var(--font-display); font-size: 16px; color: var(--accent-text); }
.hl-sheet-foot { padding: 16px 26px 20px 102px; }
.hl-sheet-foot .arrow-link { font-size: 14.5px; line-height: 1.35; }
.hl-sheet-foot .arrow-link:hover { color: var(--accent-text); }

/* Rubber stamp */
.hl-stamp {
  position: absolute; z-index: 2; top: -4px; right: -6px; width: 160px; height: 160px; color: var(--accent);
  opacity: .86; mix-blend-mode: multiply; transform: rotate(-14deg); cursor: pointer; -webkit-tap-highlight-color: transparent;
  animation: hl-stamp .6s cubic-bezier(.3, .7, .25, 1) 1s both;
}
.hl-stamp text { fill: currentColor; }
.hl-stamp-ring { font-family: var(--font-mono); font-size: 16px; font-weight: 600; letter-spacing: .06em; }
.hl-stamp-mono { font-family: var(--font-display); font-size: 40px; font-weight: 500; letter-spacing: .02em; }
.hl-stamp-sub { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
@keyframes hl-stamp {
  0% { opacity: 0; transform: translate(8px, -12px) rotate(-3deg) scale(1.6); }
  58% { opacity: .9; transform: rotate(-15deg) scale(.95); }
  78% { transform: rotate(-13.6deg) scale(1.015); }
  100% { opacity: .86; transform: rotate(-14deg) scale(1); }
}

@media (max-width: 980px) {
  .hl-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hl-sheet-wrap { max-width: 600px; }
}
@media (max-width: 560px) {
  .hl-sheet-wrap { padding: 44px 12px 0 0; }
  .hl-sheet-wrap::before { inset: 44px 12px 0 0; }
  .hl-stamp { width: 104px; height: 104px; right: -6px; top: -6px; }
  .hl-sheet::after { left: 54px; }
  .hl-sheet-head { padding: 22px 16px 14px 72px; }
  .hl-sheet-title { font-size: 25px; }
  .hl-sheet-rows > li { grid-template-columns: 54px minmax(0, 1fr); grid-template-rows: auto auto; padding: 10px 16px 8px 0; row-gap: 2px; }
  .hl-sheet-rows time { font-size: 12px; grid-row: 1; align-self: start; padding-top: 3px; }
  .hl-sheet-what { padding: 0 0 0 18px; font-size: 15px; }
  .hl-sheet-what::after { display: none; }
  .hl-sheet-when { grid-column: 2; padding-left: 18px; }
  .hl-sheet-foot { padding: 14px 16px 18px 72px; }
  .hl-cta .btn { width: 100%; }
}

/* Facts row ----------------------------------------------------------------- */
.hl-facts-sec { border-top: var(--bw) solid var(--line-strong); border-bottom: var(--bw) solid var(--line); }
.hl-facts { display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(4, minmax(0, 1fr)); }
.hl-facts > li { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 22px 24px; border-left: var(--bw) solid var(--line); min-width: 0; }
.hl-facts > li:first-child { border-left: 0; padding-left: 0; }
.hl-facts b { font-weight: 500; font-size: 16px; line-height: 1.3; color: var(--ink); }
.hl-facts > li > span { font-size: 13px; color: var(--ink-3); line-height: 1.35; }
.hl-facts > .hl-fact-lead { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; }
.hl-facts .hl-fact-big { font-family: var(--font-display); font-weight: 300; font-size: 60px; line-height: .8; letter-spacing: -.04em; font-variation-settings: "opsz" 72; }
.hl-facts > .hl-fact-lead > span { font-size: 15px; color: var(--ink-2); max-width: 11ch; }
@media (max-width: 1080px) {
  .hl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hl-facts > li { border-left: 0; padding: 16px 0; border-top: var(--bw) solid var(--line); }
  .hl-facts > li:nth-child(even) { padding-left: 20px; border-left: var(--bw) solid var(--line); }
  .hl-facts > li:nth-child(odd):not(:first-child) { padding-right: 16px; }
  .hl-facts > .hl-fact-lead { grid-column: 1 / -1; border-top: 0; padding: 20px 0; }
  .hl-facts > li:nth-child(2) { padding-left: 0; border-left: 0; padding-right: 16px; }
  .hl-facts > li:nth-child(3) { padding-left: 20px; border-left: var(--bw) solid var(--line); }
  .hl-facts > li:nth-child(4) { padding-left: 0; border-left: 0; }
  .hl-facts > li:nth-child(5) { padding-left: 20px; border-left: var(--bw) solid var(--line); }
}

/* Лия · открытый тест ------------------------------------------------------ */
.hl-hero + .hl-liya { padding-top: clamp(48px, 6vw, 80px); }
.hl-liya + .hl-facts-sec { border-top: 0; }
.hl-liya-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.hl-liya-copy { text-align: left; }
.hl-liya-copy .label { margin-bottom: 14px; color: var(--accent-text); }
.hl-liya-title {
  margin-top: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.hl-liya-lead2 strong { font-weight: 600; color: var(--ink); }
.hl-liya-copy .lead { margin-top: 16px; max-width: 48ch; }
.hl-liya-lead2 { margin-top: 12px !important; }
.hl-liya-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 24px; }
.hl-liya-foot { margin-top: 14px; color: var(--ink-3); max-width: 42ch; }

/* Плашка Лии — тот же лист-тетрадь, что у календаря */
.hl-liya-sheet .hl-sheet { animation: none; }
.hl-liya-sheet.hl-sheet-wrap::before { animation: none; }
.hl-liya-sheet .hl-sheet-head { padding-right: 26px; }
.hl-liya-rows > li { grid-template-columns: 76px minmax(0, 1fr); align-items: center; }
.hl-liya-rows .hl-liya-mark {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  padding: 0 4px;
}
.hl-liya-rows .hl-sheet-what {
  text-decoration: none;
  color: var(--ink);
  padding-top: 4px;
  padding-bottom: 4px;
}
.hl-liya-rows .hl-sheet-what::after { display: none; }
.hl-liya-rows .hl-sheet-what:hover { color: var(--accent-text); }
.hl-liya-rows > li:hover { background: color-mix(in srgb, var(--mark) 26%, transparent); }

@media (max-width: 980px) {
  .hl-liya-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hl-liya-sheet { max-width: 600px; }
}
@media (max-width: 560px) {
  .hl-liya-rows > li { grid-template-columns: 54px minmax(0, 1fr); }
  .hl-liya-rows .hl-liya-mark { font-size: 11px; }
}

/* С кем я работаю ---------------------------------------------------------- */
.hl-who-list { border-top: var(--bw) solid var(--line-strong); }
.hl-who-row {
  position: relative; display: grid; grid-template-columns: 84px minmax(0, .95fr) minmax(0, 1.35fr) 150px; gap: 10px 40px;
  align-items: start; padding: 34px 0 38px; border-bottom: var(--bw) solid var(--line);
  transition: background-color .3s var(--ease-out), padding .45s var(--ease-out);
}
.hl-who-row::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease-out); }
.hl-who-row:hover { background: var(--surface); padding-inline: 22px; }
.hl-who-row:hover::before { transform: none; }
.hl-who-n { font-family: var(--font-display); font-weight: 280; font-size: 82px; line-height: .74; letter-spacing: -.04em; color: var(--ink-4); transition: color .35s var(--ease-out); font-variation-settings: "opsz" 72; }
.hl-who-row:hover .hl-who-n { color: var(--accent); }
.hl-who-t { display: flex; flex-direction: column; gap: 8px; }
.hl-who-t b { font-family: var(--font-h); font-weight: 440; font-size: clamp(22px, 2vw, 27px); line-height: 1.15; letter-spacing: -.01em; font-variation-settings: "opsz" 48; }
.hl-who-sub { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.hl-who-body q { display: block; quotes: "«" "»"; font-family: var(--font-display); font-style: italic; font-weight: 360; font-size: 20px; line-height: 1.38; color: var(--ink); text-wrap: pretty; }
.hl-who-body > span { display: block; margin-top: 12px; font-size: 15.5px; color: var(--ink-2); line-height: 1.55; text-wrap: pretty; }
.hl-who-go { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding-top: 6px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color var(--t-fast); }
.hl-who-go .i { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.hl-who-row:hover .hl-who-go { color: var(--accent-text); }
.hl-who-row:hover .hl-who-go .i { transform: translateX(6px); }
@media (max-width: 1080px) {
  .hl-who-row { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.3fr); }
  .hl-who-go { grid-column: 3; justify-self: start; padding-top: 4px; }
}
@media (max-width: 760px) {
  .hl-who-row { grid-template-columns: 44px minmax(0, 1fr); gap: 12px 14px; padding: 26px 0 28px; }
  .hl-who-row:hover { padding-inline: 12px; }
  .hl-who-n { font-size: 52px; grid-row: span 3; }
  .hl-who-body, .hl-who-go { grid-column: 2; }
  .hl-who-body q { font-size: 18px; }
}

/* Как устроен месяц -------------------------------------------------------- */
.hl-month-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.hl-month-head .lead { max-width: 50ch; }
.hl-month { --scale-y: 190px; position: relative; height: 300px; }
.hl-scale {
  position: absolute; left: 0; right: 0; top: var(--scale-y); height: 9px; border-top: 2px solid var(--ink); margin-top: -1px;
  background: linear-gradient(to right, var(--ink-3) 1px, transparent 1px) 0 0 / calc(100% / 30) 7px repeat-x;
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out) .1s;
}
.hl-scale::after { content: ""; position: absolute; right: 0; top: 0; width: 1px; height: 7px; background: var(--ink-3); }
.hl-scale-l, .hl-scale-r { position: absolute; top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.hl-scale-l { left: 0; transform: translateX(-50%); }
.hl-scale-r { right: 0; transform: translateX(50%); }
.hl-month.is-in .hl-scale { transform: none; }

.hl-today { position: absolute; left: calc((var(--day) - 1) / 30 * 100%); top: calc(var(--scale-y) - 16px); height: 32px; border-left: 1.5px solid var(--neg); opacity: 0; transition: opacity .4s 1.1s; }
.hl-today span { position: absolute; left: 0; top: 38px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--neg); white-space: nowrap; }
.hl-month.is-in .hl-today { opacity: 1; }

.hl-mark { --stem: 80px; position: absolute; left: calc((var(--day) - 1) / 30 * 100%); top: var(--scale-y); width: 0; height: 0; }
.hl-mark.t2 { --stem: 164px; }
.hl-mark-dot { position: absolute; left: -14px; top: -14px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); border: 1.5px solid var(--ink); font-family: var(--font-mono); font-size: 11px; font-weight: 500; font-style: normal; color: var(--ink); transform: scale(0); transition: transform .45s var(--ease-spring) calc(.55s + var(--i) * .16s), background-color .25s, color .25s, border-color .25s; }
.hl-mark::before { content: ""; position: absolute; left: 0; width: 1px; height: calc(var(--stem) - 14px); background: var(--ink); transform: scaleY(0); transition: transform .5s var(--ease-out) calc(.65s + var(--i) * .16s); }
.hl-mark.is-up::before { bottom: 14px; transform-origin: bottom; }
.hl-mark.is-down::before { top: 14px; transform-origin: top; }
.hl-cap {
  position: absolute; left: 0; width: 284px; height: calc(var(--stem) - 7px); padding-left: 13px;
  display: flex; flex-direction: column; gap: 3px;
  opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease-out) calc(.85s + var(--i) * .16s), transform .5s var(--ease-out) calc(.85s + var(--i) * .16s);
}
.hl-mark.is-up .hl-cap { bottom: 7px; justify-content: flex-start; }
.hl-mark.is-down .hl-cap { top: 7px; justify-content: flex-end; }
.hl-mark.is-end .hl-cap { left: auto; right: 0; padding: 0 13px 0 0; text-align: right; align-items: flex-end; }
.hl-cap b { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.hl-cap span { font-family: var(--font-display); font-size: 19px; line-height: 1.24; color: var(--ink); text-wrap: wrap; }
.hl-month.is-in .hl-mark-dot { transform: none; }
.hl-month.is-in .hl-mark::before { transform: none; }
.hl-month.is-in .hl-cap { opacity: 1; transform: none; }
.hl-mark:hover .hl-mark-dot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

@media (max-width: 1080px) {
  .hl-month-head { grid-template-columns: minmax(0, 1fr); }
  .hl-month { --scale-x: 74px; height: 640px; margin: 14px 0 18px; }
  .hl-scale {
    left: var(--scale-x); right: auto; top: 0; bottom: 0; width: 9px; height: auto; margin: 0 0 0 -1px; border-top: 0; border-left: 2px solid var(--ink);
    background: linear-gradient(to bottom, var(--ink-3) 1px, transparent 1px) 0 0 / 7px calc(100% / 30) repeat-y;
    transform: scaleY(0); transform-origin: top;
  }
  .hl-scale::after { right: auto; left: 0; top: auto; bottom: 0; width: 7px; height: 1px; }
  .hl-scale-l, .hl-scale-r { left: -24px; right: auto; transform: translateY(-50%); }
  .hl-scale-l { top: 0; } .hl-scale-r { top: auto; bottom: 0; transform: translateY(50%); }
  .hl-today { left: calc(var(--scale-x) - 16px); top: calc((var(--day) - 1) / 30 * 100%); height: 0; width: 32px; border-left: 0; border-top: 1.5px solid var(--neg); }
  .hl-today span { left: auto; right: 38px; top: 0; transform: translateY(-50%); }
  .hl-mark, .hl-mark.t2 { --stem: 30px; left: var(--scale-x); top: calc((var(--day) - 1) / 30 * 100%); }
  .hl-mark, .hl-mark.t2 { --stem: 40px; }
  .hl-mark::before, .hl-mark.is-up::before, .hl-mark.is-down::before { top: 0; bottom: auto; left: 14px; width: calc(var(--stem) - 14px); height: 1px; transform: scaleX(0); transform-origin: left; }
  .hl-cap, .hl-mark.is-up .hl-cap, .hl-mark.is-down .hl-cap, .hl-mark.is-end .hl-cap {
    left: var(--stem); right: auto; top: -11px; bottom: auto; height: auto; width: min(320px, calc(100vw - 150px));
    padding: 0 0 0 6px; text-align: left; align-items: flex-start; justify-content: flex-start;
  }
  .hl-cap span { font-size: 18px; }
}

/* Что вы получаете --------------------------------------------------------- */
.hl-get-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.hl-receipt-col { display: flex; justify-content: center; filter: drop-shadow(0 22px 22px color-mix(in srgb, var(--ink) 14%, transparent)); }
.hl-receipt {
  width: min(100%, 392px); padding: 30px 26px 46px; background: var(--raised); transform: rotate(-1.4deg);
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.45; color: var(--ink-2);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-out) .1s;
}
.hl-receipt-col.is-in .hl-receipt { clip-path: inset(0 0 0 0); }
.hl-rc-head { display: grid; justify-items: center; gap: 4px; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px dashed var(--line-2); text-align: center; }
.hl-rc-head b { font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.hl-rc-head span { font-size: 11.5px; color: var(--ink-3); }
.hl-rc-list { display: grid; gap: 7px; }
.hl-rc-list li { display: flex; align-items: baseline; gap: 8px; opacity: 0; transform: translateY(-4px); transition: opacity .35s, transform .35s var(--ease-out); }
.hl-receipt-col.is-in .hl-rc-list li { opacity: 1; transform: none; }
.hl-rc-list li:nth-child(1) { transition-delay: .25s; } .hl-rc-list li:nth-child(2) { transition-delay: .33s; } .hl-rc-list li:nth-child(3) { transition-delay: .41s; }
.hl-rc-list li:nth-child(4) { transition-delay: .49s; } .hl-rc-list li:nth-child(5) { transition-delay: .57s; } .hl-rc-list li:nth-child(6) { transition-delay: .65s; }
.hl-rc-list li:nth-child(7) { transition-delay: .73s; } .hl-rc-list li:nth-child(8) { transition-delay: .81s; } .hl-rc-list li:nth-child(9) { transition-delay: .89s; }
.hl-rc-list .i { color: var(--pos); stroke-width: 2.4; flex: none; transform: translateY(2px); }
.hl-rc-k { display: flex; align-items: baseline; gap: 6px; flex: 1 1 auto; min-width: 0; color: var(--ink); }
.hl-rc-k::after { content: ""; flex: 1 1 auto; min-width: 10px; border-bottom: 1px dotted var(--ink-4); transform: translateY(-3px); }
.hl-rc-v { white-space: nowrap; color: var(--ink-3); }
.hl-rc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.hl-rc-total b { font-size: 17px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.hl-rc-fine { margin-top: 12px; font-size: 11.5px; color: var(--ink-3); text-align: center; }

.hl-get-copy .h2 { margin-top: 0; }
.hl-quote { margin: 30px 0 0; }
.hl-quote p { position: relative; font-family: var(--font-display); font-style: italic; font-weight: 340; font-size: clamp(26px, 2.75vw, 40px); line-height: 1.24; letter-spacing: -.012em; color: var(--ink); text-wrap: pretty; font-variation-settings: "opsz" 60; }
.hl-quote p::before { content: "«"; position: absolute; right: 100%; margin-right: .06em; color: var(--accent); }
.hl-quote p::after { content: "»"; }
.hl-quote footer { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hl-quote-rule { width: 34px; height: 1px; background: var(--ink-3); }
.hl-summary { margin: 44px 0 0; max-width: 540px; border-top: var(--bw) solid var(--line-strong); }
.hl-summary figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.hl-summary figcaption span:first-child { color: var(--ink); }
.hl-summary dl { margin: 0; }
.hl-summary dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hl-summary dt { color: var(--ink-2); font-size: 15px; }
.hl-summary dd { margin: 0; display: flex; align-items: baseline; gap: 12px; text-align: right; }
.hl-summary dd b { font-family: var(--font-num); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hl-summary dd span { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.hl-summary dd span.pos { color: var(--pos); }
@media (max-width: 980px) {
  .hl-get-grid { grid-template-columns: minmax(0, 1fr); }
  .hl-receipt-col { order: 2; }
}
@media (max-width: 560px) {
  .hl-receipt { padding: 26px 18px 42px; font-size: 11.5px; }
  .hl-summary dl > div { flex-direction: column; gap: 2px; }
  .hl-summary dd { text-align: left; }
  .hl-quote p::before { position: static; margin-right: 0; }
}

/* Цены: ledger with leaders ------------------------------------------------ */
.hl-price-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.hl-price-copy .lead { margin-top: 20px; max-width: 40ch; }
.hl-price-copy .arrow-link { margin-top: 28px; }
.hl-ledger-cols { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: var(--bw) solid var(--line-strong); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hl-ledger ul { border-bottom: 3px double var(--line-strong); }
.hl-ledger li a { display: flex; align-items: baseline; gap: 14px; padding: 19px 0; border-bottom: 1px solid var(--line); transition: background-color .25s var(--ease-out), padding .4s var(--ease-out); }
.hl-ledger li:last-child a { border-bottom: 0; }
.hl-ledger-k { display: flex; align-items: baseline; gap: 6px 14px; flex: 1 1 auto; min-width: 0; }
.hl-ledger-k b { font-family: var(--font-h); font-weight: 440; font-size: 22px; letter-spacing: -.01em; white-space: nowrap; }
.hl-ledger-k span { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.hl-ledger-k::after { content: ""; flex: 1 0 24px; border-bottom: 1.5px dotted var(--ink-4); transform: translateY(-5px); transition: border-color .25s; }
.hl-ledger-v { font-family: var(--font-mono); font-size: 16px; color: var(--ink); white-space: nowrap; transition: color .25s; }
.hl-ledger li a:hover { background: var(--surface); padding-inline: 14px; }
.hl-ledger li a:hover .hl-ledger-k::after { border-color: var(--ink-2); }
.hl-ledger li a:hover .hl-ledger-v { color: var(--accent-text); }
@media (max-width: 980px) { .hl-price-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .hl-ledger-k { flex-wrap: wrap; }
  .hl-ledger-k b { font-size: 20px; }
  .hl-ledger-k span { order: 3; flex-basis: 100%; white-space: normal; }
  .hl-ledger-k::after { order: 2; }
  .hl-ledger li a { align-items: flex-start; }
  .hl-ledger-v { font-size: 15px; padding-top: 4px; }
}

/* Кейсы --------------------------------------------------------------------- */
.hl-cases-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.hl-cases-head > div { display: grid; }
.hl-cases-nda { order: 3; flex-basis: 100%; margin-top: -6px; }
.hl-cases-head .arrow-link:hover { color: var(--accent-text); }
.hl-cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--bw) solid var(--line-strong); border-bottom: var(--bw) solid var(--line); }
.hl-case { position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 330px; padding: 28px 32px 30px; border-left: var(--bw) solid var(--line); transition: background-color .3s var(--ease-out); }
.hl-case:first-child { border-left: 0; padding-left: 0; }
.hl-case:last-child { padding-right: 0; }
.hl-case::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.hl-case:hover::before { transform: none; }
.hl-case-fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-family: var(--font-display); font-weight: 290; font-size: clamp(72px, 7.6vw, 116px); line-height: .9; letter-spacing: -.04em; color: var(--ink); transition: color .35s var(--ease-out); font-variation-settings: "opsz" 72; }
.hl-case-fig small { font-family: var(--font-ui); font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.hl-case:hover .hl-case-fig { color: var(--accent); }
.hl-case-t { font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 30ch; text-wrap: pretty; }
.hl-case-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.hl-case-go .i { transition: transform .4s var(--ease-out); }
.hl-case:hover .hl-case-go { color: var(--accent-text); }
.hl-case:hover .hl-case-go .i { transform: translateX(5px); }
@media (max-width: 900px) {
  .hl-cases-grid { grid-template-columns: minmax(0, 1fr); }
  .hl-case, .hl-case:first-child, .hl-case:last-child { min-height: 0; padding: 26px 0 28px; border-left: 0; border-top: var(--bw) solid var(--line); }
  .hl-case:first-child { border-top: 0; }
}

/* Инструменты: таблица-лист ----------------------------------------------- */
.hm-tools-intro { max-width: 54ch; margin-bottom: clamp(28px, 4vw, 40px); }
.hm-tools-intro .lead { margin-top: 18px; }
.hm-tools-table { border-top: var(--bw) solid var(--line-strong); }
.hm-tools-cols,
.hm-tool-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.5fr) minmax(0, 1fr) minmax(140px, .7fr) 28px;
  gap: 16px 20px;
  align-items: start;
}
.hm-tools-cols {
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: var(--bw) solid var(--line);
}
.hm-tool-row {
  padding: 22px 0;
  border-bottom: var(--bw) solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background-color .2s var(--ease-out);
}
.hm-tool-row:hover { background: color-mix(in srgb, var(--surface) 80%, transparent); }
.hm-tool-n { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); padding-top: 4px; }
.hm-tool-main b {
  display: block;
  font-family: var(--font-h);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.hm-tool-main span { display: block; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); max-width: 48ch; }
.hm-tool-io {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  padding-top: 6px;
  line-height: 1.4;
}
.hm-tool-access {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  padding-top: 6px;
}
.hm-tool-dot {
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--accent);
  flex: none;
}
.hm-tool-go {
  justify-self: end;
  margin-top: 4px;
  color: var(--ink-4);
  transition: transform .35s var(--ease-out), color .2s;
}
.hm-tool-row:hover .hm-tool-go { color: var(--accent); transform: translateX(4px); }
.hm-tools-foot { margin: 18px 0 12px; color: var(--ink-3); }
.hl-tools .hm-rates { margin-top: 36px; }

/* Калькуляторы «на этой странице» ---------------------------------------- */
.sal-list { border-top: var(--bw) solid var(--line); }
.sal-acc { border-bottom: var(--bw) solid var(--line); }
.sal-acc-head {
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1.5fr) minmax(0, 1fr) minmax(140px, .7fr) 28px;
  gap: 16px 20px;
  align-items: start;
  padding: 22px 0;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background-color .2s var(--ease-out);
}
.sal-acc-head:hover { background: color-mix(in srgb, var(--surface) 80%, transparent); }
.sal-acc.is-open .sal-acc-head {
  background: color-mix(in srgb, var(--accent-soft) 45%, var(--surface));
  border-bottom: var(--bw) solid var(--line);
  margin-bottom: 0;
}
.sal-acc.is-open .sal-acc-head b { color: var(--accent-text); }
.sal-acc-icon {
  justify-self: end;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-3);
  font-family: var(--font-mono);
}
.sal-acc.is-open .sal-acc-icon { color: var(--accent-text); }

.sal-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease-out);
}
.sal-acc.is-open .sal-acc-panel { grid-template-rows: 1fr; }
.sal-acc-panel[hidden] { display: grid; }
.sal-acc:not(.is-open) .sal-acc-panel { visibility: hidden; }
.sal-acc.is-open .sal-acc-panel { visibility: visible; }
.sal-acc-panel > .sal-box { overflow: hidden; }

.sal-box {
  margin: 0 0 22px;
  padding: 22px;
  border: var(--bw) solid var(--line);
  background: var(--raised, var(--surface));
}
.sal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}
.sal-inputs { display: grid; gap: 12px; }
.sal-field { display: grid; gap: 8px; }
.sal-money {
  display: flex;
  align-items: center;
  border: var(--bw) solid var(--line-2);
  border-radius: var(--r-btn);
  background: var(--surface);
  padding-right: 14px;
}
.sal-money .input {
  border: 0;
  background: transparent;
  font-size: 22px;
  font-weight: 500;
  height: 52px;
}
.sal-money-s .input { font-size: 18px; height: 44px; max-width: 7ch; }
.sal-rub { color: var(--ink-3); font-family: var(--font-mono); }
.sal-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  margin-top: -2px;
}
.sal-months {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
  margin-top: 8px;
}
.sal-m {
  display: grid;
  gap: 2px;
  justify-items: center;
  padding: 6px 2px;
  border: var(--bw) solid var(--line);
  background: var(--bg-alt);
  border-radius: var(--r-1);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  text-transform: uppercase;
}
.sal-m b { font-size: 12px; color: var(--ink); font-weight: 550; text-transform: none; }
.sal-m.is-up b { color: var(--accent-text); }
.sal-injury-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.sal-out {
  padding: 4px 0 0;
  display: grid;
  gap: 6px;
  align-content: start;
}
.sal-hand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1;
}
.sal-lines {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: var(--bw) solid var(--line);
  display: grid;
  gap: 10px;
}
.sal-lines > div { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.sal-lines dt { color: var(--ink-2); }
.sal-lines dd { margin: 0; font-weight: 550; }
.sal-lines .is-total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: var(--bw) solid var(--line-strong);
  font-weight: 600;
}
.sal-lines .is-total dt,
.sal-lines .is-total dd { color: var(--ink); font-size: 15.5px; }
.sal-year { margin-top: 12px; }

@media (max-width: 900px) {
  .sal-acc-head {
    grid-template-columns: 36px minmax(0, 1fr) 28px;
    grid-template-areas: "n main icon" "n io icon" "n access icon";
  }
  .sal-acc-head .hm-tool-n { grid-area: n; }
  .sal-acc-head .hm-tool-main { grid-area: main; }
  .sal-acc-head .hm-tool-io { grid-area: io; padding-top: 0; }
  .sal-acc-head .hm-tool-access { grid-area: access; padding-top: 0; }
  .sal-acc-icon { grid-area: icon; }
  .sal-grid { grid-template-columns: 1fr; }
  .sal-months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .sal-acc-panel { transition: none; }
}

/* Калькулятор пеней */
/* Кто платит — две явные плашки (без seg-thumb) */
.pen-who {
  display: flex;
  gap: 8px;
  width: 100%;
}
.pen-who > button {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border: var(--bw) solid var(--line-2);
  border-radius: var(--r-btn);
  background: var(--raised);
  color: var(--ink);
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.pen-who > button:hover {
  border-color: var(--ink-3);
}
.pen-who > button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.pen-who > button[aria-pressed="false"] {
  color: var(--ink-2);
}

.pen-days-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pen-days-val {
  min-width: 48px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
}
.pen-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 4px; }
.pen-chips .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pen-formula {
  margin: 10px 0 0;
  padding: 10px 12px;
  background: var(--bg-alt);
  border-radius: var(--r-2);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.45;
}
.pen-note {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--accent-soft);
  border-radius: var(--r-2);
  color: var(--ink-2);
}

/* Калькулятор процентов по займам */
.loan-box { display: grid; gap: 22px; }
.loan-inputs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: end;
}
.loan-inputs .input[type="date"] {
  height: 52px;
  font-family: var(--font-mono);
  font-size: 15px;
}
.loan-error {
  margin: 0;
  padding: 10px 12px;
  background: color-mix(in srgb, #b33 12%, var(--surface));
  color: var(--ink);
  border-radius: var(--r-2);
}
.loan-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(200px, .9fr) auto;
  gap: 18px 28px;
  align-items: start;
  padding: 18px 0 4px;
  border-top: var(--bw) solid var(--line);
}
.loan-sum-main .sal-hand { font-size: clamp(32px, 3.5vw, 44px); }
.loan-sum-lines { margin-top: 0; padding-top: 0; border-top: 0; }
.loan-actions { align-self: end; }
.loan-table-wrap {
  border-top: var(--bw) solid var(--line);
  padding-top: 8px;
}
.loan-table td b { font-weight: 550; text-transform: capitalize; }
.loan-table .muted { font-size: 12.5px; }
.loan-foot { margin: 0; }

@media (max-width: 900px) {
  .loan-inputs { grid-template-columns: 1fr 1fr; }
  .loan-summary { grid-template-columns: 1fr; gap: 14px; }
  .loan-actions { justify-self: start; }
}
@media (max-width: 560px) {
  .loan-inputs { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hm-tools-cols { display: none; }
  .hm-tool-row {
    grid-template-columns: 36px minmax(0, 1fr) 24px;
    grid-template-areas: "n main go" "n io go" "n access go";
  }
  .hm-tool-n { grid-area: n; }
  .hm-tool-main { grid-area: main; }
  .hm-tool-io { grid-area: io; padding-top: 0; }
  .hm-tool-access { grid-area: access; padding-top: 0; }
  .hm-tool-go { grid-area: go; }
}

/* Обо мне ------------------------------------------------------------------- */
.hl-about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 112px); align-items: start; }
.hl-portrait { margin: 0; max-width: 460px; }
.hl-portrait-frame { position: relative; aspect-ratio: 4 / 5; padding: 16px; border: var(--bw) solid var(--line-strong); background: var(--raised); }
.hl-portrait-frame::before { content: ""; position: absolute; inset: 16px; border: var(--bw) solid var(--line-2); background: var(--bg-alt) repeating-linear-gradient(135deg, transparent 0 13px, color-mix(in srgb, var(--line-2) 55%, transparent) 13px 14px); }
.hl-crop { position: absolute; inset: -10px; pointer-events: none;
  background:
    linear-gradient(var(--ink-3), var(--ink-3)) 0 9px / 7px 1px no-repeat, linear-gradient(var(--ink-3), var(--ink-3)) 9px 0 / 1px 7px no-repeat,
    linear-gradient(var(--ink-3), var(--ink-3)) 100% 9px / 7px 1px no-repeat, linear-gradient(var(--ink-3), var(--ink-3)) calc(100% - 9px) 0 / 1px 7px no-repeat,
    linear-gradient(var(--ink-3), var(--ink-3)) 0 calc(100% - 9px) / 7px 1px no-repeat, linear-gradient(var(--ink-3), var(--ink-3)) 9px 100% / 1px 7px no-repeat,
    linear-gradient(var(--ink-3), var(--ink-3)) 100% calc(100% - 9px) / 7px 1px no-repeat, linear-gradient(var(--ink-3), var(--ink-3)) calc(100% - 9px) 100% / 1px 7px no-repeat; }
.hl-portrait-cap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 10px 20px 12px; background: var(--bg-alt); font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--ink-3); white-space: nowrap; }
.hl-portrait-cap::after { content: "4 × 5"; display: block; margin-top: 2px; text-align: center; font-family: var(--font-mono); font-style: normal; font-size: 10.5px; letter-spacing: .12em; color: var(--ink-4); }
.hl-portrait figcaption { margin-top: 14px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-3); }
.hl-about-text { margin-top: 22px; font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.hl-career { margin: 34px 0 30px; border-top: var(--bw) solid var(--line-strong); }
.hl-career > li { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hl-yr { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.hl-co { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; }
.hl-co b { font-weight: 500; }
.hl-co span { font-size: 14px; color: var(--ink-3); }
.hl-career .is-now .hl-yr { color: var(--accent-text); }
.hl-career .is-now b { display: inline-flex; align-items: center; gap: 10px; }
.hl-career .is-now b::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pos); animation: pulse 2.2s ease-in-out infinite; }
.hl-about-copy .arrow-link:hover { color: var(--accent-text); }
@media (max-width: 900px) { .hl-about-grid { grid-template-columns: minmax(0, 1fr); } .hl-portrait { max-width: 360px; } }
@media (max-width: 480px) { .hl-career > li { grid-template-columns: minmax(0, 1fr); gap: 2px; } .hl-about-text { font-size: 17px; } }

/* Вопросы ------------------------------------------------------------------- */
.hl-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.hl-faq .acc > summary { font-family: var(--font-h); font-weight: 440; font-size: 21px; letter-spacing: -.005em; }
.hl-faq .acc:first-of-type { border-top-color: var(--line-strong); }
.hl-faq-head .caption { margin-top: 18px; max-width: 30ch; font-size: 14px; }
.hl-faq-head .link { white-space: nowrap; }
@media (max-width: 860px) { .hl-faq-grid { grid-template-columns: minmax(0, 1fr); } .hl-faq .acc > summary { font-size: 19px; } }

/* ==========================================================================
   Реальный сайт: блоки, которых не было в макете (префикс hm-).
   ========================================================================== */

/* Услуги из базы: название и описание в две строки, цена справа */
.hm-services li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px 24px; }
.hm-services .hl-ledger-k { display: block; }
.hm-services .hl-ledger-k::after { display: none; }
.hm-services .hl-ledger-k b { display: block; white-space: normal; }
.hm-services .hl-ledger-k span { display: block; margin-top: 6px; white-space: normal; max-width: 52ch; line-height: 1.5; font-size: 14.5px; color: var(--ink-2); }
.hm-services .hl-ledger-v { display: inline-flex; align-items: center; gap: 8px; padding-top: 6px; font-size: 14px; color: var(--ink-2); }
.hm-svc-go { color: var(--ink-4); transition: transform .35s var(--ease-out), color .2s; }
.hm-services li a:hover .hm-svc-go { color: var(--accent); transform: translateX(4px); }
#services-grid.is-loaded li { animation: rise .45s var(--ease-out) both; animation-delay: var(--d, 0ms); }
.hm-svc-skel { display: grid; grid-template-columns: minmax(0, 1fr) 90px; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.hm-svc-skel span { height: 18px; border-radius: 3px; background: linear-gradient(90deg, var(--bg-alt) 0%, var(--surface-2) 50%, var(--bg-alt) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.hm-svc-skel span:first-child { width: 70%; height: 22px; }
@media (max-width: 640px) { .hm-services li a { grid-template-columns: minmax(0, 1fr); } .hm-services .hl-ledger-v { padding-top: 0; } }

/* Курсы — карточка-выписка под заголовком инструментов */
.hm-rates { margin-top: 36px; max-width: 360px; padding: 18px 20px 16px; border: var(--bw) solid var(--line-strong); background: var(--raised); box-shadow: 4px 4px 0 var(--line); }
.hm-rates-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: var(--bw) solid var(--line); }
.hm-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--pos); }
.hm-rates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 12px; }
.hm-rates-k { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.hm-rates-rows { min-height: 54px; }
.hm-rate { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-family: var(--font-mono); font-size: 12.5px; animation: rise .4s var(--ease-out) both; }
.hm-rate span { color: var(--ink-3); }
.hm-rate b { font-weight: 500; font-variant-numeric: tabular-nums; }
.hm-rates-note { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); }
@media (max-width: 980px) { .hm-rates { max-width: none; } }

.hm-tool-soon .hl-tool-x { color: var(--accent-text); }

/* Проверка кошелька */
.hm-shield-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.hm-shield-copy .lead { margin-top: 20px; max-width: 42ch; }
.hm-shield-rules { display: grid; gap: 12px; margin-top: 28px; }
.hm-shield-rules li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; max-width: 46ch; }
.hm-shield-rules .i { flex: none; margin-top: 2px; color: var(--accent); }
.hm-shield-box { padding: 24px; border: var(--bw) solid var(--line-strong); background: var(--raised); }
.hm-shield-row { display: flex; gap: 10px; }
.hm-shield-row .input { flex: 1; min-width: 0; }
.hm-shield-log { margin: 18px 0 0; min-height: 132px; max-height: 340px; overflow: auto; padding: 16px 18px; background: var(--surface); border: var(--bw) dashed var(--line-2); font-family: var(--font-mono); font-size: 13px; line-height: 1.6; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; transition: border-color .3s; }
.hm-shield-log.is-running { border-color: var(--accent); }
.hm-shield-log.is-running::after { content: "▍"; animation: blink 1s steps(1) infinite; color: var(--accent); }
.hm-shield-log.is-done { color: var(--ink); border-style: solid; }
@media (max-width: 900px) { .hm-shield-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .hm-shield-row { flex-direction: column; } .hm-shield-box { padding: 18px; } }

/* Платформа */
.hm-platform-text { margin-top: 26px; max-width: 52ch; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.hm-platform .row { margin-top: 26px; }

/* Обо мне: печать вместо фото */
.hm-seal-card { margin: 0; max-width: 440px; padding: 36px; border: var(--bw) solid var(--line-strong); background: var(--raised); text-align: center; }
.hm-seal { width: min(100%, 300px); color: var(--accent); transform: rotate(-8deg); transition: transform 1.2s var(--ease-out); }
.hm-seal-card.is-in .hm-seal { transform: rotate(-3deg); }
.hm-seal-ring { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; fill: currentColor; }
.hm-seal-mono { font-family: var(--font-display); font-size: 58px; font-weight: 400; fill: currentColor; }
.hm-seal-card figcaption { margin-top: 18px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-3); }
@media (max-width: 900px) { .hm-seal-card { max-width: 360px; padding: 26px; } }

/* Заявка */
.hm-contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.hm-contact-copy .lead { margin-top: 20px; max-width: 42ch; }
.hm-contact-ways { margin-top: 32px; border-top: var(--bw) solid var(--line-strong); }
.hm-contact-ways li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: var(--bw) solid var(--line); }
.hm-contact-ways a { font-family: var(--font-h); font-size: 22px; letter-spacing: -.01em; transition: color .2s; }
.hm-contact-ways a:hover { color: var(--accent-text); }
.hm-form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border: var(--bw) solid var(--line-strong); background: var(--raised); box-shadow: 6px 6px 0 var(--line); }
.hm-form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: var(--bw) solid var(--line); }
.hm-form-head b { font-family: var(--font-h); font-weight: 460; font-size: 24px; }
.hm-form-head span { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); text-align: right; }
.hm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hm-consent { font-size: 14px; color: var(--ink-2); }
.hm-consent a { text-decoration: underline; text-underline-offset: 3px; }
.hm-consent.is-invalid input { border-color: var(--neg); }
.hm-form .form-status { margin-top: 0; }
.hm-form .form-status a { text-decoration: underline; }
@media (max-width: 900px) { .hm-contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .hm-form-grid { grid-template-columns: minmax(0, 1fr); } .hm-form-head { flex-direction: column; } .hm-form-head span { text-align: left; } }
.hm-platform .hl-rc-v { white-space: normal; text-align: right; max-width: 46%; }
.hm-platform .hl-receipt { width: min(100%, 420px); }
