/* Un-slop: a plain index of the sites. Ultramarine ground, white type, one yellow line; the screenshots do the rest. */
:root {
  color-scheme: dark;
  --ground: #1f3d97;
  --ground-deep: #142a6e;
  --ink: #f3f5ff;
  --ink-soft: #b9c5f0;
  --signal: #ffd966;
  --card: rgb(255 255 255 / .06);
  --line: rgb(226 233 255 / .18);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: linear-gradient(var(--ground), var(--ground-deep) 900px) var(--ground-deep);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
::selection { background: var(--signal); color: #15171c; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 5;
  background: var(--ink); color: #15171c; padding: .6rem 1rem; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 1rem; }

.page { max-width: 1440px; margin: 0 auto; padding: 28px 40px 0; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 19px; letter-spacing: -.01em; text-decoration: none; }
.mark i { width: 10px; height: 10px; background: var(--ink); display: block; }
.count { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.count b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }

.intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); column-gap: 56px; align-items: end;
  padding: 6vh 0 5vh;
}
h1 {
  margin: 0; font-weight: 700; font-stretch: 78%;
  font-size: clamp(46px, 6.4vw, 104px); line-height: .9; letter-spacing: -.025em;
}
h1 span { display: block; }
h1 .second { color: var(--signal); }
.note { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.note strong { color: var(--ink); font-weight: 600; }
.way { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--ink-soft); padding-bottom: 2px; }
.way:hover { border-color: var(--signal); }

/* the index: small cards, the screenshot first */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 28px 20px; padding-bottom: 7vh; }
.card { display: grid; gap: 10px; align-content: start; min-width: 0; }
.shot {
  display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: #0b0b0b;
  box-shadow: 0 0 0 1px var(--line), 0 14px 28px -18px rgb(4 10 40 / .9);
  transition: translate .3s var(--spring), box-shadow .2s ease;
}
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot:hover { translate: 0 -3px; box-shadow: 0 0 0 2px var(--signal), 0 18px 30px -18px rgb(4 10 40 / .9); }
.card h2 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.01em; line-height: 1.2; }
.card h2 a { text-decoration: none; }
.card h2 a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 3px; }
.card p { margin: 0; }
.medium { margin-top: 3px !important; font-size: 14px; line-height: 1.38; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.made { margin-top: 4px !important; font-size: 12.5px; color: rgb(185 197 240 / .75); }

/* the take and the one question, folded under each card */
.take { font-size: 14px; }
.take summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 650; color: var(--ink-soft); min-height: 28px;
}
.take summary::-webkit-details-marker { display: none; }
.take summary::before { content: "+"; font-weight: 700; color: var(--signal); width: 10px; }
.take[open] summary::before { content: "–"; }
.take summary:hover { color: var(--ink); }
.take .line { line-height: 1.45; margin: 4px 0 0; }
.ask { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.ask .q, .verdict .q { font-weight: 650; }
.answers { display: flex; flex-wrap: wrap; gap: .45em; margin-top: .45em !important; }
.answers button {
  font: inherit; font-weight: 650; cursor: pointer; min-height: 32px; padding: .2em .95em;
  color: var(--ink); background: transparent; border: 1.5px solid var(--ink-soft); border-radius: 999px;
  transition: background-color .2s ease, color .2s ease, scale .35s var(--spring);
}
.answers button:hover:not(:disabled) { background: rgb(255 255 255 / .1); }
.answers button:active:not(:disabled) { scale: .94; }
.answers button[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: #15171c; }
.answers button:disabled { cursor: default; }
.answers button:disabled[aria-pressed="false"] { opacity: .45; }
.tally { min-height: 1.35em; margin-top: .4em !important; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.foot { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 22px 0 4vh; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 15px; }
.foot a { color: var(--ink); }

/* compare: two sites side by side, both live */
.compare-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin: 3vh 0 2.4vh; }
.compare-head h1 { font-size: clamp(40px, 4.4vw, 64px); }
.pickers { display: flex; flex-wrap: wrap; gap: 14px; }
.pick { display: grid; gap: 4px; min-width: 15rem; font-size: 13px; font-weight: 650; color: var(--ink-soft); }
.pick select {
  font: 600 17px "Instrument Sans", sans-serif; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; min-height: 44px; cursor: pointer;
}
.pick select option { color: #15171c; }
.verdict {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 15px;
}
.verdict .answers { margin: 0 !important; }
.verdict .tally { margin: 0 !important; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding-bottom: 28px; }
.pair figure { margin: 0; }
.pair figcaption { display: flex; gap: .6em; align-items: baseline; margin: 0 0 10px; font-size: 15px; color: var(--ink-soft); }
.pair figcaption b { color: var(--ink); font-weight: 650; }
.pair .edge { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 22px 40px -18px rgb(4 10 40 / .8); }
.pair iframe { display: block; width: 100%; height: calc(100vh - 150px); min-height: 420px; border: 0; background: #0b0b0b; }

/* not found */
.lost .says { margin: 16vh 0 20vh; max-width: 34rem; }
.lost .says h1 { font-size: clamp(40px, 5vw, 64px); }
.lost .says p { color: var(--ink-soft); font-size: 17px; line-height: 1.55; margin: 18px 0 0; }

@media (max-width: 900px) {
  .page { padding: 22px 24px 0; }
  .intro { grid-template-columns: 1fr; row-gap: 22px; padding: 5vh 0 4vh; }
}

/* a phone: two small cards a row */
@media (max-width: 600px) {
  .page { padding: 18px 16px 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .card h2 { font-size: 15px; }
  .medium { font-size: 13px; }
  .made { font-size: 12px; }
  .pick { min-width: 0; flex: 1 1 100%; }
  .answers button { min-height: 40px; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .pair iframe { height: 78vh; }
}

@media (prefers-reduced-motion: reduce) {
  .shot, .answers button { transition: none; }
}
