/* Alternatives pages (/alternatives/*), 2026-10-15. Loaded after seo-pages.css and compare-pages.css, so
   tokens, the hero wash, footnotes, sources and the CTA band come from those sheets. This sheet adds the
   screenshot frames, the quick pick, the side-by-side table (cards on phones) and the alternative cards.
   No pills, no eyebrow labels, no underlined links (founder rules). */

.alt-hero { padding-bottom: 34px; }
.alt-hero h1 { font-size: clamp(44px, 6.4vw, 84px); }
.alt-answer { margin: 22px 0 0; max-width: 880px; color: var(--ink); font-family: var(--display); font-size: clamp(19px, 2vw, 25px); font-weight: 500; line-height: 1.3; letter-spacing: -0.025em; }
.alt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 24px; color: var(--muted); font-size: 14.5px; }
/* Ask an AI about this page: a quiet row of small buttons, each with that AI's own mark. */
.ask-ai { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ask-ai-label { margin-right: 4px; color: var(--muted); font-size: 14px; }
.ask-ai-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px 0 9px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.75); color: var(--ink); font-size: 13.5px; font-weight: 500; line-height: 1; transition: border-color .15s, background .15s; }
.ask-ai-btn img { display: block; width: 16px; height: 16px; object-fit: contain; border-radius: 3px; }
.ask-ai-btn:hover { border-color: #c9cdf3; background: #fff; }
.ask-ai-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ask-ai-note { color: var(--green-dark); font-size: 13px; }

/* Footnote markers stay in cards, facts and FAQ answers, but quiet: small and muted, not bright blue. */
.cmp-fn { font-size: 0.62em; }
.cmp-fn .compare-citation { color: var(--faint); font-weight: 500; }
.cmp-fn .compare-citation:hover, .cmp-fn .compare-citation:focus-visible { color: var(--blue); }

.alt-hero ~ .seo-section { padding: 38px 0; }
.alt-hero + .seo-section { padding-top: 24px; }
.seo-section .alt-h2, .alt-h2 { margin: 0 0 20px; max-width: none; font-family: var(--display); font-weight: 500; font-size: clamp(27px, 3.2vw, 38px); line-height: 1.1; letter-spacing: -0.035em; color: var(--ink); }

.alt-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Logos: a square tile for marks, the bare wordmark for wordmarks (white wordmarks get a dark plate). */
.alt-logo { display: inline-flex; flex: none; align-items: center; justify-content: center; vertical-align: middle; }
.alt-logo img { display: block; }
.alt-logo.is-mark { padding: 2px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.alt-logo.is-mark img { object-fit: contain; border-radius: 6px; }
.alt-logo.is-word img { width: auto; height: 20px; max-width: 132px; object-fit: contain; }
.alt-logo.is-dark { padding: 6px 9px; border-radius: 8px; background: #14152a; }
.alt-name { color: var(--ink); font-weight: 600; letter-spacing: -0.02em; }

/* Screenshot frame: one size and treatment for every tool. The whole image always shows (contain). */
.alt-fig { margin: 0; }
.alt-fig-frame { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--sunk); overflow: hidden; }
.alt-fig-frame img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.alt-fig.is-empty .alt-fig-frame { flex-direction: column; }
.alt-fig figcaption { margin-top: 8px; color: var(--faint); font-size: 12.5px; line-height: 1.45; }

/* Rival snapshot */
.alt-snap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 30px; align-items: start; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 1px 2px rgba(36, 37, 50, 0.04); }
.alt-snap-name { display: flex; align-items: center; gap: 12px; margin: 4px 0 18px; font-size: 22px; }
.alt-snap dl { display: grid; gap: 16px; margin: 0 0 20px; }
.alt-snap dt { color: var(--faint); font-size: 13px; font-weight: 500; }
.alt-snap dd { margin: 3px 0 0; color: var(--ink); font-size: 17px; line-height: 1.4; }

/* Quick pick */
.alt-picks { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.alt-picks li { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(170px, 230px); align-items: center; gap: 14px; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.alt-pick-need { color: var(--ink); font-size: 17px; line-height: 1.35; }
.alt-pick-arrow { color: var(--faint); text-align: center; }
.alt-pick-tool { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; }
.alt-pick-tool .is-word img { height: 21px; }
.alt-pick-tool:hover .alt-name { color: var(--blue); }

/* Side-by-side table and hub matrix */
.alt-table-wrap { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; box-shadow: 0 1px 2px rgba(36, 37, 50, 0.04); }
.alt-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.alt-table caption { caption-side: bottom; padding: 12px 16px; text-align: left; color: var(--faint); font-size: 13px; }
.alt-table th, .alt-table td { padding: 14px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.alt-table thead th { background: var(--sunk); color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.25; }
.alt-table tbody tr:last-child > * { border-bottom: 0; }
.alt-table th[scope="row"] { font-weight: 600; white-space: nowrap; }
.alt-table thead th { color: var(--ink); font-weight: 600; }
.alt-table tbody tr:nth-child(even) > * { background: #fafbfe; }
.alt-table tbody tr.is-inf > * { background: #f3f3ff; }
.alt-table tbody tr.is-inf > th[scope="row"] { box-shadow: inset 3px 0 0 #a35bff; }
.alt-table th[scope="row"] > a, .alt-table th[scope="row"] { color: var(--ink); }
.alt-table th[scope="row"] .alt-logo, .alt-table th[scope="row"] .alt-name { margin-right: 8px; }
.alt-table th[scope="row"] .is-word img { height: 18px; }
.alt-table .alt-job { text-align: center; }
.alt-table .alt-price { white-space: nowrap; color: var(--ink); font-weight: 500; }
.alt-table .alt-trial { color: var(--muted); }
.alt-table.is-matrix .alt-job { width: 10%; }

.alt-st { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 13.5px; white-space: nowrap; }
.alt-st i { position: relative; flex: none; width: 15px; height: 15px; border-radius: 50%; }
.alt-st.is-y i { background: var(--green); }
.alt-st.is-y i::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 3.5px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.alt-st.is-p i { border: 1.8px solid #6c6fa0; background: linear-gradient(90deg, transparent 50%, #6c6fa0 50%); }
.alt-st.is-n { color: var(--faint); }
.alt-st.is-n i::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6.5px; height: 2px; border-radius: 2px; background: #a6a9c0; }
.alt-st.is-u { color: var(--muted); }
.alt-st.is-u i { border: 1.6px dashed #9a9db8; }
.alt-legend { margin: 12px 2px 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.alt-legend .alt-st { display: inline; margin-right: 18px; white-space: normal; font-size: 13px; color: var(--muted); }
.alt-legend .alt-st i { display: inline-block; vertical-align: -3px; }
.alt-legend .alt-st b { color: var(--ink); font-weight: 500; }
.alt-legend .alt-st i { margin-right: 2px; }

/* Alternative cards: screenshot first, then two goods and two watch-outs */
.alt-cards { display: grid; gap: 18px; }
.alt-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 30px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); scroll-margin-top: 96px; box-shadow: 0 1px 2px rgba(36, 37, 50, 0.04); }
.alt-card > .alt-fig { grid-column: 1; grid-row: 1 / span 3; }
.alt-card h3 { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 2px 0 16px; font-family: var(--sans); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.alt-card h3 .is-word img { height: 26px; max-width: 170px; }
.alt-n { color: var(--faint); font-family: var(--mono); font-size: 13px; font-weight: 400; }
.alt-aka { color: var(--muted); font-size: 14px; font-weight: 400; }
.alt-card-cols { grid-column: 2; display: grid; gap: 14px; align-content: start; }
.alt-card > .cmp-arrow-link { grid-column: 2; margin-top: 16px; }
.alt-col-label { margin: 0 0 6px; color: var(--ink); font-size: 14px; font-weight: 600; }
.alt-card ul { margin: 0; padding: 0; list-style: none; }
.alt-card li { position: relative; padding-left: 24px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.alt-card li + li { margin-top: 6px; }
.alt-card li::before { position: absolute; left: 0; top: 0.05em; font-weight: 700; }
.alt-good li::before { content: "\2713"; color: var(--green); }
.alt-watch li::before { content: "!"; left: 5px; color: #b26b00; }

/* FAQ: answers always in the page */
.alt-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.alt-faq article { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.alt-faq h3 { margin: 0 0 8px; color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.alt-faq p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Sources: one row per tool, its sources as short numbered links (River: "make them columns/rows to make it
   less high"). Each source keeps the anchor id its footnote markers point at. */
.alt-src-wrap { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.alt-src-table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.55; }
.alt-src-table caption { caption-side: bottom; padding: 10px 14px; text-align: left; color: var(--faint); font-size: 12.5px; }
.alt-src-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.alt-src-table th, .alt-src-table td { padding: 9px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.alt-src-table th[scope="row"] { width: 150px; color: var(--ink); font-weight: 500; white-space: nowrap; }
.alt-src-table td { color: var(--faint); }
.alt-src { white-space: nowrap; scroll-margin-top: 110px; }
.alt-src:target { border-radius: 4px; background: var(--wash); }
.alt-src-n { color: var(--faint); font-weight: 400; font-variant-numeric: tabular-nums; }
.alt-src a { color: var(--muted); }
.alt-src a:hover { color: var(--blue); }
.alt-hub-more { margin: 18px 0 0; }
.alt-cta { margin-top: 0; }

/* Hub */
.alt-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.alt-hub-card { display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.alt-hub-card h3 { display: flex; align-items: center; gap: 10px; margin: 14px 0 2px; font-family: var(--sans); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.alt-hub-cat { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.alt-hub-card .pair-actions { margin-top: auto; }

@media (max-width: 900px) {
  .alt-snap, .alt-card { grid-template-columns: minmax(0, 1fr); }
  .alt-card { grid-template-rows: none; }
  .alt-card > .alt-fig, .alt-card h3, .alt-card-cols, .alt-card > .cmp-arrow-link { grid-column: 1; grid-row: auto; }
  .alt-card h3 { order: -1; }
  .alt-card > .alt-fig { margin-bottom: 16px; }
  .alt-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alt-faq { grid-template-columns: minmax(0, 1fr); }
}

/* Phones: each table row becomes a card, the tool on top and every column labelled. */
@media (max-width: 760px) {
  .alt-table-wrap { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
  .alt-table, .alt-table tbody, .alt-table caption { display: block; width: 100%; }
  .alt-table caption { padding: 4px 2px 0; }
  .alt-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .alt-table tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
  .alt-table th[scope="row"] { grid-column: 1 / -1; background: var(--sunk); white-space: normal; }
  .alt-table th[scope="row"] { padding: 10px 12px; border-bottom: 0; }
  .alt-table td { display: block; padding: 8px 12px 9px; border-bottom: 0; border-top: 1px solid var(--line-soft); text-align: left; font-size: 14px; }
  .alt-table .alt-price, .alt-table .alt-trial { white-space: normal; }
  .alt-table .alt-job { text-align: left; width: auto; }
  .alt-table.is-matrix .alt-job { width: auto; }
  .alt-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--faint); font-size: 11.5px; line-height: 1.3; }
  .alt-table .alt-st { font-size: 13px; }
  .alt-table tbody tr:nth-child(even) > td { background: transparent; }
  .alt-pick-need { font-size: 16px; }
  .alt-picks li { grid-template-columns: 22px minmax(0, 1fr); row-gap: 6px; }
  .alt-pick-need { grid-column: 1 / -1; }
  .alt-pick-arrow { text-align: left; }
  .alt-hub-grid { grid-template-columns: minmax(0, 1fr); }
  .alt-snap, .alt-card { padding: 16px; }
  .ask-ai { gap: 6px; }
  .ask-ai-label { flex-basis: 100%; }
  .ask-ai-btn { gap: 6px; height: 32px; padding: 0 8px 0 7px; font-size: 13px; }
  .alt-src-table, .alt-src-table tbody, .alt-src-table tr, .alt-src-table th, .alt-src-table td { display: block; width: auto; }
  .alt-src-table th[scope="row"] { padding-bottom: 0; border-bottom: 0; }
  .alt-src-table caption { display: block; padding: 10px 14px 0; }
  .alt-src { white-space: normal; }
}

/* Breadcrumb above the pair switcher, and the rival rows (the compare pages' chip row). */
.alt-crumb { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.alt-crumb a { color: var(--blue); font-weight: 500; }
.alt-crumb a:hover { color: var(--blue-dark); }
.alt-crumb [aria-current] { color: var(--ink); }
.alt-hero + .cmp-chips-section { padding: 6px 0 4px; }
.alt-more { padding: 8px 0 30px; }
