/*
THESIS: Make a logistics marketplace feel immediate and composed, with the route search and working conversation taking priority over decorative chrome.
OWN-WORLD: Profi.ru is the pinned reference; inherit near-black type, spacious white structure, pale blue and neutral surfaces, confident rounded controls, and one warm yellow action accent clearly separated from the nadomogu blue identity.
STORY: A visitor finds a route, scans professional request cards, opens a conversation, and reaches the next action without visual noise.
FIRST VIEWPORT: A compact white header sits above a pale-blue hero; headline and route search occupy the left, while an authored coral-truck scene owns the right. The search action is the only saturated control.
FORM: reference-pinned — https://profi.ru/
FINISH: unreviewed and undocumented is unfinished; this build ends with the finish review, the verdict, DESIGN.md, and every shipping raster carrying its provenance
*/
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-cyrillic-v20.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-v20.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #2f20c8;
  --brand-strong: #21158e;
  --brand-wash: #f0efff;
  --accent: #f2c94c;
  --accent-strong: #ddb431;
  --accent-wash: #fff7d6;
  --accent-ink: #202126;
  --mint: #187665;
  --mint-wash: #eaf8f3;
  --apricot: #8a6f63;
  --ink: #181818;
  --muted: #747684;
  --line: #e5e6ee;
  --page: #fafafe;
  --hero: #eef7ff;
  --shadow: 0 16px 38px rgba(26, 28, 48, .08);
  color: var(--ink);
  background: var(--page);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--page); }
body.has-modal { overflow: hidden; }
button, input, select { font: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .52; }
a { color: inherit; text-decoration: none; }
input, select { max-width: 100%; font-size: 16px; }

.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; top: max(8px, env(safe-area-inset-top)); left: 8px; z-index: 70; padding: 11px 14px; border-radius: 8px; color: #fff; background: var(--brand); transform: translateY(-180%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.button, .text-action, .menu-button, .filter-trigger, .task-title, .favorite, .radius-filter button { min-height: 44px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.1; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button--primary { color: #fff; background: var(--brand); box-shadow: 0 7px 18px rgba(37, 2, 205, .18); }
.button--primary:hover:not(:disabled) { background: var(--brand-strong); }
.button--outline { color: var(--mint); border-color: rgba(35, 111, 99, .34); background: #fff; }
.button--outline:hover:not(:disabled) { border-color: var(--mint); background: var(--mint-wash); }
.button--small { min-height: 44px; padding: 0 15px; border-radius: 9px; font-size: 13px; }
.text-action { padding: 0 5px; border: 0; color: #5f6270; background: transparent; font-size: 13px; font-weight: 700; }
.text-action:hover, .text-action:focus-visible { color: var(--brand); }
.button:focus-visible, .text-action:focus-visible, .task-title:focus-visible, .menu-button:focus-visible, .filter-trigger:focus-visible, .favorite:focus-visible, .radius-filter button:focus-visible, .filter-chip:focus-visible, summary:focus-visible { outline: 3px solid rgba(37, 2, 205, .25); outline-offset: 2px; }

.topbar { position: sticky; top: 0; z-index: 20; height: max(72px, calc(72px + env(safe-area-inset-top))); padding-top: env(safe-area-inset-top); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.topbar__inner { display: flex; width: min(1320px, calc(100% - 48px)); height: 72px; align-items: center; gap: clamp(24px, 3vw, 58px); margin: 0 auto; }
.brand--text, .site-footer__brand--text { display: inline-flex; align-items: center; font-size: 25px; font-weight: 700; letter-spacing: -.065em; }
.brand--text { flex: 0 0 auto; color: var(--brand); }
.brand--image { display: inline-flex; flex: 0 0 auto; line-height: 0; }
.brand__logo { display: block; width: 130px; height: auto; }
.main-nav { display: flex; height: 100%; align-items: stretch; gap: 26px; color: #626572; font-size: 14px; white-space: nowrap; }
.main-nav a { position: relative; display: grid; align-items: center; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav .is-active { color: var(--brand); }
.main-nav .is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); content: ""; }
.topbar__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.topbar__guest-actions, .topbar__account-actions { display: inline-flex; align-items: center; gap: 8px; }
.auth-only { display: none !important; }
body.is-authenticated .auth-only { display: inline-flex !important; }
body.is-authenticated .main-nav .auth-only { display: grid !important; }
body.is-authenticated .guest-only { display: none !important; }
.icon-action { position: relative; display: inline-grid; width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; place-items: center; color: #3b3e49; background: transparent; }
.icon-action:hover, .icon-action:focus-visible { color: var(--brand); background: var(--brand-wash); }
.icon-action svg, .filter-trigger svg { display: none; }
.icon-action::before, .filter-trigger::before { display: block; width: 22px; height: 22px; background: center / contain no-repeat url("/assets/ai-icons/bell.png"); content: ""; }
.icon-action:has(.ui-icon)::before { display: none; }
.notification-dot { display: grid; position: absolute; top: -5px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; place-items: center; color: #fff; background: #ef4b55; font-size: 9px; font-weight: 700; line-height: 1; }
.filter-trigger::before { background-image: url("/assets/ai-icons/filters.png"); }
.account-link { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: #343640; font-size: 13px; font-weight: 700; white-space: nowrap; }
.account-link:hover, .account-link:focus-visible { color: var(--brand); }
.account-link__avatar { display: grid; width: 32px; height: 32px; border-radius: 50%; place-items: center; color: var(--brand); background: var(--brand-wash); font-size: 11px; font-weight: 700; }
.account-exit { color: #777a85; }
.menu-button { display: none; width: 44px; padding: 0; border: 0; align-items: center; justify-content: center; color: #343640; background: transparent; }
.menu-button__glyph { display: block; width: 24px; height: 24px; background: center / contain no-repeat url("/assets/ai-icons/list.png"); }
.menu-button__glyph span { display: none; }
.mobile-menu { position: fixed; top: max(72px, calc(72px + env(safe-area-inset-top))); z-index: 19; display: grid; width: 100%; padding: 8px 24px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.mobile-menu a, .mobile-menu button { min-height: 44px; padding: 0 4px; border: 0; color: #4e5160; background: transparent; font-size: 15px; text-align: left; }
.mobile-menu button:last-child { color: var(--brand); font-weight: 700; }

.hero { position: relative; min-height: 426px; overflow: hidden; border-bottom: 1px solid #ecebf4; background: var(--hero); isolation: isolate; }
.hero__art { position: absolute; top: 12px; right: max(0px, calc((100vw - 1440px) / 2)); z-index: -1; width: min(60vw, 830px); height: calc(100% - 12px); object-fit: cover; object-position: right center; opacity: .76; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 640px) 1fr; padding-top: 62px; padding-bottom: 36px; }
.hero__copy { grid-column: 1; }
.eyebrow { margin: 0 0 11px; color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 570px; margin: 0; color: #232530; font-size: clamp(36px, 4.2vw, 56px); letter-spacing: -.055em; line-height: .98; }
.hero__lead { max-width: 470px; margin: 19px 0 0; color: #666a77; font-size: 16px; line-height: 1.55; }
.search-form { display: flex; grid-column: 1; width: min(100%, 640px); min-height: 78px; margin-top: 31px; padding: 7px; border: 1px solid rgba(68, 61, 151, .08); border-radius: 15px; background: #fff; box-shadow: var(--shadow); }
.route-fields { display: grid; flex: 1; min-width: 0; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: stretch; }
.search-field { display: grid; min-width: 0; grid-template-rows: auto 1fr; padding: 7px 13px 5px; border-radius: 9px; transition: box-shadow .15s ease; }
.search-field:focus-within { box-shadow: 0 0 0 3px rgba(37, 2, 205, .13); }
.search-field > span { color: #7a7d88; font-size: 11px; font-weight: 700; }
.search-field input { width: 100%; min-width: 0; padding: 1px 0 0; border: 0; outline: 0; color: var(--ink); background: transparent; line-height: 1.2; }
.search-field input::placeholder { color: #9a9ca8; }
.route-arrow { display: grid; width: 28px; place-items: center; color: #a6a7b1; font-size: 18px; }
.search-form .button { align-self: stretch; min-width: 92px; margin-left: 5px; }
.hero__meta { grid-column: 1; margin-top: 17px; }
.hero__meta p { margin: 0; color: #70737e; font-size: 14px; }
.hero__meta strong { margin-right: 4px; color: #292b36; font-size: 16px; }

.workspace { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 38px; padding-bottom: 52px; }
.filters { position: static; align-self: start; padding: 18px; border: 1px solid #e2ebe8; border-radius: 14px; background: rgba(255,255,255,.88); box-shadow: 0 8px 24px rgba(44,120,107,.045); }
.filters__heading, .feed__topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.filters h2, .feed h2 { margin: 0; letter-spacing: -.026em; }
.filters h2 { font-size: 16px; }
.filters fieldset { padding: 0 0 18px; margin: 20px 0 0; border: 0; border-bottom: 1px solid var(--line); }
.filters legend, .control-label { display: block; margin-bottom: 9px; color: #555865; font-size: 13px; font-weight: 700; }
.control-label { margin-top: 17px; }
.filters select, .filters input, .filter-modal-form select, .filter-modal-form input, .sort-control select { width: 100%; min-height: 44px; padding: 0 11px; border: 1px solid #dedfe7; border-radius: 8px; outline: 0; color: #4c4f5b; background: #fff; }
.filters select:focus, .filters input:focus, .filter-modal-form select:focus, .filter-modal-form input:focus, .sort-control select:focus, .price-control:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,2,205,.1); }
.radius-filter__choices { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.radius-filter button { padding: 0 3px; border: 1px solid #dedfe7; border-radius: 8px; color: #5d606d; background: #fff; font-size: 11px; font-weight: 700; }
.radius-filter button[aria-pressed="true"] { border-color: var(--brand); color: var(--brand); background: var(--brand-wash); }
.price-control { display: flex; min-height: 44px; overflow: hidden; border: 1px solid #dedfe7; border-radius: 8px; background: #fff; }
.price-control input { min-height: 42px; border: 0; }
.price-control span { display: grid; width: 42px; place-items: center; border-left: 1px solid var(--line); color: #7b7e87; font-size: 14px; }
.date-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }
.date-range label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; }
.advanced-filters { margin-top: 19px; }
.advanced-filters summary { min-height: 44px; color: var(--mint); font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.advanced-filters summary::after { float: right; content: "+"; font-size: 20px; line-height: .8; }
.advanced-filters[open] summary::after { content: "−"; }
.filters .dimensions-filter, .filter-modal-form .dimensions-filter { padding: 0; margin: 17px 0 0; border: 0; }
.dimensions-filter legend { margin: 0 0 9px; color: #555865; font-size: 13px; font-weight: 700; }
.dimensions-filter__inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dimensions-filter__inputs label { display: grid; min-width: 0; grid-template-columns: 23px minmax(0, 1fr); align-items: center; overflow: hidden; border: 1px solid #dedfe7; border-radius: 8px; color: #777a86; background: #fff; font-size: 11px; font-weight: 700; }
.dimensions-filter__inputs label > span { display: grid; min-height: 42px; place-items: center; border-right: 1px solid var(--line); color: #777a86; }
.dimensions-filter__inputs label:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,2,205,.1); }
.dimensions-filter__inputs input, .filter-modal-form .dimensions-filter__inputs input { min-width: 0; min-height: 42px; padding: 0 4px; border: 0; border-radius: 0; box-shadow: none; }
.dimensions-filter__inputs input:focus { box-shadow: none; }
.check { display: flex; min-height: 44px; align-items: center; gap: 9px; color: #555865; font-size: 14px; cursor: pointer; }
.check input { display: grid; flex: 0 0 20px; width: 20px; min-height: 20px; margin: 0; padding: 0; place-content: center; appearance: none; border: 1px solid #c8cad3; border-radius: 5px; }
.check input::after { width: 8px; height: 4px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; content: ""; opacity: 0; transform: rotate(-45deg) translateY(-1px); }
.check input:checked { border-color: var(--brand); background: var(--brand); }
.check input:checked::after { opacity: 1; }
.filters .button { width: 100%; margin-top: 21px; }

.feed { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 3px 10px rgba(35,34,47,.025); }
.feed__topline { min-height: 88px; padding: 17px 24px; border-bottom: 1px solid var(--line); }
.feed h2 { font-size: 21px; }
.feed__topline p { margin: 5px 0 0; color: #666976; font-size: 13px; }
.feed__actions { display: flex; align-items: center; gap: 9px; }
.save-search { white-space: nowrap; }
.filter-trigger { display: inline-grid; width: 44px; padding: 0; border: 0; border-radius: 9px; place-items: center; color: #555964; background: transparent; }
.filter-trigger:hover, .filter-trigger[aria-expanded="true"] { color: var(--brand); background: var(--brand-wash); }
.sort-control { display: flex; align-items: center; gap: 7px; color: #858894; font-size: 12px; white-space: nowrap; }
.sort-control select { width: 154px; min-height: 44px; font-size: 16px; }

/* The full filter panel is already visible alongside the feed on desktop. */
@media (min-width: 821px) {
  .feed-filter-trigger { display: none; }
}

.notice, .connection-notice { padding: 11px 24px; border-bottom: 1px solid #eeeef5; color: #696c77; background: #fcfbff; font-size: 12px; line-height: 1.45; }
.notice p { margin: 0; }
.connection-notice { color: #8b311d; border-bottom-color: #f2d5cf; background: #fff7f5; }
.connection-notice button { min-height: 44px; padding: 0 4px; border: 0; color: currentColor; background: transparent; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.applied-filters { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 24px; border-bottom: 1px solid var(--line); background: #fff; }
.applied-filters__label { display: inline-flex; min-height: 32px; align-items: center; color: #777a86; font-size: 12px; }
.filter-chip, .clear-chips { min-height: 44px; padding: 0 10px; border: 1px solid #dcd8ff; border-radius: 999px; color: #4832bf; background: #f6f4ff; font-size: 12px; font-weight: 700; }
.clear-chips { border-color: transparent; color: #686b76; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.task-list { background: #fff; }
.task-card { display: grid; grid-template-columns: 58px minmax(0,1fr) 220px; gap: 17px; padding: 23px 24px; border-bottom: 1px solid var(--line); transition: background .16s ease; }
.task-card:last-child { border-bottom: 0; }
.task-card:hover { background: #fcfbff; }
.task-card--closed { background: #fafafa; }
.task-card--closed .task-title, .task-card--closed .task-price { color: #767985; }
.task-icon { width: 56px; height: 56px; border-radius: 12px; background-color: #f6f5ff; background-image: url("/assets/ai-icons/truck.png"); background-repeat: no-repeat; background-position: center; background-size: 92%; }
.task-icon--truck { background-image: url("/assets/ai-icons/truck.png"); }
.task-icon--van { background-color: var(--mint-wash); background-image: url("/assets/ai-icons/box.png"); }
.task-icon--crane { background-color: #fdf0e8; background-image: url("/assets/ai-icons/route.png"); }
.task-main { min-width: 0; }
.task-title { display: block; min-height: 44px; padding: 0; border: 0; color: var(--mint); background: transparent; font-size: 17px; font-weight: 700; letter-spacing: -.022em; line-height: 1.28; text-align: left; }
.task-title:hover { color: var(--brand); }
.task-route, .task-when { margin: 7px 0 0; overflow-wrap: anywhere; color: #6f727c; font-size: 14px; line-height: 1.48; }
.task-when { margin-top: 2px; color: #888b94; font-size: 13px; }
.task-transport { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 9px 0 0; color: #747783; font-size: 12px; line-height: 1.45; }
.task-transport span { color: #666976; }
.task-transport strong { color: var(--mint); font-weight: 700; }
.badge { display: inline-flex; margin-top: 10px; color: #636772; font-size: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tag-row span { padding: 4px 7px; border-radius: 999px; color: #5d5f69; background: #f2f2f6; font-size: 11px; font-weight: 700; }
.task-card--closed .tag-row span:last-child { color: #8b311d; background: #fff0eb; }
.task-side { display: flex; flex-direction: column; align-items: flex-end; min-width: 0; text-align: right; }
.task-price { margin: -2px 0 9px; color: #2d2f39; font-size: 20px; letter-spacing: -.04em; white-space: nowrap; }
.task-customer { color: #777a85; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.favorite { display: inline-flex; min-height: 44px; align-items: center; justify-content: flex-end; gap: 6px; padding: 0; border: 0; color: var(--apricot); background: transparent; font-size: 12px; font-weight: 700; }
.favorite svg, .favorite-action svg { display: none; }
.favorite .ui-icon, .favorite-action .ui-icon { width: 18px; height: 18px; object-fit: contain; }
.favorite:hover { color: var(--brand); }
.favorite.is-saved { padding: 0 10px; border-radius: 8px; color: var(--brand); background: var(--brand-wash); }
.favorite.is-saved svg, .favorite-action.is-saved svg { fill: currentColor; stroke: currentColor; }
.favorite-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.favorite-action.is-saved { color: var(--brand); border-color: rgba(37, 2, 205, .24); background: var(--brand-wash); }
.task-responses { margin-top: auto; color: #686b76; font-size: 12px; }
.task-card__actions { display: grid; grid-template-columns: 1fr; gap: 7px; margin-top: 11px; }
.task-card__actions .button { min-width: 0; padding: 0 8px; border-radius: 8px; font-size: 11px; white-space: nowrap; }
.task-card--skeleton { min-height: 145px; pointer-events: none; }
.task-card--skeleton > span, .task-card--skeleton i { display: block; border-radius: 8px; background: linear-gradient(90deg, #f1f1f5 25%, #fafafd 38%, #f1f1f5 50%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.task-card--skeleton > span { width: 56px; height: 56px; }
.task-card--skeleton div { display: grid; align-content: start; gap: 11px; }
.task-card--skeleton i { width: 86%; height: 15px; }
.task-card--skeleton i:nth-child(2) { width: 66%; height: 12px; }
.task-card--skeleton i:nth-child(3) { width: 42%; height: 12px; }
@keyframes shimmer { to { background-position-x: -200%; } }
.empty-state { max-width: 650px; padding: 54px 24px; margin: 0 auto; text-align: center; }
.empty-state h3 { margin: 0; font-size: 20px; letter-spacing: -.03em; }
.empty-state p:not(.eyebrow) { max-width: 450px; margin: 10px auto 0; color: var(--muted); line-height: 1.55; }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 24px; }

.site-footer { color: rgba(255,255,255,.82); background: #1802c4; }
.site-footer__inner { display: grid; grid-template-columns: minmax(210px,1.25fr) minmax(120px,.65fr) minmax(180px,.95fr) minmax(170px,.9fr); gap: clamp(24px,3.5vw,42px); padding-top: 46px; padding-bottom: 40px; }
.site-footer__brand--text { color: #fff; font-size: 28px; }
.site-footer__brand--image { display: block; width: 134px; height: 31px; overflow: hidden; }
.site-footer__logo { display: block; width: 134px; height: 31px; background: #1802c4 url("/assets/nadomogu-logo-white-on-blue.svg") center / 147px 147px no-repeat; }
.site-footer__intro p, .site-footer__apps p, .site-footer__notice > p:not(.site-footer__heading) { max-width: 385px; margin: 14px 0 0; font-size: 13px; line-height: 1.6; }
.footer-details { min-width: 0; }
.footer-details summary, .site-footer__heading { margin: 4px 0 15px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-details summary { display: flex; min-height: 44px; align-items: center; cursor: default; list-style: none; }
.footer-details summary::-webkit-details-marker { display: none; }
.site-footer__nav { display: grid; gap: 11px; font-size: 13px; }
.site-footer__nav a, .site-footer__back { width: fit-content; transition: color .15s ease; }
.site-footer__nav a:hover, .site-footer__nav a:focus-visible, .site-footer__back:hover, .site-footer__back:focus-visible { color: #abf0df; }
.site-footer__back { display: inline-flex; gap: 8px; margin-top: 18px; color: #fff; font-size: 13px; font-weight: 700; }
.site-footer__back span { color: #abf0df; }
.site-footer__stores { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 14px; }
.store-button { display: grid; min-height: 58px; padding: 9px 11px 10px; border: 1px solid rgba(255,255,255,.31); border-radius: 9px; color: #fff; background: rgba(7,0,72,.22); font: inherit; line-height: 1.1; text-align: left; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.store-button:hover { border-color: #abf0df; background: rgba(7,0,72,.42); transform: translateY(-1px); }
.store-button:focus-visible { outline: 3px solid rgba(171,240,223,.56); outline-offset: 2px; }
.store-button__eyebrow { color: rgba(255,255,255,.68); font-size: 10px; font-weight: 700; }
.store-button__name { margin-top: 3px; font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: max(18px, calc(18px + env(safe-area-inset-bottom))); color: rgba(255,255,255,.52); font-size: 12px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer__legal a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.22); text-underline-offset: 3px; }
.site-footer__legal a:hover, .site-footer__legal a:focus-visible { color: #abf0df; text-decoration-color: currentColor; }

.modal-backdrop { position: fixed; inset: 0; z-index: 40; display: grid; padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom)); place-items: center; background: rgba(19,15,43,.47); }
.modal { position: relative; width: min(520px,100%); max-height: min(780px, calc(100vh - 40px)); overflow: auto; padding: 32px; border-radius: 16px; background: #fff; box-shadow: 0 22px 70px rgba(16,12,38,.28); }
.modal h2 { margin: 0; font-size: 26px; letter-spacing: -.045em; }
.modal p:not(.eyebrow) { margin: 14px 0 24px; color: #676a72; line-height: 1.5; }
.modal__close { position: absolute; top: 10px; right: 11px; display: grid; width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; place-items: center; color: #777a82; background: transparent; font-size: 27px; line-height: 1; }
.modal__close:hover { color: var(--brand); background: #f1f1f5; }
.modal--filters { width: min(480px,100%); }
.modal__sticky-heading { position: sticky; top: -32px; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; margin: -32px -32px 0; padding: 30px 32px 18px; background: #fff; }
.modal__sticky-heading .modal__close { position: static; flex: 0 0 44px; }
.filter-modal-form { margin-top: 16px; }
.filter-modal-form .advanced-filters { border-top: 1px solid var(--line); }
.filter-modal-form__actions, .modal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.filter-modal-form__actions { justify-content: space-between; }
.filter-modal-form__actions .button { min-width: 160px; }
.modal__actions .button { flex: 1 1 180px; }
.modal--auth { width: min(480px,100%); }
.modal--auth > p:not(.eyebrow) { margin-bottom: 18px; }
.auth-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 0; margin: 0 0 22px; list-style: none; counter-reset: auth-step; }
.auth-progress li { position: relative; display: grid; gap: 5px; color: #8a8d98; font-size: 11px; font-weight: 700; text-align: center; }
.auth-progress li::before { display: grid; width: 25px; height: 25px; margin: 0 auto; border: 1px solid #d7d8e1; border-radius: 50%; place-items: center; background: #fff; content: counter(auth-step); counter-increment: auth-step; }
.auth-progress li:not(:last-child)::after { position: absolute; top: 12px; left: calc(50% + 18px); width: calc(100% - 34px); height: 1px; background: #dcdee6; content: ""; }
.auth-progress li.is-active, .auth-progress li.is-complete { color: var(--brand); }
.auth-progress li.is-active::before, .auth-progress li.is-complete::before { border-color: var(--brand); color: #fff; background: var(--brand); }
.auth-progress li.is-complete::before { content: "✓"; }
.form-label { display: block; margin: 0 0 8px; color: #515460; font-size: 13px; font-weight: 700; }
.form-input { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #d9dbe5; border-radius: 9px; outline: 0; color: var(--ink); background: #fff; }
.form-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,2,205,.12); }
.form-hint, .email-status { margin: 9px 0 0; color: #727581; font-size: 12px; line-height: 1.5; }
.email-status { color: #b44a2f; }
.auth-continue { width: 100%; margin-top: 19px; }
.auth-phone-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin: 0 0 17px !important; padding: 11px 12px; border-radius: 8px; color: #575a66 !important; background: var(--hero); font-size: 13px; }
.auth-phone-summary strong { color: var(--ink); }
.link-button { min-height: 24px; padding: 0; border: 0; color: var(--brand); background: transparent; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link-button:hover, .link-button:focus-visible { color: var(--brand-strong); }
.code-inputs { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 7px; }
.code-inputs input { min-width: 0; min-height: 48px; padding: 0; border: 1px solid #d9dbe5; border-radius: 8px; outline: 0; color: var(--ink); background: #fff; font-size: 20px; font-weight: 700; text-align: center; }
.code-inputs input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,2,205,.12); }
.task-detail-route { font-size: 16px; }
.task-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 22px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--line); }
.task-detail-grid div { min-width: 0; padding: 14px; background: #fff; }
.task-detail-grid dt { color: var(--muted); font-size: 12px; }
.task-detail-grid dd { margin: 5px 0 0; overflow-wrap: anywhere; color: #32343e; font-size: 14px; font-weight: 700; line-height: 1.4; }
.task-detail-status { padding: 12px 14px; border-radius: 9px; color: #334039; background: var(--mint-wash); font-size: 14px; line-height: 1.45; }
.task-detail-status.is-closed { color: #8b311d; background: #fff0eb; }
.toast { position: fixed; right: 20px; bottom: max(20px, calc(20px + env(safe-area-inset-bottom))); z-index: 60; max-width: calc(100% - 40px); padding: 12px 15px; border-radius: 9px; box-shadow: var(--shadow); color: #fff; background: #292b31; font-size: 13px; }
.has-modal .toast { display: none !important; }

.legal-page { min-height: 100vh; background: var(--hero); }
.legal-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); }
.legal-header__inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; }
.legal-brand { color: var(--brand); font-size: 22px; font-weight: 700; letter-spacing: -.06em; }
.legal-brand--image { display: block; line-height: 0; }
.legal-brand__logo { display: block; width: 114px; height: auto; }
.legal-back { color: var(--mint); font-size: 14px; font-weight: 700; }
.legal-back:hover, .legal-back:focus-visible { color: var(--brand); }
.legal-doc { max-width: 820px; margin: 0 auto; padding-top: 66px; padding-bottom: 76px; }
.legal-doc__meta { margin: 0 0 11px; color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.legal-doc h1 { max-width: 660px; margin: 0; color: #242631; font-size: clamp(34px,5vw,50px); letter-spacing: -.055em; line-height: 1.02; }
.legal-doc__lead { max-width: 680px; margin: 22px 0 33px; color: #626672; font-size: 17px; line-height: 1.58; }
.legal-card { padding: clamp(24px,5vw,42px); border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.legal-card h2 { margin: 34px 0 12px; color: #2b2e39; font-size: 20px; letter-spacing: -.025em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: #5d606b; font-size: 15px; line-height: 1.65; }
.legal-card p { margin: 0; }
.legal-card p + p { margin-top: 14px; }
.legal-card ul { display: grid; gap: 9px; margin: 13px 0 0; padding-left: 21px; }
.legal-doc__updated { margin: 24px 0 0; color: #7a7d88; font-size: 13px; }

@media (max-width: 920px) and (min-width: 821px) {
  .site-footer__stores { grid-template-columns: 1fr; }
  .workspace { grid-template-columns: 235px minmax(0,1fr); gap: 25px; }
  .save-search { display: none; }
}
@media (max-width: 820px) {
  .shell { width: min(100% - 32px,680px); }
  .topbar { height: max(64px, calc(64px + env(safe-area-inset-top))); }
  .topbar__inner { width: calc(100% - 32px); height: 64px; gap: 12px; }
  .main-nav, .topbar__actions .text-action, .topbar__actions .button--small { display: none !important; }
  .menu-button { display: inline-flex; }
  .mobile-menu { top: max(64px, calc(64px + env(safe-area-inset-top))); }
  .hero { min-height: 454px; }
  .hero__art { right: -155px; width: 710px; opacity: .65; }
  .hero__inner { display: block; padding-top: 48px; padding-bottom: 30px; }
  .hero h1 { max-width: 500px; font-size: clamp(35px,7vw,51px); }
  .workspace { display: block; padding-top: 22px; padding-bottom: 34px; }
  .filters { display: none; }
  .save-search { display: none; }
  .site-footer__inner { grid-template-columns: minmax(0,1fr) minmax(190px,.78fr); gap: 34px 38px; padding-top: 39px; padding-bottom: 36px; }
  .site-footer__intro { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  html, body { overflow-x: hidden; }
  .shell { width: calc(100% - 28px); }
  .brand--text { font-size: 24px; }
  .brand__logo { width: 120px; }
  .hero { min-height: 483px; }
  .hero__art { right: -75px; width: 680px; opacity: .28; -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, rgba(0,0,0,.28) 53%, #000 78%); mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, rgba(0,0,0,.28) 53%, #000 78%); }
  .hero__inner { padding-top: 40px; }
  .hero h1 { max-width: 340px; font-size: 38px; }
  .hero__lead { max-width: 330px; margin-top: 15px; font-size: 15px; }
  .search-form { display: grid; grid-template-columns: minmax(0,1fr) 76px; min-height: 126px; margin-top: 26px; padding: 6px; border-radius: 12px; }
  .route-fields { grid-template-columns: 1fr; gap: 0; }
  .route-arrow { position: relative; z-index: 1; width: 36px; height: 16px; margin: -8px 0 -8px 11px; border-radius: 50%; color: var(--brand); background: #fff; font-size: 15px; }
  .search-field { min-height: 52px; padding: 7px 10px 5px; }
  .search-field:first-child { border-bottom: 1px solid var(--line); }
  .search-form .button { min-width: 0; margin-left: 5px; padding: 0 6px; font-size: 13px; }
  .hero__meta { margin-top: 15px; }
  .hero__meta p { font-size: 13px; }
  .feed { border-radius: 11px; }
  .feed__topline { min-height: 70px; padding: 13px 12px 13px 14px; }
  .feed h2 { font-size: 17px; white-space: nowrap; }
  .feed__topline p { display: none; }
  .feed__actions { gap: 4px; }
  .filter-trigger { width: 44px; }
  .sort-control { width: 108px; }
  .sort-control__label { display: none; }
  .sort-control select { width: 108px; min-height: 44px; padding: 0 7px; border-radius: 9px; color: #343640; font-size: 16px; font-weight: 700; }
  .notice, .connection-notice { padding: 10px 14px; font-size: 11px; }
  .applied-filters { padding: 10px 14px; }
  .task-card { grid-template-columns: 42px minmax(0,1fr); gap: 11px; padding: 17px 14px 18px; }
  .task-icon { width: 42px; height: 42px; border-radius: 10px; }
  .task-title { font-size: 16px; }
  .task-route, .task-when { font-size: 12px; }
  .task-when { font-size: 11px; }
  .task-transport { gap: 3px 6px; margin-top: 8px; font-size: 11px; }
  .badge { margin-top: 8px; font-size: 11px; }
  .tag-row span { font-size: 10px; }
  .task-side { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; padding-top: 10px; text-align: left; }
  .task-price { order: 2; margin: 0; font-size: 17px; }
  .task-customer { font-size: 11px; }
  .favorite { order: 3; min-height: 44px; font-size: 11px; }
  .favorite.is-saved { padding: 0 8px; }
  .task-responses { order: 4; width: 100%; margin: 1px 0 0; font-size: 11px; }
  .task-card__actions { grid-column: 1 / -1; grid-template-columns: 1fr; width: 100%; margin-top: 8px; }
  .task-card__actions .button { min-height: 42px; font-size: 11px; }
  .task-card--skeleton { min-height: 150px; }
  .empty-state { padding: 38px 16px; }
  .empty-state h3 { font-size: 19px; }
  .empty-state__actions { display: grid; }
  .empty-state__actions .button { width: 100%; }
  .site-footer__inner { display: block; padding: 18px 0 20px; }
  .site-footer__inner > * + * { margin-top: 12px; }
  .site-footer__intro p, .site-footer__apps p, .site-footer__notice > p:not(.site-footer__heading) { margin-top: 10px; font-size: 13px; }
  .site-footer__brand--text { font-size: 26px; }
  .footer-details { border-top: 1px solid rgba(255,255,255,.18); }
  .footer-details summary { position: relative; min-height: 44px; display: flex; align-items: center; margin: 0; cursor: pointer; }
  .footer-details summary::after { position: absolute; right: 2px; content: "+"; color: #abf0df; font-size: 18px; }
  .footer-details[open] summary::after { content: "−"; }
  .footer-details .site-footer__nav, .footer-details .site-footer__stores, .footer-details > p { margin-bottom: 12px; }
  .site-footer__stores { max-width: 330px; }
  .site-footer__notice { padding-top: 2px; }
  .site-footer__heading { margin: 6px 0 8px; }
  .site-footer__back { min-height: 44px; margin-top: 8px; }
  .site-footer__bottom-inner { align-items: flex-start; flex-direction: column; gap: 7px; padding-top: 13px; }
  .modal-backdrop { padding: 0; place-items: end stretch; }
  .modal { width: 100%; max-height: min(86vh, 760px); padding: 26px 20px max(22px, calc(22px + env(safe-area-inset-bottom))); border-radius: 18px 18px 0 0; }
  .modal--filters { max-height: min(88vh, 760px); }
  .modal__sticky-heading { top: -26px; margin: -26px -20px 0; padding: 20px 20px 14px; }
  .modal h2 { font-size: 23px; }
  .code-inputs { gap: 5px; }
  .filter-modal-form__actions { position: sticky; bottom: calc(-22px - env(safe-area-inset-bottom)); z-index: 2; margin: 22px -20px -22px; padding: 12px 20px max(12px, calc(12px + env(safe-area-inset-bottom))); background: #fff; box-shadow: 0 -8px 16px rgba(39,37,53,.07); }
  .filter-modal-form__actions .button { min-width: 152px; }
  .task-detail-grid { grid-template-columns: 1fr; }
}

/* Targeted adaptive refinements: compact controls keep the feed legible and
   preserve a familiar, purposeful menu affordance. */
.menu-button__glyph { position: relative; display: grid; width: 26px; height: 26px; place-content: center; gap: 4px; }
.menu-button__glyph::before { position: absolute; inset: 1px; border: 1px solid #e2e0f1; border-radius: 9px; background: linear-gradient(145deg, #fff, #f6f4ff); box-shadow: 0 3px 8px rgba(37,2,205,.08); content: ""; }
.menu-button__glyph span { position: relative; z-index: 1; display: block; width: 13px; height: 2px; border-radius: 999px; background: var(--brand); transition: transform .16s ease, opacity .16s ease; }
.menu-button[aria-expanded="true"] .menu-button__glyph span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__glyph span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-button__glyph span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .search-form { width: min(100%, 640px); }
}

@media (max-width: 560px) {
  .search-form { grid-template-columns: minmax(0,1fr); grid-template-rows: auto 46px; min-height: 0; gap: 6px; padding: 6px; }
  .search-form .button { width: 100%; min-width: 0; min-height: 46px; margin: 0; padding: 0 12px; font-size: 13px; }
  .search-field { min-height: 49px; }
  .route-arrow { width: 30px; margin-left: 9px; }
  .sort-control { width: 116px; }
  .sort-control select { width: 116px; padding-right: 4px; font-size: 12px; font-weight: 700; }
  .feed__actions { gap: 2px; }
  .favorite.is-saved { padding: 0 9px; }
}

@media (max-width: 360px) {
  .topbar__actions .icon-action { display: none; }
  .account-link > span:last-child { display: none; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 24px); }
  .topbar__inner { width: calc(100% - 24px); }
  .brand--text { font-size: 22px; }
  .brand__logo { width: 114px; }
  .sort-control, .sort-control select { width: 108px; }
  .feed__actions { gap: 0; }
  .filter-trigger { width: 44px; }
}

/* Profi.ru-inspired refinement: restrained color, Manrope hierarchy and a
   roomier shape scale, adapted to the existing nadomogu product structure. */
::selection { color: var(--ink); background: #ccecff; }
input, select, textarea { caret-color: var(--accent); }

.button {
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: -.012em;
}
.button--primary {
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(159, 118, 0, .18);
}
.button--primary:hover:not(:disabled) { background: var(--accent-strong); }
.button--outline {
  color: var(--ink);
  border-color: #d8d9e3;
  background: #fff;
}
.button--outline:hover:not(:disabled) {
  color: var(--ink);
  border-color: #bfc1cd;
  background: #f5f5f8;
}
.button--small { border-radius: 13px; }
.button:focus-visible, .text-action:focus-visible, .task-title:focus-visible, .menu-button:focus-visible, .filter-trigger:focus-visible, .favorite:focus-visible, .radius-filter button:focus-visible, .filter-chip:focus-visible, summary:focus-visible {
  outline-color: rgba(159, 118, 0, .34);
}

.topbar { border-bottom-color: #e6e7ed; box-shadow: 0 1px 0 rgba(25, 25, 35, .02); }
.main-nav { color: #5f616d; 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); }
.account-link { color: var(--ink); font-weight: 500; }
.account-link__avatar { border-radius: 13px; font-weight: 700; }
.menu-button__glyph::before { border-radius: 12px; background: #f4f4f8; box-shadow: none; }

.hero {
  min-height: 446px;
  border-bottom: 0;
  background: var(--hero);
}
.hero__art {
  top: 0;
  right: max(0px, calc((100vw - 1440px) / 2));
  width: min(66vw, 940px);
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 1;
}
.hero__inner { padding-top: 66px; padding-bottom: 42px; }
.hero h1 {
  max-width: 610px;
  color: var(--ink);
  font-size: clamp(42px, 4.4vw, 62px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.01;
  text-wrap: balance;
}
.hero__lead { color: #555864; font-size: 17px; }
.search-form {
  gap: 10px;
  min-height: 70px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.route-fields {
  overflow: hidden;
  border: 1px solid rgba(65, 70, 92, .06);
  border-radius: 17px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 26px rgba(45, 59, 77, .08);
}
.search-field { padding: 10px 16px 7px; border-radius: 13px; }
.search-field:focus-within { box-shadow: inset 0 0 0 2px rgba(47, 32, 200, .18); }
.search-field > span { color: #676a77; font-weight: 500; }
.search-field input { font-weight: 500; }
.search-field input::placeholder { color: #676a77; }
.route-arrow { color: #a2a5b1; }
.search-form .button { min-width: 118px; margin: 0; border-radius: 17px; font-size: 15px; }
.hero__meta p { color: #555864; }
.hero__meta strong { color: var(--ink); font-weight: 700; }

.workspace { gap: 32px; padding-top: 42px; }
.filters { border-color: var(--line); border-radius: 18px; box-shadow: none; }
.filters select, .filters input, .filter-modal-form select, .filter-modal-form input, .sort-control select,
.price-control, .radius-filter button, .dimensions-filter__inputs label { border-radius: 12px; }
.advanced-filters summary { color: var(--ink); }
.feed { border-radius: 20px; box-shadow: none; }
.feed h2, .filters h2 { color: var(--ink); font-weight: 700; }
.feed__topline { min-height: 92px; }
.filter-trigger { border-radius: 12px; }
.task-card:hover { background: #fafcff; }
.task-icon { border-radius: 14px; }
.task-title { color: var(--ink); font-weight: 700; letter-spacing: -.018em; }
.task-title:hover { color: var(--brand); }
.task-transport strong { color: #30313a; font-weight: 700; }
.tag-row span { border-radius: 8px; font-weight: 500; }
.favorite { color: #666976; font-weight: 500; }
.favorite:hover { color: #6e5600; }
.favorite.is-saved {
  border-radius: 11px;
  color: #604b00;
  background: var(--accent-wash);
}
.favorite-action.is-saved {
  color: #604b00;
  border-color: #ead58d;
  background: var(--accent-wash);
}
.task-card__actions .button { border-radius: 12px; }

.site-footer { color: #60626d; border-top: 1px solid #e1e2e9; background: #f3f4f8; }
.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(--brand); }
.site-footer__back { color: var(--ink); }
.site-footer__back span { color: var(--brand); }
.site-footer__stores { grid-template-columns: 1fr; max-width: 230px; }
.store-button {
  display: grid;
  min-height: 66px;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 8px 13px 8px 8px;
  border-color: #d7d8df;
  border-radius: 15px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 5px 14px rgba(27, 28, 38, .05);
}
.store-button:hover { border-color: #bfc1cb; background: #fff; }
.store-button:focus-visible { outline-color: rgba(159, 118, 0, .34); }
.store-button__icon {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-image: url("/assets/platform/store-icons-sprite.jpg");
  background-repeat: no-repeat;
  background-size: 110px 62px;
}
.store-button__icon--google { background-position: -8px -13px; }
.store-button__icon--apple { background-position: -58px -13px; }
.store-button__copy { display: grid; gap: 3px; }
.store-button__eyebrow { color: #7a7c87; font-size: 10px; font-weight: 500; }
.store-button__name { margin: 0; font-size: 14px; font-weight: 700; }
.site-footer__bottom { border-top-color: #dfe0e6; }
.site-footer__bottom-inner { color: #797b86; }
.site-footer__legal a { text-decoration-color: #c7c8d0; }

.modal { border-radius: 20px; }
.modal--filters { border-radius: 22px; }
.form-input, .code-inputs input, .task-detail-status, .toast { border-radius: 12px; }
.task-detail-grid, .legal-card { border-radius: 16px; }

@media (max-width: 820px) {
  .hero { min-height: 500px; }
  .hero__art { right: -220px; width: 880px; height: 100%; opacity: .62; }
  .hero__inner { padding-top: 52px; }
  .site-footer__stores { max-width: 260px; }
}

@media (max-width: 560px) {
  .hero { min-height: 674px; }
  .hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(238,247,255,.96) 0 42%, rgba(238,247,255,.34) 60%, rgba(238,247,255,0) 78%);
    content: "";
  }
  .hero__art {
    top: 400px;
    right: 35px;
    width: 470px;
    height: auto;
    opacity: .94;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__inner { padding-top: 43px; }
  .hero h1 { max-width: 350px; font-size: 40px; }
  .hero__lead { max-width: 335px; font-size: 15px; }
  .search-form { gap: 8px; margin-top: 28px; }
  .route-fields { border-radius: 16px; }
  .search-form .button { border-radius: 14px; }
  .feed { border-radius: 17px; }
  .sort-control select { border-radius: 12px; }
  .task-icon { border-radius: 13px; }
  .site-footer__inner { padding-top: 28px; }
  .footer-details { border-top-color: #dfe0e7; }
  .footer-details summary::after { color: var(--brand); }
  .site-footer__stores { max-width: 100%; }
  .store-button { min-height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* 2026-09-09 — primary reference system.
   The supplied cyan route-search screen is the visual authority for the whole
   route family: white structure, near-black type, quiet fields and one cyan
   action voice. Product states keep their semantic colors. */
:root {
  --brand: #2b20c9;
  --brand-strong: #20179a;
  --brand-wash: #f0efff;
  --accent: #08a7d7;
  --accent-strong: #078ab3;
  --accent-wash: #e7f8fd;
  --accent-ink: #ffffff;
  --mint: #187665;
  --mint-wash: #eaf8f3;
  --ink: #101114;
  --muted: #696c78;
  --line: #e8e9ef;
  --page: #f7f8fb;
  --hero: #ffffff;
  --shadow: 0 18px 44px rgba(24, 28, 38, .08);
  background: var(--page);
}

::selection { color: var(--ink); background: #bdeffc; }
html { scrollbar-color: #b7bac5 #f1f2f5; }
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: #f1f2f5; }
::-webkit-scrollbar-thumb { border: 3px solid #f1f2f5; border-radius: 999px; background: #b7bac5; }

.shell { width: min(1140px, calc(100% - 48px)); }
.button {
  min-height: 48px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: -.012em;
  box-shadow: none;
}
.button:hover:not(:disabled) { transform: none; }
.button--primary { color: var(--accent-ink); background: var(--accent); box-shadow: 0 10px 24px rgba(8, 167, 215, .2); }
.button--primary:hover:not(:disabled) { background: var(--accent-strong); }
.button--primary:active:not(:disabled) { transform: translateY(1px); }
.button--outline { color: var(--ink); border-color: #d8dae2; background: #fff; }
.button--outline:hover:not(:disabled) { color: var(--ink); border-color: #bfc2cc; background: #f7f8fa; }
.button--small { border-radius: 12px; }
.button:focus-visible,
.text-action:focus-visible,
.task-title:focus-visible,
.menu-button:focus-visible,
.filter-trigger:focus-visible,
.favorite:focus-visible,
.radius-filter button:focus-visible,
.filter-chip:focus-visible,
summary:focus-visible { outline: 3px solid rgba(8, 167, 215, .32); outline-offset: 3px; }
.text-action { min-width: 44px; color: #555863; 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: #ececf1;
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 rgba(18, 20, 28, .02);
  backdrop-filter: blur(14px);
}
.topbar__inner {
  width: min(1320px, calc(100% - 48px));
  height: 80px;
  gap: clamp(28px, 4vw, 62px);
}
.brand__logo { width: 138px; }
.brand--image, .site-footer__brand--image { min-height: 44px; align-items: center; }
.main-nav { gap: clamp(22px, 2.5vw, 34px); color: #626572; 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: 3px; background: var(--accent); }
.topbar__guest-actions { gap: 12px; }
.topbar__guest-actions .button--small { min-height: 46px; padding-inline: 20px; color: #fff; background: var(--accent); }
.topbar__guest-actions .button--small:hover { background: var(--accent-strong); }
.account-link { color: var(--ink); font-weight: 600; }
.account-link__avatar { width: 36px; height: 36px; border-radius: 50%; color: #575a68; background: #f2f1ff; }
.account-exit { color: #686b77; }
.icon-action svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.icon-action::before { display: none; }
.icon-action:hover, .icon-action:focus-visible { color: var(--accent-strong); background: var(--accent-wash); }
.notification-dot { background: #ef2f3c; }
.menu-button__glyph { display: grid; width: 36px; height: 36px; padding: 9px; border: 1px solid #e1e2e8; border-radius: 11px; align-content: center; gap: 4px; background: #f8f8fa; }
.menu-button__glyph span { display: block; width: 16px; height: 1.5px; border-radius: 2px; background: var(--ink); }
.mobile-menu { top: max(80px, calc(80px + env(safe-area-inset-top))); border-bottom-color: var(--line); box-shadow: var(--shadow); }
.mobile-menu a, .mobile-menu button { color: #4d505b; }
.mobile-menu a:hover, .mobile-menu a:focus-visible, .mobile-menu button:hover, .mobile-menu button:focus-visible { color: var(--ink); background: #f5f6f8; }

.hero { min-height: 430px; overflow: visible; border: 0; background: #fff; }
.hero::after, .hero__art { display: none; }
.hero__inner { display: block; padding-top: 55px; padding-bottom: 22px; animation: route-hero-settle .55s cubic-bezier(.16,1,.3,1) both; }
.hero__copy { max-width: 920px; }
.hero h1 {
  max-width: 860px;
  margin: 0;
  color: #07080a;
  font-size: clamp(54px, 5.35vw, 72px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: .98;
  text-wrap: balance;
}
.hero__lead { max-width: 650px; margin-top: 18px; color: #6a6c78; font-size: 18px; line-height: 1.5; }
.search-form {
  display: flex;
  width: 100%;
  min-height: 76px;
  margin-top: 32px;
  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: #f2f3f7;
  box-shadow: none;
  transition: border-color .16s ease, background .16s ease;
}
.route-fields:focus-within { border-color: #cfd3dc; background: #f6f7f9; }
.search-field { padding: 14px 22px 11px; border-radius: 0; }
.search-field:focus-within { box-shadow: inset 0 -3px 0 var(--accent); }
.search-field > span { color: #6d707d; font-size: 12px; font-weight: 500; }
.search-field input { padding-top: 4px; color: var(--ink); font-size: 17px; font-weight: 500; }
.search-field input::placeholder { color: #8a8d99; opacity: 1; }
.route-arrow {
  align-self: center;
  width: 42px;
  height: 42px;
  border: 1px solid #e0e2e8;
  border-radius: 50%;
  color: var(--accent);
  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: 226px; margin-left: 14px; border-radius: 12px; font-size: 17px; }
.hero__meta { display: flex; align-items: center; gap: 14px; margin-top: 12px; color: #6b6e79; font-size: 13px; }
.hero__meta p { margin: 0; color: #5a5d68; font-size: 13px; }
.hero__meta strong { margin-right: 6px; color: var(--ink); font-size: 20px; }
.hero__meta > span { display: inline-flex; align-items: center; gap: 14px; }
.hero__meta > span::before { width: 4px; height: 4px; border-radius: 50%; background: #b4b6be; content: ""; }
.hero__sender-link { display: inline-flex; min-height: 44px; align-items: center; margin-left: auto; color: var(--ink); font-weight: 650; text-decoration-color: #b8bac3; }
.hero__sender-link:hover { color: var(--accent-strong); text-decoration-color: currentColor; }
.hero__sender-link:focus-visible { outline: 3px solid rgba(8,167,215,.32); outline-offset: 3px; }

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

.journey { border-top: 1px solid #ececf1; border-bottom: 1px solid #e4e5eb; background: #fff; }
.journey__inner { display: grid; grid-template-columns: minmax(250px,.62fr) minmax(0,1.5fr); gap: 46px; align-items: start; padding-top: 34px; padding-bottom: 34px; }
.journey h2 { max-width: 350px; margin: 0; color: var(--ink); font-size: clamp(28px,2.5vw,34px); line-height: 1.08; letter-spacing: -.035em; }
.journey__heading p { margin: 11px 0 0; color: #777985; font-size: 13px; }
.journey__details { min-width: 0; }
.journey__steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; padding: 0; margin: 0; list-style: none; counter-reset: journey; }
.journey__steps li { min-width: 0; padding: 0 19px; border-left: 1px solid #e5e6eb; counter-increment: journey; }
.journey__steps li:first-child { border-left: 0; }
.journey__steps li::before { display: block; margin-bottom: 8px; color: #111216; content: "0" counter(journey); font-size: 14px; font-weight: 700; }
.journey__steps strong { display: block; color: var(--ink); font-size: 16px; letter-spacing: -.02em; }
.journey__steps li > span:last-child { display: block; margin-top: 6px; color: #777985; font-size: 12px; line-height: 1.42; }
.journey__signal { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 14px; padding: 0 13px; border: 1px solid #e1e3e8; border-radius: 11px; color: var(--ink); background: #f6f7f9; }
.journey__signal b { font-size: 12px; }
.journey__signal em { color: var(--ink); font-size: 12px; font-style: normal; font-weight: 700; white-space: nowrap; }
.journey__signal--action { color: #fff; border-color: var(--accent); background: var(--accent); }
.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: 64px; padding-bottom: 84px; }
.filters { display: none; }
.feed { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.feed__topline { min-height: 72px; padding: 0 0 22px; 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: #696c76; font-size: 14px; }
.feed__actions { gap: 10px; }
.feed-filter-trigger { display: inline-grid !important; border: 1px solid #dfe1e6; background: #fff; }
.filter-trigger:hover, .filter-trigger[aria-expanded="true"] { color: var(--accent-strong); background: var(--accent-wash); }
.sort-control { color: #696c76; }
.sort-control select { width: 190px; min-height: 48px; border-color: #dfe1e6; 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(8,167,215,.13); }
.notice, .connection-notice, .applied-filters { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; }
.filter-chip { border-color: #b9e9f5; border-radius: 10px; color: #076e8d; background: var(--accent-wash); }
.task-list { display: grid; gap: 10px; background: transparent; }
.task-card { border: 1px solid #e3e4ea; border-radius: 16px; background: #fff; box-shadow: none; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.task-card:last-child { border-bottom: 1px solid #e3e4ea; }
.task-card:hover { border-color: #d2d4dc; background: #fff; box-shadow: 0 14px 34px rgba(28,31,42,.06); transform: translateY(-2px); }
.task-title, .task-transport strong { color: var(--ink); }
.task-title:hover { color: var(--accent-strong); }
.task-response { color: #fff; background: var(--accent); box-shadow: 0 8px 18px rgba(8,167,215,.17); }
.task-response:hover { background: var(--accent-strong); }
.favorite { color: #747783; }
.favorite:hover, .favorite.is-saved { color: var(--accent-strong); }
.favorite.is-saved { background: var(--accent-wash); }

.site-footer { color: #60636d; border-top: 1px solid #e3e4e9; background: #f4f5f7; }
.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-strong); }
.site-footer__back { color: var(--ink); }
.site-footer__back span { color: var(--accent); }
.store-button { color: var(--ink); border-color: #dfe1e6; background: #fff; }
.store-button:hover { border-color: #bfc2cc; background: #fafafa; }
.store-button:focus-visible { outline-color: rgba(8,167,215,.32); }
.store-button__eyebrow { color: #737681; }
.site-footer__bottom { border-top-color: #dfe1e6; }
.site-footer__bottom-inner { color: #747783; }
.site-footer__legal a { text-decoration-color: #c5c7cf; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-button { display: inline-flex; }
  .hero { min-height: 448px; }
  .hero h1 { font-size: clamp(50px,6.8vw,64px); }
  .journey__inner { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 820px) {
  .topbar, .topbar__inner { height: 72px; }
  .topbar { height: max(72px, calc(72px + env(safe-area-inset-top))); }
  .mobile-menu { top: max(72px, calc(72px + env(safe-area-inset-top))); }
  .hero { min-height: 0; }
  .hero__inner { padding-top: 48px; padding-bottom: 32px; }
  .hero h1 { max-width: 700px; }
  .journey__inner { padding-top: 34px; padding-bottom: 34px; }
}

@media (max-width: 640px) {
  .shell, .topbar__inner { width: calc(100% - 32px); }
  .brand__logo { width: 126px; }
  .hero__inner { padding-top: 38px; padding-bottom: 28px; }
  .hero h1 { max-width: 420px; font-size: clamp(40px,11.5vw,54px); line-height: 1; }
  .hero__lead { margin-top: 16px; font-size: 16px; }
  .search-form { display: grid; gap: 10px; min-height: 0; margin-top: 26px; }
  .route-fields { min-height: 72px; }
  .search-field { padding: 13px 14px 10px; }
  .search-field input { font-size: 16px; }
  .route-arrow { width: 36px; height: 36px; }
  .search-form .button { min-height: 54px; margin: 0; }
  .hero__meta { align-items: flex-start; flex-wrap: wrap; gap: 4px 12px; }
  .hero__meta > span::before { display: none; }
  .hero__sender-link { width: 100%; margin-left: 0; }
  .journey__steps { grid-template-columns: 1fr; }
  .journey__steps li { padding: 18px 0; border-top: 1px solid #e5e6eb; border-left: 0; }
  .journey__steps li:first-child { padding-top: 0; border-top: 0; }
  .workspace { padding-top: 44px; padding-bottom: 58px; }
  .feed__topline { display: grid; }
  .feed__actions { justify-content: space-between; }
  .save-search { display: none; }
  .sort-control { margin-left: auto; }
  .sort-control select { width: min(186px,48vw); }
  .task-card { border-radius: 14px; }
}

@media (max-width: 380px) {
  .shell, .topbar__inner { width: calc(100% - 24px); }
  .hero h1 { font-size: 38px; }
  .route-fields { grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr); }
  .search-field { padding-inline: 11px; }
  .search-field > span { font-size: 11px; }
}

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

/* Compact shared chrome: anchored header panels and one footer across routes. */
.header-popover { position: relative; display: inline-flex; }
.header-popover__trigger { cursor: pointer; }
.header-popover__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 45;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  color: var(--ink);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(24, 28, 38, .18);
  animation: header-panel-in .16s cubic-bezier(.16, 1, .3, 1);
}
.header-popover__panel[hidden] { display: none; }
.header-popover__heading { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.header-popover__heading h2 { margin: 0; font-size: 17px; letter-spacing: -.025em; }
.header-popover__heading button { min-height: 44px; padding: 0; border: 0; color: var(--accent-strong); background: transparent; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.notification-popover-list { max-height: min(58dvh, 430px); overflow-y: auto; overscroll-behavior: contain; }
.notification-popover-item { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: inherit; transition: background .15s ease; }
.notification-popover-item:hover, .notification-popover-item:focus-visible { background: #f6f7f9; }
.notification-popover-item.is-unread { background: var(--accent-wash); }
.notification-popover-item.is-unread:hover, .notification-popover-item.is-unread:focus-visible { background: #d9f5fb; }
.notification-popover-item__mark { width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: transparent; }
.notification-popover-item.is-unread .notification-popover-item__mark { background: var(--accent); }
.notification-popover-item > span:last-child { display: grid; gap: 4px; min-width: 0; }
.notification-popover-item strong { font-size: 13px; line-height: 1.35; }
.notification-popover-item small { color: #656975; font-size: 12px; line-height: 1.45; }
.notification-popover-item time { color: #8a8d97; font-size: 10px; }
.header-popover__footer { padding: 11px 18px; }
.header-popover__footer a { display: inline-flex; min-height: 44px; align-items: center; color: var(--accent-strong); font-size: 12px; font-weight: 700; }
.account-menu-trigger { display: inline-flex; min-width: 54px; min-height: 44px; align-items: center; justify-content: center; gap: 3px; padding: 0 7px; border: 0; border-radius: 13px; color: #656875; background: transparent; cursor: pointer; }
.account-menu-trigger:hover, .account-menu-trigger:focus-visible, .account-menu-trigger[aria-expanded="true"] { color: var(--ink); background: #f2f3f6; }
.account-menu-trigger:focus-visible, .header-popover__heading button:focus-visible, .profile-menu__signout:focus-visible { outline: 3px solid rgba(8, 167, 215, .32); outline-offset: 2px; }
.account-menu-trigger > svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; transition: transform .16s ease; }
.account-menu-trigger[aria-expanded="true"] > svg { transform: rotate(180deg); }
.header-popover__panel--profile { width: 258px; padding: 8px; }
.profile-menu__summary { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px; border-bottom: 1px solid var(--line); }
.profile-menu__summary .account-link__avatar { width: 40px; height: 40px; }
.profile-menu__summary > span:last-child { display: grid; gap: 2px; }
.profile-menu__summary strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.profile-menu__summary small { color: #7c7f8a; font-size: 11px; }
.header-popover__panel--profile nav { display: grid; padding: 6px 0; }
.header-popover__panel--profile nav a, .profile-menu__signout { display: flex; min-height: 44px; align-items: center; padding: 0 11px; border: 0; border-radius: 10px; color: #454852; background: transparent; font: inherit; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
.header-popover__panel--profile nav a:hover, .header-popover__panel--profile nav a:focus-visible, .profile-menu__signout:hover, .profile-menu__signout:focus-visible { color: var(--ink); background: #f2f3f6; }
.profile-menu__signout { width: 100%; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: #a3333d; }
@keyframes header-panel-in { from { opacity: .72; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.hero__inner { padding-top: 44px; padding-bottom: 18px; }
.journey__inner { padding-top: 28px; padding-bottom: 28px; }
.workspace { padding-top: 48px; padding-bottom: 64px; }

.site-footer { color: #5e626e; border-top: 1px solid #dfe2e8; background: #f5f6f8; }
.site-footer__inner { grid-template-columns: minmax(240px, 1.25fr) minmax(130px, .64fr) minmax(140px, .68fr) minmax(220px, 1fr); gap: clamp(24px, 3.4vw, 46px); padding-top: 34px; padding-bottom: 30px; }
.site-footer__brand--image { width: 184px; height: 54px; min-height: 54px; overflow: visible; }
.site-footer__logo { width: 184px; height: 54px; background: transparent url("/assets/nadomogu-logo-blue-on-white.svg") -10px center / auto 100% no-repeat; }
.site-footer__logo { mix-blend-mode: multiply; }
.site-footer__intro p { max-width: 320px; margin: 10px 0 0; color: #4f535e; font-size: 13px; line-height: 1.55; }
.site-footer__intro small { display: block; max-width: 330px; margin-top: 9px; color: #80838d; font-size: 11px; line-height: 1.5; }
.footer-details summary { min-height: 36px; margin: 5px 0 8px; color: var(--ink); font-size: 11px; letter-spacing: .07em; }
.site-footer__nav { gap: 8px; font-size: 13px; }
.site-footer__nav a:hover, .site-footer__nav a:focus-visible, .site-footer__legal a:hover, .site-footer__legal a:focus-visible { color: var(--accent-strong); }
.site-footer__apps p { margin: 7px 0 0; color: #686c77; font-size: 12px; line-height: 1.45; }
.site-footer__stores { grid-template-columns: 1fr 1fr; max-width: 300px; gap: 7px; margin-top: 10px; }
.store-button { min-height: 54px; color: var(--ink); border-color: #d9dce3; background: #fff; }
.store-button:hover { border-color: #bfc3cd; background: #fff; }
.store-button__eyebrow { color: #737782; }
.site-footer__bottom { border-top-color: #dfe2e8; }
.site-footer__bottom-inner { padding-top: 13px; padding-bottom: max(15px, calc(15px + env(safe-area-inset-bottom))); color: #767a85; }
.site-footer__legal { gap: 7px 16px; }

@media (max-width: 920px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__intro, .site-footer__apps { grid-column: 1 / -1; }
  .site-footer__stores { max-width: 330px; }
}

@media (max-width: 640px) {
  .hero__inner { padding-top: 30px; padding-bottom: 22px; }
  .journey__inner { padding-top: 26px; padding-bottom: 26px; }
  .workspace { padding-top: 34px; padding-bottom: 44px; }
  .header-popover__panel { position: fixed; top: max(68px, calc(68px + env(safe-area-inset-top))); right: 12px; left: 12px; width: auto; }
  .header-popover__panel--profile { left: auto; width: min(258px, calc(100vw - 24px)); }
  .site-footer__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; padding: 24px 0 22px; }
  .site-footer__inner > * + * { margin-top: 0; }
  .site-footer__intro, .site-footer__apps { grid-column: 1 / -1; }
  .site-footer__brand--image, .site-footer__logo { width: 170px; height: 50px; }
  .site-footer__logo { background-position: -9px center; }
  .footer-details { border-top: 0; }
  .footer-details summary { min-height: 32px; cursor: pointer; }
  .footer-details summary::after { display: none; }
  .site-footer__stores { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .site-footer__bottom-inner { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .header-popover__panel { animation: none; }
}
