/* WTBIFL — Bold Sticker / Zine design system (yellow primary, locked direction) */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #FFF8EE;
  --ink: #1A1A1A;
  --coral: #FF6B4A;
  --yellow: #FFD23F;
  --turquoise: #2EC4B6;
  --card-bg: #FFFFFF;
  --muted: #777777;
  --pos-bg: #D9F4E8;
  --neg-bg: #FDE0D6;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  padding: 40px 24px 0;
}
h1, h2, h3, h4, .heading-font {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  margin: 0;
}
a { color: inherit; }
.wrap { max-width: 760px; margin: 0 auto; }
.wrap-wide { max-width: 920px; margin: 0 auto; }

/* ── Header / sticker title ── */
.sticker-title {
  font-size: 42px;
  letter-spacing: -0.5px;
  display: inline-block;
  background: var(--yellow);
  padding: 6px 20px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  transform: rotate(-1.5deg);
  box-shadow: 4px 4px 0 var(--ink);
}
header { text-align: center; margin-bottom: 48px; }
header p.tagline { margin-top: 18px; font-size: 15px; color: #555; }

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { text-decoration: none; border-bottom: 1px dotted var(--muted); }

/* ── Word cloud ── */
.wordcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  padding: 32px 20px;
  background: var(--card-bg);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 6px 6px 0 var(--ink);
}
.wordcloud a {
  font-family: 'Fredoka', sans-serif;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease;
  display: inline-block;
}
.wordcloud a:hover { transform: scale(1.08) rotate(-2deg); color: var(--coral); }
.wordcloud a.active { color: var(--coral); text-decoration: underline wavy; }
.wc-xl { font-size: 44px; font-weight: 700; transform: rotate(-1deg); }
.wc-lg { font-size: 34px; font-weight: 600; transform: rotate(1deg); }
.wc-md { font-size: 26px; font-weight: 600; transform: rotate(-1.5deg); }
.wc-sm { font-size: 19px; font-weight: 500; transform: rotate(1deg); }
.wc-xs { font-size: 15px; font-weight: 500; opacity: 0.75; }

.label {
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #888;
  margin: 20px 0 14px;
}

/* ── Card ── */
.card {
  background: var(--card-bg);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 6px 6px 0 var(--ink);
  margin-bottom: 24px;
}
.card-sm { padding: 20px; border-width: 2.5px; box-shadow: 5px 5px 0 var(--ink); }
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.card-top h2 { font-size: 30px; }
.card-top h3 { font-size: 22px; }
.meta { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ── Badge (verdict) ── */
.badge {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 7px 16px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--turquoise);
  color: var(--ink);
  transform: rotate(-2deg);
  display: inline-block;
  white-space: nowrap;
}
.badge.not-recommended { background: #E8E8E8; }
.badge.mixed { background: var(--neg-bg); }
.badge.caveats { background: var(--yellow); }

.summary { font-size: 16px; line-height: 1.55; margin: 18px 0; }

/* ── Sentiment pills ── */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.pill {
  font-size: 13px;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 999px;
  border: 2px solid var(--ink);
}
.pill.pos { background: var(--pos-bg); }
.pill.neg { background: var(--neg-bg); }

/* ── Editor's note callout ── */
.editors-note {
  background: var(--yellow);
  border: 2.5px dashed var(--ink);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 22px 0;
  transform: rotate(0.6deg);
  position: relative;
}
.editors-note.tilt-r { transform: rotate(-0.6deg); }
.editors-note .tag {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 8px;
}
.editors-note p { margin: 0; font-size: 14.5px; line-height: 1.5; font-style: italic; }

blockquote {
  margin: 18px 0 0;
  padding-left: 16px;
  border-left: 4px solid var(--coral);
  font-size: 14.5px;
  color: #444;
  font-style: italic;
}

/* ── Button (CTA) ── */
.btn {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--coral);
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn.btn-secondary { background: var(--card-bg); color: var(--ink); }
.btn-row { margin-top: 20px; }

/* ── Product line / SKU card ── */
.sku-card {
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  background: var(--card-bg);
}
.sku-card .sku-name { font-family: 'Fredoka', sans-serif; font-weight: 600; font-size: 16px; }
.sku-card .sku-meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ── Topical tags ── */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag-pill {
  font-family: 'Fredoka', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--card-bg);
  text-decoration: none;
}
.tag-pill:nth-child(3n+1) { background: var(--turquoise); }
.tag-pill:nth-child(3n+2) { background: var(--yellow); }
.tag-pill:nth-child(3n+3) { background: #FDE0D6; }

/* ── Horizontal scroll row ── */
.scroll-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
}
.scroll-card {
  flex: 0 0 230px;
  scroll-snap-align: start;
  background: var(--card-bg);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.scroll-card:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.scroll-card h4 { font-size: 15px; line-height: 1.3; }
.scroll-card .scroll-meta { font-size: 11.5px; color: var(--muted); margin-top: 6px; }

/* ── Brand content (Notion blocks) ── */
.brand-content { font-size: 16px; line-height: 1.7; }
.brand-content h2 { font-size: 22px; margin: 32px 0 10px; }
.brand-content p { margin: 0 0 12px; }
.brand-content ul { margin: 0 0 16px; padding-left: 22px; }
.brand-content li { margin-bottom: 6px; }
.brand-content blockquote { margin: 12px 0; }

/* ── Category brand grid ── */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.brand-card {
  background: var(--card-bg);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.brand-card:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.brand-card h3 { font-size: 18px; }
.brand-card .brand-meta { font-size: 12px; color: var(--muted); }

/* ── Page-level h1 (brand + category pages) ── */
.page-h1 { font-size: 38px; }

/* ── Page header (left-aligned, for category / brand pages) ── */
.page-header { text-align: left; margin-bottom: 32px; }
.page-header .page-h1 { font-size: 36px; }
.page-header .page-subtitle { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ── Brand header row (name + badge, no bottom gap) ── */
.brand-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Prose (About / legal pages) ── */
.prose { font-size: 15px; line-height: 1.75; margin-top: 24px; }
.prose h2 { font-size: 20px; margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--ink); }
.prose strong { font-weight: 600; }

/* ── Mention chart ── */
.mention-chart {
  margin: 4px 0 8px;
}
.mention-chart svg { display: block; overflow: visible; }
.chart-bar { cursor: default; }
.chart-tooltip {
  position: fixed;
  background: var(--ink);
  color: #FFF8EE;
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.1s ease;
  z-index: 100;
}
.chart-tooltip.visible { opacity: 1; }

/* ── Site footer ── */
.site-footer {
  margin-top: 72px;
  padding: 28px 0 60px;
  border-top: 3px solid var(--ink);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: baseline;
  margin-bottom: 16px;
}
.footer-brand {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  color: var(--ink);
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted var(--muted);
}
.footer-links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.footer-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.footer-note a { color: var(--muted); }
.footer-note a:hover { color: var(--ink); }

/* ── Site nav logo (non-home pages) ── */
.site-nav { margin-bottom: 36px; }
.sticker-nav {
  font-size: 20px;
  padding: 4px 14px;
  border-width: 2.5px;
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-1deg);
  text-decoration: none;
}

/* ── Chart section (inside header card) ── */
.chart-section {
  border-top: 2px solid rgba(26, 26, 26, 0.1);
  margin-top: 20px;
  padding-top: 16px;
}
.chart-label { margin: 0 0 10px !important; }

/* ── Chart legend ── */
.chart-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
}
.legend-swatch {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.legend-sep { width: 16px; }

/* ── Section cards (Notion content blocks) ── */
.section-card {
  background: var(--card-bg);
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 16px;
}
.section-card > h2 {
  font-size: 18px;
  margin-bottom: 14px;
}
.section-card .brand-content { font-size: 16px; }

/* ── Top picks grid (homepage) ── */
.picks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 4px;
}
.pick-card {
  background: var(--card-bg);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.pick-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.pick-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.pick-card-top h3 { font-size: 17px; line-height: 1.3; }
.pick-meta { font-size: 13px; color: var(--muted); }

/* ── Mobile tweaks ── */
@media (max-width: 560px) {
  .sticker-title { font-size: 32px; }
  .sticker-nav { font-size: 16px; }
  .page-h1 { font-size: 30px; }
  .page-header .page-h1 { font-size: 28px; }
  .brand-grid { grid-template-columns: 1fr; }
  .picks-grid { grid-template-columns: 1fr; }
  .section-card { padding: 20px; }
  .wordcloud { gap: 10px 16px; padding: 24px 16px; }
  .wc-xl { font-size: 34px; }
  .wc-lg { font-size: 26px; }
  .wc-md { font-size: 21px; }
  .scroll-card { flex: 0 0 200px; }
}
