/* The home page of bstcrm.ru (13.10.2026): a filled-in work order for the CRM itself. White sheets on a cool desk,
   graphite rules, the CRM's green as the ink of stamps and actions. Only the home page loads this file; it re-points
   the shared --t-* tokens so the shared header, footer and business tabs turn light without touching other pages. */
body.hm {
  --hm-desk: #e8edea; --hm-desk-2: #dde4e0; --hm-paper: #ffffff; --hm-ink: #172033; --hm-mute: #4a5568; --hm-faint: #6b7686;
  --hm-rule: rgba(23, 32, 51, .16); --hm-rule-2: rgba(23, 32, 51, .09);
  --hm-mint: #087f5b; --hm-mint-deep: #06674a; --hm-mint-wash: #e3f3ec; --hm-amber: #a14a06;
  --hm-display: "Geologica", "Golos Text", "Segoe UI", system-ui, sans-serif;
  --hm-body: "Golos Text", "Segoe UI", system-ui, sans-serif;
  --hm-shadow: 0 1px 0 rgba(23, 32, 51, .06), 0 28px 56px -36px rgba(20, 40, 30, .38);
  --hm-gutter: clamp(16px, 4vw, 48px);
  /* the shared tokens of tariff.css / site.css, light */
  --t-night: #ffffff; --t-deep: #ffffff; --t-panel: #ffffff; --t-line: var(--hm-rule); --t-line2: var(--hm-rule-2);
  --t-ink: var(--hm-ink); --t-mute: var(--hm-mute); --t-gold: var(--hm-mint); --t-gold-hi: var(--hm-mint-deep); --t-gold-lo: var(--hm-mint-deep);
  --t-display: var(--hm-display); --t-body: var(--hm-body);
  color-scheme: light;
  color: var(--hm-ink); background: var(--hm-desk); font: 16px/1.6 var(--hm-body);
  font-variant-numeric: tabular-nums; text-rendering: optimizeLegibility;
  scrollbar-color: #a9b5ae var(--hm-desk);
}
body.hm ::selection { background: var(--hm-mint-wash); color: var(--hm-ink); }
body.hm a { color: var(--hm-mint-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
body.hm a:hover { color: var(--hm-ink); }
body.hm :focus-visible { outline: 2px solid var(--hm-mint); outline-offset: 3px; border-radius: 3px; }
body.hm h1, body.hm h2, body.hm h3 { font-family: var(--hm-display); color: var(--hm-ink); text-wrap: balance; letter-spacing: -.015em; }
body.hm h2 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; font-weight: 700; }
body.hm main { max-width: none; padding: 0; overflow-x: clip; }
.hm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header and footer of site_base, on the desk */
body.hm .tf-top { background: rgba(232, 237, 234, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--hm-rule-2); box-shadow: none; }
body.hm .tf-brand { color: var(--hm-ink); font-family: var(--hm-display); font-weight: 800; letter-spacing: .01em; }
body.hm .tf-brand span { color: var(--hm-mint); }
body.hm .tf-nav a, body.hm .tf-link { color: var(--hm-mute); font-weight: 500; font-size: 15px; }
body.hm .tf-nav a:hover, body.hm .tf-link:hover { color: var(--hm-ink); }
body.hm .tf-btn--gold, body.hm .hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border: 1px solid var(--hm-mint-deep); border-radius: 6px; background: var(--hm-mint); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 10px 22px -14px rgba(8, 127, 91, .9);
  font: 600 15px/1 var(--hm-body); text-decoration: none; transition: background-color .18s, transform .18s, box-shadow .18s; }
body.hm .tf-btn--gold:hover, body.hm .hm-btn:hover { background: var(--hm-mint-deep); color: #fff; transform: translateY(-1px); }
body.hm .tf-top .tf-btn--gold { min-height: 40px; padding: 0 16px; font-size: 14px; }
body.hm .hm-btn--line { background: var(--hm-paper); color: var(--hm-ink); border-color: var(--hm-rule); box-shadow: none; }
body.hm .hm-btn--line:hover { background: var(--hm-paper); color: var(--hm-ink); border-color: var(--hm-ink); }
body.hm .tf-foot { border-top: 1px solid var(--hm-rule); background: var(--hm-desk-2); color: var(--hm-mute); }
body.hm .st-foot__nav b { color: var(--hm-ink); }
body.hm .st-foot__nav a { color: var(--hm-mute); }
body.hm .st-foot__nav a:hover { color: var(--hm-ink); }
body.hm .tf-skip { background: var(--hm-mint); color: #fff; }

/* sheets and bands */
.hm-sheet { position: relative; background: var(--hm-paper); border: 1px solid var(--hm-rule); border-radius: 4px; box-shadow: var(--hm-shadow); }
.hm-band { max-width: 1240px; margin: 0 auto; padding: clamp(56px, 7vw, 104px) var(--hm-gutter) 0; }
.hm-sub { max-width: 60ch; margin: 0 0 28px; color: var(--hm-mute); font-size: 17px; }

/* the work order */
.hm-hero { max-width: 1320px; margin: 0 auto; padding: clamp(12px, 1.6vw, 24px) var(--hm-gutter) 0; }
.hm-order { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0;
  padding: clamp(16px, 1.8vw, 26px) clamp(18px, 3vw, 44px) clamp(18px, 2vw, 28px); }
.hm-order__head { grid-column: 1 / -1; }
.hm-order__intro { min-width: 0; padding-right: clamp(20px, 3vw, 48px); }
.hm-order__form { min-width: 0; padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid var(--hm-rule-2); }
.hm-order__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; margin-bottom: clamp(16px, 2vw, 24px);
  border-bottom: 3px double var(--hm-rule); color: var(--hm-faint); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hm-order h1 { margin: 0 0 12px; max-width: 17ch; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.02; font-weight: 700; letter-spacing: -.025em; }
.hm-lead { max-width: 52ch; margin: 0 0 8px; color: var(--hm-ink); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; }

/* the kind of business (14.10.2026): one choice across the whole sheet, it rewrites the order below */
.hm-kind { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 clamp(18px, 2vw, 26px); padding: 0;
  border: 1px solid var(--hm-rule); border-radius: 6px; background: var(--hm-desk); overflow: hidden; }
.hm-kind legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hm-kind label { position: relative; display: flex; min-width: 0; cursor: pointer; }
.hm-kind label + label { border-left: 1px solid var(--hm-rule); }
.hm-kind input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hm-kind span { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 8px clamp(10px, 1.4vw, 18px);
  color: var(--hm-mute); font-weight: 600; font-size: 15px; line-height: 1.2; transition: background-color .18s, color .18s, box-shadow .18s; }
.hm-kind span::before { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid currentColor; border-radius: 50%;
  background: var(--hm-paper); transition: border-color .18s, box-shadow .18s; }
.hm-kind label:hover span { color: var(--hm-ink); background: rgba(255, 255, 255, .55); }
.hm-kind input:checked + span { background: var(--hm-paper); color: var(--hm-ink); box-shadow: inset 0 -3px 0 var(--hm-mint); }
.hm-kind input:checked + span::before { border-color: var(--hm-mint); box-shadow: inset 0 0 0 4px var(--hm-paper), inset 0 0 0 10px var(--hm-mint); }
.hm-kind input:focus-visible + span { outline: 2px solid var(--hm-mint); outline-offset: -4px; border-radius: 4px; }
.hm-order [data-lead-out], .hm-attach img, [data-caption-out] { transition: opacity .2s ease; }
.hm-order.is-switching [data-lead-out], .hm-order.is-switching .hm-attach img, .hm-order.is-switching [data-caption-out] { opacity: .2; }

.hm-lines { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.hm-lines th, .hm-lines td { padding: 7px 10px; border-bottom: 1px solid var(--hm-rule-2); text-align: left; vertical-align: middle; }
.hm-lines thead th { padding-top: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--hm-ink); color: var(--hm-faint); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.hm-lines td:first-child, .hm-lines th:first-child { width: 2.4em; padding-left: 0; color: var(--hm-faint); }
.hm-lines td:last-child, .hm-lines th:last-child { width: 8.5rem; padding-right: 0; text-align: right; white-space: nowrap; }
.hm-lines td + td { border-left: 1px solid var(--hm-rule-2); }
.hm-lines td[data-line] { transition: opacity .14s ease, filter .14s ease; }
.hm-lines td.is-writing { opacity: .15; filter: blur(2px); }
.hm-lines small { display: block; color: var(--hm-faint); font-size: 13px; line-height: 1.4; }
.hm-num { font-weight: 600; }
.hm-stamp { display: inline-block; padding: 2px 8px; border: 1.5px solid currentColor; border-radius: 3px; color: var(--hm-mint);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transform: rotate(-3deg); mix-blend-mode: multiply; }
.hm-lines tbody tr:nth-child(2n) .hm-stamp { transform: rotate(2deg); }
.hm-seats { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; }
.hm-step { display: inline-flex; align-items: center; border: 1px solid var(--hm-rule); border-radius: 4px; }
.hm-step button { width: 44px; height: 36px; border: 0; background: transparent; color: var(--hm-ink); font: 600 20px/1 var(--hm-body); cursor: pointer; }
.hm-step button:hover:not(:disabled) { background: var(--hm-mint-wash); color: var(--hm-mint-deep); }
.hm-step button:disabled { color: #b4bcc6; cursor: not-allowed; }
.hm-step output { min-width: 2.6em; padding: 0 4px; border-inline: 1px solid var(--hm-rule-2); font-weight: 700; text-align: center; line-height: 36px; }
.hm-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.hm-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--hm-mint); cursor: pointer; }
.hm-check span { display: grid; gap: 2px; font-weight: 600; }
.hm-check small { font-weight: 400; }
.hm-lines tfoot th, .hm-lines tfoot td { padding-top: 12px; padding-bottom: 10px; border-top: 2px solid var(--hm-ink); border-bottom: 0; }
.hm-lines tfoot th { position: relative; color: var(--hm-ink); font: 700 15px/1.2 var(--hm-body); letter-spacing: .1em; text-transform: uppercase; }
.hm-total { white-space: nowrap; font: 800 clamp(24px, 2.2vw, 30px)/1 var(--hm-display); color: var(--hm-ink); letter-spacing: -.02em; }

.hm-sign { position: relative; display: grid; gap: 8px; margin-top: 12px; }
.hm-sign__line { position: relative; height: 1px; max-width: 280px; background: rgba(23, 32, 51, .5); }
.hm-sign__line span { position: absolute; top: 6px; left: 0; color: var(--hm-mute); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.hm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.hm-issued { position: absolute; right: 8px; top: 50%; margin-top: -24px; display: grid; place-items: center; width: 104px; height: 48px; padding: 4px;
  border: 2px solid var(--hm-mint); outline: 1px solid var(--hm-mint); outline-offset: 3px; border-radius: 6px; color: var(--hm-mint);
  font: 800 11px/1.15 var(--hm-display); letter-spacing: .08em; text-align: center; text-transform: uppercase; transform: rotate(-8deg); opacity: .82; mix-blend-mode: multiply; pointer-events: none; }
.hm-order.is-stamped .hm-issued { animation: hm-stamp .38s cubic-bezier(.2, .9, .25, 1) both; }
@keyframes hm-stamp { from { opacity: 0; transform: rotate(-14deg) scale(1.35); } 60% { opacity: .95; } to { opacity: .82; transform: rotate(-8deg) scale(1); } }
.hm-fine { margin: 18px 0 0; padding-top: 12px; border-top: 1px solid var(--hm-rule-2); color: var(--hm-faint); font-size: 13px; line-height: 1.5; }

.hm-attach { position: relative; margin: 22px -14px 0 -8px; padding: 8px 8px 0; background: var(--hm-paper);
  border: 1px solid var(--hm-rule); border-radius: 3px; box-shadow: var(--hm-shadow); transform: rotate(-1.2deg); }
.hm-attach img { display: block; width: 100%; height: auto; border: 1px solid var(--hm-rule-2); }
.hm-attach figcaption, .hm-annex__plate figcaption { padding: 9px 2px 10px; border-top: 0; color: var(--hm-mute); font-size: 13px; line-height: 1.4; }
.hm-attach figcaption b, .hm-annex__plate figcaption b { color: var(--hm-ink); }

/* what BSTCRM is: the note under the order */
.hm-def { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px clamp(24px, 4vw, 64px); padding-top: clamp(48px, 6vw, 88px); }
.hm-def h2 { font-size: clamp(22px, 2.2vw, 28px); }
.hm-def p { max-width: 72ch; margin: 0; color: var(--hm-mute); font-size: 16px; line-height: 1.65; }

/* the attachments: new sections of the CRM */
.hm-annex { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.hm-annex__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hm-ink); }
.hm-annex__list a { display: grid; grid-template-columns: 4.2em 1fr; gap: 2px 10px; padding: 14px 12px; border-bottom: 1px solid var(--hm-rule);
  color: inherit; text-decoration: none; transition: background-color .18s; }
.hm-annex__list b { font-size: 17px; color: var(--hm-ink); }
.hm-annex__list a > span:last-child { grid-column: 2; color: var(--hm-mute); font-size: 14px; line-height: 1.5; }
.hm-annex__no { grid-row: span 2; padding-top: 2px; color: var(--hm-faint); font: 700 13px/1.4 var(--hm-display); }
.hm-annex__list a[aria-current="true"] { background: var(--hm-mint-wash); }
.hm-annex__list a[aria-current="true"] .hm-annex__no { color: var(--hm-mint); }
.hm-annex__list a:hover b { color: var(--hm-mint-deep); }
.hm-annex__plate { position: sticky; top: 92px; margin: 0; padding: 10px 10px 0; background: var(--hm-paper); border: 1px solid var(--hm-rule); border-radius: 3px; box-shadow: var(--hm-shadow); }
.hm-annex__plate img { display: block; width: 100%; height: auto; border: 1px solid var(--hm-rule-2); animation: hm-plate .32s ease-out both; }
@keyframes hm-plate { from { opacity: .3; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }

/* the business tabs: index tabs on the edge of a sheet */
.st-biz { scroll-margin-top: 80px; }
.hm-biz__title { margin-bottom: 18px; }
body.hm .st-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0 0 0 10px; border: 0; border-radius: 0; background: transparent; }
body.hm .st-tabs[hidden] { display: none; }
body.hm .st-tab { position: relative; z-index: 1; min-height: 48px; margin-bottom: -1px; padding: 0 18px; border: 1px solid var(--hm-rule); border-bottom: 0; border-radius: 6px 6px 0 0;
  background: var(--hm-desk-2); color: var(--hm-mute); font: 600 15px var(--hm-body); box-shadow: none; transition: background-color .15s, color .15s; }
body.hm .st-tab:hover { color: var(--hm-ink); background: #e6ece8; }
body.hm .st-tab[aria-selected="true"], body.hm .st-tab--flowers[aria-selected="true"], body.hm .st-tab--nursery[aria-selected="true"], body.hm .st-tab--demo[aria-selected="true"] {
  z-index: 3; background: var(--hm-paper); color: var(--hm-ink); box-shadow: inset 0 3px 0 var(--hm-mint); }
body.hm .st-tab[aria-selected="true"] svg { color: var(--hm-mint); }
body.hm .st-panel { z-index: 2; padding: clamp(20px, 3.2vw, 44px); border: 1px solid var(--hm-rule); border-radius: 4px; background: var(--hm-paper); }
body.hm .st-tabs:not([hidden]) + .st-panel, body.hm .st-tabs:not([hidden]) ~ .st-panel { border-top-left-radius: 0; }
body.hm .st-panel + .st-panel { margin-top: 24px; }
body.hm .st-tabs:not([hidden]) ~ .st-panel + .st-panel { margin-top: 0; }
body.hm .st-panel--flowers, body.hm .st-panel--nursery { background: var(--hm-paper); border-color: var(--hm-rule); }
body.hm .st-panel--flowers h2, body.hm .st-panel--flowers .st-panel__sub, body.hm .st-panel--nursery h2, body.hm .st-panel--nursery .st-panel__sub { color: var(--hm-ink); }
body.hm .st-panel__head h2, body.hm .st-panel--demo h2 { font-size: clamp(24px, 2.6vw, 34px); }
body.hm .st-panel__lead { color: var(--hm-mute); }
body.hm .st-price b { color: var(--hm-ink); font-family: var(--hm-display); }
body.hm .st-price span { color: var(--hm-mute); }
body.hm .st-shot { padding: 8px; border-radius: 3px; border: 1px solid var(--hm-rule); background: var(--hm-paper); box-shadow: var(--hm-shadow); }
body.hm .st-shot img { border-radius: 0; border: 1px solid var(--hm-rule-2); }
body.hm .st-shot figcaption, body.hm .st-bouquets figcaption { color: var(--hm-mute); }
body.hm .st-bouquets img { box-shadow: 0 24px 40px -28px rgba(20, 40, 30, .55); }
body.hm .st-panel__sub { margin: 36px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--hm-ink); font-size: 13px; font-weight: 600; font-family: var(--hm-body);
  letter-spacing: .12em; text-transform: uppercase; color: var(--hm-ink); }
/* benefits and features: ruled lines of the order, not tiles */
body.hm .st-plus, body.hm .st-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
body.hm .st-plus li { display: grid; grid-template-columns: 2.4em 1fr; gap: 4px 8px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--hm-rule-2); border-radius: 0; background: none; }
body.hm .st-plus li::before { position: static; grid-row: span 2; color: var(--hm-mint); font: 700 14px/1.5 var(--hm-display); }
body.hm .st-plus b, body.hm .st-cards b { color: var(--hm-ink); font-size: 16px; }
body.hm .st-plus span, body.hm .st-cards span { color: var(--hm-mute); font-size: 14.5px; line-height: 1.55; }
body.hm .st-cards li { border-bottom: 1px solid var(--hm-rule-2); }
body.hm .st-cards a, body.hm .st-cards--plain li > div { display: grid; gap: 4px; height: 100%; padding: 14px 0; border-radius: 0; color: inherit; text-decoration: none; background: none; }
body.hm .st-cards a:hover { background: none; }
body.hm .st-cards a:hover b, body.hm .st-intents a:hover b { color: var(--hm-mint-deep); }
body.hm .st-cards a b::after, body.hm .st-intents a b::after { content: " →"; color: var(--hm-mint); }
body.hm .st-more { margin: 18px 0 0; }
body.hm .st-intents { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
body.hm .st-intents li { border: 0; border-bottom: 1px solid var(--hm-rule-2); border-radius: 0; background: none; }
body.hm .st-intents a { display: grid; gap: 2px; padding: 12px 0; border-radius: 0; background: none; color: inherit; text-decoration: none; }
body.hm .st-intents a:hover { background: none; }
body.hm .st-intents b { font-size: 15px; color: var(--hm-ink); }
body.hm .st-intents span { color: var(--hm-mute); font-size: 13.5px; }
/* the demo tab: three attachments */
body.hm .st-demo a { border: 1px solid var(--hm-rule); border-radius: 3px; background: var(--hm-paper); box-shadow: none; }
body.hm .st-demo a:hover { border-color: var(--hm-ink); transform: translateY(-2px); }
body.hm .st-demo__media { margin: 8px 8px 0; background: var(--hm-desk); }
body.hm .st-demo__body b { color: var(--hm-ink); }
body.hm .st-demo__host, body.hm .st-demo--flowers .st-demo__host, body.hm .st-demo--nursery .st-demo__host { color: var(--hm-mint-deep); }
body.hm .st-demo__see span { color: var(--hm-mute); }

/* the AI assistant: an extra line of the order */
.hm-ai { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px clamp(24px, 4vw, 64px); align-items: start; }
.hm-lines--plain { table-layout: auto; border-top: 1px solid var(--hm-ink); }
.hm-lines--plain td { padding: 16px 12px; vertical-align: top; }
.hm-lines--plain td:first-child { width: 2em; }
.hm-lines--plain td:last-child { width: auto; text-align: left; white-space: normal; }
.hm-lines--plain td b { display: block; margin-bottom: 2px; font-size: 17px; }
.hm-lines--plain td span { color: var(--hm-mute); font-size: 15px; }
.hm-lines--plain tfoot th { width: auto; text-transform: none; letter-spacing: 0; font-size: 16px; padding-left: 0; }
.hm-lines--plain tfoot td { width: 45%; text-align: right; white-space: normal; color: var(--hm-mute); font-size: 14px; }

/* how we connect: the status track of a deal */
.hm-route__track { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 16px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; }
.hm-route__track::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--hm-rule); }
.hm-route__track li { position: relative; display: grid; align-content: start; gap: 6px; padding-top: 40px; counter-increment: step; }
.hm-route__track li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px;
  border: 2px solid var(--hm-ink); border-radius: 50%; background: var(--hm-desk); font: 700 13px/1 var(--hm-display); }
.hm-route__track li:last-child::before { content: "✓"; border-color: var(--hm-mint); background: var(--hm-mint); color: #fff; }
.hm-route__track b { font-size: 17px; }
.hm-route__track span { color: var(--hm-mute); font-size: 14px; line-height: 1.5; }

/* the back of the form: the terms in small print */
.hm-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.hm-terms article { padding-top: 18px; border-top: 3px double var(--hm-rule); }
.hm-terms h2 { font-size: clamp(22px, 2.2vw, 28px); }
.hm-terms ol { margin: 0 0 16px; padding-left: 1.6em; color: var(--hm-mute); font-size: 15px; line-height: 1.6; }
.hm-terms li { padding: 4px 0 4px 4px; }
.hm-terms li::marker { color: var(--hm-faint); font-weight: 600; }
.hm-terms b { color: var(--hm-ink); }
.hm-terms__due b { color: var(--hm-amber); }

/* the tear-off stub: the partner programme */
.hm-stub { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; background: var(--hm-paper); border: 1px solid var(--hm-rule); border-radius: 4px; box-shadow: var(--hm-shadow); }
.hm-stub__main { padding: clamp(22px, 3vw, 40px); }
.hm-stub__main h2 { font-size: clamp(24px, 2.6vw, 34px); }
.hm-stub__main p { max-width: 62ch; margin: 0; color: var(--hm-mute); font-size: 16px; }
.hm-stub__main b { color: var(--hm-ink); }
.hm-stub__tear { position: relative; display: grid; align-content: center; justify-items: start; gap: 12px; min-width: 240px; padding: clamp(22px, 3vw, 40px);
  border-left: 2px dashed var(--hm-rule); }
.hm-stub__tear::before, .hm-stub__tear::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--hm-desk); }
.hm-stub__tear::before { top: -12px; box-shadow: inset 0 -1px 0 var(--hm-rule); }
.hm-stub__tear::after { bottom: -12px; box-shadow: inset 0 1px 0 var(--hm-rule); }
.hm-stub__pct { color: var(--hm-mint); font: 800 clamp(48px, 5vw, 72px)/.9 var(--hm-display); letter-spacing: -.04em; }
.hm-stub__terms { font-size: 14px; }

/* questions */
.hm-faq__list { border-top: 1px solid var(--hm-ink); max-width: 920px; }
.hm-faq details { border-bottom: 1px solid var(--hm-rule); }
.hm-faq summary { position: relative; display: block; padding: 18px 44px 18px 0; cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--hm-mint); border-bottom: 2px solid var(--hm-mint);
  transform: rotate(45deg); transition: transform .2s ease; }
.hm-faq details[open] summary::after { transform: translateY(6px) rotate(-135deg); }
.hm-faq summary:hover { color: var(--hm-mint-deep); }
.hm-faq details p { max-width: 72ch; margin: 0 0 18px; color: var(--hm-mute); }

/* the close: the signature line once more */
.hm-close { padding-bottom: clamp(56px, 7vw, 104px); }
.hm-close__sheet { padding: clamp(26px, 4vw, 56px); }
.hm-close__sheet h2 { font-size: clamp(30px, 3.6vw, 48px); }
.hm-close__sheet > p { margin: 0; color: var(--hm-mute); font-size: 17px; }

@media (max-width: 1080px) {
  .hm-order { grid-template-columns: 1fr; }
  .hm-order__intro { display: contents; }
  .hm-order h1, .hm-lead { grid-column: 1; }
  .hm-order__form { order: 2; }
  .hm-attach { order: 3; }
  .hm-order__form { margin: 18px 0 0; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--hm-rule); }
  .hm-attach { margin: 18px 0 0; transform: rotate(-.8deg); }
  .hm-annex { grid-template-columns: 1fr; }
  .hm-annex__text { display: contents; }
  .hm-annex__plate { position: relative; top: 0; order: 1; }
  .hm-annex__list { order: 2; }
  .hm-route__track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
  .hm-route__track::before { display: none; }
}
@media (max-width: 760px) {
  .hm-def, .hm-ai, .hm-terms { grid-template-columns: 1fr; }
  body.hm .st-plus, body.hm .st-cards { grid-template-columns: 1fr; }
  .hm-stub { grid-template-columns: 1fr; }
  .hm-stub__tear { border-left: 0; border-top: 2px dashed var(--hm-rule); }
  .hm-stub__tear::before { left: -12px; top: -12px; }
  .hm-stub__tear::after { left: auto; right: -12px; top: -12px; bottom: auto; }
  .hm-route__track { grid-template-columns: 1fr; }
  .hm-route__track li { padding: 0 0 0 44px; min-height: 28px; }
  .hm-issued { display: none; }
  .hm-order__head span:last-child { display: none; }
  body.hm .st-tabs { padding-left: 0; }
  body.hm .st-tab { flex: 1 1 45%; justify-content: center; padding: 0 10px; font-size: 14px; border-radius: 6px 6px 0 0; }
}
@media (max-width: 520px) {
  .hm-lines th, .hm-lines td { padding: 10px 6px; font-size: 14px; }
  .hm-lines td:last-child, .hm-lines th:last-child { width: 6.6rem; }
  .hm-lines td:first-child, .hm-lines th:first-child { width: 1.8em; }
  .hm-actions .hm-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-btn, body.hm .tf-btn--gold, .hm-annex__list a, .hm-faq summary::after, .hm-lines td[data-line] { transition: none; }
  .hm-order.is-stamped .hm-issued, .hm-annex__plate img { animation: none; }
  .hm-btn:hover, body.hm .tf-btn--gold:hover, body.hm .st-demo a:hover { transform: none; }
}
.hm-ai__more { display: block; margin-top: 4px; color: var(--hm-mute); font: 400 14px/1.5 var(--hm-body); }
.hm-annex__plate img[hidden] { display: none; }
body.hm .st-plus li { grid-template-columns: 1fr; }
body.hm .st-plus li::before { content: none; }
.hm-ext { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -1px; }

/* the services (14.10.2026): one more sheet of the order — what we do around the CRM */
.hm-services { display: grid; gap: 4px; }
.hm-services__text { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 48px; }
.hm-services__text h2 { max-width: 22ch; }
.hm-services__text .hm-sub { max-width: 46ch; }
.hm-services__sheet { padding: clamp(8px, 1.4vw, 18px) clamp(16px, 2.4vw, 32px); }
.hm-lines--services { table-layout: auto; }
.hm-lines--services thead th:first-child { width: 13rem; }
.hm-lines--services tbody td { max-width: 60ch; }
.hm-lines.hm-lines--services tbody th { width: 13rem; padding: 16px 12px 16px 0; color: var(--hm-ink); font: 700 16px/1.3 var(--hm-display); vertical-align: top; }
.hm-lines--services tbody td { padding: 16px 12px; color: var(--hm-mute); line-height: 1.55; vertical-align: top; }
.hm-lines--services tbody td:last-child { width: 15rem; padding-right: 0; color: var(--hm-ink); text-align: left; white-space: normal; font-size: 14px; line-height: 1.45; }
.hm-lines--services td:last-child a { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; }
.hm-lines--services td:last-child .hm-stamp { margin-right: 4px; }
.hm-lines--services tbody tr:last-child th, .hm-lines--services tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .hm-kind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-kind label:nth-of-type(odd) { border-left: 0; }
  .hm-kind label:nth-of-type(n+3) { border-top: 1px solid var(--hm-rule); }
  .hm-lines--services thead { display: none; }
  .hm-lines--services tr { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--hm-rule-2); }
  .hm-lines--services tbody tr:last-child { border-bottom: 0; }
  .hm-lines.hm-lines--services tbody :is(th, td) { width: auto; padding: 0; border: 0; }
  .hm-lines--services td:last-child a { display: inline; margin: 0 0 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-kind span, .hm-kind span::before, .hm-order [data-lead-out], .hm-attach img, [data-caption-out] { transition: none; }
}
