.easkora-front__header { position: relative; z-index: 20; background: rgba(255,255,255,.92); border-bottom: 1px solid var(--easkora-front-color-border); backdrop-filter: blur(18px); }
.easkora-front__header-inner { min-height: 82px; display: grid; grid-template-columns: minmax(190px,1fr) auto minmax(190px,1fr); align-items: center; gap: 30px; }
.easkora-front__brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 19px; white-space: nowrap; letter-spacing: -.02em; }
.easkora-front__brand-mark { width: 34px; height: 34px; display: inline-grid; place-items: center; color: #fff; background: linear-gradient(135deg,#7679ff,#4f4bd9); border-radius: 10px; box-shadow: 0 9px 22px rgba(91,95,240,.28); font-weight: 800; }
.easkora-front__nav { display: flex; align-items: center; justify-content: center; gap: clamp(24px,2.2vw,42px); margin: 0; font-size: 14px; font-weight: 650; white-space: nowrap; }
.easkora-front__nav a { position: relative; padding: 8px 0; }
.easkora-front__nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; border-radius: 2px; background: var(--easkora-front-color-primary); transition: right .2s ease; }
.easkora-front__nav a:hover { color: var(--easkora-front-color-primary); }
.easkora-front__nav a:hover::after { right: 0; }
.easkora-front__nav a.is-active { color: var(--easkora-front-color-primary); }
.easkora-front__nav a.is-active::after { right: 0; }
.easkora-front__header-actions { display: flex; justify-content: flex-end; gap: 12px; }
.easkora-front .easkora-front__header .easkora-front__menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; min-height: 46px; padding: 0; border: 1px solid var(--easkora-front-color-border); border-radius: 12px; background: #fff; color: #17203b; box-shadow: none; appearance: none; -webkit-appearance: none; }
.easkora-front .easkora-front__header .easkora-front__menu-toggle:hover,
.easkora-front .easkora-front__header .easkora-front__menu-toggle:focus,
.easkora-front .easkora-front__header .easkora-front__menu-toggle:active { background: #fff; color: #17203b; border-color: var(--easkora-front-color-border); box-shadow: none; }
.easkora-front .easkora-front__header .easkora-front__menu-toggle span:not(.screen-reader-text) { display:block; width:20px; height:2px; margin:4px auto; background:#17203b; }

.easkora-front__hero { position: relative; padding-top: clamp(72px,7vw,108px); background: radial-gradient(circle at 82% 16%,rgba(91,95,240,.13),transparent 31%), radial-gradient(circle at 12% 86%,rgba(131,181,255,.09),transparent 24%), linear-gradient(180deg,#fff 0%,#f8f9fd 100%); }
.easkora-front__hero::after { content:""; position:absolute; inset:0; pointer-events:none; opacity:.35; background-image:radial-gradient(rgba(91,95,240,.18) 1px,transparent 1px); background-size:18px 18px; mask-image:linear-gradient(to bottom left,#000,transparent 42%); }
.easkora-front__hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,.94fr) minmax(560px,1.18fr); gap: clamp(50px,6vw,92px); align-items: center; }
.easkora-front__hero-copy { max-width: 660px; }
.easkora-front__hero-copy h1 { margin: 26px 0 22px; font-size: clamp(48px,4.65vw,72px); font-weight: 680; line-height: 1.07; letter-spacing: -.047em; text-wrap: balance; }
.easkora-front__hero-copy h1 strong { display: inline; color: var(--easkora-front-color-primary); font-weight: 720; }
.easkora-front__hero-copy > p { max-width: 650px; color: var(--easkora-front-color-muted); font-size: clamp(17px,1.45vw,20px); line-height: 1.65; }
.easkora-front__hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.easkora-front__benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 34px; color: #40506a; font-size: 14px; }
.easkora-front__benefits span { position: relative; padding-left: 38px; min-height: 32px; display: flex; align-items: center; }
.easkora-front__benefits span::before { position:absolute; left:0; width:28px; height:28px; display:grid; place-items:center; border-radius:10px; background:#f0f1ff; color:var(--easkora-front-color-primary); font-weight:800; }
.easkora-front__benefits span:nth-child(1)::before { content:"✓"; }
.easkora-front__benefits span:nth-child(2)::before { content:"▣"; }
.easkora-front__benefits span:nth-child(3)::before { content:"⌖"; }
.easkora-front__dashboard-preview { min-height: 470px; display:flex; align-items:center; justify-content:center; padding: 22px; border: 1px solid rgba(223,226,241,.65); border-radius: 28px; background: rgba(255,255,255,.58); box-shadow: 0 30px 80px rgba(35,45,80,.10); overflow: hidden; }
.easkora-front__dashboard-image { display:block; width:100%; height:auto; max-height:570px; object-fit:contain; filter:drop-shadow(0 24px 42px rgba(35,45,80,.13)); }

.easkora-front__trust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:0; padding:12px 18px; border:1px solid var(--easkora-front-color-border); border-radius:20px; background:#fff; box-shadow:var(--easkora-front-shadow-sm); }
.easkora-front__trust-grid article { display:grid; grid-template-columns:52px 1fr; grid-template-rows:auto auto; column-gap:14px; align-items:center; padding:18px; border-right:1px solid #edf0f6; }
.easkora-front__trust-grid article:last-child { border-right:0; }
.easkora-front__trust-grid article span { grid-row:1/3; width:46px; height:46px; display:grid; place-items:center; border-radius:14px; background:#f1f2ff; color:#5b5ff0; font-size:20px; }
.easkora-front__trust-grid article b { font-size:16px; }
.easkora-front__trust-grid small { color:var(--easkora-front-color-muted); font-size:13px; }

.easkora-front__feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.easkora-front__feature-card { min-height:150px; display:flex; gap:16px; padding:26px; align-items:flex-start; transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.easkora-front__feature-card:hover { transform:translateY(-3px); border-color:#d7d9ff; box-shadow:0 16px 36px rgba(35,45,80,.10); }
.easkora-front__feature-card h3 { margin-bottom:7px; font-size:20px; }
.easkora-front__feature-card p { margin-bottom:0; color:var(--easkora-front-color-muted); }
.easkora-front__feature-icon { flex:0 0 46px; height:46px; display:grid; place-items:center; border-radius:14px; background:#f0f1ff; color:#5b5ff0; font-weight:800; }

.easkora-front__split-card { display:grid; grid-template-columns:1fr .85fr; gap:52px; align-items:center; padding:clamp(36px,5vw,68px); border:1px solid #dedfff; border-radius:26px; background:linear-gradient(135deg,#f8f7ff 0%,#eef1ff 100%); box-shadow:0 18px 44px rgba(91,95,240,.07); }
.easkora-front__split-card h2 { font-size:clamp(34px,3.7vw,50px); line-height:1.12; margin:20px 0; }
.easkora-front__split-card ul { padding-left:20px; line-height:1.95; }
.easkora-front__mini-panel { display:grid; gap:14px; padding:28px; border:1px solid #e2e4f4; border-radius:18px; background:rgba(255,255,255,.78); box-shadow:0 18px 40px rgba(35,45,80,.06); }
.easkora-front__mini-panel span { height:72px; border-radius:12px; background:linear-gradient(90deg,#f0f2f9,#fff); border:1px solid #e8eaf4; }

.easkora-front__steps { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.easkora-front__steps article { position:relative; padding:26px; border:1px solid var(--easkora-front-color-border); border-radius:17px; background:#fff; box-shadow:0 8px 22px rgba(35,45,80,.045); }
.easkora-front__steps b { display:grid; place-items:center; width:32px; height:32px; margin-bottom:20px; border-radius:50%; background:linear-gradient(135deg,#6d70ff,#504ce8); color:#fff; box-shadow:0 8px 18px rgba(91,95,240,.20); }
.easkora-front__steps h3 { font-size:18px; }
.easkora-front__steps p { margin:0; color:var(--easkora-front-color-muted); }

.easkora-front__cta-section { padding-top:30px; }
.easkora-front__cta { position:relative; overflow:hidden; display:flex; justify-content:space-between; align-items:center; gap:30px; padding:42px 46px; border-radius:22px; background:linear-gradient(115deg,#827ef4 0%,#655ff0 55%,#4f4be7 100%); border:1px solid rgba(255,255,255,.25); box-shadow:0 20px 50px rgba(91,95,240,.22); }
.easkora-front__cta::before { content:"✦"; flex:0 0 52px; width:52px; height:52px; display:grid; place-items:center; border-radius:50%; background:rgba(255,255,255,.17); color:#fff; font-size:24px; }
.easkora-front__cta > div:first-of-type { flex:1; }
.easkora-front__cta h2 { max-width:780px; margin-bottom:8px; color:#fff; font-size:clamp(28px,3vw,42px); }
.easkora-front__cta p { margin:0; color:rgba(255,255,255,.82); }
.easkora-front__cta .easkora-front__hero-actions { margin-top:0; }
.easkora-front__cta .easkora-front__button { background:#fff; color:var(--easkora-front-color-primary)!important; border-color:#fff; box-shadow:none; }
.easkora-front__cta .easkora-front__button--secondary { display:none; }

.easkora-front__footer { padding:34px 0; background:#fff; border-top:1px solid var(--easkora-front-color-border); }
.easkora-front__footer-inner { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.easkora-front__footer p { margin:0; color:var(--easkora-front-color-muted); font-size:14px; }

/* Hotfix: hero typography closer to the approved visual proposal. */
.easkora-front__hero-copy h1 {
  max-width: 650px;
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: clamp(46px, 4.25vw, 66px);
  font-weight: 600;
  line-height: 1.105;
  letter-spacing: -0.026em;
  color: #17213f;
}
.easkora-front__hero-copy h1 strong {
  font-weight: 650;
  letter-spacing: -0.022em;
}
.easkora-front__hero-copy > p {
  font-weight: 400;
  letter-spacing: -0.006em;
}
.easkora-front__brand {
  font-weight: 700;
  letter-spacing: -0.012em;
}
.easkora-front__nav,
.easkora-front__button {
  font-weight: 600;
}

/* Hotfix: premium hero typography and consistent feature iconography. */
.easkora-front__hero-copy h1 {
  max-width: 610px;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: clamp(52px, 5vw, 76px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.045em;
  color: #17213f;
  text-wrap: balance;
}
.easkora-front__hero-copy h1 span,
.easkora-front__hero-copy h1 strong {
  display: block;
}
.easkora-front__hero-copy h1 strong {
  margin-top: 10px;
  color: var(--easkora-front-color-primary);
  font-weight: 700;
  letter-spacing: -.04em;
}
.easkora-front__icon svg,
.easkora-front__feature-icon svg,
.easkora-front__step-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.easkora-front__trust-grid article span.easkora-front__icon {
  font-size: 0;
}
.easkora-front__feature-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(91,95,240,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.easkora-front__feature-card {
  min-height: 142px;
  align-items: center;
}
.easkora-front__step-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 17px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f0f1ff;
  color: var(--easkora-front-color-primary);
  border: 1px solid rgba(91,95,240,.12);
}
.easkora-front__steps b {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 29px;
  height: 29px;
  margin: 0;
  font-size: 13px;
}


/* Hotfix: subtle per-module icon accents in the feature cards only. */
.easkora-front__feature-card--factury .easkora-front__feature-icon {
  background: #f3f1ff;
  color: #6266f2;
  border-color: rgba(98, 102, 242, .18);
}
.easkora-front__feature-card--clients .easkora-front__feature-icon {
  background: #edf9f4;
  color: #2ab884;
  border-color: rgba(42, 184, 132, .20);
}
.easkora-front__feature-card--products .easkora-front__feature-icon {
  background: #fff3e6;
  color: #f39a2f;
  border-color: rgba(243, 154, 47, .22);
}
.easkora-front__feature-card--reports .easkora-front__feature-icon {
  background: #eef5ff;
  color: #468bff;
  border-color: rgba(70, 139, 255, .20);
}
.easkora-front__feature-card--companies .easkora-front__feature-icon {
  background: #ecf8ff;
  color: #2fb6eb;
  border-color: rgba(47, 182, 235, .22);
}
.easkora-front__feature-card--payments .easkora-front__feature-icon {
  background: #f4efff;
  color: #8a58f5;
  border-color: rgba(138, 88, 245, .20);
}

/* Hotfix: premium, colourful "Jak to działa?" section. */
#dla-ksiegowych .easkora-front__section-heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 42px;
}
#dla-ksiegowych .easkora-front__section-heading::before,
#dla-ksiegowych .easkora-front__section-heading::after {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(91,95,240,.75));
}
#dla-ksiegowych .easkora-front__section-heading::after {
  background: linear-gradient(90deg, rgba(91,95,240,.75), transparent);
}
#dla-ksiegowych .easkora-front__section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 3vw, 44px);
  letter-spacing: -.035em;
}
#dla-ksiegowych .easkora-front__steps {
  gap: 34px;
}
#dla-ksiegowych .easkora-front__steps article {
  min-height: 286px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 66px 28px 30px;
  text-align: center;
  border: 1px solid rgba(219,223,238,.92);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(37,45,76,.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
#dla-ksiegowych .easkora-front__steps article:hover {
  transform: translateY(-4px);
  border-color: rgba(91,95,240,.22);
  box-shadow: 0 22px 48px rgba(37,45,76,.10);
}
#dla-ksiegowych .easkora-front__steps b {
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  font-size: 14px;
  box-shadow: 0 9px 22px rgba(91,95,240,.24);
}
#dla-ksiegowych .easkora-front__step-icon {
  width: 88px;
  height: 88px;
  margin: 0 0 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.78);
}
#dla-ksiegowych .easkora-front__step-icon svg {
  width: 38px;
  height: 38px;
  stroke-width: 1.75;
}
#dla-ksiegowych .easkora-front__steps article:nth-child(1) .easkora-front__step-icon {
  color: #6762f2;
  background: #f0efff;
  border-color: rgba(103,98,242,.16);
}
#dla-ksiegowych .easkora-front__steps article:nth-child(2) .easkora-front__step-icon {
  color: #20b879;
  background: #eaf9f1;
  border-color: rgba(32,184,121,.18);
}
#dla-ksiegowych .easkora-front__steps article:nth-child(3) .easkora-front__step-icon {
  color: #f18a1b;
  background: #fff3df;
  border-color: rgba(241,138,27,.20);
}
#dla-ksiegowych .easkora-front__steps article:nth-child(4) .easkora-front__step-icon {
  color: #3587ed;
  background: #eaf3ff;
  border-color: rgba(53,135,237,.18);
}
#dla-ksiegowych .easkora-front__steps h3 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.018em;
}
#dla-ksiegowych .easkora-front__steps p {
  max-width: 235px;
  color: #68748b;
  font-size: 15px;
  line-height: 1.65;
}

@media (min-width: 1200px) {
  #dla-ksiegowych .easkora-front__steps article:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 3;
    top: 112px;
    right: -45px;
    width: 56px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='34' viewBox='0 0 72 34' fill='none'%3E%3Cpath d='M2 12C18 3 28 28 49 18C57 14 62 14 68 16' stroke='%238985ff' stroke-width='2' stroke-linecap='round' stroke-dasharray='4 5'/%3E%3Cpath d='M62 10L69 16L62 21' stroke='%236866f2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    pointer-events: none;
  }
}
#dla-ksiegowych .easkora-front__steps article
.easkora-front__step-icon {
  margin-top: 8px !important;
}
/* Premium control section with real E-Askora dashboard image. */
#dla-firm .easkora-front__split-card {
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  gap: clamp(42px, 5vw, 76px);
  padding: clamp(48px, 5.4vw, 76px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,.92), transparent 34%),
    linear-gradient(135deg, #f8f7ff 0%, #eef1ff 100%);
}
#dla-firm .easkora-front__control-copy {
  position: relative;
  z-index: 1;
}
#dla-firm .easkora-front__split-card h2 {
  max-width: 560px;
  margin: 26px 0 28px;
  font-size: clamp(40px, 4.1vw, 64px);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: #16203d;
}
#dla-firm .easkora-front__control-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#dla-firm .easkora-front__control-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  line-height: 1.45;
  color: #27324f;
}
#dla-firm .easkora-front__control-list li > span {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 2px solid #6b6fff;
  border-radius: 50%;
  color: #5b5ff0;
  font-size: 15px;
  font-weight: 800;
  background: rgba(255,255,255,.78);
  box-shadow: 0 7px 18px rgba(91,95,240,.12);
}
#dla-firm .easkora-front__security-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 54px;
  color: #565cf1;
}
#dla-firm .easkora-front__security-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(91,95,240,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.64);
  box-shadow: 0 14px 30px rgba(91,95,240,.11);
}
#dla-firm .easkora-front__security-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#dla-firm .easkora-front__security-note strong {
  font-size: 15px;
  line-height: 1.45;
}
#dla-firm .easkora-front__control-visual {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
#dla-firm .easkora-front__control-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 510px;
  object-fit: contain;
  border-radius: 22px;
  filter: drop-shadow(0 24px 44px rgba(36,45,84,.13));
}

@media (max-width: 1199px) {
  #dla-firm .easkora-front__split-card {
    grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
    gap: 38px;
  }
  #dla-firm .easkora-front__split-card h2 {
    font-size: clamp(38px, 4.5vw, 52px);
  }
}
@media (max-width: 991px) {
  #dla-firm .easkora-front__split-card {
    grid-template-columns: 1fr;
  }
  #dla-firm .easkora-front__control-visual {
    order: 2;
  }
  #dla-firm .easkora-front__security-note {
    margin-top: 36px;
  }
  #dla-firm .easkora-front__control-visual img {
    width: min(100%, 760px);
    max-height: none;
  }
}
@media (max-width: 767px) {
  #dla-firm .easkora-front__split-card {
    padding: 30px 24px;
    gap: 32px;
    border-radius: 22px;
  }
  #dla-firm .easkora-front__split-card h2 {
    margin: 20px 0 24px;
    font-size: clamp(34px, 10vw, 46px);
  }
  #dla-firm .easkora-front__control-list {
    gap: 13px;
  }
  #dla-firm .easkora-front__control-list li {
    align-items: flex-start;
    font-size: 16px;
  }
  #dla-firm .easkora-front__security-note {
    margin-top: 30px;
  }
  #dla-firm .easkora-front__security-icon {
    width: 54px;
    height: 54px;
  }
  #dla-firm .easkora-front__control-visual img {
    border-radius: 16px;
  }
}

/* Hotfix: distinct colour accents for the compact capability icons. */
.easkora-front__trust-grid article:nth-child(1) .easkora-front__icon {
  background: #f3f1ff;
  color: #6266f2;
  border: 1px solid rgba(98, 102, 242, .18);
}
.easkora-front__trust-grid article:nth-child(2) .easkora-front__icon {
  background: #fff3e6;
  color: #f39a2f;
  border: 1px solid rgba(243, 154, 47, .22);
}
.easkora-front__trust-grid article:nth-child(3) .easkora-front__icon {
  background: #f4efff;
  color: #8a58f5;
  border: 1px solid rgba(138, 88, 245, .20);
}
.easkora-front__trust-grid article:nth-child(4) .easkora-front__icon {
  background: #eef5ff;
  color: #468bff;
  border: 1px solid rgba(70, 139, 255, .20);
}

/* Public header layout with language switcher and account actions. */
.easkora-front__header-inner {
  grid-template-columns: max-content minmax(0, 1fr) max-content;
}
.easkora-front__header-actions {
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.easkora-front__header-actions .easkora-front__button {
  flex: 0 0 auto;
  white-space: nowrap;
}
.easkora-front__mobile-actions {
  display: none;
}
