@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext-v20.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin-v20.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-ext-v22.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-v22.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #061426;
  --bg-2: #08192f;
  --surface: #0b2140;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #e9eff8;
  --muted: #95a9c2;
  --orange: #ff6b0b;
  --orange-2: #ff8127;
  --ok: #4ecfa4;
  --warn: #ffb020;
  --r: 16px;
  --r-s: 10px;
  --container: 1180px;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 Manrope, Arial, sans-serif;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden }

img { display: block; max-width: 100% }
a { color: inherit }
h1, h2, h3 { font-family: "Space Grotesk", Manrope, sans-serif; letter-spacing: -.03em }
em { font-style: normal; color: var(--orange) }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto }
.section { padding: 104px 0 }

.skip-link {
  position: fixed; z-index: 100; left: 16px; top: 8px;
  padding: 10px 16px; border-radius: var(--r-s);
  background: #fff; color: #000; transform: translateY(-160%);
}
.skip-link:focus { transform: none }
a:focus-visible, .btn:focus-visible, .demo-close:focus-visible { outline: 3px solid #7cb8ff; outline-offset: 3px }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  background: rgba(6, 20, 38, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.na-gorze {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none }
}

#czujnik-gory { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none }

:where(section, main)[id] { scroll-margin-top: 92px }

.nav {
  height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .3s ease;
}
.site-header.na-gorze .nav { height: 80px }
.brand { display: grid; place-items: center }
.brand img { width: auto; height: 46px; transition: height .3s ease }
.site-header.na-gorze .brand img { height: 60px }
.nav nav { display: flex; gap: 24px }
.nav nav a { color: #c2d1e6; font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s }
.nav nav a:hover { color: #fff }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: var(--r-s);
  border: 0; font-family: inherit; cursor: pointer;
  background: var(--orange); color: #08182e;
  font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--orange-2) }
.btn:active { transform: translateY(1px) }
.btn-sm { min-height: 42px; padding: 0 18px }

.btn-send {
  gap: 12px; min-height: 54px; padding: 0 30px; border: 0; font-family: inherit; cursor: pointer;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  box-shadow: 0 12px 26px rgba(255, 107, 11, .22), inset 0 1px 0 rgba(255, 255, 255, .38);
}
.btn-send:hover {
  background: linear-gradient(180deg, #ff9243, var(--orange-2));
  box-shadow: 0 16px 32px rgba(255, 107, 11, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-send:active { transform: translateY(1px); box-shadow: 0 6px 16px rgba(255, 107, 11, .22), inset 0 1px 0 rgba(255, 255, 255, .3) }
.btn-send span { font-size: 17px; line-height: 1; transition: transform .25s }
.btn-send:hover span { transform: translateX(4px) }

.eyebrow {
  margin: 0 0 20px; color: var(--orange);
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}

.head { max-width: 720px; margin-bottom: 56px }
.head h2 { margin: 0; font-size: clamp(34px, 4.2vw, 54px); font-weight: 600; line-height: 1.06 }
.head p { margin: 22px 0 0; color: var(--muted); max-width: 60ch }

.hero {
  position: relative; padding: 96px 0;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(23, 74, 140, .5) 0, transparent 70%),
    linear-gradient(160deg, #071729 0%, #061426 60%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, #2b558a, transparent) }
/* Szerzej niz w d6Tanku: "w Comarch ERP Optimie" ma 22 znaki i przy 56ch
   lamie sie w srodku nazwy produktu. Wiersz tekstu pilnuje .lead osobno. */
.hero-copy { max-width: 780px }
.hero h1 { margin: 0; font-size: clamp(36px, 3.9vw, 54px); font-weight: 600; line-height: 1.06 }
.lead { max-width: 46ch; margin: 26px 0 0; color: #b8c8dd; font-size: 18px }

.app-shot { margin: 0 }
.app-shot img {
  width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
}
.app-shot figcaption { margin-top: 18px; max-width: 66ch; color: var(--muted); font-size: 14px }
.hero-shot { margin-top: 56px }

.feature-board {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px;
  margin-top: 36px;
}
.feature-board article {
  padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.feature-board .feature-main {
  grid-row: span 2; display: grid; grid-template-rows: minmax(178px, 1fr) auto;
  min-height: 300px; padding: 0; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 107, 11, .12), var(--surface) 58%);
}
.feature-board .feature-wide {
  grid-column: 1 / -1; display: grid; grid-template-columns: .72fr 1.28fr; gap: 32px; align-items: baseline;
  background: var(--bg-2);
}
.feature-board h3 { margin: 0 0 10px; font-size: 20px }
.feature-board p { margin: 0; max-width: 58ch; color: var(--muted); font-size: 14px }
.feature-board .feature-main h3 { color: var(--orange); font-size: 26px }
.feature-board .feature-main p { color: #d6e1ef }
.feature-main-copy { position: relative; z-index: 1; padding: 24px 26px 26px }

/* Kafel z podgladem ekranu w rogu bento. Zrzut jest przyciety do lewego gornego
   rogu, bo tam siedzi tresc karty produktu, a nie wysrodkowany na niczym. */
.shot-visual {
  position: relative; min-height: 220px; overflow: hidden; border-bottom: 1px solid var(--line);
  background: #0a203b;
}
.shot-visual::before {
  content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 54px rgba(2, 10, 19, .48);
}
.shot-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 18% 0;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}
.feature-main:hover .shot-visual img { transform: scale(1.035) }

.micro { color: #8299b6; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50% }
.dot-warn { background: var(--warn) }
.dot-alert { background: var(--orange) }
.dot-mute { background: #7d93ad }

/* Pas tla. Sekcje na przemian: jasniejszy pas, ciemniejsze tlo strony. */
.band { background: var(--bg-2); border-block: 1px solid var(--line) }

.gap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 0; list-style: none }
.gap-grid li { padding: 28px 26px; border-left: 1px solid var(--line) }
.gap-grid li:last-child { border-right: 1px solid var(--line) }
.gap-grid h3 { margin: 0 0 10px; font-size: 17px }
.gap-grid p { margin: 0; color: var(--muted); font-size: 14px }
.gap-grid .accent { background: linear-gradient(180deg, rgba(255, 107, 11, .14), rgba(255, 107, 11, .03)) }
.gap-grid .accent h3 { color: var(--orange) }
.gap-grid .accent p { color: #d6e1ef }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center }
.split figure { margin: 0 }
/* Zrzut ekranu, nie zdjecie: przyciety w pionie gubilby polowe tabeli,
   wiec idzie w calosci i to on wyznacza wysokosc kolumny. */
.split img { width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 40px 90px rgba(0, 0, 0, .45) }
.split-copy h2 { margin: 0; font-size: clamp(32px, 3.6vw, 46px); font-weight: 600; line-height: 1.08 }
.split-copy > p { margin: 20px 0 0; color: var(--muted) }
.split-list { display: grid; margin: 28px 0 0; border-top: 1px solid var(--line) }
.split-list div { padding: 18px 0; border-bottom: 1px solid var(--line) }
.split-list dt { font-family: "Space Grotesk", Manrope, sans-serif; font-size: 15px }
.split-list dd { margin: 6px 0 0; color: var(--muted); font-size: 13px }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 0; margin: 0; list-style: none }
.steps li { padding-top: 26px; border-top: 2px solid var(--orange) }
.steps li + li { border-top-color: var(--line-2) }
.steps h3 { margin: 0 0 12px; font-size: 20px }
.steps p { margin: 0; color: var(--muted); font-size: 14px }

.integr { display: grid; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line) }
.integr li {
  display: grid; grid-template-columns: 350px 1fr; gap: 24px 40px; align-items: start;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.integr-name { display: flex; flex-wrap: wrap; align-items: center; gap: 12px }
.integr-name strong { font-family: "Space Grotesk", Manrope, sans-serif; font-size: 17px; letter-spacing: -.02em }
.integr p { margin: 0; color: var(--muted); font-size: 14px; max-width: 62ch }
.tag {
  padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px;
  color: #9db2cc; font-size: 11px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
}
.tag-accent { border-color: rgba(255, 107, 11, .45); background: rgba(255, 107, 11, .12); color: var(--orange-2) }
.integr .accent strong { color: var(--orange) }
.integr .accent p { color: #d6e1ef }
.integr-note { margin: 26px 0 0; max-width: 62ch; color: #7f94ae; font-size: 13px }
.api-callout {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; margin-top: 42px; padding: 30px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
}
.api-callout .eyebrow { margin: 0 0 12px }
.api-callout h3 { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.08 }
.api-callout h3 em { color: var(--orange); font-style: normal }
.api-callout p:not(.eyebrow) { margin: 18px 0 0; color: var(--muted); font-size: 14px }
.api-callout ul { display: grid; align-content: start; gap: 0; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line) }
.api-callout li { display: grid; gap: 5px; padding: 16px 0; border-bottom: 1px solid var(--line) }
.api-callout li strong { color: var(--text); font-size: 14px }
.api-callout li span { color: var(--muted); font-size: 12px; line-height: 1.5 }

.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start }
.faq-grid .head { margin-bottom: 0 }
.faq { display: grid; border-top: 1px solid var(--line) }
.faq details { border-bottom: 1px solid var(--line) }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-family: "Space Grotesk", Manrope, sans-serif; font-size: 16px; letter-spacing: -.02em;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin-right: 4px;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(45deg) translateY(-2px); transition: transform .25s;
}
.faq summary:hover { color: var(--orange-2) }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px) }
.faq summary:focus-visible { outline: 3px solid #7cb8ff; outline-offset: 3px }
.faq details p { margin: 0 0 22px; max-width: 66ch; color: var(--muted); font-size: 14px }

.alerts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center }
.alerts-grid .head { margin-bottom: 32px }
.alerts-shot { width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: var(--r) }
.alerts { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none }
.alerts li {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.alerts li span:last-child { display: grid; gap: 4px; color: var(--muted); font-size: 13px }
.alerts strong { color: var(--text); font-size: 15px }

.control { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px }
.control .head { margin-bottom: 0 }
.control-shot { grid-column: 1 / -1 }
.control-list { display: grid; margin: 0; border-top: 1px solid var(--line) }
.control-list div { padding: 24px 0; border-bottom: 1px solid var(--line) }
.control-list dt { font-family: "Space Grotesk"; font-size: 17px }
.control-list dd { margin: 8px 0 0; color: var(--muted); font-size: 14px }

.flow-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start }
.flow-grid .head { margin-bottom: 0 }
.tl { display: grid; gap: 30px; padding: 4px 0 4px 32px; margin: 0; list-style: none; border-left: 1px solid var(--line-2) }
.tl li { position: relative }
.tl li::before {
  content: ""; position: absolute; left: -39px; top: 6px; width: 11px; height: 11px;
  border: 2px solid var(--line-2); border-radius: 50%; background: var(--bg-2);
}
.tl li:first-child::before { background: var(--orange); border-color: var(--orange) }
.tl h3 { margin: 0 0 8px; font-size: 17px }
.tl p { margin: 0; max-width: 58ch; color: var(--muted); font-size: 14px }

/* Blok trzyma sie szerokosci naglowka sekcji (.head), inaczej wiersze z tekstem
   na 52 znaki wiszą w polowie kontenera z pustka po prawej. */
.portal-list, .portal-extra, .portal-note { max-width: 760px }
.portal-list { display: grid; padding: 0; margin: 34px 0 0; list-style: none; border-top: 1px solid var(--line) }
.portal-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.portal-num {
  padding-top: 4px; color: var(--orange);
  font-family: "Space Grotesk", Manrope, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .08em;
}
.portal-list h3 { margin: 0 0 6px; font-size: 18px }
.portal-list p { margin: 0; max-width: 66ch; color: var(--muted); font-size: 14px }
.portal-extra {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px;
  margin-top: 30px; border-top: 1px solid var(--line);
}
.portal-extra div { padding: 20px 0; border-bottom: 1px solid var(--line) }
.portal-extra h3 { margin: 0 0 6px; font-size: 16px }
.portal-extra p { margin: 0; color: var(--muted); font-size: 13px }
.portal-note { margin: 20px 0 0; max-width: 58ch; color: #7f94ae; font-size: 13px }

.cta-section {
  padding: 112px 0;
  background: radial-gradient(60% 80% at 50% 0, rgba(23, 74, 140, .45) 0, transparent 70%), var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta { display: grid; justify-items: center; text-align: center }
.cta-logo { width: auto; height: 150px; margin-bottom: 34px }
.cta h2 { margin: 0; font-size: clamp(36px, 4.6vw, 58px); font-weight: 600; line-height: 1.06 }
.cta p { margin: 20px 0 30px; color: var(--muted) }

/* Kto odbierze ten formularz: etykieta .micro (ta sama, co przy E-mailu i Telefonie
   nizej) plus sam znak. Nazwy nie powtarzamy tekstem — niesie ja alt obrazka, wiec
   czytnik ekranu i widok bez grafiki maja komplet, a na ekranie nie ma jakania.
   Kreska nalezy do tego bloku, nie do listy ponizej: naglowek i dane kontaktowe to
   jedna calosc, wiec dzieli je odstep, a nie druga linia. */
.contact-brand {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  padding: 30px 0 0; margin: 44px 0 0;
  border-top: 1px solid var(--line); text-align: left;
}
.contact-brand img { width: auto; height: 40px }

.contact-lines {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  padding: 0; margin: 26px 0 0; list-style: none; text-align: left;
}
.contact-lines li { display: grid; gap: 6px; align-content: start }
.contact-lines a {
  font-family: "Space Grotesk", Manrope, sans-serif; font-size: 18px; font-weight: 700;
  color: var(--text); text-decoration: none; overflow-wrap: anywhere;
}
.contact-lines a:hover { color: var(--orange-2) }
.contact-lines address { font-style: normal; color: #c3d2e5; font-size: 14px; line-height: 1.5 }
.contact-lines small { color: #7f94ae; font-size: 12px }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; margin-top: 44px; text-align: left }
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.field { display: grid; gap: 8px }
.field-wide { grid-column: 1 / -1 }
.field label { font-size: 13px; font-weight: 700 }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 15px;
  color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-s);
}
.field textarea { resize: vertical }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid #7cb8ff; outline-offset: 2px }
.field small { color: var(--muted); font-size: 12px }
.field.invalid input, .field.invalid textarea { border-color: #ff8a8a }
.pulapka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }

.zgody { display: grid; gap: 12px; margin: 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--line) }
.zgody legend {
  padding: 0; color: #7f94ae;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.zgoda { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; cursor: pointer }
.zgoda input {
  width: 16px; height: 16px; margin: 1px 0 0; flex: none;
  accent-color: var(--orange); cursor: pointer;
}
.zgoda input:focus-visible { outline: 3px solid #7cb8ff; outline-offset: 2px }
.zgoda span { color: #c3d2e5; font-size: 11.5px; line-height: 1.5 }
.zgoda:hover span { color: var(--text) }
.zgody-info { margin: 4px 0 0; color: #7f94ae; font-size: 10.5px; line-height: 1.55 }
.zgody-info a { color: var(--orange); text-decoration: none }
.zgody-info a:hover { text-decoration: underline }

.form-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap }
.btn-send[aria-busy="true"] { opacity: .7; pointer-events: none }
.btn-send[aria-busy="true"] span { animation: sending .9s ease-in-out infinite }
@keyframes sending { 50% { transform: translateX(5px) } }
.form-note { margin: 0; max-width: 44ch; color: var(--muted); font-size: 12px }
.form-status { margin: 0; color: var(--ok); font-size: 14px; font-weight: 700 }
.form-status:empty { display: none }
.form-status.error { color: #ff9d9d }

.demo-dialog {
  width: min(100% - 28px, 570px); max-height: min(90vh, 760px); padding: 0;
  color: var(--text); background: transparent; border: 0; border-radius: 24px;
  overflow: visible;
}
.demo-dialog::backdrop {
  background: rgba(2, 10, 19, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.demo-dialog[open] { animation: demo-in .24s ease-out }
@keyframes demo-in {
  from { opacity: 0; transform: translateY(18px) scale(.98) }
  to { opacity: 1; transform: none }
}
.demo-panel {
  position: relative; max-height: min(90vh, 760px); overflow-y: auto; padding: 42px;
  background:
    radial-gradient(80% 70% at 100% 0, rgba(23, 74, 140, .42) 0, transparent 68%),
    linear-gradient(155deg, #0d2749 0%, var(--surface) 58%, #081a31 100%);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.demo-panel::before {
  content: ""; position: absolute; inset: 0 auto auto 42px; width: 72px; height: 4px;
  background: var(--orange); border-radius: 0 0 4px 4px;
}
.demo-close {
  position: absolute; z-index: 1; top: 18px; right: 18px; display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0; color: #c8d5e7; background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-2); border-radius: 50%; font: 400 26px/1 Manrope, sans-serif; cursor: pointer;
  transition: color .2s, background .2s, transform .2s;
}
.demo-close:hover { color: #fff; background: rgba(255, 255, 255, .12); transform: rotate(5deg) }
.demo-kicker {
  margin: 10px 0 14px; color: var(--orange); font-size: 11px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.demo-panel h2 {
  margin: 0; max-width: 470px; font-size: clamp(32px, 6vw, 46px); font-weight: 600; line-height: 1.05;
}
.demo-panel > p:not(.demo-kicker) { margin: 20px 0 0; max-width: 52ch; color: var(--muted) }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px }
.demo-form .field input { height: 56px; min-height: 56px }
.demo-consent {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 15px 16px; background: rgba(4, 16, 31, .48); border: 1px solid var(--line); border-radius: var(--r-s);
  cursor: pointer;
}
.demo-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange); cursor: pointer }
.demo-consent input:focus-visible { outline: 3px solid #7cb8ff; outline-offset: 2px }
.demo-consent span { color: #c3d2e5; font-size: 12px; line-height: 1.5 }
.demo-consent:hover { border-color: var(--line-2) }
.demo-consent.invalid { border-color: #ff8a8a }
.demo-form .btn-send { justify-self: start }
.demo-form .form-status { align-self: center }
.demo-privacy { grid-column: 1 / -1; margin: 0; color: #7f94ae; font-size: 10.5px; line-height: 1.55 }
.demo-privacy a { color: var(--orange); text-decoration: none }
.demo-privacy a:hover { text-decoration: underline }

.contact-side { display: grid; gap: 20px; align-content: start }
.producer {
  display: grid; gap: 18px; padding: 26px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
}
.producer h3 { margin: 0; color: #7f94ae; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase }
.producer-logo { display: block; width: fit-content; opacity: .92; transition: opacity .2s }
.producer-logo:hover { opacity: 1 }
.producer-logo img { width: auto; height: 34px }
.producer p { margin: 0; color: var(--muted); font-size: 13px }
.producer-link { width: fit-content; color: var(--orange); font-size: 13px; font-weight: 700; text-decoration: none }
.producer-link:hover { text-decoration: underline }
.producer-meta { color: #7f94ae !important; font-size: 12px !important; font-variant-numeric: tabular-nums }

.suite-section { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line) }
.suite-head { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px 72px; align-items: end; margin-bottom: 42px }
.suite-head .eyebrow { grid-column: 1 / -1; margin: 0 }
.suite-head h2 { margin: 0; font-size: clamp(32px, 4vw, 52px); font-weight: 600; line-height: 1.05 }
.suite-head > p:last-child { margin: 0; color: var(--muted); font-size: 16px }
.suite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.suite-card {
  display: grid; grid-template-rows: 190px auto auto; gap: 14px; min-width: 0; padding: 18px;
  color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; transition: transform .2s, border-color .2s, background .2s;
}
a.suite-card:hover { transform: translateY(-3px); border-color: var(--orange); background: var(--bg); text-decoration: none }
.suite-card img { width: 100%; height: 190px; object-fit: contain; background: #fff; border-radius: calc(var(--r) - 8px) }
.suite-card span { color: var(--muted); font-size: 13px; line-height: 1.55 }
.suite-card strong { align-self: end; color: var(--orange); font-size: 12px }
.suite-card strong span { color: inherit; font-size: inherit }
.suite-card-static { grid-template-rows: 190px auto }

footer { padding: 28px 0; background: #04101f; border-top: 1px solid var(--line); color: #7f94ae; font-size: 12px }
footer a { color: var(--orange); text-decoration: none }
footer a:hover { text-decoration: underline }
footer .container { display: flex; align-items: center; justify-content: space-between; gap: 28px }
.privacy-settings {
  padding: 0; color: var(--orange); background: none; border: 0;
  font: inherit; cursor: pointer;
}
.privacy-settings:hover { text-decoration: underline }
.privacy-settings:focus-visible { outline: 3px solid #7cb8ff; outline-offset: 3px }

.foot-lines { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; flex: none; opacity: .82; transition: opacity .2s }
.foot-logo:hover { opacity: 1; text-decoration: none }
.foot-logo img { width: auto; height: 34px }
.foot-producer span { color: #7f94ae; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase }
.foot-producer img { height: 22px }

.cookie-banner {
  position: fixed; z-index: 1000; right: 18px; bottom: 18px; left: 18px;
  filter: drop-shadow(0 22px 45px rgba(0, 0, 0, .42));
}
.cookie-banner[hidden] { display: none }
.cookie-banner-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 30px;
  width: min(100%, var(--container)); margin-inline: auto; padding: 24px 26px;
  background: #07182b; border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.cookie-copy { max-width: 760px }
.cookie-copy .micro { margin: 0 0 8px; color: var(--orange) }
.cookie-copy h2 { margin: 0; font-size: clamp(20px, 2.2vw, 28px) }
.cookie-copy > p:not(.micro) { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6 }
.cookie-copy a { display: inline-block; margin-top: 8px; color: #a9c8ed; font-size: 12px; text-underline-offset: 3px }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px }
.cookie-button {
  min-height: 46px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: var(--r-s);
  color: var(--text); background: transparent; font: inherit; font-size: 13px; font-weight: 800;
  cursor: pointer; transition: border-color .2s, background .2s, transform .2s;
}
.cookie-button:hover { border-color: #7f94ae; background: rgba(255, 255, 255, .05) }
.cookie-button:active { transform: translateY(1px) }
.cookie-button:focus-visible { outline: 3px solid #7cb8ff; outline-offset: 3px }
.cookie-button-primary { color: #131d29; background: var(--orange); border-color: var(--orange) }
.cookie-button-primary:hover { background: var(--orange-2); border-color: var(--orange-2) }

/* --- czym to jest: wyjasnienie tuz pod hero ---
   Tekst wiekszy od reszty strony i w kolorze podstawowym, bo to jedyny akapit,
   ktory musi przeczytac ktos, kto nie zna nazwy produktu. */
.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start }
.intro h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; line-height: 1.08 }
.intro-copy p { margin: 0 0 20px; color: #c3d2e5; font-size: 17px }
.intro-copy p:last-child { margin-bottom: 0 }
.intro-copy strong { color: var(--text); font-weight: 700 }
.live-data {
  display: grid; gap: 8px; margin: 28px 0 20px; padding: 20px;
  background: rgba(240, 116, 21, .08); border: 1px solid rgba(240, 116, 21, .34); border-radius: var(--r-s);
}
.live-data strong { color: var(--orange); font-family: "Space Grotesk", sans-serif; font-size: 16px }
.live-data span { color: #c3d2e5; font-size: 14px; line-height: 1.65 }
.intro-dla-kogo { padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted) !important; font-size: 14px !important }

/* Kreator ma cztery kroki, nie trzy jak sciezka danych w d6Tanku. */
.steps-4 { grid-template-columns: repeat(4, 1fr) }

.dot-ok { background: var(--ok) }

.wdrozenie {
  display: grid; gap: 14px; padding: 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.wdrozenie h3 {
  margin: 0; color: #7f94ae;
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.wdrozenie ul { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none }
.wdrozenie li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; color: var(--muted); font-size: 13px }
.wdrozenie li strong { color: var(--text); font-size: 14px }
.wdrozenie .dot { transform: translateY(-2px) }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease-out, transform .6s ease-out }
.reveal.visible { opacity: 1; transform: none }

/* Znak d6Order jest poziomy i szeroki, wiec miedzy 980 a 1180 px pasek
   nawigacji przestaje sie miescic wczesniej niz przy pionowym znaku d6Tanka. */
@media (max-width: 1180px) {
  .brand img, .site-header.na-gorze .brand img { height: 40px }
  .nav nav { gap: 18px }
}

@media (max-width: 980px) {
  .nav nav { display: none }
  .hero { padding: 92px 0 80px }
  .alerts-grid, .control, .faq-grid, .flow-grid, .intro, .suite-head, .api-callout { grid-template-columns: 1fr; gap: 24px }
  .suite-grid { grid-template-columns: repeat(2, 1fr) }
  .integr li { grid-template-columns: 1fr; gap: 12px }
  .contact-lines { grid-template-columns: 1fr 1fr; gap: 24px }
  .gap-grid { grid-template-columns: 1fr 1fr }
  .gap-grid li:nth-child(2n) { border-right: 1px solid var(--line) }
  .gap-grid li:nth-child(n+3) { border-top: 1px solid var(--line) }
  .split { grid-template-columns: 1fr; gap: 40px }
  .contact-grid { grid-template-columns: 1fr; gap: 32px }
  .steps, .steps-4 { grid-template-columns: 1fr 1fr; gap: 28px }
  .feature-board { grid-template-columns: 1fr 1fr }
  .feature-board .feature-main { grid-column: 1 / -1; grid-row: auto; min-height: 240px }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)) }
  .section { padding: 72px 0 }
  .nav { height: 60px }
  .site-header.na-gorze .nav { height: 68px }
  .brand img { height: 32px }
  .site-header.na-gorze .brand img { height: 36px }
  :where(section, main)[id] { scroll-margin-top: 70px }
  .cta-logo { height: 104px; margin-bottom: 26px }
  .hero { padding: 88px 0 64px }
  /* Ponizej 640 px "w Comarch ERP Optimie." przy 36 px nie miesci sie w wierszu
     i lamie nazwe produktu w polowie. Przy 30 px miesci sie w calosci. */
  .hero h1 { font-size: 28px }
  .gap-grid, .suite-grid { grid-template-columns: 1fr }
  .suite-card, .suite-card-static { grid-template-rows: 160px auto auto }
  .suite-card img { height: 160px }
  .gap-grid li { border-right: 1px solid var(--line) }
  .gap-grid li + li { border-top: 1px solid var(--line) }
  .steps, .steps-4 { grid-template-columns: 1fr }
  .contact-form { grid-template-columns: 1fr; padding: 22px }
  .demo-panel { padding: 34px 22px 24px }
  .demo-panel::before { left: 22px }
  .demo-form { grid-template-columns: 1fr }
  .demo-form .btn-send { width: 100% }
  .demo-form .form-status { text-align: center }
  .contact-lines { grid-template-columns: 1fr; gap: 20px }
  .producer { gap: 14px }
  .faq summary { font-size: 15px }
  .hero-shot { margin-top: 40px }
  .cta-section { padding: 84px 0 }
  .feature-board, .portal-extra { grid-template-columns: 1fr }
  .feature-board .feature-main, .feature-board .feature-wide { grid-column: auto; min-height: 0 }
  .feature-board .feature-wide { display: block }
  .feature-board .feature-wide h3 { margin-bottom: 10px }
  footer .container { flex-direction: column; justify-content: center; text-align: center; gap: 20px }
  .foot-lines { justify-content: center; gap: 6px 18px }
  .cookie-banner { right: 10px; bottom: 10px; left: 10px }
  .cookie-banner-inner { grid-template-columns: 1fr; gap: 18px; padding: 20px }
  .cookie-actions { display: grid; grid-template-columns: 1fr; justify-content: stretch }
  .cookie-button { width: 100% }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important }
  .reveal { opacity: 1; transform: none }
  .shot-visual img { transform: none !important }
}
