/* Proofline — the product page, on top of the shared sheet.
   Every class is prefixed pr- so nothing here can reach another page, and
   every colour comes from a token already declared in ../assets/styles.css,
   so the light, dark and high-contrast themes keep working without this file
   knowing they exist. No inline styles anywhere: the site's
   Content-Security-Policy is style-src 'self'. */

/* --- hero ------------------------------------------------------------ */

.pr-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}

.pr-herocopy h1 { margin-bottom: 1rem; }

.pr-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.pr-facts li {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: "Company31 Mono", "Spline Sans Mono", monospace;
}

.pr-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1.8rem; }

/* The mark: a ledger of obligations, three with evidence ticked in and one
   left open, outlined in the flag colour. */
.pr-mark { display: block; margin-inline: auto; max-width: 280px; width: 100%; }
.pr-ledger { width: 100%; height: auto; }
.pr-ledger-frame { fill: none; stroke: var(--text); stroke-width: 6; stroke-linejoin: round; }
.pr-ledger-rule { fill: none; stroke: var(--line); stroke-width: 2; }
.pr-ledger-row { fill: var(--fill); stroke: var(--line); stroke-width: 2; }
.pr-ledger-box { fill: var(--accent); stroke: none; }
.pr-ledger-tick { fill: none; stroke: var(--btn-text); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.pr-ledger-gap { fill: none; stroke: var(--flag); stroke-width: 3; stroke-dasharray: 7 6; }
.pr-ledger-open { fill: none; stroke: var(--flag); stroke-width: 3; }
.pr-ledger-text { fill: none; stroke: var(--line); stroke-width: 6; stroke-linecap: round; }

/* --- the loop ---------------------------------------------------------- */

.pr-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.25rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: pr-step;
}

.pr-steps li {
  counter-increment: pr-step;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  background: var(--ground);
}

.pr-steps li::before {
  content: "0" counter(pr-step);
  display: block;
  font-family: "Company31 Mono", "Spline Sans Mono", monospace;
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: .6rem;
}

.pr-steps h3 { font-size: 1.05rem; letter-spacing: -.005em; margin-bottom: .4rem; }
.pr-steps p { font-size: .95rem; line-height: 1.65; color: var(--muted); margin: 0; }

.pr-rule {
  margin: 1.4rem 0 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text);
}

/* --- what it does ----------------------------------------------------- */

.pr-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.6rem 2.2rem;
  margin-top: 1.4rem;
}

.pr-cols h3 { font-size: 1rem; letter-spacing: -.005em; margin-bottom: .4rem; }
.pr-cols p { font-size: .95rem; line-height: 1.65; color: var(--muted); margin: 0; }

.pr-list { margin: .6rem 0 0; padding-left: 1.1rem; }
.pr-list li { font-size: .95rem; line-height: 1.7; color: var(--muted); }

/* --- screenshots ------------------------------------------------------ */

/* Four scenes from the product, all the same 16:9 frame, two by two. */
.pr-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
  align-items: start;
}

.pr-shot {
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  background: var(--ground);
}

.pr-shot img { display: block; width: 100%; height: auto; }

.pr-shot figcaption {
  font-family: "Company31 Mono", "Spline Sans Mono", monospace;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .7rem .9rem;
  border-top: 1px solid var(--hairline);
}

/* --- records and data ------------------------------------------------- */

.pr-note {
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
  margin-top: 1.4rem;
  background: var(--ground);
}

.pr-note p { font-size: .96rem; line-height: 1.7; color: var(--muted); margin: 0 0 .8rem; }
.pr-note p:last-child { margin-bottom: 0; }
.pr-note strong { color: var(--text); font-weight: 600; }

/* --- get info --------------------------------------------------------- */

.pr-ask {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.6rem;
  margin-top: 1.6rem;
  background: var(--ground);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.pr-ask p { font-size: .98rem; line-height: 1.65; color: var(--muted); margin: 0; max-width: 46ch; }
.pr-ask .pr-req { display: block; color: var(--accent); font-size: .68rem; line-height: 1.6; margin-top: .5rem; }

.pr-contact { margin: 1.2rem 0 0; }

.pr-contact dt {
  font-family: "Company31 Mono", "Spline Sans Mono", monospace;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1rem;
}

.pr-contact dd { margin: .25rem 0 0; font-size: .96rem; line-height: 1.6; color: var(--muted); }

/* --- narrow screens --------------------------------------------------- */

@media (max-width: 860px) {
  .pr-hero .wrap { grid-template-columns: 1fr; }
  .pr-mark { max-width: 180px; }
  .pr-shots { grid-template-columns: 1fr; }
}
