/* resources/software-patents-after-alice.html: this page's own styles. Shared components live in main.css. */
.step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 1.5rem 0;
}
.step-result {
  font-size: var(--text-sm);
  margin-top: 8px;
}
.framing-table .fail-col {
  color: var(--rose-text);
}
.framing-table .survive-col {
  color: var(--green-text);
}
.pattern-box {
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 1.5rem 0;
}
.pattern-box.survive {
  background: var(--tint-green);
  border: 1px solid var(--tint-green-border);
}
.pattern-box.fail {
  background: var(--tint-rose);
  border: 1px solid var(--tint-rose-border);
}
.pattern-box h3 {
  font-size: var(--text-base);
  margin-top: 0;
  margin-bottom: 12px;
}
.pattern-box.survive h3 {
  color: var(--green-text);
}
.pattern-box.fail h3 {
  color: var(--rose-text);
}
.pattern-box ul {
  margin: 0;
  padding-left: 20px;
}
.pattern-box li {
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: 1.6;
  margin-bottom: 6px;
}
.claim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 1.5rem 0;
}
.claim-card {
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border);
}
.claim-card.broad {
  border-top: 4px solid var(--cyan);
}
.claim-card.medium {
  border-top: 4px solid var(--purple);
}
.claim-card.narrow {
  border-top: 4px solid var(--lavender);
}
.claim-level {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-subtle);
  margin-bottom: 4px;
}
.claim-card h4 {
  font-size: var(--text-base);
  margin-top: 0;
  margin-bottom: 10px;
}
.claim-card p {
  font-size: var(--text-sm);
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.claim-example {
  background: var(--bg-subtle);
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: 1.5;
  font-style: italic;
}
.checklist {
  margin: 1.5rem 0;
}
.check-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--purple-fill);
  color: var(--on-dark);
  text-align: center;
  line-height: 28px;
  font-size: var(--text-sm);
  font-weight: 700;
}
.check-text {
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: 1.6;
}
.risk-tree {
  margin: 1.5rem 0;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.risk-question {
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: 6px;
}
.risk-answer {
  font-size: var(--text-sm);
  padding: 4px 0;
}
.risk-answer.high {
  color: var(--rose-text);
}
.risk-answer.low {
  color: var(--green-text);
}
.methodology-note {
  margin: 1rem 0 1.5rem;
  background: var(--bg-subtle);
  border-left: 3px solid var(--lavender);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.methodology-note summary {
  cursor: pointer;
  padding: 0.7rem 1rem;
  font-size: var(--text-sm);
  color: var(--purple);
  font-weight: 600;
  list-style: none;
}
.methodology-note summary::before {
  content: "+ ";
  color: var(--purple);
  font-weight: 700;
}
.methodology-note[open] summary::before {
  content: "− ";
}
.methodology-note summary::-webkit-details-marker {
  display: none;
}
.methodology-body {
  padding: 0 1rem 0.9rem;
  font-size: var(--text-sm);
  color: var(--fg-2);
  line-height: 1.6;
}
.methodology-body ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0;
}
.methodology-body li {
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .step-grid {
    grid-template-columns: 1fr;
  }
  .claim-grid {
    grid-template-columns: 1fr;
  }
}

.developments-box {
  background: var(--bg-subtle);
  border-left: 3px solid var(--cyan);
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
  font-size: var(--text-sm);
}
.developments-title {
  margin: 0 0 0.4rem 0;
  font-weight: 600;
  color: var(--purple);
}
.developments-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--fg-2);
  line-height: 1.55;
}
.callout-box .data-analysis-link {
  margin: 0.6rem 0 0;
}

/* This page's own section spacing and column width. */
.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 24px 6rem;
}
.section {
  margin-bottom: 3rem;
}
.checklist-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.table-footnote {
  font-size: var(--text-sm);
  color: var(--fg-subtle);
  margin-top: 0.5rem;
}
