:root {
  --ink: #1a1512;
  --muted: #6b5e54;
  --surface: #f6f1ea;
  --card: #fffefb;
  --line: #e5d9cc;
  --brand: #c2410c;
  --brand-2: #9a3412;
  --accent: #0f766e;
  --accent-2: #115e59;
  --ok: #15803d;
  --header: #211a16;
  --strip: #2a211c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1080px, 92%); margin: 0 auto; }

/* ===== Top strip + header (not white-glass twin) ===== */
.top-strip {
  background: var(--strip);
  color: #d6c7b8;
  font-size: .78rem;
  font-weight: 600;
}
.top-strip-inner {
  display: flex; justify-content: space-between; gap: .75rem;
  padding: .45rem 0; flex-wrap: wrap;
}
.top-strip a { color: #fdba74; font-weight: 800; text-decoration: none; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
  border-bottom: 1px solid #3f332c;
}
.nav-row {
  display: flex; align-items: center; gap: .85rem;
  padding: .75rem 0;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none !important; margin-right: auto;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: .45rem;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #ea580c, #9a3412);
  color: #fff; font-weight: 900; font-size: .78rem;
  letter-spacing: -.02em;
}
.brand-text { color: #f5ebe0; font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em; }
.brand-text strong { color: #fdba74; font-weight: 900; }
.nav-links { display: none; gap: .85rem; align-items: center; }
.nav-links a { color: #c4b5a5; font-weight: 600; font-size: .86rem; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta {
  display: none;
  background: var(--brand); color: #fff !important;
  font-weight: 800; font-size: .82rem;
  padding: .45rem .75rem; border-radius: .4rem;
  text-decoration: none !important;
}
.menu-btn {
  border: 1px solid #4a3d34; background: #2f2620; color: #fff;
  border-radius: .4rem; padding: .45rem .7rem; font-weight: 700; cursor: pointer;
}
.mobile-nav { display: none; flex-direction: column; gap: .55rem; padding: 0 0 .9rem; }
.mobile-nav.open { display: flex; border-top: 1px solid #3f332c; padding-top: .75rem; }
.mobile-nav a { color: #e7e0d7; font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: .4rem; padding: .78rem 1.15rem; font-weight: 800;
  border: 0; cursor: pointer; text-decoration: none !important;
}
.btn-primary { background: var(--brand); color: #fff !important; }
.btn-primary:hover { background: var(--brand-2); }
.btn-secondary {
  background: transparent; color: inherit !important;
  border: 2px solid currentColor;
}
.btn-accent { background: var(--accent); color: #fff !important; }
.text-link { font-weight: 800; white-space: nowrap; color: var(--brand); }

/* ===== Heroes ===== */
.hero {
  background: #231c17;
  color: #f8efe6;
  padding: 2.4rem 0 2.2rem;
  border-bottom: 4px solid var(--brand);
}
.hero h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.65rem);
  line-height: 1.12; margin: 0 0 .7rem; letter-spacing: -.035em; color: #fff;
}
.hero .lead { color: #e8d8c8; font-size: 1.04rem; max-width: 46rem; margin: 0; }
.hero .lead strong { color: #fff; }
.hero a:not(.btn) { color: #fdba74; }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.15rem; }
.hero .btn-secondary { color: #fff !important; border-color: rgba(255,255,255,.55); }
.hero-kicker {
  display: inline-block; font-size: .75rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: #fdba74; margin-bottom: .65rem;
}
.hero-points {
  display: grid; gap: .45rem; margin: 1.35rem 0 0; padding: 0; list-style: none;
  max-width: 36rem;
}
.hero-points li {
  position: relative; padding-left: 1.15rem; color: #d9c9b8; font-size: .92rem;
}
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .55rem;
  width: .55rem; height: .55rem; border-radius: 2px; background: var(--brand);
}
.crumb { font-size: .82rem; color: #bba89a; margin: 0 0 1rem; }
.crumb a { color: #fdba74; }
.hero-app-panel {
  display: grid; gap: 1rem; align-items: start;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .75rem; padding: 1rem;
}
.hero-app-icon {
  width: 88px; height: 88px; border-radius: 1rem; object-fit: cover;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.hero-app-copy .badge { margin-bottom: .45rem; }
.rating-line { margin: .65rem 0 0; color: #e8d8c8; }

/* ===== Sections ===== */
.section { padding: 2.3rem 0; }
.section-muted { background: #efe6da; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 {
  font-size: 1.4rem; margin: 0 0 .4rem; letter-spacing: -.02em;
}
.section .sub { color: var(--muted); margin: 0 0 1.1rem; max-width: 44rem; }
.section-head {
  display: flex; justify-content: space-between; gap: 1rem;
  align-items: flex-end; margin-bottom: 1rem; flex-wrap: wrap;
}
.section-head .sub { margin-bottom: 0; }
.prose p { margin: 0 0 1rem; }
.prose h2, .prose h3 { margin-top: 1.55rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.15rem; }

/* ===== App LIST rows (not card grid twin) ===== */
.app-list {
  display: flex; flex-direction: column; gap: .65rem;
}
.app-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: .75rem .85rem;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: .55rem;
  padding: .85rem;
}
.app-row--bonus {
  border-color: #99f6e4;
  background: linear-gradient(90deg, #ecfdf5, #fffefb 42%);
}
.app-row-icon {
  width: 64px; height: 64px; border-radius: .85rem; object-fit: cover;
  background: #e7e0d7;
}
.app-row-body h3 { margin: 0; font-size: 1.02rem; }
.app-row-body h3 a { color: var(--ink); text-decoration: none; }
.app-row-body h3 a:hover { color: var(--brand); }
.app-row-meta {
  display: flex; flex-wrap: wrap; gap: .35rem .65rem;
  margin: .3rem 0; color: var(--muted); font-size: .78rem; font-weight: 600;
}
.app-row-blurb { margin: 0; color: var(--muted); font-size: .86rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .25rem; }
.app-row-actions {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr; gap: .45rem;
}
.app-row-actions a {
  text-align: center; font-size: .82rem; font-weight: 800;
  padding: .55rem .4rem; border-radius: .35rem; text-decoration: none !important;
}
.dl { background: var(--brand); color: #fff !important; }
.dl-bonus { background: var(--accent); color: #fff !important; }
.details-btn {
  background: #fff; color: var(--ink) !important; border: 1px solid var(--line);
}
.stars { color: #ca8a04; letter-spacing: .04em; }

.badge {
  display: inline-block; font-size: .65rem; font-weight: 800;
  padding: .14rem .4rem; border-radius: .25rem;
  background: #ffedd5; color: #9a3412;
  text-transform: uppercase; letter-spacing: .03em;
}
.badge-new { background: #fee2e2; color: #991b1b; }
.badge-bonus { background: var(--accent); color: #fff; }
.hero .badge {
  background: rgba(255,255,255,.1); color: #fdba74;
  border: 1px solid rgba(253,186,116,.35);
}

/* Filter toolbar */
.filter-bar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: .55rem;
  padding: .75rem .9rem .55rem;
  margin-bottom: 1rem;
}
.filter-label {
  margin: 0 0 .45rem; font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.tab {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  border-radius: .35rem; padding: .42rem .75rem; font-weight: 800;
  cursor: pointer; font-size: .84rem;
}
.tab.active {
  background: var(--header); color: #fff; border-color: var(--header);
}

/* Category chips */
.chip-row {
  display: grid; gap: .65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.chip {
  display: flex; flex-direction: column; gap: .15rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: .5rem; padding: .85rem .9rem;
  text-decoration: none !important; color: inherit;
}
.chip strong { font-size: .98rem; }
.chip span { color: var(--muted); font-size: .8rem; }
.chip:hover { border-color: #fdba74; box-shadow: 0 8px 18px rgba(194,65,12,.08); }

.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: .45rem; padding: .85rem 1rem; margin: 0 0 .55rem;
}
.faq summary { cursor: pointer; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: .6rem 0 0; color: var(--muted); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  background: var(--card); border: 1px solid var(--line); border-radius: .45rem;
  padding: .9rem 1rem .9rem 3.1rem; margin: 0 0 .55rem; position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: .8rem; top: .85rem;
  width: 1.65rem; height: 1.65rem; border-radius: .3rem;
  background: var(--brand); color: #fff; font-weight: 800;
  display: grid; place-items: center; font-size: .82rem;
}

/* Footer */
.site-footer {
  background: #140f0c; color: #cbbdb0;
  padding: 2.2rem 0 1.4rem; margin-top: 1.25rem;
  border-top: 4px solid var(--brand);
}
.site-footer a { color: #fdba74; }
.footer-top {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  padding-bottom: 1.25rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid #3a2f28;
}
.footer-brand { display: flex; gap: .75rem; align-items: flex-start; max-width: 34rem; }
.footer-brand strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: .25rem; }
.footer-brand p { margin: 0; font-size: .9rem; color: #b7a79a; }
.footer-grid {
  display: grid; gap: 1.15rem;
  grid-template-columns: 1fr;
}
.site-footer h3 { color: #fff; margin: 0 0 .45rem; font-size: .95rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .28rem 0; }
.foot-note { margin-top: 1.3rem; font-size: .8rem; color: #8f8176; }

.vip-popup-backdrop {
  position: fixed; inset: 0; background: rgba(20,15,12,.62);
  display: grid; place-items: end center; z-index: 100; opacity: 0;
  pointer-events: none; transition: opacity .2s ease; padding: 1rem;
}
.vip-popup-backdrop.open { opacity: 1; pointer-events: auto; }
.vip-popup {
  width: min(420px, 100%); background: #fffefb; border-radius: .65rem;
  padding: 1.1rem; border-top: 4px solid var(--brand);
  box-shadow: 0 20px 48px rgba(0,0,0,.35);
}
.vip-popup-top { display: flex; gap: .8rem; align-items: flex-start; }
.vip-popup-top img { width: 64px; height: 64px; border-radius: .85rem; object-fit: cover; }
.vip-popup-top h3 { margin: .2rem 0; }
.vip-popup-top p { margin: 0; color: var(--muted); font-size: .9rem; }
.vip-popup-actions { display: grid; gap: .5rem; margin-top: .95rem; }
.vip-popup-dl {
  display: block; text-align: center; background: var(--brand);
  color: #fff !important; font-weight: 800; padding: .8rem; border-radius: .4rem;
  text-decoration: none !important;
}
.vip-popup-close {
  border: 1px solid var(--line); background: #fff; border-radius: .4rem;
  padding: .7rem; font-weight: 700; cursor: pointer;
}

@media (min-width: 720px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-btn { display: none; }
  .hero-points { grid-template-columns: 1fr 1fr; max-width: 44rem; }
  .hero-app-panel { grid-template-columns: 88px 1fr; gap: 1.15rem; padding: 1.2rem; }
  .app-row {
    grid-template-columns: 64px 1fr auto;
    align-items: center;
  }
  .app-row-actions {
    grid-column: auto;
    width: 210px;
    grid-template-columns: 1fr;
  }
  .chip-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vip-popup-backdrop { place-items: center; }
}
@media (min-width: 1020px) {
  .chip-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
