/* ---------------------------
   Content Links Section
---------------------------- */
.contentLinks {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.contentLinks a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.contentLink {
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  transition: var(--t);
}

.contentLink:hover {
  background: var(--surface);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contentLinkTitle {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}

.contentLinkDescription {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.contentLinkUrl {
  font-size: 12px;
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-weight: 500;
}

/* ---------------------------
   Comparison Table Section
---------------------------- */
.comparisonTable {
  margin: 24px 0;
  overflow-x: auto;
}

.comparisonTable table {
  width: 100%;
  min-width: 600px;
}

.comparisonTable th {
  background: var(--surface-2);
  font-weight: 600;
  white-space: nowrap;
}

.comparisonTable td strong {
  font-family: var(--font-display);
  color: var(--text);
}

/* ---------------------------
   Pros/Cons Section
---------------------------- */
.prosCons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.prosConsColumn {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.prosColumn {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(52, 211, 153, 0.45);
}

.consColumn {
  background: rgba(244, 63, 94, 0.08);
  border-color: rgba(251, 113, 133, 0.45);
}

.prosConsHeader {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.prosConsIcon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prosIcon {
  background: rgba(16, 185, 129, 0.2);
  color: #059669;
}

html[data-theme="dark"] .prosIcon {
  background: rgba(52, 211, 153, 0.25);
  color: #6ee7b7;
}

.consIcon {
  background: rgba(244, 63, 94, 0.2);
  color: #e11d48;
}

html[data-theme="dark"] .consIcon {
  background: rgba(251, 113, 133, 0.25);
  color: #fb7185;
}

.prosConsIcon svg {
  width: 16px;
  height: 16px;
}

.prosConsColumn h3,
.prosConsColumn h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text-heading);
  padding-left: 25px;
  position: relative;
}

.prosConsColumn h3::before,
.prosConsColumn h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Pros icon - circle-plus */
.prosColumn h3::before,
.prosColumn h4::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M12 8v8'/%3E%3C/svg%3E");
}

html[data-theme="dark"] .prosColumn h3::before,
html[data-theme="dark"] .prosColumn h4::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M12 8v8'/%3E%3C/svg%3E");
}

/* Cons icon - circle-minus */
.consColumn h3::before,
.consColumn h4::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f43f5e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
}

html[data-theme="dark"] .consColumn h3::before,
html[data-theme="dark"] .consColumn h4::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fb7185' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12h8'/%3E%3C/svg%3E");
}

.prosConsColumn ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.prosConsColumn li {
  margin: 8px 0;
  line-height: 1.6;
  font-size: 15px;
  color: var(--text);
}

.prosColumn li::marker {
  color: rgba(16, 185, 129, 0.8);
}

html[data-theme="dark"] .prosColumn li::marker {
  color: rgba(52, 211, 153, 0.8);
}

.consColumn li::marker {
  color: rgba(244, 63, 94, 0.8);
}

html[data-theme="dark"] .consColumn li::marker {
  color: rgba(251, 113, 133, 0.8);
}

.prosConsColumn li strong {
  color: var(--text);
  font-weight: 600;
  display: inline;
}

.prosConsColumn li:first-child {
  margin-top: 0;
}

.prosConsColumn li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .prosCons {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .prosConsColumn {
    padding: 20px;
  }

  .prosConsColumn h3,
  .prosConsColumn h4 {
    font-size: 16px;
  }
}

/* ---------------------------
   Two Option Comparison Section
---------------------------- */
.two-option-comparison {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
  height: auto !important;
}

.two-option-comparison-item {
  flex: 1;
  min-width: 280px;
  border-radius: var(--radius);
  padding: 20px;
  height: auto !important;
}

/* Option A (first) - emerald */
.two-option-comparison-item:first-child {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.45);
}

html[data-theme="dark"] .two-option-comparison-item:first-child {
  background: rgba(52, 211, 153, 0.08);
  border-color: rgba(52, 211, 153, 0.5);
}

/* Option B (second) - indigo */
.two-option-comparison-item:last-child {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.45);
}

html[data-theme="dark"] .two-option-comparison-item:last-child {
  background: rgba(129, 140, 248, 0.08);
  border-color: rgba(129, 140, 248, 0.5);
}

.two-option-comparison-item p,
.two-option-comparison-item h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--text-heading);
}

.two-option-comparison-item h4 {
  padding-left: 25px;
  position: relative;
}

.two-option-comparison-item h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Comparison icon - list-check, colored per panel */
.two-option-comparison-item:first-child h4::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 18H3'/%3E%3Cpath d='m15 18 2 2 4-4'/%3E%3Cpath d='M16 12H3'/%3E%3Cpath d='M16 6H3'/%3E%3C/svg%3E");
}

html[data-theme="dark"] .two-option-comparison-item:first-child h4::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 18H3'/%3E%3Cpath d='m15 18 2 2 4-4'/%3E%3Cpath d='M16 12H3'/%3E%3Cpath d='M16 6H3'/%3E%3C/svg%3E");
}

.two-option-comparison-item:last-child h4::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 18H3'/%3E%3Cpath d='m15 18 2 2 4-4'/%3E%3Cpath d='M16 12H3'/%3E%3Cpath d='M16 6H3'/%3E%3C/svg%3E");
}

html[data-theme="dark"] .two-option-comparison-item:last-child h4::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23818cf8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 18H3'/%3E%3Cpath d='m15 18 2 2 4-4'/%3E%3Cpath d='M16 12H3'/%3E%3Cpath d='M16 6H3'/%3E%3C/svg%3E");
}

.two-option-comparison-item ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
  color: var(--text);
}

.two-option-comparison-item li {
  margin: 8px 0;
  line-height: 1.6;
  font-size: 15px;
  color: var(--text);
}

.two-option-comparison-item img.emoji {
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.1em;
  margin-right: 4px;
  display: inline-block;
}

@media (max-width: 640px) {
  .two-option-comparison {
    flex-direction: column;
  }

  .two-option-comparison-item {
    min-width: 100%;
  }
}

/* ---------------------------
   FAQ Section
---------------------------- */
.faq-item {
  border-left: 4px solid rgba(14, 165, 233, 0.6);
  padding-left: 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-2);
  padding: 16px 20px 16px 20px;
  transition: var(--t);
}

html[data-theme="dark"] .faq-item {
  border-left-color: rgba(14, 165, 233, 0.7);
  background: rgba(14, 165, 233, 0.08);
}

.faq-item:hover {
  background: var(--surface);
  border-left-color: rgba(14, 165, 233, 0.8);
  transform: translateX(2px);
}

html[data-theme="dark"] .faq-item:hover {
  background: rgba(14, 165, 233, 0.12);
  border-left-color: rgba(14, 165, 233, 0.9);
}

.faq-item p:first-child,
.faq-item h3 {
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text-heading);
  font-size: 16px;
  line-height: 1.4;
}

.faq-item p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item p:not(:first-child):not(:last-child) {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* FAQ heading styling */
#faq {
  margin-top: 48px;
  margin-bottom: 32px;
}

/* ── TL;DR ── */
.tldr {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 2px var(--radius) var(--radius) 2px;
  padding: 18px 22px;
  margin: 28px 0;
}
.tldr-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.tldr-title::before {
  content: "◆";
  color: var(--accent);
  font-size: 10px;
}
.tldr ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tldr li {
  position: relative;
  padding-left: 16px;
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.tldr li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
}
.tldr li strong {
  color: var(--text);
}
.tldr li a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t);
}
.tldr li a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

/* ── Table of Contents ── */
.toc {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 28px 0;
}
.toc-head {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.toc-head::before {
  content: "≡";
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}
.toc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 12px 18px;
  margin: 0;
  list-style: none !important;
  counter-reset: toc;
}
.toc-list li {
  counter-increment: toc;
  padding: 3px 0;
}
.toc-list li a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
  transition: var(--t);
}
.toc-list li a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
  font-weight: 500;
}
.toc-list li a:hover {
  color: var(--accent);
}
.toc-list li a:hover::before {
  opacity: 1;
}

@media (max-width: 640px) {
  .toc-list {
    grid-template-columns: 1fr;
  }
}
