/* The route-first visual system for the public homepage. Its cyan action palette
   is shared with every deeper product route through styles.css/workspace.css. */

:root {
  --brand: #00759e;
  --brand-strong: #005f82;
  --brand-wash: #e6f8fe;
  --accent: #11b2fd;
  --accent-strong: #11b2fd;
  --accent-wash: #e6f8fe;
  --accent-ink: #062a35;
  --mint: #14735f;
  --mint-wash: #e9f7f2;
  --ink: #17181b;
  --muted: #62656f;
  --line: #e4e6eb;
  --page: #f5f6f8;
  --hero: #ffffff;
  --shadow: 0 18px 45px rgba(28, 31, 42, .08);
  background: var(--page);
}

::selection { color: var(--ink); background: #bdeeff; }
html { scrollbar-color: #b7bac3 #f1f2f4; }
body { color: var(--ink); background: var(--page); }
input, select, textarea { caret-color: var(--accent); }
button, a { text-underline-offset: 4px; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #f1f2f4; }
::-webkit-scrollbar-thumb { border: 3px solid #f1f2f4; border-radius: 999px; background: #b7bac3; }

.shell { width: min(1160px, calc(100% - 48px)); }

.button {
  min-height: 48px;
  border-radius: 13px;
  font-weight: 700;
  letter-spacing: -.012em;
  box-shadow: none;
}
.button:hover:not(:disabled) { transform: none; }
.button--primary {
  color: #fff;
  background: var(--accent-strong);
  box-shadow: 0 10px 24px rgba(17, 178, 253, .24);
}
.button--primary:hover:not(:disabled) { color: #fff; background: var(--brand); }
.button--primary:active:not(:disabled) { transform: translateY(1px); }
.button--outline {
  color: var(--ink);
  border-color: #d6d8df;
  background: #fff;
}
.button--outline:hover:not(:disabled) { border-color: #b9bcc5; background: #f7f7f9; }
.button:focus-visible,
.text-action:focus-visible,
.task-title:focus-visible,
.menu-button:focus-visible,
.filter-trigger:focus-visible,
.favorite:focus-visible,
.filter-chip:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
.text-action { min-width: 44px; color: #555862; font-weight: 600; }
.text-action:hover, .text-action:focus-visible { color: var(--ink); }

.topbar {
  height: max(80px, calc(80px + env(safe-area-inset-top)));
  border-bottom-color: #ececef;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 rgba(23, 24, 27, .02);
  backdrop-filter: blur(14px);
}
.topbar__inner {
  width: min(1320px, calc(100% - 48px));
  height: 80px;
  gap: clamp(30px, 4vw, 64px);
}
.brand__logo { width: 136px; }
.brand--image, .site-footer__brand--image { min-height: 44px; align-items: center; }
.main-nav { gap: 30px; color: #5d6069; font-size: 14px; font-weight: 500; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--ink); }
.main-nav .is-active { color: var(--ink); font-weight: 700; }
.main-nav .is-active::after { height: 2px; background: var(--accent); }
.topbar__guest-actions { gap: 12px; }
.topbar__guest-actions .button--small {
  min-height: 46px;
  padding-inline: 20px;
  color: #fff;
  background: var(--accent-strong);
}
.topbar__guest-actions .button--small:hover { color: #fff; background: var(--brand); }
.account-link { color: var(--ink); font-weight: 600; }
.account-link__avatar { border-radius: 12px; }
.icon-action svg, .filter-trigger svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.icon-action::before, .filter-trigger::before { display: none; }
.filter-trigger { border: 1px solid #dedfe4; background: #fff; }
.filter-trigger:hover, .filter-trigger[aria-expanded="true"] { color: var(--accent); background: var(--accent-wash); }
.notification-dot { background: var(--accent); }

.menu-button__glyph {
  width: 34px;
  height: 34px;
  border: 1px solid #e1e2e7;
  border-radius: 12px;
  background: #f7f7f9;
}
.menu-button__glyph::before { display: none; }
.menu-button__glyph span { width: 14px; height: 1.5px; background: var(--ink); }
.mobile-menu {
  top: max(80px, calc(80px + env(safe-area-inset-top)));
  border-bottom-color: #e3e4e8;
  box-shadow: 0 18px 40px rgba(25, 27, 37, .1);
}

.hero {
  min-height: 428px;
  overflow: visible;
  border: 0;
  background: #fff;
}
.hero::after { display: none; }
.hero__inner {
  display: block;
  padding-top: 54px;
  padding-bottom: 4px;
  animation: hero-settle .6s cubic-bezier(.16, 1, .3, 1) both;
}
.hero__copy { max-width: 940px; }
.hero h1 {
  max-width: 940px;
  color: var(--ink);
  font-size: clamp(56px, 5.5vw, 78px);
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: .87;
  text-wrap: balance;
}
.hero__lead {
  max-width: 680px;
  margin-top: 16px;
  color: #555861;
  font-size: 19px;
  line-height: 1.5;
}
.search-form {
  display: flex;
  width: 100%;
  min-height: 76px;
  margin-top: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.route-fields {
  min-height: 76px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #eff1f6;
  box-shadow: none;
  transition: border-color .16s ease, background .16s ease;
}
.route-fields:focus-within { border-color: #d4d6df; background: #f4f5f8; }
.search-field {
  padding: 16px 22px 12px;
  border-radius: 0;
}
.search-field:focus-within { box-shadow: inset 0 -3px 0 var(--accent); }
.search-field > span { color: #656875; font-size: 12px; font-weight: 600; }
.search-field input { padding-top: 4px; color: var(--ink); font-size: 18px; font-weight: 500; }
.search-field input::placeholder { color: #858895; opacity: 1; }
.route-arrow {
  align-self: center;
  width: 42px;
  height: 42px;
  border: 1px solid #dddfe6;
  border-radius: 50%;
  color: #737681;
  background: #fff;
}
.route-arrow svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.search-form .button {
  align-self: stretch;
  min-width: 236px;
  margin-left: 16px;
  border-radius: 12px;
  font-size: 16px;
}
.hero__meta {
  display: flex;
  grid-column: auto;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  color: #696c76;
  font-size: 13px;
}
.hero__meta p { color: #4f525b; font-size: 14px; }
.hero__meta strong { color: var(--ink); font-size: 17px; }
.hero__meta > span { display: inline-flex; align-items: center; gap: 14px; }
.hero__meta > span::before { width: 4px; height: 4px; border-radius: 50%; background: #b4b6bd; content: ""; }
.hero__sender-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-left: auto;
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: #b8bac2;
}
.hero__sender-link:hover { color: var(--accent-strong); text-decoration-color: currentColor; }
.hero__sender-link:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

@keyframes hero-settle {
  from { filter: blur(2px); opacity: .94; transform: translateY(8px); }
  to { filter: none; opacity: 1; transform: none; }
}

.journey {
  border-top: 1px solid #ececef;
  border-bottom: 1px solid #e2e4e9;
  background: #fff;
}
.journey__inner {
  display: grid;
  grid-template-columns: minmax(220px, .62fr) minmax(0, 1.38fr);
  gap: 48px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 48px;
}
.journey h2 {
  max-width: 390px;
  margin: 0;
  font-size: clamp(27px, 2.6vw, 36px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.journey__heading p { margin-top: 12px; color: #666973; font-size: 13px; font-weight: 600; }
.journey__example {
  padding: 24px 26px;
  border: 1px solid #e1e3e8;
  border-radius: 18px;
  background: #f7f7fa;
}
.journey__route { display: flex; align-items: center; gap: 12px; min-width: 0; }
.journey__route > span { color: var(--ink); font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.journey__route svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.journey__route strong { margin-left: auto; color: var(--ink); font-size: 22px; white-space: nowrap; }
.journey__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: #5c5f68; font-size: 13px; }
.journey__facts span + span::before { margin-right: 18px; color: #b3b5bd; content: "·"; }
.journey__details { grid-column: 2; }
.journey__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: journey;
}
.journey__steps li {
  min-width: 0;
  padding: 0 18px;
  border-left: 1px solid #e2e4e9;
  counter-increment: journey;
}
.journey__steps li:first-child { border-left: 0; }
.journey__steps li::before {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  content: "0" counter(journey);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.journey__steps strong { display: block; font-size: 16px; letter-spacing: -.02em; }
.journey__steps span { display: block; margin-top: 6px; color: #62656f; font-size: 12px; line-height: 1.45; }
.journey__signal {
  display: flex !important;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 16px !important;
  padding: 0 12px;
  border: 1px solid #e1e3e8;
  border-radius: 11px;
  color: var(--ink) !important;
  background: #f7f7fa;
}
.journey__signal b { font-size: 12px; }
.journey__signal em { color: var(--ink); font-size: 12px; font-style: normal; font-weight: 800; white-space: nowrap; }
.journey__signal--action { color: #fff !important; border-color: var(--accent-strong); background: var(--accent-strong); }
.journey__signal--action em { display: grid; width: 24px; height: 24px; color: #fff; place-items: center; }
.journey__signal--action svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.workspace {
  display: block;
  padding-top: 70px;
  padding-bottom: 88px;
}
.filters { display: none; }
.feed {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.feed__topline {
  min-height: 72px;
  padding: 0 0 24px;
  border: 0;
}
.feed h2 { color: var(--ink); font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; letter-spacing: -.038em; }
.feed__topline p { margin-top: 8px; color: #656872; font-size: 14px; }
.feed__actions { gap: 10px; }
.feed-filter-trigger { display: inline-grid !important; }
.save-search { color: #4e515a; }
.sort-control { display: flex; align-items: center; gap: 9px; color: #62656f; }
.sort-control__label { font-size: 12px; font-weight: 650; }
.sort-control select {
  width: 190px;
  min-height: 48px;
  border-color: #dedfe4;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}
.sort-control select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(17, 178, 253, .18); }
.notice, .connection-notice, .applied-filters { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; }
.applied-filters { background: #fff; }
.filter-chip { border-color: #9edff4; border-radius: 10px; color: #006b91; background: var(--accent-wash); }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; }
.filter-chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.task-list { display: grid; gap: 10px; background: transparent; }
.task-card {
  display: block;
  padding: 20px 24px 16px;
  border: 1px solid #e2e4e9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(30, 32, 41, .025);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.task-card:last-child { border-bottom: 1px solid #e2e4e9; }
.task-card:hover {
  border-color: #d4d6dd;
  background: #fff;
  box-shadow: 0 14px 34px rgba(28, 31, 42, .07);
  transform: translateY(-2px);
}
.task-card--closed { margin-top: 10px; background: #f8f8f9; }
.task-card__top {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 44px;
  gap: 14px;
  align-items: start;
}
.task-icon {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid #b8e7f6;
  border-radius: 13px;
  place-items: center;
  color: var(--brand);
  background: var(--brand-wash);
}
.task-icon--van { color: #176a5b; border-color: #dcebe6; background: #edf8f4; }
.task-icon--crane { color: #a54034; border-color: #f0ded9; background: #fff2ef; }
.task-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  vector-effect: non-scaling-stroke;
}
.task-route {
  display: grid;
  min-width: 0;
  min-height: 44px;
  align-content: center;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.task-route:hover .task-route__cities, .task-route:focus-visible .task-route__cities { color: var(--brand); }
.task-route:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.task-route__cities { display: flex; align-items: center; gap: 9px; font-size: 23px; font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
.task-route__cities > span { white-space: nowrap; }
.task-route__cities svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.task-route__address { overflow: hidden; margin-top: 5px; color: #666973; font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.task-price { align-self: center; margin: 0; color: var(--ink); font-size: 23px; letter-spacing: -.025em; white-space: nowrap; }
.task-price, .journey__signal em { font-variant-numeric: tabular-nums; }
.task-menu { position: relative; justify-self: end; }
.task-menu > summary {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 12px;
  place-items: center;
  color: #696c75;
  cursor: pointer;
  list-style: none;
}
.task-menu > summary svg { width: 21px; height: 21px; fill: currentColor; stroke: none; }
.task-menu > summary::-webkit-details-marker { display: none; }
.task-menu > summary:hover, .task-menu[open] > summary { border-color: #dedfe4; color: var(--ink); background: #f7f7f9; }
.task-menu > summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.task-menu > div { position: absolute; z-index: 4; top: 48px; right: 0; min-width: 164px; padding: 6px; border: 1px solid #e0e2e7; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(30,31,43,.14); }
.task-menu button, .task-menu a { display: flex; width: 100%; min-height: 44px; align-items: center; padding: 0 12px; border: 0; border-radius: 8px; color: #555862; background: transparent; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.task-menu button:hover, .task-menu a:hover { color: var(--ink); background: #f3f4f6; }
.task-menu .task-menu__report { color: #9a3540; }
.task-menu .task-menu__report:hover { color: #7f202b; background: #fff2f3; }
.task-card__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 58px 0; color: #555862; font-size: 13px; font-weight: 600; }
.task-card__facts span + span::before { margin-right: 18px; color: #b1b3ba; content: "·"; }
.task-description { margin: 8px 58px 0; color: #383a42; font-size: 14px; font-weight: 600; }
.task-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; margin: 7px 58px 0; color: #676a73; font-size: 12px; }
.task-card__meta > span + span::before { margin-right: 14px; color: #b7bac1; content: "·"; }
.badge { margin: 0; color: #4e515a; }
.tag-row { display: inline-flex; gap: 5px; }
.tag-row span { border-radius: 7px; color: #60636d; background: #f1f2f4; font-weight: 600; }
.task-card__footer { display: flex; min-height: 44px; align-items: center; gap: 10px; margin: 8px 0 0 58px; }
.task-detail-link, .task-response {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #4e515a;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
.task-detail-link { padding: 0 4px; text-decoration: underline; text-decoration-color: #c5c7ce; text-underline-offset: 4px; }
.task-detail-link:hover { color: var(--ink); text-decoration-color: currentColor; }
.task-response { gap: 8px; min-width: 146px; padding: 0 17px; border: 1px solid #d5d7de; border-radius: 11px; color: var(--ink); background: #fff; }
.task-response svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.task-response:hover { border-color: var(--accent); color: var(--accent-strong); background: var(--accent-wash); }
.task-detail-link:focus-visible, .task-response:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.favorite {
  display: grid;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 11px;
  place-items: center;
  color: #5f626c;
}
.favorite:hover { border-color: #e0e1e6; color: var(--accent); background: #f8f8fa; }
.favorite svg, .favorite-action svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.favorite.is-saved, .favorite-action.is-saved {
  color: #006b91;
  border-color: #9edff4;
  background: var(--accent-wash);
}
.task-status { display: inline-flex; min-height: 44px; align-items: center; margin-left: auto; color: #9b3746; font-size: 12px; font-weight: 700; }
.task-card--closed .task-route__cities, .task-card--closed .task-price { color: #646770; }
.closed-requests { margin-top: 14px; }
.closed-requests > summary { display: inline-flex; min-height: 44px; align-items: center; padding: 0 4px; color: #5f626c; font-size: 13px; font-weight: 700; cursor: pointer; }
.closed-requests > summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.closed-requests__list { display: grid; gap: 10px; }

/* Stable marketplace record: route, comparable facts, and offer. */
.task-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, .78fr) 184px;
  grid-template-rows: auto auto auto 1fr;
  gap: 8px 28px;
  padding: 22px 24px;
  border-color: #e0e2e7;
  border-radius: 14px;
}
.task-card__route-zone {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 13px;
  align-items: start;
}
.task-card__route-zone .task-icon { grid-column: 1; grid-row: 1 / 3; }
.task-card__route-zone .task-route { grid-column: 2; grid-row: 1; }
.task-card__route-zone .task-route__address { grid-column: 2 / 4; grid-row: 2; margin-top: -2px; }
.task-card__route-zone .task-menu { grid-column: 3; grid-row: 1; }
.task-card__facts {
  display: grid;
  grid-column: 2;
  grid-row: 1 / 5;
  align-content: start;
  gap: 13px;
  margin: 0;
  padding: 2px 26px;
  border-right: 1px solid #eceef1;
  border-left: 1px solid #eceef1;
}
.task-card__facts > div { display: grid; gap: 3px; }
.task-card__facts > div > span { color: #777a83; font-size: 11px; font-weight: 600; }
.task-card__facts > div > strong { color: #383a42; font-size: 13px; font-weight: 700; line-height: 1.35; }
.task-card__facts span + span::before { display: none; }
.task-description { grid-column: 1; grid-row: 2; margin: 3px 57px 0; font-size: 14px; line-height: 1.4; }
.task-requirement { display: flex; grid-column: 1; grid-row: 3; flex-wrap: wrap; align-items: start; gap: 7px; margin: 0 57px; color: #383a42; font-size: 14px; }
.task-requirement .badge { padding: 0; color: #383a42; background: transparent; font-size: 14px; font-weight: 600; line-height: 1.4; }
.task-service {
  display: flex;
  grid-column: 1;
  grid-row: 4;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 0 57px;
  color: #686b74;
  font-size: 12px;
}
.task-service > span + span::before { margin-right: 14px; color: #b7bac1; content: "·"; }
.task-service .tag-row { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.task-offer {
  display: grid;
  grid-column: 3;
  grid-row: 1 / 5;
  align-content: start;
  gap: 8px;
}
.task-offer .task-price { justify-self: end; }
.task-offer__actions { display: grid; grid-template-columns: 1fr 44px; gap: 5px; margin-top: 5px; }
.task-offer__actions .task-response { grid-column: 1 / -1; grid-row: 1; width: 100%; min-width: 0; }
.task-offer__actions .task-detail-link { grid-column: 1; grid-row: 2; justify-self: start; }
.task-offer__actions .favorite { grid-column: 2; grid-row: 2; margin: 0; }
.task-offer__actions .task-status { grid-column: 1 / -1; grid-row: 1; justify-content: flex-end; margin: 0; }
.task-list {
  gap: 0;
  border: 1px solid #dfe1e6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 31, 42, .035);
}
.task-list > .task-card {
  border: 0;
  border-top: 1px solid #e5e7eb;
  border-radius: 0;
  box-shadow: none;
}
.task-list > .task-card:first-child { border-top: 0; border-radius: 15px 15px 0 0; }
.task-list > .task-card:hover { z-index: 1; border-color: #dfe1e6; background: #fafafd; box-shadow: inset 3px 0 0 var(--accent); transform: none; }
.task-list > .closed-requests { padding: 0 20px 12px; border-top: 1px solid #e5e7eb; }
.closed-requests__list { margin: 0 -20px -12px; }
.closed-requests__list .task-card { border: 0; border-top: 1px solid #e5e7eb; border-radius: 0; box-shadow: none; }
.task-card--skeleton { min-height: 160px; }
.task-card--skeleton > span, .task-card--skeleton i {
  background: linear-gradient(90deg, #eceef2 25%, #f7f8fa 40%, #eceef2 56%);
  background-size: 220% 100%;
}
.empty-state { padding: 64px 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.empty-state__status { display: block; margin-bottom: 14px; color: #737680; font-size: 13px; font-weight: 600; }

.site-footer {
  color: #646771;
  border-top: 1px solid #e0e2e7;
  background: #fff;
}
.site-footer__inner { padding-top: 54px; padding-bottom: 46px; }
.site-footer__logo { background: transparent url("/assets/nadomogu-logo-blue-on-white.svg") center / contain no-repeat; }
.footer-details summary, .site-footer__heading { color: var(--ink); }
.site-footer__nav a:hover, .site-footer__nav a:focus-visible, .site-footer__back:hover, .site-footer__back:focus-visible { color: var(--accent); }
.site-footer__nav a, .site-footer__back, .site-footer__legal a { display: inline-flex; min-height: 44px; align-items: center; }
.site-footer__back { gap: 7px; color: var(--ink); }
.site-footer__back svg { width: 18px; height: 18px; color: var(--accent); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.site-footer__stores { grid-template-columns: 1fr; max-width: 230px; }
.store-button {
  min-height: 64px;
  border-color: #d9dbe1;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}
.store-button:hover { border-color: #bbbfc8; background: #f7f7f9; transform: none; }
.store-button__eyebrow { color: #666973; }
.site-footer__bottom { border-top-color: #e6e7eb; }
.site-footer__bottom-inner { color: #686b74; }
.site-footer__legal a { text-decoration-color: #c5c7ce; }

.modal-backdrop { background: rgba(17, 18, 23, .48); backdrop-filter: blur(5px); }
.modal { border-radius: 22px; box-shadow: 0 28px 80px rgba(17, 18, 23, .24); }
.modal h2 { color: var(--ink); letter-spacing: -.035em; }
.modal__close { border-radius: 12px; }
.modal__close:hover { color: var(--ink); background: #f2f3f5; }
.modal__close svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.modal__sticky-heading { border-bottom: 1px solid #eeeef1; }
.filters select:focus, .filters input:focus, .filter-modal-form select:focus, .filter-modal-form input:focus, .sort-control select:focus, .price-control:focus-within,
.form-input:focus, .code-inputs input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand); }
.check input:checked { border-color: var(--accent); background: var(--accent); }
.advanced-filters summary, .link-button { color: var(--ink); }
.link-button { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; }
.auth-progress li.is-active, .auth-progress li.is-complete { color: var(--accent); }
.auth-progress li.is-active::before, .auth-progress li.is-complete::before { border-color: var(--accent); background: var(--accent); }

@media (max-width: 980px) {
  .main-nav { gap: 20px; }
  .main-nav a[href="#how-it-works"] { display: none; }
  .journey__inner { gap: 36px; }
  .task-card { grid-template-columns: minmax(0, 1.2fr) minmax(190px, .78fr) 174px; gap-inline: 20px; padding-inline: 22px; }
  .task-card__facts { padding-inline: 18px; }
  .task-route__cities { flex-wrap: wrap; }
  .journey__signal { display: grid !important; align-content: center; justify-content: start; }
  .journey__signal em { margin-top: 2px; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 36px, 720px); }
  .topbar { height: max(68px, calc(68px + env(safe-area-inset-top))); }
  .topbar__inner { width: calc(100% - 36px); height: 68px; }
  .mobile-menu { top: max(68px, calc(68px + env(safe-area-inset-top))); }
  .hero { min-height: 0; }
  .hero__inner { padding-top: 60px; padding-bottom: 56px; }
  .hero h1 { max-width: 700px; font-size: clamp(48px, 8vw, 62px); }
  .search-form { width: 100%; min-height: 76px; margin-top: 38px; }
  .route-fields { min-height: 76px; }
  .search-field { padding: 13px 17px 10px; }
  .search-form .button { min-width: 174px; }
  .journey__inner { display: block; padding-top: 42px; padding-bottom: 42px; }
  .journey h2 { max-width: 600px; }
  .journey__details { margin-top: 28px; }
  .journey__steps { margin: 0; }
  .workspace { padding-top: 54px; padding-bottom: 66px; }
  .task-card { grid-template-columns: minmax(0, 1.16fr) minmax(176px, .78fr) 166px; gap-inline: 16px; padding-inline: 20px; }
  .task-card__facts { padding-inline: 14px; }
  .site-footer__inner { padding-top: 44px; }
}

@media (max-width: 640px) {
  html, body { overflow-x: hidden; }
  .shell { width: calc(100% - 28px); }
  .topbar__inner { width: calc(100% - 28px); }
  .brand__logo { width: 122px; }
  .hero__inner { padding-top: 44px; padding-bottom: 40px; }
  .hero h1 { max-width: 430px; font-size: clamp(40px, 11.5vw, 51px); line-height: 1.02; }
  .hero__lead { max-width: 410px; margin-top: 18px; font-size: 16px; }
  .search-form { display: grid; grid-template-columns: 1fr; gap: 10px; min-height: 0; margin-top: 30px; }
  .route-fields { grid-template-columns: 1fr; min-height: 132px; border-radius: 15px; }
  .search-field { min-height: 64px; padding: 10px 16px 8px 46px; }
  .search-field:first-child { border-bottom: 1px solid #dbdde4; }
  .search-field:focus-within { box-shadow: inset 3px 0 0 var(--accent); }
  .search-field input { font-size: 16px; }
  .route-arrow {
    position: absolute;
    z-index: 2;
    width: 28px;
    height: 28px;
    margin: 52px 0 0 9px;
    transform: rotate(90deg);
  }
  .route-arrow svg { width: 15px; height: 15px; }
  .search-form .button { width: 100%; min-height: 54px; margin: 0; border-radius: 14px; }
  .hero__meta { flex-wrap: wrap; gap: 4px 10px; margin-top: 16px; }
  .hero__meta p { width: 100%; }
  .hero__meta > span::before { display: none; }
  .hero__sender-link { width: 100%; margin: 5px 0 0; }
  .journey__inner { padding-top: 36px; padding-bottom: 40px; }
  .journey h2 { font-size: 28px; }
  .journey__heading p { margin-top: 8px; }
  .journey__details { margin-top: 20px; }
  .journey__steps { grid-template-columns: 1fr; gap: 0; margin: 0; }
  .journey__steps li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 4px 12px;
    padding: 14px 0;
    border-top: 1px solid #e7e8ec;
    border-left: 0;
  }
  .journey__steps li::before { display: block; grid-column: 1; grid-row: 1 / 4; margin: 12px 0 0; }
  .journey__signal { display: flex !important; grid-column: 2; grid-row: 1; width: 100%; min-height: 46px; margin: 0 0 6px !important; }
  .journey__signal b, .journey__signal em { font-size: 12px; }
  .journey__signal--action em { font-size: 17px; }
  .journey__steps strong { grid-column: 2; grid-row: 2; font-size: 14px; line-height: 1.3; }
  .journey__steps li > span:not(.journey__signal) { display: block; grid-column: 2; grid-row: 3; margin-top: 2px; font-size: 13px; }
  .workspace { padding-top: 42px; padding-bottom: 56px; }
  .feed__topline { display: grid; min-height: 0; gap: 18px; padding-bottom: 20px; }
  .feed h2 { font-size: 31px; white-space: normal; }
  .feed__topline p { display: block; font-size: 13px; }
  .feed__actions { justify-content: space-between; }
  .feed__actions { width: 100%; }
  .sort-control { display: grid; grid-template-columns: auto minmax(0, 1fr); flex: 1; width: auto; min-width: 0; margin-left: 0; }
  .sort-control__label { display: block; font-size: 11px; }
  .sort-control select { width: 100%; min-height: 44px; font-size: 12px; }
  .task-list { gap: 10px; }
  .task-card {
    display: block;
    padding: 19px 16px 16px;
    border-radius: 16px;
  }
  .task-card:hover { transform: none; }
  .task-card__top { grid-template-columns: minmax(0, 1fr) 44px; gap: 7px; }
  .task-icon { display: none; }
  .task-route { grid-column: 1; grid-row: 1; }
  .task-route__cities { gap: 7px; font-size: 19px; }
  .task-route__cities { flex-wrap: wrap; }
  .task-route__cities > span { min-width: 0; }
  .task-route__cities svg { width: 19px; height: 19px; }
  .task-route__address { margin-top: 6px; font-size: 14px; line-height: 1.35; white-space: normal; }
  .task-price { grid-column: 1 / -1; grid-row: 2; justify-self: start; margin-top: 4px; font-size: 20px; }
  .task-menu { grid-column: 2; grid-row: 1; }
  .task-card__facts { display: grid; gap: 6px; margin: 14px 0 0; font-size: 12px; }
  .task-card__facts span + span::before { margin: 0; content: ""; }
  .task-description { margin: 11px 0 0; font-size: 13px; }
  .task-card__meta { margin: 9px 0 0; }
  .task-card__footer { gap: 8px; margin: 11px 0 0; padding-top: 10px; border-top: 1px solid #eceef1; }
  .task-detail-link { font-size: 12px; }
  .favorite { flex: 0 0 44px; margin-left: 0; }
  .task-response { min-width: 122px; padding-inline: 10px; font-size: 12px; }
  .task-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    grid-template-rows: auto;
    gap: 0 10px;
  }
  .task-card__route-zone {
    display: contents;
  }
  .task-card__route-zone .task-route { grid-column: 1; grid-row: 1; }
  .task-card__route-zone .task-route__address { grid-column: 1 / -1; grid-row: 2; width: 100%; margin-top: 5px; }
  .task-card__route-zone .task-menu { grid-column: 3; grid-row: 1; }
  .task-offer { display: contents; }
  .task-offer .task-price { grid-column: 2; grid-row: 1; align-self: start; justify-self: end; margin-top: 4px; font-size: 21px; }
  .task-card__facts {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 3;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    margin: 10px 0 0;
    padding: 0;
    border: 0;
  }
  .task-card__facts > div:last-child { grid-column: 1 / -1; }
  .task-card__facts > div > span { font-size: 11px; }
  .task-card__facts > div > strong { color: #383a42; font-size: 14px; line-height: 1.35; }
  .task-description { grid-column: 1 / -1; grid-row: 4; margin: 9px 0 0; color: #2f3138; font-size: 14px; line-height: 1.4; }
  .task-requirement { grid-column: 1 / -1; grid-row: 5; margin: 5px 0 0; color: #383a42; font-size: 14px; }
  .task-service { grid-column: 1 / -1; grid-row: 6; margin: 7px 0 0; color: #5d6069; font-size: 13px; }
  .task-offer__actions {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 7;
    grid-template-columns: auto 44px minmax(122px, 1fr);
    gap: 7px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eceef1;
  }
  .task-offer__actions .task-detail-link { grid-column: 1; grid-row: 1; font-size: 14px; }
  .task-offer__actions .favorite { grid-column: 2; grid-row: 1; }
  .task-offer__actions .task-response { grid-column: 3; grid-row: 1; font-size: 14px; }
  .task-offer__actions .task-status { grid-column: 2 / -1; grid-row: 1; justify-content: flex-end; font-size: 13px; }
  .task-list { border-radius: 14px; }
  .task-list > .task-card { padding: 16px; border-radius: 0; }
  .task-list > .task-card:first-child { border-radius: 13px 13px 0 0; }
  .site-footer__inner { padding-top: 28px; }
  .footer-details { border-top-color: #e3e4e8; }
  .footer-details summary::after { color: var(--accent); }
  .site-footer__stores { max-width: 100%; }
  .modal { border-radius: 22px 22px 0 0; }
}

@media (max-width: 360px) {
  .shell, .topbar__inner { width: calc(100% - 24px); }
  .hero h1 { font-size: 38px; }
  .feed__actions { gap: 6px; }
  .sort-control { width: auto; }
  .sort-control select { width: 100%; padding-inline: 7px 22px; font-size: 11px; }
  .task-card { padding-inline: 14px; }
  .task-card { grid-template-columns: minmax(0, 1fr) 44px; }
  .task-card__route-zone .task-route { grid-column: 1; grid-row: 1; }
  .task-card__route-zone .task-menu { grid-column: 2; grid-row: 1; }
  .task-offer .task-price { grid-column: 1 / -1; grid-row: 2; justify-self: start; margin-top: 6px; }
  .task-card__route-zone .task-route__address { grid-column: 1 / -1; grid-row: 3; }
  .task-card__facts { grid-row: 4; }
  .task-description { grid-row: 5; }
  .task-requirement { grid-row: 6; }
  .task-service { grid-row: 7; }
  .task-offer__actions { grid-row: 8; }
  .task-route__cities { font-size: 18px; }
  .task-price { font-size: 18px; }
  .task-card__footer { gap: 5px; }
  .task-response { min-width: 112px; padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__inner { animation: none; }
  .task-card { transition: none; }
}

/* Hybrid icon system: calm outline utilities with generated artwork reserved
   for the larger transport/category illustrations. */
.ui-icon {
  display: block;
  width: 22px;
  height: 22px;
  max-width: none;
  flex: 0 0 auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.generated-icon {
  object-fit: contain;
  stroke: none;
}
.icon-action .ui-icon, .filter-trigger .ui-icon { width: 24px; height: 24px; }
.icon-action,
.filter-trigger,
.menu-button__glyph,
.favorite,
.favorite-action,
.task-menu summary,
.task-response,
.modal__close { align-items: center; justify-content: center; }
.menu-button__glyph { display: grid; place-items: center; }
.menu-button__glyph .ui-icon { width: 25px; height: 25px; }
.menu-button__glyph span { display: none; }
.route-arrow .ui-icon { width: 20px; height: 20px; }
.journey__signal--action .ui-icon { width: 19px; height: 19px; }
.task-icon .ui-icon {
  width: 36px;
  height: 36px;
  align-self: center;
  justify-self: center;
  object-position: center;
}
.task-icon,
.task-icon--truck,
.task-icon--van,
.task-icon--crane {
  border-color: #b8e7f6;
  color: var(--brand);
  background-color: var(--brand-wash);
  background-image: none;
}
.favorite .ui-icon, .favorite-action .ui-icon { width: 21px; height: 21px; }
.favorite svg.ui-icon, .favorite-action svg.ui-icon { display: block; }
.task-menu .ui-icon { width: 20px; height: 20px; }
.task-response .ui-icon, .site-footer__back .ui-icon { width: 18px; height: 18px; }
.modal__close .ui-icon { width: 22px; height: 22px; }
