/*
  Verdicta Editorial & Review Article Stylesheet
  Compatible with taste-skill design tokens, Host Grotesk & JetBrains Mono.
*/

.article-shell {
  padding-top: 104px;
  padding-bottom: 96px;
  max-width: 880px;
  margin-inline: auto;
}

@media (max-width: 639px) {
  .article-shell {
    padding-top: 84px;
    padding-bottom: 64px;
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumbs a {
  color: var(--ink);
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs span {
  opacity: 0.5;
}

.article-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.article-header h1 {
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 18px 0;
  text-wrap: balance;
}

.article-lead {
  font-size: clamp(1.125rem, 1.05rem + 0.25vw, 1.25rem);
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 28px 0;
  text-wrap: pretty;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
}
.article-meta b {
  color: var(--ink);
  font-weight: 500;
}
.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Scorecard Box */
.scorecard {
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
  border-radius: var(--r);
  padding: 32px;
  margin-bottom: 48px;
}
@media (max-width: 639px) {
  .scorecard {
    padding: 20px 16px;
  }
}

.scorecard__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.scorecard__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.scorecard__logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  display: grid;
  place-items: center;
  padding: 8px;
}
.scorecard__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.scorecard__title h2 {
  font-size: 22px;
  margin: 0;
  line-height: 1.2;
}
.scorecard__award {
  display: inline-block;
  font-size: 12px;
  font-family: var(--font-mono);
  background: #e0f0e6;
  color: #114224;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
  margin-top: 4px;
}

.scorecard__rating {
  text-align: right;
}
.scorecard__score {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--font-mono);
  line-height: 1;
  color: var(--ink);
}
.scorecard__score span {
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
}
.scorecard__verdict {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 4px;
}

/* Criteria Grid */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.criteria-card {
  background: #ffffff;
  border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
  border-radius: 8px;
  padding: 12px 14px;
}
.criteria-label {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
.criteria-num {
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--ink);
}

/* Pros and Cons */
.pro-con-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.pro-box, .con-box {
  background: #ffffff;
  border-radius: 8px;
  padding: 18px;
  border: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.pro-box h3 {
  font-size: 15px;
  color: #114224;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.con-box h3 {
  font-size: 15px;
  color: #7a3c00;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pro-box ul, .con-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pro-box li, .con-box li {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  position: relative;
  padding-left: 20px;
}
.pro-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
.con-box li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: -1px;
  color: #c25e00;
  font-weight: 700;
  font-size: 16px;
}

/* Article Body Typography */
.article-body {
  font-size: 17px;
  line-height: 1.65;
  color: #22252a;
}
.article-body h2 {
  font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 48px 0 16px 0;
  color: var(--ink);
}
.article-body h3 {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 28px 0 12px 0;
  color: var(--ink);
}
.article-body p {
  margin: 0 0 20px 0;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 8px;
}

/* Editorial Callout */
.editorial-callout {
  background: color-mix(in oklab, var(--accent) 6%, #ffffff);
  border-left: 3px solid var(--accent);
  padding: 18px 24px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
  font-size: 16px;
  line-height: 1.55;
  color: #1a221d;
}
.editorial-callout strong {
  color: var(--ink);
}

/* Spec and Comparison Tables */
.table-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent);
  border-radius: 8px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  text-align: left;
}
.spec-table th, .spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.spec-table th {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.spec-table tr:last-child td {
  border-bottom: none;
}
.spec-table tr:hover td {
  background: color-mix(in oklab, var(--surface) 50%, #ffffff);
}
.spec-table .win-val {
  font-weight: 600;
  color: var(--accent);
}

/* Next Steps & CTA Cards */
.article-cta {
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
  border-radius: var(--r);
  padding: 32px;
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.article-cta h3 {
  margin: 0 0 6px 0;
  font-size: 20px;
}
.article-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
