/* Alternatives pages: hub, "Best X alternatives" and "Switch from X". Builds on product-v2.css and compare.css (vs-*).
   Same palette: black/white plus the hero palette; Leadspicker is the one inverted (black) card. */
.alt-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.alt-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f3d2a6; }
.background-video-3:has(.alt-hero) { height: auto; min-height: 620px; }
.alt-logos { gap: 14px; }
.alt-logos__arrow svg { width: 22px; height: 22px; stroke: rgba(255,255,255,.8); fill: none; stroke-width: 1.8; transform: rotate(45deg); }
.alt-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; max-width: 760px; }
.alt-jump a { padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: rgba(255,255,255,.86); font-size: 13px; text-decoration: none; transition: background .2s, border-color .2s; }
.alt-jump a:first-child { background: #fff; color: #0a0a0a; border-color: #fff; }
.alt-jump a:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.alt-jump a:first-child:hover { background: #f3d2a6; border-color: #f3d2a6; }

/* logos */
.alt-logo { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 13px; background: #fff; box-shadow: inset 0 0 0 1px #e5e5e5; overflow: hidden; }
.alt-logo img { width: 100%; height: 100%; object-fit: cover; }
.alt-logo b { font-size: 22px; font-weight: 600; color: #0a0a0a; }
.alt-logo--lp svg { width: 28px !important; height: 32px !important; }
.alt-mini { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 5px; vertical-align: -4px; overflow: hidden; background: #f0f0f0; }
.alt-mini img { width: 100%; height: 100%; object-fit: cover; }
.alt-mini b { font-size: 11px; font-weight: 600; color: #0a0a0a; }
.alt-mini--lp { background: none; }
.alt-mini--lp svg { width: 18px !important; height: 20px !important; }

/* quick table */
.alt-quick td:first-child { width: 48px; color: #8a8a8a; font-variant-numeric: tabular-nums; }
.alt-quick tbody th[scope="row"] { width: 22%; }
.alt-quick td { width: auto; }
.alt-quick td:nth-child(2) { background: none; }
.alt-quick th a { color: #0a0a0a; text-decoration: none; display: inline-flex; align-items: center; }
.alt-quick th a:hover { text-decoration: underline; }
.alt-quick tr.is-lp > * { background: #fafafa; font-weight: 500; color: #0a0a0a; }
.alt-quick tbody tr { border-bottom: 1px solid #efefef; }
.alt-quick tbody td, .alt-quick tbody th { border-bottom: 1px solid #efefef; }

/* the list */
.alt-picks { display: grid; gap: 20px; }
.alt-pick { display: grid; grid-template-columns: 260px 1fr; border: 1px solid #e5e5e5; border-radius: 18px; overflow: hidden; background: #fff; scroll-margin-top: 96px; }
.alt-pick__side { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px 28px; background: #fafafa; border-right: 1px solid #e5e5e5; }
.alt-pick__rank { font-size: 13px; font-variant-numeric: tabular-nums; color: #8a8a8a; letter-spacing: .06em; }
.alt-pick__side h3 { font-size: 26px; line-height: 1.1; letter-spacing: -.015em; font-weight: 500; margin: 4px 0 0; color: #0a0a0a; }
.alt-chip { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 12px; line-height: 1.2; color: #404040; background: #fff; box-shadow: inset 0 0 0 1px #e5e5e5; }
.alt-pick__main { padding: 32px 36px; display: flex; flex-direction: column; gap: 22px; }
.alt-pick__lead { font-size: 19px; line-height: 1.45; letter-spacing: -.005em; color: #0a0a0a; margin: 0; max-width: 720px; }
.alt-pick__cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
.alt-pick h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: #737373; margin: 0 0 10px; }
.alt-pick ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.alt-pick__cols li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; color: #404040; }
.alt-pick__cols li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: #0a0a0a; }
.alt-pick dl { margin: 0; display: grid; gap: 4px; align-content: start; }
.alt-pick dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: #737373; }
.alt-pick dd { margin: 0 0 14px; font-size: 15px; line-height: 1.45; color: #0a0a0a; }
.alt-pick__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; border-top: 1px solid #efefef; font-size: 13px; color: #8a8a8a; }
.alt-pick__foot a { display: inline-flex; align-items: center; gap: 6px; color: #0a0a0a; font-weight: 500; text-decoration: none; }
.alt-pick__foot span a { color: inherit; font-weight: 400; text-decoration: underline; }
.alt-pick__foot svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; transition: transform .25s; }
.alt-pick__foot a:hover svg { transform: translate(2px, -2px); }

/* Leadspicker: the inverted card */
.alt-pick--lp { background: #0a0a0a; border-color: #0a0a0a; box-shadow: 0 30px 70px rgba(0,0,0,.18); }
.alt-pick--lp .alt-pick__side { background: radial-gradient(120% 90% at 0% 0%, rgba(243,210,166,.22), transparent 60%), #111; border-color: #262626; }
.alt-pick--lp .alt-pick__side h3, .alt-pick--lp .alt-pick__lead, .alt-pick--lp dd { color: #fff; }
.alt-pick--lp .alt-pick__rank, .alt-pick--lp h4, .alt-pick--lp dt { color: #a3a3a3; }
.alt-pick--lp .alt-chip { background: #f3d2a6; color: #0a0a0a; box-shadow: none; }
.alt-pick--lp .alt-logo { box-shadow: none; }
.alt-pick--lp .alt-pick__cols li { color: #d4d4d4; }
.alt-pick--lp .alt-pick__cols li::before { background: #f3d2a6; }
.alt-pick--lp .alt-pick__foot { border-color: #262626; justify-content: flex-start; }
.alt-pick--lp .alt-pick__foot a { color: #fff; }
.alt-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px !important; background: #262626; border: 1px solid #262626; border-radius: 12px; overflow: hidden; }
.alt-why li { padding: 18px 18px 20px; background: #0a0a0a; font-size: 14px; line-height: 1.45; color: #a3a3a3; }
.alt-why strong { display: block; font-size: 16px; font-weight: 500; color: #fff; margin-bottom: 6px; }
.alt-btn { padding: 10px 16px; border-radius: 999px; background: #fff; color: #0a0a0a !important; }
.alt-btn:hover { background: #f3d2a6; }

/* switch link band */
.alt-switch { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 36px; border: 1px solid #e5e5e5; border-radius: 18px; color: inherit; text-decoration: none; transition: background .25s, border-color .25s; }
.alt-switch:hover { background: #fafafa; border-color: #d4d4d4; }
.alt-switch small { display: block; font-size: 13px; color: #737373; margin-bottom: 6px; }
.alt-switch strong { font-size: 26px; line-height: 1.2; letter-spacing: -.015em; font-weight: 500; color: #0a0a0a; }
.alt-switch svg { flex: none; width: 28px; height: 28px; stroke: #0a0a0a; fill: none; stroke-width: 1.6; transition: transform .25s; }
.alt-switch:hover svg { transform: translate(3px, -3px); }

/* before / after */
.alt-change .vs-glance__h { display: flex; align-items: center; }
/* columns: label · with X · with Leadspicker; the Leadspicker column is the inverted one */
.alt-change .vs-glance { grid-template-columns: 220px 1fr 1.15fr; }
.alt-change .vs-glance__v--lp { background: none; color: #525252; }
.alt-change .vs-glance > :nth-child(3n) { background: #0a0a0a; color: #fff; border-bottom-color: #262626; }
.alt-change .vs-glance > .vs-glance__h:nth-child(3) { background: #111; }
.alt-change .vs-glance > .vs-glance__h:nth-child(3) .alt-mini--lp svg path { fill: #fff; }
.alt-sources { columns: 2; column-gap: 40px; }

@media (max-width: 991px) {
  .alt-pick { grid-template-columns: 1fr; }
  .alt-pick__side { flex-direction: row; flex-wrap: wrap; align-items: center; border-right: 0; border-bottom: 1px solid #e5e5e5; padding: 22px 22px; }
  .alt-pick__side h3 { margin: 0; font-size: 22px; }
  .alt-pick__rank { width: 100%; }
  .alt-pick__main { padding: 24px 22px; }
  .alt-why { grid-template-columns: 1fr; }
  .alt-switch { padding: 24px 22px; }
  .alt-switch strong { font-size: 21px; }
}
@media (max-width: 767px) {
  .alt-pick__cols { grid-template-columns: 1fr; gap: 20px; }
  .alt-pick__lead { font-size: 17px; }
  .alt-quick td:first-child { display: none; }
  .alt-sources { columns: 1; }
}
