/* The signed-out home page (home.html): the same plain classifieds look. Sections use the full
   column width (icons across, cards side by side, two FAQ columns) and stack on a phone. */
.home { max-width: 1040px; margin: 0 auto; padding: 0 20px 32px; }
.home main { max-width: none; margin: 0; padding: 0; }
.home-top { display: flex; align-items: center; justify-content: space-between; height: 48px; border-bottom: 1px solid var(--line); }
.home-hero { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 32px; align-items: start; padding: 28px 0 24px; }
.home h1 { margin: 0 0 12px; font: 700 30px/1.15 var(--sans); letter-spacing: -0.01em; }
.home h2 { margin: 0 0 10px; font: 700 18px/1.25 var(--sans); }
.home-open { margin: 0; font-size: 16px; line-height: 1.5; }
.home-form { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); background: var(--surface); }
.home-form h2 { margin: 0 0 8px; font-size: 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-row { display: flex; flex-wrap: wrap; gap: 8px; }
.home-row .field { flex: 1 1 12rem; margin: 0; }
.home-row .primary { flex: none; }
.home-form .field-error { margin: 8px 0 0; }
.home-fine { margin: 10px 0 0; font-size: 12px; }
.home-demo { margin: 0; }
.home-demo video { display: block; width: 100%; height: auto; aspect-ratio: 960 / 672; border: 1px solid var(--line); background: var(--paper-2); }
.home-demo figcaption { margin-top: 6px; }
.home-sec { padding: 22px 0; border-top: 1px solid var(--line); }
.home-sec p { margin: 0; font-size: 15px; line-height: 1.55; }

/* What you get: four blocks across, each with its own drawn icon. */
.home-get { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.45; }
.home-get li { display: flex; flex-direction: column; gap: 10px; }
.home-ico { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); background: var(--paper-2); color: var(--link); }
.home-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }

/* At a bookstore and Find new books: two cards, each with a drawn example. */
.home-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.home-card { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); background: var(--surface); }
.home-card h2 { margin: 0; }
.home-card p { margin: 0; font-size: 15px; line-height: 1.55; }
.home-card .muted { font-size: 12px; }
.home-clip { display: block; width: 100%; height: auto; aspect-ratio: 960 / 672; border: 1px solid var(--line); background: var(--paper-2); }
.home-why { color: var(--link); font-weight: 600; }
.home-out { color: var(--out); font-weight: 700; white-space: nowrap; }
.home-pair { display: flex; gap: 20px; }
.home-pair figure { width: 92px; margin: 0; }
.home-cv { position: relative; aspect-ratio: 2 / 3; outline: 2px solid transparent; outline-offset: 2px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 14%); }
.home-cv.ot { outline: 2px dashed var(--out); }
.home-cv i { position: absolute; left: 12%; right: 12%; top: 34%; height: 5px; background: rgb(255 255 255 / 72%); }
.home-cv i + i { top: 44%; right: 34%; }
.home-bar { display: block; height: 7px; margin-top: 7px; background: var(--line); }
.home-bar.s { width: 60%; margin-top: 5px; }
.home-re { display: block; margin-top: 6px; color: var(--link); font-size: 11.5px; line-height: 1.3; }
.home-re.ot { color: var(--out); font-weight: 700; }

.home-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin: 0; }
.home-faq dt { font-weight: 700; font-size: 15px; }
.home-faq dd { margin: 2px 0 0; font-size: 15px; line-height: 1.5; }
.home-foot { padding-top: 14px; border-top: 1px solid var(--line); text-align: center; }
.home-foot .sep { margin: 0 6px; color: var(--line-2); }

@media (max-width: 900px) {
  .home-get { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .home { padding: 0 16px 24px; }
  .home-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
  .home h1 { font-size: 26px; }
  .home-cards, .home-faq { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .home-get { grid-template-columns: 1fr; gap: 14px; }
  .home-get li { flex-direction: row; align-items: flex-start; }
  .home-ico { flex: none; }
}
