/* ==========================================================================
   Niche landing pages (generated by tools/site-pages/build.mjs). Same quiet
   language as the home page: two-tone headline, rounded real screenshots,
   hairlines and ring marks, generous space.
   ========================================================================== */

.niche {
  display: grid;
  gap: clamp(4rem, 8vw, 7rem);
  max-width: 80rem;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) var(--margin) var(--space-section);
  background: var(--paper);
}

.niche__crumbs {
  color: var(--muted);
  font-size: 0.75rem;
}

.niche__crumbs a {
  text-decoration: none;
}

.niche__hero {
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
  margin-top: -2rem;
}

.niche__lead {
  color: var(--muted);
  font-size: var(--text-lead);
}

.niche__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.niche__demo {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration-color: var(--hairline);
  text-underline-offset: 0.3em;
}

.niche__demo[aria-disabled='true'] {
  color: var(--muted);
}

/* One large screenshot, two smaller beside it. */
.niche__shots {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin: 0;
}

.niche__shot {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 0.75rem;
  background: var(--well);
}

.niche__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.niche__shot--main {
  grid-row: span 2;
}

.niche__shots figcaption {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.75rem;
}

.niche__facts dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 1rem 0 0;
  border-top: 1px solid var(--ink);
}

.niche__facts dl > div {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1rem 0 0;
}

.niche__facts dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.niche__facts dd {
  margin: 0;
  font-weight: 500;
}

.niche__points ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 2rem 3rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.niche__points li {
  display: grid;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hairline);
}

/* The same small open ring as the room's wall labels and the plan lists. */
.niche__points h3 {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: var(--text-title);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.niche__points h3::before {
  content: '';
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.6;
}

.niche__points p {
  color: var(--muted);
}

.niche__faq .faq {
  margin-top: 1.5rem;
}

.niche__more ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.niche__more a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 0.8125rem;
  text-decoration: none;
}

.niche__more a:hover {
  border-color: var(--ink);
}

.niche__cta {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--hairline);
}

.niche__fine {
  color: var(--muted);
  font-size: 0.75rem;
}

@media (max-width: 860px) {
  .niche__shots {
    grid-template-columns: 1fr 1fr;
  }

  .niche__shot--main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .niche__facts dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1rem;
  }
}

/* The page's main question, answered in one self-contained paragraph. */
.niche__answer {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}

.niche__question {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.niche__answer p {
  color: var(--muted);
  font-size: var(--text-lead);
  line-height: 1.6;
}

/* ---------- Guide: question sections and the checklist table ---------- */
.guide__section {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
}

.guide__section > p {
  color: var(--muted);
  font-size: var(--text-lead);
  line-height: 1.65;
}

.guide__table {
  max-width: none;
  margin-inline: 0;
}

.guide__table td {
  width: auto;
  color: var(--muted);
}
