body.app-page {
      overflow-x: clip;
    }
    main[data-app-page] { overflow-x: clip; width: 100%; max-width: 100%; }

    /* ── Product Hero ── */
    .app-hero {
      position: relative;
      overflow: hidden;
      padding: clamp(24px, 3vw, 36px) 0 clamp(44px, 5vw, 68px);
      background: transparent;
    }
    .app-hero__grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: clamp(28px, 4vw, 52px);
      align-items: center;
    }
    .app-hero__copy { min-width: 0; }
    .app-hero h1 {
      font-family: var(--fo-font-display);
      font-size: clamp(1.85rem, 3.6vw, 2.65rem);
      font-weight: 700;
      line-height: 1.28;
      margin: 0 0 12px;
      max-width: 16ch;
      letter-spacing: -0.02em;
      color: var(--fo-navy, #0f172a);
    }
    .app-hero h1 em {
      font-style: normal;
      color: var(--fo-orange);
    }
    .app-hero__lead {
      font-size: clamp(0.98rem, 1.6vw, 1.08rem);
      line-height: 1.7;
      color: var(--fo-text-muted);
      max-width: 34ch;
      margin: 0 0 24px;
    }
    .app-hero__meta {
      font-size: 0.8rem;
      color: var(--fo-text-muted);
      margin: 12px 0 0;
    }

    /* Device cluster */
    .app-hero__devices {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 400px;
    }
    .device-cluster {
      position: relative;
      width: min(100%, 400px);
      height: 420px;
    }
    .device {
      position: absolute;
      width: 188px;
    }
    .device__frame {
      position: relative;
      aspect-ratio: 9 / 19.2;
      border-radius: 28px;
      background: #1a2438;
      border: 2.5px solid #334155;
      box-shadow:
        0 20px 44px rgba(15, 23, 42, 0.14),
        0 6px 16px rgba(53, 122, 189, 0.1);
      overflow: hidden;
    }
    .device__island {
      position: absolute;
      top: 8px;
      left: 50%;
      transform: translateX(-50%);
      width: 36%;
      height: 16px;
      background: #1a2438;
      border-radius: 0 0 10px 10px;
      z-index: 4;
    }
    .device__screen {
      position: absolute;
      inset: 0;
      background: #f3f6fa;
      overflow: hidden;
      font-size: 10px;
      line-height: 1.35;
    }
    .device--main {
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      z-index: 3;
      width: 204px;
    }
    .device--main .device__frame {
      box-shadow:
        0 28px 56px rgba(15, 23, 42, 0.16),
        0 10px 24px rgba(53, 122, 189, 0.12);
    }
    .device--place {
      inset-inline-end: -4px;
      top: 18%;
      z-index: 1;
      width: 158px;
      transform: rotate(-7deg);
      opacity: 0.94;
    }
    .device--offers {
      inset-inline-start: -8px;
      top: 22%;
      z-index: 2;
      width: 158px;
      transform: rotate(7deg);
      opacity: 0.96;
    }

    /* Mini app UI — Explore */
    .m-screen { height: 100%; display: flex; flex-direction: column; }
    .m-bar {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 22px 10px 6px;
      background: #fff;
      border-bottom: 1px solid rgba(232, 236, 240, 0.9);
    }
    .m-bar__brand {
      display: flex;
      align-items: center;
      gap: 4px;
      font-weight: 700;
      font-size: 8px;
      color: var(--fo-navy, #0f172a);
    }
    .m-bar__brand img { width: 14px; height: 14px; object-fit: contain; }
    .m-search {
      margin: 8px 10px 6px;
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 7px 10px;
      background: #fff;
      border: 1px solid var(--fo-border, #e8ecf0);
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    }
    .m-search svg { width: 11px; height: 11px; color: var(--fo-text-muted); flex-shrink: 0; }
    .m-search span { font-size: 8px; color: var(--fo-text-muted); font-weight: 500; }
    .m-cats {
      display: flex;
      gap: 4px;
      padding: 0 10px 8px;
      overflow: hidden;
    }
    .m-cats span {
      flex-shrink: 0;
      font-size: 7px;
      font-weight: 600;
      padding: 4px 8px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid var(--fo-border);
      color: var(--fo-text-muted);
    }
    .m-cats span.is-active {
      background: var(--fo-orange);
      border-color: var(--fo-orange);
      color: #fff;
    }
    .m-cards { padding: 0 10px 10px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
    .m-card {
      background: #fff;
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid rgba(232, 236, 240, 0.95);
      box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
    }
    .m-card__img {
      height: 52px;
      background-size: cover;
      background-position: center;
    }
    .m-card__body { padding: 6px 8px 7px; }
    .m-card__rating { font-size: 7px; font-weight: 700; color: var(--fo-orange); margin-bottom: 1px; }
    .m-card__name { font-size: 8px; font-weight: 700; color: var(--fo-navy, #0f172a); margin-bottom: 1px; }
    .m-card__meta { font-size: 6.5px; color: var(--fo-text-muted); }

    /* Mini app UI — Place Detail */
    .m-screen--place {
      background: #fff;
      position: relative;
    }
    .m-pd-hero {
      height: 58%;
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .m-pd-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.55));
    }
    .m-pd-sheet {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: #fff;
      border-radius: 14px 14px 0 0;
      padding: 10px 10px 12px;
      box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08);
    }
    .m-pd-sheet h3 {
      font-size: 9px;
      font-weight: 700;
      margin: 0 0 3px;
      color: var(--fo-navy, #0f172a);
    }
    .m-pd-rating {
      font-size: 7px;
      font-weight: 700;
      color: var(--fo-orange);
      margin-bottom: 5px;
    }
    .m-pd-tags { display: flex; gap: 4px; flex-wrap: wrap; }
    .m-pd-tags span {
      font-size: 6px;
      font-weight: 600;
      padding: 3px 6px;
      border-radius: 999px;
      background: var(--fo-blue-light, #e8f2fc);
      color: var(--fo-blue-dark, #2563eb);
    }

    /* Mini app UI — Offers */
    .m-screen--offers { background: #f3f6fa; }
    .m-offers-head {
      padding: 22px 10px 8px;
      font-size: 9px;
      font-weight: 700;
      color: var(--fo-navy, #0f172a);
    }
    .m-offer {
      margin: 0 10px;
      border-radius: 12px;
      overflow: hidden;
      min-height: 100px;
      position: relative;
      background-size: cover;
      background-position: center;
      box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
    }
    .m-offer::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 15%, rgba(15, 23, 42, 0.88));
    }
    .m-offer__body {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 10px;
      z-index: 1;
      color: #fff;
    }
    .m-offer__tag {
      display: inline-block;
      font-size: 6px;
      font-weight: 700;
      background: var(--fo-orange);
      padding: 2px 6px;
      border-radius: 4px;
      margin-bottom: 4px;
    }
    .m-offer__name { font-size: 8px; font-weight: 700; display: block; }
    .m-offer__place { font-size: 6.5px; opacity: 0.85; margin-top: 2px; display: block; }
    .m-offer--sm {
      margin: 8px 10px 0;
      min-height: 72px;
      opacity: 0.85;
    }

    /* Features — unchanged */
    .app-features {
      padding: 64px 0 72px;
      background: transparent;
    }
    .app-features__head {
      text-align: center;
      margin-bottom: 36px;
    }
    .app-features__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--fo-orange-dark);
      margin-bottom: 8px;
    }
    .app-features__eyebrow::before {
      content: "";
      width: 18px;
      height: 2px;
      border-radius: 2px;
      background: var(--fo-orange);
    }
    .app-features__head h2 {
      font-family: var(--fo-font-display);
      font-size: clamp(1.35rem, 2.5vw, 1.75rem);
      font-weight: 700;
      margin-bottom: 8px;
      letter-spacing: -0.02em;
    }
    .app-features__head p {
      color: var(--fo-text-muted);
      max-width: 36ch;
      margin-inline: auto;
    }
    .app-feature-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }
    .app-feature {
      background: #fff;
      border: 1px solid rgba(232, 236, 240, 0.95);
      border-radius: 20px;
      padding: 26px 22px;
      text-align: center;
      transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    }
    .app-feature:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
      border-color: rgba(74, 144, 226, 0.25);
    }
    .app-feature__icon {
      width: 56px;
      height: 56px;
      margin: 0 auto 14px;
      border-radius: 16px;
      display: grid;
      place-items: center;
      background: linear-gradient(145deg, var(--fo-blue-light), #fff);
      color: var(--fo-blue-dark);
      border: 1px solid #d6e8fb;
    }
    .app-feature--orange .app-feature__icon {
      background: linear-gradient(145deg, var(--fo-orange-light), #fff);
      color: var(--fo-orange-dark);
      border-color: #f5d5b0;
    }
    .app-feature__icon svg { width: 26px; height: 26px; }
    .app-feature h3 {
      font-family: var(--fo-font-display);
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .app-feature p {
      font-size: 0.9rem;
      color: var(--fo-text-muted);
      line-height: 1.6;
    }

    .app-page .footer { margin-top: 0; }

    @media (max-width: 900px) {
      .app-hero {
        padding: 22px 0 36px;
      }
      .app-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
      }
      .app-hero h1,
      .app-hero__lead { margin-inline: auto; max-width: none; }
      .app-hero h1 { max-width: 22ch; }
      .app-hero__copy .store-badges { justify-content: center; }
      .app-hero__devices {
        min-height: 300px;
        order: 2;
      }
      .device-cluster {
        height: 320px;
        max-width: 300px;
      }
      .device--main { width: 168px; }
      .device--place,
      .device--offers { width: 132px; }
      .app-feature-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
    }
    @media (max-width: 720px) {
      .app-hero { padding: 18px 0 32px; }
      .device-cluster { height: 280px; }
      .device--main { width: 152px; }
      .device--place,
      .device--offers { width: 118px; }
    }

