/* apps.hopperlabs.ai. The look is hopperlabs.ai's: its canvas, ink, hairlines, card and the one sage action. */
:root {
  color-scheme: light;
  --canvas: #fafafa;
  --surface: #fff;
  --ink: #18181b;
  --muted: #71717a;
  --line: #e4e4e7;
  --tint: #eaece8;
  --act: #e8efe5;
  --act-ink: #304936;
  --act-line: #ccd9c6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
[hidden] { display: none !important; }

.head {
  display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 28px;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.brand { font-size: 19px; font-weight: 800; letter-spacing: -0.04em; text-decoration: none; }
.name { font-size: 19px; font-weight: 500; letter-spacing: -0.03em; color: var(--muted); }
.meta { margin: 0 0 0 14px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.signin {
  margin-left: auto; padding: 8px 14px; border-radius: 9px;
  background: var(--ink); color: var(--canvas); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap;
}

main { max-width: 1200px; margin: 0 auto; padding: 20px 28px 56px; }
.find { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.box { flex: 1 1 300px; max-width: 440px; }
.box input {
  width: 100%; height: 42px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--surface);
  font: inherit; font-size: 15px; color: var(--ink);
}
.box input:focus-visible, .pills button:focus-visible, a:focus-visible, #clear:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pills { display: flex; gap: 7px; flex-wrap: wrap; }
.pills button {
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 7px;
  background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer;
}
.pills button span { color: var(--muted); margin-left: 3px; }
.pills button[aria-pressed="true"] { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.pills button[aria-pressed="true"] span { color: inherit; opacity: 0.7; }
.count { margin: 0 0 0 auto; font-size: 12px; color: var(--muted); white-space: nowrap; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
/* The capture is shown as the window it is: on the site's tint, cut at the card's edge. */
.art { position: relative; padding: 20px 20px 0; background: var(--tint); aspect-ratio: 16 / 9; overflow: hidden; }
.art img { display: block; width: 100%; height: auto; border-radius: 8px 8px 0 0; box-shadow: 0 8px 24px rgb(24 24 27 / 12%); background: var(--surface); }
.tier {
  position: absolute; right: 12px; top: 12px; padding: 5px 9px; border-radius: 5px;
  background: #fffffff0; color: #30342c; font-size: 10px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
}
.body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.stands { margin: 0 0 12px; font-size: 11px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stands.ready { color: var(--act-ink); }
.stands span { margin-left: 10px; padding-left: 10px; border-left: 1px solid color-mix(in srgb, var(--muted) 35%, transparent); font-weight: 500; color: var(--muted); }
h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; letter-spacing: -0.025em; }
.says { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.facts { margin: -8px 0 18px; font-size: 12px; color: var(--muted); }
.actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: auto; }
.primary, .secondary {
  display: inline-flex; align-items: center; min-height: 40px; padding: 9px 14px; border-radius: 9px;
  font-size: 13px; font-weight: 600; text-decoration: none; border: 1px solid var(--line);
}
.primary { background: var(--act); color: var(--act-ink); border-color: var(--act-line); }
.primary:hover { opacity: 0.85; }
.secondary { background: var(--surface); color: var(--ink); }
.secondary:hover { border-color: var(--ink); }
.quiet { font-size: 13px; color: var(--muted); text-underline-offset: 3px; }

.rows { list-style: none; margin: 32px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); overflow: hidden; }
.row { display: grid; grid-template-columns: 250px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 14px 24px; border-top: 1px solid var(--line); }
.row:first-child, .row.first { border-top: 0; }
.row .stands { margin: 0; white-space: nowrap; }
.row h2 { margin: 0 0 2px; font-size: 16px; letter-spacing: -0.01em; }
.row .says { margin: 0; font-size: 13px; }
.row .actions { margin: 0; }
.row .secondary { min-height: 36px; padding: 7px 12px; }

.none { margin: 40px 0; font-size: 15px; color: var(--muted); }
#clear { margin-left: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.foot { display: flex; gap: 20px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding: 0 28px 40px; font-size: 12px; color: var(--muted); }

@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .head { padding: 0 16px; height: 52px; gap: 7px; }
  .brand, .name { font-size: 17px; }
  .meta { display: none; }
  main { padding: 14px 16px 40px; }
  .find { gap: 10px; margin-bottom: 14px; }
  .box { flex-basis: 100%; max-width: none; }
  .count { display: none; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .art { padding: 14px 14px 0; }
  .body { padding: 18px 18px 20px; }
  .rows { margin-top: 16px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px 18px; }
  .foot { padding: 0 16px 32px; }
}
