:root {
      color-scheme: dark;
      --bg: #090a0d;
      --panel: rgba(21, 23, 28, 0.82);
      --panel-strong: #17191f;
      --panel-soft: rgba(255, 255, 255, 0.045);
      --line: rgba(255, 255, 255, 0.09);
      --line-strong: rgba(255, 255, 255, 0.15);
      --text: #f8f8f7;
      --muted: #a6a7ad;
      --accent: #ff7a1a;
      --accent-light: #ffa45f;
      --accent-soft: rgba(255, 122, 26, 0.14);
      --success: #7be0a3;
      --radius-lg: 30px;
      --radius-md: 20px;
      --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-width: 320px;
      min-height: 100vh;
      background:
        radial-gradient(circle at 86% 10%, rgba(255, 122, 26, 0.16), transparent 31rem),
        radial-gradient(circle at 4% 82%, rgba(255, 166, 89, 0.08), transparent 28rem),
        var(--bg);
      color: var(--text);
      font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: 0.28;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
      background-size: 64px 64px;
      mask-image: linear-gradient(to bottom, black, transparent 72%);
    }

    button,
    select,
    a {
      font: inherit;
    }

    a {
      color: inherit;
    }

    button,
    select {
      color: inherit;
    }

    img,
    svg {
      display: block;
    }

    .page-shell {
      position: relative;
      z-index: 1;
      width: min(1180px, 100%);
      min-height: 100vh;
      margin: 0 auto;
      padding: 24px 32px 28px;
      display: flex;
      flex-direction: column;
    }

    .site-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      min-height: 58px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .brand-logo {
      width: 46px;
      height: 46px;
      border-radius: 14px;
      box-shadow: 0 12px 30px rgba(255, 122, 26, 0.23);
    }

    .brand-name {
      font-size: 19px;
      font-weight: 760;
      line-height: 1.15;
      letter-spacing: -0.025em;
      text-wrap: balance;
    }

    .language-control {
      position: relative;
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      min-width: 154px;
      min-height: 46px;
      padding: 0 38px 0 42px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.045);
      transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
    }

    .language-control:hover {
      border-color: var(--line-strong);
      background: rgba(255, 255, 255, 0.07);
    }

    .language-control:focus-within {
      border-color: var(--accent);
      box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.16);
    }

    .language-control > svg {
      position: absolute;
      pointer-events: none;
    }

    .language-icon {
      left: 15px;
      width: 17px;
      height: 17px;
      color: var(--accent-light);
    }

    .language-chevron {
      right: 14px;
      width: 15px;
      height: 15px;
      color: var(--muted);
    }

    .language-select {
      width: 100%;
      min-width: 0;
      border: 0;
      outline: 0;
      appearance: none;
      background: transparent;
      cursor: pointer;
      font-size: 14px;
      font-weight: 650;
    }

    .language-select option {
      color: #111318;
      background: #fff;
    }

    main {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: clamp(44px, 7vw, 86px) 0 48px;
    }

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
      gap: clamp(42px, 7vw, 88px);
      align-items: center;
    }

    .hero-copy {
      position: relative;
      isolation: isolate;
      min-width: 0;
    }

    .hero-copy > :not(.hero-mark) {
      position: relative;
      z-index: 1;
    }

    .hero-mark {
      position: absolute;
      z-index: 0;
      top: -92px;
      right: -54px;
      width: min(34vw, 360px);
      height: auto;
      opacity: 0.115;
      pointer-events: none;
      user-select: none;
      filter: saturate(1.16) drop-shadow(0 22px 40px rgba(255, 122, 26, 0.08));
      transform: rotate(1.5deg);
    }

    .section-eyebrow {
      margin: 0 0 17px;
      color: var(--accent-light);
      font-size: 12px;
      font-weight: 780;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    h1 {
      max-width: 720px;
      margin: 0;
      font-size: clamp(44px, 6.25vw, 76px);
      line-height: 0.98;
      letter-spacing: -0.058em;
      text-wrap: balance;
    }

    .hero-lead {
      max-width: 630px;
      margin: 25px 0 0;
      color: var(--muted);
      font-size: clamp(17px, 1.65vw, 20px);
      line-height: 1.6;
      text-wrap: pretty;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin: 31px 0 0;
      padding: 0;
      list-style: none;
    }

    .feature-card {
      min-width: 0;
      min-height: 128px;
      padding: 17px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.035);
    }

    .feature-icon {
      display: grid;
      width: 34px;
      height: 34px;
      place-items: center;
      margin-bottom: 13px;
      border-radius: 11px;
      background: var(--accent-soft);
      color: var(--accent-light);
    }

    .feature-icon svg {
      width: 18px;
      height: 18px;
    }

    .feature-card strong {
      display: block;
      font-size: 14px;
      letter-spacing: -0.01em;
    }

    .feature-card p {
      margin: 7px 0 0;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
    }

    .download-panel {
      position: relative;
      padding: clamp(22px, 3vw, 30px);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background:
        linear-gradient(145deg, rgba(255, 122, 26, 0.08), transparent 42%),
        var(--panel);
      box-shadow: var(--shadow);
      backdrop-filter: blur(22px);
      overflow: hidden;
    }

    .download-panel::after {
      content: "";
      position: absolute;
      right: -95px;
      top: -105px;
      width: 230px;
      height: 230px;
      border: 1px solid rgba(255, 122, 26, 0.14);
      border-radius: 50%;
      box-shadow: inset 0 0 60px rgba(255, 122, 26, 0.04);
      pointer-events: none;
    }

    .panel-heading {
      position: relative;
      z-index: 1;
      margin-bottom: 22px;
    }

    .panel-heading .section-eyebrow {
      margin-bottom: 9px;
    }

    h2 {
      margin: 0;
      font-size: clamp(24px, 2.4vw, 30px);
      line-height: 1.15;
      letter-spacing: -0.035em;
      text-wrap: balance;
    }

    .store-list {
      position: relative;
      z-index: 1;
      display: grid;
      gap: 11px;
    }

    .store-button {
      width: 100%;
      min-height: 72px;
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr) auto;
      gap: 14px;
      align-items: center;
      padding: 11px 14px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.045);
      color: var(--text);
      text-align: left;
      text-decoration: none;
      cursor: pointer;
      transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
    }

    .store-button:hover {
      transform: translateY(-2px);
      border-color: rgba(255, 122, 26, 0.42);
      background: rgba(255, 255, 255, 0.075);
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
    }

    .store-button:focus-visible,
    .social-link:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
    }

    .store-icon {
      display: grid;
      width: 44px;
      height: 44px;
      place-items: center;
      overflow: hidden;
      border-radius: 13px;
      background: #fff;
    }

    .store-icon img {
      width: 27px;
      height: 27px;
      object-fit: contain;
    }

    .store-button[href*="appgallery.huawei.com"] .store-icon {
      background: transparent;
    }

    .store-button[href*="appgallery.huawei.com"] .store-icon img {
      width: 44px;
      height: 44px;
    }

    .store-icon.apple {
      background: #fff;
      color: #101116;
    }

    .store-icon.apple svg {
      width: 25px;
      height: 25px;
    }

    .store-copy {
      min-width: 0;
    }

    .store-overline {
      display: block;
      margin-bottom: 2px;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.2;
    }

    .store-copy strong {
      display: block;
      font-size: 16px;
      line-height: 1.2;
      letter-spacing: -0.015em;
    }

    .store-arrow {
      width: 18px;
      height: 18px;
      color: #72747d;
      transition: color 180ms ease, transform 180ms ease;
    }

    .store-button:hover .store-arrow {
      color: var(--accent-light);
      transform: translate(2px, -2px);
    }

    .testing-pill {
      justify-self: end;
      padding: 6px 8px;
      border: 1px solid rgba(255, 122, 26, 0.22);
      border-radius: 999px;
      background: var(--accent-soft);
      color: var(--accent-light);
      font-size: 10px;
      font-weight: 720;
      line-height: 1.1;
      text-align: center;
    }

    .store-status {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: flex-start;
      gap: 9px;
      min-height: 42px;
      margin: 15px 2px 0;
      padding: 10px 12px;
      border-radius: 13px;
      background: rgba(123, 224, 163, 0.07);
      color: #bdc2c7;
      font-size: 12px;
      line-height: 1.45;
    }

    .status-dot {
      flex: 0 0 auto;
      width: 7px;
      height: 7px;
      margin-top: 5px;
      border-radius: 50%;
      background: var(--success);
      box-shadow: 0 0 0 4px rgba(123, 224, 163, 0.1);
    }

    .store-status.is-highlighted {
      background: var(--accent-soft);
      color: #ffd3b3;
      animation: status-pop 360ms ease both;
    }

    .store-status.is-highlighted .status-dot {
      background: var(--accent-light);
      box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.12);
    }

    @keyframes status-pop {
      0% { transform: translateY(4px); opacity: 0.55; }
      100% { transform: translateY(0); opacity: 1; }
    }

    .community-panel {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      margin-top: clamp(30px, 5vw, 54px);
      padding: 21px 23px;
      border: 1px solid var(--line);
      border-radius: var(--radius-md);
      background: rgba(255, 255, 255, 0.025);
    }

    .community-copy {
      max-width: 610px;
    }

    .community-copy .section-eyebrow {
      margin-bottom: 7px;
    }

    .community-copy h2 {
      font-size: 20px;
    }

    .community-copy p:last-child {
      margin: 7px 0 0;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.5;
    }

    .social-list {
      display: flex;
      flex: 0 0 auto;
      gap: 9px;
    }

    .social-link {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      min-height: 46px;
      padding: 8px 13px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.045);
      font-size: 13px;
      font-weight: 650;
      text-decoration: none;
      transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
    }

    .social-link:hover {
      transform: translateY(-1px);
      border-color: var(--line-strong);
      background: rgba(255, 255, 255, 0.075);
    }

    .social-link img {
      width: 24px;
      height: 24px;
      object-fit: contain;
    }

    .site-footer {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 24px;
      padding-top: 22px;
      border-top: 1px solid rgba(255, 255, 255, 0.055);
      color: #777981;
      font-size: 11px;
      line-height: 1.5;
    }

    .site-footer p {
      margin: 0;
    }

    .footer-meta {
      display: grid;
      gap: 5px;
    }

    .site-footer p:last-child {
      max-width: 560px;
    }

    .footer-legal {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      flex-wrap: wrap;
      gap: 7px 13px;
      max-width: 540px;
      text-align: right;
    }

    .footer-legal a.footer-legal-title {
      color: #a4a6ae;
      font-weight: 760;
    }

    .footer-legal a {
      color: #858791;
      text-decoration-color: rgba(255, 255, 255, 0.18);
      text-underline-offset: 3px;
      transition: color 180ms ease;
    }

    .footer-legal a:hover {
      color: var(--text);
    }

    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    @media (max-width: 900px) {
      main {
        padding-top: 55px;
      }

      .hero-mark {
        right: 0;
      }

      .hero {
        grid-template-columns: 1fr;
        gap: 34px;
      }

      .hero-copy {
        max-width: 760px;
      }

      h1 {
        max-width: 820px;
      }

      .download-panel {
        width: 100%;
        max-width: 640px;
      }
    }

    @media (max-width: 640px) {
      .page-shell {
        padding: 16px 16px 22px;
      }

      .site-header {
        align-items: flex-start;
      }

      .language-control {
        min-width: 136px;
      }

      main {
        padding: 45px 0 38px;
      }

      h1 {
        font-size: clamp(40px, 13vw, 58px);
        line-height: 1.01;
      }

      .hero-lead {
        margin-top: 20px;
      }

      .hero-mark {
        display: none;
      }

      .feature-grid {
        grid-template-columns: 1fr;
      }

      .feature-card {
        min-height: 0;
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        column-gap: 13px;
        align-items: start;
      }

      .feature-icon {
        grid-row: 1 / span 2;
        margin: 0;
      }

      .feature-card p {
        margin-top: 4px;
      }

      .download-panel {
        border-radius: 24px;
      }

      .community-panel {
        align-items: stretch;
        flex-direction: column;
      }

      .social-list {
        display: grid;
        grid-template-columns: 1fr;
      }

      .site-footer {
        align-items: flex-start;
        flex-direction: column;
      }

      .site-footer p:last-child {
        text-align: left;
      }

      .footer-legal {
        justify-content: flex-start;
        text-align: left;
      }
    }

    @media (max-width: 390px) {
      .brand-logo {
        width: 42px;
        height: 42px;
      }

      .brand-name {
        font-size: 17px;
      }

      .language-control {
        min-width: 124px;
        min-height: 42px;
        padding-left: 37px;
        padding-right: 32px;
      }

      .language-icon {
        left: 12px;
      }

      .language-chevron {
        right: 11px;
      }

      .testing-pill {
        max-width: 86px;
      }
    }

    @media (max-width: 480px) {
      .site-header {
        flex-wrap: wrap;
      }

      .brand {
        width: 100%;
      }

      .language-control {
        margin-left: auto;
      }
    }

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