/* p2tp.org manifest (Claude Design canvas "Dok sites", board "p2tp.org · manifest").
   Built by scripts/build.py. Scoped under .pp: the page renders inside the Dok
   layout (Tailwind preflight). */

:root {
  --pp-paper: #F3EFE4;
  --pp-sand: #E7E0CD;
  --pp-line: #C9C2AF;
  --pp-ink: #14201A;
  --pp-mute: #5A6158;
  --pp-green: #2E6B45;
  --pp-yellow: #E3C84B;
  --pp-serif: Newsreader, Georgia, serif;
  --pp-sans: "Bricolage Grotesque", system-ui, sans-serif;
}

html:has(.pp), body:has(.pp) { background: var(--pp-paper); color-scheme: light; margin: 0; }

.pp { background: var(--pp-paper); color: var(--pp-ink); font: 20px/1.65 var(--pp-serif); }
.pp *, .pp *::before, .pp *::after { box-sizing: border-box; }
.pp h1, .pp h2, .pp p { margin: 0; }
.pp h1, .pp h2 { font-family: var(--pp-sans); color: inherit; text-wrap: balance; }
.pp a { color: inherit; text-underline-offset: 4px; }
.pp a:hover { color: var(--pp-green); }
.pp a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.pp-wide { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.pp-narrow { max-width: 760px; margin: 0 auto; padding-inline: 24px; }

/* Hero */
.pp-hero { background: var(--pp-ink); color: var(--pp-paper); }
.pp-hero a:hover { color: var(--pp-yellow); }
.pp-hero .pp-wide { display: flex; flex-direction: column; gap: 72px; padding-block: 28px 104px; }
.pp-header { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-family: var(--pp-sans); }
.pp-brand { display: flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; text-decoration: none; }
.pp-header a.pp-lang { padding: 12px 0; font-size: 16px; }
.pp-hero-text { display: flex; flex-direction: column; gap: 28px; }
.pp h1 { font-weight: 800; font-size: clamp(60px, 11vw, 148px); line-height: .9; letter-spacing: -0.04em; }
.pp h1 span { color: var(--pp-yellow); }
.pp-lead { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.45; max-width: 30em; }

/* Theses */
.pp-theses { display: flex; flex-direction: column; gap: 64px; padding-block: 96px 40px; }
.pp-thesis { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px 20px; }
.pp-thesis > b { font: 800 44px/1 var(--pp-sans); color: var(--pp-green); }
.pp-thesis > div { display: flex; flex-direction: column; gap: 14px; }
.pp-thesis h2 { font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.1; letter-spacing: -0.02em; }
.pp-thesis p { font-size: 21px; }

/* Now / next */
.pp-contrast-wrap { padding-block: 56px 96px; }
.pp-contrast { border: 2px solid var(--pp-ink); border-radius: 6px; overflow: hidden; }
.pp-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--pp-line); font-size: 19px; line-height: 1.5; }
.pp-row > span { padding: 18px 20px; }
.pp-row > span + span { border-left: 1px solid var(--pp-line); }
.pp-row > span:first-child { color: var(--pp-mute); }
.pp-row.is-head { border-top: 0; background: var(--pp-ink); color: var(--pp-paper); font: 700 17px var(--pp-sans); }
.pp-row.is-head > span { color: var(--pp-paper); border-left: 0; }
.pp-row.is-head > span + span { color: var(--pp-yellow); }

/* Close */
.pp-close { background: var(--pp-sand); }
.pp-close .pp-narrow { display: flex; flex-direction: column; gap: 22px; padding-block: 88px; }
.pp-close h2 { font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
.pp-sign { font: 16px var(--pp-sans); color: var(--pp-mute); }

/* Footer */
.pp-footer { display: flex; flex-direction: column; gap: 8px; padding-block: 28px 44px; font: 15px var(--pp-sans); color: var(--pp-mute); }

@media (max-width: 640px) {
  .pp-hero .pp-wide { gap: 48px; padding-block: 20px 72px; }
  .pp-thesis { grid-template-columns: 44px minmax(0, 1fr); }
  .pp-thesis > b { font-size: 32px; }
  .pp-theses { gap: 48px; padding-block: 64px 24px; }
  .pp-row { font-size: 17px; }
  .pp-row > span { padding: 14px; }
}

/* Wat er al draait / Doe mee: same rhythm as the theses, with a section title. */
.pp-section-title { font: 800 clamp(30px, 4vw, 44px)/1.05 var(--pp-sans); letter-spacing: -0.02em; }
.pp-proof, .pp-join { padding-block: 64px 24px; gap: 48px; }
.pp-proof .pp-thesis > b, .pp-join .pp-thesis > b { font-size: 36px; }
