/* RideNovo — Vercel-inspired public UI (light) */
:root {
  --rn-ink: #0a0a0a;
  --rn-muted: #666666;
  --rn-faint: #999999;
  --rn-paper: #fafafa;
  --rn-canvas: #ffffff;
  --rn-line: #eaeaea;
  --rn-line-strong: #d4d4d4;
  --rn-accent: #0070f3;
  --rn-accent-soft: rgba(0, 112, 243, 0.08);
  --rn-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --rn-radius: 8px;
  --rn-radius-lg: 12px;
  --rn-max: 42rem; /* ~672px：工具页 / 榜单阅读栏 */
  --rn-font: "Outfit", "Segoe UI", sans-serif;
  --rn-display: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--rn-font);
  color: var(--rn-ink);
  background-color: var(--rn-paper);
  background-image:
    radial-gradient(ellipse 90% 60% at 50% -20%, rgba(0, 112, 243, 0.07), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fafafa 28%, #f5f5f5 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
}

.font-display {
  font-family: var(--rn-display);
  letter-spacing: -0.04em;
}

/* ── Brand mark ─────────────────────────────────────── */
.rn-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 5px;
  background: var(--rn-ink);
  color: #fff;
  flex-shrink: 0;
}

.rn-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--rn-ink);
}

/* ── Icon tiles ─────────────────────────────────────── */
.rn-icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--rn-radius);
  background: var(--rn-paper);
  border: 1px solid var(--rn-line);
  color: var(--rn-ink);
  flex-shrink: 0;
}
.rn-icon-tile--lg { width: 2.75rem; height: 2.75rem; font-size: 1.25rem; }
.rn-icon-tile--ink { background: var(--rn-ink); color: #fff; border-color: var(--rn-ink); }
.rn-icon-tile--amber,
.rn-icon-tile--sky { background: var(--rn-paper); color: var(--rn-ink); border-color: var(--rn-line); }

/* ── Surfaces (interaction containers only) ─────────── */
.rn-surface {
  background: var(--rn-canvas);
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius-lg);
  transition: border-color .2s var(--rn-ease), background .2s var(--rn-ease);
}
a.rn-surface:hover,
.rn-surface--hover:hover {
  border-color: var(--rn-line-strong);
  background: #fff;
}

/* Tool result callout — high contrast, theme-matched */
.rn-tool-result {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border-radius: var(--rn-radius-lg);
  border: 1px solid var(--rn-line);
  background: #fff;
}
.rn-tool-result__icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 0.15rem;
  flex-shrink: 0;
  color: var(--rn-ink);
}
.rn-tool-result__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rn-muted);
  margin-bottom: 0.2rem;
}
.rn-tool-result__value {
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--rn-ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.rn-tool-result__hint {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--rn-muted);
}
.rn-tool-result--range {
  background: #fff8ed;
  border-color: #f0d9b5;
}
.rn-tool-result--range .rn-tool-result__icon {
  color: #b45309;
}
.rn-tool-result--range .rn-tool-result__value {
  color: #1c1917;
}
.rn-tool-result--cost {
  flex-direction: column;
  gap: 0.65rem;
  background: #f0faf6;
  border-color: #b7e0d0;
}
.rn-tool-result__rows {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
}
.rn-tool-result__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--rn-muted);
}
.rn-tool-result__row strong {
  font-weight: 650;
  color: var(--rn-ink);
  letter-spacing: -0.02em;
}
.rn-tool-result__row--total {
  margin-top: 0.15rem;
  padding-top: 0.65rem;
  border-top: 1px solid #c5e6d8;
  color: var(--rn-ink);
  font-weight: 500;
}
.rn-tool-result__save {
  color: #0f766e !important;
}

.rn-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--rn-radius);
  font-size: 0.75rem;
  line-height: 1.2;
  background: transparent;
  border: 1px solid var(--rn-line);
  color: var(--rn-muted);
}
.rn-chip--accent {
  background: var(--rn-ink);
  border-color: var(--rn-ink);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 0.7rem;
  text-transform: none;
}

/* ── Buttons (Vercel-like) ──────────────────────────── */
.rn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--rn-radius);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, color .15s, opacity .15s;
  text-decoration: none;
  cursor: pointer;
}
.rn-btn:active { opacity: 0.88; }
.rn-btn--primary {
  background: var(--rn-ink);
  color: #fff;
}
.rn-btn--primary:hover { background: #262626; color: #fff; }
.rn-btn--ghost {
  background: #fff;
  border-color: var(--rn-line);
  color: var(--rn-ink);
}
.rn-btn--ghost:hover {
  border-color: var(--rn-line-strong);
  background: var(--rn-paper);
}

.rn-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--rn-faint);
  margin-bottom: 0.5rem;
}
.rn-section-kicker i { display: none; }

.rn-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.rn-section-title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--rn-ink);
  margin: 0;
  line-height: 1.2;
}
.rn-section-link {
  font-size: 0.875rem;
  color: var(--rn-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
.rn-section-link:hover { color: var(--rn-ink); }

/* ── Hero: compact masthead (no full-bleed image) ───── */
.rn-hero {
  border-bottom: 1px solid var(--rn-line);
  background: #fff;
}
.rn-hero__inner {
  width: 100%;
  max-width: var(--rn-max);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 2rem;
}
@media (min-width: 640px) {
  .rn-hero__inner { padding: 2.75rem 1.25rem 2.35rem; }
}
.rn-hero .rn-brand-mark {
  margin-bottom: 0.85rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  position: relative;
}
.rn-hero .rn-brand-mark::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  margin-top: 0.7rem;
  background: var(--rn-ink);
  border-radius: 1px;
  transform-origin: left center;
  animation: rn-rule-in .55s var(--rn-ease) .18s both;
}
.rn-hero__title {
  font-size: clamp(1.55rem, 3.4vw, 2.05rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--rn-ink);
  max-width: 28ch;
  margin: 0 0 0.65rem;
}
.rn-hero__sub {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--rn-muted);
  max-width: 36rem;
  margin: 0 0 1.25rem;
  font-weight: 400;
}
.rn-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

@keyframes rn-rule-in {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes rn-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.rn-reveal { animation: rn-fade-up .55s var(--rn-ease) both; }
.rn-reveal-delay-1 { animation-delay: .06s; }
.rn-reveal-delay-2 { animation-delay: .12s; }
.rn-reveal-delay-3 { animation-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  .rn-reveal, .rn-reveal-delay-1, .rn-reveal-delay-2, .rn-reveal-delay-3,
  .rn-hero .rn-brand-mark::after {
    animation: none !important;
  }
  .rn-hero .rn-brand-mark::after { transform: none; opacity: 1; }
}

.rn-hero-stack,
.rn-hero__bg,
.rn-hero__media,
.rn-hero__veil { display: none; }

.rn-cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #f0f0f0, #e4e4e4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rn-faint);
  overflow: hidden;
}
.rn-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Nav ────────────────────────────────────────────── */
.rn-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--rn-line);
  background: rgba(250, 250, 250, 0.82);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
}
.rn-nav__inner {
  max-width: var(--rn-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.rn-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--rn-ink);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  min-width: 0;
}
.rn-logo {
  display: block;
  height: 0.85rem;
  width: auto;
  max-width: min(6.75rem, 34vw);
}
.rn-logo--footer {
  height: 0.75rem;
  max-width: 6rem;
}
.rn-footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.rn-nav__links {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
@media (min-width: 900px) {
  .rn-nav__links { display: flex; }
}
.rn-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 450;
  color: var(--rn-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.rn-nav-link i { display: none; }
.rn-nav-link:hover { color: var(--rn-ink); background: rgba(0, 0, 0, 0.04); }
.rn-nav-link.is-active { color: var(--rn-ink); font-weight: 500; }
.rn-nav-link--muted { font-size: 0.8125rem; }
.rn-nav__mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 900px) {
  .rn-nav__mobile { display: none; }
}
.rn-nav__mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  background: #fff;
  color: var(--rn-ink);
  cursor: pointer;
}
.rn-nav__drawer {
  border-top: 1px solid var(--rn-line);
  background: #fff;
  padding: 0.5rem 1.25rem 1rem;
}
@media (min-width: 900px) {
  .rn-nav__drawer { display: none !important; }
}
.rn-nav__drawer a {
  display: block;
  padding: 0.7rem 0;
  font-size: 0.9rem;
  color: var(--rn-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rn-line);
}
.rn-nav__drawer a i { display: none; }

/* ── Locale ─────────────────────────────────────────── */
.rn-locale { position: relative; flex-shrink: 0; }
.rn-locale__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  height: 2rem;
  padding: 0 0.5rem 0 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--rn-line);
  background: #fff;
  color: var(--rn-ink);
  cursor: pointer;
  transition: border-color .15s var(--rn-ease), background .15s var(--rn-ease);
}
.rn-locale__btn:hover {
  border-color: var(--rn-line-strong);
  background: var(--rn-paper);
}
.rn-locale__btn:focus-visible {
  outline: 2px solid var(--rn-accent);
  outline-offset: 2px;
}
.rn-locale__globe {
  font-size: 0.9rem;
  color: var(--rn-muted);
  line-height: 1;
}
.rn-locale__btn:hover .rn-locale__globe { color: var(--rn-ink); }
.rn-locale__code {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  min-width: 1.35rem;
  text-align: center;
}
.rn-locale__caret {
  font-size: 0.65rem;
  color: var(--rn-faint);
  line-height: 1;
  transition: transform .15s var(--rn-ease);
}
.rn-locale__caret.is-open { transform: rotate(180deg); }
.rn-locale__panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  z-index: 50;
  width: min(12rem, calc(100vw - 2rem));
  padding: 0.4rem;
  border-radius: var(--rn-radius-lg);
  border: 1px solid var(--rn-line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.08);
}
.rn-locale__panel--right { right: 0; }
.rn-locale__panel--left { left: 0; }
.rn-locale__hint {
  margin: 0;
  padding: 0.35rem 0.55rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--rn-faint);
  letter-spacing: 0.02em;
}
.rn-locale__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: min(18rem, 50vh);
  overflow-y: auto;
}
.rn-locale__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.55rem;
  border-radius: 6px;
  color: var(--rn-ink);
  text-decoration: none;
}
.rn-locale__item:hover { background: var(--rn-paper); }
.rn-locale__item.is-active { background: var(--rn-accent-soft); }
.rn-locale__item.is-active .rn-locale__item-code { color: var(--rn-accent); }
.rn-locale__item-code {
  flex-shrink: 0;
  min-width: 1.85rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--rn-muted);
}
.rn-locale__item-name {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
}
.rn-locale__check { flex-shrink: 0; font-size: 0.9rem; color: var(--rn-accent); }

.rn-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.8rem;
  color: var(--rn-muted);
}
.rn-stat-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ── List / content shells ──────────────────────────── */
.rn-shell {
  max-width: var(--rn-max);
  margin: 0 auto;
  padding: 2.75rem 1.25rem;
}
.rn-shell--narrow { max-width: var(--rn-max); }
.rn-page-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0 0 0.5rem;
  line-height: 1.15;
}
.rn-page-sub {
  font-size: 1rem;
  color: var(--rn-muted);
  margin: 0 0 2rem;
  line-height: 1.55;
  max-width: 36rem;
}

/* Guide featured products */
.rn-guide-picks__head { margin-bottom: 1.1rem; }
.rn-guide-picks__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rn-faint);
  margin: 0 0 0.35rem;
}
.rn-guide-picks__title {
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  color: var(--rn-ink);
}
.rn-guide-picks__sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--rn-muted);
  line-height: 1.5;
  max-width: 36rem;
}
.rn-guide-picks__grid {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 640px) {
  .rn-guide-picks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.rn-guide-picks__note,
.rn-guide-next__note {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  color: var(--rn-faint);
  line-height: 1.45;
}

.rn-guide-pick {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius-lg);
  background: #fff;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color .15s ease, transform .15s ease;
}
.rn-guide-pick:hover {
  border-color: var(--rn-line-strong);
  transform: translateY(-1px);
  color: inherit;
}
.rn-guide-pick__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f4f4f4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  box-sizing: border-box;
}
.rn-guide-pick__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.rn-guide-pick__media-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rn-faint);
  font-size: 2rem;
}
.rn-guide-pick__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.88);
  color: #fff;
}
.rn-guide-pick__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 0.95rem 1rem;
  flex: 1;
}
.rn-guide-pick__brand {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rn-faint);
}
.rn-guide-pick__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--rn-ink);
}
.rn-guide-pick__headline {
  margin: 0;
  font-size: 0.85rem;
  color: var(--rn-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rn-guide-pick__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.15rem;
}
.rn-guide-pick__chip {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--rn-muted);
  background: var(--rn-paper);
  border: 1px solid var(--rn-line);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}
.rn-guide-pick__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.65rem;
}
.rn-guide-pick__price { min-width: 0; }
.rn-guide-pick__price-now {
  display: block;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--rn-ink);
}
.rn-guide-pick__price-was {
  display: block;
  font-size: 0.75rem;
  color: var(--rn-faint);
  text-decoration: line-through;
}
.rn-guide-pick__price-hint {
  font-size: 0.78rem;
  color: var(--rn-muted);
  line-height: 1.35;
}
.rn-guide-pick__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: var(--rn-ink);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  white-space: nowrap;
}
.rn-guide-pick:hover .rn-guide-pick__cta { background: #222; }

/* Guide next-step / outbound link */
.rn-guide-next__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rn-faint);
}
.rn-guide-link {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border-radius: var(--rn-radius-lg);
  border: 1px solid var(--rn-ink);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: background .15s ease, transform .15s ease;
}
.rn-guide-link:hover {
  background: var(--rn-paper);
  transform: translateY(-1px);
  color: inherit;
}
.rn-guide-link__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--rn-radius);
  background: var(--rn-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.rn-guide-link__kicker {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--rn-faint);
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
  text-transform: none;
}
.rn-guide-link__title {
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--rn-ink);
  margin: 0 0 0.3rem;
}
.rn-guide-link__blurb {
  font-size: 0.85rem;
  color: var(--rn-muted);
  line-height: 1.55;
  margin: 0;
}
.rn-guide-link__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--rn-ink);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  white-space: nowrap;
}
.rn-guide-link:hover .rn-guide-link__cta { background: #222; }

/* Footer newsletter — dark conversion band */
.rn-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--rn-radius-lg);
  border: 1px solid #0a0a0a;
  background: #0a0a0a;
  color: #fff;
}
.rn-newsletter__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 0.3rem;
}
.rn-newsletter__title i { color: rgba(255, 255, 255, 0.55); }
.rn-newsletter__sub {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
}
.rn-newsletter__form {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
}
.rn-newsletter__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: var(--rn-radius);
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  background: #fff;
  color: var(--rn-ink);
  font-family: inherit;
}
.rn-newsletter__input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 1px;
}
.rn-newsletter__input::placeholder { color: #999; }
.rn-newsletter__input:disabled { opacity: 0.7; }
.rn-newsletter .rn-btn--primary {
  flex-shrink: 0;
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
  white-space: nowrap;
}
.rn-newsletter .rn-btn--primary:hover {
  background: #f0f0f0;
  color: #0a0a0a;
}
.rn-newsletter .rn-btn--primary:disabled { opacity: 0.65; cursor: default; }
.rn-newsletter__msg { margin: 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }
.rn-newsletter__msg.is-ok { color: #86efac; }
.rn-newsletter__msg.is-err { color: #fca5a5; }
.rn-newsletter__deals {
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.rn-newsletter__deals p { color: rgba(255, 255, 255, 0.5) !important; }
.rn-newsletter__deals a { color: #fff !important; }
.rn-newsletter__deals a:hover { opacity: 0.75; }

.rn-footer {
  border-top: 1px solid var(--rn-line);
  margin-top: 3.5rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #fafafa 55%, #f7f7f5 100%);
}
.rn-footer__inner {
  max-width: var(--rn-max);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.rn-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.25rem;
}
@media (min-width: 560px) {
  .rn-footer__meta {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
  }
}
.rn-footer__identity { min-width: 0; }
.rn-footer__wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--rn-ink);
}
.rn-footer__tagline {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--rn-muted);
  max-width: 18rem;
}
.rn-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}
.rn-footer__nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--rn-muted);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.18s var(--rn-ease);
}
.rn-footer__nav a:hover,
.rn-footer__nav a:focus-visible {
  color: var(--rn-ink);
  outline: none;
}
.rn-footer__copy {
  border-top: 1px solid var(--rn-line);
  padding: 0.95rem 1.25rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: var(--rn-faint);
}

/* Compare CTAs */
.rn-compare-cta {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.05rem 1.15rem;
  border-radius: var(--rn-radius-lg);
  border: 1px solid var(--rn-line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s var(--rn-ease);
}
.rn-compare-cta:hover { border-color: var(--rn-line-strong); }
.rn-compare-cta--featured {
  border-color: var(--rn-ink);
  background: var(--rn-paper);
}
.rn-compare-cta__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 6px;
  background: var(--rn-ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
}
.rn-compare-cta__body { min-width: 0; flex: 1; }
.rn-compare-cta__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-bottom: 0.3rem;
}
.rn-compare-cta__kicker {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--rn-faint);
  letter-spacing: 0.02em;
  text-transform: none;
}
.rn-compare-cta__tag {
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: var(--rn-ink);
  color: #fff;
}
.rn-compare-cta__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--rn-ink);
  line-height: 1.3;
  margin: 0 0 0.55rem;
}
.rn-compare-cta__action {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
  background: var(--rn-ink);
  padding: 0.4rem 0.75rem;
  border-radius: var(--rn-radius);
}
.rn-compare-cta:hover .rn-compare-cta__action { background: #262626; }

/* Tools band */
.rn-tools-band {
  border-block: 1px solid var(--rn-line);
  background: #fff;
  padding: 2.75rem 0;
}

/* Prose */
.prose-guide h2 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 1.6rem 0 0.6rem;
  color: var(--rn-ink);
}
.prose-guide p {
  margin: 0.75rem 0;
  line-height: 1.7;
  color: #404040;
}
.prose-guide ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0.75rem 0;
  color: #404040;
}
.prose-guide a { color: var(--rn-accent); text-decoration: underline; text-underline-offset: 2px; }

/* ══════════════════════════════════════════════════════
   Section-specific layouts (avoid same card everywhere)
   ══════════════════════════════════════════════════════ */

/* Guides — editorial: featured + typography stack */
.rn-editorial {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.rn-editorial__feature {
  display: block;
  text-decoration: none;
  color: inherit;
}
.rn-editorial__feature-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--rn-radius-lg);
  overflow: hidden;
  border: 1px solid var(--rn-line);
  background: #eee;
  margin-bottom: 1rem;
}
.rn-editorial__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--rn-ease);
}
.rn-editorial__feature:hover .rn-editorial__feature-media img {
  transform: scale(1.03);
}
.rn-editorial__feature-title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: var(--rn-ink);
}
.rn-editorial__feature-excerpt {
  font-size: 0.95rem;
  color: var(--rn-muted);
  line-height: 1.55;
  margin: 0;
}
.rn-editorial__stack {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rn-line);
}
.rn-editorial__item {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rn-line);
  text-decoration: none;
  color: inherit;
  align-items: start;
  transition: opacity .15s;
}
.rn-editorial__item:hover { opacity: 0.78; color: inherit; }
@media (min-width: 640px) {
  .rn-editorial__item {
    grid-template-columns: 9rem 1fr;
    gap: 0.9rem 1.1rem;
    padding: 1.05rem 0;
  }
}
.rn-editorial__item-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--rn-radius);
  overflow: hidden;
  border: 1px solid var(--rn-line);
  background: #eee;
}
.rn-editorial__item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rn-editorial__item-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rn-faint);
  font-size: 1.25rem;
  background: var(--rn-paper);
}
.rn-editorial__item-body { min-width: 0; }
.rn-editorial__item-meta {
  font-size: 0.7rem;
  color: var(--rn-faint);
  margin: 0 0 0.3rem;
}
.rn-editorial__item-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin: 0 0 0.25rem;
  color: var(--rn-ink);
}
@media (min-width: 640px) {
  .rn-editorial__item-title { font-size: 1rem; }
}
.rn-editorial__item-excerpt {
  font-size: 0.8rem;
  color: var(--rn-muted);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Guides list page — magazine stream */
.rn-mag-feature {
  display: block;
  margin-bottom: 2.5rem;
  text-decoration: none;
  color: inherit;
}
.rn-mag-feature__media {
  aspect-ratio: 2 / 1;
  border-radius: var(--rn-radius-lg);
  overflow: hidden;
  border: 1px solid var(--rn-line);
  background: #eee;
  margin-bottom: 1.15rem;
}
.rn-mag-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rn-mag-feature__title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.15;
  margin: 0 0 0.55rem;
}
.rn-mag-stream {
  border-top: 1px solid var(--rn-line);
}
.rn-mag-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.9rem 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rn-line);
  text-decoration: none;
  color: inherit;
  align-items: stretch;
  transition: opacity .15s ease;
}
.rn-mag-row:hover { opacity: 0.88; color: inherit; }
@media (min-width: 640px) {
  .rn-mag-row {
    grid-template-columns: 11rem 1fr;
    gap: 1.15rem 1.35rem;
    padding: 1.35rem 0;
  }
}
.rn-mag-row__media {
  aspect-ratio: 16 / 9;
  border-radius: var(--rn-radius);
  overflow: hidden;
  border: 1px solid var(--rn-line);
  background: #eee;
  align-self: start;
}
.rn-mag-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rn-mag-row__media-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rn-faint);
  font-size: 1.5rem;
  background: var(--rn-paper);
}
.rn-mag-row__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.rn-mag-row__meta {
  margin: 0;
  font-size: 0.7rem;
  color: var(--rn-faint);
}
.rn-mag-row__title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.3;
  color: var(--rn-ink);
}
@media (min-width: 640px) {
  .rn-mag-row__title { font-size: 1.15rem; }
}
.rn-mag-row__excerpt {
  font-size: 0.85rem;
  color: var(--rn-muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rn-mag-row__go {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--rn-faint);
}

/* Deals — commerce: price-forward product rail + promo banners */
.rn-commerce-band {
  background: #fff;
  border-block: 1px solid var(--rn-line);
  padding: 2.5rem 0;
}
.rn-guides-band {
  padding: 2.5rem 0;
}
.rn-product-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius-lg);
  overflow: hidden;
  background: #fff;
}
.rn-product-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--rn-line);
  transition: background .15s;
}
.rn-product-row:last-child { border-bottom: 0; }
.rn-product-row:hover { background: var(--rn-paper); }
.rn-product-row__thumb {
  width: 5.5rem;
  height: 4rem;
  border-radius: 6px;
  border: 1px solid var(--rn-line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rn-product-row__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}
.rn-product-row__brand {
  font-size: 0.65rem;
  color: var(--rn-faint);
  margin: 0 0 0.15rem;
}
.rn-product-row__name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.2rem;
  line-height: 1.25;
}
.rn-product-row__blurb {
  font-size: 0.75rem;
  color: var(--rn-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rn-product-row__price {
  text-align: right;
}
.rn-product-row__price-main {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rn-product-row__price-was {
  font-size: 0.7rem;
  color: var(--rn-faint);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.rn-product-row__price .rn-offer-meta {
  margin-top: 0.4rem;
}
@media (max-width: 560px) {
  .rn-product-row {
    grid-template-columns: 4.25rem 1fr;
  }
  .rn-product-row__price {
    grid-column: 2;
    text-align: left;
    margin-top: -0.35rem;
  }
  .rn-product-row__price .rn-offer-meta {
    justify-content: flex-start;
  }
}

.rn-offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 560px) {
  .rn-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
}
.rn-offer-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  background: #fff;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color .15s;
}
.rn-offer-card:hover { border-color: var(--rn-line-strong); color: inherit; }
.rn-offer-card.is-ended { opacity: 0.55; }
.rn-offer-card__media {
  aspect-ratio: 1 / 1;
  background: #f7f7f7;
  overflow: hidden;
  padding: 0.75rem;
  box-sizing: border-box;
}
.rn-offer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}
.rn-offer-card__body { padding: 0.85rem 0.95rem 1rem; }
.rn-offer-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-bottom: 0.15rem;
}
.rn-offer-card__brand {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rn-muted);
  margin: 0;
}
.rn-offer-card__state {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--rn-faint);
}
.rn-offer-card__state.is-active { color: #15803d; }
.rn-offer-card__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0.15rem 0 0;
  line-height: 1.3;
}
.rn-offer-card__blurb {
  font-size: 0.8rem;
  color: var(--rn-muted);
  line-height: 1.45;
  margin: 0.4rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rn-offer-card__product {
  font-size: 0.7rem;
  color: var(--rn-faint);
  margin: 0.35rem 0 0;
}
.rn-offer-card__price {
  margin: 0.55rem 0 0;
  line-height: 1;
}
.rn-offer-card__price--lg {
  margin-top: 0;
}
.rn-money {
  display: inline-flex;
  align-items: baseline;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: inherit;
  white-space: nowrap;
}
.rn-money__sym {
  font-size: 0.92em;
  margin-right: 0.08em;
  font-weight: 600;
}
.rn-money__int {
  font-size: 1.05rem;
}
.rn-offer-card__price--lg .rn-money__int {
  font-size: 1.35rem;
}
.rn-money__frac {
  font-size: 0.68em;
  font-weight: 600;
  opacity: 0.85;
  margin-left: 0.02em;
}
.rn-offer-card__cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
}

/* 优惠卡元信息：码是可执行信息，倒计时是附属紧迫感 */
.rn-offer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-top: 0.7rem;
}
.rn-offer-meta--end { justify-content: flex-end; }
.rn-offer-code {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  max-width: 100%;
  padding: 0.28rem 0.55rem;
  border: 1px dashed rgba(10, 10, 10, 0.22);
  border-radius: 6px;
  background: #f7f4ee;
}
.rn-offer-code__kicker {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rn-faint);
  flex-shrink: 0;
}
.rn-offer-code__val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--rn-ink);
  line-height: 1.2;
  word-break: break-all;
}
.rn-offer-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--rn-faint);
  min-width: 0;
}
.rn-offer-timer .ph {
  font-size: 0.8rem;
  line-height: 1;
}
.rn-offer-timer__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rn-offer-timer__val {
  font-size: 0.6875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.rn-offer-timer.is-ended .rn-offer-timer__label { display: none; }

.rn-offer-hero {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .rn-offer-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
}
.rn-offer-hero__media {
  border-radius: var(--rn-radius);
  overflow: hidden;
  border: 1px solid var(--rn-line);
  background: #f7f7f7;
}
.rn-offer-hero__media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rn-promo-banners {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.rn-promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  background: var(--rn-ink);
  color: #fff;
  text-decoration: none;
  transition: opacity .15s;
}
.rn-promo-banner:hover { opacity: 0.9; color: #fff; }
.rn-promo-banner--muted {
  background: #fff;
  color: var(--rn-ink);
}
.rn-promo-banner--muted:hover { color: var(--rn-ink); background: var(--rn-paper); }
.rn-promo-banner__brand {
  font-size: 0.65rem;
  opacity: 0.65;
  margin-bottom: 0.2rem;
}
.rn-promo-banner__title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.3;
}
.rn-promo-banner__cta {
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0.8;
}

/* Deals catalog grid — denser commerce tiles */
.rn-deal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 560px) {
  .rn-deal-grid { gap: 0.9rem; }
}
.rn-deal-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius);
  background: #fff;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color .15s;
}
.rn-deal-tile:hover { border-color: var(--rn-line-strong); }
.rn-deal-tile__media {
  aspect-ratio: 1 / 1;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--rn-line);
  position: relative;
}
.rn-deal-tile__media img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}
.rn-deal-tile__body { padding: 0.75rem 0.85rem 0.9rem; }
.rn-deal-tile__brand {
  font-size: 0.65rem;
  color: var(--rn-faint);
  margin: 0 0 0.2rem;
}
.rn-deal-tile__name {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rn-deal-tile__price {
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* Tools — dense index rows (not product cards) */
.rn-tool-index {
  border: 1px solid var(--rn-line);
  border-radius: var(--rn-radius-lg);
  overflow: hidden;
  background: #fff;
}
.rn-tool-index__row {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1.05rem 1.2rem;
  border-bottom: 1px solid var(--rn-line);
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
.rn-tool-index__row:last-child { border-bottom: 0; }
.rn-tool-index__row:hover { background: var(--rn-paper); }
.rn-tool-index__num {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rn-faint);
  font-variant-numeric: tabular-nums;
}
.rn-tool-index__title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.2rem;
}
.rn-tool-index__desc {
  font-size: 0.8rem;
  color: var(--rn-muted);
  margin: 0;
  line-height: 1.4;
}
.rn-tool-index__go {
  font-size: 0.85rem;
  color: var(--rn-faint);
}

/* About close — editorial pullquote, not a card grid */
.rn-pull {
  max-width: 36rem;
  border-left: 2px solid var(--rn-ink);
  padding-left: 1.25rem;
}
.rn-pull__text {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.45;
  color: var(--rn-ink);
  margin: 0 0 1rem;
}

/* Home section spacing rhythm */
.rn-home-block { padding: 2.5rem 0; }
.rn-home-block + .rn-home-block { border-top: 1px solid transparent; }

/* Partner logos — 放文件末尾，避免改坏时拖垮 deals 等后续样式 */
.rn-footer-brands {
  padding: 1.35rem 0 0.15rem;
  border-top: 1px solid var(--rn-line);
}
.rn-footer-brands__label {
  margin: 0 0 0.95rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rn-faint);
}
.rn-footer-brands__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}
.rn-footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
}
.rn-footer-brand:focus-visible {
  outline: 2px solid var(--rn-accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.rn-footer-brand img {
  display: block;
  height: 2.75rem;
  width: auto;
  max-width: 8.5rem;
  object-fit: contain;
  border-radius: 6px;
  opacity: 1;
  filter: none;
  transition: transform 0.22s var(--rn-ease), box-shadow 0.22s var(--rn-ease);
}
.rn-footer-brand:hover img,
.rn-footer-brand:focus-visible img {
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(10, 10, 10, 0.1);
}
.rn-footer-brand:active img {
  transform: scale(1.02);
}

/* Guides — E-E-A-T author & trust signals */
.rn-guide-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--rn-line);
}
.rn-guide-author {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.rn-guide-author:hover .rn-guide-author__name { color: var(--rn-accent); }
.rn-guide-author__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid var(--rn-line);
  background: #f3f3f1;
  flex-shrink: 0;
}
.rn-guide-author__avatar--ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9b9b9b;
  font-size: 1.1rem;
}
.rn-guide-author__text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.rn-guide-author__name { font-size: 0.875rem; font-weight: 600; color: var(--rn-ink); transition: color 0.15s; }
.rn-guide-author__role { font-size: 0.6875rem; color: var(--rn-ink-faint); }
.rn-guide-meta__dates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  font-size: 0.6875rem;
  color: var(--rn-ink-faint);
}
.rn-guide-meta__item { display: inline-flex; align-items: center; gap: 0.3rem; }
.rn-guide-meta__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
  font-size: 0.6875rem;
  font-weight: 600;
}
.rn-eeat-note {
  padding: 0.85rem 1rem;
  border-radius: var(--rn-radius-md);
  border: 1px solid var(--rn-line);
  background: #fafaf8;
}
.rn-eeat-note__kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rn-ink-faint);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.rn-eeat-note__body { font-size: 0.8125rem; color: var(--rn-ink-muted); line-height: 1.55; margin: 0; }
.rn-guide-sources ul { list-style: none; padding: 0; margin: 0; }
.rn-author-card {
  padding: 1.25rem;
  border-radius: var(--rn-radius-lg);
  border: 1px solid var(--rn-line);
  background: linear-gradient(180deg, #fafaf8 0%, #fff 100%);
}
.rn-author-card__kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rn-ink-faint);
  margin-bottom: 0.75rem;
}
.rn-author-card__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.75rem; }
.rn-author-card__avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid var(--rn-line);
}
.rn-author-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--rn-ink);
  text-decoration: none;
}
.rn-author-card__name:hover { color: var(--rn-accent); }
.rn-author-card__role { font-size: 0.8125rem; color: var(--rn-ink-muted); margin-top: 0.15rem; }
.rn-author-card__bio { font-size: 0.875rem; color: var(--rn-ink-muted); line-height: 1.6; margin: 0 0 0.75rem; }
.rn-author-card__creds { font-size: 0.8125rem; color: var(--rn-ink-muted); line-height: 1.5; margin: 0 0 0.75rem; }
.rn-author-card__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.75rem; }
.rn-author-card__links { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.rn-tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: rgba(0,0,0,0.04);
  font-size: 0.6875rem;
  color: var(--rn-ink-muted);
}
.rn-author-hero__head { display: flex; align-items: flex-start; gap: 1.25rem; }
.rn-author-hero__avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid var(--rn-line);
  flex-shrink: 0;
}
.rn-author-hero__avatar--ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f1;
  color: #9b9b9b;
  font-size: 2rem;
}


/* GEO: AI summary + FAQ + best lists */
.rn-ai-summary {
  border-left: 3px solid var(--rn-brand, #0f766e);
  padding: 0.85rem 1rem;
  background: rgba(15, 118, 110, 0.05);
  border-radius: 0 0.5rem 0.5rem 0;
}
.rn-ai-summary__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--rn-ink, #1a1a1a);
}
.rn-faq__item { padding-bottom: 0.75rem; border-bottom: 1px solid var(--rn-line, #e8e8e4); }
.rn-faq__item:last-child { border-bottom: 0; }
.rn-key-specs__title {
  font-family: var(--rn-font-display, inherit);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
}
.rn-key-specs__table { font-size: 0.8125rem; }
.rn-best-index { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.rn-best-index__card {
  display: flex; flex-direction: column; gap: 0.35rem;
  padding: 1rem 1.1rem; border: 1px solid var(--rn-line, #e8e8e4);
  border-radius: 0.65rem; text-decoration: none; color: inherit;
  transition: border-color .15s ease;
}
.rn-best-index__card:hover { border-color: var(--rn-brand, #0f766e); }
.rn-best-index__title { font-weight: 600; font-size: 1rem; }
.rn-best-index__excerpt { font-size: 0.875rem; color: var(--rn-ink-muted, #6b6b6b); line-height: 1.45; }
.rn-best-index__meta { font-size: 0.75rem; color: var(--rn-ink-faint, #9b9b9b); }
.rn-compare-table-wrap { border: 1px solid var(--rn-line, #e8e8e4); border-radius: 0.65rem; padding: 0.75rem; }
.rn-compare-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.rn-compare-table th, .rn-compare-table td {
  text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--rn-line, #e8e8e4);
  vertical-align: top;
}
.rn-compare-table th { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--rn-ink-muted, #6b6b6b); }
.rn-list-item { padding-bottom: 1.25rem; border-bottom: 1px solid var(--rn-line, #e8e8e4); }

/* Pillar / Topic cluster */
.rn-pillar-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 960px) {
  .rn-pillar-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
  }
}
.rn-toc {
  position: sticky;
  top: 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--rn-line, #e8e8e4);
  border-radius: 0.65rem;
  background: #fff;
  max-height: calc(100vh - 2rem);
  overflow: auto;
}
.rn-toc--inline { position: static; max-height: none; }
.rn-toc__title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--rn-ink-muted, #6b6b6b);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.rn-toc__nav { display: flex; flex-direction: column; gap: 0.35rem; }
.rn-toc__link {
  font-size: 0.8125rem;
  color: var(--rn-ink-muted, #6b6b6b);
  text-decoration: none;
  line-height: 1.35;
}
.rn-toc__link:hover, .rn-toc__link.is-active { color: var(--rn-brand, #0f766e); }
.rn-toc__link.is-active { font-weight: 600; }
.rn-cluster-card {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 0.85rem; border: 1px solid var(--rn-line, #e8e8e4);
  border-radius: 0.65rem; text-decoration: none; color: inherit;
}
.rn-cluster-card:hover { border-color: var(--rn-brand, #0f766e); }
.rn-cluster-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0.4rem; }
.rn-cluster-card__title { font-weight: 600; font-size: 0.95rem; }
.rn-cluster-card__excerpt { font-size: 0.8125rem; color: var(--rn-ink-muted, #6b6b6b); line-height: 1.4; }
.rn-breadcrumb a { text-decoration: none; }
.rn-breadcrumb a:hover { color: var(--rn-brand, #0f766e); }
