/* PryvPay public site. Self-hosted fonts (SIL OFL): Bricolage Grotesque (display), Hanken Grotesk (text). */
@font-face { font-family: "Bricolage"; src: url("/static/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Hanken"; src: url("/static/fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #fbfbfc;
  --panel: #f2f4f7;
  --panel-2: #e9ecf2;
  --ink: #0e1015;
  --ink-2: #2a2f3a;
  --muted: #5d6470;
  --line: #e3e6ec;
  --brand: #2f5bff;
  --brand-ink: #1f3fd6;
  --brand-soft: #e6ecff;
  --sun: #ffd84d;
  --ok: #10a36b;
  --r: 28px;
  --display: "Bricolage", "Hanken", system-ui, sans-serif;
  --text: "Hanken", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.pp { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
.pp img { max-width: 100%; height: auto; display: block; }
.pp a { color: inherit; }
.pp h1, .pp h2, .pp h3 { font-family: var(--display); font-weight: 520; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 0.45em; }
.pp h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.pp h3 { font-size: 1.45rem; font-weight: 560; letter-spacing: -0.02em; line-height: 1.2; }
.pp p { margin: 0 0 1em; }
.coin { width: 1em; height: 1em; display: inline-block; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; padding: 10px 14px; background: var(--ink); color: #fff; z-index: 10; }
.pp :focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* Bar + nav */
.pp-beta { margin: 0; padding: 9px 20px; background: var(--brand-soft); color: var(--brand-ink); font-size: 0.88rem; text-align: center; }
.pp-nav { max-width: var(--wrap); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; gap: 36px; }
.pp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 650 1.25rem/1 var(--display); letter-spacing: -0.02em; }
.pp-links { display: flex; gap: 28px; font-size: 0.97rem; }
.pp-links a, .pp-signin { text-decoration: none; color: var(--ink-2); }
.pp-links a:hover, .pp-signin:hover { color: var(--brand); }
.pp-nav-right { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 0.97rem; }

/* Buttons */
.pp-btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 24px; border: 0; border-radius: 14px; background: var(--brand); color: #fff !important; font: 600 1rem/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background 0.15s, transform 0.15s; }
.pp-btn:hover { background: var(--brand-ink); transform: translateY(-1px); }
.pp-btn.sm { padding: 12px 18px; font-size: 0.93rem; border-radius: 12px; }
.pp-btn.light { background: #fff; color: var(--ink) !important; }
.pp-btn.light:hover { background: var(--sun); }
.pp-link { font-weight: 600; text-underline-offset: 4px; }
.pp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }

/* Hero */
.pp-hero { max-width: var(--wrap); margin: 0 auto; padding: 40px 24px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pp-kicker { display: inline-flex; align-items: center; gap: 0; padding: 6px 14px 6px 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--ink-2); }
.pp-kicker .coin { width: 24px; height: 24px; }
.pp-kicker .coin + .coin { margin-left: -6px; }
.pp-kicker span { margin-left: 10px; }
.pp h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -0.045em; line-height: 1; margin: 22px 0 24px; }
.pp-lead { font-size: 1.2rem; color: var(--ink-2); max-width: 32em; }
.pp-hero-form { margin-top: 28px; max-width: 520px; }
.pp-inline { display: flex; gap: 8px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 24px rgba(14, 16, 21, 0.06); }
.pp-inline input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; font: inherit; color: var(--ink); }
.pp-inline input:focus { outline: none; }
.pp-inline:focus-within { border-color: var(--brand); }
.pp-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 0.88rem; color: var(--muted); }
.pp-consent input { margin-top: 4px; accent-color: var(--brand); }
.pp .pp-err { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: #fff1f0; color: #b42318; font-size: 0.92rem; }
.pp .pp-note { margin-top: 22px; font-size: 0.9rem; color: var(--muted); }
.pp-hp { position: absolute; left: -9999px; }

/* Animated phone */
.pp-hero-art { min-width: 0; }
.pp-stage { position: relative; height: 620px; border-radius: 36px; background: linear-gradient(160deg, #e9eeff 0%, #f4f6fb 60%); overflow: hidden; display: flex; justify-content: center; padding-top: 56px; }
.pp-float { position: absolute; z-index: 2; font-size: 64px; filter: drop-shadow(0 14px 18px rgba(31, 63, 214, 0.22)); animation: pp-bob 6s ease-in-out infinite; }
.pp-float.f1 { left: 9%; top: 18%; }
.pp-float.f2 { right: 8%; top: 40%; font-size: 56px; animation-delay: -2s; }
.pp-float.f3 { left: 13%; bottom: 14%; font-size: 48px; animation-delay: -4s; }
@keyframes pp-bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(6deg); } }
.pp-phone { position: relative; width: 300px; height: 640px; padding: 10px; border-radius: 48px; background: var(--ink); box-shadow: 0 40px 80px rgba(14, 16, 21, 0.22); flex: none; }
.ph-screen { position: relative; height: 100%; border-radius: 39px; background: #f6f7f9; overflow: hidden; padding: 14px 16px; font-size: 13px; line-height: 1.3; }
.ph-status { display: flex; align-items: center; justify-content: space-between; padding: 2px 8px 0; font-size: 13px; }
.ph-island { width: 84px; height: 24px; border-radius: 14px; background: var(--ink); }
.ph-bars { display: flex; gap: 2px; align-items: flex-end; }
.ph-bars i { width: 3px; background: var(--ink); border-radius: 1px; }
.ph-bars i:nth-child(1) { height: 6px; } .ph-bars i:nth-child(2) { height: 9px; } .ph-bars i:nth-child(3) { height: 12px; }
.ph-hello { display: flex; align-items: center; gap: 10px; margin: 18px 2px 14px; }
.ph-hello small { display: block; color: var(--muted); font-size: 11px; }
.ph-hello b { font-size: 15px; }
.ph-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 700; }
.ph-qr { margin-left: auto; width: 30px; height: 30px; border-radius: 10px; background: #fff; border: 1px solid var(--line); background-image: linear-gradient(var(--ink) 0 0), linear-gradient(var(--ink) 0 0), linear-gradient(var(--ink) 0 0); background-size: 7px 7px; background-repeat: no-repeat; background-position: 7px 7px, 16px 7px, 7px 16px; }
.ph-card { border-radius: 24px; background: var(--brand); color: #fff; padding: 16px 16px 14px; position: relative; overflow: hidden; }
.ph-card::after { content: ""; position: absolute; right: -40px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.ph-card small { opacity: 0.8; font-size: 11.5px; }
.ph-card > b { display: block; font: 600 34px/1.1 var(--display); letter-spacing: -0.03em; margin: 4px 0 12px; font-variant-numeric: tabular-nums; }
.ph-slide { overflow: hidden; margin: 0 -16px; padding: 0 16px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ph-track { display: flex; gap: 8px; width: max-content; animation: pp-slide 9s linear infinite; }
.ph-track span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); font-size: 12px; white-space: nowrap; }
.ph-track .coin { font-size: 20px; }
@keyframes pp-slide { to { transform: translateX(calc(-50% - 4px)); } }
.ph-actions { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin: 16px 0 10px; font-size: 11.5px; font-weight: 600; }
.ph-actions i { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 6px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font: 600 18px/1 var(--text); font-style: normal; color: var(--brand); }
.ph-actions .a-send { background: var(--ink); color: #fff; border-color: var(--ink); }
.a-send::before { content: "↗"; } .a-recv::before { content: "↙"; } .a-add::before { content: "+"; }
.ph-label { margin: 6px 2px 8px !important; font-weight: 700; font-size: 13.5px; }
.ph-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ph-list li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px 12px; }
.ph-list li span:nth-child(2) { flex: 1; min-width: 0; }
.ph-list b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-list small { color: var(--muted); font-size: 11px; }
.ph-list em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.ph-list em.in { color: var(--ok); }
.ph-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none; background: var(--brand-soft); color: var(--brand-ink); }
.ph-ic.r { background: #e2f6ee; color: var(--ok); }
.ph-ic.l { background: #fff4cc; color: #8a6a00; }
.ph-list li.ph-in { animation: ph-in 0.5s ease-out; }
@keyframes ph-in { from { opacity: 0; transform: translateY(-12px) scale(0.98); } }
.ph-toast { position: absolute; left: 12px; right: 12px; top: 44px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(14, 16, 21, 0.16); transform: translateY(-160%); transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
.ph-toast.is-on { transform: translateY(0); }
.ph-toast b { display: block; font-size: 13px; }
.ph-toast small { color: var(--muted); font-size: 11.5px; }

/* Sections */
.pp-section { max-width: var(--wrap); margin: 0 auto; padding: 110px 24px 0; }
.pp-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: end; margin-bottom: 40px; }
.pp-head h2 { margin: 0; }
.pp-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.pp-tile { background: var(--panel); border-radius: var(--r); padding: 32px; overflow: hidden; }
.pp-tile p { color: var(--ink-2); margin: 0; }
.pp-tile img { margin: -8px auto 18px; max-height: 230px; width: auto; }

/* Bento */
.pp-bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pp-tile.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: 40px 48px; }
.pp-tile.wide img { margin: 0 auto; max-height: 280px; }
.pp-tile.wide h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.pp-tile.wide.alt { grid-template-columns: 1.1fr 1fr; background: var(--brand-soft); }

/* Money in / out */
.pp-io { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.pp-io-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; margin-bottom: 22px; font: 600 24px/1 var(--text); color: var(--brand); }
.pp-io-ic.in::before { content: "↙"; } .pp-io-ic.out::before { content: "↗"; } .pp-io-ic.biz::before { content: "⚡"; }
.pp-tile.dark { background: var(--ink); color: #fff; }
.pp-tile.dark .pp-checks li { color: #c9ced8; border-color: #262a33; }
.pp-tile.dark .pp-io-ic { background: #1d212a; color: var(--sun); }
.pp-checks { list-style: none; margin: 8px 0 0; padding: 0; }
.pp-checks li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); color: var(--ink-2); }
.pp-checks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); box-shadow: inset 0 0 0 4px var(--brand-soft); }
.pp-tile.dark .pp-checks li::before { background: var(--sun); box-shadow: inset 0 0 0 4px #1d212a; }
.pp-marquee-label { text-align: center; color: var(--muted); font-weight: 600; margin-bottom: 18px !important; }
.pp-marquee { display: flex; overflow: hidden; gap: 12px; margin: 0 auto 12px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pp-marquee ul { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; flex: none; animation: pp-marq 38s linear infinite; }
.pp-marquee.reverse ul { animation-direction: reverse; animation-duration: 46s; }
.pp-marquee:hover ul { animation-play-state: paused; }
.pp-marquee li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; white-space: nowrap; }
@keyframes pp-marq { to { transform: translateX(calc(-100% - 12px)); } }
.pp-mono { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 0.95rem/1 var(--display); background: var(--brand-soft); color: var(--brand-ink); }
.pp-mono[data-h="1"] { background: #fff4cc; color: #8a6a00; }
.pp-mono[data-h="2"] { background: #e2f6ee; color: #0b7a50; }
.pp-mono[data-h="3"] { background: #ffe8e0; color: #b23c17; }
.pp-mono[data-h="4"] { background: #efe6ff; color: #5b2fc9; }
.pp-mono[data-h="5"] { background: var(--ink); color: #fff; }
.pp .pp-fine { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }
.pp-fine.center { text-align: center; }

/* Network + globe */
.pp-network { background: var(--panel); border-radius: 36px; padding: 64px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.pp-network-copy > p { color: var(--ink-2); font-size: 1.1rem; }
.pp-globe { margin: 0; }
.pp-globe canvas { display: block; width: 100%; aspect-ratio: 1; touch-action: pan-y; cursor: grab; }
.pp-globe canvas:active { cursor: grabbing; }
.pp-globe figcaption { margin-top: 4px; text-align: center; font-size: 0.8rem; color: var(--muted); }
.pp-live { margin-top: 30px; background: #fff; border-radius: 22px; padding: 22px 24px; }
.pp-live-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.pp-live-head > p, .pp-live-title { margin: 0 !important; font-weight: 700; }
.pp-live-head small { color: var(--muted); font-weight: 400; }
.pp-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); margin-right: 10px; vertical-align: 1px; box-shadow: 0 0 0 4px #d8f3e7; }
.pp-live-soon .pp-dot { background: var(--sun); box-shadow: 0 0 0 4px #fff4cc; }
.pp-live dl { display: flex; gap: 26px; margin: 0; }
.pp-live dt { font-size: 0.75rem; color: var(--muted); }
.pp-live dd { margin: 0; font: 600 1.4rem/1.2 var(--display); font-variant-numeric: tabular-nums; }
.pp-live-list { list-style: none; margin: 14px 0 0; padding: 0; font-size: 0.92rem; }
.pp-live-list li { display: grid; grid-template-columns: 60px 1fr 1fr auto; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.pp-live-list .lv-token { font-weight: 700; color: var(--ink); }
.pp-live-list .lv-time { color: var(--muted); text-align: right; }
.pp-live-list .lv-empty { display: block; color: var(--muted); }
.pp-live-list .is-new { animation: pp-new 2.4s ease-out; }
@keyframes pp-new { from { background: var(--brand-soft); } to { background: transparent; } }
.pp-live-soon p { color: var(--ink-2); margin: 8px 0 0; }

/* Problems */
.pp-table { background: var(--panel); border-radius: var(--r); padding: 8px 40px; }
.pp-tr { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; padding: 28px 0; border-top: 1px solid var(--line); }
.pp-tr:first-child { border-top: 0; }
.pp-problem { margin: 0 !important; font: 520 1.3rem/1.3 var(--display); color: var(--muted); text-decoration: line-through; text-decoration-color: var(--brand); text-decoration-thickness: 2px; }
.pp-tr h3 { margin-bottom: 0.3em; }
.pp-tr div p { margin: 0; color: var(--ink-2); max-width: 34em; }

/* Business */
.pp-biz { max-width: calc(var(--wrap) - 48px); margin: 110px auto 0; padding: 64px; background: var(--ink); color: #fff; border-radius: 36px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.pp-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #1d212a; color: var(--sun); font-size: 0.85rem; font-weight: 600; }
.pp-biz-copy > p { color: #c9ced8; font-size: 1.08rem; }
.pp-biz .pp-checks li { color: #c9ced8; border-color: #262a33; }
.pp-biz .pp-checks b { color: #fff; }
.pp-biz .pp-checks li::before { background: var(--sun); box-shadow: inset 0 0 0 4px var(--ink); }
.pp-biz .pp-link { color: #fff; }
.pp-plans { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.pp-plans caption { text-align: left; font-weight: 600; color: #9aa0aa; padding-bottom: 4px; }
.pp-plans th, .pp-plans td { text-align: left; padding: 22px 0; background: #171a21; vertical-align: middle; }
.pp-plans th { padding-left: 24px; border-radius: 18px 0 0 18px; font: 560 1.25rem/1 var(--display); width: 30%; }
.pp-plans td { color: #c9ced8; font-size: 0.95rem; padding-right: 12px; }
.pp-plans .pp-price { text-align: right; padding-right: 24px; border-radius: 0 18px 18px 0; font: 600 1.6rem/1 var(--display); color: #fff; white-space: nowrap; }
.pp-price small { font-size: 0.9rem; color: #9aa0aa; font-weight: 500; margin-left: 2px; }

/* Waitlist */
.pp-join { max-width: calc(var(--wrap) - 48px); margin: 110px auto 0; padding: 64px; background: var(--brand); color: #fff; border-radius: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.pp-join h2 { font-size: clamp(2.6rem, 5vw, 4rem); color: #fff; }
.pp-join-copy p { font-size: 1.1rem; max-width: 28em; color: #dfe6ff; }
.pp-join-coins { font-size: 64px; display: flex; margin-top: 28px !important; }
.pp-join-coins .coin + .coin { margin-left: -14px; }
.pp-join-form { display: grid; gap: 16px; }
.pp-join-form > label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; }
.pp-join-form i { font-style: normal; font-weight: 400; opacity: 0.75; }
.pp-join-form input:not([type="checkbox"]):not([type="radio"]) { width: 100%; padding: 14px; border: 0; border-radius: 14px; background: #fff; font: inherit; font-weight: 400; color: var(--ink); }
.pp-join-form input:focus { outline: 3px solid var(--sun); outline-offset: 0; }
.pp-join .pp-consent { color: #dfe6ff; font-weight: 400; display: flex; }
.pp-join .pp-consent a { color: #fff; }
.pp-seg { border: 0; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.pp-seg legend { font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.pp-seg label { cursor: pointer; }
.pp-seg input { position: absolute; opacity: 0; }
.pp-seg span { display: inline-block; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 12px; font-size: 0.95rem; }
.pp-seg input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.pp-seg input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }

/* FAQ */
.pp-faq { max-width: var(--wrap); margin: 0 auto; padding: 110px 24px 100px; display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.pp-faq details { background: var(--panel); border-radius: 20px; margin-bottom: 10px; padding: 0 24px; }
.pp-faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 560 1.12rem/1.35 var(--display); letter-spacing: -0.01em; }
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after { content: "+"; position: absolute; right: 0; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 500 1.2rem/1 var(--text); color: var(--brand); }
.pp-faq details[open] summary::after { content: "−"; }
.pp-faq details p { color: var(--ink-2); max-width: 40em; padding-bottom: 20px; margin: 0; }

/* Footer */
.pp-foot { background: var(--panel); color: var(--ink-2); padding: 64px 24px 40px; }
.pp-foot-cols { max-width: var(--wrap); margin: 0 auto 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.pp-foot-brand p { margin-top: 14px; max-width: 22em; font-size: 0.92rem; color: var(--muted); }
.pp-foot h4 { margin: 0 0 14px; font: 700 0.92rem/1 var(--text); }
.pp-foot nav a { display: block; padding: 4px 0; font-size: 0.92rem; text-decoration: none; color: var(--muted); }
.pp-foot nav a:hover { color: var(--brand); }
.pp-legal { max-width: var(--wrap); margin: 0 auto 10px; font-size: 0.78rem; color: var(--muted); }

/* Waitlist thank-you + legal pages */
.pp-thanks { max-width: 640px; margin: 60px auto; padding: 0 24px; }
.pp-thanks-card { padding: 56px 40px; background: var(--panel); border-radius: var(--r); text-align: center; }
.pp-thanks-mark { margin: 0 auto 22px; }
.pp-thanks-card h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 14px; }
.pp-thanks-card p { color: var(--ink-2); }
.pp .pp-small { font-size: 0.9rem; color: var(--muted); }
.pp-doc { max-width: 760px; margin: 0 auto; padding: 24px 24px 80px; }
.pp-doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.pp-doc h2 { font-size: 1.5rem; margin-top: 1.8em; }
.pp-doc table { width: 100%; border-collapse: collapse; font-size: 0.92rem; margin: 1em 0; }
.pp-doc th, .pp-doc td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top; }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pp-float, .ph-track, .pp-marquee ul, .ph-list li.ph-in { animation: none !important; }
  .pp-marquee { flex-wrap: wrap; justify-content: center; mask-image: none; }
  .pp-marquee ul { flex-wrap: wrap; justify-content: center; }
  .pp-marquee ul[aria-hidden] { display: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .pp-links { display: none; }
  .pp-hero, .pp-network, .pp-biz, .pp-join, .pp-faq, .pp-head, .pp-tr, .pp-tile.wide, .pp-tile.wide.alt, .pp-io { grid-template-columns: 1fr; gap: 28px; }
  .pp-network, .pp-biz, .pp-join { padding: 44px 28px; }
  .pp-biz, .pp-join { margin-left: 16px; margin-right: 16px; }
  .pp-foot-cols { grid-template-columns: 1fr 1fr; }
  .pp-globe { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  body.pp { font-size: 16px; }
  .pp-nav { gap: 12px; padding: 14px 16px; }
  .pp-signin { display: none; }
  .pp-hero { padding: 24px 16px; }
  .pp-inline { flex-direction: column; background: transparent; border: 0; padding: 0; box-shadow: none; }
  .pp-inline input { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px; }
  .pp-stage { height: 560px; border-radius: 28px; }
  .pp-float { font-size: 48px; }
  .pp-section { padding: 80px 16px 0; }
  .pp-bento { grid-template-columns: 1fr; }
  .pp-tile, .pp-tile.wide { padding: 26px; }
  .pp-table { padding: 4px 22px; }
  .pp-live-list li { grid-template-columns: 52px 1fr auto; }
  .pp-live-list .lv-speed { display: none; }
  .pp-live-head { flex-direction: column; }
  .pp-faq { padding: 80px 16px; }
  .pp-foot-cols { grid-template-columns: 1fr; }
  .pp-plans td:not(.pp-price) { display: none; }
}

/* ─── Developer docs ─────────────────────────────────────────────────── */
.pp-docs-body { background: #fff; }
.pp-docs-nav { max-width: none; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); }
.pp-docs-tag { margin-left: -20px; padding: 5px 10px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-ink) !important; font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.pp-docs { display: grid; grid-template-columns: 240px minmax(0, 1fr) 220px; gap: 48px; max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.pp-docs-side, .pp-docs-toc { position: sticky; top: 76px; align-self: start; max-height: calc(100vh - 90px); overflow: auto; padding: 32px 0; }
.pp-docs-side summary { display: none; }
.pp-docs-side p, .pp-docs-toc p { margin: 18px 0 8px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.pp-docs-side p:first-of-type { margin-top: 0; }
.pp-docs-side ul, .pp-docs-toc ul { list-style: none; margin: 0; padding: 0; }
.pp-docs-side a { display: block; padding: 7px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: 0.95rem; }
.pp-docs-side a:hover { background: var(--panel); }
.pp-docs-side a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.pp-docs-toc { font-size: 0.88rem; }
.pp-docs-toc a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; }
.pp-docs-toc a:hover { color: var(--ink); }
.pp-docs-toc a.is-active { border-left-color: var(--brand); color: var(--brand-ink); font-weight: 600; }
.pp-docs-main { padding: 40px 0 80px; min-width: 0; }
.pp-docs-article { max-width: 780px; font-size: 16px; line-height: 1.7; }
.pp-docs-article h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin: 0 0 18px; }
.pp-docs-article h1 + p { font-size: 1.15rem; color: var(--ink-2); }
.pp-docs-article h2 { font-size: 1.7rem; margin: 2.2em 0 0.6em; padding-top: 1.2em; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.pp-docs-article h3 { font-size: 1.2rem; margin: 1.8em 0 0.5em; scroll-margin-top: 90px; }
.pp-docs-article p, .pp-docs-article li { color: var(--ink-2); }
.pp-docs-article ul, .pp-docs-article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.pp-docs-article li { margin: 0.35em 0; }
.pp-docs-article a { color: var(--brand-ink); text-underline-offset: 3px; }
.pp-docs-article strong { color: var(--ink); }
.pp-docs-article :not(pre) > code { padding: 2px 6px; border-radius: 6px; background: var(--panel); font: 0.86em/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink); word-break: break-word; }
.pp-docs-article pre { position: relative; margin: 1.2em 0 1.6em; padding: 20px 22px; border-radius: 16px; background: var(--ink); color: #e6e9f0; overflow-x: auto; font: 13.5px/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.pp-docs-article pre[data-lang] { padding-top: 40px; }
.pp-docs-article pre[data-lang]::before { content: attr(data-lang); position: absolute; left: 22px; top: 12px; font: 600 0.72rem/1 var(--text); letter-spacing: 0.05em; text-transform: uppercase; color: #8b93a3; }
.pp-copy { position: absolute; right: 10px; top: 10px; padding: 6px 12px; border: 1px solid #2b3040; border-radius: 8px; background: #1a1e27; color: #e6e9f0; font: 600 0.78rem/1 var(--text); cursor: pointer; }
.pp-copy:hover { background: var(--brand); border-color: var(--brand); }
.pp-docs-article .table-wrap { overflow-x: auto; margin: 1em 0 1.6em; border: 1px solid var(--line); border-radius: 14px; }
.pp-docs-article table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.pp-docs-article th { text-align: left; padding: 10px 14px; background: var(--panel); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.pp-docs-article td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.pp-docs-article blockquote { margin: 1.4em 0; padding: 14px 18px; border-radius: 14px; background: #fff8db; color: #5c4700; }
.pp-docs-pager { max-width: 780px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.pp-docs-pager a { display: block; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; font-weight: 600; }
.pp-docs-pager a:hover { border-color: var(--brand); color: var(--brand-ink); }
.pp-docs-pager a.next { text-align: right; grid-column: 2; }
.pp-docs-pager small { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.pp .pp-docs-help { max-width: 780px; margin-top: 28px; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 1180px) {
  .pp-docs { grid-template-columns: 220px minmax(0, 1fr); }
  .pp-docs-toc { display: none; }
}
@media (max-width: 820px) {
  .pp-docs { grid-template-columns: 1fr; gap: 0; }
  .pp-docs-side { position: static; max-height: none; padding: 16px 0 0; }
  .pp-docs-side summary { display: block; cursor: pointer; padding: 12px 16px; border-radius: 12px; background: var(--panel); font-weight: 600; }
  .pp-docs-side details:not([open]) > :not(summary) { display: none; }
  .pp-docs-side details[open] summary { margin-bottom: 12px; }
  .pp-docs-tag { margin-left: 0; }
  .pp-docs-nav .pp-signin { display: none; }
}

/* ── Waitlist confirmation ── */
.pp-step { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand) !important; margin: 0 0 6px; }
.pp-spot { display: inline-block; background: var(--sun); color: var(--ink) !important; border-radius: 999px; padding: 6px 16px; font-weight: 600; margin: 0 0 14px; }
.pp-thanks .pp-note, .pp-thanks .pp-err { margin: 14px auto 0; max-width: 440px; }
.pp-code-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 24px auto 8px; max-width: 440px; }
.pp-code-form input { flex: 1 1 180px; min-width: 0; font: 600 24px/1 "Hanken", system-ui, sans-serif; letter-spacing: .3em; text-align: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.pp-code-form input:focus { outline: 3px solid color-mix(in srgb, var(--brand) 30%, transparent); border-color: var(--brand); }
.pp-resend { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.pp-resend button { font: inherit; color: var(--brand); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.pp-next { text-align: left; background: #fff; border-radius: 18px; padding: 18px 22px; margin: 26px auto 18px; max-width: 460px; }
.pp-next p { margin: 0; }
.pp-next p + p { margin-top: 6px; color: var(--muted); }
@media (max-width: 560px) { .pp-thanks-card { padding: 40px 20px; } }
