/*
 * The landing pages, layered on top of legal.css.
 *
 * They share the documents' frame on purpose — same measure, same typography,
 * same brand line — because these are read the same way: one column, top to
 * bottom, by somebody who arrived from a search result and has not decided
 * anything yet. What is added here is only what a document does not need: a
 * way through to the editor, and a list of questions.
 */

.story-cta-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.4rem 0 0;
  flex-wrap: wrap;
}

/* Repeated at the top and the bottom: a reader who is already convinced
   should not have to scroll past the whole page to act on it. */
.story-button {
  display: inline-block;
  padding: 0.62rem 1.15rem;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: opacity 0.15s ease;
}

.story-button:hover { opacity: 0.86; }

.story-button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.story-price {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ------------------------------------------------------------------- faq */

.story-faq dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.story-faq dt {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.story-faq dd {
  margin: 0;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------- the close */

.story-cta {
  margin-top: 2.2rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}

.story-cta h2 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
}

.story-cta p { margin: 0 0 0.85rem; color: var(--ink-soft); }
.story-cta p:last-child { margin-bottom: 0; }

.story-more nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
}

/* ------------------------------------------------------------ mockups */

/*
 * The poster on a wall. Drawn in CSS rather than photographed: a painted wall
 * with light falling from the top left, a thin frame, a white mat, and the
 * real export inside it. Three walls, so three posters do not look like one
 * picture repeated.
 */
.mockups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 2rem 0 0.5rem;
}

.room { margin: 0; }

.room-wall {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, 0.28), transparent 60%),
    var(--wall);
}
.room--0 { --wall: #2f4a3f; --floor: #5b4636; }          /* deep green, oak  */
.room--1 { --wall: #e9e1d6; --floor: #b89a7c; }          /* warm plaster     */
.room--2 { --wall: #7b3b3b; --floor: #4a362c; }          /* burgundy         */

.room-frame {
  /* Most of the wall is poster: in a column this narrow, a frame lost in a
     large room reads as a thumbnail. */
  width: 74%;
  padding: 3%;
  background: #17130f;                                   /* black frame */
  box-shadow:
    0 2px 3px rgba(0, 0, 0, 0.25),
    0 18px 30px -10px rgba(0, 0, 0, 0.45);
}
.room--1 .room-frame { background: #b5895e; }            /* oak frame on the pale wall */

.room-mat {
  background: #fbfaf7;
  padding: 8%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), inset 0 2px 6px rgba(0, 0, 0, 0.12);
}
.room-mat .mock { display: block; width: 100%; height: auto; }

.room figcaption {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 640px) {
  .mockups { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
}
