/* InStock Index (/index, redesign 2026-12-04): its own file, so the inlined CSS of the locked pages stays byte-for-byte the
   same. The site's own language: navy hero, pill chips, white rounded cards. Band colours: text contrast >= 4.5:1. */
main.post-wrap:has(.ix) { max-width: 1120px; }
.ix { --x: #B91C1C; --v: #C2410C; }

/* hero with the 4-band scale */
.ix-hero { background: radial-gradient(120% 140% at 0% 0%, #1E3A8A 0%, #0B1220 55%); color: #fff; border-radius: 24px; padding: 2rem 2.2rem 1.6rem; margin-bottom: .8rem; }
.ix-eyebrow { margin: 0 0 .6rem; font: 700 .8rem/1.4 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; color: #FCD34D; }
.ix-hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
.ix-lead { margin: .8rem 0 1.3rem; max-width: 52rem; color: #CBD5E1; font-size: 1.02rem; }
.ix-scale { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 1rem 1.1rem 1.1rem; }
.ix-scale-h { margin: 0 0 .7rem; font-weight: 800; font-size: 1.1rem; }
.ix-scale-bar { display: grid; grid-template-columns: 40fr 20fr 20fr 20fr; gap: 3px; height: 16px; border-radius: 999px; overflow: hidden; }
.ix-scale-bar span { display: block; }
.ix-z-e { background: linear-gradient(90deg, #22C55E, #84CC16); } .ix-z-h { background: linear-gradient(90deg, #EAB308, #F59E0B); }
.ix-z-v { background: linear-gradient(90deg, #F97316, #EA580C); } .ix-z-x { background: linear-gradient(90deg, #EF4444, #B91C1C); }
.ix-scale-keys { list-style: none; padding: 0; margin: .55rem 0 0; display: grid; grid-template-columns: 40fr 20fr 20fr 20fr; gap: 3px; }
.ix-scale-keys li { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ix-scale-keys b { font-size: 1.05rem; } .ix-scale-keys span { font-size: .85rem; color: #E2E8F0; }
.ix-k-e b { color: #86EFAC; } .ix-k-h b { color: #FDE047; } .ix-k-v b { color: #FDBA74; } .ix-k-x b { color: #FCA5A5; }
.ix-next { margin: .9rem 0 0; color: #94A3B8; font-size: .85rem; }

/* tools */
.ix-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin: 1.2rem 0 .3rem; }
.ix-chips { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; padding: 2px; max-width: 100%; }
.ix-chips::-webkit-scrollbar { display: none; }
.ix-chips .chip { flex: none; } .ix-chips small { color: var(--muted); font-weight: 600; margin-left: .15rem; }
.ix-sort { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.ix-sort select { min-height: 44px; border-radius: 12px; border: 1px solid #CBD5E1; background: #fff; padding: 0 .8rem; font: inherit; font-weight: 600; color: var(--fg); }
.ix-count { margin: .2rem 0 .6rem; }

/* cards: rows by default, the first 3 shown as a podium */
.ix-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.ix-item { grid-column: 1 / -1; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); scroll-margin-top: 5rem; min-width: 0; }
.ix-item[hidden] { display: none; }
.ix-card { display: grid; grid-template-columns: 2.4rem 64px minmax(0, 1.5fr) minmax(0, 1.1fr) auto; grid-template-areas: "rank pic head score act"; gap: .9rem; align-items: center; padding: .9rem 1.1rem; }
.ix-rank { grid-area: rank; font-weight: 800; font-size: 1.5rem; color: var(--blue); text-align: center; }
.ix-pic { grid-area: pic; width: 64px; height: 64px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; overflow: hidden; color: var(--blue); }
.ix-pic img { width: 100%; height: 100%; object-fit: contain; }
.ix-pic svg { width: 62%; height: 62%; }
.ix-head { grid-area: head; min-width: 0; }
.ix-head h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; overflow-wrap: anywhere; }
.ix-cat { margin: .15rem 0 0; font-size: .85rem; color: var(--muted); }
.ix-x { color: var(--fg); font-weight: 700; }
.ix-trend { font-weight: 700; } .ix-t-new { color: var(--blue); } .ix-t-up { color: var(--green); } .ix-t-down { color: var(--red); } .ix-t-same { color: var(--muted); }
.ix-reason { margin: .3rem 0 0; font-size: .9rem; font-weight: 600; color: #334155; }
.ix-score { grid-area: score; min-width: 0; }
.ix-verdict { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .6rem; }
.ix-badge { display: inline-block; font-weight: 700; font-size: .88rem; padding: .2rem .7rem; border-radius: 999px; color: #fff; }
.ix-b-x { background: var(--x); } .ix-b-v { background: var(--v); } .ix-b-h { background: #FEF3C7; color: #92400E; box-shadow: inset 0 0 0 1px #F59E0B; } .ix-b-e { background: #DCFCE7; color: #166534; box-shadow: inset 0 0 0 1px #22C55E; }
.ix-num { color: var(--muted); font-size: .85rem; font-weight: 600; } .ix-num b { color: var(--fg); font-size: 1.25rem; }
.ix-meter { display: flex; align-items: center; gap: .45rem; width: 100%; min-height: 40px; margin-top: .2rem; padding: 0; border: 0; background: none; cursor: help; font: inherit; color: var(--muted); }
.ix-meter:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
.ix-end { font-size: .72rem; font-weight: 600; white-space: nowrap; }
.ix-bar { flex: 1; height: 10px; min-width: 60px; }
.ix-track { fill: #E5E7EB; }
.ix-fill-x { fill: #DC2626; } .ix-fill-v { fill: #EA580C; } .ix-fill-h { fill: #D97706; } .ix-fill-e { fill: #16A34A; }
.ix-act { grid-area: act; display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; }
.ix-act .btn, .ix-act .btn-outline { white-space: nowrap; }
.ix-want { margin: 0; font-size: .8rem; color: var(--muted); }
.ix-want:empty { display: none; }

/* podium */
.ix-pod { grid-column: auto; border: 2px solid var(--line); }
.ix-pod .ix-card { grid-template-columns: 1fr; grid-template-areas: "pic" "head" "score" "act"; gap: .7rem; padding: 1.1rem 1.2rem 1rem; position: relative; align-content: start; }
.ix-pod .ix-rank { position: absolute; top: .7rem; left: .9rem; z-index: 1; font-size: 2.4rem; line-height: 1; color: var(--fg); text-shadow: 0 2px 0 #fff; }
.ix-pod .ix-pic { width: 100%; height: 150px; border-radius: 16px; }
.ix-pod .ix-pic img { width: 100%; height: 100%; object-fit: contain; }
.ix-pod .ix-head h3 { font-size: 1.2rem; }
.ix-pod .ix-num b { font-size: 2rem; }
.ix-pod .ix-badge { font-size: .95rem; padding: .3rem .85rem; }
.ix-pod .ix-act { align-items: stretch; } .ix-pod .ix-act .btn, .ix-pod .ix-act .btn-outline { width: 100%; }

/* tooltip (native popover) */
.ix-tip { max-width: min(22rem, calc(100vw - 2rem)); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; box-shadow: 0 12px 40px rgba(15,23,42,.2); color: var(--fg); }
.ix-tip::backdrop { background: rgba(15,23,42,.25); }
.ix-tip p { margin: 0 0 .6rem; font-size: .92rem; }

/* evidence */
.ix-ev { border-top: 1px solid var(--line); }
.ix-ev summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 1.1rem; cursor: pointer; font-weight: 700; color: var(--blue); list-style: none; }
.ix-ev summary::-webkit-details-marker { display: none; }
.ix-ev summary span::after { content: "▾"; display: inline-block; transition: transform .15s; }
.ix-ev[open] summary span::after { transform: rotate(180deg); }
.ix-ev summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: 8px; }
.ix-ev-body { padding: 0 1.1rem 1rem; }
.ix-why { margin: 0 0 .7rem; }
.ix-prices { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .7rem; }
.ix-prices div { background: var(--bg); border-radius: 12px; padding: .6rem .8rem; display: flex; flex-direction: column; min-width: 0; }
.ix-prices span { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.ix-prices b { font-size: 1.3rem; } .ix-prices em { font-style: normal; color: var(--x); font-size: 1rem; }
.ix-prices small { color: var(--muted); overflow-wrap: anywhere; }
.ix-facts { margin: 0; display: grid; gap: .35rem; font-size: .9rem; }
.ix-facts div { display: grid; grid-template-columns: 11.5rem 1fr; gap: .6rem; }
.ix-facts dt { color: var(--muted); font-weight: 600; } .ix-facts dd { margin: 0; overflow-wrap: anywhere; }
.ix-split-h { margin: .8rem 0 .3rem; font-weight: 700; font-size: .9rem; }
.ix-split { width: 100%; height: 12px; display: block; }
.ix-s-m { fill: #1D4ED8; background: #1D4ED8; } .ix-s-r { fill: #7C3AED; background: #7C3AED; } .ix-s-d { fill: #0891B2; background: #0891B2; } .ix-s-o { fill: #EA580C; background: #EA580C; }
.ix-split-keys { list-style: none; padding: 0; margin: .4rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .82rem; color: var(--muted); }
.ix-split-keys i { display: inline-block; width: .7rem; height: .7rem; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }

/* below the list */
.ix-movers { margin: 2rem 0 0; }
.ix-movers h2, .ix-how h2 { font-size: 1.4rem; margin: 0 0 .5rem; }
.ix-movers ul { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.ix-movers a { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: 0 .9rem; border-radius: 999px; background: #fff; border: 1px solid #CBD5E1; color: var(--fg); font-weight: 600; font-size: .9rem; }
.ix-how { margin: 2.2rem 0 0; }
.ix-how-lead { max-width: 52rem; }
.ix-steps { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.ix-steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; position: relative; }
.ix-step-n { position: absolute; top: .8rem; right: .9rem; width: 1.6rem; height: 1.6rem; border-radius: 999px; background: var(--soft); color: var(--blue); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.ix-step-w { display: block; font-size: 2rem; line-height: 1; color: var(--blue); }
.ix-steps h3 { margin: .4rem 0 .3rem; font-size: 1rem; } .ix-steps p { margin: 0; font-size: .88rem; color: var(--muted); }
.ix-download { margin: .8rem 0 1rem; }

@media (max-width: 900px) {
  .ix-list { grid-template-columns: 1fr; }
  .ix-pod .ix-card { grid-template-columns: 120px minmax(0, 1fr); grid-template-areas: "pic head" "score score" "act act"; }
  .ix-pod .ix-pic { height: 120px; }
  .ix-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .ix-hero { padding: 1.4rem 1.1rem 1.2rem; border-radius: 20px; }
  .ix-scale-keys span { font-size: .72rem; }
  .ix-scale-keys b { font-size: .9rem; }
  .ix-card { grid-template-columns: 1.8rem 56px minmax(0, 1fr); grid-template-areas: "rank pic head" "score score score" "act act act"; padding: .8rem .9rem; gap: .6rem .7rem; }
  .ix-pic { width: 56px; height: 56px; }
  .ix-rank { font-size: 1.25rem; }
  .ix-act { align-items: stretch; } .ix-act .btn, .ix-act .btn-outline { width: 100%; }
  .ix-pod .ix-card { grid-template-columns: 96px minmax(0, 1fr); }
  .ix-pod .ix-pic { height: 96px; }
  .ix-pod .ix-rank { font-size: 1.9rem; top: .5rem; left: .6rem; }
  .ix-prices { grid-template-columns: 1fr; }
  .ix-facts div { grid-template-columns: 1fr; gap: 0; }
  .ix-tools { flex-direction: column; align-items: stretch; }
  .ix-sort select { flex: 1; }
  .ix-steps { grid-template-columns: 1fr; }
}
.ix-sort { flex-direction: row; margin: 0; }
.ix-pic:has(img) { background: #fff; }
@media (max-width: 700px) {
  .ix-scale-keys { grid-template-columns: 1fr 1fr; gap: .55rem .8rem; margin-top: .8rem; }
  .ix-scale-keys li { flex-direction: column; gap: 0; padding-left: .55rem; border-left: 4px solid; }
  .ix-scale-keys span { font-size: .82rem; }
  .ix-scale-keys b { white-space: nowrap; }
  .ix-k-e { border-color: #22C55E; } .ix-k-h { border-color: #EAB308; } .ix-k-v { border-color: #F97316; } .ix-k-x { border-color: #EF4444; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .ix-pod .ix-card { grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "pic head head" "pic score act"; align-items: center; }
  .ix-pod .ix-pic { height: 140px; }
}

/* SEO/GEO pass (2026-12-04): definition, TL;DR, list heading, table, data links */
.ix-def { margin: -.4rem 0 1rem; max-width: 52rem; color: #E2E8F0; font-size: .95rem; }
.ix-def a { color: #93C5FD; text-decoration: underline; }
.ix-tldr { margin: 0 0 1.2rem; padding-left: 1.1rem; color: #E2E8F0; font-size: .95rem; display: grid; gap: .2rem; }
.ix-tldr b { color: #fff; }
.ix-scale-note { margin: .8rem 0 0; font-size: .85rem; color: #CBD5E1; }
.ix-next a { color: #93C5FD; text-decoration: underline; }
.ix-list-h { font-size: 1.4rem; margin: 1.4rem 0 0; }
.ix-table-h { margin: 1.8rem 0 .2rem; font-size: 1.1rem; }
.ix-table { width: 100%; border-collapse: collapse; font-size: .88rem; background: var(--card); }
.ix-table caption { text-align: left; color: var(--muted); font-size: .85rem; padding: 0 0 .5rem; }
.ix-table th, .ix-table td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ix-table thead th { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.ix-table tbody th { font-weight: 600; min-width: 12rem; }
.ix-data { margin: .8rem 0 0; font-weight: 600; }
.ix-data a { display: inline-flex; align-items: center; min-height: 40px; }
.ix-steps h3 { margin: .4rem 2rem .3rem 0; }
.ix-step-w { display: none; }
