/* WayPier: one small stylesheet for the front page, the legal pages and the team area. No fonts, no images, nothing from other sites. */
:root {
  --bg: #f6f7f9; --card: #ffffff; --text: #1d2733; --muted: #5b6672; --line: #dfe3e8;
  --accent: #3b6ef5; --ok: #1a7f4b; --warn: #8a5a00; --err: #b3261e; --radius: 10px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14181d; --card: #1c2229; --text: #e8ecf0; --muted: #9aa5b1; --line: #2d3640; --ok: #5fcf95; --warn: #e0b04a; --err: #ff8a80; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--accent); }
h1 { font-size: 1.7rem; margin: 1rem 0 .4rem; }
h2 { font-size: 1.25rem; margin: 1.6rem 0 .5rem; }
h3 { font-size: 1.05rem; margin: 0; }
p { margin: .4rem 0 .8rem; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: .9em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sep { margin: 0 .5rem; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.page main { flex: 1; padding-bottom: 2rem; }
.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: .7rem; padding-bottom: .7rem; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.top nav { margin-left: auto; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.top nav a { color: var(--text); text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.foot { border-top: 1px solid var(--line); padding-top: 1rem; padding-bottom: 1.5rem; color: var(--muted); font-size: .85rem; }
.foot a { color: var(--muted); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin: .8rem 0; }
.narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.hero { padding: 2.5rem 0 1rem; }
.hero h1 { font-size: 2.2rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; }
.plan ul { padding-left: 1.1rem; margin: .4rem 0; }
.price { font-size: 1.3rem; font-weight: 700; margin: .2rem 0; }
.doc { max-width: 46rem; padding-top: 1rem; }
.doc h2 { font-size: 1.1rem; }
.empty { color: var(--muted); padding: 1rem 0; }
.code { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: .6rem .8rem; overflow-x: auto; font-size: .85rem; }

.btn, button.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: .5rem 1rem; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn-quiet { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-danger { background: var(--err); }
.linkish { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.inline { display: inline; }
form.stack { display: grid; gap: .7rem; }
label { display: grid; gap: .25rem; font-weight: 600; font-size: .95rem; }
label.check { display: flex; gap: .5rem; align-items: center; font-weight: 400; }
input[type=text], input[type=email], input[type=search], textarea, select {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: .5rem .6rem; width: 100%;
}
.toolbar { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin: .8rem 0; }
.toolbar input[type=search] { flex: 1 1 200px; width: auto; }
.toolbar select { width: auto; }
summary { cursor: pointer; font-weight: 600; }
details.card[open] summary { margin-bottom: .6rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.notice { border-radius: 8px; padding: .55rem .8rem; margin: .7rem 0; border: 1px solid var(--line); background: var(--card); }
.notice-error { border-color: var(--err); color: var(--err); }
.notice-ok { border-color: var(--ok); color: var(--ok); }
.notice-warn { border-color: var(--warn); color: var(--warn); }


.meta { color: var(--muted); font-size: .85rem; margin: .2rem 0 0; }
.plain { white-space: pre-wrap; overflow-wrap: anywhere; }
.linkrow h3 { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }

.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); vertical-align: middle; }
.badge-declined { border-color: var(--muted); color: var(--muted); }



.team h1 { margin-top: 1.2rem; }
@media (max-width: 520px) { .hero h1 { font-size: 1.7rem; } }
.brand img { display: block; height: 30px; width: auto; }
.badge-open { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: var(--err); }
.check { display: flex; gap: .5rem; align-items: center; }

/* links list, sparkline, bars, tables, the report form's honeypot */
.spark { vertical-align: middle; margin: 0 .4rem; fill: var(--accent); }
.spark rect.zero { fill: var(--line); }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 140px; margin: 1rem 0; border-bottom: 1px solid var(--line); }
.bars .bar { flex: 1 1 0; min-width: 2px; background: var(--accent); border-radius: 2px 2px 0 0; display: block; }
.table { width: 100%; border-collapse: collapse; margin: .6rem 0; }
.table th, .table td { text-align: left; padding: .4rem .5rem; border-bottom: 1px solid var(--line); }
.qr { background: #fff; padding: 8px; border-radius: 8px; border: 1px solid var(--line); }
.pager { display: flex; gap: 1rem; align-items: center; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
