/* ── Shared Review & Guide Styles ── */
/* Requires CSS variables: --bg, --bg2, --bg3, --gold, --gold-dim,
   --gold-bright, --text, --muted, --border, --green, --green-bg,
   --yellow, --yellow-bg, --red, --red-bg                          */

body { display: flex; flex-direction: column; min-height: 100vh; }
footer { margin-top: auto; }

.gradient-text {
  background: linear-gradient(135deg, var(--gold), oklch(65% 0.12 65deg));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Breadcrumb (shared shape with calculators.css) ── */
.calc-breadcrumb { font-size: 12px; letter-spacing: 0.08em; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.calc-breadcrumb a { color: var(--gold); text-decoration: none; }
.calc-breadcrumb a:hover { color: var(--gold-bright); }
.calc-breadcrumb-sep { color: var(--border); }

/* ── Review hero ── */
.rev-header { padding: 44px 40px 40px; background: #0e0e15; position: relative; overflow: hidden; }
.rev-header::before {
  content: ''; position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 720px; height: 380px; background: radial-gradient(ellipse at center, rgba(232,184,106,0.10), transparent 70%);
  pointer-events: none;
}
.rev-header-inner { max-width: 1040px; margin: 0 auto; position: relative; display: flex; flex-direction: column; gap: 24px; }
.rev-hero { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.rev-logo-box {
  width: 88px; height: 88px; flex-shrink: 0; border-radius: 18px;
  background: linear-gradient(180deg,#16151f 0%,#100f17 100%);
  border: 1px solid rgba(232,184,106,0.18);
  display: flex; align-items: center; justify-content: center; padding: 14px;
}
.rev-logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rev-hero-text { flex: 1; min-width: 240px; }
.rev-hero-text h1 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.2vw, 40px); font-weight: 600; letter-spacing: -0.02em; color: #f4f1ea; line-height: 1.1; margin-bottom: 8px; }
.rev-hero-text h1 em { font-style: italic; color: #e8b86a; }
.rev-tagline { font-size: 15px; color: var(--muted); font-weight: 300; }
.rev-rating-block { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.rev-rating-value { font-family: 'Hanken Grotesk', -apple-system, sans-serif; font-size: 32px; font-weight: 700; color: #e8b86a; line-height: 1; }
.rev-stars-wrap { position: relative; font-size: 16px; letter-spacing: 2px; }
.rev-stars-bg { color: oklch(28% 0.02 82deg); }
.rev-stars-fg { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: #e8b86a; }
.rev-rating-label { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.rev-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.rev-fact { background: rgba(8,8,13,0.5); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; }
.rev-fact-label { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: oklch(48% 0.01 80deg); margin-bottom: 4px; }
.rev-fact-value { font-size: 14px; font-weight: 600; color: var(--text); }

.rev-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.rev-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 12px;
  background: linear-gradient(180deg,#f3d089 0%,#d99a3d 100%);
  color: #1a1206; font-family: 'Hanken Grotesk', -apple-system, sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em; text-decoration: none;
  box-shadow: 0 8px 24px rgba(217,154,61,0.25); transition: transform 0.15s, box-shadow 0.2s;
}
.rev-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(217,154,61,0.35); }
.rev-cta-note { font-size: 12px; color: oklch(42% 0.01 80deg); }

/* ── License / KYC badges (shared with compare.html) ── */
.license-badge { font-size: 11px; font-weight: 600; color: var(--muted); background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; padding: 4px 9px; white-space: nowrap; display: inline-block; }
.kyc-badge { font-size: 11px; font-weight: 600; border-radius: 6px; padding: 4px 9px; white-space: nowrap; display: inline-block; }
.kyc-none { background: var(--green-bg); color: var(--green); border: 1px solid oklch(35% 0.10 150deg); }
.kyc-light { background: var(--yellow-bg); color: var(--yellow); border: 1px solid oklch(38% 0.10 88deg); }
.kyc-full { background: var(--red-bg); color: var(--red); border: 1px solid oklch(35% 0.10 24deg); }

/* ── Content layout ── */
.content-section { padding: 48px 40px 0; }
.content-inner { max-width: 900px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.content-inner.last { padding-bottom: 100px; }

/* ── TOC ── */
.toc { background: linear-gradient(180deg,#16151f 0%,#100f17 100%); border: 1px solid rgba(232,184,106,0.14); border-radius: 16px; padding: 22px 26px; }
.toc-title { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #e8b86a; margin-bottom: 12px; font-family: 'Hanken Grotesk', -apple-system, sans-serif; }
.toc ol { list-style: none; display: flex; flex-direction: column; gap: 8px; counter-reset: toc; }
.toc ol li { counter-increment: toc; font-size: 13.5px; }
.toc ol li::before { content: counter(toc) '. '; color: var(--gold-dim); font-weight: 600; }
.toc a { color: var(--muted); text-decoration: none; transition: color 0.15s; }
.toc a:hover { color: var(--text); }

/* ── Article prose ── */
.prose { font-size: 15px; color: oklch(72% 0.01 80deg); line-height: 1.8; }
.prose h2 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 600; color: #f4f1ea; margin: 8px 0 14px; scroll-margin-top: 90px; }
.prose h3 { font-family: 'Hanken Grotesk', -apple-system, sans-serif; font-size: 17px; font-weight: 700; color: var(--text); margin: 22px 0 10px; scroll-margin-top: 90px; }
.prose p { margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin: 0 0 16px 22px; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--gold-dim); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(232,184,106,0.3); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-bright); }
.prose blockquote { border-left: 3px solid var(--gold-dim); padding: 4px 0 4px 18px; color: var(--muted); font-style: italic; margin: 0 0 16px; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 13.5px; }
.prose table th, .prose table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose table th { color: var(--muted); font-weight: 600; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Pros & cons ── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pc-col { border-radius: 16px; padding: 22px 24px; border: 1px solid var(--border); }
.pc-col.pros { background: linear-gradient(180deg, rgba(74,222,128,0.06), transparent); border-color: rgba(74,222,128,0.2); }
.pc-col.cons { background: linear-gradient(180deg, rgba(251,146,60,0.06), transparent); border-color: rgba(251,146,60,0.2); }
.pc-col-title { font-family: 'Hanken Grotesk', -apple-system, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.pc-col.pros .pc-col-title { color: #4ade80; }
.pc-col.cons .pc-col-title { color: #fb923c; }
.pc-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pc-col li { font-size: 13.5px; color: var(--muted); line-height: 1.5; padding-left: 22px; position: relative; }
.pc-col.pros li::before { content: '✓'; position: absolute; left: 0; color: #4ade80; font-weight: 700; }
.pc-col.cons li::before { content: '✕'; position: absolute; left: 0; color: #fb923c; font-weight: 700; }

/* ── Spec table ── */
.spec-card { background: linear-gradient(180deg,#16151f 0%,#100f17 100%); border-radius: 20px; border: 1px solid rgba(232,184,106,0.14); padding: 8px 32px; }
.spec-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid oklch(20% 0.02 260deg); flex-wrap: wrap; }
.spec-row:last-child { border-bottom: none; }
.spec-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.spec-value { font-size: 13.5px; color: var(--text); font-weight: 600; text-align: right; max-width: 60%; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: linear-gradient(180deg,#16151f 0%,#100f17 100%); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-item summary {
  padding: 18px 22px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: 'Hanken Grotesk', -apple-system, sans-serif; font-weight: 600; font-size: 14.5px; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--gold); flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-answer { padding: 4px 22px 20px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ── CTA banner ── */
.cta-banner { position: relative; border-radius: 20px; overflow: hidden; }
.cta-banner-bg { position: absolute; inset: 0; background: linear-gradient(to right, oklch(74% 0.13 82deg / 0.1), oklch(65% 0.12 65deg / 0.1)); }
.cta-banner-inner { position: relative; border: 1px solid oklch(74% 0.13 82deg / 0.22); border-radius: 20px; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-banner-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; color: #f4f1ea; margin-bottom: 6px; }
.cta-banner-desc { font-size: 13.5px; color: var(--muted); max-width: 480px; }

/* ── Author / meta row (E-E-A-T signals) ── */
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.article-meta strong { color: var(--text); font-weight: 600; }
.article-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }

/* ── Index / listing pages (reviews.html, guides.html) ── */
.index-section { padding: 56px 40px 100px; background: var(--bg); }
.index-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.index-section-label {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Hanken Grotesk', -apple-system, sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: #e8b86a; margin-bottom: 12px;
}
.index-section-label::before { content: ''; width: 22px; height: 1px; background: #e8b86a; flex-shrink: 0; }
.index-section-title { font-family: 'Playfair Display', serif; font-size: clamp(24px, 3vw, 36px); font-weight: 600; color: #f4f1ea; }
@media (max-width: 768px) { .index-section { padding: 40px 24px 80px; } }

.rating-pill { display: inline-flex; align-items: center; gap: 5px; background: rgba(232,184,106,0.1); border: 1px solid rgba(232,184,106,0.25); border-radius: 100px; padding: 3px 10px; font-size: 12px; font-weight: 700; color: #e8b86a; }

/* ── Related links (reuses calc-other-nav shape) ── */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.related-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(232,184,106,0.14);
  background: linear-gradient(180deg,#16151f 0%,#100f17 100%); color: var(--text);
  text-decoration: none; font-size: 13.5px; font-weight: 500; transition: border-color 0.15s, color 0.15s;
}
.related-card:hover { border-color: #e8b86a; color: #e8b86a; }
.related-card span { color: var(--gold); flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 700px) {
  .rev-header { padding: 36px 24px 32px; }
  .content-section { padding: 32px 24px 0; }
  .content-inner.last { padding-bottom: 64px; }
  .pros-cons { grid-template-columns: 1fr; }
  .rev-hero { flex-direction: column; align-items: flex-start; }
  .rev-rating-block { align-self: flex-start; flex-direction: row; }
  .spec-card { padding: 4px 20px; }
  .spec-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .spec-value { max-width: 100%; text-align: left; }
  .cta-banner-inner { padding: 24px; }
}
