/* Shared styles for Business Scope Decoder and Guides */

.page-band { padding: clamp(24px, 4.5vw, 52px) 0 clamp(36px, 5vw, 64px); }

.article-shell {
  max-width: 72ch;
  margin: 0 auto;
  background: var(--white);
  border: var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3.8vw, 38px);
}

.article-kicker { margin-bottom: 10px; }

.article-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 6vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: 0.03em;
  margin: 0 0 12px;
  text-wrap: balance;
}

.article-lead {
  font-size: 1.04rem;
  font-weight: 600;
  color: #334155;
  margin: 0 0 18px;
}

.article-meta {
  font-size: 0.84rem;
  font-weight: 700;
  color: #475569;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
}

.article-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 3.8vw, 2.15rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin: 26px 0 10px;
}

.article-body p {
  margin: 0 0 13px;
  font-size: 0.98rem;
  line-height: 1.62;
  color: #1e293b;
}

.article-body ul,
.article-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.article-body li {
  font-size: 0.96rem;
  line-height: 1.55;
  color: #1e293b;
}

.article-body a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

.table-scroll {
  overflow-x: auto;
  margin: 14px 0 18px;
  border: 2.5px solid var(--ink);
  border-radius: 10px;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 460px;
}

.guide-table th,
.guide-table td {
  border-bottom: 1.5px solid #cbd5e1;
  padding: 9px 11px;
  text-align: left;
  vertical-align: top;
}

.guide-table th {
  background: var(--yellow);
  font-weight: 700;
  color: var(--ink);
}

.guide-table tr:last-child td { border-bottom: 0; }

/* Decoder Tool */
.decoder-box { display: grid; gap: 14px; }
.decoder-privacy {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--green);
}
.decoder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.decoder-note {
  margin: 0;
  font-size: 0.86rem;
  color: #475569;
  font-weight: 600;
}

.decoder-result {
  background: var(--paper);
  border: var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display: grid;
  gap: 14px;
}

.verdict-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4.8vw, 2rem);
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 8px 14px 5px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--ink);
}
.verdict-mfg { background: var(--green); color: var(--white); }
.verdict-trd { background: var(--red); color: var(--white); }
.verdict-unc { background: var(--yellow); color: var(--ink); }

.scope-preview {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hl-mfg,
.hl-trd,
.hl-hdr {
  display: inline;
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 700;
}
.hl-mfg { background: #dcfce7; color: #005c32; border: 1.5px solid #007a43; }
.hl-trd { background: #fee2e2; color: #991b1b; border: 1.5px solid #c81e23; }
.hl-hdr { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }

.terms-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.terms-group {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 10px 12px;
}
.terms-group h3 {
  margin: 0 0 6px;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.terms-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 600;
}

.decoder-warn {
  background: #fef3c7;
  border: 3px solid var(--ink);
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.decoder-warn a { text-decoration: underline; font-weight: 700; color: var(--green); }

/* Guide CTA Box */
.guide-cta {
  margin-top: 26px;
  background: var(--yellow);
  border: var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 18px;
  display: grid;
  gap: 12px;
}
.guide-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0;
  line-height: 1;
}
.guide-cta p { margin: 0; font-weight: 600; font-size: 0.95rem; }
.guide-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.related-links {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 2px solid #e2e8f0;
  font-size: 0.9rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .terms-cols { grid-template-columns: 1fr 1fr; }
}
