@import url('./software-contact.b41730a63f01b7f0.css');
@import url('./software-motion.558ad04aab2d6d91.css');

.software-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: max(19rem, calc(100svh - var(--header-height, 114px)));
  overflow: hidden;
  background: #000;
  color: #fafafa;
}
.software-location { z-index: 1; color: #aaa; }
.software-grid {
  --pitch: clamp(5rem, 11vw, 13rem);
  position: absolute;
  inset: calc(50% + clamp(1.3rem, 3.2vw, 3.6rem)) 0 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, #353535 1px, transparent 1px),
                    linear-gradient(#353535 1px, transparent 1px);
  background-size: var(--pitch) var(--pitch);
  background-position: center top;
  mask-image: radial-gradient(ellipse 66% 95% at 48% 64%, #000 8%, transparent 98%),
              linear-gradient(transparent, #000 34%);
  mask-composite: intersect;
}
.software-scene {
  --slit: 30%;
  --beam-level: .8;
  position: relative;
  width: min(91%, 81rem);
  display: grid;
  grid-template-columns: var(--slit) minmax(0, 1fr);
  align-items: center;
  font-size: clamp(1.05rem, 4.5vw, 4.1rem);
  letter-spacing: -.045em;
  line-height: 1.08;
}
.software-create {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .32em;
  width: 100%;
  min-height: clamp(3.7rem, 11vw, 9.2rem);
  padding: .3em .20em .34em .36em;
  border: 0;
  border-radius: 100vmax 0 0 100vmax;
  background: linear-gradient(108deg, #191919 0%, #0d0d0d 38%, transparent 93%);
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: 1;
  touch-action: manipulation;
}
.software-create::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(112deg, #494949 0%, #222 38%, transparent 95%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
button.software-create:is(:active, [data-touch-pressed]) {
  box-shadow: inset 3px 4px 8px rgb(0 0 0 / 65%), inset -2px -2px 6px rgb(255 255 255 / 5%);
}
.software-plus { display: inline-block; font-weight: 300; }
.software-create:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.software-optics {
  position: absolute;
  left: var(--slit);
  top: 50%;
  width: 82%;
  aspect-ratio: 1240 / 560;
  transform: translateY(-50%) rotate(var(--beam-angle, 0deg));
  transform-origin: left center;
  mix-blend-mode: screen;
  pointer-events: none;
}
.software-light, .software-wave {
  position: absolute;
  inset: 0 5% 0 -5%;
  background: url('./assets/software-aperture.webp') center / 100% 100% no-repeat;
  mix-blend-mode: screen;
  transform-origin: 5% 50%;
}
.software-light { opacity: var(--beam-level); }
.software-wave {
  opacity: 0;
  mask-image: linear-gradient(90deg, transparent, #000 42%, #000 54%, transparent),
              linear-gradient(90deg, transparent 10%, #000 48%);
  mask-size: 45% 100%, 100% 100%;
  mask-repeat: no-repeat;
  mask-composite: intersect;
}
.software-aperture {
  position: absolute;
  left: var(--slit);
  top: 50%;
  width: clamp(2px, .24vw, 4px);
  height: clamp(2.3rem, 6.5vw, 6rem);
  transform: translate(-50%, -50%);
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 0 5px #fff, 0 0 15px #ffffff80;
  pointer-events: none;
}
#software-title {
  position: relative;
  margin: 0;
  padding-inline-start: .35em;
  font: inherit;
  font-weight: 450;
  letter-spacing: inherit;
  text-wrap: balance;
  color: #eee;
  text-shadow: 0 1px 5px #0005;
}
@supports (background-clip: text) {
  #software-title {
    width: fit-content;
    background: linear-gradient(90deg, #fff 12%, #f5f5f5 45%, #b8b8b8);
    background-clip: text;
    color: transparent;
    text-shadow: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .software-light { animation: software-open 2.8s cubic-bezier(.16,.78,.26,1) both; }
  .software-optics { transition: transform 320ms ease-out; }
  @keyframes software-open {
    from { opacity: .27; transform: scale(.32, .36); }
    to { opacity: var(--beam-level); transform: scale(1); }
  }
}
@media (max-width: 600px) {
  .software-scene { --slit: 31%; --beam-level: .6; width: 94%; font-size: clamp(1rem, 5.6vw, 2rem); }
  .software-hero { min-height: max(17rem, calc(100svh - var(--header-height, 91px))); }
}
@media (forced-colors: active) {
  #software-title { color: CanvasText; background: none; }
  .software-create { border: 1px solid ButtonText; }
}

html[lang="en"] :is(.software-copy, .software-scene) [lang="pl"],
html[lang="pl"] :is(.software-copy, .software-scene) [lang="en"] { display: none; }
.software-product {
  padding: clamp(68px, 9vw, 155px) var(--edge);
  color: var(--ink);
  background: #fff;
}
.software-product-inner, .software-practice-panel {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(38px, 6vw, 112px);
}
.software-practice-panel { grid-template-columns: minmax(min-content, .84fr) minmax(0, 1.16fr); }
.software-product-inner {
  align-items: center;
  max-width: 1500px;
  margin-inline: auto;
}
.software-product h2, .software-practice h2 {
  margin: 0;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.06em;
}
.software-product h2 { font-size: clamp(3.6rem, 6.7vw, 7.6rem); }
.software-product-name {
  margin: .65rem 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.7rem);
  line-height: 1.28;
  letter-spacing: -.035em;
}
.software-product-summary, .software-practice-text p {
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  line-height: 1.6;
  letter-spacing: -.018em;
}
.software-product-summary {
  max-width: 43ch;
  margin: clamp(20px, 2.2vw, 36px) 0;
  color: #454545;
}
.software-demo-notice {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}
.software-preview {
  margin: 0;
  display: grid;
  align-items: center;
  aspect-ratio: 16 / 9;
  padding: clamp(14px, 2.8vw, 46px);
  background: #101010;
  border-radius: clamp(16px, 1.9vw, 30px);
}
.software-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 3px 16px #0004;
}
.software-practice h2 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 4.7vw, 5rem);
  text-wrap: balance;
}
.software-practice-text { max-width: 57ch; }
.software-practice-text p { margin: 0; }
.software-practice-text p + p { margin-top: 1.1em; color: #4a4a4a; }
@media (min-width: 801px) and (prefers-reduced-motion: no-preference) {
  .software-practice h2 { position: sticky; top: min(40px, 5vh); align-self: start; }
}
@media (max-width: 800px) {
  .software-product-inner, .software-practice-panel { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .software-practice-panel { container-type: inline-size; }
  .software-practice:lang(pl) h2 { font-size: min(2.35rem, 12.5cqi); }
  .software-product-summary { max-width: 55ch; }
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.software-hero) { scroll-behavior: smooth; }
}
