/* ==========================================================================
   YYbit Design System Bridge for Reader Mode
   Harmonizes Reader Mode with YYbit native design tokens and components
   ========================================================================== */

.reader-page,
.compare-page {
  --ink: #0f172a;
  --ink-secondary: #334155;
  --muted: #64748b;
  --subtle: #94a3b8;
  --paper: #f8f9f7;
  --surface: #ffffff;
  --surface-soft: #fafbfa;
  --line: rgba(0, 0, 0, 0.06);
  --line-strong: rgba(0, 0, 0, 0.12);
  --accent: #166534;
  --accent-hover: #14532d;
  --accent-light: rgba(22, 101, 52, 0.08);
  --bg: #f8f9f7;
  --text: #0f172a;
  --blue: #166534;
  --blue-dark: #14532d;
  --green: #166534;
  --primary-color: #166534;
  --primary-dark: #14532d;
  --primary-light: rgba(22, 101, 52, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.03);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.reader-page #pricing[hidden] {
  display: none !important;
}

.reader-page .site-header .language-list {
  background: #ffffff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.reader-page .hero {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
  padding: 120px 24px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reader-page .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.85) 100%),
    radial-gradient(ellipse at 50% 25%, rgba(22, 101, 52, 0.3), transparent 70%);
}

.reader-page .ambient-particles {
  z-index: 0;
}

.reader-page .hero .chapter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.reader-page .hero-content {
  padding: 0;
  text-align: left;
  max-width: 580px;
}

.reader-page .hero .app-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  padding: 4px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  margin: 0;
}

.reader-page .hero .eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 20px;
}

.reader-page .hero h1 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 14px 0 0;
  color: #ffffff;
  text-align: left;
}

.reader-page .hero .lead {
  font-size: 16px;
  line-height: 1.75;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
  max-width: 520px;
}

.reader-page .hero .actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.reader-page .hero .visual-browser {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.reader-page .hero-bottom-panel {
  max-width: 1280px;
  margin: 40px auto 0;
  width: 100%;
  position: relative;
  z-index: 2;
}

@media (max-width: 1023px) {
  .reader-page .hero .chapter-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .reader-page .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  .reader-page .hero .app-icon {
    margin: 0 auto;
  }
  .reader-page .hero h1 {
    text-align: center;
  }
  .reader-page .hero .lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .reader-page .hero .actions {
    justify-content: center;
  }
}

/* ==========================================================================
   Buttons (Pill Shapes aligned with YYbit primary/secondary links)
   ========================================================================== */
.reader-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.reader-page .button:active {
  transform: translateY(1px) scale(0.97);
}

.reader-page .hero .button.primary {
  background: #ffffff;
  color: #0f172a !important;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(0, 0, 0, 0.16);
}

.reader-page .hero .button.primary:hover {
  background: #f8f9fa;
  transform: translateY(-2.5px) scale(1.015);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.28);
}

.reader-page .hero .button.secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.reader-page .hero .button.secondary:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2.5px) scale(1.015);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.2);
}

.reader-page .hero .button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: inherit;
}

.reader-page .hero .button.ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Non-hero buttons */
.reader-page .content-shell .button.primary {
  background: #0f172a;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.reader-page .content-shell .button.primary:hover {
  background: #1e293b;
  transform: translateY(-2.5px) scale(1.015);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.26);
}

.reader-page .content-shell .button.secondary {
  background: rgba(255, 255, 255, 0.85);
  color: #334155 !important;
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.reader-page .content-shell .button.secondary:hover {
  background: #ffffff;
  color: #0f172a !important;
  transform: translateY(-2.5px) scale(1.015);
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Content Sections (Open Canvas Layout - No nested heavy boxes)
   ========================================================================== */
.reader-page .content-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.reader-page .content-shell .section {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 96px 0 0;
  margin-top: 0;
}

.reader-page .kicker {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(22, 101, 52, 0.08);
  border: 1px solid rgba(22, 101, 52, 0.16);
  border-radius: 9999px;
  padding: 4px 14px;
  min-height: 26px;
  margin-bottom: 18px;
}

.reader-page .content-shell h2 {
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--ink);
  max-width: 900px;
  margin: 0 auto;
}

.reader-page .section-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
  max-width: 660px;
  margin: 18px auto 0;
}

/* ==========================================================================
   Capabilities (3-Column Feature Cards on Paper Canvas)
   ========================================================================== */
.reader-page .capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
  text-align: left;
}

.reader-page .capabilities .card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 38px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  min-height: 250px;
}

.reader-page .capabilities .card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(22, 101, 52, 0.18),
    0 22px 45px -10px rgba(15, 23, 42, 0.08);
  border-color: rgba(22, 101, 52, 0.2);
}

.reader-page .capabilities .card i {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(22, 101, 52, 0.07);
  color: var(--accent);
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
}

.reader-page .capabilities .card:hover i {
  transform: scale(1.1) rotate(3deg);
  background: rgba(22, 101, 52, 0.12);
}

.reader-page .capabilities .card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}

.reader-page .capabilities .card p {
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
  margin-top: 12px;
}

/* ==========================================================================
   Details Showcase (Story-Style Layout)
   ========================================================================== */
.reader-page .details-layout {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 28px;
  padding: 56px 50px;
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.02);
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  column-gap: clamp(32px, 5vw, 64px);
  row-gap: 36px;
  align-items: center;
}

.reader-page .details-copy {
  display: contents;
}

.reader-page .details-copy .kicker,
.reader-page .details-copy h2,
.reader-page .details-copy .section-desc {
  grid-column: 1 / -1;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.reader-page .feature-list {
  grid-column: 1;
  grid-row: 4;
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin: 0;
  text-align: left;
}

.reader-page .feature {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px;
  background: #fafbfa;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  transition: transform 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}

.reader-page .feature:hover {
  background: #ffffff;
  border-color: rgba(22, 101, 52, 0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.reader-page .feature i {
  color: var(--accent);
  font-size: 17px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(22, 101, 52, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.reader-page .feature strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  margin-bottom: 3px;
  display: block;
}

.reader-page .feature span {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.6;
}

.reader-page .details-visual {
  grid-column: 2;
  grid-row: 4;
  width: 100%;
  justify-self: center;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.1);
  background: #ffffff;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.reader-page .details-visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 55px -12px rgba(15, 23, 42, 0.16);
}

.reader-page .details-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 64 / 37;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   Steps (Quick Start - 5 Clean Elevated Cards on Paper)
   ========================================================================== */
.reader-page .steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
  text-align: left;
}

.reader-page .steps .step {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.reader-page .steps .step:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
  border-color: rgba(22, 101, 52, 0.2);
}

.reader-page .steps .step img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.reader-page .steps .step-num {
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reader-page .steps .step strong {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.35;
}

.reader-page .steps .step p {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.65;
  margin: 8px 0 0;
}

/* ==========================================================================
   Feature Grid (Detailed Features - Pure White Cards with Harmonious Icons)
   ========================================================================== */
.reader-page .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
  text-align: left;
}

.reader-page .feature-grid .feature-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
  display: flex;
  gap: 18px;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.reader-page .feature-grid .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
  border-color: rgba(22, 101, 52, 0.2);
}

.reader-page .feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: 0 0 40px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reader-page .feature-grid .feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(3deg);
}

.reader-page .feature-icon.blue { background: rgba(37, 99, 235, 0.09) !important; color: #2563eb !important; }
.reader-page .feature-icon.purple { background: rgba(124, 58, 237, 0.09) !important; color: #7c3aed !important; }
.reader-page .feature-icon.green { background: rgba(22, 101, 52, 0.09) !important; color: #166534 !important; }
.reader-page .feature-icon.orange { background: rgba(234, 88, 12, 0.09) !important; color: #ea580c !important; }

.reader-page .feature-body h3 {
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.reader-page .feature-body p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  margin: 6px 0 0;
}

.reader-page .tag-new {
  background: rgba(22, 101, 52, 0.1);
  color: var(--accent);
  border: 1px solid rgba(22, 101, 52, 0.18);
  font-size: 10px;
  font-weight: 700;
  border-radius: 9999px;
  padding: 1px 7px;
  height: 18px;
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   FAQ Accordion (Centered on Paper Canvas, matching /polaris/ & /starwish/)
   ========================================================================== */
.reader-page .section#faq {
  max-width: 860px;
  margin: 0 auto;
}

.reader-page .faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 48px auto 0;
  text-align: left;
}

.reader-page .faq-list .faq-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reader-page .faq-list .faq-item:hover {
  border-color: rgba(22, 101, 52, 0.22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transform: translateY(-1.5px);
}

.reader-page .faq-list .faq-item summary {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.reader-page .faq-list .faq-item summary::-webkit-details-marker {
  display: none;
}

.reader-page .faq-list .faq-item summary::after {
  content: "+";
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f2;
  color: var(--accent);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  flex-shrink: 0;
  transform: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease, color 0.25s ease;
}

.reader-page .faq-list .faq-item[open] summary::after {
  content: "+";
  transform: rotate(45deg);
  background: var(--accent);
  color: #ffffff;
}

.reader-page .faq-list .faq-item p {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin: 0;
  padding: 16px 24px 22px;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.85;
}

.reader-page .faq-inline-link,
.reader-page a[data-i18n="faqCompareLink"] {
  color: var(--accent) !important;
  font-weight: 550;
  transition: color 0.2s ease;
}

.reader-page .faq-inline-link:hover,
.reader-page a[data-i18n="faqCompareLink"]:hover {
  color: var(--accent-hover) !important;
}

/* ==========================================================================
   Bottom CTA Section
   ========================================================================== */
.reader-page .cta {
  margin-top: 88px;
  padding: 72px 48px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.16);
  text-align: center;
}

.reader-page .cta h2 {
  color: #ffffff;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.reader-page .cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.75;
  max-width: 660px;
  margin: 18px auto 0;
}

.reader-page .cta .actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.reader-page .cta .button.primary {
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(0, 0, 0, 0.16);
}

.reader-page .cta .button.primary:hover {
  background: #f8f9fa;
  transform: translateY(-2.5px) scale(1.015);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.28);
}

.reader-page .cta .button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.reader-page .cta .button.secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2.5px) scale(1.015);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Release Modal
   ========================================================================== */
.reader-page .release-modal {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.reader-page .release-dialog {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.25);
}

.reader-page .release-head {
  border-bottom: 1px solid var(--line);
  padding: 28px 32px 20px;
}

.reader-page .release-head h2 {
  color: var(--ink);
  font-weight: 700;
  font-size: 24px;
}

.reader-page .release-head p {
  color: #64748b;
  font-size: 14px;
}

.reader-page .release-close {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background: #f1f5f2;
  border: 1px solid var(--line);
  color: #64748b;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.reader-page .release-close:hover {
  background: #e2e8f0;
  color: var(--ink);
}

.reader-page .release-date {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
}

.reader-page .release-content h3 {
  color: var(--ink);
  font-weight: 650;
}

.reader-page .release-content p,
.reader-page .release-content li {
  color: #64748b;
}

.reader-page .release-content li::before {
  background: var(--accent);
}

/* ==========================================================================
   Compare Page Bridge
   ========================================================================== */
.compare-page {
  background: radial-gradient(circle at 50% -10%, rgba(22, 101, 52, 0.07), transparent 30rem), var(--paper);
}

.compare-page .compare-brand img {
  border-radius: 8px;
}

.compare-page .compare-back:hover,
.compare-page .breadcrumbs a:hover,
.compare-page .source-section a:hover {
  color: var(--accent);
}

.compare-page .compare-summary,
.compare-page .comparison-section,
.compare-page .decision-section,
.compare-page .compare-faq,
.compare-page .source-section {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.05);
  background: #ffffff;
}

.compare-page table th {
  background: #fafbfa;
  color: var(--ink);
  font-weight: 650;
}

.compare-page table td {
  border-bottom: 1px solid var(--line);
}

.compare-page .highlight-brand {
  color: var(--accent);
  font-weight: 650;
}

/* ==========================================================================
   Responsive adjustments & legacy support
   ========================================================================== */
@media (max-width: 1024px) {
  .reader-page .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .reader-page .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 850px) {
  .reader-page .content-shell .section {
    padding: 70px 0 0;
  }
  .reader-page .capabilities {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .reader-page .details-layout {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    border-radius: 20px;
  }
  .reader-page .details-visual {
    grid-column: 1;
    grid-row: auto;
  }
  .reader-page .feature-list {
    grid-column: 1;
    grid-row: auto;
  }
  .reader-page .steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .reader-page .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .reader-page .cta {
    padding: 50px 24px;
    border-radius: 20px;
    margin-top: 50px;
  }
}

@media (max-width: 600px) {
  .reader-page .hero .browser-tab { display: none; }
  .reader-page .hero .browser-dots { flex-shrink: 0; }
  .reader-page .hero .browser-address { min-width: 0; }
  .reader-page .hero .browser-address span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .reader-page .hero {
    min-height: 690px;
    padding-inline: 20px;
  }
  .reader-page .hero-content {
    padding: 60px 0 85px;
  }
  .reader-page .content-shell { padding-inline: 20px; }
  .reader-page .hero h1 {
    font-size: 32px;
    line-height: 1.35;
  }
  .reader-page .hero .lead {
    font-size: 14.5px;
    line-height: 1.75;
  }
  .reader-page .hero .app-icon {
    width: 58px;
    height: 58px;
  }
  .reader-page .hero .actions {
    margin-top: 25px;
    gap: 10px;
  }
  .reader-page .hero .button {
    padding: 12px 18px;
    font-size: 12.5px;
    width: 100%;
    max-width: 280px;
  }
}

/* Service stats & Footer alignment */
.reader-service-stats {
  display: none;
}
.reader-service-stats:has(.stat.is-visible) {
  display: block;
}
.reader-service-stats .stats {
  justify-content: center;
}
.reader-page .hero-bottom-panel:has(.reader-service-stats):not(:has(.stat.is-visible)) {
  display: none;
}

.reader-page .footer,
.compare-page .footer {
  margin-top: 0;
  position: relative;
  z-index: 10;
}

.reader-page .footer .footer-links,
.compare-page .footer .footer-links {
  justify-content: flex-start;
}
