/* ============================================================
   UK FREEBIES — Light, calm marketplace UI
   Inspired by clean product patterns (Whop / Databricks / Jobber)
   ============================================================ */
:root {
  --bg: #F7F7F5;
  --bg-elevated: #FFFFFF;
  --border: #E8E8E3;
  --border-strong: #D2D2CB;
  --text: #0A0A0A;
  --text-secondary: #525252;
  --text-muted: #737373;
  --text-faint: #A3A3A3;
  --accent: #0A0A0A;
  --accent-soft: #F0EEE8;
  --ink: #0A0A0A;
  --ink-hover: #262626;
  --gold: #9A7B4F;
  --success: #15803D;
  --success-soft: #F0FDF4;
  --warn: #B45309;
  --warn-soft: #FFFBEB;
  --danger: #DC2626;
  --danger-soft: #FEF2F2;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --shadow-sm: 0 1px 2px rgba(10,10,10,.04);
  --shadow-card: 0 1px 2px rgba(10,10,10,.04), 0 8px 24px rgba(10,10,10,.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1,h2,h3,h4 { font-family: var(--font); line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
h1 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font); font-weight: 500; font-size: .875rem;
  padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
  text-decoration: none !important; white-space: nowrap;
}
.btn-primary,
.btn-fire {
  background: var(--ink); color: #fff;
}
.btn-primary:hover,
.btn-fire:hover { background: var(--ink-hover); }
.btn-ghost {
  background: var(--bg-elevated); color: var(--text); border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--border-strong); background: var(--bg); }
.btn-sm { padding: 7px 12px; font-size: .8125rem; }
.btn-lg { padding: 12px 22px; font-size: .9375rem; }
.pulse-btn { animation: none; } /* kill legacy pulse */

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo {
  display: flex; align-items: center; gap: 0;
  text-decoration: none !important; flex-shrink: 0;
}
.logo-text {
  font-family: var(--font); font-weight: 600; font-size: .95rem;
  letter-spacing: -.02em; color: var(--text);
  text-transform: none;
}
.logo-accent { color: var(--text); font-weight: 600; }
.logo-mark { display: none; } /* text logo only */

.main-nav { display: flex; gap: 2px; }
.nav-link {
  color: var(--text-secondary); font-weight: 450; font-size: .875rem;
  padding: 6px 10px; border-radius: var(--radius-sm); text-decoration: none !important;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--text); background: var(--bg); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.search-wrap {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 7px 12px; color: var(--text-faint); transition: border-color .15s;
}
.search-wrap:focus-within { border-color: var(--border-strong); background: var(--bg-elevated); }
.search-wrap input {
  background: none; border: none; outline: none; color: var(--text);
  font-family: var(--font); font-size: .875rem; width: 180px;
}
.search-wrap input::placeholder { color: var(--text-faint); }
.search-wrap kbd {
  font-family: var(--font); font-size: .65rem; color: var(--text-faint);
  border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; background: var(--bg-elevated);
}
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); margin: 5px 0; border-radius: 2px; }
.mobile-menu { display: flex; flex-direction: column; padding: 8px 24px 16px; border-top: 1px solid var(--border); background: var(--bg-elevated); }
.mobile-menu a { padding: 10px 4px; color: var(--text-secondary); text-decoration: none !important; font-weight: 450; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.live-dot { display: none; } /* no live-dot gimmick */
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5vw, 3.4rem); font-weight: 500;
  letter-spacing: -.035em; color: var(--text); line-height: 1.08;
  max-width: 14ch;
}
.grad-text { background: none; -webkit-text-fill-color: unset; color: var(--text); }
.hero-sub {
  color: var(--text-secondary); font-size: 1.08rem; margin: 22px 0 32px;
  max-width: 34rem; line-height: 1.65;
}
.hero-sub strong { color: var(--text); font-weight: 550; }
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 28px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-family: var(--font); font-size: 1.35rem; font-weight: 600;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.stat-label { font-size: .75rem; color: var(--text-muted); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* Featured deal card in hero */
.featured-slot { min-height: 160px; }
.featured-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; position: relative;
  box-shadow: var(--shadow-card);
}
.featured-card::before { display: none; }
.featured-badge {
  display: inline-block; font-size: .7rem; font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-muted);
  background: var(--bg); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.featured-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.featured-card .tagline { color: var(--text-secondary); font-size: .9rem; margin-bottom: 16px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.price-now { font-size: 1.75rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.price-was { color: var(--text-faint); text-decoration: line-through; font-size: .95rem; }
.price-off {
  background: var(--success-soft); color: var(--success); font-weight: 500;
  font-size: .75rem; padding: 3px 8px; border-radius: var(--radius-pill);
  border: 1px solid #bbf7d0;
}

/* Countdown */
.countdown { display: flex; gap: 6px; margin-bottom: 18px; }
.cd-unit {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 8px 10px; text-align: center; min-width: 52px;
}
.cd-num {
  font-size: 1.1rem; font-weight: 600; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.cd-lab { font-size: .6rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
.cd-ended { color: var(--danger); font-weight: 500; font-size: .875rem; }

/* ---------- Feed ---------- */
.feed-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin: 40px 0 18px; flex-wrap: wrap;
}
.section-title { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; letter-spacing: -.02em; }
.section-sub { color: var(--text-secondary); margin-top: 6px; font-size: .9rem; }
.sort-wrap select {
  background: var(--bg-elevated); color: var(--text); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 8px 12px; font-family: var(--font);
  font-size: .875rem; cursor: pointer; outline: none;
}
.sort-wrap select:focus { border-color: var(--border-strong); }

.filter-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip {
  background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-secondary);
  font-family: var(--font); font-weight: 450; font-size: .8rem;
  padding: 5px 12px; border-radius: var(--radius-pill); cursor: pointer; transition: .15s;
}
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip.active {
  background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 500;
}
.results-meta { color: var(--text-muted); font-size: .8rem; margin-bottom: 16px; }

/* Deal cards */
.deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.deal-card {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer; position: relative;
}
.deal-card:hover { border-color: var(--gold); box-shadow: var(--shadow-card); }
.deal-card.is-hot { border-color: var(--border-strong); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-cat {
  font-size: .68rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-muted); background: var(--bg); border: 1px solid var(--border);
  padding: 3px 8px; border-radius: var(--radius-pill);
}
.card-cat.cat-free { color: var(--success); background: var(--success-soft); border-color: #bbf7d0; }
.card-time { font-size: .75rem; color: var(--text-faint); }
.deal-card h3 { font-size: 1.05rem; font-weight: 600; margin-top: 2px; }
.deal-card .tagline { color: var(--text-secondary); font-size: .875rem; flex-grow: 1; line-height: 1.45; }
.card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stars { color: var(--text-muted); font-size: .8rem; letter-spacing: 0; }
.stars small { color: var(--text-faint); margin-left: 4px; }
.card-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.card-price { font-weight: 600; font-size: 1.2rem; color: var(--text); font-variant-numeric: tabular-nums; }
.card-price.free { color: var(--success); }
.card-was { color: var(--text-faint); text-decoration: line-through; font-size: .8rem; }
.card-off { color: var(--success); font-weight: 500; font-size: .8rem; }
.mini-cd { font-size: .75rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.card-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.card-actions .btn { flex: 1; min-width: 0; }
.code-btn {
  background: var(--bg); border: 1px solid var(--border); color: var(--text-secondary);
  font-family: var(--font); font-weight: 500; font-size: .8125rem;
  padding: 7px 12px; border-radius: var(--radius-sm); cursor: pointer; transition: .15s;
}
.code-btn:hover { border-color: var(--border-strong); color: var(--text); }
.code-revealed {
  border-style: solid !important; color: var(--text) !important;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em;
  background: var(--bg) !important;
}

/* Hot meter — quiet */
.hot-meter { display: flex; align-items: center; gap: 8px; }
.temp-badge {
  font-weight: 500; font-size: .75rem;
  padding: 3px 8px; border-radius: var(--radius-pill); border: 1px solid var(--border);
  background: var(--bg); color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.temp-badge.temp-hot { color: var(--warn); border-color: #fde68a; background: var(--warn-soft); }
.temp-badge.temp-blazing { color: var(--warn); border-color: #fde68a; background: var(--warn-soft); animation: none; }
.vote-btns { display: flex; gap: 4px; }
.vote-btn {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-sm);
  min-width: 28px; height: 26px; padding: 0 6px; cursor: pointer;
  font-size: .7rem; font-weight: 500; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; transition: .15s;
  font-family: var(--font);
}
.vote-btn:hover { border-color: var(--border-strong); color: var(--text); }
.vote-btn.voted { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Badges */
.badge-row { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: .65rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--radius-pill);
}
.badge-ltd { color: var(--accent); background: var(--accent-soft); border: 1px solid #bfdbfe; }
.badge-free { color: var(--success); background: var(--success-soft); border: 1px solid #bbf7d0; }
.badge-trial { color: var(--warn); background: var(--warn-soft); border: 1px solid #fde68a; }
.badge-expiring { color: var(--danger); background: var(--danger-soft); border: 1px solid #fecaca; animation: none; }

/* Empty state */
.empty-state { text-align: center; padding: 56px 20px; color: var(--text-secondary); }
.empty-state p { font-size: 1rem; margin-bottom: 14px; }

/* Freebie strip */
.freebie-strip { margin: 56px 0 0; padding-top: 40px; border-top: 1px solid var(--border); }
.freebie-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 20px; }
.freebie-mini {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; cursor: pointer; transition: border-color .15s;
}
.freebie-mini:hover { border-color: var(--border-strong); }
.freebie-mini h4 { font-size: .95rem; margin: 8px 0 4px; }
.freebie-mini p { font-size: .8rem; color: var(--text-secondary); }
.free-tag { font-size: .65rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--success); }

/* How it works */
.how-it-works { margin: 56px 0 0; padding-top: 40px; border-top: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.step {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg);
  border: 1px solid var(--border); color: var(--text);
  font-weight: 600; font-size: .8rem; margin-bottom: 12px;
}
.step h3 { font-size: .95rem; margin-bottom: 6px; }
.step p { font-size: .85rem; color: var(--text-secondary); }

/* FAQ */
.faq { margin: 56px 0 20px; padding-top: 40px; border-top: 1px solid var(--border); }
.faq details {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 18px; margin-top: 8px;
}
.faq summary {
  cursor: pointer; font-weight: 550; font-size: .9rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::after { content: "+"; color: var(--text-muted); font-size: 1.1rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--text-secondary); font-size: .875rem; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(17,17,17,.4);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
}
.modal {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px;
  max-width: 680px; width: 100%; max-height: 88vh; overflow-y: auto;
  padding: 32px; position: relative; box-shadow: 0 16px 48px rgba(0,0,0,.12);
  animation: modal-in .2s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 50%;
  color: var(--text-muted); font-size: .9rem; cursor: pointer; transition: .15s;
}
.modal-close:hover { border-color: var(--border-strong); color: var(--text); }
.modal h2 { font-size: 1.4rem; margin: 8px 0 6px; }
.modal .tagline { color: var(--text-secondary); margin-bottom: 16px; }
.verdict-box {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; margin: 16px 0;
}
.verdict-score { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.score-ring {
  font-weight: 600; font-size: 1.25rem; color: var(--text);
  border: 1.5px solid var(--border); border-radius: 50%; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.verdict-box p { font-size: .9rem; color: var(--text); }
.modal-section { margin: 18px 0; }
.modal-section h4 {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); margin-bottom: 8px; font-weight: 500;
}
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.proscons ul { list-style: none; }
.proscons li { font-size: .85rem; padding: 5px 0 5px 20px; position: relative; color: var(--text-secondary); }
.proscons .pro li::before { content: "+"; position: absolute; left: 0; color: var(--success); font-weight: 600; }
.proscons .con li::before { content: "−"; position: absolute; left: 0; color: var(--danger); font-weight: 600; }
.modal .description { color: var(--text-secondary); font-size: .9rem; }
.modal .price-row { margin: 16px 0; }
.modal-code-box {
  display: flex; align-items: center; gap: 12px; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; margin: 12px 0;
}
.modal-code-box code {
  font-family: ui-monospace, Menlo, monospace; font-size: 1rem;
  color: var(--text); letter-spacing: .06em; flex: 1;
}
.modal-cta { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.modal-cta .btn { flex: 1; min-width: 160px; }
.modal-fine { font-size: .7rem; color: var(--text-faint); margin-top: 12px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(12px);
  background: var(--ink); border: none; color: #fff;
  padding: 10px 18px; border-radius: var(--radius-pill); font-size: .85rem; font-weight: 450;
  box-shadow: var(--shadow-sm); z-index: 200; opacity: 0; transition: .25s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Back to top */
.to-top {
  position: fixed; bottom: 24px; right: 24px; width: 40px; height: 40px;
  border-radius: 50%; background: var(--bg-elevated); color: var(--text);
  border: 1px solid var(--border); font-size: 1rem; font-weight: 500;
  cursor: pointer; z-index: 90; transition: .15s;
}
.to-top:hover { border-color: var(--border-strong); background: var(--bg); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; border-top: 1px solid var(--border); background: var(--bg-elevated); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 40px 24px 28px; }
.footer-logo { font-size: 1rem; }
.footer-brand p { color: var(--text-secondary); font-size: .85rem; margin-top: 12px; max-width: 400px; }
.affiliate-note {
  font-size: .75rem !important; color: var(--text-muted) !important;
  border-top: 1px solid var(--border); padding-top: 12px; margin-top: 14px !important;
}
.footer-col h4 {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); margin-bottom: 12px; font-weight: 500;
}
.footer-col a {
  display: block; color: var(--text-secondary); font-size: .875rem;
  padding: 4px 0; text-decoration: none !important;
}
.footer-col a:hover { color: var(--text); }
.footer-base { border-top: 1px solid var(--border); padding: 16px 24px; }
.footer-base p { color: var(--text-faint); font-size: .7rem; }
.footer-base a { color: var(--text-muted); }

/* ---------- Static pages ---------- */
.page-hero { padding: 48px 0 24px; }
.page-hero h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.page-hero .sub { color: var(--text-secondary); margin-top: 10px; max-width: 600px; }
.prose { max-width: 680px; margin: 0 auto 56px; }
.prose h2 { font-size: 1.1rem; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--text-secondary); font-size: .925rem; margin-bottom: 10px; }
.prose ul { padding-left: 20px; }
.prose strong { color: var(--text); }
.info-card {
  background: var(--bg); border: 1px solid var(--border);
  border-left: 2px solid var(--ink); border-radius: var(--radius-sm);
  padding: 16px 18px; margin: 18px 0;
}
.info-card p { margin: 0; }

/* ---------- Claim / full review page ---------- */
.claim-page { padding-bottom: 80px; }
.claim-layout { padding: 56px 24px 80px; max-width: 720px; }
.claim-loading, .claim-missing { color: var(--text-secondary); padding: 48px 0; }
.claim-crumb { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.claim-crumb a { color: var(--gold); }
.claim-hero { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.claim-hero h1 { font-family: var(--serif); font-size: clamp(2.1rem, 4.2vw, 3rem); font-weight: 500; margin: 14px 0 14px; line-height: 1.1; }
.claim-tagline { color: var(--text-secondary); font-size: 1.15rem; max-width: 38rem; line-height: 1.6; }
.claim-price-row { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 10px; flex-wrap: wrap; }
.claim-score { color: var(--text-muted); font-size: .85rem; }
.claim-body { min-height: 50vh; font-size: 1.05rem; line-height: 1.75; color: var(--text-secondary); }
.claim-body p { margin-bottom: 1.15em; }
.claim-body h3 { font-family: var(--serif); margin-top: 36px; font-size: 1.35rem; font-weight: 500; color: var(--text); }
.claim-bottom-cta {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 32px 0 16px; padding: 20px; border-radius: var(--radius);
  background: var(--bg-elevated); border: 1px solid var(--border);
}
.claim-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.claim-sticky-inner {
  max-width: 1120px; margin: 0 auto; padding: 12px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.claim-sticky-inner .card-price { margin-left: 10px; font-size: .95rem; }
.claim-disclosure { margin: 16px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-actions .btn { display: none; }
}
@media (max-width: 640px) {
  .header-inner { gap: 10px; }
  .search-wrap input { width: 120px; }
  .search-wrap kbd { display: none; }
  .deals-grid { grid-template-columns: 1fr; }
  .proscons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .modal { padding: 24px 18px; }
  .hero { padding: 36px 0 20px; }
  .hero-stats { gap: 20px; }
  .container { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* Claim article extras */
.claim-article { max-width: 720px; }
.claim-missing { padding: 48px 0; }
.claim-missing h1 { margin-bottom: 8px; }
.claim-missing p { color: var(--text-secondary); margin-bottom: 20px; }
.claim-crumb a:hover { color: var(--text); }
.claim-bottom-cta .btn-primary { min-width: 160px; }
.claim-sticky-inner strong { font-weight: 550; margin-right: 8px; }
.claim-disclosure p { font-size: .85rem; color: var(--text-secondary); }
.prose ul { margin: 8px 0 12px; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .85em; background: var(--bg); border: 1px solid var(--border);
  border-radius: 4px; padding: 1px 5px;
}

/* Freebie strip mini cards from app.js */
.freebie-mini, .free-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; cursor: pointer;
  transition: border-color .15s;
}
.freebie-mini:hover, .free-card:hover { border-color: var(--border-strong); }
.freebie-mini h4, .free-card h4 { font-size: .95rem; margin: 6px 0 4px; }
.freebie-mini p, .free-card p { font-size: .8rem; color: var(--text-secondary); }

/* Modal extras used by app.js */
.modal-code-box {
  display: flex; align-items: center; gap: 10px; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 14px; margin: 12px 0;
}
.modal-code-box code {
  font-family: ui-monospace, Menlo, monospace; font-size: .95rem;
  color: var(--text); letter-spacing: .04em; flex: 1;
}
.verdict-box, .verdict {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px; margin: 16px 0;
}
.score-ring, .verdict-score {
  font-weight: 600; font-size: 1.25rem; color: var(--text);
  border: 1.5px solid var(--border); border-radius: 50%;
  width: 48px; height: 48px; display: inline-flex;
  align-items: center; justify-content: center;
}
.proscons, .pros-cons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
@media (max-width: 640px) {
  .proscons, .pros-cons { grid-template-columns: 1fr; }
}


/* Deal / claim imagery (admin uploads) */
.deal-media, .featured-media, .modal-media, .claim-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  aspect-ratio: 16 / 9;
}
.deal-media img, .featured-media img, .modal-media img, .claim-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.featured-media { margin-bottom: 14px; aspect-ratio: 16 / 10; }
.modal-media { margin: 0 0 16px; max-height: 280px; }
.modal-media img { max-height: 280px; }
.claim-media { margin: 18px 0 8px; aspect-ratio: 21 / 9; }
.claim-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px; margin: 12px 0 8px;
}
.claim-gallery img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.experience-notes {
  margin: 24px 0; padding: 18px 20px;
  background: var(--accent-soft); border: 1px solid var(--border);
  border-left: 3px solid var(--gold); border-radius: var(--radius);
}
.claim-note-meta, .experience-notes .claim-note-meta {
  font-size: .8rem; color: var(--text-muted); margin-top: 8px;
}
.review-html { font-size: .95rem; line-height: 1.65; color: var(--text-secondary); }
.review-html h3 { color: var(--text); margin-top: 18px; }


/* —— Brand mark —— */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo-img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; flex-shrink: 0; background: transparent; box-shadow: none; }
.logo-text { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; color: var(--text); white-space: nowrap; }
.footer-logo .logo-img { display: none; }

/* —— Mobile hardening —— */
img, video, svg { max-width: 100%; height: auto; }
.deal-media img, .featured-media img, .modal-media img, .claim-media img,
.deal-media-wrap img { max-width: none; height: 100%; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.deals-grid { grid-template-columns: 1fr; }
@media (min-width: 641px) {
  .deals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 981px) {
  .deals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .site-header .header-actions .btn { display: none; }
  .search-wrap { width: 100%; max-width: none; }
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .logo-text { font-size: 14px; }
  .logo-img { width: 34px; height: 34px; }
  .hero { padding-block: 28px 12px; }
  .hero h1, .hero-copy h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1.15; }
  .deal-card, .card { padding: 14px; }
  .filter-bar { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .claim-layout, .claim-sticky, .sticky-claim { padding-inline: 12px; }
  .btn { min-height: 44px; }
}


/* Future ad slots — hidden until ADS_ENABLED + HTML set */
.ukf-ad-slot {
  margin: 24px 0;
  min-height: 0;
  display: flex; align-items: center; justify-content: center;
}
.ukf-ad-slot[hidden] { display: none !important; }
.ukf-ad-slot:not([hidden]) {
  min-height: 90px;
  padding: 12px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}


/* MOBBIN MARKETPLACE PASS — Whop/Shop-style catalog, not AI chrome */
.feed-toolbar {
  position: sticky; top: 60px; z-index: 40;
  background: rgba(246, 243, 236, .92); backdrop-filter: blur(12px);
  padding: 14px 0 10px; margin: 8px 0 6px;
  border-bottom: 1px solid var(--border);
}
.feed-toolbar .feed-head { margin: 0 0 12px; }
.feed-toolbar .filter-bar { margin-bottom: 8px; }
.feed-toolbar .results-meta { margin-bottom: 0; }

.deals-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.deal-card {
  padding: 0;
  gap: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.deal-card .deal-media {
  border: none; border-radius: 0; border-bottom: 1px solid var(--border);
  aspect-ratio: 16 / 10; margin: 0;
}
.deal-card .deal-media + .card-top,
.deal-card > .card-top:first-child { margin-top: 0; }
.deal-card > *:not(.deal-media) { padding-left: 20px; padding-right: 20px; }
.deal-card > .card-top { padding-top: 16px; }
.deal-card > .card-actions { padding-bottom: 18px; padding-top: 4px; margin-top: auto; }
.deal-card .badge-row { padding-top: 10px; }
.deal-card h3 { font-size: 1.05rem; letter-spacing: -.02em; }
.deal-card .tagline {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.6em;
}

.hero {
  padding: 64px 0 36px;
  background: var(--bg);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated);
  margin-bottom: 28px;
}
.stat {
  padding: 16px 18px;
  border-right: 1px solid var(--border);
  gap: 4px;
}
.stat:last-child { border-right: none; }
.stat-num { font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }

.featured-card {
  padding: 0; overflow: hidden;
}
.featured-card .featured-media { margin: 0; border: none; border-radius: 0; border-bottom: 1px solid var(--border); }
.featured-card > *:not(.featured-media) { padding-left: 28px; padding-right: 28px; }
.featured-card > .featured-badge { margin: 22px 28px 0; display: inline-block; }
.featured-card h3 { margin-top: 12px; }
.featured-card .modal-cta,
.featured-card .countdown,
.featured-card .price-row,
.featured-card .tagline { padding-left: 28px; padding-right: 28px; }
.featured-card .modal-cta { padding-bottom: 28px; }

.chip.active {
  background: var(--ink); color: #fff;
  box-shadow: none;
}

@media (max-width: 980px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .feed-toolbar { top: 60px; }
}
@media (max-width: 640px) {
  .deal-card > *:not(.deal-media) { padding-left: 16px; padding-right: 16px; }
  .featured-card > *:not(.featured-media) { padding-left: 18px; padding-right: 18px; }
  .featured-card > .featured-badge { margin-left: 18px; margin-right: 18px; }
  .stat { padding: 14px; }
}

.deal-media--empty, .featured-media.deal-media--empty {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--accent-soft), var(--bg));
  color: var(--gold); font-family: var(--serif); font-size: 2.4rem; font-weight: 500;
}

.hot-meter, .temp-badge { display: none !important; }
