.live-number-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #2d394a;
  border-radius: 18px;
  background: #131c29;
}

.live-number-grid i {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 1px solid #2c3746;
  border-radius: 8px;
  background: #202a38;
  color: #aab5c7;
  font-style: normal;
  font-weight: 800;
}

.live-number-grid i.drawn {
  border-color: rgba(255, 218, 185, .34);
  background: linear-gradient(#fa9148, #e8752b);
  color: #fff;
}

/* Apple/HIG pass: clearer content layer, glass only for functional controls. */
:root {
  --rb-text: #102d3a;
  --rb-muted: #455e68;
  --rb-surface: rgba(255, 250, 244, .94);
  --rb-surface-strong: #fffaf4;
  --rb-focus: #0a84ff;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  min-height: 68px;
}

.site-header.is-scrolled {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .34)),
    rgba(255, 255, 255, .58);
}

.brand,
.back-link,
.site-header nav a,
.language-button,
.login-button,
.button {
  min-height: 44px;
}

.site-header nav a,
.back-link,
.text-link {
  color: var(--rb-text);
}

.hero-glass {
  max-width: 980px;
  border-color: rgba(255, 255, 255, .28);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero p,
.hero-copy p,
.pricing-intro p,
.product-copy p,
.price-card p {
  color: var(--rb-muted);
}

.product-card,
.price-card {
  background: var(--rb-surface);
  border-color: rgba(16, 45, 58, .14);
}

.product-card-soon {
  opacity: .62;
  filter: saturate(.72);
}

.product-copy > span:not(.wishlist-button),
.price-card > span {
  letter-spacing: .08em;
  text-transform: none;
}

.wishlist-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: #3f4f57;
  background: #ece7df;
}

.button-dark {
  background: #102d3a;
}

.login-button {
  background: rgba(255, 255, 255, .44);
}

.button-glass {
  background: rgba(255, 255, 255, .58);
  color: var(--rb-text);
}

:is(a, button):focus-visible {
  outline: 3px solid var(--rb-focus);
  outline-offset: 3px;
}

.screen-frame {
  border-color: rgba(255, 255, 255, .18);
}

.showcase {
  background: linear-gradient(180deg, #141f2b, #101720);
}

.demo-card {
  scroll-margin-top: 110px;
}

.screenshot-stack .stack-shot {
  animation-duration: 18s;
}

.custom-tile small,
.custom-matrix small {
  font-size: clamp(.78rem, .95vw, .95rem);
  line-height: 1.25;
}

.safe-side button {
  min-height: 44px;
  cursor: pointer;
}

@media (max-width: 680px) {
  .site-header {
    min-height: 62px;
  }

  .header-actions {
    gap: 6px;
  }

  .language-button,
  .login-button {
    padding-inline: 12px;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero-glass {
    padding-inline: 0;
  }

  .product-copy,
  .price-card {
    padding: 22px;
  }

  .live-number-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .live-number-grid i {
    min-height: 40px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .site-header.is-scrolled,
  .login-button,
  .button-glass {
    background: #fffaf4;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
