@font-face {
  font-family: Manrope;
  src: url("/assets/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #111827;
  --cream: #faf7f2;
  --surface: #fff;
  --soft: #f3eee4;
  --border: #ebe4d8;
  --muted: #6b6259;
  /* One blue family: the logo blue for accents, focus and notices; its light
     tint behind app screenshots; the app icon's darkest stop for dark bands. */
  --blue: #1d4ed8;
  --blue-tint: #ebeffb;
  --navy: #0b1a4a;
  --success: #047857;
  --danger: #9f1239;
  --danger-soft: #fdf2f4;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
::selection {
  background: #c3cff0;
  color: var(--ink);
}
.wrap {
  width: min(1184px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10;
  background: white;
  padding: 14px;
}
.skip:focus {
  top: 12px;
}
.site-header {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}
.site-header .main-nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  font-weight: 700;
}
.site-header .main-nav a {
  text-decoration: none;
}
.site-header .main-nav a:hover,
.text-link:hover {
  color: var(--blue);
}
/* UZ · RU · EN in the footer. The current language is ink, heavier and
   underlined; the others are muted. Each link is at least 24px square for
   touch. On wide screens the header's main links sit centred between the
   brand and the language-menu-plus-button group. */
.site-header .main-nav {
  margin-inline: auto;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding-inline: 3px;
  text-decoration: none;
}
.lang-switch a:hover {
  color: var(--blue);
}
.lang-switch a[aria-current] {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
/* The header's language menu: <details>/<summary>, no script. The summary
   shows the current language's flag, its name and a caret; the open menu drops below
   it, right-aligned, with one row of at least 44px per language. */
.lang-menu {
  position: relative;
}
.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding-inline: 12px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.lang-menu summary::-webkit-details-marker {
  display: none;
}
.lang-menu summary:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.lang-menu summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
/* Flags at 20×15 with slightly rounded corners and a thin light outline, so
   the white stripes stay visible on the white menu. */
.lang-flag {
  width: 20px;
  height: 15px;
  flex: none;
  border-radius: 2px;
  overflow: hidden;
  outline: 1px solid #11182726;
  outline-offset: -1px;
}
.lang-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.lang-caret {
  width: 12px;
  height: 12px;
  flex: none;
}
.lang-menu[open] .lang-caret {
  transform: rotate(180deg);
}
.lang-code {
  display: none;
}
/* Narrow tablets have no room for the full name beside the main button, and
   the menu button sits a little tighter. */
@media (min-width: 701px) and (max-width: 820px) {
  .lang-menu summary {
    gap: 6px;
    padding-inline: 9px 8px;
  }
  .lang-menu .lang-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .lang-menu .lang-code {
    display: inline;
  }
}
.lang-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px -18px #11182740;
}
.lang-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding-inline: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.lang-options a:hover {
  background: var(--blue-tint);
}
.lang-options a:focus-visible {
  outline-offset: -3px;
}
.lang-options a[aria-current] {
  color: var(--blue);
  font-weight: 800;
}
.lang-check {
  width: 18px;
  height: 18px;
  flex: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 56px;
  padding: 14px 25px;
  border-radius: 13px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--blue);
  transform: translateY(-2px);
}
.button.small {
  min-height: 44px;
  font-size: 12px;
  padding: 10px 18px;
  gap: 20px;
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 42px;
  padding-block: 70px 85px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.4px;
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 9px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(44px, 4.7vw, 65px);
  line-height: 1.12;
  letter-spacing: -3.5px;
  font-weight: 800;
  margin-bottom: 26px;
}
h1 span {
  color: var(--blue);
}
.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 32px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.icon {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  vertical-align: -0.125em;
}
.hero-art {
  position: relative;
  overflow: hidden;
  min-height: 626px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  border-radius: 160px 160px 32px 32px;
  isolation: isolate;
}
.orbit {
  position: absolute;
  border: 1px solid #ffffff2e;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.orbit-one {
  width: 94%;
  height: 76%;
  transform: rotate(-25deg);
}
.orbit-two {
  width: 77%;
  height: 95%;
  transform: rotate(30deg);
}
/* A slim Android frame. The screenshots (576×1280, 9:20) already carry their
   own status and gesture bars, so the frame adds only a thin bezel with
   rounded screen corners, a faint rim, a light shadow and two side keys
   outside the screen: no notch, camera or bar over the interface. The image
   keeps its width/height attributes, so its shape is never stretched. */
.phone {
  --bezel: 6px;
  --corner: 31px;
  position: relative;
  display: block;
  width: 252px;
  padding: var(--bezel);
  background: var(--ink);
  border-radius: var(--corner);
  box-shadow:
    inset 0 0 0 1px #ffffff26,
    0 22px 38px -22px #11182760;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--corner) - var(--bezel));
}
/* Power key and volume rocker on the right edge, outside the screen. */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--ink);
}
.phone::before {
  top: 19%;
  height: 9%;
}
.phone::after {
  top: 31%;
  height: 5%;
}
.hero-phone {
  width: 247px;
  transform: rotate(5deg);
  margin-top: 8px;
  box-shadow:
    inset 0 0 0 1px #ffffff26,
    0 26px 44px -22px #0b1f6b;
}
/* The hero phone opens the full screenshot, like the other app screens. */
.hero-shot {
  display: block;
  border-radius: 31px;
  text-decoration: none;
}
/* "Vazify ilovasidan namuna": sits in the gap between the arched stage and the
   tilted phone, which is only ~14px tall. At the 12px readability floor the
   line box is tightened to the height it had at 9px — the glyphs get bigger,
   the box does not, so the phone still clears it. */
.demo-label {
  position: absolute;
  bottom: 17px;
  max-width: calc(100% - 32px);
  font-size: 12px;
  line-height: 1.1;
  text-align: center;
  color: #dce6ff;
}
h2 {
  font-size: 38px;
  line-height: 1.22;
  letter-spacing: -1.6px;
  font-weight: 800;
  margin-bottom: 18px;
}
h3 {
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.section-intro {
  margin-bottom: 32px;
}
.services {
  padding-bottom: 82px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
/* Icon and name only (owner, 2026-10-11): a compact grid, six across above
   phone width and three across on phones. */
.service {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 17px;
  padding: 20px 10px 18px;
  text-align: center;
}
/* Phosphor duotone icon straight on the card, in the category colour. */
.service-icon {
  display: block;
  width: 40px;
  height: 40px;
  color: var(--cat);
}
.service-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.cat-cleaning {
  --cat: #2563eb;
}
.cat-moving {
  --cat: #7c3aed;
}
.cat-delivery {
  --cat: #0284c7;
}
.cat-furniture {
  --cat: #b45309;
}
.cat-small_jobs {
  --cat: #0d9488;
}
.cat-other {
  --cat: #64748b;
}
.service h3 {
  font-size: 15px;
  line-height: 1.3;
  margin: 0;
}
.how-section {
  background: var(--soft);
  padding: 75px 0 80px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  /* The screenshot spans the three steps; spare height goes below step 3. */
  grid-template-rows: auto auto 1fr;
  column-gap: 72px;
  row-gap: 34px;
}
.steps article {
  grid-column: 2;
  border-top: 1px solid #d7cfc1;
  padding-top: 25px;
}
.how-shot {
  grid-column: 1;
  grid-row: 1 / span 3;
}
/* The demo notice is the task screenshot's caption, right under it at every
   width. */
.how-shot figcaption {
  margin-top: 16px;
}
.steps article > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  display: block;
  margin-bottom: 24px;
}
.steps p {
  font-size: 13px;
  color: var(--muted);
  max-width: 420px;
  margin: 0;
}
figure {
  margin: 0;
  min-width: 0;
}
/* A screenshot link: the stage is the tap target and opens the full image. */
.screen-stage {
  --stage: var(--blue-tint);
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--stage);
  padding: 35px 20px;
  display: flex;
  justify-content: center;
  text-decoration: none;
}
.screen-stage .phone {
  width: 230px;
  --bezel: 5px;
  --corner: 28px;
}
.open-full {
  display: none;
}
.caption {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 26px;
}
.worker-section {
  border-radius: 25px;
  background: var(--navy);
  color: white;
  padding: 58px 75px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 65px;
  align-items: center;
}
.worker-section > div {
  grid-column: 2;
  grid-row: 1;
}
/* After the text in the markup, so phones read the pitch first. */
.worker-shot {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  width: min(100%, 330px);
}
/* Above phone width the worker phone stands on the navy band itself: no light
   card inside the card. A hairline in the band's own blue keeps the dark
   frame from dissolving into it. */
@media (min-width: 701px) {
  .worker-shot .screen-stage {
    background: none;
    padding: 0;
    overflow: visible;
  }
  .worker-shot .phone {
    box-shadow:
      inset 0 0 0 1px #ffffff26,
      0 0 0 1px #34509f,
      0 28px 48px -28px #030a24;
  }
}
.worker-section p {
  font-size: 13px;
  color: #d6def5;
  max-width: 375px;
  margin-bottom: 24px;
}
.light {
  background: white;
  color: var(--ink);
}
.light:hover {
  background: var(--soft);
}
/* The page closes on a logo-blue band, the same shape as the navy worker band;
   the store status cards turn white on it. */
.download-section {
  text-align: center;
  background: var(--blue);
  color: white;
  border-radius: 25px;
  padding: 72px 32px 64px;
  margin-block: 72px 80px;
}
.download-section > img {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 24px;
  box-shadow:
    0 0 0 6px #ffffff24,
    0 18px 36px -18px #0b1f6b;
}
.download-section h2 {
  font-size: 44px;
}
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.download-section .store-links {
  justify-content: center;
}
.store {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  text-decoration: none;
  min-width: 190px;
  border-radius: 12px;
  text-align: left;
  padding: 12px 20px;
}
.store > span,
.store small {
  font-size: 12px;
  display: block;
}
.store strong {
  font-size: 20px;
  display: block;
  line-height: 1.6;
}
.store.pending {
  background: transparent;
  border-color: #d6cec1;
  color: var(--muted);
}
.store.pending strong {
  color: var(--ink);
}
/* On the blue band a pending store is a status, not a button: outlined and
   translucent, no fill that reads as a store badge. */
.download-section .store.pending {
  background: #ffffff14;
  border-color: #ffffff6b;
  color: #dce6ff;
}
.download-section .store.pending strong {
  color: white;
}
/* Where to hear about the launch: on the band these are its only solid
   buttons (white); on /download/ they sit under the notice in the dark
   primary style so they read on cream. */
.follow-note {
  margin: 28px 0 0;
  font-size: 14px;
}
/* English pages only: the app itself is in Uzbek and Russian. */
.app-languages {
  margin: 16px 0 0;
  font-size: 14px;
}
.download-section .app-languages {
  color: #dce6ff;
}
.download-section .follow-note {
  color: #dce6ff;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.download-section .social-links {
  justify-content: center;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.social-link:hover {
  border-color: var(--blue);
  background: var(--blue);
}
.download-section .social-link {
  border-color: white;
  background: white;
  color: var(--navy);
}
.download-section .social-link:hover {
  background: var(--blue-tint);
}
.social-link svg {
  width: 20px;
  height: 20px;
  flex: none;
}
/* The royal focus ring would vanish on the royal band. */
.download-section a:focus-visible {
  outline-color: white;
}
footer {
  border-top: 1px solid var(--border);
  padding-top: 35px;
  padding-bottom: 24px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 35px;
}
.footer-top p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
}
footer .footer-links a {
  text-decoration: none;
}
footer .footer-links a:hover {
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid var(--border);
  margin-top: 28px;
  padding-top: 20px;
}
.document {
  padding-block: 58px 95px;
  min-height: 65vh;
}
.back-link {
  font-size: 12px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 42px;
}
.document h1 {
  font-size: 46px;
  letter-spacing: -2px;
  overflow-wrap: anywhere;
}
.document-body {
  max-width: 740px;
  color: var(--muted);
}
.document-body h2 {
  font-size: 26px;
  letter-spacing: -0.7px;
  color: var(--ink);
  margin-top: 40px;
}
.document-body h3 {
  color: var(--ink);
  margin-top: 28px;
}
/* Legal pages: the revision and publication date under the draft notice. */
.doc-version {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--ink);
}
.notice {
  background: var(--soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--ink);
}
/* --- /delete-account ------------------------------------------------------
   The only page with form controls. Every target is at least 48px tall, focus
   is always a visible ring, and nothing destructive is signalled by colour
   alone: the warning notice and the delete button both say what they do. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.notice-warning {
  border-left: 6px solid var(--danger);
  background: var(--danger-soft);
}
.deletion-flow {
  margin: 48px 0 8px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 17px;
  color: var(--ink);
}
.deletion-flow > .notice:first-child {
  margin-top: 0;
}
.flow-step h2 {
  margin-top: 0;
  font-size: 24px;
  letter-spacing: -0.6px;
}
.flow-step h2:focus {
  outline: none;
}
.flow-step h2:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
.field {
  margin: 22px 0;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 15px;
}
.field-hint {
  margin: 2px 0 10px;
  font-size: 13px;
  color: var(--muted);
}
.field input[type="email"],
.field input[type="text"],
.field input[type="tel"],
.field input[type="password"] {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid #bfb5a6;
  border-radius: 12px;
}
.field input[autocomplete="one-time-code"] {
  max-width: 16ch;
  letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums;
}
.flow-actions .button {
  overflow-wrap: anywhere;
  text-align: center;
}
.field input[aria-invalid="true"] {
  border-color: var(--danger);
  border-width: 2px;
}
.field-error {
  margin: 10px 0 0;
  padding-left: 12px;
  border-left: 3px solid var(--danger);
  color: var(--danger);
  font-size: 14px;
  font-weight: 700;
}
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 48px;
}
.checkbox-field input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  accent-color: var(--danger);
}
.checkbox-field label {
  font-weight: 600;
  line-height: 1.5;
  padding-block: 1px 12px;
}
.flow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
button.button {
  border: 1.5px solid transparent;
  font-family: inherit;
  cursor: pointer;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #bfb5a6;
}
.button.secondary:hover {
  background: var(--soft);
}
.button.danger {
  background: var(--danger);
}
.button.danger:hover {
  background: #7f1d1d;
}
button.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
[aria-busy="true"] button[type="submit"] {
  cursor: progress;
}
/* The support page's questions (the header's language menu has its own). */
.document-body details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.document-body summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding-block: 5px;
}
.document-body details p {
  font-size: 14px;
  margin: 14px 0 0;
}
/* Larger text (the browser's or the phone's text size) must wrap, never widen
   the page: grid children may shrink, and a long word or an email address
   breaks only when it would not fit. */
.hero > *,
.service {
  min-width: 0;
}
.hero-copy,
.service,
.document-body {
  overflow-wrap: anywhere;
}
h1,
h2,
h3,
p,
li {
  overflow-wrap: break-word;
}
@media (min-width: 1500px) {
  .hero {
    gap: 70px;
  }
  .hero-art {
    min-height: 647px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    gap: 28px;
  }
  h1 {
    font-size: 48px;
    letter-spacing: -2.8px;
  }
  .hero-art {
    min-height: 614px;
  }
  .hero-actions {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .steps {
    gap: 28px;
  }
  .steps {
    column-gap: 40px;
  }
  .screen-stage {
    padding: 25px 12px;
  }
  .worker-section {
    padding: 48px 40px;
    gap: 35px;
  }
  .site-header .main-nav {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  /* The hero screenshot on phones: a complete phone this wide. */
  :root {
    --phone-mobile: 184px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 85px;
    flex-wrap: wrap;
    padding-block: 19px;
    gap: 9px 18px;
  }
  /* Row 1: brand and button. Row 2: the links and the language switcher.
     This zero-height line break forces row 2; it adds one row gap, so the
     row gap above is half the old 18px and the rows sit as before. */
  .site-header::after {
    content: "";
    order: 2;
    flex-basis: 100%;
  }
  .brand {
    font-size: 25px;
  }
  .brand img {
    width: 34px;
  }
  .site-header > .button {
    margin-left: auto;
  }
  .site-header .main-nav {
    order: 3;
    flex: 1 1 auto;
    margin-inline: 0;
    font-size: 12px;
    gap: 18px;
  }
  /* Row 2, right: the two-letter code; the full name stays for screen
     readers. */
  .site-header .lang-menu {
    order: 4;
  }
  .lang-menu summary {
    min-height: 36px;
  }
  .lang-menu .lang-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .lang-menu .lang-code {
    display: inline;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 44px 58px;
    gap: 38px;
  }
  .hero-copy {
    max-width: 500px;
  }
  .eyebrow {
    letter-spacing: 1.2px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: clamp(38px, 9vw, 58px);
    letter-spacing: -2px;
    line-height: 1.15;
  }
  .lead {
    font-size: 15px;
    max-width: 440px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
  }
  .button {
    font-size: 12px;
    padding: 14px 18px;
    gap: 20px;
  }
  .text-link {
    font-size: 12px;
  }
  .hero-art {
    width: 100%;
    max-width: 460px;
    justify-self: center;
    min-height: 612px;
    border-radius: 130px 130px 25px 25px;
  }
  .hero-phone {
    width: 245px;
  }
  /* The whole phone, narrower: the arch keeps its shape and holds the
     complete screenshot, then the label that opens it full size and the
     demo label, in that order. */
  .hero-art {
    min-height: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding: 30px 16px 18px;
  }
  .hero-shot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .hero-art .hero-phone {
    --bezel: 4px;
    --corner: 22px;
    width: var(--phone-mobile);
    margin-top: 0;
  }
  .hero-art .open-full {
    position: static;
    transform: none;
  }
  .hero-art .demo-label {
    position: static;
  }
  .services {
    padding-bottom: 50px;
  }
  h2 {
    font-size: 31px;
    letter-spacing: -1.2px;
  }
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .service {
    gap: 8px;
    padding: 14px 6px 12px;
    border-radius: 14px;
  }
  .service-icon {
    width: 32px;
    height: 32px;
  }
  .service h3 {
    font-size: 13px;
  }
  .how-section {
    padding: 50px 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .steps {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 28px;
  }
  .steps article,
  .how-shot {
    grid-column: auto;
    grid-row: auto;
  }
  .steps article {
    padding-top: 18px;
  }
  .steps article > span {
    margin-bottom: 13px;
  }
  .steps p {
    max-width: none;
  }
  /* A compact preview: the top of the phone, cut by the stage and faded into
     it, with a label that the full screenshot opens. The frame keeps its
     desktop bezel and corners, so the screen is 200px wide, as before. */
  .screen-stage {
    height: 360px;
    padding: 24px 20px 0;
    align-items: flex-start;
  }
  /* Narrow enough that the label sits below the screenshot's first content
     block (the category grid, the first two worker tasks). */
  .screen-stage .phone {
    width: 210px;
  }
  .screen-stage::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 84px;
    background: linear-gradient(to bottom, transparent, var(--stage) 78%);
  }
  .open-full {
    position: absolute;
    z-index: 1;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 700;
  }
  .worker-section {
    grid-template-columns: 1fr;
    padding: 42px 28px;
    gap: 40px;
  }
  .worker-section > div,
  .worker-shot {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }
  .worker-section > div {
    min-width: 0;
  }
  .worker-section h2 {
    font-size: 28px;
    overflow-wrap: anywhere;
  }
  .worker-section p {
    max-width: none;
  }
  .download-section {
    padding: 48px 20px 44px;
    margin-block: 40px 56px;
    border-radius: 22px;
  }
  .download-section > img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
  }
  .download-section h2 {
    font-size: 34px;
  }
  .store-links {
    gap: 12px;
  }
  .store {
    flex: 1;
    min-width: 150px;
    padding: 12px 15px;
  }
  .store strong {
    font-size: 18px;
  }
  .footer-top {
    align-items: start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
  }
  footer .footer-links {
    gap: 16px 22px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
  .document {
    padding-block: 32px 65px;
  }
  .document h1 {
    font-size: 35px;
    letter-spacing: -1.3px;
  }
  .document-body {
    font-size: 15px;
  }
  .deletion-flow {
    padding: 22px 18px;
    margin-top: 36px;
  }
  .flow-step h2 {
    font-size: 21px;
  }
  .flow-actions .button {
    flex: 1 1 100%;
  }
  .notice {
    padding: 18px;
  }
  .back-link {
    margin-bottom: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* /challenge/ and the deletion page's check: room for the Turnstile widget. */
.challenge #turnstile,
.turnstile-slot {
  min-height: 72px;
  margin: 16px 0;
}


/* Narrow phones. The header button's label is long ("Ilova qachon chiqadi?"),
   so below 375px it gives up padding, and below 351px its arrow and a little
   logo size, to stay on the logo's row instead of wrapping onto a third row.
   Store status cards stack one per row on phones so the label stays on one
   line. */
@media (max-width: 700px) {
  .store-links {
    flex-direction: column;
  }
  .store {
    flex: none;
  }
  /* Telegram and Instagram stay side by side down to 320px. */
  .social-links {
    flex-wrap: nowrap;
  }
  .social-link {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 10px;
  }
}
@media (max-width: 374px) {
  .site-header {
    column-gap: 12px;
  }
  .site-header > .button {
    padding-inline: 12px;
    gap: 8px;
  }
}
@media (max-width: 360px) {
  .store strong {
    font-size: 16px;
  }
}
@media (max-width: 350px) {
  .site-header > .button .icon {
    display: none;
  }
  .brand {
    font-size: 22px;
  }
  .brand img {
    width: 30px;
  }
}
/* Russian and English labels are longer than the Uzbek ones. These rules keep
   the header on its rows (one above 700px, two below) and every label whole;
   Uzbek pages are unchanged. The header button ("О приложении", "About the
   app") keeps its arrow down to 351px, as the Uzbek one does; it was hidden
   while the label was "Когда выйдет приложение?". */
@media (min-width: 701px) and (max-width: 820px) {
  html:not([lang="uz"]) .site-header {
    gap: 16px;
  }
  html:not([lang="uz"]) .site-header .main-nav {
    gap: 16px;
  }
}
@media (max-width: 440px) {
  html:not([lang="uz"]) .site-header > .button {
    padding-inline: 12px;
  }
}
@media (max-width: 380px) {
  html[lang="en"] .store strong {
    font-size: 15px;
  }
}
@media (max-width: 359px) {
  html:not([lang="uz"]) .brand {
    font-size: 22px;
  }
  html:not([lang="uz"]) .brand img {
    width: 30px;
  }
}
@media (max-width: 344px) {
  /* No room for the whole label beside the brand: two balanced lines. */
  html:not([lang="uz"]) .site-header > .button {
    max-width: 138px;
    line-height: 1.25;
    text-align: center;
    text-wrap: balance;
  }
  html:not([lang="uz"]) .button {
    gap: 12px;
  }
  html[lang="en"] .store strong {
    font-size: 14px;
  }
}
/* Long Russian words ("конфиденциальности", "повседневными") must not break
   mid-word: the heading scales with the screen where it would not fit. */
@media (min-width: 701px) and (max-width: 1000px) {
  html:not([lang="uz"]) .hero h1 {
    font-size: min(48px, 6vw);
  }
}
@media (max-width: 700px) {
  html:not([lang="uz"]) .hero h1 {
    font-size: min(38px, 11.2vw);
  }
  html:not([lang="uz"]) .document h1 {
    font-size: min(35px, 8vw);
  }
}
/* Firefox measures text a little wider than Chromium: at the narrowest
   tablet widths the header needs tighter gaps in every language, and below
   345px Russian and English buttons a little less side padding. */
@media (min-width: 701px) and (max-width: 760px) {
  .site-header {
    gap: 16px;
  }
  .site-header .main-nav {
    gap: 16px;
  }
}
@media (max-width: 344px) {
  html:not([lang="uz"]) .button {
    padding-inline: 14px;
    gap: 10px;
  }
}
