/* Shared styles for PasadoDocs-web subpages (inventor, hashes, who/*).
   Palette lifted from the app itself (app.css :root) so the site and the product are one world.
   The landing page (index.html) keeps its own inline copy of these tokens; this file exists so the
   secondary pages don't each duplicate the whole stylesheet. */
:root {
  --bg: #f4efe6;
  --panel: #fffdf8;
  --panel-border: rgba(77, 53, 35, 0.16);
  --ink: #2e241d;
  --muted: #6e6258;
  --accent: #8e4b2b;
  --accent-soft: rgba(142, 75, 43, 0.1);
  --shadow: 0 18px 48px rgba(77, 53, 35, 0.14);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 640px at 50% -10%, #fbf8f1 0%, rgba(251, 248, 241, 0) 60%),
    var(--bg);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}
.wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Masthead --- */
header.site {
  padding: 28px 0 8px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}
.brand .mark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand .tag {
  font-size: 0.82rem;
  color: var(--muted);
}

/* --- Back link --- */
.backlink {
  display: inline-block;
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}
.backlink:hover {
  text-decoration: underline;
}

/* --- Page body --- */
main.page {
  padding: 8px 0 8px;
}
.page .eyebrow {
  margin: 24px 0 8px;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.page h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.page .lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 8px;
  text-wrap: pretty;
}

/* Prose card — the long-form serif reading surface (inventor, hashes). */
.prose {
  margin: 24px auto 8px;
  padding: 30px 30px 32px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.prose p,
.prose li {
  font-family: var(--serif);
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 16px;
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose a {
  color: var(--accent);
}

/* Reasons list — the 10-reasons audience pages. */
.reasons {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: reason;
}
.reasons li {
  position: relative;
  margin: 0 0 14px;
  padding: 18px 20px 18px 58px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
}
.reasons li::before {
  counter-increment: reason;
  content: counter(reason);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
}
.reasons li h3 {
  font-family: var(--serif);
  font-size: 1.04rem;
  font-weight: 600;
  margin: 0 0 4px;
}
.reasons li p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

/* Call-to-action row back to the beta. */
.cta {
  margin: 28px 0 8px;
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  text-align: center;
}
.cta a.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 13px 26px;
  font-weight: 600;
  color: #fffdf8;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.cta a.btn:hover {
  filter: brightness(1.05);
}

footer.site {
  margin-top: auto;
  padding: 40px 0 32px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
footer.site a {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 640px) {
  .reasons li {
    padding-left: 20px;
    padding-top: 48px;
  }
  .reasons li::before {
    top: 14px;
  }
}
