/* jo /vs comparison pages — restyled to the homepage (lp-09112026) design system.
   Uses the homepage tokens from combined-terracotta.css (--paper/--ink/--terracotta/
   --display, Geist + DM Serif Display). Only comparison-specific layout lives here. */

.vs-main { width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: 8px 0 24px; }

.vs-hero { padding: 24px 0 8px; }
.vs-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 6vw, 56px); letter-spacing: -.025em; line-height: 1.05; margin: 0 0 18px; color: var(--ink); }
.vs-hero h1 .vs-x { color: var(--terracotta); }
.vs-lead { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 0 8px; max-width: 60ch; }

.vs-accordion { margin: 28px 0 0; display: grid; gap: 14px; }
.vs-accordion details {
  background: var(--cream);
  border: 1px solid var(--soft);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.vs-accordion summary {
  list-style: none; cursor: pointer;
  font-family: var(--display); font-size: 21px; line-height: 1.2; color: var(--ink);
  padding: 20px 56px 20px 24px; position: relative;
}
.vs-accordion summary::-webkit-details-marker { display: none; }
.vs-accordion summary::after {
  content: ''; position: absolute; right: 24px; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2px solid var(--terracotta); border-bottom: 2px solid var(--terracotta);
  transform: rotate(45deg); transition: transform .18s ease;
}
.vs-accordion details[open] summary::after { transform: rotate(-135deg); }
.vs-accordion .vs-body { padding: 0 24px 22px; }
.vs-accordion .vs-body p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.7; color: var(--ink); }
.vs-accordion .vs-body p:last-child { margin-bottom: 0; }
.vs-accordion .vs-body a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.vs-accordion sup.fn a { color: var(--terracotta); text-decoration: none; font-weight: 600; }

.vs-uselinks { margin: 30px 0 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.vs-uselinks a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }

.vs-cta { margin: 30px 0 8px; }
.vs-cta a {
  text-decoration: none; display: inline-flex; align-items: center; gap: 16px;
  min-height: 54px; padding: 0 28px;
  border: 1px solid var(--btn-edge,#7e392e); border-radius: 999px;
  background: linear-gradient(180deg,var(--btn-top,#c16a57) 0%,var(--terracotta) 52%,var(--btn-bottom,#954534) 100%);
  box-shadow: inset 0 1px 0 #f7c1af99, inset 0 -1px 0 #64291f66, 0 5px 0 var(--btn-edge,#77372a), 0 10px 19px #6d30252b;
  color: var(--btn-ink,#fffaf4); font-size: 15px; font-weight: 600; line-height: 1; text-shadow: 0 1px 0 #6d302580;
}
.vs-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.vs-footnotes { margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--soft); font-size: 13px; line-height: 1.6; color: var(--muted); }
.vs-footnotes .source-note { margin: 0 0 10px; }
.vs-footnotes ol { margin: 0; padding-left: 20px; }
.vs-footnotes li { margin: 0 0 6px; }
.vs-footnotes a { color: var(--terracotta); }

/* /vs hub (comparison index) */
.vs-hub { width: min(1100px, calc(100% - 48px)); margin: 0 auto; padding: 8px 0 24px; }
.vs-hub .vs-hero { padding: 24px 0 4px; }
.vs-hub-group { margin: 44px 0 0; }
.vs-hub-group h2 { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: -.02em; color: var(--ink); margin: 0 0 18px; }
.vs-hub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.vs-hub-card {
  display: flex; gap: 14px; text-decoration: none; color: inherit;
  background: var(--cream); border: 1px solid var(--soft); border-radius: 18px;
  padding: 20px; box-shadow: var(--card-shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.vs-hub-card:hover { transform: translateY(-2px); box-shadow: 0 18px 42px #79543820; }
.vs-hub-icon img { width: 36px; height: 36px; border-radius: 8px; display: block; }
.vs-hub-card h3 { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.15; margin: 2px 0 8px; color: var(--ink); }
.vs-hub-card h3 span { color: var(--terracotta); }
.vs-hub-card .vs-hub-lead { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 12px; }
.vs-hub-card .vs-hub-tags { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vs-hub-card .vs-hub-tags li { font-size: 12px; line-height: 1; color: var(--terracotta); background: var(--soft); border-radius: 999px; padding: 6px 10px; }
.vs-hub-card .vs-hub-more { font-size: 13px; font-weight: 600; color: var(--terracotta); margin: 0; }

/* Neutralize homepage section dividers and keep icons square inside cards. */
.vs-hub > section + section::before, .vs-main > section + section::before { content: none; }
.vs-hub-icon { flex: none; width: 36px; height: 36px; }
.vs-hub-icon img { width: 36px; height: 36px; max-width: none; object-fit: contain; }
