/* Shared Flashes bio template. Identical layout for all Wotaso app hubs. */
:root:has(.bio-page) {
        --bio-accent: 143, 93, 250;
        --bio-bg: #050507;
        color-scheme: dark;
        font-family:
          -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue",
          Arial, sans-serif;
        background: var(--bio-bg);
        color: #f8f7fb;
      }

      .bio-page, .bio-page * {
        box-sizing: border-box;
      }

      body:has(.bio-page) {
        font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
        color: #f8f7fb;
        line-height: 1.4;
        background:
          radial-gradient(circle at 50% 18%, rgba(var(--bio-accent), 0.22), transparent 30%),
          radial-gradient(circle at 12% 68%, rgba(92, 51, 178, 0.1), transparent 34%),
          var(--bio-bg);
        margin: 0;
        min-height: 100dvh;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
      }

      .bio-page {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        margin: 0 auto;
        min-height: 100dvh;
        padding:
          calc(24px + env(safe-area-inset-top)) 20px
          calc(16px + env(safe-area-inset-bottom));
        width: min(100%, 480px);
      }

      .bio-download {
        align-items: center;
        display: flex;
        flex-direction: column;
        text-align: center;
      }

      .bio-icon {
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 18px;
        box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
        display: block;
        height: 72px;
        width: 72px;
      }

      .bio-page h1 {
        font-size: 1.85rem;
        font-weight: 750;
        letter-spacing: -0.045em;
        line-height: 1;
        margin: 15px 0 0;
      }

      .bio-tagline {
        color: #aaa4b7;
        font-size: 0.94rem;
        letter-spacing: -0.015em;
        line-height: 1.4;
        margin: 8px 0 17px;
      }

      .bio-store-link {
        border-radius: 9px;
        display: block;
        line-height: 0;
        outline-offset: 6px;
      }

      .bio-store-link:focus-visible {
        outline: 3px solid rgb(var(--bio-accent));
      }

      .bio-store-link:active {
        transform: scale(0.98);
      }

      .bio-store-badge {
        display: block;
        height: auto;
        width: 180px;
      }

      .bio-demo-stage {
        align-items: center;
        display: flex;
        justify-content: center;
        min-height: 0;
        padding: clamp(18px, 3.5vh, 32px) 0 16px;
        position: relative;
      }

      .bio-demo-stage::before {
        background: rgba(var(--bio-accent), 0.2);
        border-radius: 50%;
        content: '';
        filter: blur(44px);
        height: 46%;
        position: absolute;
        width: 58%;
      }

      .bio-phone {
        background: linear-gradient(165deg, #24212f 0%, #0d0c12 100%);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 29px;
        box-shadow: 0 28px 62px rgba(0, 0, 0, 0.52);
        isolation: isolate;
        overflow: hidden;
        padding: 6px 5px 10px;
        position: relative;
        width: clamp(148px, 43vw, 184px);
      }

      .bio-phone::after {
        background: rgba(255, 255, 255, 0.5);
        border-radius: 999px;
        bottom: 6px;
        content: '';
        height: 3px;
        left: 50%;
        position: absolute;
        transform: translateX(-50%);
        width: 72px;
        z-index: 2;
      }

      .bio-phone video {
        aspect-ratio: 590 / 1278;
        background: var(--bio-bg);
        border-radius: 25px;
        display: block;
        height: auto;
        object-fit: contain;
        width: 100%;
      }

      .bio-page [hidden] {
        display: none !important;
      }

      .bio-footer {
        color: #aaa4b7;
        font-size: 0.8125rem;
        font-weight: 500;
        line-height: 1.4;
        text-align: center;
      }

      .bio-legal-links {
        display: flex;
        flex-wrap: wrap;
        gap: 7px 15px;
        justify-content: center;
      }

      .bio-legal-links a {
        align-items: center;
        color: inherit;
        display: inline-flex;
        min-height: 36px;
        padding: 8px 2px;
        text-decoration: none;
      }

      .bio-legal-links a:hover,
      .bio-legal-links a:focus-visible {
        color: #f8f7fb;
      }

      .bio-legal-links a:last-child {
        flex-basis: 100%;
        justify-content: center;
      }

      @media (max-height: 620px) {
        .bio-page {
          padding-top: calc(14px + env(safe-area-inset-top));
        }

        .bio-icon {
          border-radius: 14px;
          height: 56px;
          width: 56px;
        }

        .bio-page h1 {
          font-size: 1.55rem;
          margin-top: 10px;
        }

        .bio-tagline {
          margin: 5px 0 12px;
        }

        .bio-store-badge {
          width: 164px;
        }

        .bio-demo-stage {
          padding: 12px 0 10px;
        }

        .bio-phone {
          width: 132px;
        }
      }

      @media (prefers-reduced-motion: reduce) {
        .bio-store-link:active {
          transform: none;
        }
      }

.bio-page .bio-download { padding: 0; margin: 0; width: 100%; }
.bio-page h1 { color: #f8f7fb; font-family: inherit; max-width: none; }
.bio-page .bio-tagline { max-width: 360px; color: #aaa4b7; }
.bio-page .bio-note { margin: 10px 0 0; color: #aaa4b7; font-size: 12px; line-height: 1.5; }
.bio-page .bio-launch-cta { display: flex; align-items: center; justify-content: center; width: 180px; min-height: 60px; padding: 10px; border-radius: 9px; background: #f8f7fb; color: #080e20; font-size: 14px; font-weight: 700; line-height: 1.2; }
.bio-page .bio-store-link { text-decoration: none; }
.bio-page .bio-footer { display: block; width: 100%; margin: 0; padding: 0; }
.bio-page .bio-legal-links { display: flex; font-size: inherit; font-weight: 500; margin: 0; }
.bio-page .bio-legal-links a { display: inline-flex; color: inherit; font: inherit; text-decoration: none; }
.bio-page .bio-legal-links a:last-child { flex-basis: 100%; justify-content: center; }
@media (max-height: 740px) { .bio-page .bio-phone { width: 148px; } }
@media (max-height: 620px) { .bio-page .bio-phone { width: 132px; } }
