/* ===== Podstrona „Aplikacja" =====
   Świadomie inna paleta niż strona główna: zimny błękit i lód, tak jak
   drukowana ulotka, którą klienci dostają od kierowcy. Logo i żółto-zielone
   akcenty marki zostają, żeby to nadal był Łyk Orzeźwienia. */
:root {
  --navy-deep: #0B1F49;
  --navy: #12306E;
  --navy-mid: #1B3F94;
  --ice: #E8F3FC;
  --ice-soft: #F5FAFE;
  --ice-line: #C9E0F2;
  --sun-yellow: #FDB913;
  --sun-orange: #F5A623;
  --leaf-green: #4CA83C;
  --leaf-green-dark: #3A8A2D;
  --green-text: #347F28;   /* ciemniejsza zielen TYLKO do tekstu (kontrast AA) */
  --ink: #14243F;
  --ink-soft: #4A5D7A;
  --white: #FFFFFF;
  --radius: 18px;
  --font-head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ice-soft);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-head); margin: 0 0 12px; }
p { margin: 0 0 12px; }

.wrap {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ===== Nagłówek ===== */
.app-header {
  background: var(--white);
  border-bottom: 1px solid var(--ice-line);
}
.app-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.app-header__logo { height: 50px; width: auto; }
.app-back {
  font-weight: 800;
  color: var(--navy-mid);
  font-size: 0.95rem;
}
.app-back:hover { color: var(--sun-orange); }

/* ===== Hero ===== */
.app-hero {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.16), transparent 45%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 60%, #2A5BB8 100%);
  color: var(--white);
  padding: 60px 0 66px;
  text-align: center;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--sun-yellow);
  margin-bottom: 10px;
}
.app-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  line-height: 1.15;
  text-wrap: balance;
  color: var(--white);
  margin-bottom: 16px;
}
.app-hero__lead {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

/* ===== Sekcja „Ważne" ===== */
.notice {
  background: #FFF6E0;
  border: 2px solid var(--sun-yellow);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: -32px 0 34px;
  position: relative;
  box-shadow: 0 14px 34px rgba(11, 31, 73, 0.12);
}
.notice__badge {
  display: inline-block;
  background: var(--sun-orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.notice p { margin: 0; color: #5A4415; font-size: 0.98rem; }
.notice strong { color: #7A4E00; }
.notice a { color: #A85B00; text-decoration: underline; font-weight: 800; white-space: nowrap; }

/* ===== Dostęp: QR + link ===== */
.access {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--ice-line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 34px;
}
.access__qr {
  background: var(--white);
  border: 3px solid var(--navy-mid);
  border-radius: 14px;
  padding: 8px;
}
.access__qr svg { width: 148px; height: 148px; display: block; }
.access__text h2 { font-size: 1.25rem; color: var(--navy-mid); }
.access__text p { color: var(--ink-soft); font-size: 0.96rem; }
.access__link {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--navy-mid);
  border-bottom: 3px solid var(--sun-yellow);
  margin-top: 4px;
}
.access__link:hover { color: var(--sun-orange); }

/* ===== Karty kroków ===== */
.step-card {
  background: var(--white);
  border: 1px solid var(--ice-line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 22px;
}
.step-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  color: var(--navy-mid);
  margin-bottom: 6px;
}
.step-card__no {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--navy-mid);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
}
.step-card__sub {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0 0 14px 44px;
}
.step-card--android .step-card__no { background: var(--leaf-green-dark); }
.step-card--android .step-card__head { color: var(--green-text); }
.step-card--ios .step-card__no { background: var(--navy-deep); }
.step-card--ios .step-card__head { color: var(--navy-deep); }
.step-card--bell .step-card__no { background: var(--sun-orange); }
.step-card--bell .step-card__head { color: #B4600A; }

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 0 12px 44px;
  border-top: 1px solid var(--ice-line);
}
.steps li:first-child { border-top: none; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--navy-mid);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { font-size: 1rem; margin: 0 0 2px; color: var(--ink); }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }
.steps em { font-style: normal; font-weight: 700; color: var(--navy-mid); }
.steps--compact li { padding-top: 10px; padding-bottom: 10px; }

.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.install-grid .step-card { margin-bottom: 0; }

/* ===== Pomoc ===== */
/* Podgląd panelu klienta — zdjęcie + opis */
.podglad {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 34px;
  align-items: center;
  margin: 0 0 30px;
  background: var(--white);
  border: 1px solid var(--ice-line);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.podglad img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(11, 31, 73, 0.18);
}
.podglad figcaption h2 { margin: 0 0 12px; font-size: 1.32rem; color: var(--navy); }
.podglad figcaption p { margin: 0 0 12px; color: var(--ink-soft); line-height: 1.65; }
.podglad figcaption p:last-child { margin-bottom: 0; }
@media (max-width: 700px) {
  .podglad { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
  .podglad img { max-width: 220px; margin: 0 auto; }
}

.help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 50px;
}
.help p { margin: 0; font-size: 1.02rem; }
.help__btn {
  background: linear-gradient(135deg, var(--sun-yellow), var(--sun-orange));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 999px;
  white-space: nowrap;
}
.help__btn:hover { filter: brightness(1.06); }

/* ===== Stopka ===== */
.app-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 26px 0;
  text-align: center;
}
.app-footer .app-back { color: var(--sun-yellow); display: inline-block; margin-bottom: 6px; }
.app-footer p { margin: 0; font-size: 0.84rem; }

/* ===== Responsywność ===== */
@media (max-width: 720px) {
  .install-grid { grid-template-columns: 1fr; }
  .access { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .app-hero { padding: 46px 0 56px; }
  .help { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
  .step-card { padding: 22px 18px; }
  .notice { padding: 18px 18px; }
  .step-card__sub { margin-left: 0; }
}
