/**
 * Landing "Zapis do newslettera" - style dedykowane dla template-newsletter.php.
 * Paleta i typografia przeniesione z landinga Landingi (base.css).
 *
 */

body > header,
body > footer,
#menu-bottom-box {
  display: none !important;
}


body > .pt-header {
  padding-top: 0 !important;
}


body {
  background-color: #fff !important;
  color-scheme: light;
}

.nl-page {
  --nl-primary: #0288d1;
  --nl-primary-dark: #026ba6;
  --nl-heading: #101828;
  --nl-text: #344054;
  --nl-muted: #667085;
  --nl-surface: #f4f8fc;
  --nl-icon-bg: #e9f4fb;
  --nl-footer: #16223a;
  /* Makieta: karty i ramka formularza 1.5rem, zdjecie hero 1.75rem. */
  --nl-radius: 1.5rem;

  margin: 0;
  background-color: #fff;
  color: var(--nl-text);
  font-family: Signika, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}

.nl-page *,
.nl-page *::before,
.nl-page *::after {
  box-sizing: border-box;
}

.nl-page h1,
.nl-page h2,
.nl-page h3 {
  margin: 0;
  color: var(--nl-heading);
  font-family: Signika, Roboto, sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

.nl-page p {
  margin: 0;
}

.nl-page a {
  color: inherit;
}

.nl-container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nl-eyebrow {
  margin-bottom: 0.5rem;
  color: var(--nl-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nl-accent {
  color: var(--nl-primary);
}

.nl-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Hero ---------- */

.nl-hero {
  padding: 3.5rem 0 3.2rem;
}

.nl-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.nl-hero__label {
  margin-bottom: 1.5rem;
  color: var(--nl-primary);
  font-family: Signika, Roboto, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
}

.nl-hero__title {
  font-size: 3rem;
  line-height: 1.03;
}

.nl-hero__lead {
  margin-top: 1.75rem !important;
  max-width: 34.5rem;
  font-size: 1.25rem;
  line-height: 1.65;
}

.nl-hero__lead strong {
  font-weight: 700;
}

.nl-hero__media {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
  /* makieta: 32.5 x 40.625rem, promien 1.75rem - inny niz karty */
  border-radius: 1.75rem;
  height: 40.625rem;
  width: 32.5rem;
}

/* ---------- Formularz ---------- */

.nl-form {
  margin-top: 1.25rem;
  max-width: 34.875rem;
  padding: 1.5rem;
  border: 0.0625rem solid rgba(16, 24, 40, 0.01);
  border-radius: var(--nl-radius);
  background-color: #fff;
  box-shadow: 0.0625rem 0.0625rem 0.1875rem rgba(16, 24, 40, 0.2);
}

.nl-form__head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
  color: var(--nl-muted);
  font-size: 1rem;
}


.nl-form__frame {
  --nl-frame-height: 31rem;

  display: block;
  width: 100%;
  height: var(--nl-frame-height);
  border: 0;
  background-color: #fff;
  color-scheme: light;
}

/* ---------- Sekcja "3 kroki" ---------- */

.nl-steps {
  padding: 2rem 0;
  background-color: var(--nl-surface);
  text-align: center;
}

.nl-steps__title {
  font-size: 2.5rem;
}

.nl-steps__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.nl-step__badge {
  display: grid;
  place-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.75rem !important;
  border-radius: 999px;
  background-color: var(--nl-primary);
  color: #fff;
  font-family: Signika, Roboto, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.nl-step__title {
  margin-bottom: 0.75rem !important;
  color: #000;
  font-size: 1.5rem;
}

.nl-step__desc {
  max-width: 16rem;
  color: var(--nl-muted);
}

/* ---------- Sekcja benefitow ---------- */

.nl-benefits {
  padding: 2.5rem 0;
  text-align: center;
}

.nl-benefits__title {
  font-size: 2.5rem;
  line-height: 1;
}

.nl-benefits__lead {
  max-width: 34rem;
  margin: 1.5rem auto 0 !important;
  color: var(--nl-muted);
}

.nl-benefits__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  margin: 3.5rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.nl-benefit {
  padding: 1.625rem;
  border: 0.0625rem solid rgba(16, 24, 40, 0.01);
  border-radius: var(--nl-radius);
  background-color: #fff;
  box-shadow: 0.0625rem 0.0625rem 0.1875rem rgba(16, 24, 40, 0.2);
}

.nl-benefit__icon {
  display: grid;
  place-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.75rem !important;
  border-radius: 0.875rem;
  background-color: var(--nl-icon-bg);
  color: var(--nl-primary);
}

.nl-benefit__icon .nl-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.nl-benefit__title {
  margin-bottom: 0.75rem !important;
  color: #000;
  font-size: 1.5rem;
}

.nl-benefit__desc {
  color: var(--nl-text);
}

/* ---------- Stopka ---------- */

.nl-footer {
  padding: 1.5rem 0 1rem;
  background-color: var(--nl-footer);
  color: #fff;
  font-size: 1rem;
}

.nl-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.nl-footer__logo {
  display: block;
  width: 10.5rem;
  height: auto;
  margin-bottom: 0.25rem;
}

.nl-footer__tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 400;
}

.nl-footer__note {
  font-size: 0.6875rem;
  text-align: right;
}

.nl-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 2.5rem;
  margin: 0rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
}

.nl-footer__links a {
  color: #fff;
  text-decoration: none;
}

.nl-footer__links a:hover,
.nl-footer__links a:focus-visible {
  text-decoration: underline;
}

.nl-footer__links button {
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nl-footer__links button:hover,
.nl-footer__links button:focus-visible {
  text-decoration: underline;
}

/* ---------- RWD ---------- */

@media (max-width: 63.9375rem) {
  .nl-hero__grid {
    gap: 2.5rem;
  }

  .nl-hero__title {
    font-size: 2rem;
  }

  .nl-steps__title,
  .nl-benefits__title {
    font-size: 1.325rem;
  }

  .nl-steps__list,
  .nl-benefits__list {
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .nl-hero {
    padding: 2.5rem 0 3rem;
  }

  .nl-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  li.nl-step {
    text-align: center;
}
  .nl-step__badge {
    display:block;
    margin:0 auto 0.75rem !important;
  }
  .nl-hero__media {
    order: -1;
    height: 10.625rem;
  }

  .nl-hero__title {
    font-size: 1.875rem;
  }

  .nl-hero__lead {
    font-size: 1rem;
  }

  .nl-steps__list,
  .nl-benefits__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .nl-step__desc {
    max-width: none;
  }

  .nl-form {
    max-width: none;
    padding: 0;
    box-shadow: none;
    border: 0;
  }

  .nl-footer__top {
    flex-direction: column;
  }

  .nl-footer__note,
  .nl-footer__links {
    text-align: left;
    justify-content: flex-start;
  }
}
