/* Wspolny arkusz dla wersji EN i przyszlej PL.
   Dzieki temu dodanie /pl/index.html to skopiowanie jednego pliku i przepisanie
   zdan - bez dublowania stylow, ktore z czasem by sie rozjechaly.

   Pisane mobile-first, bo te strone praktycznie kazdy otworzy na telefonie:
   pobiera sie z niej APK, wiec desktop jest tu przypadkiem brzegowym. */

:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --border: #e6e2dc;
  --text: #1d1b19;
  --text-soft: #5f5a54;
  --accent: #16624f;
  --accent-hover: #0f4a3b;
  --accent-contrast: #ffffff;
  --notice-bg: #fdf7ec;
  --notice-border: #e8d6b0;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17161a;
    --surface: #1f1e23;
    --border: #34323a;
    --text: #f0eeea;
    --text-soft: #a8a39c;
    --accent: #3fae8d;
    --accent-hover: #52c4a2;
    --accent-contrast: #10231d;
    --notice-bg: #241f18;
    --notice-border: #4a3f2c;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 1.25rem 4rem;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 34rem;
  margin: 0 auto;
}

header {
  padding: 3rem 0 0.5rem;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-soft);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

/* --- pobieranie ---------------------------------------------------------- */

.get {
  margin: 2.5rem 0;
  text-align: center;
}

.button {
  display: block;
  width: 100%;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-hover);
}

.button:active {
  transform: translateY(1px);
}

.meta,
.requirement {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.requirement {
  margin-top: 0.35rem;
}

/* --- blok ostrzezen o instalacji ----------------------------------------- */

.notice {
  padding: 1.5rem;
  border: 1px solid var(--notice-border);
  border-radius: var(--radius);
  background: var(--notice-bg);
}

.notice p { margin: 0 0 1rem; }

.steps {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.steps li { margin-bottom: 0.85rem; }
.steps li:last-child { margin-bottom: 0; }

.reassure {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--notice-border);
  font-size: 0.925rem;
  color: var(--text-soft);
}

/* --- reszta -------------------------------------------------------------- */

.feedback {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feedback p { margin: 0; }

footer {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

footer p { margin: 0; }

.lang {
  padding-top: 1.5rem;
  text-align: right;
  font-size: 0.9rem;
}

.lang a { color: var(--text-soft); }

@media (min-width: 40rem) {
  .button {
    display: inline-block;
    width: auto;
    min-width: 16rem;
  }
}
