:root {
  --krem: #f1eee6;
  --krem-2: #e8e4d8;
  --grafit: #1f2a2e;
  --mieta: #5fd3b5;
  --mieta-tekst: #0b7a5e;
  --szary: #4b5a5f;
  --niebieski: #0b78fb;
  --czerwien: #c43b3b;
  --czerwien-jasna: #e58a8a;
  --bialy: #fbfaf6;
  --head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--krem);
  color: var(--grafit);
  font: 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mieta-tekst); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

h1, h2 { font-family: var(--head); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin: 0 0 20px; }
h1 { font-size: clamp(34px, 6vw, 56px); }
h2 { font-size: clamp(26px, 4vw, 36px); }
p { margin: 0 0 16px; }

.kicker {
  font-family: var(--head); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--mieta-tekst); margin-bottom: 12px;
}
.kicker::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--mieta); margin-right: 8px; vertical-align: 1px;
}
.muted, .note { color: var(--szary); }
.note { font-size: 15px; margin-top: 12px; }

/* Przyciski */
.btn {
  display: inline-block; background: var(--grafit); color: var(--krem);
  font-family: var(--head); font-weight: 700; font-size: 17px;
  padding: 16px 28px; border-radius: 10px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--mieta); }
.btn:focus-visible { outline: 3px solid var(--niebieski); outline-offset: 3px; }
.btn-small { padding: 10px 18px; font-size: 15px; }
.btn-full { width: 100%; }
.btn-light { background: var(--krem); color: var(--grafit); }

/* Nagłówek */
.top { position: sticky; top: 0; z-index: 10; background: rgba(241, 238, 230, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--krem-2); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--grafit); }
.brand b { font-family: var(--head); font-weight: 800; font-size: 18px; letter-spacing: -.5px; display: block; line-height: 1.1; }
.brand small { font-family: var(--head); font-weight: 500; font-size: 12px; color: var(--mieta-tekst); }
.brand-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--mieta); box-shadow: 18px 0 0 -3px var(--niebieski); margin-right: 14px; }

/* Pierwszy ekran */
.hero { padding: 56px 0 40px; }
.hero-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.lead { font-size: 20px; color: var(--szary); max-width: 560px; margin-bottom: 28px; }
.hero-face { max-height: 480px; width: auto; margin: 0 auto; }

/* Sekcje */
.section { padding: 64px 0; }
.alt { background: var(--bialy); border-top: 1px solid var(--krem-2); border-bottom: 1px solid var(--krem-2); }

/* Przykład */
.example-label { color: var(--szary); font-size: 15px; font-style: italic; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0 32px; }
.mail { background: var(--krem); border-radius: 14px; padding: 24px; font-size: 16px; border-top: 6px solid; }
.mail-before { border-color: var(--czerwien-jasna); }
.mail-after { border-color: var(--mieta); }
.mail-tag { font-family: var(--head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.mail-before .mail-tag { color: var(--czerwien); }
.mail-after .mail-tag { color: var(--mieta-tekst); }
.mail-subject { font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid var(--krem-2); }
.mail-before p:not(.mail-tag) { color: #5a5f5f; }

.diff, .checks { list-style: none; padding: 0; margin: 0 0 16px; }
.diff li, .checks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.diff li::before, .checks li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--mieta);
}

/* Kroki */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 24px 64px; min-height: 48px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -4px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grafit); color: var(--mieta);
  font: 800 20px/44px var(--head); text-align: center;
}

/* Zapis */
.signup { background: var(--krem-2); }
.signup-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.form-box { background: var(--bialy); border-radius: 16px; padding: 28px; box-shadow: 0 2px 0 var(--krem-2); border: 2px solid var(--grafit); }
.form-title { font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: -.5px; }
.form label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.form input {
  width: 100%; font: inherit; padding: 14px 16px; margin-bottom: 14px;
  border: 2px solid #c9c4b6; border-radius: 10px; background: #fff; color: var(--grafit);
}
.form input:focus { outline: none; border-color: var(--mieta-tekst); }
.form-legal { font-size: 13px; color: var(--szary); margin: 14px 0 0; line-height: 1.5; }
.form-msg { font-size: 14px; color: var(--czerwien); margin-top: 10px; }

/* O autorze */
.about { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.photo { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--krem-2); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--szary); font-size: 14px; }
.link { font-family: var(--head); font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--mieta); color: var(--grafit); }

/* Pytania */
details { border-bottom: 1px solid var(--krem-2); padding: 18px 0; }
summary { font-family: var(--head); font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; position: relative; padding-right: 32px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 24px; color: var(--mieta-tekst); }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--szary); }

/* Pasek na dole */
.cta-bar { background: var(--grafit); color: var(--krem); padding: 40px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-in p { font-family: var(--head); font-weight: 700; font-size: 20px; margin: 0; max-width: 620px; }

/* Stopka */
.footer { padding: 40px 0; font-size: 15px; color: var(--szary); }
.footer-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer p { margin: 0 0 6px; }
.footer-brand { font-family: var(--head); font-weight: 800; color: var(--grafit); }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: var(--szary); }

/* Polityka prywatności */
.doc { padding: 48px 0 64px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); }
.doc h2 { font-size: 22px; letter-spacing: -.5px; margin-top: 36px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }

/* Telefon */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .hero { padding: 32px 0 24px; }
  .hero-in, .compare, .signup-in, .about { grid-template-columns: 1fr; }
  .hero-face { order: -1; max-height: 220px; }
  .section { padding: 48px 0; }
  .about-photo { max-width: 200px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .btn:not(.btn-small) { width: 100%; text-align: center; }
  .top .btn-small { padding: 8px 14px; font-size: 14px; }
}
