/*
 * SelfSignal — SEO test landing pages. Loads AFTER home.css and reuses its
 * tokens/components (header, buttons, cards, footer). Article-specific styles only.
 */

.landing-hero {
  padding: clamp(40px, 7vw, 80px) 0 clamp(28px, 4vw, 48px);
  text-align: left;
}

.landing-hero .badge {
  margin-bottom: 18px;
}

.landing-hero h1 {
  font-size: clamp(32px, 5.4vw, 54px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  max-width: 720px;
}

.landing-hero .hero-sub {
  max-width: 620px;
  margin-bottom: 26px;
}

/* Byline / EEAT bar */
.byline-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--ss-border);
  border-bottom: 1px solid var(--ss-border);
  color: var(--ss-muted);
  font-size: 14px;
}

.byline-bar strong {
  color: var(--ss-text-soft);
  font-weight: 700;
}

/* Article body */
.article-body {
  max-width: 760px;
  padding: clamp(28px, 4vw, 44px) 0 12px;
}

.article-body h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 38px 0 14px;
}

.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 26px 0 10px;
}

.article-body p {
  color: var(--ss-text-soft);
  font-size: 16.5px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.article-body ul,
.article-body ol {
  color: var(--ss-text-soft);
  font-size: 16.5px;
  line-height: 1.7;
  margin: 0 0 18px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body a {
  color: var(--ss-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Fact box (test spec) */
.spec-box {
  background: var(--ss-panel);
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius-md);
  padding: 22px;
  margin: 22px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.spec-box div strong {
  display: block;
  font-size: 22px;
  color: var(--ss-text);
}

.spec-box div span {
  color: var(--ss-muted);
  font-size: 13.5px;
}

@media (max-width: 560px) {
  .spec-box {
    grid-template-columns: 1fr;
  }
}

/* Inline CTA banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(95, 215, 194, 0.12), rgba(108, 114, 246, 0.12)),
    var(--ss-panel);
  border: 1px solid rgba(95, 215, 194, 0.35);
  border-radius: var(--ss-radius-md);
  padding: 24px;
  margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta-banner p {
  margin: 0;
  font-weight: 700;
  color: var(--ss-text);
  font-size: 17px;
}

/* Honest note (bridge pages) */
.honest-note {
  background: rgba(245, 194, 75, 0.1);
  border: 1px solid rgba(245, 194, 75, 0.3);
  border-radius: var(--ss-radius-sm);
  padding: 16px 18px;
  margin: 22px 0;
  color: var(--ss-text-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

/* FAQ — rendered in HTML (unlike Breeze's empty JS blocks) */
.landing-faq {
  max-width: 760px;
  padding-bottom: 20px;
}

.landing-faq details {
  background: var(--ss-panel);
  border: 1px solid var(--ss-border);
  border-radius: var(--ss-radius-sm);
  margin-bottom: 10px;
  padding: 0 18px;
}

.landing-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16.5px;
  padding: 16px 0;
  list-style: none;
  position: relative;
}

.landing-faq summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  color: var(--ss-accent);
  font-size: 20px;
}

.landing-faq details[open] summary::after {
  content: "–";
}

.landing-faq details p {
  color: var(--ss-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 16px;
}

/* Sources + disclaimer */
.sources-block {
  max-width: 760px;
  color: var(--ss-muted);
  font-size: 13.5px;
  line-height: 1.7;
  padding: 10px 0 30px;
}

.sources-block h2 {
  font-size: 16px;
  color: var(--ss-text);
  margin-bottom: 10px;
}

.sources-block ol {
  padding-left: 20px;
  margin: 0;
}

.landing-disclaimer {
  max-width: 760px;
  background: var(--ss-panel);
  border: 1px dashed var(--ss-border);
  border-radius: var(--ss-radius-sm);
  padding: 16px 18px;
  margin: 8px 0 40px;
  color: var(--ss-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Related tests */
.related-tests {
  padding: 10px 0 70px;
}

.related-tests h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 20px;
}
