/* homcio.pl - landing + legal pages (polityka-prywatnosci, regulamin, usun-konto). They must work
   without JavaScript and without signing in (App Store / Google Play reviewers, link
   checks). Colours = src/theme/tokens.json; system fonts - the CSP allows no font host. */
:root {
  --canvas: #f7f7fa; --surface: #ffffff; --line: #e6e7ee; --ink: #15161c; --ink-soft: #4a4e5a;
  --muted: #8b8f9b; --accent: #4f46e5;
}
* { box-sizing: border-box; }
html { background: var(--canvas); }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 760px; margin: 0 auto; padding: 32px 20px 80px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
header img { height: 32px; width: auto; display: block; }
nav { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
a { color: var(--accent); }
nav a { color: var(--ink-soft); text-decoration: none; }
nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
h1 { font-size: 32px; line-height: 1.2; letter-spacing: -0.5px; font-weight: 600; margin: 0 0 8px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; margin: 0 0 16px; }
h2 { font-size: 19px; line-height: 1.3; font-weight: 600; margin: 32px 0 8px; }
.card h2 { margin-top: 0; }
p, li { color: var(--ink-soft); }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
li { margin: 4px 0; }
strong { color: var(--ink); font-weight: 600; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 12px; }
th, td { text-align: left; vertical-align: top; padding: 8px 6px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
th { color: var(--ink); font-weight: 600; }
footer { margin-top: 40px; color: var(--muted); font-size: 14px; }
@media (max-width: 520px) { h1 { font-size: 26px; } header { flex-direction: column; align-items: flex-start; } }
/* Narrow screens: the data table becomes one block per row. */
@media (max-width: 600px) {
  table, tbody, tr, td { display: block; }
  tr:first-child { display: none; }
  tr { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 0 0 10px; }
  td { border: 0; padding: 2px 0; }
  td:first-child { color: var(--ink); margin-bottom: 6px; }
  td:nth-child(2)::before { content: "Po co: "; font-weight: 600; color: var(--ink); }
  td:nth-child(3)::before { content: "Podstawa: "; font-weight: 600; color: var(--ink); }
}

/* landing (index.html) */
.hero { padding: 56px 0 24px; }
.hero img.logo { height: 48px; width: auto; display: block; margin-bottom: 40px; }
.hero h1 { font-size: 44px; line-height: 1.1; letter-spacing: -1px; margin-bottom: 16px; }
.hero p.lede { font-size: 19px; color: var(--ink-soft); max-width: 560px; margin-bottom: 28px; }
.cta { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: 16px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; }
.cta:hover { opacity: .9; }
.features { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 40px 0 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .features { grid-template-columns: 1fr 1fr; } }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; margin: 0; }
.features b { display: block; color: var(--ink); margin-bottom: 4px; }
footer.site { display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--line); padding-top: 20px; }
footer.site a { color: var(--ink-soft); }
@media (max-width: 520px) { .hero h1 { font-size: 34px; } }
