/* Najpierw telefon; układ na komputer jest na końcu pliku. */
:root {
  --lipa: #2F7D5B;
  --lipa-ciemna: #1C5540;
  --mieta: #E7F3EC;
  --miod: #F2A93B;
  --tekst: #1D3229;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  font: 1.0625rem/1.55 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--tekst);
  background: #fff;
}
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h2 { font-size: 1.625rem; margin-bottom: 24px; }
h3 { font-size: 1.125rem; }
ul, ol { list-style: none; padding: 0; }
a { color: var(--lipa-ciemna); }
a:focus-visible { outline: 3px solid var(--lipa-ciemna); outline-offset: 3px; border-radius: 6px; }

/* Góra strony */
.hero { background: var(--mieta); padding-bottom: 48px; }
header { position: sticky; top: 0; z-index: 10; padding-block: 10px; background: var(--mieta); border-bottom: 1px solid #D3E6DB; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo img { width: 36px; height: 36px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--tekst); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.logo b { color: var(--lipa); font-weight: 800; }
.hero-grid { display: grid; gap: 44px; padding-top: 20px; }
.for-whom { color: var(--lipa-ciemna); font-weight: 600; font-size: 1rem; margin-bottom: 12px; }
h1 { font-size: clamp(2.125rem, 9vw, 3.5rem); line-height: 1.1; letter-spacing: -.025em; }
.lead { font-size: 1.1875rem; margin: 18px 0 28px; max-width: 32em; }
.button {
  display: block; padding: 17px 24px; border-radius: 14px;
  background: var(--miod); color: var(--tekst);
  font-size: 1.125rem; font-weight: 700; text-align: center; text-decoration: none; text-wrap: balance;
}
.button:hover { background: #F6B957; }
.button-small { padding: 11px 13px; border-radius: 11px; font-size: .9375rem; line-height: 1.5; white-space: nowrap; }

/* Telefon z grafikiem */
.phone { width: 100%; max-width: 290px; margin: 0 auto; padding: 10px; border-radius: 36px; background: var(--lipa-ciemna); }
.screen { background: #fff; border-radius: 27px; padding: 22px 16px 18px; }
.day { font-weight: 700; font-size: 1.25rem; margin: 0 4px 14px; }
.slot { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border-radius: 12px; margin-bottom: 8px; border: 2px solid transparent; font-size: 1rem; }
.paid { background: var(--mieta); color: var(--lipa-ciemna); }
.paid span::before { content: "✓ "; font-weight: 700; }
.free { border: 2px dashed #A9CDBA; color: #4C6559; }
.new { margin-top: 14px; padding: 11px; border-radius: 12px; background: #FDF1DC; font-size: .9375rem; font-weight: 600; text-align: center; }

/* Korzyści */
section { padding-block: 52px; }
.benefits { display: grid; gap: 22px; }
.benefits li { display: flex; align-items: center; gap: 16px; }
.benefits svg { flex: none; width: 60px; height: 60px; padding: 14px; border-radius: 18px; background: var(--mieta); fill: none; stroke: var(--lipa); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Kroki */
.steps-band { background: var(--lipa); color: #fff; }
.steps { counter-reset: krok; }
.steps li { counter-increment: krok; position: relative; display: flex; align-items: center; gap: 16px; padding-bottom: 28px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(krok); flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--lipa-ciemna); font-weight: 700; font-size: 1.25rem; z-index: 1; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: rgb(255 255 255 / .45); }

/* Historia */
.story { border-left: 5px solid var(--miod); padding-left: 20px; max-width: 800px; }
blockquote { font-size: 1.5rem; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; text-wrap: pretty; }
figcaption { margin-top: 14px; color: var(--lipa-ciemna); font-weight: 600; }

/* Pytania */
.faq { padding-top: 12px; }
dl { display: grid; gap: 22px; }
dt { font-weight: 700; font-size: 1.125rem; }
dd { margin-top: 4px; }

/* Stopka */
footer { background: var(--mieta); padding-block: 48px; text-align: center; }
footer p { margin-top: 20px; }
footer p a { display: inline-block; padding: 8px; overflow-wrap: anywhere; }

/* Komputer */
@media (min-width: 800px) {
  h2 { font-size: 2rem; }
  section { padding-block: 80px; }
  .button { display: inline-block; padding-inline: 32px; }
  .button-small { padding-inline: 18px; font-size: 1rem; }
  .logo { font-size: 1.5rem; }
  .logo img { width: 44px; height: 44px; }
  .hero { padding-bottom: 72px; }
  .hero-grid { grid-template-columns: 1fr 320px; gap: 72px; align-items: center; padding-top: 32px; }
  .lead { font-size: 1.3125rem; margin: 24px 0 36px; }
  .benefits, .steps, dl { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .steps { display: grid; }
  .steps li { padding-bottom: 0; }
  .steps li:not(:last-child)::after { display: none; }
  blockquote { font-size: 2rem; }
  .story { padding-left: 32px; }
  .faq { padding-top: 0; }
}
