/* ==========================================================================
   567 Slots — V10 Brand App Profile
   Cool-silver marketplace, cobalt-command accent, condensed-scoreboard typography,
   ruled-newspaper section geometry, editorial-index-rail signature device.
   ========================================================================== */

:root {
  /* Cobalt-command accent (cool-silver marketplace palette) */
  --c-primary: #1e3a8a;
  --c-primary-2: #2746b5;
  --c-primary-ink: #0d1f4d;
  --c-accent: #2563eb;
  --c-accent-soft: #60a5fa;
  --c-deep: #07111f;
  --c-deep-2: #0f1f3a;

  /* Cool-silver marketplace surfaces */
  --c-bg: #f4f6fb;
  --c-bg-2: #ffffff;
  --c-surface: #ffffff;
  --c-surface-2: #eef2f9;
  --c-surface-3: #e3e9f3;
  --c-rail: #dfe5f1;
  --c-rule: #cfd6e3;
  --c-rule-2: #b3bfd1;

  /* Type */
  --c-text: #0d1f4d;
  --c-text-2: #2a3a5c;
  --c-muted: #4a5872;
  --c-muted-2: #6c7a96;

  /* Status */
  --c-ok: #0e8a64;
  --c-warn: #b45309;
  --c-bad: #b42318;
  --c-gold: #b78628;

  /* Ruled newspaper edges */
  --rule-w: 1px;
  --rule-w-2: 2px;

  /* Radii */
  --r-1: 6px;
  --r-2: 10px;
  --r-3: 14px;
  --r-4: 18px;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 32px;
  --s-8: 40px;
  --s-9: 56px;
  --s-10: 72px;

  /* Type */
  --ff-display: "Archivo", "Barlow Semi Condensed", "Oswald", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-body: "Inter", "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-mono: "JetBrains Mono", "IBM Plex Mono", "Menlo", monospace;

  --container: 1240px;

  /* Layered shadow */
  --sh-1: 0 1px 2px rgba(13, 31, 77, 0.06);
  --sh-2: 0 2px 6px rgba(13, 31, 77, 0.08);
  --sh-3: 0 8px 24px rgba(13, 31, 77, 0.10);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }

/* Layout primitives */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--c-deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 9999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 350;
  background: var(--c-bg-2);
  border-bottom: var(--rule-w) solid var(--c-rule);
  backdrop-filter: saturate(180%) blur(8px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  min-height: 64px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-text);
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand-mark:hover { text-decoration: none; }
.brand-mark__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.brand-mark__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}
.brand-mark__name { font-size: 18px; }
.brand-mark__sub {
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--c-muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-top: -2px;
}

/* Desktop nav */
.primary-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}
.primary-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--c-text-2);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.primary-nav a:hover { background: var(--c-surface-2); text-decoration: none; }
.primary-nav a.cta-pill {
  background: var(--c-primary);
  color: #fff;
  font-weight: 600;
}
.primary-nav a.cta-pill:hover { background: var(--c-primary-2); }

.header-cta {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  background: var(--c-primary);
  color: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--c-primary-2); text-decoration: none; }
.btn--accent { background: var(--c-accent); }
.btn--accent:hover { background: #1d4ed8; }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--c-rule-2); }
.btn--ghost:hover { background: var(--c-surface-2); }

/* Hamburger */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--c-rule);
  border-radius: 8px;
  margin-left: auto;
  align-items: center;
  padding: 0;
  position: relative;
  z-index: 360;
  cursor: pointer;
}
.site-header[aria-hidden="true"] .hamburger,
body[data-drawer-open="true"] .hamburger { visibility: hidden; pointer-events: none; }
.hamburger:focus-visible {
  outline: 2px solid var(--c-primary, #0d1f4d);
  outline-offset: 2px;
}
.hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--c-bg-2);
  display: flex;
  flex-direction: column;
  padding: 80px 24px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  pointer-events: none;
  visibility: hidden;
}
.mobile-drawer[data-open="true"] {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}
.mobile-drawer ul { list-style: none; padding: 0; margin: 0 0 24px; }
.mobile-drawer li { border-bottom: var(--rule-w) solid var(--c-rule); }
.mobile-drawer a {
  display: block;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--c-text);
}
.mobile-drawer__cta { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 24px; }
.mobile-drawer__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
  color: var(--c-text);
  background: var(--c-surface);
  border: 1px solid var(--c-rule);
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  z-index: 400;
}
.mobile-drawer__close:hover { background: var(--c-surface-2); }

@media (min-width: 900px) {
  .primary-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .hamburger { display: none; }
  .mobile-drawer { display: none !important; }
}

/* Compact header nav at intermediate widths to prevent overflow */
@media (max-width: 1199px) {
  .site-header__inner { gap: 8px; }
  .primary-nav { gap: 0; }
  .primary-nav a { padding: 8px 8px; font-size: 13px; }
}
@media (max-width: 1099px) {
  .primary-nav a:nth-child(n+7) { display: none; } /* hide some nav items at narrow desktop */
}
@media (max-width: 1023px) {
  .primary-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: inline-flex; margin-left: auto; }
}

/* Prevent media from expanding CSS Grid tracks */
.container > * { min-width: 0; }
.grid { min-width: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--c-deep);
  color: #c7d1e3;
  padding: 48px 0 24px;
  margin-top: 64px;
}
.site-footer a { color: #e2e8f0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-grid h3 {
  color: #fff;
  font-family: var(--ff-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid__about p { font-size: 14px; color: #a5b1c6; max-width: 32ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  font-size: 13px;
  color: #94a1b8;
}
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 899px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Sections — ruled newspaper geometry
   ========================================================================== */
.section {
  padding: clamp(36px, 6vw, 64px) 0;
}
.section--ink { background: var(--c-deep); color: #e2e8f0; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--paper { background: var(--c-bg-2); }
.section--rule {
  border-top: var(--rule-w-2) solid var(--c-text);
  border-bottom: var(--rule-w) solid var(--c-rule);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--c-primary);
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--c-text);
}
h1 { font-size: clamp(28px, 4.4vw, 44px); }
h2 { font-size: clamp(22px, 3.2vw, 32px); margin-top: 16px; }
h3 { font-size: clamp(18px, 2.2vw, 22px); }
p { margin: 0 0 14px; color: var(--c-text-2); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--c-text-2);
  max-width: 64ch;
}

/* ==========================================================================
   Brand App Profile block (data-brand-app-profile)
   ========================================================================== */
.bap {
  background: linear-gradient(180deg, var(--c-bg-2) 0%, var(--c-surface-2) 100%);
  border-bottom: var(--rule-w-2) solid var(--c-text);
  padding: clamp(28px, 5vw, 48px) 0 clamp(36px, 5vw, 56px);
}
.bap__grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}
.bap__icon {
  width: 200px; height: 200px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 64px;
  letter-spacing: -0.04em;
  box-shadow: 0 24px 48px rgba(13, 31, 77, 0.20);
  position: relative;
  overflow: hidden;
}
.bap__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 60%);
}
.bap__icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}
.bap__id-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.bap__cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--c-surface-3);
  color: var(--c-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.bap__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--c-ok);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.bap__status::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--c-ok);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(14, 138, 100, 0.16);
}
.bap__h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 8px;
}
.bap__tag {
  font-size: 15px;
  color: var(--c-text-2);
  margin-bottom: 18px;
  max-width: 60ch;
}
.bap__h1-sub {
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 4px;
}
.bap__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: var(--rule-w) solid var(--c-rule);
}
.bap__fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.bap__fact-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted-2);
}
.bap__fact-val {
  font-size: 14px;
  color: var(--c-text);
  font-weight: 600;
  word-break: break-word;
}
.bap__cta-card {
  background: var(--c-bg-2);
  border: var(--rule-w-2) solid var(--c-text);
  padding: 18px;
  border-radius: var(--r-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 84px;
}
.bap__cta-card .btn { width: 100%; padding: 14px 18px; font-size: 15px; }
.bap__cta-note { font-size: 12px; color: var(--c-muted); line-height: 1.5; }
.bap__cta-verified {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--c-ok);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.bap__cta-verified::before {
  content: "✓";
  width: 16px; height: 16px;
  background: var(--c-ok);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 899px) {
  .bap__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .bap__icon { width: 120px; height: 120px; border-radius: 24px; font-size: 40px; }
  .bap__cta-card { position: static; }
  .bap__facts { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ==========================================================================
   Gallery rail (data-brand-app-gallery)
   ========================================================================== */
.gallery-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.gallery-rail__item {
  border: var(--rule-w) solid var(--c-rule);
  border-radius: var(--r-3);
  overflow: hidden;
  background: var(--c-bg-2);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.gallery-rail__item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-rail__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(7, 17, 31, 0.78));
  color: #fff;
  font-size: 12px;
  padding: 14px 12px 10px;
  font-weight: 500;
}
@media (max-width: 899px) {
  .gallery-rail { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Generic product overview / features / install (BAP blocks)
   ========================================================================== */
.bap-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 36px;
  align-items: start;
  padding: 28px 0;
  border-top: var(--rule-w) solid var(--c-rule);
}
.bap-block > * { min-width: 0; }
.bap-block:first-of-type { border-top: none; padding-top: 0; }
.bap-block__title {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted-2);
  margin-bottom: 6px;
}
.bap-block__h {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-bottom: 0;
}
@media (max-width: 899px) {
  .bap-block { grid-template-columns: 1fr; gap: 16px; }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.feature-grid__cell {
  background: var(--c-bg-2);
  border: var(--rule-w) solid var(--c-rule);
  border-radius: var(--r-2);
  padding: 16px;
}
.feature-grid__cell h4 {
  font-size: 15px;
  font-family: var(--ff-display);
  margin-bottom: 4px;
}
.feature-grid__cell p { font-size: 14px; color: var(--c-text-2); margin: 0; }
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.install-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
.install-steps li {
  position: relative;
  padding: 14px 16px 14px 56px;
  background: var(--c-bg-2);
  border: var(--rule-w) solid var(--c-rule);
  border-radius: var(--r-2);
}
.install-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px; top: 12px;
  width: 32px; height: 32px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 14px;
}

.trouble-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.trouble-grid > div {
  padding: 14px;
  background: var(--c-surface-2);
  border-radius: var(--r-2);
}
.trouble-grid h4 {
  font-size: 14px;
  font-family: var(--ff-display);
  margin-bottom: 4px;
}
.trouble-grid p { font-size: 13px; color: var(--c-text-2); margin: 0; }
@media (max-width: 600px) { .trouble-grid { grid-template-columns: 1fr; } }

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 600;
}

/* ==========================================================================
   HOT row (Fantasy / Rummy / Sports / Games)
   ========================================================================== */
.hot-shelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.hot-card {
  display: flex;
  flex-direction: column;
  background: var(--c-bg-2);
  border: var(--rule-w) solid var(--c-rule);
  border-radius: var(--r-3);
  overflow: hidden;
  text-decoration: none;
  color: var(--c-text);
  min-height: 100%;
}
.hot-card:hover { text-decoration: none; border-color: var(--c-rule-2); }
.hot-card__art {
  aspect-ratio: 4 / 3;
  background: var(--c-surface-3);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.hot-card__art img { width: 100%; height: 100%; object-fit: cover; }
.hot-card__art[data-hot-visual="sports-ball"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 55%, rgba(255,255,255,0.10), transparent 65%);
  pointer-events: none;
}
.hot-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.hot-card__cat {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted-2);
}
.hot-card__name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-text);
}
.hot-card__intent { font-size: 13px; color: var(--c-text-2); }
.hot-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent);
}
@media (max-width: 899px) {
  .hot-shelf {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }
  .hot-card {
    flex: 0 0 70%;
    scroll-snap-align: start;
  }
}

/* ==========================================================================
   YONO collection & app directory preview
   ========================================================================== */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: var(--rule-w-2) solid var(--c-text);
}
.section-head h2 { margin: 0; }
.section-head__meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted-2);
}

.app-row-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.app-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--c-bg-2);
  border: var(--rule-w) solid var(--c-rule);
  border-radius: var(--r-2);
  padding: 10px 14px 10px 10px;
  min-height: 96px;
}
.app-row__art {
  width: 80px; height: 80px;
  border-radius: var(--r-2);
  background: var(--c-surface-3);
  overflow: hidden;
}
.app-row__art img { width: 100%; height: 100%; object-fit: cover; }
.app-row__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--c-text);
  margin-bottom: 2px;
  text-decoration: none;
}
.app-row__title:hover { text-decoration: underline; }
.app-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--c-muted);
}
.app-row__meta span { display: inline-flex; align-items: center; gap: 4px; }
.app-row__cta { white-space: nowrap; }
.app-row__cta .btn { padding: 10px 14px; font-size: 13px; }

@media (max-width: 600px) {
  .app-row { grid-template-columns: 64px 1fr; gap: 10px; padding: 8px; min-height: 0; }
  .app-row__art { width: 60px; height: 60px; }
  .app-row__cta { grid-column: 1 / -1; }
  .app-row__cta .btn { width: 100%; }
}

/* ==========================================================================
   Promos / VIP / Code cards
   ========================================================================== */
.commercial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.commercial-card {
  background: var(--c-bg-2);
  border: var(--rule-w) solid var(--c-rule);
  border-radius: var(--r-3);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.commercial-card h3 { font-size: 18px; margin: 0; }
.commercial-card p { font-size: 14px; color: var(--c-text-2); margin: 0; }
.commercial-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 899px) { .commercial-grid { grid-template-columns: 1fr; } }

.vip-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border: var(--rule-w) solid var(--c-rule);
  border-radius: var(--r-2);
  background: var(--c-bg-2);
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.vip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 760px;
}
.vip-table th, .vip-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: var(--rule-w) solid var(--c-rule);
  white-space: nowrap;
}
.vip-table thead {
  background: var(--c-surface-2);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted-2);
}
.vip-table tbody tr:last-child td { border-bottom: none; }

.code-banner {
  background: var(--c-deep);
  color: #fff;
  border-radius: var(--r-3);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.code-banner h2 { color: #fff; margin-bottom: 4px; }
.code-banner p { color: #a5b1c6; margin: 0; }
.code-banner .btn { background: var(--c-accent); padding: 14px 22px; }
@media (max-width: 600px) {
  .code-banner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   News
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.news-card {
  background: var(--c-bg-2);
  border: var(--rule-w) solid var(--c-rule);
  border-radius: var(--r-3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.news-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.news-card__date { font-family: var(--ff-mono); font-size: 11px; color: var(--c-muted-2); letter-spacing: 0.08em; text-transform: uppercase; }
.news-card__title { font-family: var(--ff-display); font-weight: 700; font-size: 17px; color: var(--c-text); line-height: 1.25; }
.news-card__title:hover { color: var(--c-accent); }
.news-card__excerpt { font-size: 13px; color: var(--c-text-2); }
@media (max-width: 899px) { .news-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ accordion (task-led)
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.faq-item {
  background: var(--c-bg-2);
  border: var(--rule-w) solid var(--c-rule);
  border-radius: var(--r-2);
  padding: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--c-muted);
  line-height: 1;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__body { padding: 0 18px 16px; font-size: 14px; color: var(--c-text-2); }

/* ==========================================================================
   Sticky mobile affiliate CTA
   ========================================================================== */
.sticky-cta {
  position: fixed;
  left: 12px; right: 12px;
  bottom: 12px;
  z-index: 250;
  display: none;
  background: var(--c-deep);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(7, 17, 31, 0.30);
  padding: 6px;
  align-items: center;
  gap: 8px;
}
.sticky-cta__label {
  flex: 1;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding-left: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta .btn {
  flex: 0 0 auto;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 999px;
  background: var(--c-accent);
}
@media (max-width: 899px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* ==========================================================================
   App directory page (data-app-directory)
   ========================================================================== */
.directory-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
  align-items: center;
}
.directory-controls input[type="search"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 14px;
  border: var(--rule-w) solid var(--c-rule-2);
  border-radius: var(--r-2);
  font: inherit;
  background: var(--c-bg-2);
}
.directory-controls select {
  padding: 12px 14px;
  border: var(--rule-w) solid var(--c-rule-2);
  border-radius: var(--r-2);
  font: inherit;
  background: var(--c-bg-2);
}
.directory-controls__count {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--c-muted-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .directory-controls { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   Article (news detail) layout
   ========================================================================== */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 0 56px;
}
.article h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.article .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--c-muted-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.article p { font-size: 17px; line-height: 1.7; }
.article h2 { margin-top: 28px; font-size: clamp(22px, 2.6vw, 26px); }
.article h3 { margin-top: 22px; font-size: clamp(18px, 2vw, 22px); }
.article ul, .article ol { padding-left: 22px; margin: 0 0 14px; color: var(--c-text-2); }
.article li { margin-bottom: 6px; font-size: 16px; }

/* ==========================================================================
   Page utilities
   ========================================================================== */
.muted { color: var(--c-muted); }
.mono { font-family: var(--ff-mono); }
.center { text-align: center; }
.flex { display: flex; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* Hero (used on support / install) */
.page-hero {
  background: linear-gradient(180deg, var(--c-deep) 0%, var(--c-deep-2) 100%);
  color: #fff;
  padding: clamp(40px, 6vw, 64px) 0;
  border-bottom: var(--rule-w-2) solid var(--c-text);
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #a5b1c6; max-width: 60ch; }
.page-hero .container { display: grid; gap: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Print nicety */
@media print {
  .site-header, .site-footer, .sticky-cta, .hamburger, .mobile-drawer { display: none !important; }
}