/* ==========================================================================
   Email & Newsletter Production — offer design family
   (offer page + legal/utility pages). Deliberately distinct from the
   publication family: dark charcoal + red + lime accent, sans-serif, grid.
   ========================================================================== */

:root{
  --of-bg:#0c0c0e;
  --of-bg-soft:#17181c;
  --of-panel:#1f2025;
  --of-white:#ffffff;
  --of-ink:#15161a;
  --of-muted:#a9acb8;
  --of-border:#2b2c33;
  --of-red:#e5123a;
  --of-red-deep:#b80d2d;
  --of-lime:#c9f24c;
  --of-lime-deep:#9fce2c;
  --of-grey-bg:#f2f2f4;
  --of-max:1120px;
}

*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}

body{
  margin:0;
  background:var(--of-white);
  color:var(--of-ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.6;
  font-size:16px;
  overflow-x:hidden;
}

img,video{max-width:100%;height:auto;display:block;}
a{color:var(--of-red-deep);}
a:hover,a:focus-visible{color:var(--of-red);}

h1,h2,h3{color:inherit;font-weight:800;line-height:1.18;}

.of-wrap{max-width:var(--of-max);margin:0 auto;padding:0 16px;}

/* ---------- nav ---------- */
.of-nav{
  background:var(--of-bg);
  color:#fff;
  padding:14px 16px;
  position:relative;
}
.of-nav__inner{
  max-width:var(--of-max);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.of-nav__brand{
  color:#fff;
  text-decoration:none;
  font-weight:800;
  letter-spacing:0.02em;
  font-size:1.05rem;
  display:flex;
  align-items:center;
  gap:8px;
}
.of-nav__brand span{color:var(--of-lime);}
.of-nav__toggle{
  background:transparent;
  border:1px solid rgba(255,255,255,0.35);
  color:#fff;
  border-radius:6px;
  padding:8px 12px;
  font-size:0.9rem;
  min-height:44px;
  cursor:pointer;
}
.of-nav__links{
  display:none;
  width:100%;
  flex-direction:column;
  gap:2px;
  margin-top:12px;
}
.of-nav__links.is-open{display:flex;}
.of-nav__links a{
  color:#dcdde3;
  text-decoration:none;
  padding:10px 4px;
  border-top:1px solid rgba(255,255,255,0.08);
  min-height:44px;
  display:flex;
  align-items:center;
}
.of-nav__links a:hover, .of-nav__links a:focus-visible{color:#fff;}

/* ---------- hero ---------- */
.of-hero{
  background:var(--of-bg);
  color:#fff;
  padding:32px 0 44px;
}
.of-hero__grid{
  display:grid;
  gap:30px;
}
.of-hero__kicker{
  display:inline-block;
  color:var(--of-lime);
  font-weight:800;
  font-size:0.78rem;
  letter-spacing:0.09em;
  text-transform:uppercase;
  margin-bottom:12px;
}
.of-hero h1{
  font-size:clamp(1.7rem,6vw,2.6rem);
  margin:0 0 14px;
}
.of-hero__subhead{
  font-size:clamp(1rem,3vw,1.15rem);
  color:#e7e8ee;
  margin:0 0 16px;
}
.of-hero__subhead strong{color:var(--of-lime);}
.of-hero h2.of-hero__h2{
  font-size:clamp(1.1rem,3.4vw,1.4rem);
  color:#fff;
  margin:0 0 20px;
  font-weight:700;
}
.of-hero__h2 em{color:var(--of-lime);font-style:normal;}

.of-badge-panel{
  background:var(--of-panel);
  border:1px solid var(--of-border);
  border-radius:14px;
  padding:22px;
  position:relative;
}
.of-price-badge{
  width:104px;height:104px;
  border-radius:50%;
  background:var(--of-red);
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  margin:0 auto 18px;
  box-shadow:0 8px 22px rgba(229,18,58,0.35);
}
.of-price-badge strong{font-size:1.35rem;line-height:1;}
.of-price-badge span{font-size:0.62rem;text-transform:uppercase;letter-spacing:0.04em;}
.of-badge-panel img, .of-badge-panel video{border-radius:10px;}
.of-badge-panel figcaption{font-size:0.78rem;color:var(--of-muted);margin-top:10px;text-align:center;}

/* ---------- lead form ---------- */
.of-form{
  background:var(--of-panel);
  border:1px solid var(--of-border);
  border-radius:14px;
  padding:22px;
}
.of-form h2{font-size:1.15rem;color:#fff;margin:0 0 4px;}
.of-form > p{color:var(--of-muted);font-size:0.9rem;margin:0 0 18px;}
.of-field{margin-bottom:14px;}
.of-field label{
  display:block;
  font-size:0.85rem;
  color:#dcdde3;
  margin-bottom:6px;
}
.of-field input, .of-field textarea{
  width:100%;
  font-size:16px;
  padding:12px 14px;
  border-radius:8px;
  border:1px solid var(--of-border);
  background:#101114;
  color:#fff;
  font-family:inherit;
}
.of-field input:focus-visible, .of-field textarea:focus-visible{
  outline:2px solid var(--of-lime);
  outline-offset:1px;
}
.of-field-row{display:grid;gap:14px;}
.of-consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:0.83rem;
  color:var(--of-muted);
  margin:6px 0 18px;
}
.of-consent input{
  width:20px;height:20px;
  flex:none;
  margin-top:2px;
  accent-color:var(--of-lime);
}
.of-consent a{color:#dcdde3;text-decoration:underline;}
.of-submit{
  width:100%;
  background:var(--of-lime);
  color:#12130f;
  font-weight:800;
  border:none;
  border-radius:8px;
  padding:15px 18px;
  font-size:1rem;
  min-height:48px;
  cursor:pointer;
  transition:background 0.15s ease;
}
.of-submit:hover, .of-submit:focus-visible{background:var(--of-lime-deep);}
.of-submit:focus-visible{outline:3px solid #fff;outline-offset:2px;}
.of-form__note{font-size:0.78rem;color:var(--of-muted);margin-top:10px;}
.of-success{
  display:none;
  background:#173321;
  border:1px solid #2b6b46;
  color:#bdf0cf;
  padding:14px 16px;
  border-radius:8px;
  font-size:0.92rem;
  margin-top:14px;
}
.of-success.is-visible{display:block;}
.of-error{
  display:none;
  color:#ffb4c0;
  font-size:0.82rem;
  margin-top:-8px;
  margin-bottom:12px;
}
.of-error.is-visible{display:block;}

/* ---------- section divider (Mode accent borrow) ---------- */
.of-divider{
  height:10px;
  max-width:220px;
  margin:0 auto;
  background:var(--of-lime);
  border-radius:999px;
}
.of-divider-wrap{
  display:flex;
  justify-content:center;
  padding:26px 0;
  background:inherit;
}

/* ---------- generic section rhythm ---------- */
.of-section{padding:44px 0;}
.of-section--soft{background:var(--of-grey-bg);}
.of-section--dark{background:var(--of-bg);color:#fff;}
.of-section--white{background:#fff;}
.of-section h2{
  font-size:clamp(1.4rem,4.5vw,2rem);
  margin:0 0 10px;
}
.of-section .of-lede{
  font-size:1.02rem;
  color:#4a4c56;
  max-width:64ch;
  margin:0 0 26px;
}
.of-section--dark .of-lede{color:#c7c9d3;}
.of-eyebrow{
  display:inline-block;
  font-weight:800;
  font-size:0.75rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--of-red-deep);
  margin-bottom:10px;
}
.of-section--dark .of-eyebrow{color:var(--of-lime);}

/* ---------- checklist ---------- */
.of-checklist{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:14px;
}
.of-checklist li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:0.98rem;
}
.of-checklist li::before{
  content:"✓";
  flex:none;
  width:26px;height:26px;
  border-radius:50%;
  background:var(--of-red);
  color:#fff;
  font-weight:800;
  font-size:0.8rem;
  display:flex;align-items:center;justify-content:center;
  margin-top:1px;
}
.of-section--dark .of-checklist li::before{background:var(--of-lime);color:#111;}

/* ---------- benefit grid ---------- */
.of-grid{
  display:grid;
  gap:18px;
  grid-template-columns:1fr;
}
.of-card{
  background:#fff;
  border:1px solid #e3e3e8;
  border-radius:12px;
  padding:22px;
}
.of-card__icon{
  width:44px;height:44px;
  border-radius:10px;
  background:#fde6ea;
  color:var(--of-red-deep);
  display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;
  margin-bottom:14px;
}
.of-card h3{font-size:1.05rem;margin:0 0 8px;}
.of-card p{font-size:0.92rem;color:#565863;margin:0;}

/* ---------- split (leverage + rate aside) ---------- */
.of-split{
  display:grid;
  gap:26px;
}
.of-split__leverage h2{font-size:clamp(1.3rem,4vw,1.8rem);}
.of-split__leverage p{color:#c7c9d3;}

.of-aside{
  background:#141519;
  border:1px solid var(--of-border);
  border-radius:12px;
  padding:22px;
}
.of-aside__label{
  display:inline-block;
  background:var(--of-lime);
  color:#12130f;
  font-weight:800;
  font-size:0.72rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  padding:5px 10px;
  border-radius:4px;
  margin-bottom:14px;
}
.of-aside table{width:100%;border-collapse:collapse;font-size:0.92rem;}
.of-aside th, .of-aside td{
  text-align:left;
  padding:9px 6px;
  border-top:1px solid var(--of-border);
  color:#e6e7ec;
}
.of-aside thead th{border-top:none;color:var(--of-muted);font-weight:600;font-size:0.78rem;text-transform:uppercase;}
.of-aside td.of-amount{font-weight:800;color:var(--of-lime);white-space:nowrap;}
.of-aside__note{font-size:0.78rem;color:var(--of-muted);margin-top:12px;}

/* ---------- pricing ---------- */
.of-pricing{display:grid;gap:22px;}
.of-package--spotlight{
  background:linear-gradient(160deg,#1a1b1f,#0c0c0e);
  color:#fff;
  border:2px solid var(--of-lime);
  border-radius:16px;
  padding:28px;
  position:relative;
}
.of-package--spotlight::before{
  content:"Najczęściej wybierany";
  position:absolute;
  top:-14px;left:24px;
  background:var(--of-lime);
  color:#12130f;
  font-weight:800;
  font-size:0.72rem;
  text-transform:uppercase;
  letter-spacing:0.05em;
  padding:6px 12px;
  border-radius:999px;
}
.of-package--spotlight h3{font-size:1.5rem;margin:6px 0 6px;}
.of-package__price{font-size:2.2rem;font-weight:900;color:var(--of-lime);margin:0 0 4px;}
.of-package__hours{color:var(--of-muted);font-size:0.88rem;margin:0 0 16px;}
.of-package--spotlight ul{margin:0 0 20px;padding-left:0;list-style:none;display:grid;gap:10px;}
.of-package--spotlight ul li{padding-left:26px;position:relative;font-size:0.94rem;}
.of-package--spotlight ul li::before{content:"✓";position:absolute;left:0;color:var(--of-lime);font-weight:800;}

.of-package-list{
  display:grid;
  gap:14px;
}
.of-package-compact{
  background:#fff;
  border:1px solid #e3e3e8;
  border-radius:10px;
  padding:16px 18px;
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:8px 16px;
}
.of-package-compact h4{margin:0;font-size:1rem;}
.of-package-compact .of-hours{font-size:0.8rem;color:#6b6d78;flex-basis:100%;}
.of-package-compact .of-price{font-weight:800;font-size:1.15rem;color:var(--of-red-deep);}

.of-addons{
  margin-top:8px;
  display:grid;
  gap:12px;
}
.of-addon{
  border:1px dashed #cfd0d8;
  border-radius:10px;
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  background:#fafafc;
}
.of-addon h4{margin:0 0 4px;font-size:0.98rem;}
.of-addon p{margin:0;font-size:0.86rem;color:#5c5e69;max-width:52ch;}
.of-addon .of-price{font-weight:800;color:var(--of-red-deep);white-space:nowrap;}

/* ---------- perks ---------- */
.of-perks{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
}
.of-perks li{
  background:#fff;
  border:1px solid #e3e3e8;
  border-radius:10px;
  padding:14px 16px 14px 46px;
  position:relative;
  font-size:0.95rem;
}
.of-perks li::before{
  content:"★";
  position:absolute;left:16px;top:13px;
  color:var(--of-red-deep);
}

/* ---------- limits box ---------- */
.of-limits{
  background:#fff;
  border:1px solid #e3e3e8;
  border-radius:12px;
  padding:22px;
}
.of-limits ul{margin:0;padding-left:20px;}
.of-limits li{margin-bottom:10px;font-size:0.95rem;}
.of-limits li:last-child{margin-bottom:0;}

/* ---------- process steps ---------- */
.of-process{
  list-style:none;
  margin:0;
  padding:0;
  counter-reset:of-step;
  display:grid;
  gap:16px;
}
.of-process li{
  position:relative;
  padding:16px 16px 16px 58px;
  background:#141519;
  border:1px solid var(--of-border);
  border-radius:10px;
  color:#e6e7ec;
}
.of-process li::before{
  counter-increment:of-step;
  content:counter(of-step);
  position:absolute;
  left:16px;top:16px;
  width:28px;height:28px;
  border-radius:50%;
  background:var(--of-lime);
  color:#111;
  font-weight:800;
  display:flex;align-items:center;justify-content:center;
}

/* ---------- media block ---------- */
.of-media{
  display:grid;
  gap:18px;
}
.of-media figure{margin:0;}
.of-media img, .of-media video{border-radius:12px;width:100%;}
.of-media figcaption{font-size:0.82rem;color:#6b6d78;margin-top:8px;}
.of-video-frame{
  position:relative;
  width:100%;
  aspect-ratio:4/3;
  border-radius:12px;
  overflow:hidden;
  background:#000;
}
.of-video-frame video{width:100%;height:100%;object-fit:cover;border-radius:0;}

/* ---------- final CTA band ---------- */
.of-cta-repeat{
  background:var(--of-bg);
  color:#fff;
  border-radius:16px;
  padding:30px 24px;
  text-align:center;
}
.of-cta-repeat h2{color:#fff;margin:0 0 10px;}
.of-cta-repeat p{color:#c7c9d3;max-width:60ch;margin:0 auto 20px;}
.of-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:var(--of-lime);
  color:#12130f !important;
  font-weight:800;
  text-decoration:none !important;
  padding:15px 28px;
  border-radius:8px;
  font-size:1rem;
  min-height:48px;
  transition:background 0.15s ease, transform 0.1s ease;
}
.of-btn:hover, .of-btn:focus-visible{background:var(--of-lime-deep);transform:translateY(-1px);}
.of-btn:focus-visible{outline:3px solid #fff;outline-offset:2px;}

/* ---------- disclaimer + footer (offer theme, shared shape) ---------- */
.site-disclaimer{
  max-width:var(--of-max);
  margin:36px auto 0;
  padding:18px 16px;
  background:#fff4e8;
  border:1px solid #f0d9b8;
  border-radius:8px;
  font-size:0.86rem;
  color:#5a4634;
  display:block;
}
.site-disclaimer p{margin:0 0 8px;}
.site-disclaimer p:last-child{margin-bottom:0;}
.site-disclaimer a{font-weight:700;}

.site-footer{
  background:var(--of-bg);
  color:#a9acb8;
  margin-top:0;
  padding:28px 16px 34px;
  font-size:0.88rem;
}
.site-footer__company{
  max-width:var(--of-max);
  margin:0 auto 18px;
  white-space:pre-line;
  line-height:1.6;
}
.site-footer__links{
  max-width:var(--of-max);
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  gap:10px 20px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,0.12);
}
.site-footer__links a{
  color:#dcdde3;
  text-decoration:none;
  padding:6px 0;
  min-height:44px;
  display:inline-flex;
  align-items:center;
}
.site-footer__links a:hover, .site-footer__links a:focus-visible{text-decoration:underline;color:#fff;}

/* ---------- legal / utility pages ---------- */
.of-legal{
  max-width:760px;
  margin:0 auto;
  padding:32px 16px 8px;
}
.of-legal h1{
  font-size:clamp(1.6rem,5vw,2.3rem);
  margin:0 0 18px;
  color:var(--of-ink);
}
.of-legal h2{
  font-size:clamp(1.15rem,3.4vw,1.4rem);
  margin:30px 0 12px;
  color:var(--of-ink);
}
.of-legal p, .of-legal li{font-size:0.98rem;color:#333540;}
.of-legal ul{padding-left:20px;}
.of-legal p{margin:0 0 16px;}
.of-legal__meta{color:#6b6d78;font-size:0.85rem;margin-bottom:26px;}

/* ---------- sticky CTA (kept minimal for offer pages) ---------- */
.of-sticky-cta{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:40;
  background:var(--of-bg);
  color:#fff;
  padding:10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  box-shadow:0 -4px 14px rgba(0,0,0,0.35);
  transition:transform 0.2s ease;
  border-top:1px solid var(--of-border);
}
.of-sticky-cta.is-hidden{transform:translateY(100%);}
.of-sticky-cta span{font-size:0.82rem;line-height:1.3;}
.of-sticky-cta .of-btn{padding:10px 16px;font-size:0.9rem;min-height:44px;flex:none;}
body.of-has-sticky{padding-bottom:74px;}

/* ---------- responsive ---------- */
@media (min-width:480px){
  .of-field-row{grid-template-columns:1fr 1fr;}
}

@media (min-width:768px){
  .of-nav__toggle{display:none;}
  .of-nav__links{
    display:flex;
    flex-direction:row;
    width:auto;
    margin-top:0;
    gap:20px;
  }
  .of-nav__links a{border-top:none;padding:8px 2px;min-height:auto;}
  .of-grid{grid-template-columns:repeat(2,1fr);}
  .of-split{grid-template-columns:1.1fr 0.9fr;align-items:start;}
  .of-package-list{grid-template-columns:repeat(3,1fr);}
  .of-hero__grid{grid-template-columns:1.05fr 0.95fr;align-items:start;}
  body.of-has-sticky{padding-bottom:0;}
  .of-sticky-cta{display:none;}
}

@media (min-width:1024px){
  .of-grid{grid-template-columns:repeat(4,1fr);}
  .of-pricing{grid-template-columns:1.1fr 0.9fr;align-items:start;}
}

@media (min-width:768px){
  .of-media{grid-template-columns:repeat(2,1fr);}
}
