/* Static pages: about, contact, legal policies, payment result, 404. Uses the landing nav + footer. */
.page { max-width: 760px; margin: 0 auto; padding: clamp(40px, 8vw, 80px) 20px 0; }
.page-head { margin-bottom: 32px; }
.page-head h1 { margin: 0; font: 800 clamp(34px, 6vw, 52px)/1.05 var(--display); letter-spacing: -.045em; }
.page-head .updated { margin: 12px 0 0; color: var(--faint); font-size: 14px; }
.page-head .lead { margin: 16px 0 0; color: var(--muted); font-size: clamp(17px, 2.2vw, 19px); line-height: 1.5; }

.prose { font-size: 16px; line-height: 1.65; color: var(--fg); }
.prose h2 { margin: 40px 0 10px; font: 700 22px/1.25 var(--display); letter-spacing: -.025em; }
.prose h3 { margin: 24px 0 6px; font-size: 17px; font-weight: 600; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose .note { background: var(--surface); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); color: var(--muted); font-size: 15px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; font-size: 13px; }
.table-wrap { overflow-x: auto; }

/* Details the owner must fill in before going live. Loud on purpose so none are missed. */
.fill { background: color-mix(in srgb, var(--amber) 26%, transparent); border-radius: 4px; padding: 0 4px; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 8px 0 28px; }
.contact-card { background: var(--surface); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); }
.contact-card b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.contact-card a, .contact-card span { font-size: 16px; color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--accent); }

/* footer links */
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 4px 0 6px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--fg); }

/* payment result */
.status-card { background: var(--surface); border-radius: 28px; padding: clamp(28px, 6vw, 44px); box-shadow: var(--shadow); text-align: center; }
.status-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--surface2); color: var(--muted); }
.status-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.status-card[data-state="paid"] .status-icon { background: var(--green-soft); color: var(--green); }
.status-card[data-state="failed"] .status-icon { background: var(--red-soft); color: var(--red); }
.status-card[data-state="pending"] .status-icon { background: var(--amber-soft); color: var(--amber); }
.status-card h1 { margin: 0; font: 700 clamp(26px, 5vw, 34px)/1.15 var(--display); letter-spacing: -.035em; }
.status-card p { margin: 12px auto 0; max-width: 460px; color: var(--muted); line-height: 1.5; }
.status-rows { margin: 24px auto 0; max-width: 420px; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; text-align: left; font-size: 15px; }
.status-rows dt { color: var(--muted); }
.status-rows dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.status-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.spin { animation: spin 1s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }
