/* ReviewDecode — light glassmorphic design system */

:root {
  --bg: #f0f4fa;
  --bg2: #e8eef8;
  --surface: rgba(255, 255, 255, 0.72);
  --surfaceSolid: #ffffff;
  --text: #0f172a;
  --muted: #5b677a;
  --line: rgba(15, 23, 42, 0.08);
  --brand: #1a73e8;
  --brandDark: #1557b0;
  --accent: #00b894;
  --coral: #ff6b4a;
  --verified: #10b981;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --shadowSm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --radius: 20px;
  --radiusSm: 12px;
  --container: 1180px;
  --headerH: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --glass-blur: blur(18px) saturate(160%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(26, 115, 232, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 184, 148, 0.06), transparent);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brandDark); }
.muted { color: var(--muted); }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}
.siteMain { min-height: 50vh; }

/* Glass utility */
.glass {
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadowSm);
}

/* Typography */
.rdEyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 12px;
}
.rdSection { padding: 72px 0; }
.rdSection__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  font-weight: 800;
}
.rdSection__lead { font-size: 1.1rem; max-width: 720px; margin: 0 0 32px; }
.rdSection__link { font-weight: 600; margin-top: 24px; display: inline-block; }

/* Buttons */
.rdBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.rdBtn--primary {
  background: linear-gradient(135deg, var(--brand), color-mix(in oklab, var(--brand) 70%, #6366f1));
  color: #fff;
  box-shadow: 0 12px 28px color-mix(in oklab, var(--brand) 30%, transparent);
}
.rdBtn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px color-mix(in oklab, var(--brand) 35%, transparent);
}
.rdBtn--ghost {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
  color: var(--text);
}
.rdBtn--ghost:hover { background: #fff; color: var(--text); }
.rdBtn--lg { padding: 14px 28px; font-size: 15px; }

/* Header */
.rdHeader {
  position: sticky;
  top: 12px;
  z-index: 1000;
  margin: 12px auto 0;
  width: min(calc(var(--container) + 24px), calc(100% - 24px));
  border-radius: 999px;
}
.rdHeader__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px 10px 20px;
  min-height: var(--headerH);
}
.rdLogo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}
.rdLogo__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), #6366f1);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}
.rdLogo__text { font-size: 1.05rem; letter-spacing: -0.02em; }
.rdHeader__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.rdHeader__link {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.rdHeader__link:hover,
.rdHeader__link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.85);
}
.rdHeader__dropdown { position: relative; }
.rdHeader__link--summary { list-style: none; cursor: pointer; }
.rdHeader__link--summary::-webkit-details-marker { display: none; }
.rdHeader__dropdownPanel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 12px;
  border-radius: var(--radiusSm);
  display: none;
}
.rdHeader__dropdown[open] .rdHeader__dropdownPanel { display: block; }
.rdHeader__dropdownItem {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
}
.rdHeader__dropdownItem:hover { background: rgba(26, 115, 232, 0.08); }
.rdHeader__dropdownMore {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}
.rdHeader__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}
.rdIconBtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.8);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
}
.rdHeader__cta { display: none; }
.rdHeader__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}
.rdHeader__toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Mobile nav */
.rdMobileBackdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  border: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
}
.rdMobileNav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1200;
  width: min(320px, 88vw);
  height: 100%;
  padding: 20px;
  border-radius: var(--radius) 0 0 var(--radius);
}
.rdMobileNav__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rdMobileNav__inner a,
.rdMobileNav__inner button {
  padding: 14px 12px;
  border-radius: var(--radiusSm);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 15px;
}
.rdMobileNav__inner a:hover { background: rgba(26,115,232,0.08); }
.rdMobileNav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.rdMobileNav__close {
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* Search overlay */
.siteSearch {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: start center;
  padding-top: 12vh;
}
.siteSearch[hidden] {
  display: none !important;
}
html.siteSearch--open {
  overflow: hidden;
}
.siteSearch__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.siteSearch__dialog {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100% - 32px));
  padding: 24px;
  border-radius: var(--radius);
  pointer-events: auto;
}
.siteSearch__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.siteSearch__title { font-weight: 800; font-size: 1.25rem; }
.siteSearch__close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  padding: 4px 8px;
  border-radius: 8px;
  position: relative;
  z-index: 3;
}
.siteSearch__close:hover {
  background: rgba(15, 23, 42, 0.06);
}
.siteSearchForm__row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.siteSearchForm__field {
  flex: 1;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 15px;
  background: #fff;
}
.siteSearchForm__submit {
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* Hero */
.rdHero {
  position: relative;
  padding: 48px 0 80px;
  overflow: hidden;
}
.rdHero__glow {
  position: absolute;
  inset: -20% 10% auto;
  height: 60%;
  background: radial-gradient(circle, rgba(26,115,232,0.15), transparent 70%);
  pointer-events: none;
}
.rdHero__inner { position: relative; text-align: center; }
.rdTicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 28px;
}
.rdTicker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verified);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: rdPulse 2s infinite;
}
.rdHero__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin: 0 0 20px;
  max-width: 900px;
  margin-inline: auto;
}
.rdHero__lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 36px;
}
.rdStats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
  max-width: 900px;
  margin-inline: auto;
}
.rdStats__item {
  padding: 24px 16px;
  text-align: center;
  background: rgba(255,255,255,0.5);
}
.rdStats__item strong {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.rdStats__item span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.rdHero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Engine cards */
.rdEngine__grid,
.rdResearch__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.rdEngineCard,
.rdResearchCard {
  padding: 28px;
  border-radius: var(--radius);
  transition: transform 0.25s, box-shadow 0.25s;
}
.rdEngineCard:hover,
.rdResearchCard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.rdEngineCard h3,
.rdResearchCard h3,
.rdEngineCard h2,
.rdResearchCard h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
}
.rdEngineCard__status {
  font-size: 12px;
  font-weight: 700;
  color: var(--verified);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rdPulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: rdPulse 2s infinite;
}
@keyframes rdPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.rdResearchCard__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  display: block;
  margin-bottom: 10px;
}
.rdResearchCard__meta { font-size: 13px; display: block; margin: 8px 0 12px; }
.rdResearchCard a { font-weight: 700; }

/* Live feed */
.rdLiveFeed__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.rdLiveBadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #dc2626;
  letter-spacing: 0.1em;
}
.rdLiveFeed__track {
  border-radius: var(--radius);
  overflow: hidden;
  padding: 16px 0;
}
.rdLiveFeed__scroll {
  display: flex;
  gap: 24px;
  animation: rdScrollFeed 40s linear infinite;
  white-space: nowrap;
  padding: 0 16px;
}
.rdLiveFeed__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  flex-shrink: 0;
}
.rdLiveFeed__item strong { color: var(--text); }
.rdLiveFeed__item .tag {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.rdLiveFeed__item .tag--verified { background: rgba(16,185,129,0.15); color: #059669; }
.rdLiveFeed__item .tag--invalid { background: rgba(239,68,68,0.12); color: #dc2626; }
.rdLiveFeed__item .tag--new { background: rgba(26,115,232,0.12); color: var(--brand); }
@keyframes rdScrollFeed {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Categories */
.rdCatGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.rdCatCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 14px;
  border-radius: var(--radius);
  text-align: center;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.rdCatCard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--text);
}
.rdCatCard__emoji { font-size: 28px; }

/* Store grid */
.rdStoreGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.rdStoreTile {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: var(--radiusSm);
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
}
.rdStoreTile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--text);
}
.rdStoreTile__logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
}
.rdStoreTile__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.rdStoreTile__logo span {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--brand);
}
.rdStoreTile__body strong { display: block; font-size: 15px; }
.rdStoreTile__body span { font-size: 13px; }
.rdHealthPill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  white-space: nowrap;
}
.rdHealthPill--inline { display: inline-block; }

/* Glass box */
.rdGlassBox__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.rdGlassBox__sub {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 16px;
}
.rdProofPacket {
  border-radius: var(--radius);
  padding: 24px;
  overflow: hidden;
}
.rdProofPacket__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--brand);
  margin-bottom: 16px;
}
.rdProofPacket__code {
  margin: 0;
  padding: 20px;
  background: rgba(15, 23, 42, 0.92);
  border-radius: var(--radiusSm);
  overflow-x: auto;
}
.rdProofPacket__code code {
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #a5f3fc;
}

/* Blog teaser */
.rdBlogTeaser__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.rdPostGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rdPostCard {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s;
}
.rdPostCard:hover { transform: translateY(-4px); }
.rdPostCard__thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.rdPostCard__body { padding: 20px; }
.rdPostCard__body h3 { margin: 0 0 8px; font-size: 1.05rem; }
.rdPostCard__body h3 a { color: var(--text); }
.rdPostCard__body h3 a:hover { color: var(--brand); }

/* FAQ */
.rdFAQ__inner { padding: 40px; border-radius: var(--radius); }
.rdFAQ__list { margin-top: 24px; }
.rdFAQ__item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.rdFAQ__item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.rdFAQ__item summary::-webkit-details-marker { display: none; }
.rdFAQ__item p { margin: 12px 0 0; }

/* Final CTA */
.rdFinalCta__box {
  text-align: center;
  padding: 56px 32px;
  border-radius: var(--radius);
}
.rdFinalCta__box h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 12px;
  font-weight: 900;
}

/* Empty state */
.rdEmptyState {
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 24px;
}

/* Store landing (SimplyCodes style) */
.rdStoreLanding__hero {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
}
.rdStoreLanding__brandRow {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.rdStoreLanding__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
  padding: 8px;
  border: 1px solid var(--line);
}
.rdStoreLanding__logoPh {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
}
.rdStoreLanding__title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.2;
}
.rdStoreLanding__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: var(--radiusSm);
  overflow: hidden;
}
.rdStoreLanding__stat {
  padding: 18px 20px;
  background: rgba(255,255,255,0.55);
  text-align: center;
}
.rdStoreLanding__stat strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
}
.rdStoreLanding__stat span { font-size: 12px; color: var(--muted); }
.rdStoreLanding__body { padding: 32px 0 64px; }

.rdVerdictReport {
  margin-bottom: 28px;
  padding: 20px 24px;
  border-radius: var(--radiusSm);
}
.rdVerdictReport summary {
  cursor: pointer;
  list-style: none;
}
.rdVerdictReport summary::-webkit-details-marker { display: none; }
.rdVerdictReport h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}
.rdVerdictReport__content { margin-top: 16px; }

.rdVerdictList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rdVerdictCard {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.rdVerdictCard--top {
  border: 2px solid color-mix(in oklab, var(--brand) 35%, transparent);
}
.rdVerdictCard__ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 40px;
  transform: rotate(35deg);
}
.rdVerdictCard__metaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.rdVerdictBadge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rdVerdictBadge--type { background: rgba(26,115,232,0.12); color: var(--brand); }
.rdVerdictBadge--verified {
  background: rgba(16,185,129,0.12);
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.rdVerdictBadge--storewide { background: rgba(99,102,241,0.12); color: #6366f1; }
.rdVerdictCard__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
}
.rdVerdictCard__title a { color: var(--text); text-decoration: none; }
.rdVerdictCard__title a:hover { color: var(--brand); }
.rdVerdictCard__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.rdVerdictCard__desc { font-size: 14px; margin: 0; }
.rdVerdictCard__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 200px;
}

.rdStoreAbout {
  margin-top: 40px;
  padding: 28px;
  border-radius: var(--radius);
}
.rdStoreAbout h2 { margin: 0 0 12px; font-size: 1.25rem; }

/* Static pages */
.rdPage { padding: 40px 0 80px; }
.rdPage__hero { padding: 40px; border-radius: var(--radius); margin-bottom: 32px; }
.rdPage__hero h1 { margin: 0 0 12px; font-size: 2rem; font-weight: 900; }
.rdPage__grid { margin-bottom: 48px; }
.rdPage__section { margin-top: 48px; }

/* Footer */
.rdFooter { margin-top: 48px; }
.rdFooter__cta {
  padding: 48px 0;
  margin-bottom: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rdFooter__ctaInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.rdFooter__ctaTitle { margin: 0 0 8px; font-size: 1.5rem; font-weight: 800; }
.rdNewsletter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.rdNewsletter input {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  min-width: 240px;
  font-size: 15px;
  background: rgba(255,255,255,0.9);
}
.rdFooter__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.rdFooter__heading { font-size: 14px; font-weight: 800; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.rdFooter__links { list-style: none; margin: 0; padding: 0; }
.rdFooter__links li { margin-bottom: 10px; }
.rdFooter__links a { color: var(--muted); font-size: 14px; }
.rdFooter__links a:hover { color: var(--brand); }
.rdFooter__social { display: flex; gap: 16px; margin-top: 16px; font-size: 14px; }
.rdFooter__bottom { padding: 20px 0 40px; font-size: 13px; border-top: 1px solid var(--line); }

/* Archive store directory */
.storeArchive { padding: 32px 0 64px; }
.storeArchive__hero { margin-bottom: 28px; }
.storeArchive__title { font-size: 2rem; font-weight: 900; margin: 0 0 8px; }
.storeGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.storeLetterSection { scroll-margin-top: 100px; margin-bottom: 32px; }
.storeLetterSection.is-section-hidden { display: none; }
.storeTile.is-filter-hidden { display: none; }
.storeTile {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surfaceSolid);
  padding: 14px;
  box-shadow: var(--shadowSm);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: var(--text);
}
.storeTile:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.storeTile__logo {
  height: 100px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f8fafc;
  padding: 10px;
}
.storeTile__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.storeTile__ph { font-weight: 800; font-size: 28px; color: var(--muted); }
.storeTile__name { margin-top: 10px; text-align: center; font-weight: 700; font-size: 13px; }
.storeSectionTitle {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 16px;
  margin: 0 0 14px;
  background: linear-gradient(90deg, var(--brand), #6366f1);
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
}
.storeLetters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.storeLetters__link {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}
.storeLetters__link.is-active,
.storeLetters__link:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.storeToolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
}
.storeToolbar input[type="search"] {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 15px;
}
.store-category-filter {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
}
.storeFAQ.editorialFAQ { margin-top: 40px; }
.storeFAQ details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.storeFAQ summary { font-weight: 700; cursor: pointer; }

/* Blog / editorial templates */
.archiveIntro { padding: 32px 0 16px; }
.archiveIntro__title { font-size: 2rem; font-weight: 900; margin: 8px 0 0; }
.sectionEyebrow, .breadcrumbTrail { font-size: 13px; color: var(--muted); font-weight: 600; }
.breadcrumbTrail a { color: var(--muted); }
.editorialLayout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; padding-bottom: 64px; }
.postFeedGrid { display: grid; gap: 24px; }
.editorialCard {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surfaceSolid);
  border: 1px solid var(--line);
  box-shadow: var(--shadowSm);
}
.editorialCard__media img,
.editorialCard__placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radiusSm);
  background: var(--bg2);
  display: block;
}
.editorialCard__title { margin: 0 0 8px; font-size: 1.15rem; font-weight: 800; }
.editorialCard__title a { color: var(--text); }
.editorialCard__excerpt { font-size: 14px; color: var(--muted); margin: 0; }
.editorialCard__meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
@media (max-width: 960px) {
  .editorialLayout { grid-template-columns: 1fr; }
  .editorialCard { grid-template-columns: 1fr; }
}

/* Responsive */
@media (min-width: 1024px) {
  .rdHeader__cta { display: inline-flex; }
}

@media (max-width: 960px) {
  .rdHeader__nav,
  .rdHeader__actions .rdIconBtn { display: none; }
  .rdHeader__toggle { display: flex; }
  .rdHeader { border-radius: var(--radiusSm); }
  .rdStats { grid-template-columns: repeat(2, 1fr); }
  .rdEngine__grid,
  .rdResearch__grid,
  .rdPostGrid,
  .rdGlassBox__grid,
  .rdFooter__grid { grid-template-columns: 1fr; }
  .rdVerdictCard {
    grid-template-columns: 1fr;
  }
  .rdVerdictCard__cta {
    align-items: stretch;
    width: 100%;
  }
  .rdStoreLanding__stats { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .rdSection { padding: 48px 0; }
  .rdHero { padding: 32px 0 56px; }
  .rdStats { grid-template-columns: 1fr 1fr; }
  .rdCatGrid { grid-template-columns: repeat(2, 1fr); }
  .rdFooter__ctaInner { flex-direction: column; align-items: stretch; }
  .rdNewsletter { flex-direction: column; }
  .rdNewsletter input { min-width: 0; width: 100%; }
  .rdHeader__inner { padding-inline: 16px; }
}

@media (max-width: 390px) {
  .rdStats__item { padding: 16px 10px; }
  .rdStats__item strong { font-size: 1.2rem; }
}

/* iOS safe areas */
@supports (padding: max(0px)) {
  .rdHeader { margin-top: max(12px, env(safe-area-inset-top)); }
  .rdMobileNav { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
}
