/* Base */
:root{
  --text: #111;
  --muted: rgba(0,0,0,0.64);
  --line: rgba(0,0,0,0.10);
  --bg: #ffffff;
  --card: rgba(245,245,245,0.92);
  --radius: 12px;
}

*{ box-sizing: border-box; }

html, body{
  height: 100%;
}

body{
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(0,0,0,0.03), transparent 60%),
    radial-gradient(900px 450px at 80% 0%, rgba(0,0,0,0.03), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: inherit; text-decoration: underline; }
a:hover{ opacity: 0.85; }

.container{
  max-width: 980px;
  margin: 0 auto;
  padding: 72px 20px 110px; /* zostaw miejsce na sticky belkę */
}

/* Hero */
.hero{
  padding: 6px 0 26px;
}

h1{
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lead{
  margin: 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

/* Sections */
.section{
  padding: 34px 0;
}

h2{
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section p{
  margin: 0 0 14px;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}
.section p:last-child{ margin-bottom: 0; }

/* Image break */
.image-break{
  margin: 20px 0 10px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.02);
}

.image-break img{
  display: block;
  width: 100%;
  height: auto;
}

/* Footer */
.footer{
  padding: 38px 0 0;
}

.meta{
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: rgba(0,0,0,0.55);
  font-size: 14px;
}

.meta strong{ color: rgba(0,0,0,0.75); }
.meta a{ color: rgba(0,0,0,0.75); }

/* Accessibility helper */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}

/* Newsletter bar */
.newsletter-bar{
  position: sticky;
  bottom: 0;
  width: 100%;
  border-top: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.newsletter-inner{
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 20px;
}

.newsletter-formWrap{
  display: grid;
  gap: 8px;
}

/* Reset ML wrapper so it doesn't impose its own "widget" UI */
.newsletter-bar #mlb2-35382578.ml-form-embedContainer,
.newsletter-bar #mlb2-35382578 .ml-form-embedWrapper,
.newsletter-bar #mlb2-35382578 .ml-form-embedBody,
.newsletter-bar #mlb2-35382578 .ml-form-formContent,
.newsletter-bar #mlb2-35382578 .ml-form-fieldRow,
.newsletter-bar #mlb2-35382578 .ml-field-group{
  width: 100% !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* Layout of the actual form */
.newsletter-bar #mlb2-35382578 form.ml-block-form{
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Input styling */
.newsletter-bar #mlb2-35382578 input[type="email"]{
  flex: 1 1 auto;
  width: 100% !important;
  border: 1px solid rgba(0,0,0,0.18) !important;
  border-radius: 10px !important;
  padding: 12px 12px !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  background: #fff !important;
  color: var(--text) !important;
  outline: none !important;
}

.newsletter-bar #mlb2-35382578 input[type="email"]::placeholder{
  color: rgba(0,0,0,0.45);
}

/* Button styling */
.newsletter-bar #mlb2-35382578 .ml-form-embedSubmit{
  flex: 0 0 auto;
  margin: 0 !important;
}

.newsletter-bar #mlb2-35382578 button.primary{
  border: 1px solid #000 !important;
  background: #000 !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  cursor: pointer;
  white-space: nowrap;
}

.newsletter-bar #mlb2-35382578 button.primary:hover{
  opacity: 0.88;
}

/* Note under the form */
.newsletter-note{
  font-size: 13px;
  color: rgba(0,0,0,0.60);
}

/* Mobile */
@media (max-width: 640px){
  .container{
    padding: 54px 16px 140px;
  }

  h2{
    font-size: 28px;
  }

  .newsletter-inner{
    padding: 12px 14px;
  }

  .newsletter-bar #mlb2-35382578 form.ml-block-form{
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-bar #mlb2-35382578 button.primary{
    width: 100%;
  }

  .meta{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
