/* Üst çubuk, düğmeler, indir rozetleri ve temiz masa satırı.
   Ana sayfa bunu main.css üzerinden alır; statik sayfalar /assets/chrome.css olarak.
   Renkler tokens.css'teki site rampasına bağlıdır. */

.shell {
  width: min(var(--page-width, 1200px), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter, 24px);
}

.icon {
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--fast, 150ms) var(--ease-out),
    border-color var(--fast, 150ms) var(--ease-out),
    transform 120ms var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn--sm { height: 36px; padding: 0 16px; border-radius: 8px; font-size: 14px; }
.btn--primary { color: var(--accent-ink); background: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost {
  border-color: var(--hairline-strong);
  color: var(--text);
  background: var(--raised);
}
.btn--ghost:hover { border-color: rgba(243, 234, 216, 0.24); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  border-bottom: 1px solid var(--hairline);
  background: rgba(12, 10, 8, 0.94);
}
/* Altından geçen logo ve ekranların rengi hafifçe sızar; blur yoksa opak kalır. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar {
    background: rgba(12, 10, 8, 0.64);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    backdrop-filter: blur(20px) saturate(1.2);
  }
}
.topbar a { color: inherit; text-decoration: none; }
.topbar .btn--primary { color: var(--accent-ink); }
.topbar img { display: block; max-width: none; }
.topbar__inner {
  display: flex;
  height: 64px;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
}
.brand .brand__icon { width: 32px; height: 32px; border-radius: 8px; }
.brand .brand__word { width: auto; height: 44px; }
.topbar__nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  color: var(--text-2);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
}
.topbar__nav a { transition: color var(--fast, 150ms) var(--ease-out); }
.topbar__nav a:hover { color: var(--text); }

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.store-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1;
  text-decoration: none;
}
button.store-badge {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}
.store-badge img { display: block; width: auto; }
/* Google rozetinin PNG'si üstte ve altta %12 saydam boşluk taşır; 64px'lik Play, 48px'lik Apple ile aynı boyda görünür. */
.store-badges--lg .store-badge--play img { height: 64px; }
.store-badges--lg .store-badge--apple img { height: 48px; }
.store-badges--sm .store-badge--play img { height: 48px; }
.store-badges--sm .store-badge--apple img { height: 36px; }
.store-badge--soon { cursor: not-allowed; }
.store-badge--soon img { opacity: 0.4; filter: grayscale(1); }
.store-badge__soon {
  color: var(--text-3);
  font-family: var(--font);
  font-size: 12px;
  white-space: nowrap;
}

.temiz-masa {
  max-width: 36rem;
  margin-top: 16px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  color: var(--text-2);
  font-size: 15px;
  line-height: 24px;
}
.temiz-masa strong { color: var(--text); font-weight: 500; }

@media (max-width: 960px) {
  .topbar__nav { display: none; }
  .topbar__inner > .btn { margin-left: auto; }
}

.design-note { margin-top: 16px; color: var(--text-2); font-size: 13px; line-height: 20px; }
