:root {
  --ink: #0b2032;
  --ink-2: #102c42;
  --paper: #f5f3ed;
  --white: #ffffff;
  --line: rgba(11, 32, 50, 0.18);
  --muted: #5c6a73;
  --gold: #e9b374;
  --gold-dark: #cb8e4b;
  --blue: #1e91cf;
  --shell: min(1180px, calc(100vw - 48px));
  --section: clamp(4.2rem, 6.5vw, 6.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 1000; padding: .75rem 1rem;
  background: var(--white); color: var(--ink); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  background: rgba(11, 32, 50, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.1);
}
.site-header.is-scrolled {
  position: fixed;
  background: rgba(11, 32, 50, .94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.1);
  animation: slideDown .3s ease;
}
@keyframes slideDown { from { transform: translateY(-100%); } }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.35); color: var(--gold);
  font-family: "Manrope", sans-serif; font-size: .9rem; font-weight: 700; letter-spacing: -.04em;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: "Manrope", sans-serif; font-size: .92rem; letter-spacing: .03em; text-transform: uppercase; }
.brand-copy small { margin-top: .35rem; color: rgba(255,255,255,.66); font-size: .67rem; letter-spacing: .22em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { position: relative; color: rgba(255,255,255,.84); font-size: .89rem; text-decoration: none; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; inset: auto 0 -.45rem; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.site-nav .nav-cta { padding: .72rem 1rem; border: 1px solid rgba(255,255,255,.38); color: var(--white); }
.site-nav .nav-cta:hover { border-color: var(--gold); color: var(--gold); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 6px auto; background: var(--white); transition: transform .2s ease; }

.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero::before {
  content: ""; position: absolute; inset: 0 50% 0 0; opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to right, #000, transparent 90%);
}
.hero-grid { min-height: 720px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: stretch; }
.hero-copy { position: relative; z-index: 1; padding: 10rem 4rem 5.5rem 0; align-self: center; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem; color: var(--blue); font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", sans-serif; }
h1 { max-width: 770px; margin-bottom: 1.8rem; font-size: clamp(3.35rem, 5.5vw, 5.4rem); line-height: .99; letter-spacing: -.065em; font-weight: 600; }
h1 em, h2 em { color: var(--gold); font-style: normal; }
.hero-lead { max-width: 650px; margin-bottom: 2.2rem; color: rgba(255,255,255,.72); font-size: clamp(1.05rem, 1.3vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 1.7rem; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .9rem; min-height: 54px; padding: .8rem 1.4rem; border: 1px solid transparent; background: none; color: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--ink); }
.button-primary:hover { background: #f5c98f; }
.button-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.button-light:hover { border-color: var(--gold); color: var(--gold); }
.button-gold { width: 100%; background: var(--gold); color: var(--ink); }
.button-gold:hover { background: #f5c98f; }
.text-link { color: var(--white); text-underline-offset: .4rem; text-decoration-color: rgba(255,255,255,.35); }
.text-link:hover { color: var(--gold); }
.hero-note { display: grid; grid-template-columns: auto 1fr; gap: 0 .9rem; margin-top: 3rem; padding-left: 1rem; border-left: 2px solid var(--gold); font-size: .85rem; }
.hero-note strong { color: var(--white); }
.hero-note span { color: rgba(255,255,255,.58); }
.hero-visual { position: relative; margin: 0; min-width: 0; }
.hero-visual::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,32,50,.7) 0%, transparent 24%), linear-gradient(0deg, rgba(11,32,50,.68) 0%, transparent 44%); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero-visual figcaption { position: absolute; z-index: 2; left: 2.2rem; bottom: 3.2rem; display: grid; gap: .25rem; }
.hero-visual figcaption span { color: var(--gold); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.hero-visual figcaption strong { font-family: "Manrope", sans-serif; font-size: 1rem; line-height: 1.5; }
.image-index { position: absolute; z-index: 2; right: 1.5rem; top: 8.5rem; color: rgba(255,255,255,.62); font-size: .68rem; line-height: 1.5; letter-spacing: .12em; text-align: right; }
.service-rail { position: relative; z-index: 3; border-top: 1px solid rgba(255,255,255,.14); background: rgba(8,26,40,.95); }
.service-rail .shell { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.service-rail span { color: rgba(255,255,255,.72); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.service-rail i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.section { padding-block: var(--section); }
.section-heading { margin-bottom: 3rem; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; column-gap: 4rem; align-items: end; }
.split-heading .eyebrow { grid-column: 1 / -1; }
h2 { margin-bottom: 0; font-size: clamp(2.6rem, 4.5vw, 4.65rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 600; }
.split-heading > p:last-child { margin-bottom: .35rem; color: var(--muted); font-size: 1.06rem; }
.scenario-grid { border-top: 1px solid var(--line); }
.scenario { display: grid; grid-template-columns: 70px 1fr auto; gap: 2rem; align-items: center; min-height: 150px; padding: 1.75rem 1rem 1.75rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s, background .25s; }
.scenario:hover { padding-left: 1.2rem; background: rgba(255,255,255,.45); }
.scenario-number { align-self: start; padding-top: .35rem; color: var(--blue); font-size: .76rem; letter-spacing: .15em; }
.scenario h3 { margin-bottom: .45rem; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -.035em; }
.scenario p { max-width: 650px; margin-bottom: 0; color: var(--muted); }
.scenario-arrow { font-size: 1.7rem; transition: transform .25s; }
.scenario:hover .scenario-arrow { transform: translate(4px, -4px); }

.process { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.process::after { content: "KROK PO KROKU"; position: absolute; right: -2rem; top: 1rem; color: rgba(255,255,255,.025); font: 700 8.5vw/1 "Manrope", sans-serif; letter-spacing: -.05em; writing-mode: vertical-rl; }
.process-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 5.5rem; }
.process-intro { position: sticky; top: 8.5rem; align-self: start; }
.process-intro > p:not(.eyebrow) { max-width: 480px; margin: 2rem 0; color: rgba(255,255,255,.66); font-size: 1.05rem; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 64px 1fr; gap: 1.4rem; padding: 1.65rem 0 1.9rem; border-top: 1px solid rgba(255,255,255,.15); }
.process-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.process-list li > span { color: var(--gold); font-size: .78rem; letter-spacing: .15em; }
.process-list h3 { margin-bottom: .6rem; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.process-list p { max-width: 620px; margin-bottom: 0; color: rgba(255,255,255,.6); }

.ecosystem { background: var(--white); }
.ecosystem-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 5.5rem; align-items: center; }
.ecosystem-brand { min-height: 285px; display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; border: 1px solid var(--line); background: #f7fbfe; }
.ecosystem-brand img { width: min(100%, 390px); mix-blend-mode: multiply; }
.ecosystem-brand p { max-width: 270px; margin: 2.5rem 0 0; color: var(--muted); font-size: .9rem; }
.ecosystem-copy > p:not(.eyebrow) { max-width: 700px; margin: 2rem 0; color: var(--muted); font-size: 1.06rem; }
.ecosystem-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.ecosystem-links a { font-weight: 600; text-underline-offset: .35rem; }
.ecosystem-links a:hover { color: var(--blue); }
.proof-grid { margin-top: clamp(3rem, 5vw, 5rem); padding-top: 1.8rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 2rem; }
.proof-label { display: grid; align-content: center; }
.proof-label span { color: var(--muted); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.proof-label strong { margin-top: .2rem; font: 600 1.1rem/1.3 "Manrope", sans-serif; }
.proof-item { display: flex; align-items: end; gap: .85rem; min-height: 90px; padding-left: 1.5rem; border-left: 1px solid var(--line); }
.proof-item strong { font: 600 clamp(2.2rem, 4vw, 3.4rem)/.9 "Manrope", sans-serif; letter-spacing: -.06em; }
.proof-item span { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.proof-text { display: grid; align-content: end; gap: .3rem; }
.proof-text strong { font-size: 1.7rem; letter-spacing: -.035em; }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 5.5rem; align-items: start; }
.about-name h2 { font-size: clamp(3rem, 6vw, 5.8rem); }
.about-name > p:last-child { margin-top: 1.4rem; color: var(--muted); }
blockquote { margin: 0; }
blockquote p { margin-bottom: 2.2rem; font: 500 clamp(2rem, 3.8vw, 3.8rem)/1.18 "Manrope", sans-serif; letter-spacing: -.045em; }
blockquote footer { max-width: 620px; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); }

.contact { padding-block: var(--section); background: var(--ink-2); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 5.5rem; align-items: start; }
.contact-copy h2 { max-width: 560px; }
.contact-copy > p:not(.eyebrow) { max-width: 530px; margin: 1.5rem 0 2.3rem; color: rgba(255,255,255,.64); font-size: 1.05rem; }
.direct-contact { display: grid; gap: .8rem; }
.direct-contact a { display: grid; padding-bottom: .8rem; border-bottom: 1px solid rgba(255,255,255,.15); text-decoration: none; }
.direct-contact span { color: var(--gold); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.direct-contact strong { margin-top: .15rem; font-size: 1rem; font-weight: 500; }
.lead-form { padding: clamp(1.4rem, 3vw, 2.5rem); background: var(--white); color: var(--ink); }
.form-progress { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.2rem; color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.form-progress i { flex: 1; height: 2px; background: var(--gold); }
.lead-form fieldset { margin: 0 0 2rem; padding: 0; border: 0; }
.lead-form legend { margin-bottom: 1rem; font: 600 1.3rem/1.2 "Manrope", sans-serif; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { display: flex; align-items: center; min-height: 50px; padding: .7rem 1rem; border: 1px solid var(--line); font-size: .88rem; transition: border .2s, background .2s; }
.choice-grid input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.choice-grid input:focus-visible + span { outline: 3px solid rgba(30,145,207,.3); outline-offset: 2px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; }
.form-row label { display: grid; gap: .45rem; }
.form-row label > span { color: var(--muted); font-size: .75rem; letter-spacing: .05em; }
.form-row input { min-width: 0; height: 52px; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 0; background: #fbfbfa; color: var(--ink); }
.form-row input:focus { outline: 2px solid rgba(30,145,207,.3); border-color: var(--blue); }
.form-note { margin: .8rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }

.site-footer { padding: 3rem 0 1.7rem; background: #071722; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem 5rem; }
.brand-footer .brand-mark { border-color: rgba(255,255,255,.2); }
.footer-grid > div:first-child > p { margin: 1.4rem 0 0; color: rgba(255,255,255,.48); font-size: .82rem; }
.footer-links { display: grid; align-content: start; justify-items: end; gap: .65rem; }
.footer-links a { color: rgba(255,255,255,.75); font-size: .82rem; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: .72rem; }
.mobile-cta { display: none; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 9rem 0 3.2rem; }
  .hero-visual { height: min(78vw, 650px); margin-inline: calc((100vw - var(--shell)) / -2); }
  .split-heading, .process-grid, .ecosystem-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3.2rem; }
  .split-heading > p:last-child { max-width: 620px; }
  .process-intro { position: static; }
  .ecosystem-brand { min-height: 260px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-label { min-height: 90px; }
  .proof-item:nth-child(2) { border-left: 0; }
  .contact-copy h2 { max-width: 700px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100vw - 32px); --section: 3.8rem; }
  html { scroll-padding-top: 74px; }
  .header-inner { height: 74px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 74px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 2rem 1rem 7rem; background: var(--ink); transform: translateX(100%); transition: transform .25s ease;
  }
  .nav-open .site-nav { transform: translateX(0); }
  .site-nav a { padding: 1.1rem .6rem; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1.1rem; }
  .site-nav .nav-cta { margin-top: 1rem; border: 1px solid rgba(255,255,255,.25); text-align: center; }
  .nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .brand-copy strong { font-size: .78rem; }
  .brand-copy small { font-size: .58rem; }
  .brand-mark { width: 38px; height: 38px; }
  h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-copy { padding: 8.2rem 0 3rem; }
  .hero-lead { line-height: 1.65; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.15rem; }
  .hero-note { grid-template-columns: 1fr; }
  .hero-visual { height: 490px; }
  .hero-visual img { object-position: 28% center; }
  .hero-visual figcaption { left: 1rem; bottom: 1.5rem; }
  .image-index { top: 1.2rem; right: 1rem; }
  .service-rail { overflow: hidden; }
  .service-rail .shell { width: max-content; padding: 0 1rem; justify-content: flex-start; animation: rail 22s linear infinite; }
  @keyframes rail { to { transform: translateX(-45%); } }
  h2 { font-size: clamp(2.3rem, 10vw, 3.4rem); }
  .section-heading { margin-bottom: 2.5rem; }
  .scenario { grid-template-columns: 46px 1fr; gap: 1rem; padding-block: 1.8rem; }
  .scenario-arrow { display: none; }
  .scenario-number { padding-top: .25rem; }
  .process-list li { grid-template-columns: 42px 1fr; gap: .75rem; }
  .proof-grid { gap: 1rem; }
  .proof-item { display: grid; align-content: end; gap: .6rem; padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .proof-item strong { font-size: 2.55rem; }
  .proof-text strong { font-size: 1.4rem; }
  blockquote p { font-size: clamp(1.8rem, 8.4vw, 2.7rem); }
  .choice-grid, .form-row { grid-template-columns: 1fr; }
  .contact-grid { gap: 3rem; }
  .direct-contact strong { overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-items: start; }
  .footer-meta { grid-column: auto; flex-direction: column; gap: .45rem; }
  .mobile-cta {
    position: fixed; z-index: 40; left: 1rem; right: 1rem; bottom: .85rem; display: flex; align-items: center; justify-content: space-between;
    min-height: 54px; padding: .8rem 1rem; background: var(--gold); color: var(--ink); box-shadow: 0 16px 36px rgba(0,0,0,.28); font-weight: 600; text-decoration: none;
    transition: opacity .2s, transform .2s;
  }
  .mobile-cta.is-hidden { opacity: 0; transform: translateY(120%); pointer-events: none; }
  .site-footer { padding-bottom: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .mobile-cta, .hero-actions, .lead-form { display: none !important; }
  body, .hero, .process, .contact { background: #fff !important; color: #000 !important; }
}
