  /* The app's own Unbounded with the Kazakh letters drawn in (tool/unbounded_kazakh.py in the
     mobile repo): the Google Fonts file has no ә қ ң ө ұ ү һ. */
  @font-face { font-family: "Unbounded Toqfit"; src: url("/assets/fonts/unbounded-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
  /* Served from here, not Google Fonts: no visitor data to a third party, and the CSP stays 'self'. */
  @font-face { font-family: "Onest"; src: url("/assets/fonts/onest.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

  /* The app's «Dala» world carried onto the web: cream ground, brown outlines and hard shadows,
     sun yellow for the action, teal from the interface. The page walks the real app one screen at
     a time: the day, then the week, the shopping list it becomes, and the progress it adds up to. */
  :root {
    --bg: #FBF7EF; --card: #FFFFFF; --ink: #3B2416; --muted: #7A5A44; --border: #E3D3BC;
    --sun: #FDC520; --teal: #00A8C6; --teal-dark: #006A7F; --sky: #D9F2F7; --gold: #E0A100;
    --display: "Unbounded Toqfit", "Onest", system-ui, sans-serif; --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  }
  * { box-sizing: border-box; }
  html { scrollbar-color: var(--muted) var(--bg); }
  body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
  ::selection { background: var(--sun); color: var(--ink); }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-underline-offset: 3px; }
  :focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

  .wrap { max-width: 1160px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .top { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; }
  .top img { height: 30px; width: auto; }
  .lang { display: flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--card); }
  .lang button { font: 700 14px var(--body); color: var(--ink); background: none; border: 0; padding: 6px 13px; cursor: pointer; }
  .lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

  .device { border: 3px solid var(--ink); border-radius: 44px; padding: 10px; background: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
  .device img { border-radius: 34px; width: 100%; }

  /* Hero: the headline lies across the top, the phone stands on it and steps down into the band. */
  .hero { position: relative; padding-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: end; }
  h1 { font: 800 clamp(52px, 8.4vw, 120px)/.95 var(--display); letter-spacing: -.035em; margin: 0 0 22px; text-wrap: balance; }
  h1 .q { color: var(--gold); }
  .lede { font-size: 20px; color: var(--muted); max-width: 30em; margin: 0 0 26px; }
  .stores { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
  .store { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 16px; background: var(--sun); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-weight: 700; line-height: 1.1; }
  .store small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
  .store svg { width: 22px; height: 22px; flex: none; }
  .hero .device { margin-bottom: -120px; position: relative; z-index: 2; }
  .hero .tokash { position: absolute; width: 150px; right: 330px; bottom: -40px; z-index: 3; pointer-events: none; }

  /* The walk: one band, three phones joined by a drawn line, each with its caption under it. */
  .walk { background: var(--sky); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 170px 0 72px; }
  .walk h2 { font: 800 clamp(30px, 4vw, 44px)/1.1 var(--display); letter-spacing: -.02em; margin: 0 0 40px; max-width: 18em; text-wrap: balance; }
  .steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 46%; border-top: 3px dashed var(--teal-dark); }
  .step { position: relative; }
  .step .device { max-width: 290px; margin: 0 auto; }
  .step h3 { font: 800 20px/1.25 var(--display); margin: 26px 0 6px; }
  .step p { margin: 0; color: var(--muted); }

  .more { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 50px; padding: 80px 0 30px; align-items: start; }
  .more h2 { font: 800 clamp(28px, 3.6vw, 40px)/1.1 var(--display); margin: 0 0 16px; letter-spacing: -.02em; text-wrap: balance; }
  .more ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
  .more li { background: var(--card); border: 2px solid var(--ink); border-radius: 20px; padding: 16px 18px; box-shadow: 3px 3px 0 var(--ink); }
  .more li b { display: block; }
  .more li span { color: var(--muted); font-size: 15px; }
  .faq dt { font-weight: 700; margin-top: 18px; }
  .faq dd { margin: 4px 0 0; color: var(--muted); }

  footer { border-top: 2px solid var(--border); margin-top: 40px; padding-block: 24px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: 14px; color: var(--muted); }
  footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 36px; }
    .hero .device { max-width: 290px; margin: 0 auto -110px; }
    .hero .tokash { right: auto; left: 0; bottom: -30px; width: 110px; }
    .stores { margin-bottom: 30px; }
    .walk { padding-top: 160px; }
    .steps { grid-template-columns: 1fr; gap: 54px; }
    .steps::before { display: none; }
    .more { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; }
  }
  @media (max-width: 420px) {
    .hero .tokash { width: 80px; left: -4px; }
    .store { padding: 10px 14px; }
  }
