/* ==========================================================================
   Home page – design v3, direction C „Пазарът с един поглед“ (owner, 2026-10-13).
   Reference: the approved mock-up Home-C (1440 and 390 wide). Loaded by core/home.html only, after traxer.css and
   search.css; tokens from traxer.css only. The list panel itself (filter bar, table) is search.css (shared with
   /porachki/); the value slider, the plan cards and the fact cards are pricing.css (shared with /tseni/).
   Charts are HTML/CSS: accent blue and neutral greys for data, status colours only for deadline urgency.
   ========================================================================== */

/* ---------------------------------------------------------- hero: headline, search, market at a glance */
.home-hero { position: relative; overflow: hidden; background: var(--canvas); border-bottom: 1px solid var(--line); }
.home-hero::before {      /* a faint 40px grid fading out from the headline */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image: linear-gradient(var(--soft) 1px, transparent 1px), linear-gradient(90deg, var(--soft) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(900px 520px at 18% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(900px 520px at 18% 0%, #000 0%, transparent 75%);
}
.home-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 0 44px;
  align-items: start; padding-block: 52px 56px; }
.home-hero__top { grid-column: 1 / -1; min-width: 0; }
.home-hero__main { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.home-hero__market { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; min-width: 0; margin-top: -34px; }
.home-hero__title { margin: 22px 0 0; font: 800 40px/1.12 var(--font-display); letter-spacing: -.035em; color: var(--ink); }
.home-hero__l1, .home-hero__l2 { display: block; white-space: nowrap; }
.home-hero__l2 { color: var(--muted); }
.home-hero__sub { margin: 18px 0 0; max-width: 33em; font-size: 17px; line-height: 1.55; color: var(--muted); }
.home-hero .search-form { align-self: stretch; }
.home-hero .pill-search { max-width: none; min-height: 62px; margin-top: 30px; padding: 7px 8px 7px 18px; border-radius: 16px;
  box-shadow: 0 1px 2px rgba(11, 19, 36, .05), 0 14px 34px -18px rgba(11, 19, 36, .28); }
.home-hero .pill-search input[type="search"] { font-size: 16px; text-overflow: ellipsis; }
.home-hero .pill-search .btn { min-height: 46px; padding-inline: 20px; }
.home-hero .search-kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px;
  padding: 0 6px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 8px; color: var(--muted); }
.home-hero .chips { margin-top: 16px; }
.home-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.home-proof li { display: inline-flex; align-items: center; gap: 6px; }
.home-proof svg { flex: none; color: var(--ok); }
.home-quick { align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 28px 0 0;
  padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.home-quick b { margin-right: 2px; font-weight: 600; color: var(--ink-2); }
.home-quick a, .home-quick a:not([class]) { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.home-quick a:hover, .home-quick a:not([class]):hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------------------------------------------------------- market tiles (hero bento and the strip under the list) */
.mk-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin: 0 0 10px; }
.mk-head__title { margin: 0; font: 700 15px/1.3 var(--font-display); letter-spacing: -.01em; }
.mk-head__title--lg { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.mk-head--strip { margin: 56px 0 0; }
.mk-sync { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.mk-sync svg { flex: none; }
.mk-swipe { display: none; align-items: center; gap: 4px; font-size: 12px; color: var(--faint); }
.mk-mob { display: none; }
.bento { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 12px; }
.mk-strip { display: grid; grid-template-columns: minmax(0, 1.86fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 14px; }
.mk-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 18px; }
.mk-tile { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 14px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); }
.mk-tile--wide { grid-column: 1 / -1; }
.mk-tile__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mk-tile__head h3 { margin: 0; font: 600 13px/1.4 var(--font-sans); letter-spacing: 0; color: var(--ink-2); }
.mk-tile__head > span { font-size: 12.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.mk-tile__head .mk-total { font-size: 14px; color: var(--ink); }
.mk-tile a { color: inherit; text-decoration: none; }
.mk-tile a:hover { color: var(--accent); }
.mk-big { margin: 10px 0 0; font: 600 44px/1.05 var(--font-num); letter-spacing: -.025em; color: var(--ink); white-space: nowrap; }
.mk-big__unit { font: 500 22px var(--font-sans); letter-spacing: 0; color: var(--muted); }
.mk-sub { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.mk-sub b { font-weight: 600; color: var(--ink-2); }
.mk-sub b.text-ok { color: var(--ok); }
/* new tenders per day (14 days): one bar per day, today darker */
.spark { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin-top: 18px; }
.spark i { flex: 1; min-height: 3px; border-radius: 8px 8px 0 0; background: var(--line-strong); }
.spark i.is-today { background: var(--ink-2); }
.spark-axis { display: flex; justify-content: space-between; margin-top: 5px; font: 500 11px var(--font-num); color: var(--faint); }
.spark-axis b { font-family: var(--font-sans); font-weight: 600; color: var(--ink-2); }
/* the value buckets: one segmented bar and its legend */
.mk-seg { display: flex; gap: 2px; height: 10px; margin-top: 18px; border-radius: var(--r-pill); overflow: hidden; }
.mk-seg i { display: block; flex: 0 1 0; min-width: 2px; }
.mk-c1 { background: var(--line-strong); } .mk-c2 { background: var(--faint-deco); } .mk-c3 { background: var(--ink-2); }
.mk-seg-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.mk-seg-legend li { font-size: 11px; line-height: 1.35; color: var(--muted); white-space: nowrap; }
.mk-seg-legend b { display: flex; align-items: center; margin-bottom: 1px; font: 600 14px var(--font-num); color: var(--ink); }
.mk-sw { display: inline-block; flex: none; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; }
/* deadlines today and in the next 7 days (the list's „до 7 дни“): columns, the ≤3-day bracket above them, the day and date under them */
.dl-chart { flex: 1; display: grid; grid-template-columns: repeat(var(--days, 8), minmax(0, 1fr)); grid-template-rows: auto minmax(112px, 1fr) auto;
  column-gap: 14px; margin-top: 14px; }
.dl-ann { grid-column: 1 / span var(--urgent, 4); grid-row: 1; display: flex; flex-direction: column; align-items: center;
  margin-bottom: 6px; text-decoration: none; }
.dl-ann > span { position: relative; z-index: 1; padding: 0 8px; background: var(--bg); font-size: 12px; font-weight: 600; color: var(--crit); }
.dl-ann b { font-family: var(--font-num); font-weight: 600; }
.dl-ann i { display: block; width: 100%; height: 7px; margin-top: -6px; border: 1.5px solid rgba(192, 51, 31, .35); border-bottom: 0;
  border-radius: 8px 8px 0 0; }
.dl-ann:hover > span { text-decoration: underline; }
.dl-col { grid-row: 2; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0;
  border-bottom: 1px solid var(--line-strong); }
.dl-col .num { margin-bottom: 5px; font-size: 13px; font-weight: 600; color: var(--ink); }
.dl-col i { display: block; width: 100%; max-width: 44px; height: calc(var(--h, 0%) * .8); border-radius: 8px 8px 0 0; background: var(--ink-2); }   /* the tallest at 80 %: room for its count */
.dl-col.is-weekend i { background: var(--line-strong); }
.dl-lab { grid-row: 3; padding-top: 7px; text-align: center; font-size: 12px; line-height: 1.3; color: var(--muted); }
.dl-lab b { display: block; font-weight: 600; color: var(--ink-2); }
.dl-lab b.text-crit { color: var(--crit); }
.dl-lab .num { font-size: 11.5px; font-weight: 500; color: var(--faint); }
.mk-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--line-soft); font-size: 11.5px; color: var(--faint); }
.dl-chart + .sr-only + .mk-foot, .dl-chart + .mk-foot { margin-top: 14px; }
.mk-foot a { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600;
  color: var(--accent); text-decoration: none; }
.mk-foot a:hover { color: var(--accent-ink); }
/* sectors: a tall stacked bar and a three-column legend */
.mk-stack { display: flex; gap: 2px; height: 44px; margin-top: 18px; border-radius: 12px; overflow: hidden; }
.mk-stack i { display: flex; align-items: center; flex: 0 1 0; min-width: 2px; padding-left: 10px; overflow: hidden; white-space: nowrap;
  font: 600 13px var(--font-num); font-style: normal; color: #FFFFFF; }
.mk-s1 { background: var(--ink); } .mk-s2 { background: var(--ink-2); } .mk-s3 { background: var(--muted); }
.mk-s4 { background: var(--faint-deco); } .mk-s5 { background: var(--line-strong); }
.mk-s6 { background: var(--soft); } .mk-stack .mk-s5, .mk-stack .mk-s6 { color: var(--ink-2); }
.mk-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 20px; margin: 22px 0 0; padding: 0; list-style: none; }
.mk-legend li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mk-legend__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); }
.mk-legend__v { display: flex; align-items: baseline; gap: 8px; padding-left: 13px; }
.mk-legend__v b { font: 600 18px var(--font-num); color: var(--ink); }
.mk-pc { font: 500 11.5px var(--font-num); color: var(--faint); }
/* regions and procedures: labelled rows with a bar under each */
.mk-rows { display: flex; flex-direction: column; gap: 9px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.mk-rows__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mk-rows__top > :first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-rows__top b { font-weight: 600; color: var(--ink); }
.mk-bar { height: 6px; margin-top: 4px; border-radius: var(--r-pill); background: var(--soft); overflow: hidden; }
.mk-bar i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--ink-2); }
.mk-eu { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--ink-2); }
.mk-eu b { font-weight: 600; }

/* ---------------------------------------------------------- the live list straight after the hero */
.home-list { padding-block: 64px 72px; }

/* ---------------------------------------------------------- bands */
.home-band { padding-block: 96px; }
.home-band--canvas { background: var(--canvas); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-band .h2 { margin-top: 10px; font-size: 40px; line-height: 1.08; letter-spacing: -.03em; max-width: 15em; }
.home-band .lead { margin-top: 14px; font-size: 16px; max-width: 38.75em; }
.home-band .eyebrow { font-size: 12px; letter-spacing: .08em; margin: 0; }

/* „Как работи“: the steps and the example preparation screen */
.home-how { padding-block: 88px; }
.home-how__grid { display: grid; grid-template-columns: 410px minmax(0, 1fr); gap: 56px; align-items: start; }
.home-how .h2 { font-size: 36px; }
.v-steps { display: flex; flex-direction: column; margin: 30px 0 0; padding: 0; list-style: none; }
.v-step { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding-block: 14px; }
.v-step::before { content: ""; position: absolute; left: 16px; top: 50px; bottom: -14px; width: 1.5px; background: var(--line-strong); }
.v-step:last-child::before { display: none; }
.v-step__n { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--bg); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.v-step.is-done .v-step__n { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.v-step.is-current .v-step__n { border: 2px solid var(--accent); color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.v-step h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 5px 0 0; font: 700 16px/1.3 var(--font-display); letter-spacing: -.015em; }
.v-step p { margin: 3px 0 0; font-size: 14px; color: var(--muted); }
.who { padding: 2px 7px; border-radius: var(--r-pill); background: var(--soft); font: 600 11px/1.4 var(--font-sans); letter-spacing: .02em; color: var(--muted); }
.who--we { background: var(--accent-soft); color: var(--accent-ink); }

.app-preview { margin: 0; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-float); }
.app-preview__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 12px 22px;
  background: var(--canvas); border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.app-preview__bar b { font-weight: 500; color: var(--ink-2); }
.app-preview__due b { font-weight: 600; color: var(--ink); }
.app-preview__sep { color: var(--line-strong); }
.app-preview__head { padding: 20px 24px 0; }
.app-preview__head .cluster { gap: 6px; }
.app-preview__title { margin: 10px 0 0; font: 700 18px/1.3 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.app-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 22px 0 0; padding: 0 24px 20px; list-style: none;
  border-bottom: 1px solid var(--line-soft); }
.app-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center;
  font-size: 12px; font-weight: 500; line-height: 1.25; color: var(--faint); }
.app-steps li::before { content: ""; position: absolute; top: 13px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.app-steps li:first-child::before { display: none; }
.app-steps li.is-done::before, .app-steps li.is-current::before { background: var(--accent); }
.app-steps__b { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--bg); font-size: 12px; font-weight: 600; color: var(--faint); }
.app-steps li.is-done { color: var(--ink-2); }
.app-steps li.is-done .app-steps__b { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.app-steps li.is-current { color: var(--ink); font-weight: 600; }
.app-steps li.is-current .app-steps__b { border: 2px solid var(--accent); color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.app-preview__body { display: grid; grid-template-columns: 244px minmax(0, 1fr); }
.app-preview__side { display: flex; flex-direction: column; padding: 24px 22px; background: var(--canvas); border-right: 1px solid var(--line-soft); }
.app-ring { position: relative; width: 132px; height: 132px; margin: 0 auto; }
.app-ring svg { display: block; }
.app-ring__track { stroke: var(--soft); }
.app-ring__done { stroke: var(--accent); }
.app-ring__lbl { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0;
  font-size: 12px; color: var(--muted); }
.app-ring__n { font-size: 28px; font-weight: 600; line-height: 1; color: var(--ink); }
.app-ring__n small { font-size: 16px; font-weight: 500; color: var(--muted); }
.app-ring__lbl > span + span { margin-top: 3px; }
.app-counts { display: flex; flex-direction: column; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.app-counts li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.app-counts b { min-width: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.ci { display: inline-flex; flex: 0 0 20px; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; }
.ci--ok { background: var(--ok-soft); color: var(--ok); }
.ci--warn { background: var(--warn-soft); color: var(--warn); }
.ci--todo { border: 1.5px solid var(--line-strong); }
.app-next { margin: 20px 0; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.app-next b { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--accent-ink); }
.app-pay { display: flex; flex-direction: column; gap: 7px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted); }
.app-pay div { display: flex; justify-content: space-between; gap: 8px; }
.app-pay b { color: var(--ink); white-space: nowrap; }
.app-grp { padding: 16px 22px 6px; }
.app-grp + .app-grp { border-top: 1px solid var(--line-soft); }
.app-grp:last-child { padding-bottom: 12px; }
.app-grp__h { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); }
.app-grp__h .pill { min-height: 0; padding: 1px 7px; font-size: 11px; letter-spacing: 0; }
.app-it { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-block: 9px; }
.app-it + .app-it { border-top: 1px dashed var(--line-soft); }
.app-it__t { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.app-it__s { margin: 1px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.app-it .btn { cursor: default; }
.app-dl { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* sample requirements analysis */
.home-sample__grid { display: grid; grid-template-columns: minmax(0, 1fr) 640px; gap: 64px; align-items: center; }
.ticks--circle li { font-size: 15px; }
.ticks--circle li::before { width: 20px; height: 20px; margin-top: 1px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.home-sample__btn { margin-top: 28px; }
.sample-doc { margin: 0; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 2px 4px rgba(11, 19, 36, .04), 0 30px 70px -34px rgba(11, 19, 36, .3); }
.sample-doc__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding: 14px 22px;
  background: var(--canvas); border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.sample-doc__bar b { font-weight: 600; color: var(--ink); }
.sample-doc__sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-soft); }
.sample-doc__sum div { padding: 14px 22px; border-left: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); }
.sample-doc__sum div:first-child { border-left: 0; }
.sample-doc__sum .num { display: block; font-size: 22px; font-weight: 600; line-height: 1.2; }
.sample-doc__sec { margin: 0; padding: 12px 22px 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.sample-doc__sec--line { padding-top: 14px; border-top: 1px solid var(--line-soft); }
.sample-req { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 12px 22px; border-top: 1px solid var(--line-soft); }
.sample-doc__sec + .sample-req { border-top: 0; }
.sample-req h3 { margin: 0; font: 600 14.5px/1.35 var(--font-sans); letter-spacing: 0; }
.sample-req p { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-2); }
.sample-req small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.sample-req--crit { background: var(--crit-soft); }
.sample-req--crit h3 { color: var(--crit); }

/* pricing teaser: its slider, plan cards and fact cards are in pricing.css (shared with /tseni/) */
.home-pricing { padding-block: 88px 96px; }

/* trust points */
.home-trust { padding-block: 96px 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 40px; }
.trust-item { padding-top: 18px; border-top: 2px solid var(--ink); }
.trust-item__top { display: flex; justify-content: space-between; align-items: center; }
.trust-item__top .num { font-size: 13px; font-weight: 500; color: var(--faint); }
.trust-item__ic { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--canvas); color: var(--ink-2); }
.trust-item h3 { margin: 14px 0 0; font: 700 18px/1.3 var(--font-display); letter-spacing: -.02em; }
.trust-item p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }

/* closing call to action */
.home-cta { padding-block: 56px 96px; }
main:has(> .home-cta:last-child) + .site-footer { margin-top: 0; }

/* ---------------------------------------------------------- tablet */
@media (max-width: 1180px) {
  .home-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .home-hero__main, .home-hero__market { grid-column: 1; grid-row: auto; }
  .home-hero__market { margin-top: 40px; }
  .home-hero__l1, .home-hero__l2 { display: inline; white-space: normal; }
  .mk-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-tile--sectors { grid-column: 1 / -1; }
  .home-how__grid, .home-sample__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

/* ---------------------------------------------------------- phone: the market tiles scroll sideways (in their own box), each
   as tall as its own content */
@media (max-width: 640px) {
  .home-hero__grid { padding-block: 22px 36px; }
  .home-hero__title { margin-top: 16px; font-size: 32px; line-height: 1.1; }
  .home-hero__l1, .home-hero__l2 { display: block; }
  .home-hero__sub { margin-top: 12px; font-size: 16px; }
  .home-hero .pill-search { min-height: 54px; margin-top: 18px; padding: 5px 6px 5px 14px; }
  .home-hero .pill-search input[type="search"] { font-size: 16px; }
  .home-hero .pill-search .btn { min-height: 42px; padding-inline: 14px; }
  .home-hero .search-kbd { display: none; }
  .home-hero .chip { min-height: 32px; padding: 0 11px; font-size: 13px; }
  .home-proof { flex-direction: column; gap: 8px; margin-top: 18px; }
  .home-quick { margin-top: 22px; }
  .home-hero__market { margin-top: 32px; }
  .mk-head { flex-wrap: nowrap; align-items: center; }
  .mk-head .mk-sync { display: none; }
  .mk-head--strip { flex-wrap: wrap; margin-top: 40px; }
  .mk-head--strip .mk-sync { display: inline-flex; flex-basis: 100%; white-space: normal; }
  .mk-head--strip .mk-swipe { display: none; }
  .mk-swipe { display: inline-flex; }
  .mk-dsk { display: none; }
  .mk-mob { display: inline; }
  .bento, .mk-strip { display: flex; align-items: flex-start; gap: 10px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 10px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .bento::-webkit-scrollbar, .mk-strip::-webkit-scrollbar { display: none; }
  .bento > .mk-tile, .mk-strip > .mk-tile { flex: 0 0 86%; scroll-snap-align: start; }
  .bento > .mk-tile--wide { flex-basis: 100%; }   /* the deadline chart: eight days need the whole width */
  .mk-strip { margin-top: 10px; }
  .mk-tile { padding: 16px 18px 12px; }
  .mk-big { font-size: 40px; }
  .dl-chart { column-gap: 4px; grid-template-rows: auto minmax(96px, 1fr) auto; }
  .dl-lab { font-size: 11.5px; }
  .dl-lab .num { font-size: 11px; }
  .mk-foot span { display: none; }
  .mk-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-list { padding-block: 44px 52px; }
  .home-band { padding-block: 60px; }
  .home-band .h2, .home-how .h2 { font-size: 30px; }
  .home-how { padding-block: 60px; }
  .home-how__grid, .home-sample__grid { gap: 32px; }
  .app-preview__bar { padding: 10px 16px; }
  .app-preview__due { display: none; }
  .app-preview__head { padding: 16px 16px 0; }
  .app-steps { padding: 0 10px 16px; }
  .app-steps li { gap: 0; font-size: 0; }
  .app-steps li.is-current { gap: 6px; font-size: 11px; }
  .app-steps__b { width: 26px; height: 26px; }
  .app-steps li::before { top: 12px; }
  .app-preview__body { grid-template-columns: minmax(0, 1fr); }
  .app-preview__side { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 16px;
    border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .app-ring, .app-ring svg { width: 104px; height: 104px; }
  .app-counts { margin-top: 0; }
  .app-next, .app-pay { grid-column: 1 / -1; margin: 4px 0 0; }
  .app-grp { padding: 14px 16px 4px; }
  .app-it { grid-template-columns: 22px minmax(0, 1fr); row-gap: 8px; }
  .app-it > :last-child { grid-column: 2; justify-self: start; }
  .sample-doc__bar { padding: 12px 14px; }
  .sample-doc__sum div { padding: 12px 14px; }
  .sample-doc__sum .num { font-size: 20px; }
  .sample-doc__sec { padding: 12px 14px 2px; }
  .sample-req { padding: 12px 14px; }
  .home-pricing { padding-block: 60px 64px; }
  .home-trust { padding-block: 60px 20px; }
  .trust-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 28px; }
  .home-cta { padding-block: 40px 60px; }
}
/* small phones (360×640 and less): a tighter hero, so the search box stays in the first screen, above a cookie notice */
@media (max-width: 400px) {
  .home-hero__grid { padding-top: 16px; }
  .home-hero__title { margin-top: 12px; font-size: 28px; }
  .home-hero__sub { font-size: 15px; line-height: 1.5; }
  .home-hero .pill-search { margin-top: 14px; }
  .dl-chart { column-gap: 2px; }
}
@media (max-width: 370px) { .dl-lab .num { font-size: 10px; } }
@media (max-width: 340px) { .dl-mon { display: none; } }   /* 320 wide: the day of the month only („13“), under its weekday */
