/* ToolSignal — review.css
   Styles for individual review pages.
   Loaded by build-site.js reviewPageHtml(). */

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', -apple-system, 'Segoe UI', sans-serif;
  line-height: 1.8;
  font-size: 1.1rem;
}

.hero {
  max-width: 900px;
  margin: 58px auto 0;
  padding: 3rem 2.5rem 2.5rem;
  border-bottom: 1px solid var(--border);
}

.badge {
  display: inline-block;
  background: var(--surface2);
  color: var(--accent);
  padding: .3rem .9rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1 {
  font-size: 2.4rem;
  color: var(--text);
  margin-bottom: .8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.tagline {
  color: #a0a0c0;
  font-size: 1.15rem;
  margin-bottom: 1.8rem;
  line-height: 1.65;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.overall {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
}

.reading-time {
  font-size: .82rem;
  color: var(--muted);
  background: var(--surface2);
  padding: .25rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

main {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 0 2.5rem;
}

section {
  background: var(--surface);
  border-radius: 14px;
  padding: 2.2rem 2.4rem;
  margin-bottom: 1.8rem;
  border: 1px solid var(--border);
}

h2 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 1.2rem;
  margin-top: 1.8rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

h2:first-child {
  margin-top: 0;
}

.content-body p {
  color: var(--text);
  margin-bottom: 1.4rem;
  font-size: 1.1rem;
  line-height: 1.85;
}

.content-body p:last-child {
  margin-bottom: 0;
}

.rr {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .9rem;
}

.bar {
  flex: 1;
  background: var(--surface2);
  border-radius: 5px;
  height: 10px;
}

.fill {
  background: var(--accent);
  height: 10px;
  border-radius: 5px;
}

.v {
  font-size: .9rem;
  color: var(--muted);
  width: 3.5rem;
  text-align: right;
  font-weight: 600;
}

.rr span:first-child {
  width: 150px;
  font-size: .95rem;
  color: #c0c0dc;
  font-weight: 500;
}

ul {
  list-style: none;
}

ul li {
  padding: .6rem 0;
  padding-left: 1.8rem;
  position: relative;
  color: #c8c8e0;
  font-size: 1.05rem;
  line-height: 1.65;
}

ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
}

.cons li::before {
  content: '✗';
  color: #ff4d6d;
}

.bf li::before {
  content: '→';
  color: var(--accent2);
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.cta {
  text-align: center;
  padding: 3rem 2rem;
}

.cta a {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0f;
  padding: 1.1rem 3rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .01em;
  transition: opacity .15s, transform .15s;
}

.cta a:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.disc {
  font-size: .82rem;
  color: var(--muted);
  text-align: center;
  padding: .8rem 2rem 2.5rem;
  line-height: 1.6;
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.faq details:last-child {
  border-bottom: none;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .2rem 0;
}

.faq summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.3rem;
  flex-shrink: 0;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  color: #c8c8e0;
  margin-top: .8rem;
  font-size: .98rem;
  line-height: 1.75;
  padding-right: 1rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.related-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.3rem;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.related-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.related-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .4rem;
}

.related-tagline {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .6rem;
  line-height: 1.5;
}

.related-score {
  font-size: .85rem;
  color: var(--accent);
  font-weight: 700;
}

.newsletter-embed {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-bottom: 1.8rem;
}

.newsletter-embed h2 {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: .6rem;
  text-transform: none;
  letter-spacing: normal;
  margin-top: 0;
}

.newsletter-embed p {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 1.4rem;
}

.newsletter-embed form {
  display: flex;
  gap: .6rem;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-embed input {
  flex: 1;
  min-width: 200px;
  padding: .8rem 1.1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: .98rem;
}

.newsletter-embed button {
  padding: .8rem 1.6rem;
  background: var(--accent);
  color: #0a0a0f;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: .98rem;
  transition: opacity .15s;
}

.newsletter-embed button:hover {
  opacity: .85;
}

footer {
  text-align: center;
  padding: 2.5rem 2rem;
  color: var(--muted);
  font-size: .88rem;
  border-top: 1px solid var(--border);
  line-height: 2.2;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity .15s;
}

footer a:hover {
  opacity: .8;
}

/* Share buttons */
.share-row {
  display: flex;
  gap: .6rem;
  margin-top: 1.2rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .45rem 1rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: border-color .15s, color .15s;
}

.share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Quick facts summary box */
.quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.6rem;
  margin-bottom: 2rem;
}
.qf-item {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.qf-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 600;
}
.qf-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.qf-value a {
  color: var(--accent);
  text-decoration: none;
}

/* Verdict box */
.verdict-box {
  background: linear-gradient(135deg, var(--surface), rgba(0,229,160,0.05));
  border: 1px solid var(--accent);
  border-left: 5px solid var(--accent);
  border-radius: 0 16px 16px 0;
  padding: 2.2rem 2.4rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text);
  box-shadow: 0 4px 24px rgba(0,229,160,0.06);
}

.verdict-box p {
  margin: 0 0 0.8rem;
}
.verdict-box p:last-child {
  margin-bottom: 0;
}

.verdict-box .verdict-label {
  display: block;
  color: var(--accent);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .6rem;
  font-weight: 700;
}

/* Reading progress bar */
#read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 1000;
  transition: width .1s linear;
  width: 0%;
}

/* Responsive */
@media (max-width: 600px) {
  .two {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  main {
    padding: 0 1.2rem;
  }

  .hero {
    padding: 2.2rem 1.2rem 2rem;
  }

  section {
    padding: 1.6rem 1.4rem;
  }

  .rr span:first-child {
    width: 110px;
    font-size: .85rem;
  }

  .overall {
    font-size: 2.4rem;
  }

  .cta a {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }
}
