@import "https://assets.elements.dev/assets/app/shared/styles/page.143413c233e4cdbd.css";
@import "https://assets.elements.dev/assets/app/shared/styles/post-body.d3dd6c2d3096ce7e.css";

/* The marketing column every content page sits in (Learn, Pricing), left
   aligned, with the reading measure applied to the blocks inside. */
.vs-doc {
  min-width: 0;
  max-width: var(--container-marketing);
  margin: 0 auto;
  padding: 0 var(--space-8) var(--space-24);
}

.vs-crumbs {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  margin-bottom: var(--space-4);
}
.vs-crumbs a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, currentColor 30%, transparent);
  text-underline-offset: 0.25em;
}
.vs-crumbs a:hover { text-decoration-color: currentColor; }

/* Same title as /learn and /feed. */
.vs-title {
  font-family: var(--font-sans);
  font-weight: var(--weight-bold);
  font-size: var(--page-title);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  margin: 2rem 0 var(--space-6);
}
.vs-crumbs + .vs-title { margin-top: var(--space-2); }

/* The markdown link under the title, styled like the action links on posts. */
.vs-meta {
  margin: calc(-1 * var(--space-3)) 0 var(--space-6);
  font-size: var(--text-sm);
}
.vs-doc .vs-meta a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}
.vs-doc .vs-meta a:hover { color: var(--ink); }

/* The lede, as /learn writes it. */
.vs-intro {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 var(--space-4);
}
.vs-intro:last-of-type { margin-bottom: var(--space-8); }

.vs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vs-list li + li { margin-top: var(--space-2); }
.vs-list a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, currentColor 30%, transparent);
  text-underline-offset: 0.25em;
}
.vs-list a:hover { text-decoration-color: currentColor; }

/* ---- body ---- */

.vs-body > p,
.vs-body > ul,
.vs-body > ol { max-width: var(--measure); }

.vs-body > * + * { margin-top: var(--space-5); }
.vs-body > * + h2 { margin-top: var(--space-14); }
.vs-body > * + h3 { margin-top: var(--space-10); }
.vs-body > h2 + *,
.vs-body > h3 + * { margin-top: var(--space-4); }

.vs-body h2 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--rule);
}
.vs-body h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
}

.vs-body li { margin-top: var(--space-2); }
.vs-body li > p { margin: 0; }

/* The comparison table is the part an answer engine lifts whole, and on a
   phone it scrolls inside itself rather than widening the page. */
.vs-body table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.vs-body th,
.vs-body td {
  text-align: left;
  vertical-align: top;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--rule);
}
.vs-body th { font-weight: var(--weight-semibold); }

.vs-body pre.code-fence,
.vs-body pre {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.75;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
  overflow-x: auto;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "calt" 0;
}

/* Inline code is monospace in the ink color with no panel behind it, so a
   paragraph full of names and paths reads calmly and long paths wrap on a
   phone. Code fences keep their dark surface. */
.vs-body :not(pre) > code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 0;
  border-radius: 0;
  overflow-wrap: anywhere;
}
.vs-body a code { color: inherit; }

.vs-more {
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--rule);
}
/* The index: one band per group, its worldview, then the products as a grid
   of tiles so forty-odd names fit without a long list. */
.vs-group {
  padding-top: var(--space-8);
  border-top: 1px solid var(--rule-soft);
}
.vs-group + .vs-group { margin-top: var(--space-12); }
.vs-group-desc {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 var(--space-5);
}
/* The group's introduction, set apart from the tiles so it is not read as
   one more product. */
.vs-lead {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 120ms ease, background-color 120ms ease;
}
.vs-lead:hover { background: var(--bg-soft); }
.vs-lead-kicker {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.vs-lead-title {
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  font-size: 0.9375rem;
  color: var(--ink);
}
.vs-lead-title::after { content: " →"; color: var(--ink-dim); }
.vs-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: var(--space-2);
}
.vs-grid li { display: flex; }
.vs-grid a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: border-color 120ms ease, background-color 120ms ease;
}
.vs-grid a::after {
  content: "→";
  color: var(--ink-dim);
  transition: transform 120ms ease, color 120ms ease;
}
.vs-grid a:hover {
  border-color: var(--accent-edge);
  background: var(--bg-soft);
}
.vs-grid a:hover::after {
  color: var(--accent);
  transform: translateX(2px);
}
@media (max-width: 640px) {
  .vs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.vs-group-title,
.vs-more-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: var(--weight-bold);
  margin: 0 0 var(--space-4);
}

@media (max-width: 700px) { .vs-doc { padding: 0 var(--space-5) var(--space-16); } }
/* A phone fits about twelve characters a line at the desktop title size, so
   "SignUpGenius" or "Subscriptions" alone would push the column wider than
   the screen. */
@media (max-width: 640px) {
  .vs-title { font-size: 2.5rem; overflow-wrap: anywhere; }
}
@media (max-width: 640px) { .vs-doc { padding: 0 var(--space-4) var(--space-16); } }
