/* One recipe for every product page on prap.app (Prap, Prap Redact, and the ones to come):
   a product bar, an opening (status, headline, one line, one action, a real picture), measured numbers,
   rows of "words beside a real picture", plain hairline lists, a table, questions, and one ink band for the ask.
   Hairlines instead of cards. Ink, paper and the red dot only; colours come from site.css (--s-*). */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--s-paper); color: var(--s-ink); font: 17px/1.55 var(--s-sans); }
.pp h1, .pp h2, .pp h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.pp p { margin: 0; }
.pp a { color: var(--s-ink); }
.pp :focus-visible { outline: 2px solid var(--s-dot); outline-offset: 2px; border-radius: 6px; }
.pp-in { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 560px) { .pp-in { padding-left: 16px; padding-right: 16px; } }
.pp-label { font: 500 11.5px var(--s-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--s-muted); display: inline-flex; align-items: center; gap: 7px; }
.pp-label.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--s-dot); }

/* One button: an ink pill. The quiet one is a hairline pill. */
.pp .btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border-radius: 999px; font: 500 16px var(--s-sans); border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pp .btn.primary { background: var(--s-ink); color: var(--s-on-ink); }
.pp .btn.primary:hover { opacity: .86; }
.pp .btn.quiet { border-color: var(--s-line); color: var(--s-ink); background: transparent; }
.pp .btn.quiet:hover { border-color: var(--s-muted); }
.pp .btn.sm { padding: 7px 16px; font-size: 15px; }
.pp a.more { font-size: 15.5px; font-weight: 500; text-decoration: none; }
.pp a.more::after { content: " \2192"; }
.pp a.more:hover { text-decoration: underline; }

/* The product bar: which app this is, the places on the page, and its one action. */
.pp-bar { border-bottom: 1px solid var(--s-line); }
.pp-bar .pp-in { display: flex; align-items: center; gap: 8px 22px; min-height: 54px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.pp-bar .who { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; margin-right: 6px; }
.pp-bar .who img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.pp-bar .who img.mark { background: var(--s-tile); padding: 5px; }
.pp-bar nav { display: flex; gap: 4px 20px; flex-wrap: wrap; font-size: 15px; }
.pp-bar .pp-in > .btn { margin-left: auto; }
.pp-bar nav a { color: var(--s-muted); text-decoration: none; }
.pp-bar nav a:hover { color: var(--s-ink); }
@media (max-width: 760px) { .pp-bar { display: none; } }

/* The opening. */
.pp-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); }
.pp-hero .pp-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.pp-hero .words { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; min-width: 0; }
.pp-hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.04em; }
.pp-hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--s-soft); max-width: 34em; }
.pp-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 6px; }
.pp-fine { font-size: 14.5px; color: var(--s-muted); }
ul.pp-fine { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
ul.pp-fine li { display: flex; align-items: center; gap: 8px; }
ul.pp-fine li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--s-ink); }
@media (max-width: 920px) { .pp-hero .pp-in { grid-template-columns: minmax(0, 1fr); } }

/* One picture frame, for stills and clips alike. */
.pp .frame { margin: 0; border: 1px solid var(--s-line); border-radius: 14px; overflow: hidden; background: var(--s-wash); min-width: 0; }
.pp .frame img, .pp .frame video { display: block; width: 100%; height: auto; }
.pp-row .frame img { max-height: 470px; object-fit: contain; }
.pp .frame.crop img { aspect-ratio: 5 / 2; object-fit: cover; object-position: top left; }
.pp .frame figcaption { padding: 10px 14px; font-size: 14px; color: var(--s-muted); border-top: 1px solid var(--s-line); background: var(--s-paper); }

/* Measured numbers. */
.pp-nums { border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); }
.pp-nums .pp-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pp-nums .pp-in > div { padding: 26px 22px 24px 0; }
.pp-nums .pp-in > div + div { padding-left: 24px; border-left: 1px solid var(--s-line); }
.pp-nums b { display: block; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; font-variant-numeric: tabular-nums; }
.pp-nums span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--s-muted); max-width: 22em; }
@media (max-width: 860px) {
  .pp-nums .pp-in { grid-template-columns: 1fr 1fr; }
  .pp-nums .pp-in > div { padding: 20px 14px 18px 0; }
  .pp-nums .pp-in > div + div { padding-left: 16px; }
  .pp-nums .pp-in > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .pp-nums .pp-in > div:nth-child(n+3) { border-top: 1px solid var(--s-line); }
}

/* A part of the page, and its heading. */
.pp-part { padding: clamp(52px, 7vw, 88px) 0; }
.pp-part + .pp-part { border-top: 1px solid var(--s-line); }
.pp-head { max-width: 760px; margin-bottom: clamp(26px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pp-head h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; }
.pp-head p { color: var(--s-soft); font-size: 18.5px; }

/* Words beside a real picture, one under the other. */
.pp-rows { display: grid; gap: clamp(44px, 6vw, 72px); }
.pp-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 52px); align-items: center; scroll-margin-top: 76px; }
.pp-row:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.pp-row:nth-child(even) .txt { order: 2; }
.pp-row .txt { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; min-width: 0; }
.pp-row h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; }
.pp-row p { color: var(--s-soft); }
.pp-row ul, .pp-ticks { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 16px; }
.pp-row li, .pp-ticks li { padding-left: 20px; position: relative; }
.pp-row li::before, .pp-ticks li::before { content: ""; position: absolute; left: 0; top: .66em; width: 10px; height: 2px; background: var(--s-ink); }
.pp-row .note { font-size: 14.5px; color: var(--s-muted); }
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-chips span { border: 1px solid var(--s-line); border-radius: 999px; padding: 4px 12px; font-size: 14.5px; }
@media (max-width: 900px) { .pp-row, .pp-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); } .pp-row:nth-child(even) .txt { order: 0; } }

/* Plain facts side by side: a hairline over each, no cards. */
.pp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 36px; }
.pp-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pp-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pp-grid > div { border-top: 1px solid var(--s-line); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pp-grid > div.us { border-top: 2px solid var(--s-ink); padding-top: 15px; }
.pp-grid h3 { font-size: 18px; letter-spacing: -.015em; }
.pp-grid p { color: var(--s-muted); font-size: 16px; }
.pp-grid .tag { font: 500 12px var(--s-mono); letter-spacing: .04em; color: var(--s-ink); margin-top: 4px; }
.pp-grid code, .pp-list code { font: 13.5px var(--s-mono); background: var(--s-wash); padding: 1px 5px; border-radius: 4px; }
@media (max-width: 900px) { .pp-grid, .pp-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pp-grid, .pp-grid.two, .pp-grid.four { grid-template-columns: minmax(0, 1fr); } }

/* Name and what it covers, row after row. */
.pp-list { border-top: 1px solid var(--s-line); }
.pp-list > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--s-line); }
.pp-list b { font-weight: 600; }
.pp-list span { color: var(--s-muted); font-size: 16px; }
@media (max-width: 600px) { .pp-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Everything in it, as a plain list in columns. */
.pp-wall { list-style: none; margin: 0; padding: 0; columns: 4 200px; column-gap: 36px; font-size: 16px; }
.pp-wall li { padding: 7px 0; border-bottom: 1px solid var(--s-line); break-inside: avoid; }

/* A table that compares. */
.pp-tablewrap { overflow-x: auto; }
.pp-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 640px; }
.pp-table th, .pp-table td { text-align: left; vertical-align: top; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--s-line); }
.pp-table thead th { font: 500 11.5px var(--s-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--s-muted); }
.pp-table tbody th { font-weight: 500; }
.pp-table td { color: var(--s-muted); }
.pp-table td.us, .pp-table th.us { color: var(--s-ink); font-weight: 600; }
.pp-table td.us.mark::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--s-dot); margin-right: 9px; vertical-align: 2px; }
.pp-small { font-size: 14px; color: var(--s-muted); margin-top: 16px; max-width: 78ch; }

/* Prices. */
.pp-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 36px; }
.pp-prices > div { border-top: 1px solid var(--s-line); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.pp-prices > div.main { border-top: 2px solid var(--s-ink); padding-top: 17px; }
.pp-prices h3 { font-size: 18px; }
.pp-prices .amt { font-size: 44px; line-height: 1.05; letter-spacing: -.04em; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 8px; }
.pp-prices .per { color: var(--s-muted); font-size: 15px; }
.pp-prices p { color: var(--s-muted); font-size: 15.5px; margin-top: 8px; }
@media (max-width: 760px) { .pp-prices { grid-template-columns: minmax(0, 1fr); } }

/* Questions. */
.pp-faq { max-width: 800px; }
.pp-faq details { border-top: 1px solid var(--s-line); }
.pp-faq details:last-child { border-bottom: 1px solid var(--s-line); }
.pp-faq summary { cursor: pointer; list-style: none; padding: 17px 40px 17px 0; font-weight: 600; font-size: 17.5px; position: relative; }
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 26px; font-weight: 400; color: var(--s-muted); }
.pp-faq details[open] summary::after { content: "\2212"; }
.pp-faq details p { color: var(--s-soft); padding: 0 40px 20px 0; }

/* The ink band: one per page, for the thing that matters most or the ask. Its colours are the page's, turned over. */
.pp-band { background: var(--s-ink); color: var(--s-on-ink); padding: clamp(56px, 8vw, 96px) 0;
  --b-muted: color-mix(in srgb, var(--s-on-ink) 66%, var(--s-ink)); --b-line: color-mix(in srgb, var(--s-on-ink) 20%, var(--s-ink)); }
.pp-band .pp-label, .pp-band .pp-head p, .pp-band .pp-small { color: var(--b-muted); }
.pp-band .pp-table th, .pp-band .pp-table td { border-color: var(--b-line); }
.pp-band .pp-table thead th, .pp-band .pp-table td { color: var(--b-muted); }
.pp-band .pp-table tbody th, .pp-band .pp-table td.us { color: var(--s-on-ink); }
.pp-band .btn.primary { background: var(--s-on-ink); color: var(--s-ink); }
.pp-band .btn.quiet { border-color: var(--b-line); color: var(--s-on-ink); }
.pp-band a { color: var(--s-on-ink); }
.pp-band .pp-grid > div { border-color: var(--b-line); }
.pp-band .pp-grid p { color: var(--b-muted); }
.pp-band .pp-head { margin-bottom: 30px; }
.pp-band.ask { text-align: center; }
.pp-band.ask .pp-in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pp-band.ask h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -.04em; max-width: 16em; }
.pp-band.ask p { color: var(--b-muted); font-size: 18.5px; max-width: 34em; }
.pp-band.ask .pp-acts { justify-content: center; }
.pp-band.ask small { color: var(--b-muted); font-size: 14px; }
.pp-band.ask img { width: 64px; height: 64px; border-radius: 15px; background: var(--s-tile); padding: 11px; }
@media (max-width: 760px) {
  .pp-band .pp-table { min-width: 0; }
  .pp-band .pp-table thead { display: none; }
  .pp-band .pp-table, .pp-band .pp-table tbody, .pp-band .pp-table tr, .pp-band .pp-table th, .pp-band .pp-table td { display: block; width: 100%; }
  .pp-band .pp-table tbody th { border: 0; padding: 18px 0 4px; }
  .pp-band .pp-table td { border: 0; padding: 3px 0; }
  .pp-band .pp-table td:not(.us)::before { content: attr(data-them) ": "; font-weight: 600; }
  .pp-band .pp-table tr { border-bottom: 1px solid var(--b-line); padding-bottom: 14px; }
}

/* A small page that says one thing (not found, opening the app). */
.pp-note { max-width: 520px; margin: 0 auto; padding: clamp(56px, 12vh, 120px) 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.pp-note img.mark { width: 64px; height: 64px; }
.pp-note h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -.035em; }
.pp-note p { color: var(--s-soft); }
.pp-note .pp-fine { color: var(--s-muted); }
.pp-note .mark-dark { display: none; }
@media (prefers-color-scheme: dark) { .pp-note .mark-light { display: none; } .pp-note .mark-dark { display: block; } }
.pp [hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.pp .pp-table td.us, .pp .pp-table th.us { background: none; }
.pp-table td.us.mark::before { margin-left: 0; }
.pp .pp-band p a:not(.btn) { color: var(--s-on-ink); text-decoration-color: var(--b-muted); }
.pp-table td.us.mark { position: relative; }
.pp-table td.us.mark::before { position: absolute; left: -15px; top: 50%; margin: -3px 0 0; }
@media (max-width: 760px) { .pp-band .pp-table td.us.mark { padding-left: 15px; } .pp-band .pp-table td.us.mark::before { left: 0; } }
