/* papodee.com: the app's look (purple #6c63ee, stone greys), light and dark. System fonts only (no external requests). */
:root {
  --brand: #6c63ee; --brand-dark: #5047d6;
  --text: #1c1917; --muted: #57534e; --line: #e7e5e4; --bg: #fafaf9; --card: #ffffff;
  --max: 1040px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6;
}
@media (prefers-color-scheme: dark) {
  :root { --brand: #8a83f5; --brand-dark: #7068f0; --text: #f5f5f4; --muted: #a8a29e; --line: #292524; --bg: #0c0a09; --card: #1c1917; }
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
a { color: var(--brand); }
img { max-width: 100%; height: auto; }
main { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 1.5rem 1rem 4rem; }

.site-header { display: flex; align-items: center; gap: 1rem; max-width: var(--max); width: 100%; margin: 0 auto; padding: 1rem; }
.logo { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.logo img { border-radius: 8px; }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-header nav a:hover { color: var(--text); }
.button, .site-header nav a.button { display: inline-block; background: var(--brand); color: #fff; padding: .55rem 1.1rem; border-radius: 10px; font-weight: 600; text-decoration: none; }
.button:hover { background: var(--brand-dark); }
.button.secondary { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }

.hero { padding: 3rem 0 2rem; max-width: 760px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin: 0 0 1rem; letter-spacing: -0.02em; }
.hero p { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.5rem; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }
section { padding: 2rem 0; }
section h2 { font-size: 1.6rem; margin: 0 0 1rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem; }
.card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }
.step-number { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: .5rem; }
.price { font-size: 2rem; font-weight: 700; }
.small { font-size: .9rem; color: var(--muted); }

.legal { max-width: 760px; }
.legal h1 { font-size: 2rem; margin-bottom: .25rem; }
.legal h2 { font-size: 1.2rem; margin-top: 2rem; }
.legal .updated { color: var(--muted); margin-top: 0; }
.legal .draft { background: #fef3c7; color: #78350f; border-radius: 10px; padding: .75rem 1rem; }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: .45rem .5rem .45rem 0; vertical-align: top; }

.site-footer { border-top: 1px solid var(--line); text-align: center; padding: 1.5rem 1rem; color: var(--muted); font-size: .9rem; }
.site-footer p { margin: .25rem 0; }
@media (max-width: 560px) { .site-header nav a:not(.button) { display: none; } }

/* contact form */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
form.contact { max-width: 620px; display: grid; gap: .9rem; }
form.contact label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
form.contact input, form.contact select, form.contact textarea { font: inherit; font-weight: 400; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); }
form.contact button { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
