/*
  Shared app-download banner.

  To add it to another static page:
    1. <link rel="stylesheet" href="/app-banner.css"> in the <head>
    2. paste the .app-banner block from about.html as the first child of <body>

  The custom properties fall back to literal values, so this works on pages
  that don't define the site's :root variables.
*/

.app-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule, rgba(255, 255, 255, 0.12));
}

.app-banner-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}

.app-banner-text {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.app-banner-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text, #e0e0e0);
}

.app-banner-sub {
  display: block;
  font-size: 13px;
  color: var(--text-muted, #9aa0a6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-banner-ctas {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.app-banner-cta {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--link, #64b5f6);
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.app-banner-cta:hover {
  background: #90caf9;
  text-decoration: none;
}

@media (max-width: 600px) {
  .app-banner-inner { padding: 10px 16px; gap: 10px; }
  .app-banner-icon { width: 38px; height: 38px; }
  .app-banner-sub { display: none; }
  .app-banner-cta { padding: 8px 14px; }
}
